@mchp-mcc/scf-pic8-clc-v1 4.0.11 → 4.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog.md +22 -0
- package/Readme.md +26 -2
- package/lib/generated_module/src/index.js +0 -5
- package/output/0af28946b49fa427ea09eb020906b421.otf +0 -0
- package/output/0d57c48148df9e948b0d64a23948cf3a.woff +0 -0
- package/output/0ffc720f1bf788849cc8ce9e79376cb3.eot +0 -0
- package/output/1ac124f8c2620ca86850329afeb7c0bd.otf +0 -0
- package/output/1c89d58269b6e0c5f3d9d9876325b4ba.woff2 +0 -0
- package/output/2c8903475ef5366ce36603d79ba02d25.woff2 +0 -0
- package/output/{493280db0e594f80826a4862ec963cf0.eot → 37f945f5f61e54ea82f1af63640df0fd.eot} +0 -0
- package/output/{b2f43c0b26247c560185dc90c8adf4e7.eot → 38f3f5db978f8eac9b0b284783606275.eot} +0 -0
- package/output/3dfc3dd20959a5bac99f7d9152530aa9.woff +0 -0
- package/output/449aa8c65cdc5c2a868645403b9ea4d3.woff +0 -0
- package/output/4b779d4f202faa774fd1b4dfd5f2f9b2.woff +0 -0
- package/output/56f40329a7acbd7ee20ca6c2446cc524.woff2 +0 -0
- package/output/{d221f7c265fd7414a7c4ba76340e5dee.otf → 5c6dbac17165ec012532dc85fae92a55.otf} +0 -0
- package/output/5d0c8b43fc0e89058a2b419bb52be8e5.woff +0 -0
- package/output/{1284777b159fe703ce07961f273e4a4e.otf → 60c0da0914114641c061fb9d6ea65102.otf} +0 -0
- package/output/61bf3cad3150daa5af2dab9aaa02e3ff.woff +0 -0
- package/output/6240b67b77d9bac167d7834f793e83ff.woff2 +0 -0
- package/output/6e408e472d90198222ef851e45a6070d.eot +0 -0
- package/output/7d6bf0009e0d61e7e6f376fccab8bb09.woff +0 -0
- package/output/7ebd6258cbbc40b4f0e108e444bcb9b1.woff +0 -0
- package/output/7fc4d8e224d1ff1b9c6256b15cbe43a7.eot +0 -0
- package/output/{a5fc98f2bc7451d215bd001a267dc4f2.ttf → 817d794c65a4278879e57b615bf5589c.ttf} +0 -0
- package/output/{02a9cd80636be0c2b2cc72ba0485fed8.eot → 8548508070bd6dd04edebdcdee8c49c9.eot} +0 -0
- package/output/88942715b44b29d2d8a0a2711b3a7f34.woff2 +0 -0
- package/output/8baefd28aada3f9e8e6b54eafa53d25c.woff +0 -0
- package/output/{ea0b3fd57b2eda6b30165e8ed272f0db.eot → 909ffa5ac8d2337bad39401aedb25fd9.eot} +0 -0
- package/output/91bacab1f083f2795272499faf7e83dc.ttf +0 -0
- package/output/94f5fdef85538cbd160aa2b71e67ab27.otf +0 -0
- package/output/a0cf4179f3139f862d55dea472a2315c.woff2 +0 -0
- package/output/{fd169782d98e19ce991b7ab85aad213f.otf → a757e1275796392ebe981d00ce874660.otf} +0 -0
- package/output/abb6ec19f961e68208f6ab25a65f8a70.woff2 +0 -0
- package/output/autoCreator.js +4954 -0
- package/output/autoCreator.js.map +1 -0
- package/output/autoProcessor.js +4956 -0
- package/output/autoProcessor.js.map +1 -0
- package/output/b49c708cb6f62d20fb57be4c6f736662.woff +0 -0
- package/output/c53648d7adafcfaa1d3ad76047e03fca.woff2 +0 -0
- package/output/c60dc648c547304d7fc0f556e8389f74.woff2 +0 -0
- package/output/c6e2053303524e39530c36f094129407.svg +270 -0
- package/output/cbc22e9676acf295231bfecc426fe916.eot +0 -0
- package/output/cla_clc_stacked_v5.c.ftl +35 -30
- package/output/cla_clc_stacked_v5.h.ftl +37 -85
- package/output/creator.js +9852 -1
- package/output/creator.js.map +1 -0
- package/output/{15ffc761f03c943f10c1cc598e07bc77.otf → d7e3f0d0d06a2e34f3c0eb0f12223240.otf} +0 -0
- package/output/dae0d67b5b0a7332e0d555379c67e4de.eot +0 -0
- package/output/eef5282a2e59fca7c3b7a96adbb3d649.otf +0 -0
- package/output/f2a2e2273d8219ef523f846cedd19993.woff +0 -0
- package/output/f38c5a57b52cb6dda8141610603f6a58.eot +0 -0
- package/output/f78429ed0f939ede1ddb454a60a2bc0f.woff2 +0 -0
- package/output/fbbc016360f4b50975e254398a7b6964.ttf +0 -0
- package/output/fd95ed824e55cead82940a854855abbc.eot +0 -0
- package/output/index.html +25 -1
- package/output/processor.js +9852 -1
- package/output/processor.js.map +1 -0
- package/output/reducer.js +15826 -1
- package/output/reducer.js.map +1 -0
- package/output/view.js +282139 -0
- package/output/view.js.map +1 -0
- package/package.json +103 -26
- package/src/CreatorFunctions.ts +1 -1
- package/src/DerivedData.test.tsx +285 -0
- package/src/{DerivedData.tsx → DerivedData.ts} +40 -2
- package/src/GeneratorModel.test.ts +57 -0
- package/src/GeneratorModel.ts +3 -2
- package/src/PinsLogic.test.ts +514 -0
- package/src/PinsLogic.ts +50 -1
- package/src/catalog.json +24 -0
- package/src/components/Canvas.tsx +2 -2
- package/src/moduleConfig.json +21 -0
- package/src/pinsdata.json +56 -8
- package/src/reducer.test.tsx +27 -1
- package/src/reducer.tsx +4 -5
- package/output/06a48e176e00633a4c7db8b852e8ae49.woff2 +0 -0
- package/output/51cafaef22203ccd3ab80da1c34722f0.woff +0 -0
- package/output/5466835172d64d71687ff9e8ae1c9f87.woff2 +0 -0
- package/output/66b1a820aed3cef44bfe90cec1436649.woff2 +0 -0
- package/output/69b4474b370cf6e8ae1f937b5367f4fb.woff +0 -0
- package/output/763e95586c9de7fcca6b4012e4b308cb.woff +0 -0
- package/output/8792b6db2e8384ad63dc9ee1f1061679.woff +0 -0
- package/output/953eea38ed97f8a9e76c48bbe984a9c5.woff2 +0 -0
- package/output/a2f22f00b8a2638574460edb79d61d64.eot +0 -0
- package/output/e778c163a306618588b2a34587c3b1b7.woff +0 -0
- package/output/f11099243845db6ed279b1a26bba622b.woff2 +0 -0
- package/output/main.css +0 -6
- package/output/main.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack://autoProcessor/webpack/bootstrap","webpack://autoProcessor/./generated_module/src/Utils.ts","webpack://autoProcessor/./generated_module/src/autoProcessor.ts","webpack://autoProcessor/./generated_module/src/getUserData.ts","webpack://autoProcessor/./node_modules/@microchip/scf-common/lib/Processor.js","webpack://autoProcessor/./node_modules/@microchip/scf-device/lib/CalculateRegisterValue.js","webpack://autoProcessor/./node_modules/@microchip/scf-device/lib/Register.js","webpack://autoProcessor/./node_modules/@microchip/scf-device/lib/Setting.js","webpack://autoProcessor/./node_modules/@microchip/scf-device/lib/util/Arrays.js","webpack://autoProcessor/./node_modules/@microchip/scf-interface/lib/c-function-types.js","webpack://autoProcessor/./node_modules/@microchip/scf-interface/lib/helpers.js","webpack://autoProcessor/./node_modules/@microchip/scf-interface/lib/index.js","webpack://autoProcessor/./node_modules/core-js/es/map/index.js","webpack://autoProcessor/./node_modules/core-js/es/set/index.js","webpack://autoProcessor/./node_modules/core-js/internals/a-function.js","webpack://autoProcessor/./node_modules/core-js/internals/a-possible-prototype.js","webpack://autoProcessor/./node_modules/core-js/internals/add-to-unscopables.js","webpack://autoProcessor/./node_modules/core-js/internals/an-instance.js","webpack://autoProcessor/./node_modules/core-js/internals/an-object.js","webpack://autoProcessor/./node_modules/core-js/internals/array-includes.js","webpack://autoProcessor/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://autoProcessor/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://autoProcessor/./node_modules/core-js/internals/classof-raw.js","webpack://autoProcessor/./node_modules/core-js/internals/classof.js","webpack://autoProcessor/./node_modules/core-js/internals/collection-strong.js","webpack://autoProcessor/./node_modules/core-js/internals/collection.js","webpack://autoProcessor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://autoProcessor/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://autoProcessor/./node_modules/core-js/internals/create-iterator-constructor.js","webpack://autoProcessor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://autoProcessor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://autoProcessor/./node_modules/core-js/internals/define-iterator.js","webpack://autoProcessor/./node_modules/core-js/internals/descriptors.js","webpack://autoProcessor/./node_modules/core-js/internals/document-create-element.js","webpack://autoProcessor/./node_modules/core-js/internals/dom-iterables.js","webpack://autoProcessor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://autoProcessor/./node_modules/core-js/internals/export.js","webpack://autoProcessor/./node_modules/core-js/internals/fails.js","webpack://autoProcessor/./node_modules/core-js/internals/freezing.js","webpack://autoProcessor/./node_modules/core-js/internals/function-bind-context.js","webpack://autoProcessor/./node_modules/core-js/internals/get-built-in.js","webpack://autoProcessor/./node_modules/core-js/internals/get-iterator-method.js","webpack://autoProcessor/./node_modules/core-js/internals/global.js","webpack://autoProcessor/./node_modules/core-js/internals/has.js","webpack://autoProcessor/./node_modules/core-js/internals/hidden-keys.js","webpack://autoProcessor/./node_modules/core-js/internals/html.js","webpack://autoProcessor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://autoProcessor/./node_modules/core-js/internals/indexed-object.js","webpack://autoProcessor/./node_modules/core-js/internals/inherit-if-required.js","webpack://autoProcessor/./node_modules/core-js/internals/inspect-source.js","webpack://autoProcessor/./node_modules/core-js/internals/internal-metadata.js","webpack://autoProcessor/./node_modules/core-js/internals/internal-state.js","webpack://autoProcessor/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://autoProcessor/./node_modules/core-js/internals/is-forced.js","webpack://autoProcessor/./node_modules/core-js/internals/is-object.js","webpack://autoProcessor/./node_modules/core-js/internals/is-pure.js","webpack://autoProcessor/./node_modules/core-js/internals/iterate.js","webpack://autoProcessor/./node_modules/core-js/internals/iterators-core.js","webpack://autoProcessor/./node_modules/core-js/internals/iterators.js","webpack://autoProcessor/./node_modules/core-js/internals/native-symbol.js","webpack://autoProcessor/./node_modules/core-js/internals/native-weak-map.js","webpack://autoProcessor/./node_modules/core-js/internals/object-create.js","webpack://autoProcessor/./node_modules/core-js/internals/object-define-properties.js","webpack://autoProcessor/./node_modules/core-js/internals/object-define-property.js","webpack://autoProcessor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://autoProcessor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://autoProcessor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://autoProcessor/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://autoProcessor/./node_modules/core-js/internals/object-keys-internal.js","webpack://autoProcessor/./node_modules/core-js/internals/object-keys.js","webpack://autoProcessor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://autoProcessor/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://autoProcessor/./node_modules/core-js/internals/object-to-string.js","webpack://autoProcessor/./node_modules/core-js/internals/own-keys.js","webpack://autoProcessor/./node_modules/core-js/internals/path.js","webpack://autoProcessor/./node_modules/core-js/internals/redefine-all.js","webpack://autoProcessor/./node_modules/core-js/internals/redefine.js","webpack://autoProcessor/./node_modules/core-js/internals/require-object-coercible.js","webpack://autoProcessor/./node_modules/core-js/internals/set-global.js","webpack://autoProcessor/./node_modules/core-js/internals/set-species.js","webpack://autoProcessor/./node_modules/core-js/internals/set-to-string-tag.js","webpack://autoProcessor/./node_modules/core-js/internals/shared-key.js","webpack://autoProcessor/./node_modules/core-js/internals/shared-store.js","webpack://autoProcessor/./node_modules/core-js/internals/shared.js","webpack://autoProcessor/./node_modules/core-js/internals/string-multibyte.js","webpack://autoProcessor/./node_modules/core-js/internals/to-absolute-index.js","webpack://autoProcessor/./node_modules/core-js/internals/to-indexed-object.js","webpack://autoProcessor/./node_modules/core-js/internals/to-integer.js","webpack://autoProcessor/./node_modules/core-js/internals/to-length.js","webpack://autoProcessor/./node_modules/core-js/internals/to-object.js","webpack://autoProcessor/./node_modules/core-js/internals/to-primitive.js","webpack://autoProcessor/./node_modules/core-js/internals/to-string-tag-support.js","webpack://autoProcessor/./node_modules/core-js/internals/uid.js","webpack://autoProcessor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://autoProcessor/./node_modules/core-js/internals/well-known-symbol.js","webpack://autoProcessor/./node_modules/core-js/modules/es.array.iterator.js","webpack://autoProcessor/./node_modules/core-js/modules/es.map.js","webpack://autoProcessor/./node_modules/core-js/modules/es.object.to-string.js","webpack://autoProcessor/./node_modules/core-js/modules/es.set.js","webpack://autoProcessor/./node_modules/core-js/modules/es.string.iterator.js","webpack://autoProcessor/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://autoProcessor/(webpack)/buildin/global.js","webpack://autoProcessor/./src/Constants.ts","webpack://autoProcessor/./src/CreatorFunctions.ts","webpack://autoProcessor/./src/DerivedData.ts","webpack://autoProcessor/./src/GeneratorModel.ts","webpack://autoProcessor/./src/InputStateCalculator.ts","webpack://autoProcessor/./src/PinsLogic.ts","webpack://autoProcessor/./src/SettingNameCalculator.ts","webpack://autoProcessor/./src/interfaces/cla-clc-stacked.ts","webpack://autoProcessor/./src/interfaces/signal-source.ts","webpack://autoProcessor/./src/interfaces/trigger-source.ts"],"names":["getKeys","obj","Object","getOwnPropertyNames","values","map","key","forEach","action","mapper","assertNotNull","val","msg","Error","toDictionary","arr","keyMapper","valueMapper","result","entry","createAutoProcessor","getDerivedData","derivedDataGetter","dataModel","getModuleConfig","getModuleConfigFromFile","getDerivedDataUser","getPinsDataFromFile","require","undefined","getPinsLogicFromFile","CANVAS_WIDTH","CANVAS_HEIGHT","INSTANCES","GATES","DATA_INPUTS","OPTION_MODULES","C1OUT","C2OUT","C3OUT","C4OUT","C5OUT","C6OUT","C7OUT","C8OUT","sync_C1OUT","SYNCC1OUT","sync_C2OUT","CMP1_OUT","CMP2_OUT","SYNCC2OUT","sync_C3OUT","sync_C4OUT","sync_C5OUT","sync_C6OUT","CLKR_OUT","CWG1A_OUT","CWG1B_OUT","CWG1A","CWG1B","CWG2A","CWG2B","CWG3A","CWG3B","COG1A","COG1B","COG2A","COG2B","COG3A","COG3B","COG4A","COG4B","ZCDx_out","ZCD1_out","ZCD_OUT","NCO1_out","NCO1OUT","T2_postscaled_out","T4_postscaled_out","T6_postscaled_out","T8_postscaled_out","T2_postscaled","T4_postscaled","T6_postscaled","T2_match","T4_match","T6_match","LC1_out","LC2_out","LC3_out","LC4_out","CLC1_OUT","CLC2_OUT","CLC3_OUT","CLC4_OUT","CLC5_OUT","CLC6_OUT","CLC7_OUT","CLC8_OUT","LC1OUT","LC2OUT","LC3OUT","LC4OUT","T1_overflow","TMR1IF","T2_overflow","T4_overflow","T3_overflow","T5_overflow","SMT1","SMT2","SMT1_OUT","SMT2_OUT","T0_overflow","TMR0IF","DSM_OUT","MDx_OUT","CCP1_OUT","CCP2_OUT","CCP3_OUT","CCP4_OUT","CCP5_OUT","CCP7_OUT","CCP8_OUT","PWM1OUT","PWM3_out","PWM3OUT","PWM4OUT","PWM4_OUT","PWM5_out","PWM6_out","PWM7_OUT","PWM9_out","PWM10_OUT","PWM11_out","PWM12_OUT","SMT_overflow","SMT1_Overflow","SCK","SDO","RTCC_seconds","PWM1_OUT1","PWM1_OUT2","PWM2_OUT1","PWM2_OUT2","PWM3_OUT1","PWM3_OUT2","PWM4_OUT1","PWM4_OUT2","NCO1_OUT","NCO2_OUT","NCO3_OUT","TMR0","TMR1","TMR2","TMR3","TMR4","TMR5","TMR6","TU16A","TU16B","HLVD_OUT","TMR2_OUT","TMR4_OUT","TMR6_OUT","PWM3_OUT","PWM6_OUT","CWG2A_OUT","CWG2B_OUT","CWG3A_OUT","CWG3B_OUT","getCreatorFunctions","shouldImport","getCreatorImportArgs","importKey","state","inputs","gate","main","hardware","getGateSourceSetting","some","input","test","MyDerivedData","EmptyDerivedData","overrideDefaultValues","moduleName","getHardware","getName","componentName","lcenClccon","lcmodeClccon","getGateDerivedSettings","lcpolClcpol","slctClcselect","getClcSelect","clci","importName","friendlyImportName","filterImports","cla_clc_payload","trigger_source_payload","signal_source_payload","templateData","getGeneratorModel","alerts","getMyAlerts","showCanvasBased","initializer_system_results","isrCallback","clc_connections_results","isEnabled","getRequestedModule","compName","status","getComponentValue","setting","value","indexOf","push","gateDerivedSettings","createGateDerivedSettings","getGateInvertedSetting","getDataConfigInvertedProcessedArg","getGateNonInvertedSetting","getDataConfigNonInvertedProcessedArg","getGatePolaritySetting","getOutputConfigProcessedArg","getGateConfig","inputSource","getFirstClaClcArgument","customName","enabled","mode","isInverted","instance","getPeripheralDescription","CalculateRegisterValue","toHexString","parseInt","interruptEnabled","getValue","name","invertedSetting","nonInvertedSetting","type","Processor","Warning","text","Hint","length","boolToReg","getDataConfigProcessedArg","inverted","nonInverted","gateConfig","dataConfigs","dataInputConfigs","dataConfig","find","config","dataInput","InputStateCalculator","getLogicSelection","gateConfigs","args","getClaClcArguments","keys","getExportInterfaces","getInterface","claClcStacked","getInterfaceId","intf","getExportArgs","trigger_source","signal_source","imports","filteredImports","filterImportBySetting","option","payload","isComponentValue","interfaceApi","createFirmwareApi","getCustomName","getHeaderFiles","getGateConfigsPayload","hasInterrupts","getInputState","initializer","header","intName","bool","model","interrupts","getInterrupts","registerValues","getRegisterValues","initRegisters","filter","reg","alias","CLCCON","clcInterface","intPayload","getImportValue","compiler","tool","moduleNameLowerCase","toLowerCase","moduleNameUpperCase","toUpperCase","headerFiles","api","simpleApi","isVectoredInterruptEnabled","vectoredInterruptEnable","isHighPriority","IVTBaseAddress","String","ivtBaseAddress","interruptFlagName","flag","interruptEnableBitName","enable","IRQname","handlerName","replace","CLCDATA","path","gateInputState","getCompletePinData","appModel","getRowData","rowData","retRowJSONdata","mod","inputSelections","module","aliasReEx","attribs","analog","gateNum","Number","version","createMock","interfaceId","Interface","requestId","createApi","prefix","Initialize","returns","OutputStatusGet","ISR","createPrototypeImport","createPrototypeExport","interfaces","createCustomApi","InterfaceTypes"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAi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ACJ,CANM,C;;;;;;;;;;;;ACtBM;AACb;AACA;AACA,gDAAgD,OAAO;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,6DAA6D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,qBAAqB,wDAAwD;AAChH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,qBAAqB;AACxD,2CAA2C,YAAY,6BAA6B,mBAAmB,8BAA8B,GAAG;AACxI,aAAa,GAAG;AAChB;AACA;AACA;AACA;AACA,qC;;;;;;;;;;;;AChFa;AACb;AACA;AACA;AACA,cAAc,gBAAgB,sCAAsC,iBAAiB,EAAE;AACvF,6BAA6B,8EAA8E;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD;AACA,4EAA4E,OAAO;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,cAAc;AAC5D,gBAAgB,mBAAO,CAAC,sEAAW;AACnC,iBAAiB,mBAAO,CAAC,wEAAY;AACrC,eAAe,mBAAO,CAAC,8EAAe;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,wCAAwC;AACxC,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,qIAAqI,4DAA4D,uDAAuD,EAAE;AAC1P;AACA;AACA,wCAAwC,8DAA8D;AACtG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,0BAA0B;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,oCAAoC,mCAAmC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,6CAA6C;AACzF,oCAAoC,2BAA2B;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,sCAAsC,oBAAoB;AAC1D;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,kD;;;;;;;;;;;;AC5Na;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;;;;;ACRa;AACb,8CAA8C,cAAc;AAC5D;AACA,eAAe,mBAAO,CAAC,8EAAe;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+JAA+J,8BAA8B,EAAE;AAC/L;AACA;AACA;AACA;AACA,+JAA+J,4BAA4B,EAAE;AAC7L;AACA;AACA;AACA;AACA,6GAA6G,0CAA0C,EAAE;AACzJ;AACA;AACA;AACA;AACA,4GAA4G,oBAAoB,EAAE;AAClI;AACA;AACA;AACA;AACA,4GAA4G,2BAA2B,EAAE;AACzI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mC;;;;;;;;;;;;AC9Ea;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wGAAwG,iBAAiB,EAAE;AAC3H;AACA;AACA,kC;;;;;;;;;;;;AC/Ca;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC,kCAAkC,EAAE;AAC5E;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACnBa;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AC1Ba;AACb,8CAA8C,cAAc;AAC5D,yBAAyB,mBAAO,CAAC,2FAAoB;AACrD;AACA,gBAAgB,mBAAO,CAAC,yEAAW;AACnC;AACA;;;;;;;;;;;;ACNA,mBAAO,CAAC,sEAAsB;AAC9B,mBAAO,CAAC,gGAAmC;AAC3C,mBAAO,CAAC,8FAAkC;AAC1C,mBAAO,CAAC,kHAA4C;AACpD,WAAW,mBAAO,CAAC,sEAAsB;;AAEzC;;;;;;;;;;;;ACNA,mB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A;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;AACA;;;;;;;;;;;;ACrCA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;ACJA,4BAA4B,mBAAO,CAAC,qGAAoC;AACxE,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;AACA,gDAAgD,kBAAkB,EAAE;;AAEpE;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzBa;AACb,qBAAqB,mBAAO,CAAC,uGAAqC;AAClE,aAAa,mBAAO,CAAC,qFAA4B;AACjD,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,WAAW,mBAAO,CAAC,qGAAoC;AACvD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,cAAc,mBAAO,CAAC,6FAAgC;AACtD,0BAA0B,mBAAO,CAAC,uFAA6B;;AAE/D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA,kCAAkC;AAClC,oCAAoC;AACpC,cAAc;AACd,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;ACzLa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,6BAA6B,mBAAO,CAAC,6FAAgC;AACrE,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,wBAAwB,mBAAO,CAAC,iGAAkC;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,qDAAqD;AACrD;AACA,kDAAkD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AAqB,mBAAO,CAAC,6FAAgC;AAC7D,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA,yCAAyC,4CAA4C;AACrF,6CAA6C,4CAA4C;AACzF,+CAA+C,4CAA4C;AAC3F,KAAK,qBAAqB,sCAAsC;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB,mBAAmB;AACnC;AACA;AACA,yCAAyC,kCAAkC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,SAAS,qFAAqF;AACnG;;AAEA;AACA;;;;;;;;;;;;ACzFA,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA,iCAAiC,MAAM,mBAAmB,UAAU,EAAE,EAAE;AACxE,CAAC;;;;;;;;;;;;ACLD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTA,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,+BAA+B,mBAAO,CAAC,+HAAiD;AACxF,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,gCAAgC,mBAAO,CAAC,iHAA0C;AAClF,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,mDAAmD;AACnD,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACrDA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;ACNA,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA,wDAAwD;AACxD,CAAC;;;;;;;;;;;;ACJD,gBAAgB,mBAAO,CAAC,+EAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACvBA,WAAW,mBAAO,CAAC,mEAAmB;AACtC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACVA,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACZA,uBAAuB;;AAEvB;AACA;AACA;;;;;;;;;;;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AAChCS,uBAAqB,EAAEA,qBADS;AAEhCD,uBAAqB,EAAEA,qBAFS;AAGhCpF,gBAAc,EAAEA,cAHgB;AAIhC0E,YAAU,EAAEA;AAJoB,CAA7B,C","file":"autoProcessor.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","export type Dictionary<T> = Record<string, T>;\n\n/** @returns the non-prototype keys of the given object */\nexport const getKeys = (obj: object): string[] => {\n /* eslint-disable-line */\n return Object.getOwnPropertyNames(obj);\n};\n\nexport const values = <T = any>(obj: { [key: string]: T }): T[] => {\n return getKeys(obj).map((key: string): T => obj[key]);\n};\n\nexport const forEach = <T>(\n obj: Dictionary<T>,\n action: (key: string, value: T) => void,\n): void => {\n getKeys(obj).forEach((key: string): void => action(key, obj[key]));\n};\n\nexport const map = <T, R>(\n obj: Dictionary<T>,\n mapper: (key: string, value: T) => R,\n): R[] => {\n return getKeys(obj).map((key: string): R => mapper(key, obj[key]));\n};\n\ntype NonNullAssertion = <T>(val: T, msg?: string) => asserts val is NonNullable<T>;\n\nexport const assertNotNull: NonNullAssertion = <T>(\n val: T,\n msg?: string,\n): asserts val is NonNullable<T> => {\n if (val == null) {\n throw new Error(msg);\n }\n};\n\nexport const toDictionary = <T, V>(\n arr: T[],\n keyMapper: (input: T) => string,\n valueMapper: (input: T) => V,\n): Dictionary<V> => {\n const result: Dictionary<V> = {};\n arr.forEach((entry) => {\n result[keyMapper(entry)] = valueMapper(entry);\n });\n return result;\n};\n","import {\n getModuleConfigFromFile,\n getDerivedData as getDerivedDataUser,\n} from \"./getUserData\";\nimport { AppModel, DerivedData } from \"./types/AutoModuleTypes\";\n\nfunction createAutoProcessor(\n getDerivedData: (dataModel: AppModel) => DerivedData,\n): (dataModel: AppModel) => DerivedData {\n const derivedDataGetter = (dataModel: AppModel): DerivedData => {\n return {\n getModuleConfig: getModuleConfigFromFile,\n ...getDerivedData(dataModel),\n };\n };\n return derivedDataGetter;\n}\n\nexport const getDerivedData = createAutoProcessor(getDerivedDataUser);\n","import { ModuleConfig } from \"@microchip/melody-automodule-interface/lib/src/ModuleConfig\";\nimport { PinsData } from \"@microchip/melody-automodule-interface/lib/src/pins\";\nimport { PinsLogic } from \"@microchip/melody-automodule-interface/lib/src/types\";\nexport { getCreatorFunctions } from \"../../src/CreatorFunctions\";\nexport { getDerivedData } from \"../../src/DerivedData\";\n\nexport const getPinsDataFromFile = (): PinsData | undefined => {\n try {\n return require(\"../../src/pinsdata.json\");\n } catch {\n return undefined;\n }\n};\n\nexport const getPinsLogicFromFile = (): PinsLogic | undefined => {\n try {\n return require(\"../../src/PinsLogic.ts\");\n } catch {\n return undefined;\n }\n};\n\nexport const getModuleConfigFromFile = (): ModuleConfig | undefined => {\n try {\n return require(\"../../src/moduleConfig.json\");\n } catch {\n return undefined;\n }\n};\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mapOptionLabels = exports.filterOptions = exports.isSingleton = exports.isUnassigned = exports.isAssigned = exports.hasOptions = exports.AlertTypes = void 0;\nvar AlertTypes;\n(function (AlertTypes) {\n AlertTypes[\"Error\"] = \"error\";\n AlertTypes[\"Warning\"] = \"warning\";\n AlertTypes[\"Hint\"] = \"hint\";\n})(AlertTypes = exports.AlertTypes || (exports.AlertTypes = {}));\n/**\n * See User-Defined Type Guards in the Typescript Handbook on Advanced Types\n * @see https://www.typescriptlang.org/docs/handbook/advanced-types.html\n */\nfunction hasOptions(dep) {\n return dep.options !== undefined;\n}\nexports.hasOptions = hasOptions;\n/**\n * See User-Defined Type Guards in the Typescript Handbook on Advanced Types\n * @see https://www.typescriptlang.org/docs/handbook/advanced-types.html\n */\nfunction isAssigned(dep) {\n return typeof dep.handle !== \"undefined\";\n}\nexports.isAssigned = isAssigned;\n/**\n * See User-Defined Type Guards in the Typescript Handbook on Advanced Types\n * @see https://www.typescriptlang.org/docs/handbook/advanced-types.html\n */\nfunction isUnassigned(dep) {\n return typeof dep.handle === \"undefined\";\n}\nexports.isUnassigned = isUnassigned;\n/**\n * Type guard function for SingletonExport\n * See User-Defined Type Guards in the Typescript Handbook on Advanced Types\n * @see https://www.typescriptlang.org/docs/handbook/advanced-types.html\n * @param resource the export to check on being a singleton\n * @deprecated No longer used. Replaced with dynamic singleton identification\n * at runtime.\n */\nfunction isSingleton(resource) {\n return typeof resource.isSingleton !== \"undefined\" && resource.isSingleton;\n}\nexports.isSingleton = isSingleton;\n/**\n * Returns a copy of `populatedImport` with all options removed which\n * cause `optionFilter` to return false.\n */\nfunction filterOptions(populatedImport, optionFilter) {\n if (populatedImport.options) {\n return __assign(__assign({}, populatedImport), { options: populatedImport.options.filter(optionFilter) });\n }\n return populatedImport;\n}\nexports.filterOptions = filterOptions;\n/**\n * Returns a copy of `populatedImport` with the options' handle labels\n * mapped according to `labelFactory`.\n */\nfunction mapOptionLabels(populatedImport, labelFactory) {\n if (populatedImport.options) {\n return __assign(__assign({}, populatedImport), { options: populatedImport.options.map(function (option) {\n return __assign(__assign({}, option), { handle: __assign(__assign({}, option.handle), { label: labelFactory(option) }) });\n }) });\n }\n return populatedImport;\n}\nexports.mapOptionLabels = mapOptionLabels;\n//# sourceMappingURL=Processor.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Setting_1 = require(\"./Setting\");\nvar Register_1 = require(\"./Register\");\nvar Arrays_1 = require(\"./util/Arrays\");\n/** Builder pattern */\nvar CalculateRegisterValue = /** @class */ (function () {\n function CalculateRegisterValue(register) {\n var _this = this;\n this.modifiedSettings = [];\n /** Assign a numerical value to the given `Setting`. */\n this.withNumberValue = function (setting, value) {\n if (setting === undefined) {\n throw new Error(\"Cannot assign number value to setting, setting is undefined.\");\n }\n if (!_this.getSetting(setting)) {\n throw new Error(\"Setting \".concat(setting.alias, \" is not present in Register \").concat(_this.register.name));\n }\n _this.modifiedSettings = __spreadArray(__spreadArray([], _this.modifiedSettings, true), [\n new NumberSettingValue(setting, value),\n ], false);\n return _this;\n };\n /** Assign the given `Option` to the given `Setting`. */\n this.withOption = function (setting, option) {\n if (setting === undefined) {\n throw new Error(\"Cannot assign option to setting, setting is undefined.\");\n }\n if (!_this.getSetting(setting)) {\n throw new Error(\"Setting \".concat(setting.alias, \" is not present in Register \").concat(_this.register.name));\n }\n if (!option || !_this.getOption(setting, option)) {\n throw new Error(\"Option \".concat(option === null || option === void 0 ? void 0 : option.name, \" is not present in Setting \").concat(setting.name));\n }\n _this.modifiedSettings = __spreadArray(__spreadArray([], _this.modifiedSettings, true), [\n new OptionSettingValue(setting, option),\n ], false);\n return _this;\n };\n /** Assign the `Option` matching the given alias to the given `Setting`. */\n this.withOptionAlias = function (setting, optionAlias) {\n if (setting === undefined) {\n throw new Error(\"Cannot assign option alias to setting, setting is undefined.\");\n }\n var option = (0, Setting_1.getOptionByAlias)(optionAlias, setting);\n if (option === undefined) {\n throw new Error(\"Option Alias: \\\"\".concat(optionAlias, \"\\\" not present in Setting: \\\"\").concat(setting.name, \"\\\".\"));\n }\n return _this.withOption(setting, option);\n };\n /** Assign the `Option` matching the given name to the given `Setting`. */\n this.withOptionName = function (setting, optionName) {\n if (setting === undefined) {\n throw new Error(\"Cannot assign option name to setting, setting is undefined.\");\n }\n var option = (0, Setting_1.getOptionByName)(optionName, setting);\n if (option === undefined) {\n throw new Error(\"Option Name: \\\"\".concat(optionName, \"\\\" not present in Setting: \\\"\").concat(setting.name, \"\\\".\"));\n }\n return _this.withOption(setting, option);\n };\n /** Assign the `Option` matching the given description to the given `Setting`. */\n this.withOptionDescription = function (setting, optionDescription) {\n if (setting === undefined) {\n throw new Error(\"Cannot assign option description to setting, setting is undefined.\");\n }\n var option = (0, Setting_1.getOptionByDescription)(optionDescription, setting);\n if (option === undefined) {\n throw new Error(\"Option Description: \\\"\".concat(optionDescription, \"\\\" not present in Setting: \\\"\").concat(setting.name, \"\\\".\"));\n }\n return _this.withOption(setting, option);\n };\n this.getSetting = function (setting) {\n return (0, Register_1.getSettingByAlias)(setting.alias, _this.register);\n };\n this.getOption = function (setting, option) {\n return (option === null || option === void 0 ? void 0 : option.name) ? (0, Setting_1.getOptionByName)(option.name, setting) : undefined;\n };\n this.calculate = function () {\n var registerValue = 0;\n _this.modifiedSettings.forEach(function (modifiedSetting) {\n registerValue = _this.setValue(modifiedSetting, registerValue);\n });\n var unmodifiedSettings = _this.getUnmodifiedSettings();\n unmodifiedSettings.forEach(function (unmodifiedSetting) {\n registerValue = _this.setValue(SettingValue.defaultValue(unmodifiedSetting), registerValue);\n });\n return Number(registerValue);\n };\n this.setValue = function (setting, registerValue) {\n var value = registerValue;\n value &= ~setting.getMask(); // Clear bits\n value |= setting.getShiftedValue(); // Set bits\n return value;\n };\n this.getUnmodifiedSettings = function () {\n var _a, _b;\n var modifiedSettingNames = (0, Arrays_1.map)(_this.modifiedSettings, function (setting) {\n return setting.getName();\n });\n return (0, Arrays_1.filter)((_b = (0, Arrays_1.values)((_a = _this.register.settings) !== null && _a !== void 0 ? _a : {})) !== null && _b !== void 0 ? _b : [], function (setting) { return modifiedSettingNames.indexOf(setting.name) < 0; });\n };\n /** Calculate and print the register's value as a hex string. */\n this.asHexString = function () { return CalculateRegisterValue.toHexString(_this.calculate()); };\n /** Calculate and print the register's value as a binary string. */\n this.asBinaryString = function () {\n return CalculateRegisterValue.toBinaryString(_this.calculate());\n };\n /** Calculate and print the register's value as a decimal string. */\n this.asDecimalString = function () {\n return CalculateRegisterValue.toDecimalString(_this.calculate());\n };\n /** Calculate and return the register's value as a number. */\n this.asNumber = function () { return _this.calculate(); };\n this.register = register;\n }\n /** Creates a register value calculation object for the given register. */\n CalculateRegisterValue.for = function (register) {\n return new CalculateRegisterValue(register);\n };\n /** Format the given number as a hex string value. */\n CalculateRegisterValue.toHexString = function (value) {\n if (value == null) {\n throw new Error(\"CalculateRegisterValue.toHexString() illegal argument exception. Value must not be null.\");\n }\n return \"0x\" + value.toString(16);\n };\n /** Format the given number as a binary string value. */\n CalculateRegisterValue.toBinaryString = function (value) {\n if (value == null) {\n throw new Error(\"CalculateRegisterValue.toBinaryString() illegal argument exception. Value must not be null.\");\n }\n return \"0b\" + value.toString(2);\n };\n /** Format the given number as a decimal string value. */\n CalculateRegisterValue.toDecimalString = function (value) {\n if (value == null) {\n throw new Error(\"CalculateRegisterValue.toDecimalString() illegal argument exception. Value must not be null.\");\n }\n return value.toString();\n };\n return CalculateRegisterValue;\n}());\nexports.default = CalculateRegisterValue;\nvar SettingValue = /** @class */ (function () {\n function SettingValue(setting) {\n var _this = this;\n this.getMask = function () { return Number(_this.setting.mask); };\n this.getShift = function () {\n var mask = _this.getMask();\n var shiftIndex = 0;\n while (!(mask & 0x1)) {\n mask = mask >> 1;\n shiftIndex++;\n }\n return shiftIndex;\n };\n this.getShiftedValue = function () { return _this.getValue() << _this.getShift(); };\n this.getName = function () { return _this.setting.name; };\n this.setting = setting;\n }\n SettingValue.defaultValue = function (setting) {\n var value = Number(setting.porDefault);\n return new NumberSettingValue(setting, value);\n };\n return SettingValue;\n}());\nvar NumberSettingValue = /** @class */ (function (_super) {\n __extends(NumberSettingValue, _super);\n function NumberSettingValue(setting, value) {\n var _this = _super.call(this, setting) || this;\n _this.getValue = function () { return _this.value; };\n _this.value = value;\n return _this;\n }\n return NumberSettingValue;\n}(SettingValue));\nvar OptionSettingValue = /** @class */ (function (_super) {\n __extends(OptionSettingValue, _super);\n function OptionSettingValue(setting, option) {\n var _this = _super.call(this, setting) || this;\n _this.getValue = function () { return Number(_this.option.value); };\n _this.option = option;\n return _this;\n }\n OptionSettingValue.fromDefaultValue = function (setting, value) {\n var foundValueByName = (0, Setting_1.getOptionByName)(value, setting);\n if (foundValueByName)\n return new OptionSettingValue(setting, foundValueByName);\n var foundValueByAlias = (0, Setting_1.getOptionByAlias)(value, setting);\n if (foundValueByAlias)\n return new OptionSettingValue(setting, foundValueByAlias);\n throw new Error(\"Unable to create default value '\".concat(value, \"' for setting '\").concat(setting.name, \"'.\"));\n };\n return OptionSettingValue;\n}(SettingValue));\n//# sourceMappingURL=CalculateRegisterValue.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getSettingByAlias = void 0;\nvar getSettingByAlias = function (alias, register) {\n var _a;\n return (_a = register.settings) === null || _a === void 0 ? void 0 : _a[alias];\n};\nexports.getSettingByAlias = getSettingByAlias;\n//# sourceMappingURL=Register.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOptionDescriptions = exports.getOptionNames = exports.getOptionByDescription = exports.getOptionByName = exports.getOptionByAlias = exports.getBitRange = exports.getBitLabel = void 0;\nvar Arrays_1 = require(\"./util/Arrays\");\n/**\n * Converts a hexadecimal string to binary.\n * Any leading zeros are removed from the returned string.\n */\nvar hexToBinary = function (hex) {\n return parseInt(hex, 16).toString(2);\n};\n/**\n * Returns a string of the corresponding bit position(s).\n */\nvar getBitLabel = function (setting) {\n if (setting.mask === undefined) {\n return undefined;\n }\n var bitRange = (0, exports.getBitRange)(setting);\n if (!bitRange)\n return undefined;\n if (bitRange.high === bitRange.low) {\n return \"bit \".concat(bitRange.high);\n }\n return \"bit \".concat(bitRange.high, \"-\").concat(bitRange.low);\n};\nexports.getBitLabel = getBitLabel;\n/**\n * Converts the hexadecimal mask provided within the register setting\n * and returns an interface containing the corresponding low and high bit positions.\n */\nvar getBitRange = function (setting) {\n if (!setting.mask)\n return undefined;\n var processedHex = hexToBinary(setting.mask);\n return {\n high: processedHex.length - 1,\n low: getBitRangeLow(processedHex),\n };\n};\nexports.getBitRange = getBitRange;\nvar getOptionByAlias = function (alias, setting) {\n var _a;\n return (0, Arrays_1.find)((_a = setting === null || setting === void 0 ? void 0 : setting.options) !== null && _a !== void 0 ? _a : [], function (option) { return option.alias == alias; });\n};\nexports.getOptionByAlias = getOptionByAlias;\nvar getOptionByName = function (name, setting) {\n var _a;\n return (0, Arrays_1.find)((_a = setting === null || setting === void 0 ? void 0 : setting.options) !== null && _a !== void 0 ? _a : [], function (option) { return option.name == name; });\n};\nexports.getOptionByName = getOptionByName;\nvar getOptionByDescription = function (description, setting) {\n var _a;\n return (0, Arrays_1.find)((_a = setting.options) !== null && _a !== void 0 ? _a : [], function (option) { return option.description == description; });\n};\nexports.getOptionByDescription = getOptionByDescription;\nvar getOptionNames = function (setting) {\n var _a;\n return (0, Arrays_1.map)((_a = setting.options) !== null && _a !== void 0 ? _a : [], function (option) { return option.name; });\n};\nexports.getOptionNames = getOptionNames;\nvar getOptionDescriptions = function (setting) {\n var _a;\n return (0, Arrays_1.map)((_a = setting.options) !== null && _a !== void 0 ? _a : [], function (option) { return option.description; });\n};\nexports.getOptionDescriptions = getOptionDescriptions;\nfunction getBitRangeLow(processedHex) {\n if (processedHex.charAt(1) === \"1\") {\n var index = 1;\n while (processedHex.charAt(index) === \"1\") {\n index++;\n }\n return processedHex.length - index;\n }\n else {\n return processedHex.length - 1;\n }\n}\n//# sourceMappingURL=Setting.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.values = exports.getKeys = exports.find = exports.filter = exports.map = void 0;\nvar map = function (arr, callback) {\n var result = [];\n arr.forEach(function (value, index) {\n result[index] = callback(value);\n });\n return result;\n};\nexports.map = map;\nvar filter = function (arr, callback) {\n var result = [];\n arr.forEach(function (value) {\n if (callback(value)) {\n result.push(value);\n }\n });\n return result;\n};\nexports.filter = filter;\n/**\n * Iterates over elements of the array, returning the first element that the predicate returns truthy for.\n */\nvar find = function (arr, callback) {\n for (var i = 0; i < arr.length; i++) {\n if (callback(arr[i])) {\n return arr[i];\n }\n }\n return undefined;\n};\nexports.find = find;\n/** @returns the non-prototype keys of the given object */\nvar getKeys = function (obj) {\n if (!obj)\n return undefined;\n return Object.getOwnPropertyNames(obj);\n};\nexports.getKeys = getKeys;\nvar values = function (obj) {\n var _a;\n if (!obj)\n return undefined;\n return (_a = (0, exports.getKeys)(obj)) === null || _a === void 0 ? void 0 : _a.map(function (key) { return obj[key]; });\n};\nexports.values = values;\n//# sourceMappingURL=Arrays.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.buildSimpleApi = function (functions) {\n var api = {};\n for (var key in functions) {\n api[key] = buildFunction(functions[key]);\n }\n return api;\n};\nvar buildFunction = function (cFunction) {\n return cFunction.returns + \" \" + cFunction.name + \"(\" + buildArguments(cFunction.arguments) + \")\";\n};\nvar buildArguments = function (args) {\n if (args) {\n return args.map(function (arg) { return arg.type + \" \" + arg.name; }).join(\", \");\n }\n else {\n return \"void\";\n }\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getInterfaceName = function (pkgJson) {\n var strReplace = \"@microchip/\";\n var interfaceName;\n if (pkgJson) {\n interfaceName = pkgJson[\"name\"];\n if (interfaceName) {\n interfaceName = interfaceName.replace(strReplace, \"\");\n }\n }\n if (!interfaceName) {\n throw new Error(\"Invalid Interface Name...!\");\n }\n return interfaceName;\n};\nexports.getInterfaceVersion = function (pkgJson) {\n var versionRegex = new RegExp(\"\\\\d+.\\\\d+.\\\\d+\");\n var version;\n if (pkgJson) {\n version = pkgJson[\"version\"];\n }\n if (!version && !versionRegex.test(version)) {\n throw new Error(\"Invalid Interface Version...!\");\n }\n return version;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar c_function_types_1 = require(\"./c-function-types\");\nexports.buildSimpleApi = c_function_types_1.buildSimpleApi;\nvar helpers_1 = require(\"./helpers\");\nexports.getInterfaceName = helpers_1.getInterfaceName;\nexports.getInterfaceVersion = helpers_1.getInterfaceVersion;\n","require('../../modules/es.map');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.string.iterator');\nrequire('../../modules/web.dom-collections.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Map;\n","require('../../modules/es.set');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.string.iterator');\nrequire('../../modules/web.dom-collections.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Set;\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","module.exports = function (it, Constructor, name) {\n if (!(it instanceof Constructor)) {\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n } return it;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var anObject = require('../internals/an-object');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (error) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) anObject(returnMethod.call(iterator));\n throw error;\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line no-throw-literal\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, CONSTRUCTOR_NAME);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\n });\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(C.prototype, IS_MAP ? {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(C.prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return C;\n },\n setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var nativeMethod = NativePrototype[KEY];\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n nativeMethod.call(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n nativeMethod.call(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n // eslint-disable-next-line max-len\n if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n })))) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.REQUIRED = true;\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, Constructor, CONSTRUCTOR_NAME);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return nativeIterator.call(this); };\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\n }\n Iterators[NAME] = defaultIterator;\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n return methods;\n};\n","var fails = require('../internals/fails');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var classof = require('../internals/classof');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n Function('return this')();\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","module.exports = {};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n typeof (NewTarget = dummy.constructor) == 'function' &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar has = require('../internals/has');\nvar defineProperty = require('../internals/object-define-property').f;\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + ++id, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!has(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar meta = module.exports = {\n REQUIRED: false,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = new WeakMap();\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","module.exports = false;\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {\n var boundFunction = bind(fn, that, AS_ENTRIES ? 2 : 1);\n var iterator, iterFn, index, length, result, next, step;\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\n result = AS_ENTRIES\n ? boundFunction(anObject(step = iterable[index])[0], step[1])\n : boundFunction(iterable[index]);\n if (result && result instanceof Result) return result;\n } return new Result(false);\n }\n iterator = iterFn.call(iterable);\n }\n\n next = iterator.next;\n while (!(step = next.call(iterator)).done) {\n result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);\n if (typeof result == 'object' && result && result instanceof Result) return result;\n } return new Result(false);\n};\n\niterate.stop = function (result) {\n return new Result(true, result);\n};\n","'use strict';\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\nvar returnThis = function () { return this; };\n\n// `%IteratorPrototype%` object\n// https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nif (IteratorPrototype == undefined) IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nif (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = {};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.github.io/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n","var anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) redefine(target, key, src[key], options);\n return target;\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);\n enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.6.5',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.github.io/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.github.io/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.github.io/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.github.io/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.github.io/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.github.io/ecma262/#sec-createmappedargumentsobject\nIterators.Arguments = Iterators.Array;\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.github.io/ecma262/#sec-map-objects\nmodule.exports = collection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.github.io/ecma262/#sec-set-objects\nmodule.exports = collection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: String(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","export const CANVAS_WIDTH = 1200;\nexport const CANVAS_HEIGHT = 600;\n\nexport const INSTANCES: ReadonlyArray<number> = [1, 2, 3, 4, 5, 6, 7, 8];\nexport const GATES: ReadonlyArray<number> = [1, 2, 3, 4];\nexport const DATA_INPUTS: ReadonlyArray<number> = [1, 2, 3, 4];\n\nexport const OPTION_MODULES = {\n C1OUT: \"CMP1\",\n C2OUT: \"CMP2\",\n C3OUT: \"CMP3\",\n C4OUT: \"CMP4\",\n C5OUT: \"CMP5\",\n C6OUT: \"CMP6\",\n C7OUT: \"CMP7\",\n C8OUT: \"CMP8\",\n sync_C1OUT: \"CMP1\",\n SYNCC1OUT: \"CMP1\",\n sync_C2OUT: \"CMP2\",\n CMP1_OUT: \"CMP1\",\n CMP2_OUT: \"CMP2\",\n SYNCC2OUT: \"CMP2\",\n sync_C3OUT: \"CMP3\",\n sync_C4OUT: \"CMP4\",\n sync_C5OUT: \"CMP5\",\n sync_C6OUT: \"CMP6\",\n CLKR_OUT: \"CLKREF\",\n CWG1A_OUT: \"CWG1\",\n CWG1B_OUT: \"CWG1\",\n CWG1A: \"CWG\",\n CWG1B: \"CWG\",\n CWG2A: \"CWG2\",\n CWG2B: \"CWG2\",\n CWG3A: \"CWG3\",\n CWG3B: \"CWG3\",\n COG1A: \"COG1\",\n COG1B: \"COG1\",\n COG2A: \"COG2\",\n COG2B: \"COG2\",\n COG3A: \"COG3\",\n COG3B: \"COG3\",\n COG4A: \"COG4\",\n COG4B: \"COG4\",\n ZCDx_out: \"ZCD\",\n ZCD1_out: \"ZCD\",\n ZCD_OUT: \"ZCD\",\n NCO1_out: \"NCO1\",\n NCO1OUT: \"NCO1\",\n T2_postscaled_out: \"TMR2\",\n T4_postscaled_out: \"TMR4\",\n T6_postscaled_out: \"TMR6\",\n T8_postscaled_out: \"TMR8\",\n T2_postscaled: \"TMR2\",\n T4_postscaled: \"TMR4\",\n T6_postscaled: \"TMR6\",\n T2_match: \"TMR2\",\n \"TMR2=PR2\": \"TMR2\",\n T4_match: \"TMR4\",\n \"TMR4=PR4\": \"TMR4\",\n T6_match: \"TMR6\",\n \"TMR6=PR6\": \"TMR6\",\n LC1_out: \"CLC1\",\n LC2_out: \"CLC2\",\n LC3_out: \"CLC3\",\n LC4_out: \"CLC4\",\n CLC1_OUT: \"CLC1\",\n CLC2_OUT: \"CLC2\",\n CLC3_OUT: \"CLC3\",\n CLC4_OUT: \"CLC4\",\n CLC5_OUT: \"CLC5\",\n CLC6_OUT: \"CLC6\",\n CLC7_OUT: \"CLC7\",\n CLC8_OUT: \"CLC8\",\n LC1OUT: \"CLC1\",\n LC2OUT: \"CLC2\",\n LC3OUT: \"CLC3\",\n LC4OUT: \"CLC4\",\n T1_overflow: \"TMR1\",\n TMR1IF: \"TMR1\",\n T2_overflow: \"TMR2\",\n T4_overflow: \"TMR4\",\n T3_overflow: \"TMR3\",\n T5_overflow: \"TMR5\",\n SMT1: \"SMT1\",\n SMT2: \"SMT2\",\n SMT1_OUT: \"SMT1\",\n SMT2_OUT: \"SMT2\",\n T0_overflow: \"TMR0\",\n TMR0IF: \"TMR0\",\n DSM_OUT: \"DSM\",\n MDx_OUT: \"DSM\",\n \"CCP1 output\": \"CCP1\",\n \"CCP2 output\": \"CCP2\",\n CCP1_OUT: \"CCP1\",\n CCP2_OUT: \"CCP2\",\n CCP3_OUT: \"CCP3\",\n CCP4_OUT: \"CCP4\",\n CCP5_OUT: \"CCP5\",\n CCP7_OUT: \"CCP4\",\n CCP8_OUT: \"CCP5\",\n PWM1OUT: \"PWM1\",\n PWM3_out: \"PWM3\",\n PWM3OUT: \"PWM3\",\n PWM4OUT: \"PWM4\",\n PWM4_OUT: \"PWM4\",\n PWM5_out: \"PWM5\",\n PWM6_out: \"PWM6\",\n PWM7_OUT: \"PWM7\",\n PWM9_out: \"PWM9\",\n PWM10_OUT: \"PWM10\",\n PWM11_out: \"PWM11\",\n PWM12_OUT: \"PWM12\",\n \"Angular TMR Comp1\": \"AT\",\n \"Angular TMR Comp2\": \"AT\",\n \"Angular TMR Comp3\": \"AT\",\n \"Angular TMR missed pulse\": \"AT\",\n \"Angular TMR period\": \"AT\",\n \"Angular angle clock\": \"AT\",\n \"TX/CK from EUSART\": \"EUSART\",\n \"TX/CK from EUSART1\": \"EUSART1\",\n \"TX/CK from EUSART2\": \"EUSART2\",\n \"RX/DT from EUSART\": \"EUSART\",\n \"RX/DT from EUSART1\": \"EUSART1\",\n \"RX/DT from EUSART2\": \"EUSART2\",\n \"DT from EUSART\": \"EUSART\",\n \"DT from EUSART2\": \"EUSART2\",\n SMT_overflow: \"SMT1\",\n SMT1_Overflow: \"SMT1\",\n \"SCK from MSSP\": \"MSSP\",\n \"SDO from MSSP\": \"MSSP\",\n \"SCK from MSSP1\": \"MSSP1\",\n \"SDO from MSSP1\": \"MSSP1\",\n \"SCK from MSSP2\": \"MSSP2\",\n \"SDO from MSSP2\": \"MSSP2\",\n SCK: \"MSSP\",\n SDO: \"MSSP\",\n RTCC_seconds: \"RTCC\",\n PWM1_OUT1: \"PWM1\",\n PWM1_OUT2: \"PWM1\",\n PWM2_OUT1: \"PWM2\",\n PWM2_OUT2: \"PWM2\",\n PWM3_OUT1: \"PWM3\",\n PWM3_OUT2: \"PWM3\",\n PWM4_OUT1: \"PWM4\",\n PWM4_OUT2: \"PWM4\",\n NCO1_OUT: \"NCO1\",\n NCO2_OUT: \"NCO2\",\n NCO3_OUT: \"NCO3\",\n \"SPI1 SDO OUT\": \"SPI1\",\n \"SPI1 SCK OUT\": \"SPI1\",\n \"SPI1 SS OUT\": \"SPI1\",\n \"SPI2 SDO OUT\": \"SPI2\",\n \"SPI2 SCK OUT\": \"SPI2\",\n \"SPI2 SS OUT\": \"SPI2\",\n \"I2C SCL OUT\": \"I2C1\",\n \"I2C SDA OUT\": \"I2C1\",\n \"UART1 TX OUT\": \"UART1\",\n \"UART2 TX OUT\": \"UART2\",\n \"UART3 TX OUT\": \"UART3\",\n \"UART4 TX OUT\": \"UART4\",\n \"UART5 TX OUT\": \"UART5\",\n TMR0: \"TMR0\",\n TMR1: \"TMR1\",\n TMR2: \"TMR2\",\n TMR3: \"TMR3\",\n TMR4: \"TMR4\",\n TMR5: \"TMR5\",\n TMR6: \"TMR6\",\n TU16A: \"TU16A\",\n TU16B: \"TU16B\",\n HLVD_OUT: \"HLVD\",\n TMR2_OUT: \"TMR2\",\n TMR4_OUT: \"TMR4\",\n TMR6_OUT: \"TMR6\",\n PWM3_OUT: \"PWM3\",\n PWM6_OUT: \"PWM6\",\n CWG2A_OUT: \"CWG2\",\n CWG2B_OUT: \"CWG2\",\n CWG3A_OUT: \"CWG3\",\n CWG3B_OUT: \"CWG3\",\n} as const;\n","import { getGateSourceSetting } from \"./SettingNameCalculator\";\nimport { GATES, OPTION_MODULES } from \"./Constants\";\nimport { CreatorFunctions } from \"@microchip/melody-automodule-interface\";\nimport { MyState } from \"../generated_module/src/types/AutoModuleTypes\";\n\nexport const getCreatorFunctions = (): CreatorFunctions => {\n return {\n shouldImport: shouldImport,\n getCreatorImportArgs: getCreatorImportArgs,\n };\n};\n\nconst shouldImport = (importKey: string, state: MyState): boolean => {\n const inputs = GATES.map((gate: number) => {\n return OPTION_MODULES[state?.main?.hardware?.[getGateSourceSetting(gate)]];\n });\n\n switch (importKey) {\n case \"CMP\":\n return inputs.some((input) => /CMP/.test(input));\n case \"HLVD\":\n return inputs.some((input) => /HLVD/.test(input));\n case \"I2C\":\n return inputs.some((input) => /I2C/.test(input));\n case \"MSSP\":\n return inputs.some((input) => /MSSP/.test(input));\n case \"NCO\":\n return inputs.some((input) => /NCO/.test(input));\n case \"SPI\":\n return inputs.some((input) => /SPI/.test(input));\n case \"TMR0\":\n return inputs.some((input) => /TMR0/.test(input));\n case \"UART\":\n return inputs.some((input) => /US?ART/.test(input));\n case \"ZCD\":\n return inputs.some((input) => /ZCD/.test(input));\n default:\n return true;\n }\n};\n\nconst getCreatorImportArgs = (importKey: string, state: MyState): any | undefined => {\n return undefined;\n};\n","import * as Processor from \"@microchip/scf-common/lib/Processor\";\nimport { getGeneratorModel, getHeaderFiles } from \"./GeneratorModel\";\nimport * as initializer_system from \"@microchip/initializer-system\";\nimport * as claClcStacked from \"./interfaces/cla-clc-stacked\";\nimport * as trigger_source from \"./interfaces/trigger-source\";\nimport * as signal_source from \"./interfaces/signal-source\";\nimport { find } from \"@microchip/scf-device/lib/util/Arrays\";\nimport { InputStateCalculator, LogicSelection } from \"./InputStateCalculator\";\nimport { Module } from \"@microchip/scf-device\";\nimport { GATES, DATA_INPUTS, OPTION_MODULES } from \"./Constants\";\nimport {\n getGatePolaritySetting,\n getGateSourceSetting,\n getGateNonInvertedSetting,\n getGateInvertedSetting,\n} from \"./SettingNameCalculator\";\nimport * as clcConnections from \"./interfaces/clc-connections\";\nimport { Interface } from \"@microchip/scf-interface\";\nimport { values } from \"../generated_module/src/Utils\";\nimport {\n AppModel,\n DerivedData,\n DerivedFunctions,\n} from \"../generated_module/src/types/AutoModuleTypes\";\nimport CalculateRegisterValue from \"@microchip/scf-device/lib/CalculateRegisterValue\";\n\nexport const getDerivedData = (dataModel: AppModel | undefined): DerivedData => {\n if (dataModel) {\n return new MyDerivedData(dataModel);\n }\n return new EmptyDerivedData();\n};\n\n//This data will be used at the creator stage and relies on only the state\nexport class EmptyDerivedData implements DerivedData {\n getMyFunctions = (): DerivedFunctions => {\n return {};\n };\n getModel = (): AppModel | undefined => {\n return undefined;\n };\n}\n\n//This data will be used at the processor stage\nclass MyDerivedData implements DerivedData {\n private dataModel: AppModel;\n private gateDerivedSettings: any;\n\n constructor(dataModel: AppModel) {\n this.dataModel = dataModel;\n }\n\n getMyFunctions = (): DerivedFunctions => {\n return {\n overrideDefaultValues: this.overrideDefaultValues,\n moduleName: (): string | undefined => this.dataModel.getHardware()?.getName(),\n componentName: this.componentName,\n lcenClccon: this.lcenClccon,\n lcmodeClccon: this.lcmodeClccon,\n ...this.getGateDerivedSettings(),\n lcpolClcpol: this.lcpolClcpol,\n slctClcselect: this.getClcSelect,\n clci: this.clci,\n importName: this.friendlyImportName,\n filterImports: this.filterImports,\n \"cla-clc-stacked_payload\": this.cla_clc_payload,\n \"trigger-source_payload\": this.trigger_source_payload,\n \"signal-source_payload\": this.signal_source_payload,\n templateData: (): any => getGeneratorModel(this.dataModel),\n alerts: this.getMyAlerts,\n showCanvasBased: (): boolean => false,\n initializer_system_results: this.initializer_system_results,\n isrCallback: this.isrCallback,\n clc_connections_results: this.clc_connections_results,\n isEnabled: this.isEnabled,\n getRequestedModule: this.getRequestedModule,\n };\n };\n private isEnabled = (compName: string): boolean | undefined => {\n let status;\n if (this.dataModel.getComponentValue(\"clci\") === false) {\n switch (compName) {\n case \"lcintnClccon\":\n status = false;\n break;\n case \"lcintpClccon\":\n status = false;\n break;\n default:\n status = undefined;\n }\n return status;\n }\n };\n\n private clc_connections_results = (): clcConnections.Results => {\n const inputs: string[] = [];\n\n GATES.forEach((gate) => {\n const setting = getGateSourceSetting(gate);\n const value = this.dataModel.getComponentValue(setting);\n const input: string | undefined = OPTION_MODULES[value];\n\n if (input && input.indexOf(\"CLC\") !== -1) {\n if (inputs.indexOf(input) === -1) {\n inputs.push(input);\n }\n }\n });\n\n return {\n moduleName: this.dataModel.getName(),\n inputs,\n };\n };\n\n private getGateDerivedSettings = (): any => {\n if (!this.gateDerivedSettings) {\n this.gateDerivedSettings = this.createGateDerivedSettings();\n }\n return this.gateDerivedSettings;\n };\n\n private createGateDerivedSettings = (): any => {\n const result = {};\n type ReturnType = string | undefined;\n\n GATES.forEach((gate: number) => {\n DATA_INPUTS.forEach((input: number) => {\n result[getGateInvertedSetting(gate, input)] = (): ReturnType =>\n this.getDataConfigInvertedProcessedArg(gate, input);\n\n result[getGateNonInvertedSetting(gate, input)] = (): ReturnType =>\n this.getDataConfigNonInvertedProcessedArg(gate, input);\n });\n\n result[getGatePolaritySetting(gate)] = (): ReturnType =>\n this.getOutputConfigProcessedArg(gate);\n\n result[getGateSourceSetting(gate)] = (): ReturnType =>\n this.getGateConfig(gate)?.inputSource;\n });\n\n return result;\n };\n\n private overrideDefaultValues = (componentName: string): any => {\n switch (componentName) {\n case \"componentName\":\n return this.dataModel.getHardware()?.getName();\n default:\n return undefined;\n }\n };\n\n public getModel = (): AppModel => {\n return this.dataModel;\n };\n\n private componentName = (): string | undefined => {\n return this.getFirstClaClcArgument()?.customName;\n };\n\n private lcenClccon = (): boolean | undefined => {\n return this.getFirstClaClcArgument()?.enabled;\n };\n\n private lcmodeClccon = (): string | undefined => {\n return this.getFirstClaClcArgument()?.mode;\n };\n\n private lcpolClcpol = (): string | undefined => {\n const isInverted = this.getFirstClaClcArgument()?.isInverted;\n if (isInverted === true) {\n return \"inverted\";\n } else if (isInverted === false) {\n return \"not_inverted\";\n } else {\n return undefined;\n }\n };\n\n private getClcSelect = (): string | undefined => {\n const instance = this.dataModel.getPeripheralDescription()?.instance;\n if (instance != undefined && instance != \"\") {\n return CalculateRegisterValue.toHexString(parseInt(instance) - 1);\n }\n\n return undefined;\n };\n\n private clci = (): boolean | undefined => {\n return this.getFirstClaClcArgument()?.interruptEnabled;\n };\n\n private getMyAlerts = (): Processor.Alert[] => {\n const alerts: Processor.Alert[] = [];\n\n const getValue = (name: string): any => this.dataModel.getComponentValue(name);\n GATES.forEach((gate: number) => {\n DATA_INPUTS.forEach((input: number) => {\n const invertedSetting = getGateInvertedSetting(gate, input);\n const nonInvertedSetting = getGateNonInvertedSetting(gate, input);\n if (\n getValue(invertedSetting) === \"enabled\" &&\n getValue(nonInvertedSetting) === \"enabled\"\n ) {\n alerts.push({\n type: Processor.AlertTypes.Warning,\n text: `Can't have both ${invertedSetting} and ${nonInvertedSetting} settings enabled.`,\n });\n }\n });\n });\n\n const inputs: string[] = [];\n GATES.forEach((gate) => {\n const setting = getGateSourceSetting(gate);\n const value = this.dataModel.getComponentValue(setting);\n const input: string | undefined = OPTION_MODULES[value];\n\n if (input && inputs.indexOf(input) === -1) {\n inputs.push(input);\n }\n });\n\n inputs.forEach((input) => {\n const name = this.dataModel.getName();\n alerts.push({\n type: Processor.AlertTypes.Hint,\n text: `${name} uses ${input}. Ensure ${input} has been configured.`,\n });\n });\n\n if (\n !getValue(\"clci\") &&\n (getValue(\"lcintpClccon\") === \"enabled\" ||\n getValue(\"lcintnClccon\") === \"enabled\")\n ) {\n let msg = \"\";\n if (getValue(\"lcintpClccon\") === \"enabled\") {\n msg = \"Rising Edge Interrupt\";\n }\n if (getValue(\"lcintnClccon\") === \"enabled\") {\n msg =\n msg.length > 1\n ? \"Rising and Falling Edge Interrupts\"\n : \"Falling Edge Interrupt\";\n }\n alerts.push({\n type: Processor.AlertTypes.Warning,\n text: `CLC Interrupt is disabled, ${msg} API will not be generated.`,\n });\n }\n return alerts;\n };\n\n private getDataConfigInvertedProcessedArg = (\n gate: number,\n input: number,\n ): string | undefined => {\n return this.boolToReg(this.getDataConfigProcessedArg(gate, input)?.inverted);\n };\n\n private getDataConfigNonInvertedProcessedArg = (\n gate: number,\n input: number,\n ): string | undefined => {\n return this.boolToReg(this.getDataConfigProcessedArg(gate, input)?.nonInverted);\n };\n\n private getDataConfigProcessedArg = (\n gate: number,\n input: number,\n ): LogicSelection | undefined => {\n const gateConfig = this.getGateConfig(gate);\n const dataConfigs = gateConfig?.dataInputConfigs ?? [];\n const dataConfig = find(dataConfigs, (config) => config.dataInput === input);\n\n const config = dataConfig?.config;\n if (config) {\n return InputStateCalculator.getLogicSelection(config);\n }\n\n return undefined;\n };\n\n private getOutputConfigProcessedArg = (gate: number): string | undefined => {\n const isInverted = this.getGateConfig(gate)?.isInverted;\n if (isInverted === true) {\n return \"inverted\";\n } else if (isInverted === false) {\n return \"not_inverted\";\n } else {\n return undefined;\n }\n };\n\n private getGateConfig = (gate: number): claClcStacked.GateConfig | undefined => {\n const gateConfigs = this.getFirstClaClcArgument()?.gateConfigs ?? [];\n return find(gateConfigs, (config) => config.gate === gate);\n };\n\n private getFirstClaClcArgument = (): claClcStacked.Arguments | undefined => {\n const args = this.getClaClcArguments();\n return args?.[Object.keys(args)[0]];\n };\n\n private getClaClcArguments = ():\n | Processor.Dictionary<claClcStacked.Arguments>\n | undefined => {\n return this.dataModel\n .getExportInterfaces()\n .getInterface(\"clc\", claClcStacked.Interface.getInterfaceId())?.args;\n };\n\n private getExportArgs = (intf: Interface): Processor.Dictionary<any> | undefined => {\n return this.dataModel\n .getExportInterfaces()\n .getInterface(\"clc\", intf.getInterfaceId())?.args;\n };\n\n private getRequestedModule = (): string | undefined => {\n let args: Processor.Dictionary<any> | undefined;\n\n args = this.getExportArgs(claClcStacked.Interface);\n if (args) {\n return values<claClcStacked.Arguments>(args)[0]?.moduleName;\n }\n\n args = this.getExportArgs(trigger_source.Interface);\n if (args) {\n return values<trigger_source.Arguments>(args)?.[0]?.moduleName;\n }\n\n args = this.getExportArgs(signal_source.Interface);\n if (args) {\n return values<signal_source.Arguments>(args)?.[0]?.moduleName;\n }\n\n return undefined;\n };\n\n private friendlyImportName = (importKey: string): string | undefined => {\n if (importKey === \"scf_pic8_clc_v1\") {\n return \"CLC Hardware\";\n }\n\n return undefined;\n };\n\n private filterImports = (imports: Processor.Imports): Processor.Imports => {\n const filteredImports: Processor.Imports = this.dataModel.filterImportBySetting(\n imports,\n \"scf_pic8_clc_v1\",\n (option: Processor.Option<Module>): boolean => {\n const moduleName = this.getRequestedModule();\n return moduleName != undefined\n ? option?.payload?.name === moduleName\n : true;\n },\n );\n return filteredImports;\n };\n\n private cla_clc_payload = (): claClcStacked.ProcessedPayload => {\n this.dataModel.isComponentValue;\n return {\n interfaceApi: claClcStacked.Interface.createFirmwareApi(\n this.getCustomName(),\n getHeaderFiles(this.dataModel),\n ),\n customName: this.getCustomName(),\n enabled: this.dataModel.isComponentValue(\"lcenClccon\"),\n mode: this.dataModel.getComponentValue(\n \"lcmodeClccon\",\n ) as claClcStacked.CLCMode,\n gateConfigs: this.getGateConfigsPayload(),\n isInverted: this.dataModel.getComponentValue(\"lcpolClcpol\") === \"inverted\",\n hasInterrupts: true,\n moduleName: this.dataModel.getName(),\n interruptEnabled: this.dataModel.isComponentValue(\"clci\"),\n };\n };\n\n private trigger_source_payload = (): trigger_source.ProcessedPayload => {\n return {\n moduleName: this.dataModel.getName(),\n customName: this.getCustomName(),\n };\n };\n\n private signal_source_payload = (): signal_source.ProcessedPayload => {\n return {\n moduleName: this.dataModel.getName(),\n customName: this.getCustomName(),\n };\n };\n\n private getCustomName = (): string => {\n return this.dataModel.getComponentValue(\"componentName\") ?? \"CLC\";\n };\n\n private getGateConfigsPayload = (): claClcStacked.GateConfig[] => {\n const getValue = (name: string): any => this.dataModel.getComponentValue(name);\n\n return GATES.map((gate: number) => ({\n gate: gate,\n isInverted: getValue(getGatePolaritySetting(gate)) === \"inverted\",\n inputSource: getValue(getGateSourceSetting(gate)),\n dataInputConfigs: DATA_INPUTS.map((input: number) => ({\n dataInput: input,\n config: InputStateCalculator.getInputState(\n this.dataModel.isComponentValue(\n getGateNonInvertedSetting(gate, input),\n ),\n this.dataModel.isComponentValue(getGateInvertedSetting(gate, input)),\n ),\n })),\n }));\n };\n\n private initializer_system_results = (): initializer_system.Results => {\n return {\n initializer: {\n name: this.getCustomName() + \"_Initialize\",\n header: getHeaderFiles(this.dataModel)[0],\n },\n };\n };\n\n private isrCallback = (intName: string): any => {\n return {\n name: this.getCustomName() + \"_ISR\",\n header: getHeaderFiles(this.dataModel)[0],\n };\n };\n\n private boolToReg = (bool: boolean | undefined): string | undefined => {\n if (bool === true) return \"enabled\";\n else if (bool === false) return \"disabled\";\n else return undefined;\n };\n}\n","import * as claClcStacked from \"./interfaces/cla-clc-stacked\";\n//import { HeaderFile } from \"@microchip/scf-interface\";\nimport * as interrupt_standard from \"@microchip/interrupt-standard\";\nimport { AppModel } from \"../generated_module/src/types/AutoModuleTypes\";\nimport { values } from \"../generated_module/src/Utils\";\nimport { HeaderFile } from \"@microchip/scf-interface\";\n\nexport const getGeneratorModel = (model: any): any => {\n if (!model.getHardware()) return {};\n const interrupts = model.getInterrupts();\n const registerValues = model.getRegisterValues();\n if (!registerValues || !interrupts) return {};\n\n const initRegisters = values(registerValues).filter(\n (reg) => reg.alias !== registerValues.CLCCON.alias,\n );\n initRegisters.push(registerValues.CLCCON); // should be the last register to be initialized\n\n const clcInterface = claClcStacked.Interface.createFirmwareApi(\n model.getComponentValue(\"componentName\"),\n getHeaderFiles(model),\n );\n\n const intPayload:\n | interrupt_standard.ProcessedPayload\n | undefined = model.getImportValue(\"interrupt_standard\");\n\n return {\n compiler: \"XC8 v2.20\",\n tool: \"MPLABX v5.40\",\n\n componentName: model.getComponentValue(\"componentName\"),\n moduleNameLowerCase: model.getName().toLowerCase(),\n moduleNameUpperCase: model.getName().toUpperCase(),\n header: clcInterface.headerFiles?.[0],\n api: clcInterface.api,\n simpleApi: clcInterface.simpleApi,\n\n interruptEnabled: model.isComponentValue(\"clci\"),\n isVectoredInterruptEnabled: intPayload?.vectoredInterruptEnable ?? false,\n isHighPriority: intPayload?.isHighPriority?.[\"CLCI\"] ?? true,\n IVTBaseAddress: String(intPayload?.ivtBaseAddress ?? 8),\n interruptFlagName: interrupts[\"CLCI\"].flag,\n interruptEnableBitName: interrupts[\"CLCI\"].enable,\n IRQname: interrupts[\"CLCI\"].handlerName?.replace(\"_\", \"\") ?? \"\",\n\n initRegisters,\n CLCDATA: registerValues.CLCDATA,\n CLCCON: registerValues.CLCCON,\n };\n};\n\nexport const getHeaderFiles = (model: AppModel): HeaderFile[] => {\n return [\n {\n name: model.getName().toLowerCase() + \".h\",\n path: \"clc/\",\n },\n ];\n};\n","import { GateInputState } from \"./gates/GateInputState\";\n\nexport type LogicSelection = {\n nonInverted: boolean;\n inverted: boolean;\n};\n\nexport class InputStateCalculator {\n static getInputState = (nonInverted: boolean, inverted: boolean): GateInputState => {\n if (!nonInverted && !inverted) {\n return \"Grounded\";\n } else if (!nonInverted && inverted) {\n return \"Inverted\";\n } else if (nonInverted && !inverted) {\n return \"Normal\";\n } else {\n return \"Illegal\";\n }\n };\n\n static getLogicSelection = (gateInputState: GateInputState): LogicSelection => {\n switch (gateInputState) {\n case \"Grounded\":\n return { nonInverted: false, inverted: false };\n case \"Inverted\":\n return { nonInverted: false, inverted: true };\n case \"Normal\":\n return { nonInverted: true, inverted: false };\n case \"Illegal\":\n return { nonInverted: true, inverted: true };\n default:\n throw new Error(\"Invalid input state\");\n }\n };\n\n static getNextState = (gateInputState: GateInputState): GateInputState => {\n switch (gateInputState) {\n case \"Grounded\":\n return \"Normal\";\n case \"Inverted\":\n return \"Grounded\";\n case \"Normal\":\n return \"Inverted\";\n case \"Illegal\":\n return \"Normal\";\n default:\n throw new Error(\"Invalid input state\");\n }\n };\n}\n","//import { pin_row } from \"@microchip/pin-standard\";\nimport { pin_row } from \"@microchip/pin-standard\";\nimport { AppModel } from \"../generated_module/src/types/AutoModuleTypes\";\n\n// provide complete dynamic data for all pin rows. It overrides static pindata.json\nexport const getCompletePinData = (appModel: AppModel): any => {\n // way to programatically override the json data\n return {};\n};\n\n// overrides pin data for a particular row based on model.\nexport function getRowData(appModel: any, rowData: pin_row): pin_row | undefined {\n let retRowJSONdata: pin_row | undefined = rowData;\n const mod = appModel.getHardware()?.getName() ?? \"CLC\";\n const inputSelections = [\n appModel.getComponentValue(\"lcd1sClcsel0\"),\n appModel.getComponentValue(\"lcd2sClcsel1\"),\n appModel.getComponentValue(\"lcd3sClcsel2\"),\n appModel.getComponentValue(\"lcd4sClcsel3\"),\n ];\n\n if (rowData.name === \"clcout\") {\n retRowJSONdata = {\n ...retRowJSONdata,\n function: mod,\n module: mod,\n filter: {\n ...retRowJSONdata.filter,\n module: mod,\n aliasReEx: mod,\n },\n };\n } else if (rowData.name === \"clcin0\") {\n if (inputSelections.indexOf(\"CLCIN0 (CLCIN0PPS)\") !== -1) {\n retRowJSONdata = {\n ...retRowJSONdata,\n module: mod,\n filter: { ...retRowJSONdata.filter, module: mod },\n attribs: [\n {\n aliasReEx: \".*\",\n analog: false,\n },\n ],\n };\n } else {\n retRowJSONdata = undefined; // hide row\n }\n } else if (rowData.name === \"clcin1\") {\n if (inputSelections.indexOf(\"CLCIN1 (CLCIN1PPS)\") !== -1) {\n retRowJSONdata = {\n ...retRowJSONdata,\n module: mod,\n filter: { ...retRowJSONdata.filter, module: mod },\n attribs: [\n {\n aliasReEx: \".*\",\n analog: false,\n },\n ],\n };\n } else {\n retRowJSONdata = undefined; // hide row\n }\n } else if (rowData.name === \"clcin2\") {\n if (inputSelections.indexOf(\"CLCIN2 (CLCIN2PPS)\") !== -1) {\n retRowJSONdata = {\n ...retRowJSONdata,\n module: mod,\n filter: { ...retRowJSONdata.filter, module: mod },\n attribs: [\n {\n aliasReEx: \".*\",\n analog: false,\n },\n ],\n };\n } else {\n retRowJSONdata = undefined; // hide row\n }\n } else if (rowData.name === \"clcin3\") {\n if (inputSelections.indexOf(\"CLCIN3 (CLCIN3PPS)\") !== -1) {\n retRowJSONdata = {\n ...retRowJSONdata,\n module: mod,\n filter: { ...retRowJSONdata.filter, module: mod },\n attribs: [\n {\n aliasReEx: \".*\",\n analog: false,\n },\n ],\n };\n } else {\n retRowJSONdata = undefined; // hide row\n }\n } else if (rowData.name === \"clcin4\") {\n if (inputSelections.indexOf(\"CLCIN4 (CLCIN4PPS)\") !== -1) {\n retRowJSONdata = {\n ...retRowJSONdata,\n module: mod,\n filter: { ...retRowJSONdata.filter, module: mod },\n attribs: [\n {\n aliasReEx: \".*\",\n analog: false,\n },\n ],\n };\n } else {\n retRowJSONdata = undefined; // hide row\n }\n } else if (rowData.name === \"clcin5\") {\n if (inputSelections.indexOf(\"CLCIN5 (CLCIN5PPS)\") !== -1) {\n retRowJSONdata = {\n ...retRowJSONdata,\n module: mod,\n filter: { ...retRowJSONdata.filter, module: mod },\n attribs: [\n {\n aliasReEx: \".*\",\n analog: false,\n },\n ],\n };\n } else {\n retRowJSONdata = undefined; // hide row\n }\n } else if (rowData.name === \"clcin6\") {\n if (inputSelections.indexOf(\"CLCIN6 (CLCIN6PPS)\") !== -1) {\n retRowJSONdata = {\n ...retRowJSONdata,\n module: mod,\n filter: { ...retRowJSONdata.filter, module: mod },\n attribs: [\n {\n aliasReEx: \".*\",\n analog: false,\n },\n ],\n };\n } else {\n retRowJSONdata = undefined; // hide row\n }\n } else if (rowData.name === \"clcin7\") {\n if (inputSelections.indexOf(\"CLCIN7 (CLCIN7PPS)\") !== -1) {\n retRowJSONdata = {\n ...retRowJSONdata,\n module: mod,\n filter: { ...retRowJSONdata.filter, module: mod },\n attribs: [\n {\n aliasReEx: \".*\",\n analog: false,\n },\n ],\n };\n } else {\n retRowJSONdata = undefined; // hide row\n }\n }\n\n return retRowJSONdata;\n}\n","import { assertNotNull } from \"../generated_module/src/Utils\";\n\ntype InputType = number | string;\n\nexport const getGatePolaritySetting = (gate: InputType): string => {\n assertNotNull(gate, \"Gate cannot be null\");\n return `lcg${gate}polClcpol`;\n};\n\nexport const getGateSourceSetting = (gate: InputType): string => {\n assertNotNull(gate, \"Gate cannot be null\");\n const gateNum = typeof gate === \"string\" ? Number(gate) : gate;\n return `lcd${gate}sClcsel${gateNum - 1}`;\n};\n\nexport const getGateInvertedSetting = (gate: InputType, input: InputType): string => {\n assertNotNull(gate, \"Gate cannot be null\");\n assertNotNull(input, \"Gate input cannot be null\");\n const gateNum = typeof gate === \"string\" ? Number(gate) : gate;\n return `lcg${gate}d${input}nClcgls${gateNum - 1}`;\n};\n\nexport const getGateNonInvertedSetting = (gate: InputType, input: InputType): string => {\n assertNotNull(gate, \"Gate cannot be null\");\n assertNotNull(input, \"Gate input cannot be null\");\n const gateNum = typeof gate === \"string\" ? Number(gate) : gate;\n return `lcg${gate}d${input}tClcgls${gateNum - 1}`;\n};\n","import { InterfaceId } from \"@microchip/scf-common/lib/InterfaceId\";\nimport * as Creator from \"@microchip/scf-common/lib/Creator\";\nimport * as Processor from \"@microchip/scf-common/lib/Processor\";\nimport * as InterfaceTypes from \"@microchip/scf-interface\";\n\nexport type CLCMode =\n | \"AND-OR\"\n | \"OR-XOR\"\n | \"4-input AND\"\n | \"SR latch\"\n | \"1-input D flip-flop with S and R\"\n | \"2-input D flip-flop with R\"\n | \"JK flip-flop with R\"\n | \"1-input transparent latch with S and R\";\n\nexport type DataInputConfig = {\n dataInput: number;\n config: \"Grounded\" | \"Normal\" | \"Inverted\" | \"Illegal\";\n};\n\nexport type GateConfig = {\n gate: number;\n isInverted: boolean;\n inputSource: string;\n dataInputConfigs: DataInputConfig[];\n};\n\n/** The arguments to be provided to the implementation. */\nexport type Arguments = {\n //Standard Interface\n customName?: string;\n enabled?: boolean;\n mode?: CLCMode;\n gateConfigs?: GateConfig[]; // gate must be unique\n isInverted?: boolean; // final output\n\n //Interrupt Extension\n interruptEnabled?: boolean;\n\n //Import filtering extension\n moduleName?: string;\n};\n\n/** The payload to be passed back to the dependent module after the BasicUART has been processed. */\nexport type ProcessedPayload = {\n //Standard Interface\n interfaceApi: InterfaceTypes.FirmwareAPIPayload<API>;\n customName: string;\n enabled: boolean;\n mode: CLCMode;\n gateConfigs: GateConfig[];\n isInverted: boolean;\n\n //Interrupt Extension\n hasInterrupts: boolean;\n interruptEnabled?: boolean;\n\n //Import filtering extension\n moduleName: string;\n};\n\nexport interface API extends InterfaceTypes.CFunctions {\n Initialize: InterfaceTypes.CFunction;\n OutputStatusGet: InterfaceTypes.CFunction;\n ISR: InterfaceTypes.CFunction;\n}\n\nconst getInterfaceId = (): InterfaceId => {\n return {\n name: \"cla-clc-stacked\",\n version: \"0.1.0\",\n };\n};\n\nconst createMock = (): ProcessedExportInterface => {\n return {\n interfaceId: getInterfaceId(),\n payload: {\n customName: \"MyModule\",\n enabled: true,\n mode: \"AND-OR\",\n gateConfigs: [\n {\n gate: 1,\n isInverted: false,\n inputSource: \"FOSC\",\n dataInputConfigs: [\n {\n dataInput: 1,\n config: \"Normal\",\n },\n ],\n },\n ],\n isInverted: false,\n moduleName: \"CLC1\",\n interfaceApi: Interface.createFirmwareApi(\"MyModule\", [\n { name: \"mymodule.h\", path: \"include/\" },\n ]),\n hasInterrupts: true,\n },\n args: {\n requestId: {\n customName: \"MyModule\",\n },\n },\n };\n};\n\nexport const createApi = (prefix: string): API => {\n return {\n Initialize: {\n name: prefix + \"_Initialize\",\n returns: \"void\",\n },\n OutputStatusGet: {\n name: prefix + \"_OutputStatusGet\",\n returns: \"bool\",\n },\n ISR: {\n name: prefix + \"_ISR\",\n returns: \"void\",\n },\n };\n};\n\n/** The type of the processed export interface */\nexport type ProcessedExportInterface = Processor.ProcessedInterface<\n ProcessedPayload,\n Arguments\n>;\n\n/** Used by implementations of this interface in their module's creator. */\ntype CreatorExportInterface = Creator.Interface<ProcessedPayload>;\n\nconst createPrototypeImport = (): Creator.Import => {\n return {\n interfaceId: getInterfaceId(),\n };\n};\n\nconst createPrototypeExport = (): Creator.Export<CreatorExportInterface[]> => {\n return {\n interfaces: [{ interfaceId: getInterfaceId() }],\n };\n};\n\nconst createFirmwareApi = (\n moduleName?: string,\n headerFiles?: InterfaceTypes.HeaderFile[],\n createCustomApi?: () => API,\n): InterfaceTypes.FirmwareAPIPayload<API> => {\n const prefix: string = moduleName ? moduleName : \"undefined\";\n const api = createCustomApi ? createCustomApi() : createApi(prefix);\n\n return {\n api: api,\n simpleApi: InterfaceTypes.buildSimpleApi(api),\n headerFiles: headerFiles\n ? headerFiles\n : [{ name: prefix.toLowerCase() + \".h\", path: \"include/\" }],\n };\n};\n\ninterface Interface extends InterfaceTypes.Interface<Arguments, ProcessedPayload> {\n createPrototypeImport: () => Creator.Import<Arguments>;\n createMock: () => ProcessedExportInterface;\n createFirmwareApi: (\n moduleName?: string,\n headerFiles?: InterfaceTypes.HeaderFile[],\n createCustomApi?: () => API,\n ) => InterfaceTypes.FirmwareAPIPayload<API>;\n}\n\nexport const Interface: Interface = {\n createPrototypeExport: createPrototypeExport,\n createPrototypeImport: createPrototypeImport,\n getInterfaceId: getInterfaceId,\n createMock: createMock,\n createFirmwareApi: createFirmwareApi,\n};\n","import { InterfaceId } from \"@microchip/scf-common/lib/InterfaceId\";\nimport * as Creator from \"@microchip/scf-common/lib/Creator\";\nimport * as Processor from \"@microchip/scf-common/lib/Processor\";\nimport * as InterfaceTypes from \"@microchip/scf-interface\";\n\n/** The arguments to be provided to the implementation. */\nexport interface Arguments extends InterfaceTypes.Arguments {\n //Standard Interface\n customName?: string;\n\n //Import filtering extension\n moduleName?: string;\n}\n\n/** The payload to be passed back to the dependent module after the signal-source has been processed. */\nexport interface ProcessedPayload extends InterfaceTypes.ProcessedPayload {\n //Standard Interface\n customName: string;\n\n //Import filtering extension\n moduleName?: string;\n}\n\nconst getInterfaceId = (): InterfaceId => {\n return {\n name: \"signal-source\",\n version: \"0.1.0\",\n };\n};\n\nconst createMock = (): ProcessedExportInterface => {\n return {\n interfaceId: getInterfaceId(),\n payload: {\n customName: \"MySPI\",\n moduleName: \"SPI1\",\n },\n args: {\n requestId: {\n customName: \"MySPI\",\n moduleName: \"SPI1\",\n },\n },\n };\n};\n\n/** The type of the processed export interface */\nexport type ProcessedExportInterface = Processor.ProcessedInterface<\n ProcessedPayload,\n Arguments\n>;\n\n/** Used by implementations of this interface in their module's creator. */\ntype CreatorExportInterface = Creator.Interface<ProcessedPayload>;\n\nconst createPrototypeImport = (): Creator.Import => {\n return {\n interfaceId: getInterfaceId(),\n };\n};\n\nconst createPrototypeExport = (): Creator.Export<CreatorExportInterface[]> => {\n return {\n interfaces: [{ interfaceId: getInterfaceId() }],\n };\n};\n\ninterface Interface extends InterfaceTypes.Interface {\n createPrototypeImport: () => Creator.Import<Arguments>;\n createMock: () => ProcessedExportInterface;\n}\n\nexport const Interface: Interface = {\n createPrototypeExport: createPrototypeExport,\n createPrototypeImport: createPrototypeImport,\n getInterfaceId: getInterfaceId,\n createMock: createMock,\n};\n","import { InterfaceId } from \"@microchip/scf-common/lib/InterfaceId\";\nimport * as Creator from \"@microchip/scf-common/lib/Creator\";\nimport * as Processor from \"@microchip/scf-common/lib/Processor\";\nimport * as InterfaceTypes from \"@microchip/scf-interface\";\n\n/** The arguments to be provided to the implementation. */\nexport interface Arguments extends InterfaceTypes.Arguments {\n //Standard Interface\n customName?: string;\n\n //Import filtering extension\n moduleName?: string;\n}\n\n/** The payload to be passed back to the dependent module after the clock_source has been processed. */\nexport interface ProcessedPayload extends InterfaceTypes.ProcessedPayload {\n //Standard Interface\n customName: string;\n\n //Import filtering extension\n moduleName?: string;\n}\n\n/** The type of the processed export interface */\nexport type ProcessedExportInterface = Processor.ProcessedInterface<\n ProcessedPayload,\n Arguments\n>;\n\n/** Used by implementations of this interface in their module's creator. */\ntype CreatorExportInterface = Creator.Interface<ProcessedPayload>;\n\nconst getInterfaceId = (): InterfaceId => {\n return {\n name: \"trigger-source\",\n version: \"0.1.0\",\n };\n};\n\nconst createPrototypeImport = (): Creator.Import => {\n return {\n interfaceId: getInterfaceId(),\n };\n};\n\nconst createPrototypeExport = (): Creator.Export<CreatorExportInterface[]> => {\n return {\n interfaces: [{ interfaceId: getInterfaceId() }],\n };\n};\n\nconst createMock = (): ProcessedExportInterface => {\n return {\n interfaceId: getInterfaceId(),\n payload: {\n customName: \"MyModule\",\n moduleName: \"MyModule\",\n },\n args: {\n requestId: {\n customName: \"MyModule\",\n moduleName: \"MyModule\",\n },\n },\n };\n};\n\ninterface Interface extends InterfaceTypes.Interface {\n createPrototypeImport: () => Creator.Import<Arguments>;\n createMock: () => ProcessedExportInterface;\n}\n\nexport const Interface: Interface = {\n createPrototypeExport: createPrototypeExport,\n createPrototypeImport: createPrototypeImport,\n getInterfaceId: getInterfaceId,\n createMock: createMock,\n};\n"],"sourceRoot":""}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|