fmihel-windeco-components 2.0.0-beta.61 → 2.0.0-beta.62

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.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see windeco-components.js.LICENSE.txt */
2
- (()=>{var e={179:(e,t,r)=>{!function(e,t){e((function(){"use strict";var e,r={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",Pixel:"; \\bPixel\\b",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332",Asus:"Asus.*Galaxy|PadFone.*Mobile",Xiaomi:"^(?!.*\\bx11\\b).*xiaomi.*$|POCOPHONE F1|MI 8|Redmi Note 9S|Redmi Note 5A Prime|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30|A3-A40",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android [0-9.]+; [a-z-]+; \\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",SailfishOS:"Sailfish",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"\\bEdgiOS\\b|Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version((?!\\bEdgiOS\\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",SailfishBrowser:"SailfishBrowser/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",Sailfish:"Sailfish [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},o=Object.prototype.hasOwnProperty;function n(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function i(e,t){var r,o,n=e.length;if(!n||!t)return!1;for(r=t.toLowerCase(),o=0;o<n;++o)if(r===e[o].toLowerCase())return!0;return!1}function a(e){for(var t in e)o.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function l(e,t){this.ua=function(e){return(e||"").substr(0,500)}(e),this._cache={},this.maxPhoneWidth=t||600}return r.FALLBACK_PHONE="UnknownPhone",r.FALLBACK_TABLET="UnknownTablet",r.FALLBACK_MOBILE="UnknownMobile",e="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var t,n,i,l,c,s,u=r.mobileDetectRules;for(t in u.props)if(o.call(u.props,t)){for(n=u.props[t],e(n)||(n=[n]),c=n.length,l=0;l<c;++l)(s=(i=n[l]).indexOf("[VER]"))>=0&&(i=i.substring(0,s)+"([\\w._\\+]+)"+i.substring(s+5)),n[l]=new RegExp(i,"i");u.props[t]=n}a(u.oss),a(u.phones),a(u.tablets),a(u.uas),a(u.utils),u.oss0={WindowsPhoneOS:u.oss.WindowsPhoneOS,WindowsMobileOS:u.oss.WindowsMobileOS}}(),r.findMatch=function(e,t){for(var r in e)if(o.call(e,r)&&e[r].test(t))return r;return null},r.findMatches=function(e,t){var r=[];for(var n in e)o.call(e,n)&&e[n].test(t)&&r.push(n);return r},r.getVersionStr=function(e,t){var n,i,a,l,c=r.mobileDetectRules.props;if(o.call(c,e))for(a=(n=c[e]).length,i=0;i<a;++i)if(null!==(l=n[i].exec(t)))return l[1];return null},r.getVersion=function(e,t){var o=r.getVersionStr(e,t);return o?r.prepareVersionNo(o):NaN},r.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},r.isMobileFallback=function(e){return r.detectMobileBrowsers.fullPattern.test(e)||r.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},r.isTabletFallback=function(e){return r.detectMobileBrowsers.tabletPattern.test(e)},r.prepareDetectionCache=function(e,o,n){if(e.mobile===t){var i,a,c;if(a=r.findMatch(r.mobileDetectRules.tablets,o))return e.mobile=e.tablet=a,void(e.phone=null);if(i=r.findMatch(r.mobileDetectRules.phones,o))return e.mobile=e.phone=i,void(e.tablet=null);r.isMobileFallback(o)?(c=l.isPhoneSized(n))===t?(e.mobile=r.FALLBACK_MOBILE,e.tablet=e.phone=null):c?(e.mobile=e.phone=r.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=r.FALLBACK_TABLET,e.phone=null):r.isTabletFallback(o)?(e.mobile=e.tablet=r.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},r.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},r.detectOS=function(e){return r.findMatch(r.mobileDetectRules.oss0,e)||r.findMatch(r.mobileDetectRules.oss,e)},r.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},l.prototype={constructor:l,mobile:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===t&&(this._cache.userAgent=r.findMatch(r.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===t&&(this._cache.userAgents=r.findMatches(r.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===t&&(this._cache.os=r.detectOS(this.ua)),this._cache.os},version:function(e){return r.getVersion(e,this.ua)},versionStr:function(e){return r.getVersionStr(e,this.ua)},is:function(e){return i(this.userAgents(),e)||n(e,this.os())||n(e,this.phone())||n(e,this.tablet())||i(r.findMatches(r.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return l.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===t&&(this._cache.grade=r.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?l.isPhoneSized=function(e){return e<0?t:r.getDeviceSmallerSide()<=e}:l.isPhoneSized=function(){},l._impl=r,l.version="1.4.5 2021-03-13",l}))}(e.exports?function(t){e.exports=t()}:r.amdD)}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}r.amdD=function(){throw new Error("define cannot be used indirect")},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{Btn:()=>Kr,BtnIcon:()=>Ur,CheckBox:()=>_r,ComboBox:()=>Yr,Container:()=>no,Edit:()=>Wr,Group:()=>eo,Icon:()=>qr,Label:()=>Qr,List:()=>oo,Modal:()=>Zr,ModalDialog:()=>Jr,OnResize:()=>ro,StaticText:()=>to,Table:()=>$r,Text:()=>zr,default:()=>xr});const e=require("react");var t=r.n(e);function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},i.apply(null,arguments)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function u(r){var o,n,a=r.id,c=r.value,b=r.type,T=void 0===b?"text":b,f=r.onChange,d=void 0===f?void 0:f,S=r.onKeyPress,p=void 0===S?void 0:S,y=r.onKeyUp,m=void 0===y?void 0:y,P=r.onKeyDown,v=void 0===P?void 0:P,h=r.className,M=void 0===h?u.global.className:h,A=r.style,g=void 0===A?u.global.style:A,O=r.placeholder,G=void 0===O?"":O,w=r.readonly,C=void 0===w?void 0:w,E=r.disabled,B=void 0===E?void 0:E,H=r.required,D=void 0===H?void 0:H,I=r.error,j=void 0===I?void 0:I,N=r.title,V=void 0===N?"":N,L=r.hint,k=void 0===L?"":L,R=r.visible,X=void 0===R||R,F=r.min,x=void 0===F?void 0:F,W=r.max,K=void 0===W?void 0:W,U=r.step,_=void 0===U?void 0:U,Q=r.minLength,z=void 0===Q?0:Q,Y=r.maxLength,Z=void 0===Y?0:Y,J=r.attr,q=void 0===J?{}:J,$=r.children,ee=(o=(0,e.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(o,n)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(o,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),te=ee[0],re=ee[1],oe=function(e,t){t&&t({id:a,value:e.target.value,key:e.key,args:e})},ne={};void 0!==x&&(ne.min=x),void 0!==K&&(ne.max=K),void 0!==_&&(ne.step=_),z>0&&(ne.minLength=z),Z>0&&(ne.maxLength=Z);var ie=c||$||"",ae=T;return"number"===T&&(ae=te?T:"text"),t().createElement(t().Fragment,null,t().createElement("input",i({type:ae},a?{id:a}:{},{className:"".concat("wd-edit").concat(M?" ".concat(M):""),value:ie,onChange:function(e){d?d({id:a,value:e.target.value}):console.warn("Edit.onChange not set, define it..")},onKeyUp:function(e){oe(e,m)},onKeyDown:function(e){oe(e,v),oe(e,p)},onFocus:function(){re(!0)},onBlur:function(){re(!1)},style:l(l(l({},u.global.style),g),X?{}:{display:"none"})},G?{placeholder:G}:{},B?{disabled:!0}:{},C?{readOnly:"readonly"}:{},D&&0==="".concat(ie).length?{required:!0}:{},ne,V||k?{title:V||k}:{},q,j?{error:""}:{})),"string"==typeof j&&t().createElement("div",{className:"error-edit-msg",dangerouslySetInnerHTML:{__html:j}}))}u.global={className:"",style:{}};const b=u;function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(null,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return(t=function(e){var t=function(e){if("object"!=T(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var r=e.id,o=void 0===r?void 0:r,n=e.value,i=e.onClick,a=void 0===i?void 0:i,l=e.className,c=void 0===l?y.global.className:l,s=e.style,u=void 0===s?S({},y.global.style):s,b=e.hint,T=void 0!==b&&b,d=e.title,p=void 0!==d&&d,m=e.disabled,P=void 0!==m&&m,v=e.attr,h=void 0===v?{}:v,M=e.children;return t().createElement("input",f({type:"button"},o?{id:o}:{},{className:"".concat("wd-btn").concat(c?" ".concat(c):""),value:n||M||"",onClick:a},p||T?{title:p||T}:{},{style:S(S({},y.global.style),u),disabled:P},h))}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},P.apply(null,arguments)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){M(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function M(e,t,r){return(t=function(e){var t=function(e){if("object"!=m(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==m(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(e){var r=e.id,o=e.value,n=e.onClick,i=void 0===n?void 0:n,a=e.className,l=void 0===a?A.global.className:a,c=e.iconClass,s=void 0===c?A.global.iconClass:c,u=e.IconComponent,b=void 0===u?A.global.IconComponent:u,T=e.icon,f=e.hint,d=void 0===f?"":f,S=e.title,p=void 0===S?"":S,y=e.style,m=void 0===y?{}:y,v=e.disabled,M=void 0!==v&&v,g=e.between,O=void 0===g||g,G=e.attr,w=void 0===G?{}:G,C=e.children,E=function(e){M||w.disabled||!i||i(e)},B=s||b&&T,H=o||C;return t().createElement("div",P({type:"btn-icon"},r?{id:r}:{},{className:"".concat("wd-btn-icon").concat(l?" ".concat(l):""),onClick:E,onKeyDown:function(e){"Enter"===e.key&&E(e)}},M||w.disabled?{}:{tabIndex:0},p||d?{title:p||d}:{},{style:h(h({},A.global.style),m),disabled:M},w),B&&t().createElement("div",P({icon:""},s?{className:s}:{}),b&&T&&t().createElement(b,{icon:T})),O&&B&&H&&t().createElement("div",{between:""}),H&&t().createElement("div",{value:""},o||C))}y.global={className:"",style:{}},A.global={IconComponent:void 0,style:{},className:"",iconClass:""};const g=A;function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},G.apply(null,arguments)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t,r){return(t=function(e){var t=function(e){if("object"!=O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(e){var r=e.id,o=e.checked,n=void 0!==o&&o,i=e.className,a=void 0===i?B.global.className:i,l=e.onChange,c=void 0===l?void 0:l,s=e.style,u=void 0===s?B.global.style:s,b=e.hint,T=void 0!==b&&b,f=e.title,d=void 0!==f&&f,S=e.disabled,p=void 0!==S&&S,y=e.attr,m=void 0===y?{}:y,P=e.visible,v=void 0===P||P;return t().createElement("input",G({type:"checkbox"},r?{id:r}:{},{className:"".concat("wd-checkbox").concat(a?" ".concat(a):""),onChange:function(e){var t=e.target;p||c&&c({id:r,checked:t.checked,value:t.checked})},checked:n,style:C(C(C({},B.global.style),u),v?{}:{display:"none"})},d||T?{title:d||T}:{},m))}B.global={className:"",style:{}};const H=B;function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},I.apply(null,arguments)}function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){V(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function V(e,t,r){return(t=function(e){var t=function(e){if("object"!=D(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==D(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function L(e){var r=e.id,o=e.caption,n=void 0===o?"label":o,i=e.className,a=void 0===i?L.global.className:i,l=e.style,c=void 0===l?L.global.style:l,s=e.attr,u=void 0===s?{}:s,b=e.children;return t().createElement("div",I({label:"",style:N(N({},L.global.style),c),className:"".concat("wd-label").concat(a?" ".concat(a):"")},r?{id:"label-".concat(r)}:{}),t().createElement("label",I({htmlFor:r},u),n),t().createElement("div",{labeled:""},b))}L.global={className:"",style:{}};const k=L;function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},X.apply(null,arguments)}function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach((function(t){W(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function W(e,t,r){return(t=function(e){var t=function(e){if("object"!=R(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==R(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K(e){var r=e.id,o=e.value,n=void 0===o?void 0:o,i=e.className,a=void 0===i?K.global.className:i,l=e.attr,c=void 0===l?{}:l,s=e.style,u=void 0===s?K.global.style:s,b=e.placeholder,T=void 0===b?K.global.placeholder:b,f=e.disabled,d=void 0!==f&&f,S=e.readonly,p=void 0!==S&&S,y=e.required,m=void 0!==y&&y,P=e.title,v=void 0===P?"":P,h=e.resize,M=void 0!==h&&h,A=e.maxLength,g=void 0===A?0:A,O=e.rows,G=void 0===O?0:O,w=e.cols,C=void 0===w?0:w,E=e.onChange,B=void 0===E?void 0:E,H=function(e,t){if(G>0&&e.length>0&&C>0){for(var r=t.selectionStart,o=e.substring(0,G*(C+1)).split("\n"),n="",i=0,a=0;i<o.length;)o[i]=n+o[i],o[i].length>C?(n=o[i].substring(C),o[i]=o[i].substring(0,C)):n="",(a+=o[i].length+1)==r&&r++,i++;return n.length&&o.push(n),o.length-1>=G&&o.splice(G),o.join("\n")}return e};return t().createElement("textarea",X({},r?{id:r}:{},{className:"".concat("wd-text").concat(a?" ".concat(a):""),style:x(x(x({},K.global.style),M?{}:{resize:"none"}),u),value:n},d?{disabled:!0}:{},p?{readOnly:!0}:{},m&&0==="".concat(n).trim().length?{required:!0}:{},v?{title:v}:{},g>0?{maxLength:g}:{},T?{placeholder:T}:{},c,{onChange:function(e){var t=e.currentTarget;B?B({id:r,value:H(t.value,t)}):console.warn("Text.onChange not set, define it.")}}))}K.global={className:"wd-scrollbar",style:{},placeholder:""};const U=K;function _(e){const t=e.getBoundingClientRect();return{x:t.left+window.scrollX,y:t.top+window.scrollY,w:t.width,h:t.height}}const Q=require("react-dom");var z,Y=r.n(Q);function Z(){const e=[],t=[];return window.innerWidth&&e.push(window.innerWidth),document.documentElement.clientWidth&&e.push(document.documentElement.clientWidth),document.body.clientWidth&&e.push(document.body.clientWidth),window.innerHeight&&t.push(window.innerHeight),document.documentElement.clientHeight&&t.push(document.documentElement.clientHeight),document.body.clientHeight&&t.push(document.body.clientHeight),{width:Math.min(...e),height:Math.min(...t)}}function J(e){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J(e)}function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},q.apply(null,arguments)}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){te(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function te(e,t,r){return(t=function(e){var t=function(e){if("object"!=J(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=J(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oe(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function ne(){return z||(z=document.getElementById(ie.global.idRoot)||document.getElementsByTagName("body")[0]),z}function ie(r){var o=r.id,n=r.visible,i=void 0===n||n,a=r.className,l=void 0===a?ie.global.className:a,c=r.enableShadow,s=void 0===c||c,u=r.classShadow,b=void 0===u?ie.global.classShadow:u,T=r.onClickShadow,f=void 0===T?void 0:T,d=r.attr,S=void 0===d?{}:d,p=r.children,y=re((0,e.useState)(Z()),2),m=y[0],P=y[1],v=re((0,e.useState)(document.createElement("div")),1)[0];(0,e.useEffect)((function(){return ne().appendChild(v),function(){ne().removeChild(v)}}),[]),(0,e.useEffect)((function(){var e=function(){i&&P(Z())};return window.addEventListener("resize",e),e(),i&&v.parentElement.insertBefore(v,null),function(){window.removeEventListener("resize",e)}}),[i]);var h=function(e){return e.preventDefault(),!1};return Y().createPortal(t().createElement("div",q({id:o,className:"".concat(l)},i?{state:"show"}:{state:"hide"},{style:{position:"absolute",left:0,top:0}},S,{onContextMenu:h}),s&&t().createElement("div",{className:"".concat(b),style:ee({position:"absolute",left:-1,top:-1},m),onMouseUp:f,onContextMenu:h}),p),v)}ie.global={idRoot:"wd-modal",className:"wd-modal",classShadow:"wd-shadow"};const ae=ie;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},le.apply(null,arguments)}const ce=function(e){var r=e.title,o=void 0!==r&&r,n=e.className,i=void 0===n?"":n,a=e.onClick,l=void 0===a?void 0:a,c=e.data,s=void 0===c?{}:c,u=e.disabled,b=void 0!==u&&u,T=e.onGetItemClass,f=void 0===T?void 0:T,d=e.style,S=void 0===d?{}:d,p=e.attr,y=void 0===p?{}:p,m=e.active,P=void 0!==m&&m,v=e.children;return t().createElement("div",le({"combo-item":"",className:"".concat(i," ").concat(f?f(s):""),onClick:function(){b||P||!l||l(s)},title:o||"",style:S},y,b?{disabled:!0}:{},P?{active:""}:{}),v)};var se=r(179),ue=r.n(se);let be,Te=!1;const fe=()=>(void 0===be&&(be=new(ue())(window.navigator.userAgent),Te=!!be.mobile()&&!be.tablet()),Te),de={wd_large_width:900,wd_middle_width:700,wd_small_width:500,wd_gap:5};function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){ye(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ye(e,t,r){return(t=ve(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},me(e)}function Pe(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ve(o.key),o)}}function ve(e){var t=function(e){if("object"!=me(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=me(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==me(t)?t:t+""}var he=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,r=[{key:"margin",value:function(e){var t="object"===me(e);return{left:t?e.left||0:e,right:t?e.right||0:e,top:t?e.top||0:e,bottom:t?e.bottom||0:e}}},{key:"updatePos",value:function(t){var r=t.first,o=void 0!==r&&r,n=t.pos,i=void 0===n?{left:0,top:0,width:0,height:0}:n,a=t.left,l=t.top,c=t.width,s=t.height,u=t.align,b=void 0===u?"stretch":u,T=t.draggable,f=void 0===T||T,d=t.resizable,S=void 0===d||d,p=t.stickTo,y=void 0===p?void 0:p,m=t.stickOffX,P=void 0===m?0:m,v=t.stickOffY,h=void 0===v?0:v,M=t.stickAlign,A=void 0===M?"bottom":M,g=t.margin,O=void 0===g?{left:0,right:0,top:0,bottom:0}:g,G=Z();if("stretch"===b){var w=e.margin(O);return{left:w.left,top:w.top,width:G.width-(w.left+w.right),height:G.height-(w.top+w.bottom)}}if("custom"===b){var C={left:a,top:l,width:c,height:s};return o||(f||S)&&(C=pe(pe({},C),i)),C}if("stickTo"===b){var E=function(e,t=!1){return"string"==typeof e?"#"===e[0]?document.getElementById(e.substring(1)):"."===e[0]?(t||document).getElementsByClassName(e.substring(1))[0]:(t||document).getElementsByTagName(e)[0]:e}("string"==typeof y?"#".concat(y).replace("##","#"):y),B={width:c,height:s};if("bottom"===A){var H=_(E);B.left=H.x+H.w/2-c/2+P,B.top=H.y+H.h+h,B.left+B.width>G.width&&(B.left=G.width-B.width),B.left<0&&(B.left=0),B.top+B.height>G.height&&(B.top=H.y-B.height-h),B.top<0&&(B.top=0)}else if("left"===A){var D=_(E);B.left=D.x+D.w+P,B.top=D.y+h,B.left+B.width>G.width&&(B.left=D.x-B.width-P),B.left<0&&(B.left=0),B.top+B.height>G.height&&(B.top=D.y-B.height),B.top<0&&(B.top=0)}else if("popup"===A){var I=_(E);B.left=I.x+I.w+P,B.top=I.y+h,B.left+B.width>G.width&&(B.left=I.x-B.width-P),B.left<0&&(B.left=0),B.top+B.height>G.height&&(B.top=I.y-B.height),B.top<32&&(B.top=I.y+I.h+h,B.left=I.x+P,B.left+B.width>G.width&&(B.left=G.width-B.width))}else"screen-right-all"===A&&(B.left=G.width-c,B.width=c,B.top=h,B.height=G.height-h);return B}return"center"===b?{left:(G.width-c)/2,top:(G.height-s)/2,width:c,height:s}:{left:10,top:10,width:200,height:200}}},{key:"mobileToObject",value:function(e){if(Z(),"large"===e)return{pos:"center",size:100,width:100};if("middle"===e)return{pos:"center",size:60,width:100};if("small"===e)return{pos:"center",size:40,width:80};if(!1===e)return{pos:!1,size:!1,width:!1};var t=Object.keys(e).find((function(e){return-1!==["center","top","bottom"].indexOf(e)}));return{pos:t,size:e[t],width:e.width||100}}},{key:"updatePosMobile",value:function(e,t,r){var o={left:0,top:0,width:0,height:0},n=Z(),i=1*n.width/100;return 100===r||fe()||n.width<de.wd_min_mobile_width?(o.left=i,o.width=n.width-2*i-2):(o.width=n.width*r/100,o.left=(n.width-o.width)/2),o.height=100===t?n.height-2*i-2:n.height*t/100,"center"===e?o.top=100===t?i:(n.height-o.height)/2:"top"===e?o.top=i:"bottom"===e&&(o.top=n.height-o.height-i),o}},{key:"getFooterParam",value:function(e,t,r){var o={key:e,id:void 0,caption:e,onClick:void 0,className:""};return Array.isArray(r)||("function"==typeof r[e]?o.onClick=r[e]:o=pe(pe({},o),r[e])),o[t]}}],null&&Pe(t.prototype,null),r&&Pe(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}();const Me=he;function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){Ge(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ge(e,t,r){return(t=function(e){var t=function(e){if("object"!=Ae(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ae(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function we(e){var t=e.left,r=e.top,o=e.width,n=e.height,i=e.mobile,a=e.itemsCount,l=e.itemHeight,c=Z();if(i)return Me.updatePosMobile("center",50,100);var s={left:t,top:r,width:o,height:n};return s.height=Math.max(Math.min(c.height,a*(l+1)+l/2),n),s.top+n+s.height>c.height?s.top>c.height/2?(s.height=Math.min(s.height,s.top)-2,s.top-=s.height+2):(s.top=r+n+1,s.height=c.height-s.top):s.top=r+n+1,s}const Ce=function(e){var r=e.list,o=void 0===r?[]:r,n=e.left,i=void 0===n?0:n,a=e.top,l=void 0===a?0:a,c=e.width,s=void 0===c?100:c,u=e.height,b=void 0===u?100:u,T=e.className,f=void 0===T?"":T,d=e.styleItem,S=void 0===d?{}:d,p=e.aliasId,y=void 0===p?"id":p,m=e.aliasCaption,P=void 0===m?"caption":m,v=e.aliasDisabled,h=void 0===v?"_disabled_":v,M=e.ItemComponent,A=void 0===M?ce:M,g=e.onGetItemClass,O=void 0===g?void 0:g,G=e.onClick,w=void 0===G?void 0:G,C=e.select,E=void 0!==C&&C;return t().createElement("div",{"combo-list":"",className:"".concat(f),style:Oe({},we({left:i,top:l,width:s,height:b,mobile:fe(),itemsCount:o.length,itemHeight:32}))},o.map((function(e){return t().createElement(A,{key:e[y],title:e[P],data:e,onClick:w,onGetItemClass:O,disabled:h in e&&e[h],style:S,active:!1!==E&&"".concat(E)==="".concat(e[y])},e[P])})))};function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Be.apply(null,arguments)}function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function De(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Ie(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ie(e,t,r){return(t=function(e){var t=function(e){if("object"!=Ee(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ee(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function je(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ne(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ne(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Ve(r){var o=r.id,n=r.className,i=void 0===n?Ve.global.className:n,a=r.classList,l=void 0===a?Ve.global.classList:a,c=r.style,s=void 0===c?Ve.global.style:c,u=r.styleOuter,b=void 0===u?{}:u,T=r.styleItem,f=void 0===T?{}:T,d=r.list,S=void 0===d?[]:d,p=r.disabled,y=void 0!==p&&p,m=r.required,P=void 0!==m&&m,v=r.select,h=void 0!==v&&v,M=r.onChange,A=void 0===M?void 0:M,g=r.hideBtnOnSelect,O=void 0!==g&&g,G=r.onGetItemClass,w=void 0===G?Ve.global.onGetItemClass:G,C=r.placeholder,E=void 0===C?Ve.global.placeholder:C,B=r.aliasId,H=void 0===B?Ve.global.aliasId:B,D=r.aliasCaption,I=void 0===D?Ve.global.aliasCaption:D,j=r.aliasDisabled,N=void 0===j?Ve.global.aliasDisabled:j,V=r.ItemComponent,L=void 0===V?Ve.global.ItemComponent:V,k=r.attr,R=void 0===k?{}:k,X=je((0,e.useState)(void 0),2),F=X[0],x=X[1],W=je((0,e.useState)(!1),2),K=W[0],U=W[1],Q=je((0,e.useState)(!1),2),z=Q[0],Y=Q[1],J=je((0,e.useState)(!O),2),q=J[0],$=J[1],ee=je((0,e.useState)(!1),2),te=ee[0],re=ee[1],oe=(0,e.useRef)(null),ne=je((0,e.useState)({left:0,top:0,width:0,height:0}),2),ie=ne[0],le=ne[1];(0,e.useEffect)((function(){if(S&&S.length&&!1!==h){var e=S.find((function(e){return e[H]==h}));x(e),U(!!e&&e[I])}else x(void 0),U(!1)}),[S,h,H]),(0,e.useEffect)((function(){if(z){var e={left:0,top:0,width:0,height:0},t=_(oe.current);e.left=t.x,e.top=t.y,e.width=t.w,e.height=t.h;var r=Z();e.width>r.width?(e.left=1,e.width=r.width-2):(e.left+e.width>r.width&&(e.left-=e.left+e.width-r.width),e.left<0&&(e.left=0)),le(e)}}),[z]);var ce=function(){z&&Y(!1)};return t().createElement(t().Fragment,null,t().createElement("div",Be({combo:""},o?{id:o}:{},{className:"".concat("wd-combo").concat(i?" ".concat(i):""),style:De(De({},Ve.global.style),s),onClick:function(){Y(!z)},ref:oe},y?{disabled:!0}:{tabIndex:"0"},!P||F||te?{}:{required:!0},z?{open:!0}:{},{onMouseMove:function(){O&&$(!0)},onMouseLeave:function(){O&&$(!1)},onFocus:function(){re(!0)},onBlur:function(){re(!1)},onKeyDown:function(e){9===e.keyCode&&ce(),27===e.keyCode&&(ce(),e.preventDefault()),[34,33,40,38,13].indexOf(e.keyCode)>=0&&(Y(!0),e.preventDefault())}},R),t().createElement(L,{title:K||"",onGetItemClass:function(){return w?w(F,!0):""},attr:{state:F?"select":"no-select"},style:b,data:F},K||E||""),t().createElement("div",{style:De({},q||te||!F?{}:{display:"none"})})),!y&&t().createElement(ae,{visible:z,onClickShadow:ce,classShadow:"wd-combo-shadow"},t().createElement(Ce,Be({className:l,styleItem:f,list:S},ie,{aliasId:H,aliasCaption:I,aliasDisabled:N,onClick:function(e){Y(!1),A?A({id:o,data:e}):console.warn("ComboBox.onChange not set, define it..")},onGetItemClass:w,ItemComponent:L,select:h}))))}Ve.global={className:"",classList:"wd-scrollbar",placeholder:"- выбрать -",style:{},ItemComponent:ce,onGetItemClass:void 0,aliasId:"id",aliasCaption:"caption",aliasDisabled:"_disabled_"};const Le=Ve;let ke=0,Re=0;function Xe(){return{x:ke,y:Re}}window.addEventListener("mousemove",(function(e){ke=e.clientX,Re=e.clientY}));const Fe=()=>Z().width<=de.wd_middle_width;function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},xe.apply(null,arguments)}function We(e){return We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(e)}function Ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ue(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach((function(t){ze(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ze(e,t,r){return(t=function(e){var t=function(e){if("object"!=We(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=We(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==We(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ye(r){var o=this,n=r.id,i=r.visible,a=void 0===i||i,l=r.onClickHeaderClose,c=void 0===l?void 0:l,s=r.onClickShadow,u=void 0===s?void 0:s,b=r.onClickFooterBtn,T=void 0===b?void 0:b,f=r.header,d=void 0!==f&&f,S=r.footer,p=void 0===S?void 0:S,m=r.align,P=void 0===m?"stretch":m,v=r.stickTo,h=void 0===v?void 0:v,M=r.stickAlign,A=void 0===M?"bottom":M,g=r.stickOffX,O=void 0===g?0:g,G=r.stickOffY,w=void 0===G?0:G,C=r.margin,E=void 0===C?50:C,B=r.left,H=void 0===B?Ye.global.left:B,D=r.top,I=void 0===D?Ye.global.top:D,j=r.width,N=void 0===j?Ye.global.width:j,V=r.height,L=void 0===V?Ye.global.height:V,k=r.mobile,R=void 0===k?"small":k,X=r.classShadow,F=void 0===X?ae.global.classShadow:X,x=r.enableShadow,W=void 0===x||x,K=r.draggable,U=void 0===K||K,Q=r.resizable,z=void 0!==Q&&Q,Y=r.className,Z=void 0===Y?Ye.global.className:Y,J=r.style,q=void 0===J?Qe({},Ye.global.style):J,$=r.attr,ee=void 0===$?{}:$,te=r.children,re=Ke((0,e.useState)({left:H,top:I}),2),oe=re[0],ne=re[1],ie=Ke((0,e.useState)({width:N,height:L}),2),le=ie[0],ce=ie[1],se=Ke((0,e.useState)(!1),2),ue=se[0],be=se[1],Te=Ke((0,e.useState)({x:0,y:0}),2),fe=Te[0],de=Te[1],Se=Ke((0,e.useState)(!1),2),pe=Se[0],ye=Se[1],me=Ke((0,e.useState)(Fe()),2),Pe=me[0],ve=me[1],he=Ke((0,e.useState)("hidden"),2),Ae=he[0],ge=he[1],Oe=(0,e.useRef)(),Ge=[];return Array.isArray(p)?Ge=p:"object"===We(p)&&(Ge=Object.keys(p)),(0,e.useEffect)((function(){var e,t=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=Fe();if(ve(r),!1!==R&&r){var o=Me.mobileToObject(R);e=Me.updatePosMobile(o.pos,o.size,o.width),ne({left:e.left,top:e.top}),ce({width:e.width,height:e.height})}else pe||(e=Me.updatePos({first:t,pos:Qe(Qe({},oe),le),left:H,top:I,width:N,height:L,align:P,stickTo:h,stickOffX:O,stickOffY:w,stickAlign:A,margin:E}),ne({left:e.left,top:e.top}),ce({width:e.width,height:e.height}))},r=(e=t,window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)});return t(!0),function(){r()}}),[a,H,I,N,L,P,h,O,w,A,pe]),(0,e.useEffect)((function(){var e=function(){if(a)if("resize"===ue){var e=Xe();ce({width:e.x+fe.x,height:e.y+fe.y})}else if("move"===ue){var t=Xe();ne({left:t.x-fe.x,top:t.y-fe.y})}},t=function(){be(!1)};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),function(){window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}}),[a,ue,fe]),(0,e.useEffect)((function(){a?"hidden"===Ae&&ge("visible"):"visible"===Ae&&ge("hidden")}),[a,oe]),t().createElement(ae,{id:n,visible:a,classShadow:F,enableShadow:W,onClickShadow:u},t().createElement(t().Fragment,null,t().createElement("div",xe({style:Qe(Qe(Qe(Qe(Qe({},Ye.global.style),q),oe),le),{},{visibility:Ae}),className:"".concat("wd-modal-dialog").concat(Z?" ".concat(Z):""),onMouseDown:function(e){var t=e.button;if(("custom"===P||"stickTo"===P)&&U&&0===t){var r=Xe(),o=!0;if("header"===U)if(Oe.current){var n=_(Oe.current);o=r.x>=n.x&&r.x<=n.x+n.w&&r.y>=n.y&&r.y<=n.y+n.h}else o=!1;o&&(de({x:r.x-oe.left,y:r.y-oe.top}),be("move"),pe||ye(!0))}}},ee),d&&t().createElement("div",{"dialog-header":"",ref:Oe},t().createElement("div",{"dialog-caption":""},d),c&&t().createElement("div",{"dialog-close-btn":"",onClick:c},"✖")),t().createElement("div",{"dialog-content":""},te),Ge.length>0&&t().createElement("div",{"dialog-footer":""},Ge.map((function(e){return t().createElement(y,{id:Me.getFooterParam(e,"id",p),key:e,onClick:function(){return function(e){var t=Me.getFooterParam(e,"onClick",p);t?t({sender:o,key:e}):T&&T({sender:o,key:e})}(e)},className:Me.getFooterParam(e,"className",p)},Me.getFooterParam(e,"caption",p))})))),z&&!Pe&&t().createElement("div",{"dialog-resize":"",style:{left:oe.left+le.width,top:oe.top+le.height}},t().createElement("div",{onMouseDown:function(){var e=Xe();de({x:le.width-e.x,y:le.height-e.y}),be("resize"),pe||ye(!0)}}))))}Ye.global={className:"wd-dialog-slide-from-top",classShadow:"wd-shadow",style:{},left:0,top:0,width:400,height:100};const Ze=Ye;function Je(e){return Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Je(e)}function qe(){return qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},qe.apply(null,arguments)}function $e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(r),!0).forEach((function(t){tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e,t,r){return(t=function(e){var t=function(e){if("object"!=Je(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Je(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Je(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rt(e){var r=e.src,o=e.icon,n=e.path,i=e.className,a=void 0===i?rt.global.className:i,l=e.onClick,c=void 0===l?void 0:l,s=e.style,u=void 0===s?rt.global.style:s,b=e.icons,T=void 0===b?rt.global.icons:b,f=e.attr,d=void 0===f?{}:f;return t().createElement("img",qe({src:r||n||!(!T[o]||!T[o].src)&&T[o].src||!(!T[o]||!T[o].path)&&T[o].path||"",className:"wd-icon"+(a?" ".concat(a):"")+(T[o]&&T[o].className?" ".concat(T[o].className):""),onClick:c,style:et({},u)},d))}function ot(e){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ot(e)}function nt(){return nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},nt.apply(null,arguments)}function it(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function at(e,t,r){return(t=function(e){var t=function(e){if("object"!=ot(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ot(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ot(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}rt.global={icons:{},className:"",style:{}};const lt=function(e){var r=e.data,o=void 0===r?[]:r,n=e.fieldName,i=e.caption,a=e.title,l=e.onClick,c=e.attrs,s=void 0!==c&&c,u=e.width,b=void 0===u?void 0:u;return t().createElement("th",nt({id:n,onClick:function(){l&&l({fieldName:n,caption:i,data:o})}},a?{title:a}:{},s?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?it(Object(r),!0).forEach((function(t){at(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):it(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},s):{},b?{style:{width:b}}:{}),i)};function ct(e){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ct(e)}function st(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?st(Object(r),!0).forEach((function(t){bt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bt(e,t,r){return(t=function(e){var t=function(e){if("object"!=ct(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ct(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ct(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Tt=function(e){var r=e.data,o=void 0===r?[]:r,n=e.fields,i=void 0===n?[]:n,a=e.header,l=e.onClick,c=e.aliasAttr,s=void 0===c?"":c;return t().createElement("thead",null,t().createElement("tr",null,!0===a&&i.map((function(e,r){return t().createElement(lt,{key:"".concat(e.name,"-").concat(r),data:o,fieldName:e.name,caption:e.caption,title:e.title,onClick:l,attrs:ut({},e[s]?ut({},e[s]):{}),width:e.width})})),"string"==typeof a&&t().createElement("th",{colSpan:i.length},a)))};function ft(e){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ft(e)}function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},dt.apply(null,arguments)}function St(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function pt(e,t,r){return(t=function(e){var t=function(e){if("object"!=ft(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ft(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ft(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const yt=function(e){var r=e.data,o=void 0===r?[]:r,n=e.row,i=void 0===n?{}:n,a=e.fieldName,l=e.value,c=e.onClick,s=e.onDoubleClick,u=e.onMouseUp,b=e.onDraw,T=e.aliasId,f=e.attrs,d=e.width,S=e.disableContextMenu;return t().createElement("td",dt({onClick:function(){c&&c({col:a,value:l,row:i,data:o,aliasId:T})},onMouseUp:function(e){u&&u({col:a,value:l,row:i,data:o,aliasId:T,event:e})},onDoubleClick:function(){s&&s({col:a,value:l,row:i,data:o,aliasId:T})},id:a},f?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?St(Object(r),!0).forEach((function(t){pt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):St(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},f):{},d?{style:{width:d}}:{},{onContextMenu:S?function(e){return e.preventDefault(),!1}:void 0}),b?b({sender:"td",col:a,value:l,row:i,data:o,aliasId:T}):l)};function mt(e){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(e)}function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return(t=function(e){var t=function(e){if("object"!=mt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=mt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mt(){return Mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Mt.apply(null,arguments)}const At=function(e){var r=e.row,o=void 0===r?{}:r,n=e.data,i=void 0===n?[]:n,a=e.fields,l=void 0===a?[]:a,c=e.onClick,s=e.onDoubleClick,u=e.onMouseUp,b=e.onDraw,T=e.select,f=void 0!==T&&T,d=e.aliasId,S=e.aliasAttr,p=e.aliasSep,y=e.disableContextMenu;return t().createElement(t().Fragment,null,p in o&&t().createElement("tr",Mt({},d in o?{id:o[d]}:{},o[S],{sep:""}),t().createElement("td",{colSpan:l.length},o[p])),!(p in o)&&t().createElement("tr",Mt({},d in o?{id:o[d]}:{},f?{select:""}:{},o[S]),l.map((function(e,r){return t().createElement(yt,{key:e.name,data:i,row:o,fieldName:e.name,value:o[e.name],onClick:c,onDoubleClick:s,onMouseUp:u,onDraw:b,aliasId:d,attrs:vt({},e[S]?vt({},e[S]):{}),width:e.width,disableContextMenu:y})}))))},gt=function(e){var r=e.data,o=void 0===r?[]:r,n=e.fields,i=void 0===n?[]:n,a=e.aliasId,l=void 0===a?"ID":a,c=e.aliasAttr,s=void 0===c?"-attr-":c,u=e.aliasSep,b=void 0===u?"-sep-":u,T=e.noData,f=void 0===T?"no data":T,d=e.footer,S=void 0===d?"end":d,p=e.select,y=void 0===p?[]:p,m=e.onClick,P=e.onDoubleClick,v=e.onMouseUp,h=e.onDraw,M=e.disableContextMenu,A=Array.isArray(o)&&o.length>0;return t().createElement("tbody",null,A&&o.map((function(e,r){return t().createElement(At,{key:l in e?e[l]:r,data:o,row:e,fields:i,select:l in e&&y.findIndex((function(t){return"".concat(t)==="".concat(e[l])}))>-1,onClick:m,onDoubleClick:P,onMouseUp:v,onDraw:h,aliasId:l,aliasAttr:s,aliasSep:b,disableContextMenu:M})})),!A&&!1!==f&&t().createElement("tr",null,t().createElement("td",{nodata:"",colSpan:i.length},f)),A&&!1!==S&&t().createElement("tr",null,t().createElement("td",{footer:"",colSpan:i.length},S)))};function Ot(e){return Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot(e)}function Gt(){return Gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Gt.apply(null,arguments)}function wt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Ct(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(r),!0).forEach((function(t){Et(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Et(e,t,r){return(t=function(e){var t=function(e){if("object"!=Ot(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Ot(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ot(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=(0,e.forwardRef)((function(e,r){var o=e.id,n=e.className,i=void 0===n?Bt.global.className:n,a=e.aliasId,l=void 0===a?Bt.global.aliasId:a,c=e.aliasAttr,s=void 0===c?Bt.global.aliasAttr:c,u=e.aliasSep,b=void 0===u?Bt.global.aliasSep:u,T=e.data,f=void 0===T?[]:T,d=e.fields,S=void 0===d?[]:d,p=e.header,y=void 0===p||p,m=e.noData,P=void 0===m?Bt.global.noData:m,v=e.footer,h=void 0===v?Bt.global.footer:v,M=e.select,A=void 0===M?[]:M,g=e.style,O=void 0===g?Ct({},Bt.global.style):g,G=e.onClick,w=void 0===G?void 0:G,C=e.onDoubleClick,E=void 0===C?void 0:C,B=e.onMouseUp,H=void 0===B?void 0:B,D=e.onDraw,I=void 0===D?void 0:D,j=e.disableContextMenu,N=void 0===j?void 0:j,V=e.attr,L=void 0===V?{}:V;return t().createElement("table",Gt({ref:r,className:"".concat("wd-table").concat(i?" ".concat(i):"")},o?{id:o}:{},{style:Ct(Ct({},Bt.global.style),O)},L),!1!==y&&t().createElement(Tt,{fields:S,header:y,aliasAttr:s}),t().createElement(gt,{data:f,fields:S,aliasId:l,aliasAttr:s,aliasSep:b,noData:P,footer:h,select:A,onClick:w,onDoubleClick:E,onMouseUp:H,onDraw:I,disableContextMenu:N}))}));Bt.global={className:"",aliasId:"ID",aliasAttr:"-attr-",aliasSep:"-sep-",header:!0,noData:"no data",footer:"end",style:{}};const Ht=Bt;function Dt(e){return Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dt(e)}function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},It.apply(null,arguments)}function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Nt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){Vt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vt(e,t,r){return(t=function(e){var t=function(e){if("object"!=Dt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Dt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lt(e){var r=e.id,o=e.className,n=void 0===o?Lt.global.className:o,i=e.style,a=void 0===i?Lt.global.style:i,l=e.caption,c=void 0===l?"":l,s=e.attr,u=void 0===s?{}:s,b=e.children;return t().createElement("div",It({group:""},r?{id:r}:{},{className:"".concat("wd-group").concat(n?" ".concat(n):""),style:Nt(Nt({},Lt.global.style),a)},u),c&&t().createElement("div",{caption:""},c),t().createElement("div",{content:""},b))}Lt.global={className:"",style:{}};const kt=Lt;function Rt(e){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rt(e)}function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Xt.apply(null,arguments)}function Ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(r),!0).forEach((function(t){Wt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ft(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Wt(e,t,r){return(t=function(e){var t=function(e){if("object"!=Rt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Rt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kt(e){var r=e.value,o=void 0===r?"":r,n=e.className,i=void 0===n?Kt.global.className:n,a=e.style,l=void 0===a?Kt.global.className:a,c=e.attr,s=void 0===c?{}:c,u=e.children;return t().createElement("div",Xt({className:"".concat("wd-static-text").concat(i?" ".concat(i):""),style:xt(xt({},Kt.global.style),l)},s),o||u)}Kt.global={className:"",style:{}};const Ut=Kt;function _t(e){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(e)}function Qt(){return Qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Qt.apply(null,arguments)}function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(r),!0).forEach((function(t){Zt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zt(e,t,r){return(t=function(e){var t=function(e){if("object"!=_t(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=_t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_t(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function $t(r){var o=r.className,n=r.currentClass,i=Jt((0,e.useState)(!1),2),a=i[0],l=i[1],c=Jt((0,e.useState)(0),2),s=(c[0],c[1]),u=Jt((0,e.useState)(0),2),b=(u[0],u[1]),T=(0,e.useRef)();(0,e.useEffect)((function(){var e=new ResizeObserver((function(){if(T.current){var e=_(T.current);b(e.y),s(e.x),l(T.current.clientWidth)}}));return e.observe(T.current),function(){e.disconnect()}}),[T]);var f={fontSize:"0.8rem",color:"white",backgroundColor:"#993d3c"};return t().createElement(t().Fragment,null,t().createElement("div",{ref:T,style:Yt(Yt({},f),{},{position:"relative",textAlign:"center",paddingTop:3,paddingBottom:3,borderRadius:12})},"w:",a," class:"," ".concat(o," ").concat(n)),t().createElement("div",{style:Yt(Yt({},f),{},{padding:10,left:10,top:10,position:"absolute",zIndex:1e3})},t().createElement("div",null,"w:",a),t().createElement("div",null,"class:"," ".concat(o," ").concat(n))))}const er=(0,e.forwardRef)((function(r,o){var n=r.id,i=void 0!==n&&n,a=r.className,l=void 0===a?"":a,c=r.rules,s=void 0===c?[]:c,u=r.debug,b=void 0!==u&&u,T=r.onResize,f=void 0===T?void 0:T,d=r.children,S=o||(0,e.useRef)(),p=Jt((0,e.useState)(""),2),y=p[0],m=p[1],P=Jt((0,e.useState)(0),2),v=P[0],h=P[1];return(0,e.useEffect)((function(){var e=new ResizeObserver((function(){if(S.current){var e=S.current.clientWidth,t=!1;if("function"==typeof s)t=s({width:e});else for(var r=0;r<s.length;r++){var o=s[r],n=r<s.length-1&&s[r+1];if(o.width<=e&&(!n||e<n.width)){t=o.className;break}}!1!==t&&m(t),h(1),f&&f({width:e})}}));return e.observe(S.current),function(){e.disconnect()}}),[S,f]),t().createElement("div",Qt({},i?{id:i}:{},{ref:S},l||y?{className:"".concat(l," ").concat(y)}:"",{style:Yt({opacity:v},b?{border:"1px dashed #993d3c"}:{})}),b?t().createElement($t,{currentClass:y,className:l}):void 0,d)}));function tr(e){return tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tr(e)}function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},rr.apply(null,arguments)}function or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?or(Object(r),!0).forEach((function(t){ir(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ir(e,t,r){return(t=function(e){var t=function(e){if("object"!=tr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=tr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ar(e){var r=e.count,o=e.className,n=void 0===o?ar.global.className:o,i=e.style,a=void 0===i?ar.global.style:i,l=e.attr,c=void 0===l?{}:l,s=e.onClick,u=void 0===s?void 0:s,b=e.onDoubleClick,T=void 0===b?void 0:b,f=e.children;return t().createElement("div",rr({gap:""},n?{className:"".concat(n)}:{},{style:nr(nr({},ar.global.style),a)},c,{onClick:u,onDoubleClick:T}),Array(r).fill("").map((function(e,r){return t().createElement("div",{key:r,gap:""})})),f)}ar.global={className:"",style:{}};const lr=ar;function cr(e){return cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cr(e)}function sr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function ur(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(r),!0).forEach((function(t){br(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function br(e,t,r){return(t=function(e){var t=function(e){if("object"!=cr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=cr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tr(e){var r=e.caption,o=e.level,n=e.childs,i=e.className,a=void 0===i?Tr.global.className:i,l=e.active,c=void 0!==l&&l,s=e.expand,u=void 0!==s&&s,b=e.onClick,T=void 0===b?void 0:b,f=e.onDoubleClick,d=void 0===f?void 0:f;return t().createElement(lr,{count:o,className:"".concat(a," "),attr:ur(ur({},c?{active:""}:{}),u?{expand:""}:{}),onClick:T,onDoubleClick:d},t().createElement("div",{caption:""},r),n&&n.length>0&&t().createElement("div",{icon:""}))}function fr(e,t=fr.global.type){if("bounding"===t){const t=e.getBoundingClientRect();return{width:t.width,height:t.height}}return"offset"===t?{width:e.offsetWidth,height:e.offsetHeight}:{width:e.clientWidth,height:e.clientHeight}}Tr.global={className:"wd-list-item"},fr.global={type:"bounding"};const dr=fr,Sr=new class{constructor(){this.startTime=(new Date).getTime()}time(){return(new Date).getTime()}sec(){return this.millisec()/1e3}millisec(){return this.time()-this.startTime}step({onStart:e,onStep:t,onStop:r,timeMSec:o=1e3,deltaMSec:n=10,changeParams:i={}}){const a=this.millisec(),l=a+o;let c=a;const s={},u=Object.keys(i);u.map((e=>{s[e]=i[e].from})),e&&e(s),t&&t(s);const b=setInterval((()=>{c=this.millisec(),u.map((e=>{s[e]=c>=l?i[e].to:function(e,t,r,o,n){return r-t===0?0:(n*(e-t)+o*(r-e))/(r-t)}(c,a,l,i[e].from,i[e].to)})),t&&t(s),c>=l&&(r&&r(s),clearInterval(b))}),n)}},pr=Sr;function yr(e){return yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yr(e)}function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},mr.apply(null,arguments)}function Pr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pr(Object(r),!0).forEach((function(t){hr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hr(e,t,r){return(t=function(e){var t=function(e){if("object"!=yr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=yr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ar(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ar(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function gr(r){var o=r.className,n=void 0===o?gr.global.className:o,i=r.style,a=void 0===i?gr.global.style:i,l=r.expand,c=void 0===l||l,s=r.delay,u=void 0===s?gr.global.delay:s,b=r.attr,T=void 0===b?{}:b,f=r.children,d=(0,e.useRef)(null),S=Mr((0,e.useState)("fixed"),2),p=S[0],y=S[1],m=Mr((0,e.useState)(!1),2),P=m[0],v=m[1];(0,e.useEffect)((function(){d&&d.current&&function({dom:e,close:t=!0,delay:r=100,step:o=10,onStart:n,onStop:i}){const a=(t=!1)=>{if(!1===t)return parseInt(dr(e).height,10);e.style.height="auto"===t?"auto":`${t}px`},l=a();new Promise(((e,c)=>{pr.step({onStart(){n&&n()},onStep(e){a(e.height)},onStop(t){a(t.height),t.height>0&&a("auto"),i&&i(),e()},timeMSec:r,deltaMSec:o,changeParams:{height:{from:t?l:0,to:t?0:l}}})}))}(c?{dom:d.current,close:!1,onStart:function(){y(!1),v(!0)},delay:u}:{dom:d.current,close:!0,delay:u,onStop:function(){v(!1),y("fixed")}})}),[c,d,u]);var h="".concat(n);return t().createElement(t().Fragment,null,(c||P)&&t().createElement("div",mr({ref:d},h?{className:h}:{},{style:vr(vr(vr({},gr.global.style),a),p?{position:p,opacity:0}:{})},T),f))}function Or(e){var r=e.list,o=e.aliasChilds,n=e.aliasId,i=e.aliasCaption,a=e.setup,l=e.ItemComponent,c=e.onClick,s=e.onDoubleClick,u=e.level,b=void 0===u?0:u;return t().createElement(t().Fragment,null,r.map((function(e){var r=e[o]||[],u="".concat(e[n]),T=!(!(u in a)||!a[u].active),f=!(!(u in a)||!a[u].expand);return t().createElement("div",{"list-node":"",key:u,id:u},t().createElement(l,{id:u,caption:e[i],level:b,data:e,childs:e[o],active:T,expand:f,onClick:c?function(){c(e)}:void 0,onDoubleClick:s?function(){s(e)}:void 0}),r.length>0&&t().createElement(gr,{expand:f,attr:{list:""}},t().createElement(Or,{"list-node":"",level:b+1,list:r,ItemComponent:l,aliasId:n,aliasCaption:i,aliasChilds:o,setup:a,onClick:c,onDoubleClick:s})))})))}function Gr(e){return Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gr(e)}function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},wr.apply(null,arguments)}function Cr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Er(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(r),!0).forEach((function(t){Br(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Br(e,t,r){return(t=function(e){var t=function(e){if("object"!=Gr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Gr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hr(e){var r=e.id,o=void 0===r?void 0:r,n=e.className,i=void 0===n?Hr.global.className:n,a=e.style,l=void 0===a?Hr.global.style:a,c=e.list,s=void 0===c?[]:c,u=e.ItemComponent,b=void 0===u?Hr.global.ItemComponent:u,T=e.aliasId,f=void 0===T?Hr.global.aliasId:T,d=e.aliasCaption,S=void 0===d?Hr.global.aliasCaption:d,p=e.aliasChilds,y=void 0===p?Hr.global.aliasChilds:p,m=e.attr,P=void 0===m?{}:m,v=e.setup,h=void 0===v?{}:v,M=e.onClick,A=void 0===M?void 0:M,g=e.onDoubleClick,O=void 0===g?void 0:g;return t().createElement("div",wr({},o?{id:o}:{},{className:"".concat("wd-list").concat(i?" ".concat(i):""),style:Er(Er({},Hr.global.style),l)},P),t().createElement(Or,{list:s,aliasChilds:y,aliasId:f,aliasCaption:S,setup:h,ItemComponent:b,onClick:A,onDoubleClick:O}))}gr.global={className:"",style:{},delay:100},Or.global={},Hr.global={className:"",style:{},ItemComponent:Tr,aliasId:"id",aliasCaption:"caption",aliasChilds:"childs"};const Dr=Hr,Ir=function(e){var r=e.cols,o=void 0===r?[]:r;return t().createElement(t().Fragment,null,o.map((function(e,r){return t().createElement(t().Fragment,{key:r},e)})))},jr=function(e){var r=e.row;return t().createElement("div",null,t().createElement(Ir,{cols:r}))};function Nr(e){return Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nr(e)}function Vr(){return Vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Vr.apply(null,arguments)}function Lr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function kr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Rr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(r),!0).forEach((function(t){Xr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xr(e,t,r){return(t=function(e){var t=function(e){if("object"!=Nr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Nr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Nr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fr(r){var o,n,i=r.maxCol,a=void 0===i?3:i,l=r.RowComponent,c=void 0===l?jr:l,s=r.className,u=void 0===s?"":s,b=r.style,T=void 0===b?Rr({},Fr.global.style):b,f=r.attr,d=void 0===f?{}:f,S=r.children,p=(o=(0,e.useState)([]),n=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(o,n)||function(e,t){if(e){if("string"==typeof e)return Lr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lr(e,t):void 0}}(o,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=p[0],m=p[1];return(0,e.useEffect)((function(){if(S){var e=[];(S.map?S:[S]).map((function(t,r){r%a===0&&e.push([]),e[e.length-1].push(t)})),m(e)}}),[S]),t().createElement("div",Vr({className:"".concat(Fr.global.className," ").concat(u),style:Rr(Rr({},Fr.global.style),T)},d),y.map((function(e,r){return t().createElement(c,{key:r,row:e})})))}Fr.global={className:"wd-container",addClass:"",style:{}};const xr={Edit:b,Btn:y,BtnIcon:g,CheckBox:H,Label:k,Text:U,ComboBox:Le,Modal:ae,ModalDialog:Ze,Icon:rt,Table:Ht,Group:kt,StaticText:Ut,OnResize:er,List:Dr,Container:Fr};var Wr=b,Kr=y,Ur=g,_r=H,Qr=k,zr=U,Yr=Le,Zr=ae,Jr=Ze,qr=rt,$r=Ht,eo=kt,to=Ut,ro=er,oo=Dr,no=Fr})(),module.exports=o})();
2
+ (()=>{var e={179(e,t,r){!function(e,t){e(function(){"use strict";var e,r={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",Pixel:"; \\bPixel\\b",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332",Asus:"Asus.*Galaxy|PadFone.*Mobile",Xiaomi:"^(?!.*\\bx11\\b).*xiaomi.*$|POCOPHONE F1|MI 8|Redmi Note 9S|Redmi Note 5A Prime|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30|A3-A40",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android [0-9.]+; [a-z-]+; \\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",SailfishOS:"Sailfish",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"\\bEdgiOS\\b|Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version((?!\\bEdgiOS\\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",SailfishBrowser:"SailfishBrowser/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",Sailfish:"Sailfish [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},o=Object.prototype.hasOwnProperty;function n(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function i(e,t){var r,o,n=e.length;if(!n||!t)return!1;for(r=t.toLowerCase(),o=0;o<n;++o)if(r===e[o].toLowerCase())return!0;return!1}function a(e){for(var t in e)o.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function l(e,t){this.ua=function(e){return(e||"").substr(0,500)}(e),this._cache={},this.maxPhoneWidth=t||600}return r.FALLBACK_PHONE="UnknownPhone",r.FALLBACK_TABLET="UnknownTablet",r.FALLBACK_MOBILE="UnknownMobile",e="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var t,n,i,l,c,s,u=r.mobileDetectRules;for(t in u.props)if(o.call(u.props,t)){for(n=u.props[t],e(n)||(n=[n]),c=n.length,l=0;l<c;++l)(s=(i=n[l]).indexOf("[VER]"))>=0&&(i=i.substring(0,s)+"([\\w._\\+]+)"+i.substring(s+5)),n[l]=new RegExp(i,"i");u.props[t]=n}a(u.oss),a(u.phones),a(u.tablets),a(u.uas),a(u.utils),u.oss0={WindowsPhoneOS:u.oss.WindowsPhoneOS,WindowsMobileOS:u.oss.WindowsMobileOS}}(),r.findMatch=function(e,t){for(var r in e)if(o.call(e,r)&&e[r].test(t))return r;return null},r.findMatches=function(e,t){var r=[];for(var n in e)o.call(e,n)&&e[n].test(t)&&r.push(n);return r},r.getVersionStr=function(e,t){var n,i,a,l,c=r.mobileDetectRules.props;if(o.call(c,e))for(a=(n=c[e]).length,i=0;i<a;++i)if(null!==(l=n[i].exec(t)))return l[1];return null},r.getVersion=function(e,t){var o=r.getVersionStr(e,t);return o?r.prepareVersionNo(o):NaN},r.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},r.isMobileFallback=function(e){return r.detectMobileBrowsers.fullPattern.test(e)||r.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},r.isTabletFallback=function(e){return r.detectMobileBrowsers.tabletPattern.test(e)},r.prepareDetectionCache=function(e,o,n){if(e.mobile===t){var i,a,c;if(a=r.findMatch(r.mobileDetectRules.tablets,o))return e.mobile=e.tablet=a,void(e.phone=null);if(i=r.findMatch(r.mobileDetectRules.phones,o))return e.mobile=e.phone=i,void(e.tablet=null);r.isMobileFallback(o)?(c=l.isPhoneSized(n))===t?(e.mobile=r.FALLBACK_MOBILE,e.tablet=e.phone=null):c?(e.mobile=e.phone=r.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=r.FALLBACK_TABLET,e.phone=null):r.isTabletFallback(o)?(e.mobile=e.tablet=r.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},r.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},r.detectOS=function(e){return r.findMatch(r.mobileDetectRules.oss0,e)||r.findMatch(r.mobileDetectRules.oss,e)},r.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},l.prototype={constructor:l,mobile:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===t&&(this._cache.userAgent=r.findMatch(r.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===t&&(this._cache.userAgents=r.findMatches(r.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===t&&(this._cache.os=r.detectOS(this.ua)),this._cache.os},version:function(e){return r.getVersion(e,this.ua)},versionStr:function(e){return r.getVersionStr(e,this.ua)},is:function(e){return i(this.userAgents(),e)||n(e,this.os())||n(e,this.phone())||n(e,this.tablet())||i(r.findMatches(r.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return l.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===t&&(this._cache.grade=r.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?l.isPhoneSized=function(e){return e<0?t:r.getDeviceSmallerSide()<=e}:l.isPhoneSized=function(){},l._impl=r,l.version="1.4.5 2021-03-13",l})}(e.exports?function(t){e.exports=t()}:r.amdD)}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}r.amdD=function(){throw new Error("define cannot be used indirect")},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{Btn:()=>Kr,BtnIcon:()=>Ur,CheckBox:()=>_r,ComboBox:()=>Yr,Container:()=>no,Edit:()=>Wr,Group:()=>eo,Icon:()=>qr,Label:()=>Qr,List:()=>oo,Modal:()=>Zr,ModalDialog:()=>Jr,OnResize:()=>ro,StaticText:()=>to,Table:()=>$r,Text:()=>zr,default:()=>xr});const e=require("react");var t=r.n(e);function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},i.apply(null,arguments)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function u(r){var o,n,a=r.id,c=r.value,b=r.type,T=void 0===b?"text":b,f=r.onChange,d=void 0===f?void 0:f,S=r.onKeyPress,p=void 0===S?void 0:S,y=r.onKeyUp,m=void 0===y?void 0:y,P=r.onKeyDown,v=void 0===P?void 0:P,h=r.className,M=void 0===h?u.global.className:h,A=r.style,g=void 0===A?u.global.style:A,O=r.placeholder,G=void 0===O?"":O,w=r.readonly,C=void 0===w?void 0:w,E=r.disabled,B=void 0===E?void 0:E,H=r.required,D=void 0===H?void 0:H,I=r.error,j=void 0===I?void 0:I,N=r.title,V=void 0===N?"":N,L=r.hint,k=void 0===L?"":L,R=r.visible,X=void 0===R||R,F=r.min,x=void 0===F?void 0:F,W=r.max,K=void 0===W?void 0:W,U=r.step,_=void 0===U?void 0:U,Q=r.minLength,z=void 0===Q?0:Q,Y=r.maxLength,Z=void 0===Y?0:Y,J=r.attr,q=void 0===J?{}:J,$=r.children,ee=(o=(0,e.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(o,n)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(o,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),te=ee[0],re=ee[1],oe=function(e,t){t&&t({id:a,value:e.target.value,key:e.key,args:e})},ne={};void 0!==x&&(ne.min=x),void 0!==K&&(ne.max=K),void 0!==_&&(ne.step=_),z>0&&(ne.minLength=z),Z>0&&(ne.maxLength=Z);var ie=c||$||"",ae=T;return"number"===T&&(ae=te?T:"text"),t().createElement(t().Fragment,null,t().createElement("input",i({type:ae},a?{id:a}:{},{className:"".concat("wd-edit").concat(M?" ".concat(M):""),value:ie,onChange:function(e){d?d({id:a,value:e.target.value}):console.warn("Edit.onChange not set, define it..")},onKeyUp:function(e){oe(e,m)},onKeyDown:function(e){oe(e,v),oe(e,p)},onFocus:function(){re(!0)},onBlur:function(){re(!1)},style:l(l(l({},u.global.style),g),X?{}:{display:"none"})},G?{placeholder:G}:{},B?{disabled:!0}:{},C?{readOnly:"readonly"}:{},D&&0==="".concat(ie).length?{required:!0}:{},ne,V||k?{title:V||k}:{},q,j?{error:""}:{})),"string"==typeof j&&t().createElement("div",{className:"error-edit-msg",dangerouslySetInnerHTML:{__html:j}}))}u.global={className:"",style:{}};const b=u;function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(null,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e){if("object"!=T(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var r=e.id,o=void 0===r?void 0:r,n=e.value,i=e.onClick,a=void 0===i?void 0:i,l=e.className,c=void 0===l?y.global.className:l,s=e.style,u=void 0===s?S({},y.global.style):s,b=e.hint,T=void 0!==b&&b,d=e.title,p=void 0!==d&&d,m=e.disabled,P=void 0!==m&&m,v=e.attr,h=void 0===v?{}:v,M=e.children;return t().createElement("input",f({type:"button"},o?{id:o}:{},{className:"".concat("wd-btn").concat(c?" ".concat(c):""),value:n||M||"",onClick:a},p||T?{title:p||T}:{},{style:S(S({},y.global.style),u),disabled:P},h))}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},P.apply(null,arguments)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){M(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function M(e,t,r){return(t=function(e){var t=function(e){if("object"!=m(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==m(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(e){var r=e.id,o=e.value,n=e.onClick,i=void 0===n?void 0:n,a=e.className,l=void 0===a?A.global.className:a,c=e.iconClass,s=void 0===c?A.global.iconClass:c,u=e.IconComponent,b=void 0===u?A.global.IconComponent:u,T=e.icon,f=e.hint,d=void 0===f?"":f,S=e.title,p=void 0===S?"":S,y=e.style,m=void 0===y?{}:y,v=e.disabled,M=void 0!==v&&v,g=e.between,O=void 0===g||g,G=e.attr,w=void 0===G?{}:G,C=e.children,E=function(e){M||w.disabled||!i||i(e)},B=s||b&&T,H=o||C;return t().createElement("div",P({type:"btn-icon"},r?{id:r}:{},{className:"".concat("wd-btn-icon").concat(l?" ".concat(l):""),onClick:E,onKeyDown:function(e){"Enter"===e.key&&E(e)}},M||w.disabled?{}:{tabIndex:0},p||d?{title:p||d}:{},{style:h(h({},A.global.style),m),disabled:M},w),B&&t().createElement("div",P({icon:""},s?{className:s}:{}),b&&T&&t().createElement(b,{icon:T})),O&&B&&H&&t().createElement("div",{between:""}),H&&t().createElement("div",{value:""},o||C))}y.global={className:"",style:{}},A.global={IconComponent:void 0,style:{},className:"",iconClass:""};const g=A;function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},G.apply(null,arguments)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return(t=function(e){var t=function(e){if("object"!=O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(e){var r=e.id,o=e.checked,n=void 0!==o&&o,i=e.className,a=void 0===i?B.global.className:i,l=e.onChange,c=void 0===l?void 0:l,s=e.style,u=void 0===s?B.global.style:s,b=e.hint,T=void 0!==b&&b,f=e.title,d=void 0!==f&&f,S=e.disabled,p=void 0!==S&&S,y=e.attr,m=void 0===y?{}:y,P=e.visible,v=void 0===P||P;return t().createElement("input",G({type:"checkbox"},r?{id:r}:{},{className:"".concat("wd-checkbox").concat(a?" ".concat(a):""),onChange:function(e){var t=e.target;p||c&&c({id:r,checked:t.checked,value:t.checked})},checked:n,style:C(C(C({},B.global.style),u),v?{}:{display:"none"})},d||T?{title:d||T}:{},m))}B.global={className:"",style:{}};const H=B;function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},I.apply(null,arguments)}function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach(function(t){V(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function V(e,t,r){return(t=function(e){var t=function(e){if("object"!=D(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==D(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function L(e){var r=e.id,o=e.caption,n=void 0===o?"label":o,i=e.className,a=void 0===i?L.global.className:i,l=e.style,c=void 0===l?L.global.style:l,s=e.attr,u=void 0===s?{}:s,b=e.children;return t().createElement("div",I({label:"",style:N(N({},L.global.style),c),className:"".concat("wd-label").concat(a?" ".concat(a):"")},r?{id:"label-".concat(r)}:{}),t().createElement("label",I({htmlFor:r},u),n),t().createElement("div",{labeled:""},b))}L.global={className:"",style:{}};const k=L;function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},X.apply(null,arguments)}function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach(function(t){W(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function W(e,t,r){return(t=function(e){var t=function(e){if("object"!=R(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==R(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K(e){var r=e.id,o=e.value,n=void 0===o?void 0:o,i=e.className,a=void 0===i?K.global.className:i,l=e.attr,c=void 0===l?{}:l,s=e.style,u=void 0===s?K.global.style:s,b=e.placeholder,T=void 0===b?K.global.placeholder:b,f=e.disabled,d=void 0!==f&&f,S=e.readonly,p=void 0!==S&&S,y=e.required,m=void 0!==y&&y,P=e.title,v=void 0===P?"":P,h=e.resize,M=void 0!==h&&h,A=e.maxLength,g=void 0===A?0:A,O=e.rows,G=void 0===O?0:O,w=e.cols,C=void 0===w?0:w,E=e.onChange,B=void 0===E?void 0:E,H=function(e,t){if(G>0&&e.length>0&&C>0){for(var r=t.selectionStart,o=e.substring(0,G*(C+1)).split("\n"),n="",i=0,a=0;i<o.length;)o[i]=n+o[i],o[i].length>C?(n=o[i].substring(C),o[i]=o[i].substring(0,C)):n="",(a+=o[i].length+1)==r&&r++,i++;return n.length&&o.push(n),o.length-1>=G&&o.splice(G),o.join("\n")}return e};return t().createElement("textarea",X({},r?{id:r}:{},{className:"".concat("wd-text").concat(a?" ".concat(a):""),style:x(x(x({},K.global.style),M?{}:{resize:"none"}),u),value:n},d?{disabled:!0}:{},p?{readOnly:!0}:{},m&&0==="".concat(n).trim().length?{required:!0}:{},v?{title:v}:{},g>0?{maxLength:g}:{},T?{placeholder:T}:{},c,{onChange:function(e){var t=e.currentTarget;B?B({id:r,value:H(t.value,t)}):console.warn("Text.onChange not set, define it.")}}))}K.global={className:"wd-scrollbar",style:{},placeholder:""};const U=K;function _(e){const t=e.getBoundingClientRect();return{x:t.left+window.scrollX,y:t.top+window.scrollY,w:t.width,h:t.height}}const Q=require("react-dom");var z,Y=r.n(Q);function Z(){const e=[],t=[];return window.innerWidth&&e.push(window.innerWidth),document.documentElement.clientWidth&&e.push(document.documentElement.clientWidth),document.body.clientWidth&&e.push(document.body.clientWidth),window.innerHeight&&t.push(window.innerHeight),document.documentElement.clientHeight&&t.push(document.documentElement.clientHeight),document.body.clientHeight&&t.push(document.body.clientHeight),{width:Math.min(...e),height:Math.min(...t)}}function J(e){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J(e)}function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},q.apply(null,arguments)}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach(function(t){te(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function te(e,t,r){return(t=function(e){var t=function(e){if("object"!=J(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=J(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oe(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function ne(){return z||(z=document.getElementById(ie.global.idRoot)||document.getElementsByTagName("body")[0]),z}function ie(r){var o=r.id,n=r.visible,i=void 0===n||n,a=r.className,l=void 0===a?ie.global.className:a,c=r.enableShadow,s=void 0===c||c,u=r.classShadow,b=void 0===u?ie.global.classShadow:u,T=r.onClickShadow,f=void 0===T?void 0:T,d=r.attr,S=void 0===d?{}:d,p=r.children,y=re((0,e.useState)(Z()),2),m=y[0],P=y[1],v=re((0,e.useState)(document.createElement("div")),1)[0];(0,e.useEffect)(function(){return ne().appendChild(v),function(){ne().removeChild(v)}},[]),(0,e.useEffect)(function(){var e=function(){i&&P(Z())};return window.addEventListener("resize",e),e(),i&&v.parentElement.insertBefore(v,null),function(){window.removeEventListener("resize",e)}},[i]);var h=function(e){return e.preventDefault(),!1};return Y().createPortal(t().createElement("div",q({id:o,className:"".concat(l)},i?{state:"show"}:{state:"hide"},{style:{position:"absolute",left:0,top:0}},S,{onContextMenu:h}),s&&t().createElement("div",{className:"".concat(b),style:ee({position:"absolute",left:-1,top:-1},m),onMouseUp:f,onContextMenu:h}),p),v)}ie.global={idRoot:"wd-modal",className:"wd-modal",classShadow:"wd-shadow"};const ae=ie;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},le.apply(null,arguments)}const ce=function(e){var r=e.title,o=void 0!==r&&r,n=e.className,i=void 0===n?"":n,a=e.onClick,l=void 0===a?void 0:a,c=e.data,s=void 0===c?{}:c,u=e.disabled,b=void 0!==u&&u,T=e.onGetItemClass,f=void 0===T?void 0:T,d=e.style,S=void 0===d?{}:d,p=e.attr,y=void 0===p?{}:p,m=e.active,P=void 0!==m&&m,v=e.children;return t().createElement("div",le({"combo-item":"",className:"".concat(i," ").concat(f?f(s):""),onClick:function(){b||P||!l||l(s)},title:o||"",style:S},y,b?{disabled:!0}:{},P?{active:""}:{}),v)};var se=r(179),ue=r.n(se);let be,Te=!1;const fe=()=>(void 0===be&&(be=new(ue())(window.navigator.userAgent),Te=!!be.mobile()&&!be.tablet()),Te),de={wd_large_width:900,wd_middle_width:700,wd_small_width:500,wd_gap:5};function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach(function(t){ye(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ye(e,t,r){return(t=ve(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},me(e)}function Pe(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ve(o.key),o)}}function ve(e){var t=function(e){if("object"!=me(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=me(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==me(t)?t:t+""}var he=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,r=[{key:"margin",value:function(e){var t="object"===me(e);return{left:t?e.left||0:e,right:t?e.right||0:e,top:t?e.top||0:e,bottom:t?e.bottom||0:e}}},{key:"updatePos",value:function(t){var r=t.first,o=void 0!==r&&r,n=t.pos,i=void 0===n?{left:0,top:0,width:0,height:0}:n,a=t.left,l=t.top,c=t.width,s=t.height,u=t.align,b=void 0===u?"stretch":u,T=t.draggable,f=void 0===T||T,d=t.resizable,S=void 0===d||d,p=t.stickTo,y=void 0===p?void 0:p,m=t.stickOffX,P=void 0===m?0:m,v=t.stickOffY,h=void 0===v?0:v,M=t.stickAlign,A=void 0===M?"bottom":M,g=t.margin,O=void 0===g?{left:0,right:0,top:0,bottom:0}:g,G=Z();if("stretch"===b){var w=e.margin(O);return{left:w.left,top:w.top,width:G.width-(w.left+w.right),height:G.height-(w.top+w.bottom)}}if("custom"===b){var C={left:a,top:l,width:c,height:s};return o||(f||S)&&(C=pe(pe({},C),i)),C}if("stickTo"===b){var E=function(e,t=!1){return"string"==typeof e?"#"===e[0]?document.getElementById(e.substring(1)):"."===e[0]?(t||document).getElementsByClassName(e.substring(1))[0]:(t||document).getElementsByTagName(e)[0]:e}("string"==typeof y?"#".concat(y).replace("##","#"):y),B={width:c,height:s};if("bottom"===A){var H=_(E);B.left=H.x+H.w/2-c/2+P,B.top=H.y+H.h+h,B.left+B.width>G.width&&(B.left=G.width-B.width),B.left<0&&(B.left=0),B.top+B.height>G.height&&(B.top=H.y-B.height-h),B.top<0&&(B.top=0)}else if("left"===A){var D=_(E);B.left=D.x+D.w+P,B.top=D.y+h,B.left+B.width>G.width&&(B.left=D.x-B.width-P),B.left<0&&(B.left=0),B.top+B.height>G.height&&(B.top=D.y-B.height),B.top<0&&(B.top=0)}else if("popup"===A){var I=_(E);B.left=I.x+I.w+P,B.top=I.y+h,B.left+B.width>G.width&&(B.left=I.x-B.width-P),B.left<0&&(B.left=0),B.top+B.height>G.height&&(B.top=I.y-B.height),B.top<32&&(B.top=I.y+I.h+h,B.left=I.x+P,B.left+B.width>G.width&&(B.left=G.width-B.width))}else"screen-right-all"===A&&(B.left=G.width-c,B.width=c,B.top=h,B.height=G.height-h);return B}return"center"===b?{left:(G.width-c)/2,top:(G.height-s)/2,width:c,height:s}:{left:10,top:10,width:200,height:200}}},{key:"mobileToObject",value:function(e){if(Z(),"large"===e)return{pos:"center",size:100,width:100};if("middle"===e)return{pos:"center",size:60,width:100};if("small"===e)return{pos:"center",size:40,width:80};if(!1===e)return{pos:!1,size:!1,width:!1};var t=Object.keys(e).find(function(e){return-1!==["center","top","bottom"].indexOf(e)});return{pos:t,size:e[t],width:e.width||100}}},{key:"updatePosMobile",value:function(e,t,r){var o={left:0,top:0,width:0,height:0},n=Z(),i=1*n.width/100;return 100===r||fe()||n.width<de.wd_min_mobile_width?(o.left=i,o.width=n.width-2*i-2):(o.width=n.width*r/100,o.left=(n.width-o.width)/2),o.height=100===t?n.height-2*i-2:n.height*t/100,"center"===e?o.top=100===t?i:(n.height-o.height)/2:"top"===e?o.top=i:"bottom"===e&&(o.top=n.height-o.height-i),o}},{key:"getFooterParam",value:function(e,t,r){var o={key:e,id:void 0,caption:e,onClick:void 0,className:""};return Array.isArray(r)||("function"==typeof r[e]?o.onClick=r[e]:o=pe(pe({},o),r[e])),o[t]}}],null&&Pe(t.prototype,null),r&&Pe(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}();const Me=he;function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach(function(t){Ge(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ge(e,t,r){return(t=function(e){var t=function(e){if("object"!=Ae(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ae(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function we(e){var t=e.left,r=e.top,o=e.width,n=e.height,i=e.mobile,a=e.itemsCount,l=e.itemHeight,c=Z();if(i)return Me.updatePosMobile("center",50,100);var s={left:t,top:r,width:o,height:n};return s.height=Math.max(Math.min(c.height,a*(l+1)+l/2),n),s.top+n+s.height>c.height?s.top>c.height/2?(s.height=Math.min(s.height,s.top)-2,s.top-=s.height+2):(s.top=r+n+1,s.height=c.height-s.top):s.top=r+n+1,s}const Ce=function(e){var r=e.list,o=void 0===r?[]:r,n=e.left,i=void 0===n?0:n,a=e.top,l=void 0===a?0:a,c=e.width,s=void 0===c?100:c,u=e.height,b=void 0===u?100:u,T=e.className,f=void 0===T?"":T,d=e.styleItem,S=void 0===d?{}:d,p=e.aliasId,y=void 0===p?"id":p,m=e.aliasCaption,P=void 0===m?"caption":m,v=e.aliasDisabled,h=void 0===v?"_disabled_":v,M=e.ItemComponent,A=void 0===M?ce:M,g=e.onGetItemClass,O=void 0===g?void 0:g,G=e.onClick,w=void 0===G?void 0:G,C=e.select,E=void 0!==C&&C;return t().createElement("div",{"combo-list":"",className:"".concat(f),style:Oe({},we({left:i,top:l,width:s,height:b,mobile:fe(),itemsCount:o.length,itemHeight:32}))},o.map(function(e){return t().createElement(A,{key:e[y],title:e[P],data:e,onClick:w,onGetItemClass:O,disabled:h in e&&e[h],style:S,active:!1!==E&&"".concat(E)==="".concat(e[y])},e[P])}))};function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Be.apply(null,arguments)}function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function De(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach(function(t){Ie(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ie(e,t,r){return(t=function(e){var t=function(e){if("object"!=Ee(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ee(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function je(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ne(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ne(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Ve(r){var o=r.id,n=r.className,i=void 0===n?Ve.global.className:n,a=r.classList,l=void 0===a?Ve.global.classList:a,c=r.style,s=void 0===c?Ve.global.style:c,u=r.styleOuter,b=void 0===u?{}:u,T=r.styleItem,f=void 0===T?{}:T,d=r.list,S=void 0===d?[]:d,p=r.disabled,y=void 0!==p&&p,m=r.required,P=void 0!==m&&m,v=r.select,h=void 0!==v&&v,M=r.onChange,A=void 0===M?void 0:M,g=r.hideBtnOnSelect,O=void 0!==g&&g,G=r.onGetItemClass,w=void 0===G?Ve.global.onGetItemClass:G,C=r.placeholder,E=void 0===C?Ve.global.placeholder:C,B=r.aliasId,H=void 0===B?Ve.global.aliasId:B,D=r.aliasCaption,I=void 0===D?Ve.global.aliasCaption:D,j=r.aliasDisabled,N=void 0===j?Ve.global.aliasDisabled:j,V=r.ItemComponent,L=void 0===V?Ve.global.ItemComponent:V,k=r.attr,R=void 0===k?{}:k,X=je((0,e.useState)(void 0),2),F=X[0],x=X[1],W=je((0,e.useState)(!1),2),K=W[0],U=W[1],Q=je((0,e.useState)(!1),2),z=Q[0],Y=Q[1],J=je((0,e.useState)(!O),2),q=J[0],$=J[1],ee=je((0,e.useState)(!1),2),te=ee[0],re=ee[1],oe=(0,e.useRef)(null),ne=je((0,e.useState)({left:0,top:0,width:0,height:0}),2),ie=ne[0],le=ne[1];(0,e.useEffect)(function(){if(S&&S.length&&!1!==h){var e=S.find(function(e){return e[H]==h});x(e),U(!!e&&e[I])}else x(void 0),U(!1)},[S,h,H]),(0,e.useEffect)(function(){if(z){var e={left:0,top:0,width:0,height:0},t=_(oe.current);e.left=t.x,e.top=t.y,e.width=t.w,e.height=t.h;var r=Z();e.width>r.width?(e.left=1,e.width=r.width-2):(e.left+e.width>r.width&&(e.left-=e.left+e.width-r.width),e.left<0&&(e.left=0)),le(e)}},[z]);var ce=function(){z&&Y(!1)};return t().createElement(t().Fragment,null,t().createElement("div",Be({combo:""},o?{id:o}:{},{className:"".concat("wd-combo").concat(i?" ".concat(i):""),style:De(De({},Ve.global.style),s),onClick:function(){Y(!z)},ref:oe},y?{disabled:!0}:{tabIndex:"0"},!P||F||te?{}:{required:!0},z?{open:!0}:{},{onMouseMove:function(){O&&$(!0)},onMouseLeave:function(){O&&$(!1)},onFocus:function(){re(!0)},onBlur:function(){re(!1)},onKeyDown:function(e){9===e.keyCode&&ce(),27===e.keyCode&&(ce(),e.preventDefault()),[34,33,40,38,13].indexOf(e.keyCode)>=0&&(Y(!0),e.preventDefault())}},R),t().createElement(L,{title:K||"",onGetItemClass:function(){return w?w(F,!0):""},attr:{state:F?"select":"no-select"},style:b,data:F},K||E||""),t().createElement("div",{style:De({},q||te||!F?{}:{display:"none"})})),!y&&t().createElement(ae,{visible:z,onClickShadow:ce,classShadow:"wd-combo-shadow"},t().createElement(Ce,Be({className:l,styleItem:f,list:S},ie,{aliasId:H,aliasCaption:I,aliasDisabled:N,onClick:function(e){Y(!1),A?A({id:o,data:e}):console.warn("ComboBox.onChange not set, define it..")},onGetItemClass:w,ItemComponent:L,select:h}))))}Ve.global={className:"",classList:"wd-scrollbar",placeholder:"- выбрать -",style:{},ItemComponent:ce,onGetItemClass:void 0,aliasId:"id",aliasCaption:"caption",aliasDisabled:"_disabled_"};const Le=Ve;let ke=0,Re=0;function Xe(){return{x:ke,y:Re}}window.addEventListener("mousemove",function(e){ke=e.clientX,Re=e.clientY});const Fe=()=>Z().width<=de.wd_middle_width;function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},xe.apply(null,arguments)}function We(e){return We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(e)}function Ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ue(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function Qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach(function(t){ze(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ze(e,t,r){return(t=function(e){var t=function(e){if("object"!=We(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=We(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==We(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ye(r){var o=this,n=r.id,i=r.visible,a=void 0===i||i,l=r.onClickHeaderClose,c=void 0===l?void 0:l,s=r.onClickShadow,u=void 0===s?void 0:s,b=r.onClickFooterBtn,T=void 0===b?void 0:b,f=r.header,d=void 0!==f&&f,S=r.footer,p=void 0===S?void 0:S,m=r.align,P=void 0===m?"stretch":m,v=r.stickTo,h=void 0===v?void 0:v,M=r.stickAlign,A=void 0===M?"bottom":M,g=r.stickOffX,O=void 0===g?0:g,G=r.stickOffY,w=void 0===G?0:G,C=r.margin,E=void 0===C?50:C,B=r.left,H=void 0===B?Ye.global.left:B,D=r.top,I=void 0===D?Ye.global.top:D,j=r.width,N=void 0===j?Ye.global.width:j,V=r.height,L=void 0===V?Ye.global.height:V,k=r.mobile,R=void 0===k?"small":k,X=r.classShadow,F=void 0===X?ae.global.classShadow:X,x=r.enableShadow,W=void 0===x||x,K=r.draggable,U=void 0===K||K,Q=r.resizable,z=void 0!==Q&&Q,Y=r.className,Z=void 0===Y?Ye.global.className:Y,J=r.style,q=void 0===J?Qe({},Ye.global.style):J,$=r.attr,ee=void 0===$?{}:$,te=r.children,re=Ke((0,e.useState)({left:H,top:I}),2),oe=re[0],ne=re[1],ie=Ke((0,e.useState)({width:N,height:L}),2),le=ie[0],ce=ie[1],se=Ke((0,e.useState)(!1),2),ue=se[0],be=se[1],Te=Ke((0,e.useState)({x:0,y:0}),2),fe=Te[0],de=Te[1],Se=Ke((0,e.useState)(!1),2),pe=Se[0],ye=Se[1],me=Ke((0,e.useState)(Fe()),2),Pe=me[0],ve=me[1],he=Ke((0,e.useState)("hidden"),2),Ae=he[0],ge=he[1],Oe=(0,e.useRef)(),Ge=[];return Array.isArray(p)?Ge=p:"object"===We(p)&&(Ge=Object.keys(p)),(0,e.useEffect)(function(){var e,t=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=Fe();if(ve(r),!1!==R&&r){var o=Me.mobileToObject(R);e=Me.updatePosMobile(o.pos,o.size,o.width),ne({left:e.left,top:e.top}),ce({width:e.width,height:e.height})}else pe||(e=Me.updatePos({first:t,pos:Qe(Qe({},oe),le),left:H,top:I,width:N,height:L,align:P,stickTo:h,stickOffX:O,stickOffY:w,stickAlign:A,margin:E}),ne({left:e.left,top:e.top}),ce({width:e.width,height:e.height}))},r=(e=t,window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)});return t(!0),function(){r()}},[a,H,I,N,L,P,h,O,w,A,pe]),(0,e.useEffect)(function(){var e=function(){if(a)if("resize"===ue){var e=Xe();ce({width:e.x+fe.x,height:e.y+fe.y})}else if("move"===ue){var t=Xe();ne({left:t.x-fe.x,top:t.y-fe.y})}},t=function(){be(!1)};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),function(){window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[a,ue,fe]),(0,e.useEffect)(function(){a?"hidden"===Ae&&ge("visible"):"visible"===Ae&&ge("hidden")},[a,oe]),t().createElement(ae,{id:n,visible:a,classShadow:F,enableShadow:W,onClickShadow:u},t().createElement(t().Fragment,null,t().createElement("div",xe({style:Qe(Qe(Qe(Qe(Qe({},Ye.global.style),q),oe),le),{},{visibility:Ae}),className:"".concat("wd-modal-dialog").concat(Z?" ".concat(Z):""),onMouseDown:function(e){var t=e.button;if(("custom"===P||"stickTo"===P)&&U&&0===t){var r=Xe(),o=!0;if("header"===U)if(Oe.current){var n=_(Oe.current);o=r.x>=n.x&&r.x<=n.x+n.w&&r.y>=n.y&&r.y<=n.y+n.h}else o=!1;o&&(de({x:r.x-oe.left,y:r.y-oe.top}),be("move"),pe||ye(!0))}}},ee),d&&t().createElement("div",{"dialog-header":"",ref:Oe},t().createElement("div",{"dialog-caption":""},d),c&&t().createElement("div",{"dialog-close-btn":"",onClick:c},"✖")),t().createElement("div",{"dialog-content":""},te),Ge.length>0&&t().createElement("div",{"dialog-footer":""},Ge.map(function(e){return t().createElement(y,{id:Me.getFooterParam(e,"id",p),key:e,onClick:function(){return function(e){var t=Me.getFooterParam(e,"onClick",p);t?t({sender:o,key:e}):T&&T({sender:o,key:e})}(e)},className:Me.getFooterParam(e,"className",p)},Me.getFooterParam(e,"caption",p))}))),z&&!Pe&&t().createElement("div",{"dialog-resize":"",style:{left:oe.left+le.width,top:oe.top+le.height}},t().createElement("div",{onMouseDown:function(){var e=Xe();de({x:le.width-e.x,y:le.height-e.y}),be("resize"),pe||ye(!0)}}))))}Ye.global={className:"wd-dialog-slide-from-top",classShadow:"wd-shadow",style:{},left:0,top:0,width:400,height:100};const Ze=Ye;function Je(e){return Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Je(e)}function qe(){return qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},qe.apply(null,arguments)}function $e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(r),!0).forEach(function(t){tt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$e(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function tt(e,t,r){return(t=function(e){var t=function(e){if("object"!=Je(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Je(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Je(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rt(e){var r=e.src,o=e.icon,n=e.path,i=e.className,a=void 0===i?rt.global.className:i,l=e.onClick,c=void 0===l?void 0:l,s=e.style,u=void 0===s?rt.global.style:s,b=e.icons,T=void 0===b?rt.global.icons:b,f=e.attr,d=void 0===f?{}:f;return t().createElement("img",qe({src:r||n||!(!T[o]||!T[o].src)&&T[o].src||!(!T[o]||!T[o].path)&&T[o].path||"",className:"wd-icon"+(a?" ".concat(a):"")+(T[o]&&T[o].className?" ".concat(T[o].className):""),onClick:c,style:et({},u)},d))}function ot(e){return ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ot(e)}function nt(){return nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},nt.apply(null,arguments)}function it(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function at(e,t,r){return(t=function(e){var t=function(e){if("object"!=ot(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ot(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ot(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}rt.global={icons:{},className:"",style:{}};const lt=function(e){var r=e.data,o=void 0===r?[]:r,n=e.fieldName,i=e.caption,a=e.title,l=e.onClick,c=e.attrs,s=void 0!==c&&c,u=e.width,b=void 0===u?void 0:u;return t().createElement("th",nt({id:n,onClick:function(){l&&l({fieldName:n,caption:i,data:o})}},a?{title:a}:{},s?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?it(Object(r),!0).forEach(function(t){at(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):it(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},s):{},b?{style:{width:b}}:{}),i)};function ct(e){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ct(e)}function st(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?st(Object(r),!0).forEach(function(t){bt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function bt(e,t,r){return(t=function(e){var t=function(e){if("object"!=ct(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ct(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ct(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Tt=function(e){var r=e.data,o=void 0===r?[]:r,n=e.fields,i=void 0===n?[]:n,a=e.header,l=e.onClick,c=e.aliasAttr,s=void 0===c?"":c;return t().createElement("thead",null,t().createElement("tr",null,!0===a&&i.map(function(e,r){return t().createElement(lt,{key:"".concat(e.name,"-").concat(r),data:o,fieldName:e.name,caption:e.caption,title:e.title,onClick:l,attrs:ut({},e[s]?ut({},e[s]):{}),width:e.width})}),"string"==typeof a&&t().createElement("th",{colSpan:i.length},a)))};function ft(e){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ft(e)}function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},dt.apply(null,arguments)}function St(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function pt(e,t,r){return(t=function(e){var t=function(e){if("object"!=ft(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ft(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ft(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const yt=function(e){var r=e.data,o=void 0===r?[]:r,n=e.row,i=void 0===n?{}:n,a=e.fieldName,l=e.value,c=e.onClick,s=e.onDoubleClick,u=e.onMouseUp,b=e.onDraw,T=e.aliasId,f=e.attrs,d=e.width,S=e.disableContextMenu;return t().createElement("td",dt({onClick:function(){c&&c({col:a,value:l,row:i,data:o,aliasId:T})},onMouseUp:function(e){u&&u({col:a,value:l,row:i,data:o,aliasId:T,event:e})},onDoubleClick:function(){s&&s({col:a,value:l,row:i,data:o,aliasId:T})},id:a},f?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?St(Object(r),!0).forEach(function(t){pt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):St(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},f):{},d?{style:{width:d}}:{},{onContextMenu:S?function(e){return e.preventDefault(),!1}:void 0}),b?b({sender:"td",col:a,value:l,row:i,data:o,aliasId:T}):l)};function mt(e){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(e)}function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach(function(t){ht(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ht(e,t,r){return(t=function(e){var t=function(e){if("object"!=mt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=mt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mt(){return Mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Mt.apply(null,arguments)}const At=function(e){var r=e.row,o=void 0===r?{}:r,n=e.data,i=void 0===n?[]:n,a=e.fields,l=void 0===a?[]:a,c=e.onClick,s=e.onDoubleClick,u=e.onMouseUp,b=e.onDraw,T=e.select,f=void 0!==T&&T,d=e.aliasId,S=e.aliasAttr,p=e.aliasSep,y=e.disableContextMenu;return t().createElement(t().Fragment,null,p in o&&t().createElement("tr",Mt({},d in o?{id:o[d]}:{},o[S],{sep:""}),t().createElement("td",{colSpan:l.length},o[p])),!(p in o)&&t().createElement("tr",Mt({},d in o?{id:o[d]}:{},f?{select:""}:{},o[S]),l.map(function(e,r){return t().createElement(yt,{key:e.name,data:i,row:o,fieldName:e.name,value:o[e.name],onClick:c,onDoubleClick:s,onMouseUp:u,onDraw:b,aliasId:d,attrs:vt({},e[S]?vt({},e[S]):{}),width:e.width,disableContextMenu:y})})))},gt=function(e){var r=e.data,o=void 0===r?[]:r,n=e.fields,i=void 0===n?[]:n,a=e.aliasId,l=void 0===a?"ID":a,c=e.aliasAttr,s=void 0===c?"-attr-":c,u=e.aliasSep,b=void 0===u?"-sep-":u,T=e.noData,f=void 0===T?"no data":T,d=e.footer,S=void 0===d?"end":d,p=e.select,y=void 0===p?[]:p,m=e.onClick,P=e.onDoubleClick,v=e.onMouseUp,h=e.onDraw,M=e.disableContextMenu,A=Array.isArray(o)&&o.length>0;return t().createElement("tbody",null,A&&o.map(function(e,r){return t().createElement(At,{key:l in e?e[l]:r,data:o,row:e,fields:i,select:l in e&&y.findIndex(function(t){return"".concat(t)==="".concat(e[l])})>-1,onClick:m,onDoubleClick:P,onMouseUp:v,onDraw:h,aliasId:l,aliasAttr:s,aliasSep:b,disableContextMenu:M})}),!A&&!1!==f&&t().createElement("tr",null,t().createElement("td",{nodata:"",colSpan:i.length},f)),A&&!1!==S&&t().createElement("tr",null,t().createElement("td",{footer:"",colSpan:i.length},S)))};function Ot(e){return Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot(e)}function Gt(){return Gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Gt.apply(null,arguments)}function wt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function Ct(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(r),!0).forEach(function(t){Et(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Et(e,t,r){return(t=function(e){var t=function(e){if("object"!=Ot(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Ot(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ot(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=(0,e.forwardRef)(function(e,r){var o=e.id,n=e.className,i=void 0===n?Bt.global.className:n,a=e.aliasId,l=void 0===a?Bt.global.aliasId:a,c=e.aliasAttr,s=void 0===c?Bt.global.aliasAttr:c,u=e.aliasSep,b=void 0===u?Bt.global.aliasSep:u,T=e.data,f=void 0===T?[]:T,d=e.fields,S=void 0===d?[]:d,p=e.header,y=void 0===p||p,m=e.noData,P=void 0===m?Bt.global.noData:m,v=e.footer,h=void 0===v?Bt.global.footer:v,M=e.select,A=void 0===M?[]:M,g=e.style,O=void 0===g?Ct({},Bt.global.style):g,G=e.onClick,w=void 0===G?void 0:G,C=e.onDoubleClick,E=void 0===C?void 0:C,B=e.onMouseUp,H=void 0===B?void 0:B,D=e.onDraw,I=void 0===D?void 0:D,j=e.disableContextMenu,N=void 0===j?void 0:j,V=e.attr,L=void 0===V?{}:V;return t().createElement("table",Gt({ref:r,className:"".concat("wd-table").concat(i?" ".concat(i):"")},o?{id:o}:{},{style:Ct(Ct({},Bt.global.style),O)},L),!1!==y&&t().createElement(Tt,{fields:S,header:y,aliasAttr:s}),t().createElement(gt,{data:f,fields:S,aliasId:l,aliasAttr:s,aliasSep:b,noData:P,footer:h,select:A,onClick:w,onDoubleClick:E,onMouseUp:H,onDraw:I,disableContextMenu:N}))});Bt.global={className:"",aliasId:"ID",aliasAttr:"-attr-",aliasSep:"-sep-",header:!0,noData:"no data",footer:"end",style:{}};const Ht=Bt;function Dt(e){return Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dt(e)}function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},It.apply(null,arguments)}function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function Nt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach(function(t){Vt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Vt(e,t,r){return(t=function(e){var t=function(e){if("object"!=Dt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Dt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lt(e){var r=e.id,o=e.className,n=void 0===o?Lt.global.className:o,i=e.style,a=void 0===i?Lt.global.style:i,l=e.caption,c=void 0===l?"":l,s=e.attr,u=void 0===s?{}:s,b=e.children;return t().createElement("div",It({group:""},r?{id:r}:{},{className:"".concat("wd-group").concat(n?" ".concat(n):""),style:Nt(Nt({},Lt.global.style),a)},u),c&&t().createElement("div",{caption:""},c),t().createElement("div",{content:""},b))}Lt.global={className:"",style:{}};const kt=Lt;function Rt(e){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rt(e)}function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Xt.apply(null,arguments)}function Ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(r),!0).forEach(function(t){Wt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ft(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Wt(e,t,r){return(t=function(e){var t=function(e){if("object"!=Rt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Rt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kt(e){var r=e.value,o=void 0===r?"":r,n=e.className,i=void 0===n?Kt.global.className:n,a=e.style,l=void 0===a?Kt.global.className:a,c=e.attr,s=void 0===c?{}:c,u=e.children;return t().createElement("div",Xt({className:"".concat("wd-static-text").concat(i?" ".concat(i):""),style:xt(xt({},Kt.global.style),l)},s),o||u)}Kt.global={className:"",style:{}};const Ut=Kt;function _t(e){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(e)}function Qt(){return Qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Qt.apply(null,arguments)}function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(r),!0).forEach(function(t){Zt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Zt(e,t,r){return(t=function(e){var t=function(e){if("object"!=_t(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=_t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_t(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function $t(r){var o=r.className,n=r.currentClass,i=Jt((0,e.useState)(!1),2),a=i[0],l=i[1],c=Jt((0,e.useState)(0),2),s=(c[0],c[1]),u=Jt((0,e.useState)(0),2),b=(u[0],u[1]),T=(0,e.useRef)();(0,e.useEffect)(function(){var e=new ResizeObserver(function(){if(T.current){var e=_(T.current);b(e.y),s(e.x),l(T.current.clientWidth)}});return e.observe(T.current),function(){e.disconnect()}},[T]);var f={fontSize:"0.8rem",color:"white",backgroundColor:"#993d3c"};return t().createElement(t().Fragment,null,t().createElement("div",{ref:T,style:Yt(Yt({},f),{},{position:"relative",textAlign:"center",paddingTop:3,paddingBottom:3,borderRadius:12})},"w:",a," class:"," ".concat(o," ").concat(n)),t().createElement("div",{style:Yt(Yt({},f),{},{padding:10,left:10,top:10,position:"absolute",zIndex:1e3})},t().createElement("div",null,"w:",a),t().createElement("div",null,"class:"," ".concat(o," ").concat(n))))}const er=(0,e.forwardRef)(function(r,o){var n=r.id,i=void 0!==n&&n,a=r.className,l=void 0===a?"":a,c=r.rules,s=void 0===c?[]:c,u=r.debug,b=void 0!==u&&u,T=r.onResize,f=void 0===T?void 0:T,d=r.children,S=o||(0,e.useRef)(),p=Jt((0,e.useState)(""),2),y=p[0],m=p[1],P=Jt((0,e.useState)(0),2),v=P[0],h=P[1];return(0,e.useEffect)(function(){var e=new ResizeObserver(function(){if(S.current){var e=S.current.clientWidth,t=!1;if("function"==typeof s)t=s({width:e});else for(var r=0;r<s.length;r++){var o=s[r],n=r<s.length-1&&s[r+1];if(o.width<=e&&(!n||e<n.width)){t=o.className;break}}!1!==t&&m(t),h(1),f&&f({width:e})}});return e.observe(S.current),function(){e.disconnect()}},[S,f]),t().createElement("div",Qt({},i?{id:i}:{},{ref:S},l||y?{className:"".concat(l," ").concat(y)}:"",{style:Yt({opacity:v},b?{border:"1px dashed #993d3c"}:{})}),b?t().createElement($t,{currentClass:y,className:l}):void 0,d)});function tr(e){return tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tr(e)}function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},rr.apply(null,arguments)}function or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?or(Object(r),!0).forEach(function(t){ir(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):or(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ir(e,t,r){return(t=function(e){var t=function(e){if("object"!=tr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=tr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ar(e){var r=e.count,o=e.className,n=void 0===o?ar.global.className:o,i=e.style,a=void 0===i?ar.global.style:i,l=e.attr,c=void 0===l?{}:l,s=e.onClick,u=void 0===s?void 0:s,b=e.onDoubleClick,T=void 0===b?void 0:b,f=e.children;return t().createElement("div",rr({gap:""},n?{className:"".concat(n)}:{},{style:nr(nr({},ar.global.style),a)},c,{onClick:u,onDoubleClick:T}),Array(r).fill("").map(function(e,r){return t().createElement("div",{key:r,gap:""})}),f)}ar.global={className:"",style:{}};const lr=ar;function cr(e){return cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cr(e)}function sr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function ur(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(r),!0).forEach(function(t){br(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function br(e,t,r){return(t=function(e){var t=function(e){if("object"!=cr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=cr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tr(e){var r=e.caption,o=e.level,n=e.childs,i=e.className,a=void 0===i?Tr.global.className:i,l=e.active,c=void 0!==l&&l,s=e.expand,u=void 0!==s&&s,b=e.onClick,T=void 0===b?void 0:b,f=e.onDoubleClick,d=void 0===f?void 0:f;return t().createElement(lr,{count:o,className:"".concat(a," "),attr:ur(ur({},c?{active:""}:{}),u?{expand:""}:{}),onClick:T,onDoubleClick:d},t().createElement("div",{caption:""},r),n&&n.length>0&&t().createElement("div",{icon:""}))}function fr(e,t=fr.global.type){if("bounding"===t){const t=e.getBoundingClientRect();return{width:t.width,height:t.height}}return"offset"===t?{width:e.offsetWidth,height:e.offsetHeight}:{width:e.clientWidth,height:e.clientHeight}}Tr.global={className:"wd-list-item"},fr.global={type:"bounding"};const dr=fr,Sr=new class{constructor(){this.startTime=(new Date).getTime()}time(){return(new Date).getTime()}sec(){return this.millisec()/1e3}millisec(){return this.time()-this.startTime}step({onStart:e,onStep:t,onStop:r,timeMSec:o=1e3,deltaMSec:n=10,changeParams:i={}}){const a=this.millisec(),l=a+o;let c=a;const s={},u=Object.keys(i);u.map(e=>{s[e]=i[e].from}),e&&e(s),t&&t(s);const b=setInterval(()=>{c=this.millisec(),u.map(e=>{s[e]=c>=l?i[e].to:function(e,t,r,o,n){return r-t===0?0:(n*(e-t)+o*(r-e))/(r-t)}(c,a,l,i[e].from,i[e].to)}),t&&t(s),c>=l&&(r&&r(s),clearInterval(b))},n)}},pr=Sr;function yr(e){return yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yr(e)}function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},mr.apply(null,arguments)}function Pr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pr(Object(r),!0).forEach(function(t){hr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function hr(e,t,r){return(t=function(e){var t=function(e){if("object"!=yr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=yr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ar(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ar(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function gr(r){var o=r.className,n=void 0===o?gr.global.className:o,i=r.style,a=void 0===i?gr.global.style:i,l=r.expand,c=void 0===l||l,s=r.delay,u=void 0===s?gr.global.delay:s,b=r.attr,T=void 0===b?{}:b,f=r.children,d=(0,e.useRef)(null),S=Mr((0,e.useState)("fixed"),2),p=S[0],y=S[1],m=Mr((0,e.useState)(!1),2),P=m[0],v=m[1];(0,e.useEffect)(function(){d&&d.current&&function({dom:e,close:t=!0,delay:r=100,step:o=10,onStart:n,onStop:i}){const a=(t=!1)=>{if(!1===t)return parseInt(dr(e).height,10);e.style.height="auto"===t?"auto":`${t}px`},l=a();new Promise((e,c)=>{pr.step({onStart(){n&&n()},onStep(e){a(e.height)},onStop(t){a(t.height),t.height>0&&a("auto"),i&&i(),e()},timeMSec:r,deltaMSec:o,changeParams:{height:{from:t?l:0,to:t?0:l}}})})}(c?{dom:d.current,close:!1,onStart:function(){y(!1),v(!0)},delay:u}:{dom:d.current,close:!0,delay:u,onStop:function(){v(!1),y("fixed")}})},[c,d,u]);var h="".concat(n);return t().createElement(t().Fragment,null,(c||P)&&t().createElement("div",mr({ref:d},h?{className:h}:{},{style:vr(vr(vr({},gr.global.style),a),p?{position:p,opacity:0}:{})},T),f))}function Or(e){var r=e.list,o=e.aliasChilds,n=e.aliasId,i=e.aliasCaption,a=e.setup,l=e.ItemComponent,c=e.onClick,s=e.onDoubleClick,u=e.level,b=void 0===u?0:u;return t().createElement(t().Fragment,null,r.map(function(e){var r=e[o]||[],u="".concat(e[n]),T=!(!(u in a)||!a[u].active),f=!(!(u in a)||!a[u].expand);return t().createElement("div",{"list-node":"",key:u,id:u},t().createElement(l,{id:u,caption:e[i],level:b,data:e,childs:e[o],active:T,expand:f,onClick:c?function(){c(e)}:void 0,onDoubleClick:s?function(){s(e)}:void 0}),r.length>0&&t().createElement(gr,{expand:f,attr:{list:""}},t().createElement(Or,{"list-node":"",level:b+1,list:r,ItemComponent:l,aliasId:n,aliasCaption:i,aliasChilds:o,setup:a,onClick:c,onDoubleClick:s})))}))}function Gr(e){return Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gr(e)}function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},wr.apply(null,arguments)}function Cr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function Er(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(r),!0).forEach(function(t){Br(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Br(e,t,r){return(t=function(e){var t=function(e){if("object"!=Gr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Gr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hr(e){var r=e.id,o=void 0===r?void 0:r,n=e.className,i=void 0===n?Hr.global.className:n,a=e.style,l=void 0===a?Hr.global.style:a,c=e.list,s=void 0===c?[]:c,u=e.ItemComponent,b=void 0===u?Hr.global.ItemComponent:u,T=e.aliasId,f=void 0===T?Hr.global.aliasId:T,d=e.aliasCaption,S=void 0===d?Hr.global.aliasCaption:d,p=e.aliasChilds,y=void 0===p?Hr.global.aliasChilds:p,m=e.attr,P=void 0===m?{}:m,v=e.setup,h=void 0===v?{}:v,M=e.onClick,A=void 0===M?void 0:M,g=e.onDoubleClick,O=void 0===g?void 0:g;return t().createElement("div",wr({},o?{id:o}:{},{className:"".concat("wd-list").concat(i?" ".concat(i):""),style:Er(Er({},Hr.global.style),l)},P),t().createElement(Or,{list:s,aliasChilds:y,aliasId:f,aliasCaption:S,setup:h,ItemComponent:b,onClick:A,onDoubleClick:O}))}gr.global={className:"",style:{},delay:100},Or.global={},Hr.global={className:"",style:{},ItemComponent:Tr,aliasId:"id",aliasCaption:"caption",aliasChilds:"childs"};const Dr=Hr,Ir=function(e){var r=e.cols,o=void 0===r?[]:r;return t().createElement(t().Fragment,null,o.map(function(e,r){return t().createElement(t().Fragment,{key:r},e)}))},jr=function(e){var r=e.row;return t().createElement("div",null,t().createElement(Ir,{cols:r}))};function Nr(e){return Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nr(e)}function Vr(){return Vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Vr.apply(null,arguments)}function Lr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function kr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function Rr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(r),!0).forEach(function(t){Xr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Xr(e,t,r){return(t=function(e){var t=function(e){if("object"!=Nr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Nr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Nr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fr(r){var o,n,i=r.maxCol,a=void 0===i?3:i,l=r.RowComponent,c=void 0===l?jr:l,s=r.className,u=void 0===s?"":s,b=r.style,T=void 0===b?Rr({},Fr.global.style):b,f=r.attr,d=void 0===f?{}:f,S=r.children,p=(o=(0,e.useState)([]),n=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}(o,n)||function(e,t){if(e){if("string"==typeof e)return Lr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lr(e,t):void 0}}(o,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=p[0],m=p[1];return(0,e.useEffect)(function(){if(S){var e=[];(S.map?S:[S]).map(function(t,r){r%a===0&&e.push([]),e[e.length-1].push(t)}),m(e)}},[S]),t().createElement("div",Vr({className:"".concat(Fr.global.className," ").concat(u),style:Rr(Rr({},Fr.global.style),T)},d),y.map(function(e,r){return t().createElement(c,{key:r,row:e})}))}Fr.global={className:"wd-container",addClass:"",style:{}};const xr={Edit:b,Btn:y,BtnIcon:g,CheckBox:H,Label:k,Text:U,ComboBox:Le,Modal:ae,ModalDialog:Ze,Icon:rt,Table:Ht,Group:kt,StaticText:Ut,OnResize:er,List:Dr,Container:Fr};var Wr=b,Kr=y,Ur=g,_r=H,Qr=k,zr=U,Yr=Le,Zr=ae,Jr=Ze,qr=rt,$r=Ht,eo=kt,to=Ut,ro=er,oo=Dr,no=Fr})(),module.exports=o})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmihel-windeco-components",
3
- "version": "2.0.0-beta.61",
3
+ "version": "2.0.0-beta.62",
4
4
  "description": "components for orders windeco",
5
5
  "main": "dist/windeco-components.js",
6
6
  "scripts": {
@@ -1,191 +1,200 @@
1
1
  @use "sass:map";
2
- @use 'sass:meta';
2
+ @use "sass:meta";
3
3
  @use "sass:color";
4
4
  @use "sass:list";
5
- @use './define/defineThemeVars.scss';
6
-
7
-
8
-
9
- $defaults:(
10
- 'primary':#0D6EFD,
11
- 'secondary':#868e94,
12
- 'success':#008b14,
13
- 'danger':#C32F3D,
14
- 'warning':#FF8A00,
15
- 'info':#2C7BE5,
16
- 'light':#EDF2F9,
17
- 'dark':#0B1727,
18
-
19
- 'red':#ff0000,
20
- 'green':#008b14,
21
- 'blue':#0D6EFD,
22
- 'white':#FFFFFF,
23
- 'black':#000000,
24
- 'gray':#808080,
25
- 'orange':#FF8A00,
26
-
27
- 'bg':#F5F7FA,
28
- 'color':#5E6E82,
29
- 'color-high':#282f38,
30
- 'color-down':#e8edf3,
31
-
32
- 'size':32px,
33
- 'gap':5px,
34
- 'margin':2px,
35
- 'padding':2px,
36
- 'radius':0.25rem,
37
- 'font-size':14px,
38
- 'font-family':font-family('verdana'),
39
- 'outline-width':2px,
40
-
41
- 'hovering':0.95,
42
-
43
- 'highlight':#2C7BE5,
44
- 'high':#fdfdfd,
45
- 'label':#5E6E82,
46
- 'border':#CBD0DD,
47
- 'outline':#CADEF8,
48
- 'hover':#d9e0eb,
49
- 'hover-color':#73777e,
50
- 'select':#2C7BE5,
51
- 'select-color':#FFFFFF,
52
- 'header':#dee5ef,
53
- 'deep':#FFFFFF,
54
- 'transparent':rgba(0, 0, 0, 0),
5
+ @use "./define/defineThemeVars.scss";
6
+
7
+ $defaults: (
8
+ "primary": #0d6efd,
9
+ "secondary": #868e94,
10
+ "success": #008b14,
11
+ "danger": #c32f3d,
12
+ "warning": #ff8a00,
13
+ "info": #2c7be5,
14
+ "light": #edf2f9,
15
+ "dark": #0b1727,
16
+
17
+ "red": #ff0000,
18
+ "green": #008b14,
19
+ "blue": #0d6efd,
20
+ "white": #ffffff,
21
+ "black": #000000,
22
+ "gray": #808080,
23
+ "orange": #ff8a00,
24
+
25
+ "bg": #f5f7fa,
26
+ "color": #5e6e82,
27
+ "color-high": #282f38,
28
+ "color-down": #e8edf3,
29
+
30
+ "size": 32px,
31
+ "gap": 5px,
32
+ "margin": 2px,
33
+ "padding": 2px,
34
+ "radius": 0.25rem,
35
+ "font-size": 14px,
36
+ "font-family": font-family("verdana"),
37
+ "outline-width": 2px,
38
+
39
+ "hovering": 0.95,
40
+
41
+ "highlight": #2c7be5,
42
+ "high": #fdfdfd,
43
+ "label": #5e6e82,
44
+ "border": #cbd0dd,
45
+ "outline": #cadef8,
46
+ "hover": #d9e0eb,
47
+ "hover-color": #73777e,
48
+ "select": #2c7be5,
49
+ "select-color": #ffffff,
50
+ "header": #dee5ef,
51
+ "deep": #ffffff,
52
+ "transparent": rgba(0, 0, 0, 0),
55
53
  //'block':#F5F7FA,
56
- 'block':#FDFDFD,
57
-
58
- 'alert':#ff0000,
59
- 'url':#2C7BE5,
60
-
61
- 'toggle':#e9edf1,
62
- 'group':#F5F7FA,
63
-
64
- 'colors-to-rgb':(
65
- 'primary',
66
- 'secondary',
67
- 'success',
68
- 'danger',
69
- 'warning',
70
- 'info',
71
- 'light',
72
- 'dark',
73
-
74
- 'red',
75
- 'green',
76
- 'blue',
77
- 'white',
78
- 'black',
79
- 'gray',
80
- 'orange',
81
- 'color',
82
- 'bg',
83
- 'border'
54
+ "block": #fdfdfd,
55
+
56
+ "alert": #ff0000,
57
+ "url": #2c7be5,
58
+
59
+ "toggle": #e9edf1,
60
+ "group": #f5f7fa,
61
+
62
+ "colors-to-rgb": (
63
+ "primary",
64
+ "secondary",
65
+ "success",
66
+ "danger",
67
+ "warning",
68
+ "info",
69
+ "light",
70
+ "dark",
71
+ "red",
72
+ "green",
73
+ "blue",
74
+ "white",
75
+ "black",
76
+ "gray",
77
+ "orange",
78
+ "color",
79
+ "bg",
80
+ "border"
84
81
  )
85
82
  );
86
83
 
87
- $wd-default-theme:'light';
88
- $global-themes-vars:();
84
+ $wd-default-theme: "light";
85
+ $global-themes-vars: ();
89
86
 
90
-
91
- @mixin defineThemeVars($maps:(),$theme:$wd-default-theme){
92
- $themeVars:();
87
+ @mixin defineThemeVars($maps: (), $theme: $wd-default-theme) {
88
+ $themeVars: ();
93
89
  //@debug $theme , $wd-default-theme;
94
- @each $varName,$defaultValue in $defaults{
95
-
96
- @if ($varName != 'colors-to-rgb'){
97
- $value:if(map.has-key($map: $maps, $key: $varName),#{map.get($map: $maps, $key:$varName )},#{$defaultValue});
98
-
99
- @if($theme == $wd-default-theme or #{$value} != #{$defaultValue}){
90
+ @each $varName, $defaultValue in $defaults {
91
+ @if ($varName != "colors-to-rgb") {
92
+ // $value:if(map.has-key($map: $maps, $key: $varName),#{map.get($map: $maps, $key:$varName )},#{$defaultValue});
93
+ $value: if(
94
+ sass(
95
+ map.has-key(
96
+ $map: $maps,
97
+ $key: $varName
98
+ )
99
+ ): #{map.get(
100
+ $map: $maps,
101
+ $key: $varName
102
+ )};
103
+ else: #{$defaultValue}
104
+ );
105
+
106
+ @if ($theme == $wd-default-theme or #{$value} != #{$defaultValue}) {
100
107
  //@debug $varName, $value, $defaultValue, $theme == $wd-default-theme ,'or', $value != $defaultValue;
101
- --v2-wd-#{$varName}:#{$value};
108
+ --v2-wd-#{$varName}: #{$value};
102
109
  }
103
- $themeVars:map.merge($themeVars,(#{$varName}:$value));
104
- };
105
- };
106
-
107
-
110
+ $themeVars: map.merge($themeVars, (#{$varName}: $value));
111
+ }
112
+ }
108
113
 
109
- $colors:();
114
+ $colors: ();
110
115
  // @if (map-has-key($map: $defaults, $key:'colors-to-rgb' )){
111
- @if (map.has-key($map: $defaults, $key:'colors-to-rgb' )){
112
- $colors:list.join($colors,map.get($map:$defaults,$key:'colors-to-rgb'));
116
+ @if (map.has-key($map: $defaults, $key: "colors-to-rgb")) {
117
+ $colors: list.join(
118
+ $colors,
119
+ map.get(
120
+ $map: $defaults,
121
+ $key: "colors-to-rgb"
122
+ )
123
+ );
113
124
  }
114
125
 
115
- @if (map.has-key($map: $maps, $key:'colors-to-rgb' )){
116
- $colors:list.join($colors,map-get($map:$maps,$key:'colors-to-rgb'));
126
+ @if (map.has-key($map: $maps, $key: "colors-to-rgb")) {
127
+ $colors: list.join(
128
+ $colors,
129
+ map-get(
130
+ $map: $maps,
131
+ $key: "colors-to-rgb"
132
+ )
133
+ );
117
134
  }
118
135
 
119
136
  //@debug $colors;
120
137
 
121
- @each $varName in $colors{
122
- $acolor:map.get($map:$defaults, $key:$varName );
123
- @if (map.has-key($map:$maps,$key:$varName)){
124
- $acolor:map.get($map:$maps, $key:$varName );
138
+ @each $varName in $colors {
139
+ $acolor: map.get(
140
+ $map: $defaults,
141
+ $key: $varName
142
+ );
143
+ @if (map.has-key($map: $maps, $key: $varName)) {
144
+ $acolor: map.get(
145
+ $map: $maps,
146
+ $key: $varName
147
+ );
125
148
  }
126
-
127
-
128
- $r:color.channel($acolor, "red", $space: rgb);
129
- $g:color.channel($acolor, "green", $space: rgb);
130
- $b:color.channel($acolor, "blue", $space: rgb);
149
+
150
+ $r: color.channel($acolor, "red", $space: rgb);
151
+ $g: color.channel($acolor, "green", $space: rgb);
152
+ $b: color.channel($acolor, "blue", $space: rgb);
131
153
  // $r:color.red($acolor);
132
154
  // $g:color.green($acolor);
133
155
  // $b:color.blue($acolor);
134
156
  //--wd-#{$key}:#{meta.inspect($acolor)};
135
- --v2-wd-#{$varName}-rgb:#{meta.inspect($r)},#{meta.inspect($g)},#{meta.inspect($b)} ;
157
+ --v2-wd-#{$varName}-rgb: #{meta.inspect($r)}, #{meta.inspect($g)}, #{meta.inspect($b)};
136
158
  }
137
159
 
138
- $global-themes-vars:map.merge($global-themes-vars,(#{$theme}:$themeVars)) !global;
160
+ $global-themes-vars: map.merge($global-themes-vars, (#{$theme}: $themeVars)) !global;
139
161
  }
140
162
 
141
-
142
- // define default theme
143
- :root {
163
+ // define default theme
164
+ :root {
144
165
  @include defineThemeVars();
145
-
146
- --v2-wd-tick:url(#{'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAATklEQVR4nO3OMQoAIAwEwXtn/uV7tVFIocRCI8JOHbInAQDwkSrJNu6s3x41nkYjdu+ujLgajyIp8VUsNT4bkR4fiouX7Lgf8SwOADiiAWpFIUWn1ypTAAAAAElFTkSuQmCC'});
147
- --v2-wd-cross:url(#{'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAx1JREFUaEPtmctqFUEQhk8UQXQrBNyoSNDHSOIyCzXeYjAG4y0ggs/hQgkR7xBwkbhQokZ0Iah5Cm8bXai4NLt4Af9fpg+dTt+qpjsQcaBIONNd9X9T1T01Mz2ddX70rHP9nX8eYC8y9ADWCzsLe7RGGRtHnKuwN7AjsC+huLEM7MGkl7DtzeTf+DsGm6sMMQH/d2Abmjgf8HcA9tkXNwTgijdza0OcRqDblngTNwjhAwiJrw0REh+FcAFS4mtBpMQHIVyA9xjZl1njPzHuOOxh5vjQsHM4cROWuyMuYmy/cWZP2ogfv8O2CgS1hZCKp7SPsF0+AP52EjbjWUQxJi2ERjxjHYIthAD4+ynYXSGEdHc6A/+3hDEo/hhs3r6aobqrCVFMPEFiC6cGhFb8UWj1dgGplV8Sorj4VAZMqZWAqCI+F4Dj3P4kZ6flwr4P2wI7kChX19+PZsEmm8dUCdmONZnIAXXHcLcJ1rw7WAKg3WIlECLxkhJai0yIxWsBamQiu+bbllCNTKjFt8mAAeHuxLZDupbMfJYNHxkfSxaKPVYb2PbBrW6/UgD7oUnl3L/TSgA8hZ8hpQhmjy8L1EdbgAuIfE0dvdP5hbkjMPVDURsATT/vY5W24it8aAFKiTdi1BAagNLiW0FIAWqJV0NIAM4jyo1CO1ds3YvKKRfgIiJOCcXzJnUPxnaaz7LmVWHOpsW5ozC+l40eOQCaK8/2gHfYJ010TSvOTPAtyWyMIAVQQryJXwUiBsBb/HVh2bhX3r14xSFCAJcQ+Uph8VUy4QPQij8Mhd03Zom1VywTLgB7m2nhlV/G+GHYs9SO4ZzXvChg78TNofuwbwNswokl2GaBEIo/CHsumGMP1UB8goOdxombAX6T4nexnKOteBNDCsHPXvtCACR7ZRMGSLjbSGo+dUFy18Q7OBqEdT/6+RZxCqK0eAOXglglnhND2+gOnHvtyUQt8SkIih+AfXVTGbuRuRC1xYcg3jZls0p8LAPG2W78w15kG4x35hepYi50/gT8XIZxU2FT9y3kN9ULFdJTz81/gHrXNs/zH1jFyDG0YnaaAAAAAElFTkSuQmCC'});
148
- --v2-wd-cross-hover:url(#{'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAB40lEQVR4nO2ZsU7DMBCGPxATK0gIBpBYkGBn6gJCAjGx0gfsgBBLFzaEVNE3AHVApCy8BgN2ZdI4se/slND+m93m7v+U2D7bsNJKKq3V/XjcmwCcAjvA8HV01IYnm/cGeAMmdXm9ACbIJbDldA9yQ5i8fafrExj58lYCeMxbZYOoMG/lhZgDaDBvlRyixrxVJcQvgEDzVskgAsxbzUGsl/7QI8w8QN8kVinCPMA+cOh2zABMoL3I/CqISPNWB25jBmBey53AhwhCaB7gyW34BrEkcPCYSJmjbhrNApE6dtNClhQiR8yQUiJJwlxvtRYgVeKcn2QjgNLAPbAJXAueDZoUggBABSFR8IwWDACtQUSVKFEAkB0iur6KBoBsEKLiUAQAySHEla0YAJJBqMrycjkdJZP4URFCvadQARhtJIghlgrAfEIXihDqTdFyDuJOT6OdXsg6XUr81WIuaBbS1PPAg+C54Nnpf29oOr2l7PSmvtPHKp0+2GrDfOpc5cPdW23AUJlnBoJ8526jfLhbRAZT1fNCiHe3UV7IxsBXYKAkFxyREAUwdTt8g/gM2K0JtIgrpgJ4iTmd9kEs4pKvoMI8NC9kZYhFXLN+AGPN6fQJsA08t3zRfcXPRfe0rbwrLaW+Ab09DMLFyhacAAAAAElFTkSuQmCC'});
149
-
150
-
151
- &.mobile{
152
- --v2-wd-size:8.5vmin;
153
- --v2-wd-font-size:4vmin;
154
- --v2-wd-gap:1vmin;
155
- --v2-wd-margin:calc(1vmin*0.5);
156
- --v2-wd-padding:calc(1vmin*0.5);
157
- }
158
166
 
167
+ --v2-wd-tick: url(#{'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAATklEQVR4nO3OMQoAIAwEwXtn/uV7tVFIocRCI8JOHbInAQDwkSrJNu6s3x41nkYjdu+ujLgajyIp8VUsNT4bkR4fiouX7Lgf8SwOADiiAWpFIUWn1ypTAAAAAElFTkSuQmCC'});
168
+ --v2-wd-cross: url(#{'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAx1JREFUaEPtmctqFUEQhk8UQXQrBNyoSNDHSOIyCzXeYjAG4y0ggs/hQgkR7xBwkbhQokZ0Iah5Cm8bXai4NLt4Af9fpg+dTt+qpjsQcaBIONNd9X9T1T01Mz2ddX70rHP9nX8eYC8y9ADWCzsLe7RGGRtHnKuwN7AjsC+huLEM7MGkl7DtzeTf+DsGm6sMMQH/d2Abmjgf8HcA9tkXNwTgijdza0OcRqDblngTNwjhAwiJrw0REh+FcAFS4mtBpMQHIVyA9xjZl1njPzHuOOxh5vjQsHM4cROWuyMuYmy/cWZP2ogfv8O2CgS1hZCKp7SPsF0+AP52EjbjWUQxJi2ERjxjHYIthAD4+ynYXSGEdHc6A/+3hDEo/hhs3r6aobqrCVFMPEFiC6cGhFb8UWj1dgGplV8Sorj4VAZMqZWAqCI+F4Dj3P4kZ6flwr4P2wI7kChX19+PZsEmm8dUCdmONZnIAXXHcLcJ1rw7WAKg3WIlECLxkhJai0yIxWsBamQiu+bbllCNTKjFt8mAAeHuxLZDupbMfJYNHxkfSxaKPVYb2PbBrW6/UgD7oUnl3L/TSgA8hZ8hpQhmjy8L1EdbgAuIfE0dvdP5hbkjMPVDURsATT/vY5W24it8aAFKiTdi1BAagNLiW0FIAWqJV0NIAM4jyo1CO1ds3YvKKRfgIiJOCcXzJnUPxnaaz7LmVWHOpsW5ozC+l40eOQCaK8/2gHfYJ010TSvOTPAtyWyMIAVQQryJXwUiBsBb/HVh2bhX3r14xSFCAJcQ+Uph8VUy4QPQij8Mhd03Zom1VywTLgB7m2nhlV/G+GHYs9SO4ZzXvChg78TNofuwbwNswokl2GaBEIo/CHsumGMP1UB8goOdxombAX6T4nexnKOteBNDCsHPXvtCACR7ZRMGSLjbSGo+dUFy18Q7OBqEdT/6+RZxCqK0eAOXglglnhND2+gOnHvtyUQt8SkIih+AfXVTGbuRuRC1xYcg3jZls0p8LAPG2W78w15kG4x35hepYi50/gT8XIZxU2FT9y3kN9ULFdJTz81/gHrXNs/zH1jFyDG0YnaaAAAAAElFTkSuQmCC'});
169
+ --v2-wd-cross-hover: url(#{'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAB40lEQVR4nO2ZsU7DMBCGPxATK0gIBpBYkGBn6gJCAjGx0gfsgBBLFzaEVNE3AHVApCy8BgN2ZdI4se/slND+m93m7v+U2D7bsNJKKq3V/XjcmwCcAjvA8HV01IYnm/cGeAMmdXm9ACbIJbDldA9yQ5i8fafrExj58lYCeMxbZYOoMG/lhZgDaDBvlRyixrxVJcQvgEDzVskgAsxbzUGsl/7QI8w8QN8kVinCPMA+cOh2zABMoL3I/CqISPNWB25jBmBey53AhwhCaB7gyW34BrEkcPCYSJmjbhrNApE6dtNClhQiR8yQUiJJwlxvtRYgVeKcn2QjgNLAPbAJXAueDZoUggBABSFR8IwWDACtQUSVKFEAkB0iur6KBoBsEKLiUAQAySHEla0YAJJBqMrycjkdJZP4URFCvadQARhtJIghlgrAfEIXihDqTdFyDuJOT6OdXsg6XUr81WIuaBbS1PPAg+C54Nnpf29oOr2l7PSmvtPHKp0+2GrDfOpc5cPdW23AUJlnBoJ8526jfLhbRAZT1fNCiHe3UV7IxsBXYKAkFxyREAUwdTt8g/gM2K0JtIgrpgJ4iTmd9kEs4pKvoMI8NC9kZYhFXLN+AGPN6fQJsA08t3zRfcXPRfe0rbwrLaW+Ab09DMLFyhacAAAAAElFTkSuQmCC'});
170
+
171
+ &.mobile {
172
+ --v2-wd-size: 8.5vmin;
173
+ --v2-wd-font-size: 4vmin;
174
+ --v2-wd-gap: 1vmin;
175
+ --v2-wd-margin: calc(1vmin * 0.5);
176
+ --v2-wd-padding: calc(1vmin * 0.5);
177
+ }
159
178
  }
160
179
 
161
- $wd-bootstrap-maps:(
162
- 'primary',
163
- 'danger',
164
- 'secondary',
165
- 'success',
166
- 'warning',
167
- 'info',
168
- 'light',
169
- 'dark',
170
- );
180
+ $wd-bootstrap-maps: ("primary", "danger", "secondary", "success", "warning", "info", "light", "dark");
171
181
 
172
- @each $key in $wd-bootstrap-maps{
173
- .wd-#{$key}{
182
+ @each $key in $wd-bootstrap-maps {
183
+ .wd-#{$key} {
174
184
  background-color: var(--v2-wd-#{$key});
175
- @if (#{$key} !='light'){
185
+ @if (#{$key} != "light") {
176
186
  color: var(--v2-wd-color-down);
177
187
  }
178
- &.wd-flat{
179
- background-color:rgba(0,0,0,0);
188
+ &.wd-flat {
189
+ background-color: rgba(0, 0, 0, 0);
180
190
  //border: 1px solid var(--v2-wd-#{$key}) !important;
181
191
  color: var(--v2-wd-#{$key});
182
192
  }
183
- &.only-text{
193
+ &.only-text {
184
194
  color: var(--v2-wd-#{$key});
185
195
  }
186
196
  }
187
- .wd-#{$key}-color{
197
+ .wd-#{$key}-color {
188
198
  color: var(--v2-wd-#{$key});
189
199
  }
190
-
191
200
  }