1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045 |
- //fgnass.github.com/spin.js#v2.0.0
- !function(a,b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.Spinner=b()}(this,function(){"use strict";function a(a,b){var c,d=document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=arguments.length;c>b;b++)a.appendChild(arguments[b]);return a}function c(a,b,c,d){var e=["opacity",b,~~(100*a),c,d].join("-"),f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substring(0,j.indexOf("Animation")).toLowerCase(),i=h&&"-"+h+"-"||"";return l[e]||(m.insertRule("@"+i+"keyframes "+e+"{0%{opacity:"+g+"}"+f+"%{opacity:"+a+"}"+(f+.01)+"%{opacity:1}"+(f+b)%100+"%{opacity:"+a+"}100%{opacity:"+g+"}}",m.cssRules.length),l[e]=1),e}function d(a,b){var c,d,e=a.style;for(b=b.charAt(0).toUpperCase()+b.slice(1),d=0;d<k.length;d++)if(c=k[d]+b,void 0!==e[c])return c;return void 0!==e[b]?b:void 0}function e(a,b){for(var c in b)a.style[d(a,c)||c]=b[c];return a}function f(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)void 0===a[d]&&(a[d]=c[d])}return a}function g(a,b){return"string"==typeof a?a:a[b%a.length]}function h(a){this.opts=f(a||{},h.defaults,n)}function i(){function c(b,c){return a("<"+b+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',c)}m.addRule(".spin-vml","behavior:url(#default#VML)"),h.prototype.lines=function(a,d){function f(){return e(c("group",{coordsize:k+" "+k,coordorigin:-j+" "+-j}),{width:k,height:k})}function h(a,h,i){b(m,b(e(f(),{rotation:360/d.lines*a+"deg",left:~~h}),b(e(c("roundrect",{arcsize:d.corners}),{width:j,height:d.width,left:d.radius,top:-d.width>>1,filter:i}),c("fill",{color:g(d.color,a),opacity:d.opacity}),c("stroke",{opacity:0}))))}var i,j=d.length+d.width,k=2*j,l=2*-(d.width+d.length)+"px",m=e(f(),{position:"absolute",top:l,left:l});if(d.shadow)for(i=1;i<=d.lines;i++)h(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=d.lines;i++)h(i);return b(a,m)},h.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}}var j,k=["webkit","Moz","ms","O"],l={},m=function(){var c=a("style",{type:"text/css"});return b(document.getElementsByTagName("head")[0],c),c.sheet||c.styleSheet}(),n={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};h.defaults={},f(h.prototype,{spin:function(b){this.stop();{var c=this,d=c.opts,f=c.el=e(a(0,{className:d.className}),{position:d.position,width:0,zIndex:d.zIndex});d.radius+d.length+d.width}if(b&&(b.insertBefore(f,b.firstChild||null),e(f,{left:d.left,top:d.top})),f.setAttribute("role","progressbar"),c.lines(f,c.opts),!j){var g,h=0,i=(d.lines-1)*(1-d.direction)/2,k=d.fps,l=k/d.speed,m=(1-d.opacity)/(l*d.trail/100),n=l/d.lines;!function o(){h++;for(var a=0;a<d.lines;a++)g=Math.max(1-(h+(d.lines-a)*n)%l*m,d.opacity),c.opacity(f,a*d.direction+i,g,d);c.timeout=c.el&&setTimeout(o,~~(1e3/k))}()}return c},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=void 0),this},lines:function(d,f){function h(b,c){return e(a(),{position:"absolute",width:f.length+f.width+"px",height:f.width+"px",background:b,boxShadow:c,transformOrigin:"left",transform:"rotate("+~~(360/f.lines*k+f.rotate)+"deg) translate("+f.radius+"px,0)",borderRadius:(f.corners*f.width>>1)+"px"})}for(var i,k=0,l=(f.lines-1)*(1-f.direction)/2;k<f.lines;k++)i=e(a(),{position:"absolute",top:1+~(f.width/2)+"px",transform:f.hwaccel?"translate3d(0,0,0)":"",opacity:f.opacity,animation:j&&c(f.opacity,f.trail,l+k*f.direction,f.lines)+" "+1/f.speed+"s linear infinite"}),f.shadow&&b(i,e(h("#000","0 0 4px #000"),{top:"2px"})),b(d,b(i,h(g(f.color,k),"0 0 1px rgba(0,0,0,.1)")));return d},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}});var o=e(a("group"),{behavior:"url(#default#VML)"});return!d(o,"transform")&&o.adj?i():j=d(o,"animation"),h});
- // NOTE: Modified to support data URIs for images, ie. data:image/*
- (function(){var c=void 0,n=!0,s=null,C=!1,J=["aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bisque,black,blanchedalmond,blue,blueviolet,brown,burlywood,cadetblue,chartreuse,chocolate,coral,cornflowerblue,cornsilk,crimson,cyan,darkblue,darkcyan,darkgoldenrod,darkgray,darkgreen,darkkhaki,darkmagenta,darkolivegreen,darkorange,darkorchid,darkred,darksalmon,darkseagreen,darkslateblue,darkslategray,darkturquoise,darkviolet,deeppink,deepskyblue,dimgray,dodgerblue,firebrick,floralwhite,forestgreen,fuchsia,gainsboro,ghostwhite,gold,goldenrod,gray,green,greenyellow,honeydew,hotpink,indianred,indigo,ivory,khaki,lavender,lavenderblush,lawngreen,lemonchiffon,lightblue,lightcoral,lightcyan,lightgoldenrodyellow,lightgreen,lightgrey,lightpink,lightsalmon,lightseagreen,lightskyblue,lightslategray,lightsteelblue,lightyellow,lime,limegreen,linen,magenta,maroon,mediumaquamarine,mediumblue,mediumorchid,mediumpurple,mediumseagreen,mediumslateblue,mediumspringgreen,mediumturquoise,mediumvioletred,midnightblue,mintcream,mistyrose,moccasin,navajowhite,navy,oldlace,olive,olivedrab,orange,orangered,orchid,palegoldenrod,palegreen,paleturquoise,palevioletred,papayawhip,peachpuff,peru,pink,plum,powderblue,purple,red,rosybrown,royalblue,saddlebrown,salmon,sandybrown,seagreen,seashell,sienna,silver,skyblue,slateblue,slategray,snow,springgreen,steelblue,tan,teal,thistle,tomato,transparent,turquoise,violet,wheat,white,whitesmoke,yellow,yellowgreen".split(","),
- "all-scroll,col-resize,crosshair,default,e-resize,hand,help,move,n-resize,ne-resize,no-drop,not-allowed,nw-resize,pointer,progress,row-resize,s-resize,se-resize,sw-resize,text,vertical-text,w-resize,wait".split(","),"armenian,decimal,decimal-leading-zero,disc,georgian,lower-alpha,lower-greek,lower-latin,lower-roman,square,upper-alpha,upper-latin,upper-roman".split(","),"100,200,300,400,500,600,700,800,900,bold,bolder,lighter".split(","),"block-level,inline-level,table-caption,table-cell,table-column,table-column-group,table-footer-group,table-header-group,table-row,table-row-group".split(","),
- "condensed,expanded,extra-condensed,extra-expanded,narrower,semi-condensed,semi-expanded,ultra-condensed,ultra-expanded,wider".split(","),"inherit,inline,inline-block,inline-box,inline-flex,inline-grid,inline-list-item,inline-stack,inline-table,run-in".split(","),"behind,center-left,center-right,far-left,far-right,left-side,leftwards,right-side,rightwards".split(","),"large,larger,small,smaller,x-large,x-small,xx-large,xx-small".split(","),"dashed,dotted,double,groove,outset,ridge,solid".split(","),
- "ease,ease-in,ease-in-out,ease-out,linear,step-end,step-start".split(","),"at,closest-corner,closest-side,ellipse,farthest-corner,farthest-side".split(","),"baseline,middle,sub,super,text-bottom,text-top".split(","),"caption,icon,menu,message-box,small-caption,status-bar".split(","),"fast,faster,slow,slower,x-fast,x-slow".split(","),["above","below","higher","level","lower"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y",
- "round","space"],["blink","line-through","overline","underline"],["block","flex","grid","table"],["high","low","x-high","x-low"],["nowrap","pre","pre-line","pre-wrap"],["absolute","relative","static"],["alternate","alternate-reverse","reverse"],["border-box","content-box","padding-box"],["capitalize","lowercase","uppercase"],["child","female","male"],["=","opacity"],["backwards","forwards"],["bidi-override","embed"],["bottom","top"],["break-all","keep-all"],["clip","ellipsis"],["contain","cover"],
- ["continuous","digits"],["end","start"],["flat","preserve-3d"],["hide","show"],["horizontal","vertical"],["inside","outside"],["italic","oblique"],["left","right"],["ltr","rtl"],["no-content","no-display"],["paused","running"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["all"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["circle"],["code"],["collapse"],["contents"],["fixed"],["hidden"],["infinite"],["inset"],["invert"],["justify"],["list-item"],["local"],["medium"],
- ["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"]],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],
- J[54],J[71]],cssFns:[]},"animation-iteration-count":{cssPropBits:5,cssLitGroup:[J[48],J[63]],cssFns:[]},"animation-name":{cssPropBits:512,cssLitGroup:[J[48],J[71]],cssFns:[]},"animation-play-state":{cssPropBits:0,cssLitGroup:[J[45],J[48]],cssFns:[]},"animation-timing-function":{cssPropBits:0,cssLitGroup:[J[10],J[48]],cssFns:["cubic-bezier()","steps()"]},appearance:{cssPropBits:0,cssLitGroup:[J[71]],cssFns:[]},azimuth:{cssPropBits:5,cssLitGroup:[J[7],J[42],J[56]],cssFns:[]},"backface-visibility":{cssPropBits:0,
- cssLitGroup:[J[59],J[62],J[80]],cssFns:[]},background:{cssPropBits:23,cssLitGroup:[J[0],J[18],J[25],J[31],J[34],J[42],J[48],J[49],J[52],J[56],J[61],J[68],J[71],J[74],J[75]],cssFns:"image(),linear-gradient(),radial-gradient(),repeating-linear-gradient(),repeating-radial-gradient(),rgb(),rgba()".split(",")},"background-attachment":{cssPropBits:0,cssLitGroup:[J[48],J[61],J[68],J[75]],cssFns:[]},"background-color":{cssPropBits:2,cssLitGroup:[J[0]],cssFns:["rgb()","rgba()"]},"background-image":{cssPropBits:16,
- cssLitGroup:[J[48],J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"background-position":{cssPropBits:5,cssLitGroup:[J[31],J[42],J[48],J[56]],cssFns:[]},"background-repeat":{cssPropBits:0,cssLitGroup:[J[18],J[48],J[74]],cssFns:[]},"background-size":{cssPropBits:5,cssLitGroup:[J[34],J[48],J[52]],cssFns:[]},border:{cssPropBits:7,cssLitGroup:[J[0],J[9],J[47],J[62],J[64],J[69],J[71]],cssFns:["rgb()","rgba()"]},"border-bottom":"border",
- "border-bottom-color":"background-color","border-bottom-left-radius":{cssPropBits:5,cssFns:[]},"border-bottom-right-radius":"border-bottom-left-radius","border-bottom-style":{cssPropBits:0,cssLitGroup:[J[9],J[62],J[64],J[71]],cssFns:[]},"border-bottom-width":{cssPropBits:5,cssLitGroup:[J[47],J[69]],cssFns:[]},"border-collapse":{cssPropBits:0,cssLitGroup:[J[59],J[76]],cssFns:[]},"border-color":"background-color","border-left":"border","border-left-color":"background-color","border-left-style":"border-bottom-style",
- "border-left-width":"border-bottom-width","border-radius":{cssPropBits:5,cssLitGroup:[J[49]],cssFns:[]},"border-right":"border","border-right-color":"background-color","border-right-style":"border-bottom-style","border-right-width":"border-bottom-width","border-spacing":"border-bottom-left-radius","border-style":"border-bottom-style","border-top":"border","border-top-color":"background-color","border-top-left-radius":"border-bottom-left-radius","border-top-right-radius":"border-bottom-left-radius",
- "border-top-style":"border-bottom-style","border-top-width":"border-bottom-width","border-width":"border-bottom-width",bottom:{cssPropBits:5,cssLitGroup:[J[52]],cssFns:[]},box:{cssPropBits:0,cssLitGroup:[J[60],J[71],J[72]],cssFns:[]},"box-shadow":{cssPropBits:7,cssLitGroup:[J[0],J[48],J[64],J[71]],cssFns:["rgb()","rgba()"]},"box-sizing":{cssPropBits:0,cssLitGroup:[J[25]],cssFns:[]},"caption-side":{cssPropBits:0,cssLitGroup:[J[31]],cssFns:[]},clear:{cssPropBits:0,cssLitGroup:[J[42],J[54],J[71]],cssFns:[]},
- clip:{cssPropBits:0,cssLitGroup:[J[52]],cssFns:["rect()"]},color:"background-color",content:{cssPropBits:8,cssLitGroup:[J[71],J[72]],cssFns:[]},cue:{cssPropBits:16,cssLitGroup:[J[71]],cssFns:[]},"cue-after":"cue","cue-before":"cue",cursor:{cssPropBits:16,cssLitGroup:[J[1],J[48],J[52]],cssFns:[]},direction:{cssPropBits:0,cssLitGroup:[J[43]],cssFns:[]},display:{cssPropBits:0,cssLitGroup:[J[4],J[6],J[20],J[52],J[67],J[71]],cssFns:[]},"display-extras":{cssPropBits:0,cssLitGroup:[J[67],J[71]],cssFns:[]},
- "display-inside":{cssPropBits:0,cssLitGroup:[J[20],J[52]],cssFns:[]},"display-outside":{cssPropBits:0,cssLitGroup:[J[4],J[71]],cssFns:[]},elevation:{cssPropBits:5,cssLitGroup:[J[15]],cssFns:[]},"empty-cells":{cssPropBits:0,cssLitGroup:[J[38]],cssFns:[]},filter:{cssPropBits:0,cssFns:["alpha()"]},"float":{cssPropBits:0,cssLitGroup:[J[42],J[71]],cssFns:[]},font:{cssPropBits:73,cssLitGroup:[J[3],J[8],J[13],J[16],J[41],J[48],J[49],J[69],J[72],J[77]],cssFns:[]},"font-family":{cssPropBits:72,cssLitGroup:[J[16],
- J[48]],cssFns:[]},"font-size":{cssPropBits:1,cssLitGroup:[J[8],J[69]],cssFns:[]},"font-stretch":{cssPropBits:0,cssLitGroup:[J[5],J[72]],cssFns:[]},"font-style":{cssPropBits:0,cssLitGroup:[J[41],J[72]],cssFns:[]},"font-variant":{cssPropBits:0,cssLitGroup:[J[72],J[77]],cssFns:[]},"font-weight":{cssPropBits:0,cssLitGroup:[J[3],J[72]],cssFns:[]},height:"bottom",left:"bottom","letter-spacing":{cssPropBits:5,cssLitGroup:[J[72]],cssFns:[]},"line-height":{cssPropBits:1,cssLitGroup:[J[72]],cssFns:[]},"list-style":{cssPropBits:16,
- cssLitGroup:[J[2],J[40],J[57],J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"list-style-image":{cssPropBits:16,cssLitGroup:[J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"list-style-position":{cssPropBits:0,cssLitGroup:[J[40]],cssFns:[]},"list-style-type":{cssPropBits:0,cssLitGroup:[J[2],J[57],J[71]],cssFns:[]},margin:"bottom","margin-bottom":"bottom",
- "margin-left":"bottom","margin-right":"bottom","margin-top":"bottom","max-height":{cssPropBits:1,cssLitGroup:[J[52],J[71]],cssFns:[]},"max-width":"max-height","min-height":{cssPropBits:1,cssLitGroup:[J[52]],cssFns:[]},"min-width":"min-height",opacity:{cssPropBits:1,cssFns:[]},outline:{cssPropBits:7,cssLitGroup:[J[0],J[9],J[47],J[62],J[64],J[65],J[69],J[71]],cssFns:["rgb()","rgba()"]},"outline-color":{cssPropBits:2,cssLitGroup:[J[0],J[65]],cssFns:["rgb()","rgba()"]},"outline-style":"border-bottom-style",
- "outline-width":"border-bottom-width",overflow:{cssPropBits:0,cssLitGroup:[J[52],J[62],J[75],J[80]],cssFns:[]},"overflow-wrap":{cssPropBits:0,cssLitGroup:[J[55],J[72]],cssFns:[]},"overflow-x":{cssPropBits:0,cssLitGroup:[J[44],J[52],J[62],J[75],J[80]],cssFns:[]},"overflow-y":"overflow-x",padding:"opacity","padding-bottom":"opacity","padding-left":"opacity","padding-right":"opacity","padding-top":"opacity","page-break-after":{cssPropBits:0,cssLitGroup:[J[42],J[51],J[52],J[53]],cssFns:[]},"page-break-before":"page-break-after",
- "page-break-inside":{cssPropBits:0,cssLitGroup:[J[52],J[53]],cssFns:[]},pause:"border-bottom-left-radius","pause-after":"border-bottom-left-radius","pause-before":"border-bottom-left-radius",perspective:{cssPropBits:5,cssLitGroup:[J[71]],cssFns:[]},"perspective-origin":{cssPropBits:5,cssLitGroup:[J[31],J[42],J[56]],cssFns:[]},pitch:{cssPropBits:5,cssLitGroup:[J[21],J[69]],cssFns:[]},"pitch-range":"border-bottom-left-radius","play-during":{cssPropBits:16,cssLitGroup:[J[52],J[70],J[71],J[74]],cssFns:[]},
- position:{cssPropBits:0,cssLitGroup:[J[23]],cssFns:[]},quotes:{cssPropBits:8,cssLitGroup:[J[71]],cssFns:[]},resize:{cssPropBits:0,cssLitGroup:[J[39],J[54],J[71]],cssFns:[]},richness:"border-bottom-left-radius",right:"bottom",speak:{cssPropBits:0,cssLitGroup:[J[71],J[72],J[78]],cssFns:[]},"speak-header":{cssPropBits:0,cssLitGroup:[J[51],J[73]],cssFns:[]},"speak-numeral":{cssPropBits:0,cssLitGroup:[J[35]],cssFns:[]},"speak-punctuation":{cssPropBits:0,cssLitGroup:[J[58],J[71]],cssFns:[]},"speech-rate":{cssPropBits:5,
- cssLitGroup:[J[14],J[69]],cssFns:[]},stress:"border-bottom-left-radius","table-layout":{cssPropBits:0,cssLitGroup:[J[52],J[61]],cssFns:[]},"text-align":{cssPropBits:0,cssLitGroup:[J[42],J[56],J[66]],cssFns:[]},"text-decoration":{cssPropBits:0,cssLitGroup:[J[19],J[71]],cssFns:[]},"text-indent":"border-bottom-left-radius","text-overflow":{cssPropBits:8,cssLitGroup:[J[33]],cssFns:[]},"text-shadow":"box-shadow","text-transform":{cssPropBits:0,cssLitGroup:[J[26],J[71]],cssFns:[]},"text-wrap":{cssPropBits:0,
- cssLitGroup:[J[46],J[71],J[72]],cssFns:[]},top:"bottom",transform:{cssPropBits:0,cssLitGroup:[J[71]],cssFns:"matrix(),perspective(),rotate(),rotate3d(),rotatex(),rotatey(),rotatez(),scale(),scale3d(),scalex(),scaley(),scalez(),skew(),skewx(),skewy(),translate(),translate3d(),translatex(),translatey(),translatez()".split(",")},"transform-origin":"perspective-origin","transform-style":{cssPropBits:0,cssLitGroup:[J[37]],cssFns:[]},transition:{cssPropBits:1029,cssLitGroup:[J[10],J[48],J[50],J[71]],cssFns:["cubic-bezier()",
- "steps()"]},"transition-delay":"animation-delay","transition-duration":"animation-delay","transition-property":{cssPropBits:1024,cssLitGroup:[J[48],J[50]],cssFns:[]},"transition-timing-function":"animation-timing-function","unicode-bidi":{cssPropBits:0,cssLitGroup:[J[30],J[72]],cssFns:[]},"vertical-align":{cssPropBits:5,cssLitGroup:[J[12],J[31]],cssFns:[]},visibility:"backface-visibility","voice-family":{cssPropBits:8,cssLitGroup:[J[27],J[48]],cssFns:[]},volume:{cssPropBits:1,cssLitGroup:[J[17],J[69]],
- cssFns:[]},"white-space":{cssPropBits:0,cssLitGroup:[J[22],J[72]],cssFns:[]},width:"min-height","word-break":{cssPropBits:0,cssLitGroup:[J[32],J[72]],cssFns:[]},"word-spacing":"letter-spacing","word-wrap":"overflow-wrap","z-index":"bottom",zoom:"line-height","cubic-bezier()":"animation-delay","steps()":{cssPropBits:5,cssLitGroup:[J[36],J[48]],cssFns:[]},"image()":{cssPropBits:18,cssLitGroup:[J[0],J[48]],cssFns:["rgb()","rgba()"]},"linear-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[31],J[42],J[48],
- J[79]],cssFns:["rgb()","rgba()"]},"radial-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[11],J[31],J[42],J[48],J[56],J[57]],cssFns:["rgb()","rgba()"]},"repeating-linear-gradient()":"linear-gradient()","repeating-radial-gradient()":"radial-gradient()","rgb()":{cssPropBits:1,cssLitGroup:[J[48]],cssFns:[]},"rgba()":"rgb()","rect()":{cssPropBits:5,cssLitGroup:[J[48],J[52]],cssFns:[]},"alpha()":{cssPropBits:1,cssLitGroup:[J[28]],cssFns:[]},"matrix()":"animation-delay","perspective()":"border-bottom-left-radius",
- "rotate()":"border-bottom-left-radius","rotate3d()":"animation-delay","rotatex()":"border-bottom-left-radius","rotatey()":"border-bottom-left-radius","rotatez()":"border-bottom-left-radius","scale()":"animation-delay","scale3d()":"animation-delay","scalex()":"border-bottom-left-radius","scaley()":"border-bottom-left-radius","scalez()":"border-bottom-left-radius","skew()":"animation-delay","skewx()":"border-bottom-left-radius","skewy()":"border-bottom-left-radius","translate()":"animation-delay","translate3d()":"animation-delay",
- "translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius"},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;
- (function(){function g(a){var f=parseInt(a.substring(1),16);return 65535<f?(f-=65536,String.fromCharCode(55296+(f>>10),56320+(f&1023))):f==f?String.fromCharCode(f):" ">a[1]?"":a[1]}function w(a,f){return'"'+a.replace(/[\u0000-\u001f\\\"<>]/g,f)+'"'}function M(a){return E[a]||(E[a]="\\"+a.charCodeAt(0).toString(16)+" ")}function x(a){return e[a]||(e[a]=("\u0010">a?"%0":"%")+a.charCodeAt(0).toString(16))}var E={"\\":"\\\\"},e={"\\":"%5c"},v=RegExp("\\uFEFF|U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?|url[(][\\t\\n\\f ]*(?:\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)[\\t\\n\\f ]*[)]|(?!url[(])-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*[(]|(?:@?-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))|#)(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*|\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)(?:%|-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)?|<\!--|--\>|[\\t\\n\\f ]+|/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)|[~|^$*]=|[^\"'\\\\/]|/(?![/*])","gi"),
- b=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff])|[\\n\\f])","g"),a=RegExp("^url\\([\\t\\n\\f ]*[\"']?|[\"']?[\\t\\n\\f ]*\\)$","gi");X=function(a){return a.replace(b,g)};U=function(b){for(var b=(""+b).replace(/\r\n?/g,"\n").match(v)||[],f=0,h=" ",d=0,y=b.length;d<y;++d){var l=X(b[d]),V=l.length,g=l.charCodeAt(0),l=34==g||39==g?w(l.substring(1,V-1),M):47==g&&1<V||"\\"==l||"--\>"==l||"<\!--"==l||"\ufeff"==l||32>=g?" ":
- /url\(/i.test(l)?"url("+w(l.replace(a,""),x)+")":l;if(h!=l||" "!=l)b[f++]=h=l}b.length=f;return b}})();"undefined"!==typeof window&&(window.lexCss=U,window.decodeCss=X);var Y=function(){function g(d){d=(""+d).match(k);return!d?s:new e(v(d[1]),v(d[2]),v(d[3]),v(d[4]),v(d[5]),v(d[6]),v(d[7]))}function w(d,a){return"string"==typeof d?encodeURI(d).replace(a,M):s}function M(d){d=d.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(d>>4&15)+"0123456789ABCDEF".charAt(d&15)}function x(d){if(d===s)return s;for(var d=d.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var b=d.T(),f=h.K();f?b.ga(h.j):f=h.X();
- f?b.da(h.n):f=h.Y();f?b.ea(h.k):f=h.$();var g=h.g,k=x(g);if(f)b.ca(h.V()),k=k&&k.replace(a,"");else if(f=!!g){if(47!==k.charCodeAt(0))var k=x(b.g||"").replace(a,""),e=k.lastIndexOf("/")+1,k=x((e?k.substring(0,e):"")+x(g)).replace(a,"")}else k=k&&k.replace(a,""),k!==g&&b.G(k);f?b.G(k):f=h.aa();f?b.O(h.l):f=h.Z();f&&b.fa(h.o);return b}function e(d,a,h,f,b,g,k){this.j=d;this.n=a;this.k=h;this.h=f;this.g=b;this.l=g;this.o=k}function v(d){return"string"==typeof d&&0<d.length?d:s}var b=RegExp(/(\/|^)(?:[^./][^/]*|\.{2,}(?:[^./][^/]*)|\.{3,}[^/]*)\/\.\.(?:\/|$)/),
- a=/^(?:\.\.\/)*(?:\.\.$)?/;e.prototype.toString=function(){var d=[];s!==this.j&&d.push(this.j,":");s!==this.k&&(d.push("//"),s!==this.n&&d.push(this.n,"@"),d.push(this.k),s!==this.h&&d.push(":",this.h.toString()));s!==this.g&&d.push(this.g);s!==this.l&&d.push("?",this.l);s!==this.o&&d.push("#",this.o);return d.join("")};e.prototype.T=function(){return new e(this.j,this.n,this.k,this.h,this.g,this.l,this.o)};e.prototype.W=function(){return this.j&&decodeURIComponent(this.j).toLowerCase()};e.prototype.ga=
- function(d){this.j=d?d:s};e.prototype.K=function(){return s!==this.j};e.prototype.da=function(d){this.n=d?d:s};e.prototype.X=function(){return s!==this.n};e.prototype.ea=function(d){this.k=d?d:s;this.G(this.g)};e.prototype.Y=function(){return s!==this.k};e.prototype.V=function(){return this.h&&decodeURIComponent(this.h)};e.prototype.ca=function(d){if(d){d=Number(d);if(d!==(d&65535))throw Error("Bad port number "+d);this.h=""+d}else this.h=s};e.prototype.$=function(){return s!==this.h};e.prototype.U=
- function(){return this.g&&decodeURIComponent(this.g)};e.prototype.G=function(d){d?(d=""+d,this.g=!this.k||/^\//.test(d)?d:"/"+d):this.g=s};e.prototype.O=function(d){this.l=d?d:s};e.prototype.aa=function(){return s!==this.l};e.prototype.ba=function(d){if("object"===typeof d&&!(d instanceof Array)&&(d instanceof Object||"[object Array]"!==Object.prototype.toString.call(d))){var a=[],h=-1,f;for(f in d){var b=d[f];"string"===typeof b&&(a[++h]=f,a[++h]=b)}d=a}for(var a=[],h="",g=0;g<d.length;)f=d[g++],
- b=d[g++],a.push(h,encodeURIComponent(f.toString())),h="&",b&&a.push("=",encodeURIComponent(b.toString()));this.l=a.join("")};e.prototype.fa=function(d){this.o=d?d:s};e.prototype.Z=function(){return s!==this.o};var k=/^(?:([^:/?#]+):)?(?:\/\/(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,f=/[#\/\?@]/g,h=/[\#\?]/g;e.parse=g;e.create=function(d,a,b,g,k,Q,N){d=new e(w(d,f),w(a,f),"string"==typeof b?encodeURIComponent(b):s,0<g?g.toString():s,w(k,h),s,"string"==typeof N?encodeURIComponent(N):
- s);Q&&("string"===typeof Q?d.O(Q.replace(/[^?&=0-9A-Za-z_\-~.%]/g,M)):d.ba(Q));return d};e.N=E;e.ma=x;e.ha={ua:function(d){return/\.html$/.test(g(d).U())?"text/html":"application/javascript"},N:function(d,a){return d?E(g(d),g(a)).toString():""+a}};return e}();"undefined"!==typeof window&&(window.URI=Y);var aa=c,ba=c,da=c,Z=c;
- (function(){function g(a){return"string"===typeof a?'url("'+a.replace(e,w)+'")':'url("about:blank")'}function w(a){return v[a]}function M(a,d){return a?Y.ha.N(a,d):d}function x(h,d,f){if(!f)return s;var g=(""+h).match(b);return g&&(!g[1]||a.test(g[1]))?f(h,d):s}function E(a){return a.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/,"")}var e=/[\n\f\r\"\'()*<>]/g,v={"\n":"%0a","\u000c":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29","*":"%2a","<":"%3c",">":"%3e"},
- b=/^(?:([^:/?# ]+):)?/,a=/^(?:https?|mailto|data)$/i;aa=function(){var a={};return function y(f,b,k,e,N){var f=E(f),u=L[f];if(!u||"object"!==typeof u)b.length=0;else{for(var i=u.cssPropBits,q=i&80,B=i&1536,F=NaN,r=0,o=0;r<b.length;++r){var j=b[r].toLowerCase(),I=j.charCodeAt(0),R,v,P,S,D,w;if(32===I)j="";else if(34===I)j=16===q?k?g(x(M(e,X(b[r].substring(1,j.length-1))),f,k)):"":i&8&&!(q&q-1)?j:"";else if("inherit"!==j){if(D=u.cssLitGroup){var G;if(!(G=u.cssLitMap)){G={};for(var K=D.length;0<=--K;)for(var A=
- D[K],T=A.length;0<=--T;)G[A[T]]=a;G=u.cssLitMap=G}D=G}else D=a;if(!(w=D,w[E(j)]===a))if(35===I&&/^#(?:[0-9a-f]{3}){1,2}$/.test(j))j=i&2?j:"";else if(48<=I&&57>=I)j=i&1?j:"";else if(R=j.charCodeAt(1),v=j.charCodeAt(2),P=48<=R&&57>=R,S=48<=v&&57>=v,43===I&&(P||46===R&&S))j=i&1?(P?"":"0")+j.substring(1):"";else if(45===I&&(P||46===R&&S))j=i&4?(P?"-":"-0")+j.substring(1):i&1?"0":"";else if(46===I&&P)j=i&1?"0"+j:"";else if('url("'===j.substring(0,5))j=k&&i&16?g(x(M(e,b[r].substring(5,j.length-2)),f,k)):
- "";else if("("===j.charAt(j.length-1))a:{D=b;G=r;j=1;K=G+1;for(I=D.length;K<I&&j;)A=D[K++],j+=")"===A?-1:/^[^"']*\($/.test(A);if(!j){j=D[G].toLowerCase();I=E(j);D=D.splice(G,K-G,"");G=u.cssFns;K=0;for(A=G.length;K<A;++K)if(G[K].substring(0,I.length)==I){D[0]=D[D.length-1]="";y(G[K],D,k,e);j=j+D.join(" ")+")";break a}}j=""}else j=B&&/^-?[a-z_][\w\-]*$/.test(j)&&!/__$/.test(j)?N&&512===B?b[r]+N:1024===B&&L[j]&&"number"===typeof L[j].oa?j:"":/^\w+$/.test(j)&&64===q&&i&8?F+1===o?(b[F]=b[F].substring(0,
- b[F].length-1)+" "+j+'"',""):(F=o,'"'+j+'"'):""}j&&(b[o++]=j)}1===o&&'url("about:blank")'===b[0]&&(o=0);b.length=o}}}();var k=RegExp("^(active|after|before|blank|checked|default|disabled|drop|empty|enabled|first|first-child|first-letter|first-line|first-of-type|fullscreen|focus|hover|in-range|indeterminate|invalid|last-child|last-of-type|left|link|only-child|only-of-type|optional|out-of-range|placeholder-shown|read-only|read-write|required|right|root|scope|user-error|valid|visited)$"),f={};f[">"]=
- f["+"]=f["~"]=f;ba=function(a,d,b){function g(i,r){function o(b,f,g){var y,e,i,l,o,m=n;y="";if(b<f)if(o=a[b],"*"===o)++b,y=o;else if(/^[a-zA-Z]/.test(o)&&(e=x(o.toLowerCase(),[])))"tagName"in e&&(o=e.tagName),++b,y=o;for(l=i=e="";m&&b<f;++b)if(o=a[b],"#"===o.charAt(0))/^#_|__$|[^\w#:\-]/.test(o)?m=C:e+=o+v;else if("."===o)++b<f&&/^[0-9A-Za-z:_\-]+$/.test(o=a[b])&&!/^_|__$/.test(o)?e+="."+o:m=C;else if(b+1<f&&"["===a[b]){++b;var H=a[b++].toLowerCase();o=$.m[y+"::"+H];o!==+o&&(o=$.m["*::"+H]);var W;
- d.ia?(W=d.ia(y,H),"string"!==typeof W&&(m=C,W=H),m&&o!==+o&&(o=$.d.NONE)):(W=H,o!==+o&&(m=C));var p=H="",ca=C;/^[~^$*|]?=$/.test(a[b])&&(H=a[b++],p=a[b++],/^[0-9A-Za-z:_\-]+$/.test(p)?p='"'+p+'"':"]"===p&&(p='""',--b),/^"([^\"\\]|\\.)*"$/.test(p)||(m=C),(ca="i"===a[b])&&++b);"]"!==a[b]&&(++b,m=C);switch(o){case $.d.CLASSES:case $.d.LOCAL_NAME:case $.d.NONE:break;case $.d.GLOBAL_NAME:case $.d.ID:case $.d.IDREF:("="===H||"~="===H||"$="===H)&&'""'!=p&&!ca?p='"'+p.substring(1,p.length-1)+v+'"':"|="===
- H||""===H||(m=C);break;case $.d.URI:case $.d.URI_FRAGMENT:""!==H&&(m=C);break;default:m=C}m&&(i+="["+W.replace(/[^\w-]/g,"\\$&")+H+p+(ca?" i]":"]"))}else if(b<f&&":"===a[b])if(o=a[++b],k.test(o))l+=":"+o;else break;else break;b!==f&&(m=C);m&&(b=(y+e).replace(/[^ .*#\w-]/g,"\\$&")+i+l+g)&&j.push(b);return m}" "===a[i]&&++i;r-1!==i&&" "===a[r]&&--r;for(var j=[],l=i,q=n,u=i;q&&u<r;++u){var B=a[u];if(f[B]===f||" "===B)o(l,u,B)?l=u+1:q=C}o(l,r,"")||(q=C);return q?(j.length&&(l=j.join(""),e!==s&&(l="."+
- e+" "+l),N.push(l)),n):!b||b(a.slice(i,r))}var e=d.na,v=d.L,x=d.Aa,N=[],u=0,i,q=0,B;for(i=0;i<a.length;++i)if(B=a[i],"("==B||"["==B?(++q,n):")"==B||"]"==B?(q&&--q,n):!(" "==a[i]&&(q||f[a[i-1]]===f||f[a[i+1]]===f)))a[u++]=a[i];a.length=u;u=a.length;for(i=q=0;i<u;++i)if(","===a[i]){if(!g(q,i))return s;q=i+1}return!g(q,u)?s:N};(function(){var a=/^\w/,d=RegExp("^(?:(?:(?:(?:only|not) )?(?:all|aural|braille|embossed|handheld|print|projection|screen|speech|tty|tv)|\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\w+(?:-\\w+)*|\\d+(?: / \\d+|(?:\\.\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\))(?: and ?\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\w+(?:-\\w+)*|\\d+(?: / \\d+|(?:\\.\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\))*)(?: , (?:(?:(?:(?:only|not) )?(?:all|aural|braille|embossed|handheld|print|projection|screen|speech|tty|tv)|\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\w+(?:-\\w+)*|\\d+(?: / \\d+|(?:\\.\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\))(?: and ?\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\w+(?:-\\w+)*|\\d+(?: / \\d+|(?:\\.\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\))*))*$",
- "i");Z=function(b){for(var b=b.slice(),f=b.length,g=0,k=0;k<f;++k){var e=b[k];" "!=e&&(b[g++]=e)}b.length=g;b=b.join(" ");return b=!b.length?"":!d.test(b)?"not all":a.test(b)?b:"not all , "+b}})();(function(){function a(b){var d=/^\s*[']([^']*)[']\s*$/,f=/^\s*url\s*[(]["]([^"]*)["][)]\s*$/,g=/^\s*url\s*[(][']([^']*)['][)]\s*$/,h=/^\s*url\s*[(]([^)]*)[)]\s*$/,k;return(k=/^\s*["]([^"]*)["]\s*$/.exec(b))||(k=d.exec(b))||(k=f.exec(b))||(k=g.exec(b))||(k=h.exec(b))?k[1]:s}function b(f,g,k,e,v,w,u){function i(){r=
- F.length&&F[F.length-1]===s}var q=c,B=u||[0],F=[],r=C;fa(g,{startStylesheet:function(){q=[]},endStylesheet:function(){},startAtrule:function(g,j){if(r)g=s;else if("@media"===g)q.push("@media"," ",Z(j));else if("@keyframes"===g||"@-webkit-keyframes"===g){var i=j[0];1===j.length&&!/__$|[^\w\-]/.test(i)?(q.push(g," ",i+k.L),g="@keyframes"):g=s}else if("@import"===g&&0<j.length)if(g=s,"function"===typeof w){var l=Z(j.slice(1));if("not all"!==l){++B[0];var u=[];q.push(u);var E=x(M(f,a(j[0])),function(a){var f=
- b(E,a.qa,k,e,v,w,B);--B[0];a=l?{toString:function(){return"@media "+l+" {"+f.result+"}"}}:f.result;u[0]=a;w(a,!!B[0])},v)}}else window.console&&window.console.log("@import "+j.join(" ")+" elided");r=!g;F.push(g)},endAtrule:function(){F.pop();r||q.push(";");i()},startBlock:function(){r||q.push("{")},endBlock:function(){r||(q.push("}"),r=n)},startRuleset:function(a){if(!r){var b=c;"@keyframes"===F[F.length-1]?(b=a.join(" ").match(/^ *(?:from|to|\d+(?:\.\d+)?%) *(?:, *(?:from|to|\d+(?:\.\d+)?%) *)*$/i),
- r=!b,b&&(b=b[0].replace(/ +/g,""))):(a=ba(a,k),!a||!a.length?r=n:b=a.join(", "));r||q.push(b,"{")}F.push(s)},endRuleset:function(){F.pop();r||q.push("}");i()},declaration:function(a,b){if(!r){var d=C,g=b.length;2<=g&&"!"===b[g-2]&&"important"===b[g-1].toLowerCase()&&(d=n,b.length-=2);aa(a,b,e,f,k.L);b.length&&q.push(a,":",b.join(" "),d?" !important;":";")}}});return{result:{toString:function(){return q.join("")}},va:!!B[0]}}da=function(a,f,g,k){return b(a,f,g,k,c,c).result.toString()}})()})();
- "undefined"!==typeof window&&(window.sanitizeCssProperty=aa,window.sanitizeCssSelectorList=ba,window.sanitizeStylesheet=da,window.sanitizeMediaQuery=Z);var fa,ga;
- (function(){function g(b,a,g,f,h){for(var d=a++;a<g&&"{"!==b[a]&&";"!==b[a];)++a;if(a<g&&(h||";"===b[a])){var h=d+1,e=a;h<g&&" "===b[h]&&++h;e>h&&" "===b[e-1]&&--e;f.startAtrule&&f.startAtrule(b[d].toLowerCase(),b.slice(h,e));a="{"===b[a]?w(b,a,g,f):a+1;f.endAtrule&&f.endAtrule()}return a}function w(b,a,k,f){++a;for(f.startBlock&&f.startBlock();a<k;){var h=b[a].charAt(0);if("}"==h){++a;break}a=" "===h||";"===h?a+1:"@"===h?g(b,a,k,f,C):"{"===h?w(b,a,k,f):M(b,a,k,f)}f.endBlock&&f.endBlock();return a}
- function M(b,a,g,f){var h=a,d=x(b,a,g,n);if(0>d)return d=~d,d===h?d+1:d;var y=b[d];if("{"!==y)return d===h?d+1:d;a=d+1;d>h&&" "===b[d-1]&&--d;for(f.startRuleset&&f.startRuleset(b.slice(h,d));a<g;){y=b[a];if("}"===y){++a;break}a=" "===y?a+1:e(b,a,g,f)}f.endRuleset&&f.endRuleset();return a}function x(b,a,g,f){for(var h,d=[],e=-1;a<g;++a)if(h=b[a].charAt(0),"["===h||"("===h)d[++e]=h;else if("]"===h&&"["===d[e]||")"===h&&"("===d[e])--e;else if("{"===h||"}"===h||";"===h||"@"===h||":"===h&&!f)break;0<=
- e&&(a=~(a+1));return a}function E(b,a,g){for(;a<g&&";"!==b[a]&&"}"!==b[a];)++a;return a<g&&";"===b[a]?a+1:a}function e(b,a,g,f){var h=b[a++];if(!v.test(h))return E(b,a,g);a<g&&" "===b[a]&&++a;if(a==g||":"!==b[a])return E(b,a,g);++a;a<g&&" "===b[a]&&++a;var d=x(b,a,g,C);if(0>d)d=~d;else{for(var e=[],l=0,w=a;w<d;++w)a=b[w]," "!==a&&(e[l++]=a);if(d<g){do{a=b[d];if(";"===a||"}"===a)break;l=0}while(++d<g);";"===a&&++d}l&&f.declaration&&f.declaration(h.toLowerCase(),e)}return d}fa=function(b,a){var e=U(b);
- a.startStylesheet&&a.startStylesheet();for(var f=0,h=e.length;f<h;)f=" "===e[f]?f+1:f<h?"@"===e[f].charAt(0)?g(e,f,h,a,n):M(e,f,h,a):f;a.endStylesheet&&a.endStylesheet()};var v=/^-?[a-z]/i;ga=function(b,a){for(var g=U(b),f=0,h=g.length;f<h;)f=" "!==g[f]?e(g,f,h,a):f+1}})();"undefined"!==typeof window&&(window.parseCssStylesheet=fa,window.parseCssDeclarations=ga);var $={d:{NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,HTML:12,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10,MEDIA_QUERY:13}};$.atype=$.d;
- $.m={"*::class":9,"*::dir":0,"*::draggable":0,"*::hidden":0,"*::id":4,"*::inert":0,"*::itemprop":0,"*::itemref":6,"*::itemscope":0,"*::lang":0,"*::onblur":2,"*::onchange":2,"*::onclick":2,"*::ondblclick":2,"*::onerror":2,"*::onfocus":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onmousedown":2,"*::onmousemove":2,"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::onreset":2,"*::onscroll":2,"*::onselect":2,"*::onsubmit":2,"*::ontouchcancel":2,"*::ontouchend":2,"*::ontouchenter":2,
- "*::ontouchleave":2,"*::ontouchmove":2,"*::ontouchstart":2,"*::onunload":2,"*::spellcheck":0,"*::style":3,"*::tabindex":0,"*::title":0,"*::translate":0,"a::accesskey":0,"a::coords":0,"a::href":1,"a::hreflang":0,"a::name":7,"a::onblur":2,"a::onfocus":2,"a::shape":0,"a::target":10,"a::type":0,"area::accesskey":0,"area::alt":0,"area::coords":0,"area::href":1,"area::nohref":0,"area::onblur":2,"area::onfocus":2,"area::shape":0,"area::target":10,"audio::controls":0,"audio::loop":0,"audio::mediagroup":5,
- "audio::muted":0,"audio::preload":0,"audio::src":1,"bdo::dir":0,"blockquote::cite":1,"br::clear":0,"button::accesskey":0,"button::disabled":0,"button::name":8,"button::onblur":2,"button::onfocus":2,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"caption::align":0,"col::align":0,"col::char":0,"col::charoff":0,"col::span":0,"col::valign":0,"col::width":0,"colgroup::align":0,"colgroup::char":0,"colgroup::charoff":0,"colgroup::span":0,"colgroup::valign":0,"colgroup::width":0,
- "command::checked":0,"command::command":5,"command::disabled":0,"command::icon":1,"command::label":0,"command::radiogroup":0,"command::type":0,"data::value":0,"del::cite":1,"del::datetime":0,"details::open":0,"dir::compact":0,"div::align":0,"dl::compact":0,"fieldset::disabled":0,"font::color":0,"font::face":0,"font::size":0,"form::accept":0,"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::novalidate":0,"form::onreset":2,"form::onsubmit":2,"form::target":10,
- "h1::align":0,"h2::align":0,"h3::align":0,"h4::align":0,"h5::align":0,"h6::align":0,"hr::align":0,"hr::noshade":0,"hr::size":0,"hr::width":0,"iframe::align":0,"iframe::frameborder":0,"iframe::height":0,"iframe::marginheight":0,"iframe::marginwidth":0,"iframe::width":0,"img::align":0,"img::alt":0,"img::border":0,"img::height":0,"img::hspace":0,"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::vspace":0,"img::width":0,"input::accept":0,"input::accesskey":0,"input::align":0,"input::alt":0,
- "input::autocomplete":0,"input::checked":0,"input::disabled":0,"input::inputmode":0,"input::ismap":0,"input::list":5,"input::max":0,"input::maxlength":0,"input::min":0,"input::multiple":0,"input::name":8,"input::onblur":2,"input::onchange":2,"input::onfocus":2,"input::onselect":2,"input::pattern":0,"input::placeholder":0,"input::readonly":0,"input::required":0,"input::size":0,"input::src":1,"input::step":0,"input::type":0,"input::usemap":11,"input::value":0,"ins::cite":1,"ins::datetime":0,"label::accesskey":0,
- "label::for":5,"label::onblur":2,"label::onfocus":2,"legend::accesskey":0,"legend::align":0,"li::type":0,"li::value":0,"map::name":7,"menu::compact":0,"menu::label":0,"menu::type":0,"meter::high":0,"meter::low":0,"meter::max":0,"meter::min":0,"meter::value":0,"ol::compact":0,"ol::reversed":0,"ol::start":0,"ol::type":0,"optgroup::disabled":0,"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"output::for":6,"output::name":8,"p::align":0,"pre::width":0,
- "progress::max":0,"progress::min":0,"progress::value":0,"q::cite":1,"select::autocomplete":0,"select::disabled":0,"select::multiple":0,"select::name":8,"select::onblur":2,"select::onchange":2,"select::onfocus":2,"select::required":0,"select::size":0,"source::type":0,"table::align":0,"table::bgcolor":0,"table::border":0,"table::cellpadding":0,"table::cellspacing":0,"table::frame":0,"table::rules":0,"table::summary":0,"table::width":0,"tbody::align":0,"tbody::char":0,"tbody::charoff":0,"tbody::valign":0,
- "td::abbr":0,"td::align":0,"td::axis":0,"td::bgcolor":0,"td::char":0,"td::charoff":0,"td::colspan":0,"td::headers":6,"td::height":0,"td::nowrap":0,"td::rowspan":0,"td::scope":0,"td::valign":0,"td::width":0,"textarea::accesskey":0,"textarea::autocomplete":0,"textarea::cols":0,"textarea::disabled":0,"textarea::inputmode":0,"textarea::name":8,"textarea::onblur":2,"textarea::onchange":2,"textarea::onfocus":2,"textarea::onselect":2,"textarea::placeholder":0,"textarea::readonly":0,"textarea::required":0,
- "textarea::rows":0,"textarea::wrap":0,"tfoot::align":0,"tfoot::char":0,"tfoot::charoff":0,"tfoot::valign":0,"th::abbr":0,"th::align":0,"th::axis":0,"th::bgcolor":0,"th::char":0,"th::charoff":0,"th::colspan":0,"th::headers":6,"th::height":0,"th::nowrap":0,"th::rowspan":0,"th::scope":0,"th::valign":0,"th::width":0,"thead::align":0,"thead::char":0,"thead::charoff":0,"thead::valign":0,"tr::align":0,"tr::bgcolor":0,"tr::char":0,"tr::charoff":0,"tr::valign":0,"track::default":0,"track::kind":0,"track::label":0,
- "track::srclang":0,"ul::compact":0,"ul::type":0,"video::controls":0,"video::height":0,"video::loop":0,"video::mediagroup":5,"video::muted":0,"video::poster":1,"video::preload":0,"video::src":1,"video::width":0};$.ATTRIBS=$.m;$.c={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128,VIRTUALIZED:256};$.eflags=$.c;
- $.f={a:0,abbr:0,acronym:0,address:0,applet:272,area:2,article:0,aside:0,audio:0,b:0,base:274,basefont:274,bdi:0,bdo:0,big:0,blockquote:0,body:305,br:2,button:0,canvas:0,caption:0,center:0,cite:0,code:0,col:2,colgroup:1,command:2,data:0,datalist:0,dd:1,del:0,details:0,dfn:0,dialog:272,dir:0,div:0,dl:0,dt:1,em:0,fieldset:0,figcaption:0,figure:0,font:0,footer:0,form:0,frame:274,frameset:272,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:305,header:0,hgroup:0,hr:2,html:305,i:0,iframe:4,img:2,input:2,ins:0,isindex:274,
- kbd:0,keygen:274,label:0,legend:0,li:1,link:274,map:0,mark:0,menu:0,meta:274,meter:0,nav:0,nobr:0,noembed:276,noframes:276,noscript:276,object:272,ol:0,optgroup:0,option:1,output:0,p:1,param:274,pre:0,progress:0,q:0,s:0,samp:0,script:84,section:0,select:0,small:0,source:2,span:0,strike:0,strong:0,style:148,sub:0,summary:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,time:0,title:280,tr:1,track:2,tt:0,u:0,ul:0,"var":0,video:0,wbr:2};$.ELEMENTS=$.f;
- $.Q={a:"HTMLAnchorElement",abbr:"HTMLElement",acronym:"HTMLElement",address:"HTMLElement",applet:"HTMLAppletElement",area:"HTMLAreaElement",article:"HTMLElement",aside:"HTMLElement",audio:"HTMLAudioElement",b:"HTMLElement",base:"HTMLBaseElement",basefont:"HTMLBaseFontElement",bdi:"HTMLElement",bdo:"HTMLElement",big:"HTMLElement",blockquote:"HTMLQuoteElement",body:"HTMLBodyElement",br:"HTMLBRElement",button:"HTMLButtonElement",canvas:"HTMLCanvasElement",caption:"HTMLTableCaptionElement",center:"HTMLElement",
- cite:"HTMLElement",code:"HTMLElement",col:"HTMLTableColElement",colgroup:"HTMLTableColElement",command:"HTMLCommandElement",data:"HTMLElement",datalist:"HTMLDataListElement",dd:"HTMLElement",del:"HTMLModElement",details:"HTMLDetailsElement",dfn:"HTMLElement",dialog:"HTMLDialogElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",dl:"HTMLDListElement",dt:"HTMLElement",em:"HTMLElement",fieldset:"HTMLFieldSetElement",figcaption:"HTMLElement",figure:"HTMLElement",font:"HTMLFontElement",footer:"HTMLElement",
- form:"HTMLFormElement",frame:"HTMLFrameElement",frameset:"HTMLFrameSetElement",h1:"HTMLHeadingElement",h2:"HTMLHeadingElement",h3:"HTMLHeadingElement",h4:"HTMLHeadingElement",h5:"HTMLHeadingElement",h6:"HTMLHeadingElement",head:"HTMLHeadElement",header:"HTMLElement",hgroup:"HTMLElement",hr:"HTMLHRElement",html:"HTMLHtmlElement",i:"HTMLElement",iframe:"HTMLIFrameElement",img:"HTMLImageElement",input:"HTMLInputElement",ins:"HTMLModElement",isindex:"HTMLUnknownElement",kbd:"HTMLElement",keygen:"HTMLKeygenElement",
- label:"HTMLLabelElement",legend:"HTMLLegendElement",li:"HTMLLIElement",link:"HTMLLinkElement",map:"HTMLMapElement",mark:"HTMLElement",menu:"HTMLMenuElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",nav:"HTMLElement",nobr:"HTMLElement",noembed:"HTMLElement",noframes:"HTMLElement",noscript:"HTMLElement",object:"HTMLObjectElement",ol:"HTMLOListElement",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",
- progress:"HTMLProgressElement",q:"HTMLQuoteElement",s:"HTMLElement",samp:"HTMLElement",script:"HTMLScriptElement",section:"HTMLElement",select:"HTMLSelectElement",small:"HTMLElement",source:"HTMLSourceElement",span:"HTMLSpanElement",strike:"HTMLElement",strong:"HTMLElement",style:"HTMLStyleElement",sub:"HTMLElement",summary:"HTMLElement",sup:"HTMLElement",table:"HTMLTableElement",tbody:"HTMLTableSectionElement",td:"HTMLTableDataCellElement",textarea:"HTMLTextAreaElement",tfoot:"HTMLTableSectionElement",
- th:"HTMLTableHeaderCellElement",thead:"HTMLTableSectionElement",time:"HTMLTimeElement",title:"HTMLTitleElement",tr:"HTMLTableRowElement",track:"HTMLTrackElement",tt:"HTMLElement",u:"HTMLElement",ul:"HTMLUListElement","var":"HTMLElement",video:"HTMLVideoElement",wbr:"HTMLElement"};$.ELEMENT_DOM_INTERFACES=$.Q;$.P={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2};$.ueffects=$.P;
- $.J={"a::href":2,"area::href":2,"audio::src":1,"blockquote::cite":0,"command::icon":1,"del::cite":0,"form::action":2,"img::src":1,"input::src":1,"ins::cite":0,"q::cite":0,"video::poster":1,"video::src":1};$.URIEFFECTS=$.J;$.M={UNSANDBOXED:2,SANDBOXED:1,DATA:0};$.ltypes=$.M;$.I={"a::href":2,"area::href":2,"audio::src":2,"blockquote::cite":2,"command::icon":1,"del::cite":2,"form::action":2,"img::src":1,"input::src":1,"ins::cite":2,"q::cite":2,"video::poster":1,"video::src":2};$.LOADERTYPES=$.I;
- "undefined"!==typeof window&&(window.html4=$);var ha=function(g){function w(a){if(i.hasOwnProperty(a))return i[a];var b=a.match(q);return b?String.fromCharCode(parseInt(b[1],10)):(b=a.match(B))?String.fromCharCode(parseInt(b[1],16)):r&&F.test(a)?(r.innerHTML="&"+a+";",b=r.textContent,i[a]=b):"&"+a+";"}function M(a,b){return w(b)}function x(a){return a.replace(j,M)}function E(a){return(""+a).replace(R,"&").replace(P,"<").replace(S,">").replace(D,""")}function e(a){return a.replace(ia,"&$1").replace(P,"<").replace(S,">")}
- function v(b){var d={z:b.z||b.cdata,A:b.A||b.comment,B:b.B||b.endDoc,t:b.t||b.endTag,e:b.e||b.pcdata,F:b.F||b.rcdata,H:b.H||b.startDoc,w:b.w||b.startTag};return function(b,g){var f;var H=/(<\/|<\!--|<[!?]|[&<>])/g;f=b+"";if(G)f=f.split(H);else{for(var e=[],h=0,j;(j=H.exec(f))!==s;)e.push(f.substring(h,j.index)),e.push(j[0]),h=j.index+j[0].length;e.push(f.substring(h));f=e}a(d,f,0,{r:C,C:C},g)}}function b(b,d,g,f,t){return function(){a(b,d,g,f,t)}}function a(a,d,p,e,t){try{a.H&&0==p&&a.H(t);for(var h,
- z,j,i=d.length;p<i;){var o=d[p++],l=d[p];switch(o){case "&":I.test(l)?(a.e&&a.e("&"+l,t,A,b(a,d,p,e,t)),p++):a.e&&a.e("&",t,A,b(a,d,p,e,t));break;case "</":if(h=/^([-\w:]+)[^\'\"]*/.exec(l))if(h[0].length===l.length&&">"===d[p+1])p+=2,j=h[1].toLowerCase(),a.t&&a.t(j,t,A,b(a,d,p,e,t));else{var m=d,q=p,r=a,u=t,v=A,y=e,w=f(m,q);w?(r.t&&r.t(w.name,u,v,b(r,m,q,y,u)),p=w.next):p=m.length}else a.e&&a.e("</",t,A,b(a,d,p,e,t));break;case "<":if(h=/^([-\w:]+)\s*\/?/.exec(l))if(h[0].length===l.length&&
- ">"===d[p+1]){p+=2;j=h[1].toLowerCase();a.w&&a.w(j,[],t,A,b(a,d,p,e,t));var B=g.f[j];B&K&&(p=k(d,{name:j,next:p,c:B},a,t,A,e))}else{var m=d,q=a,r=t,u=A,v=e,x=f(m,p);x?(q.w&&q.w(x.name,x.R,r,u,b(q,m,x.next,v,r)),p=x.c&K?k(m,x,q,r,u,v):x.next):p=m.length}else a.e&&a.e("<",t,A,b(a,d,p,e,t));break;case "<\!--":if(!e.C){for(z=p+1;z<i&&!(">"===d[z]&&/--$/.test(d[z-1]));z++);if(z<i){if(a.A){var D=d.slice(p,z).join("");a.A(D.substr(0,D.length-2),t,A,b(a,d,z+1,e,t))}p=z+1}else e.C=n}e.C&&a.e&&a.e("<!--",
- t,A,b(a,d,p,e,t));break;case "<!":if(/^\w/.test(l)){if(!e.r){for(z=p+1;z<i&&">"!==d[z];z++);z<i?p=z+1:e.r=n}e.r&&a.e&&a.e("<!",t,A,b(a,d,p,e,t))}else a.e&&a.e("<!",t,A,b(a,d,p,e,t));break;case "<?":if(!e.r){for(z=p+1;z<i&&">"!==d[z];z++);z<i?p=z+1:e.r=n}e.r&&a.e&&a.e("<?",t,A,b(a,d,p,e,t));break;case ">":a.e&&a.e(">",t,A,b(a,d,p,e,t));break;case "":break;default:a.e&&a.e(o,t,A,b(a,d,p,e,t))}}a.B&&a.B(t)}catch(E){if(E!==A)throw E;}}function k(a,d,f,h,t,j){var z=a.length;T.hasOwnProperty(d.name)||
- (T[d.name]=RegExp("^"+d.name+"(?:[\\s\\/]|$)","i"));for(var i=T[d.name],k=d.next,l=d.next+1;l<z&&!("</"===a[l-1]&&i.test(a[l]));l++);l<z&&(l-=1);z=a.slice(k,l).join("");if(d.c&g.c.CDATA)f.z&&f.z(z,h,t,b(f,a,l,j,h));else if(d.c&g.c.RCDATA)f.F&&f.F(e(z),h,t,b(f,a,l,j,h));else throw Error("bug");return l}function f(a,b){var d=/^([-\w:]+)/.exec(a[b]),f={};f.name=d[1].toLowerCase();f.c=g.f[f.name];for(var e=a[b].substr(d[0].length),h=b+1,j=a.length;h<j&&">"!==a[h];h++)e+=a[h];if(!(j<=h)){for(var l=[];""!==
- e;)if(d=ja.exec(e))if(d[4]&&!d[5]||d[6]&&!d[7]){for(var d=d[4]||d[6],i=C,e=[e,a[h++]];h<j;h++){if(i){if(">"===a[h])break}else 0<=a[h].indexOf(d)&&(i=n);e.push(a[h])}if(j<=h)break;e=e.join("")}else{var i=d[1].toLowerCase(),k;if(d[2]){k=d[3];var m=k.charCodeAt(0);if(34===m||39===m)k=k.substr(1,k.length-2);k=x(k.replace(o,""))}else k="";l.push(i,k);e=e.substr(d[0].length)}else e=e.replace(/^[\s\S][^a-z\s]*/,"");f.R=l;f.next=h+1;return f}}function h(a){function b(a,d){f||d.push(a)}var d,f;return v({startDoc:function(){d=
- [];f=C},startTag:function(b,e,h){if(!f&&g.f.hasOwnProperty(b)){var j=g.f[b];if(!(j&g.c.FOLDABLE)){var k=a(b,e);if(k){if("object"!==typeof k)throw Error("tagPolicy did not return object (old API?)");if("attribs"in k)e=k.attribs;else throw Error("tagPolicy gave no attribs");var i;"tagName"in k?(i=k.tagName,k=g.f[i]):(i=b,k=j);if(j&g.c.OPTIONAL_ENDTAG){var l=d[d.length-1];l&&l.D===b&&(l.v!==i||b!==i)&&h.push("</",l.v,">")}j&g.c.EMPTY||d.push({D:b,v:i});h.push("<",i);b=0;for(l=e.length;b<l;b+=2){var m=
- e[b],o=e[b+1];o!==s&&o!==c&&h.push(" ",m,'="',E(o),'"')}h.push(">");j&g.c.EMPTY&&!(k&g.c.EMPTY)&&h.push("</",i,">")}else f=!(j&g.c.EMPTY)}}},endTag:function(a,b){if(f)f=C;else if(g.f.hasOwnProperty(a)){var e=g.f[a];if(!(e&(g.c.EMPTY|g.c.FOLDABLE))){if(e&g.c.OPTIONAL_ENDTAG)for(e=d.length;0<=--e;){var h=d[e].D;if(h===a)break;if(!(g.f[h]&g.c.OPTIONAL_ENDTAG))return}else for(e=d.length;0<=--e&&d[e].D!==a;);if(!(0>e)){for(h=d.length;--h>e;){var j=d[h].v;g.f[j]&g.c.OPTIONAL_ENDTAG||b.push("</",j,">")}e<
- d.length&&(a=d[e].v);d.length=e;b.push("</",a,">")}}}},pcdata:b,rcdata:b,cdata:b,endDoc:function(a){for(;d.length;d.length--)a.push("</",d[d.length-1].v,">")}})}function d(a,b,d,f,e){if(!e)return s;try{var g=Y.parse(""+a);if(g&&(!g.K()||ka.test(g.W()))){var h=e(g,b,d,f);return h?h.toString():s}}catch(j){}return s}function y(a,b,d,f,e){d||a(b+" removed",{S:"removed",tagName:b});if(f!==e){var g="changed";f&&!e?g="removed":!f&&e&&(g="added");a(b+"."+d+" "+g,{S:g,tagName:b,la:d,oldValue:f,newValue:e})}}
- function l(a,b,d){b=b+"::"+d;if(a.hasOwnProperty(b))return a[b];b="*::"+d;if(a.hasOwnProperty(b))return a[b]}function V(a,b,f,e,h){for(var j=0;j<b.length;j+=2){var k=b[j],i=b[j+1],m=i,o=s,q;if((q=a+"::"+k,g.m.hasOwnProperty(q))||(q="*::"+k,g.m.hasOwnProperty(q)))o=g.m[q];if(o!==s)switch(o){case g.d.NONE:break;case g.d.SCRIPT:i=s;h&&y(h,a,k,m,i);break;case g.d.STYLE:if("undefined"===typeof N){i=s;h&&y(h,a,k,m,i);break}var r=[];N(i,{declaration:function(a,b){var e=a.toLowerCase();u(e,b,f?function(a){return d(a,
- g.P.ja,g.M.ka,{TYPE:"CSS",CSS_PROP:e},f)}:s);b.length&&r.push(e+": "+b.join(" "))}});i=0<r.length?r.join(" ; "):s;h&&y(h,a,k,m,i);break;case g.d.ID:case g.d.IDREF:case g.d.IDREFS:case g.d.GLOBAL_NAME:case g.d.LOCAL_NAME:case g.d.CLASSES:i=e?e(i):i;h&&y(h,a,k,m,i);break;case g.d.URI:i=d(i,l(g.J,a,k),l(g.I,a,k),{TYPE:"MARKUP",XML_ATTR:k,XML_TAG:a},f);h&&y(h,a,k,m,i);break;case g.d.URI_FRAGMENT:i&&"#"===i.charAt(0)?(i=i.substring(1),i=e?e(i):i,i!==s&&i!==c&&(i="#"+i)):i=s;h&&y(h,a,k,m,i);break;default:i=
- s,h&&y(h,a,k,m,i)}else i=s,h&&y(h,a,k,m,i);b[j+1]=i}return b}function ea(a,b,d){return function(e,f){if(g.f[e]&g.c.UNSAFE)d&&y(d,e,c,c,c);else return{attribs:V(e,f,a,b,d)}}}function Q(a,b){var d=[];h(b)(a,d);return d.join("")}var N,u;"undefined"!==typeof window&&(N=window.parseCssDeclarations,u=window.sanitizeCssProperty);var i={lt:"<",LT:"<",gt:">",GT:">",amp:"&",AMP:"&",quot:'"',apos:"'",nbsp:"\u00a0"},q=/^#(\d+)$/,B=/^#x([0-9A-Fa-f]+)$/,F=/^[A-Za-z][A-za-z0-9]+$/,r="undefined"!==typeof window&&
- window.document?window.document.createElement("textarea"):s,o=/\0/g,j=/&(#[0-9]+|#[xX][0-9A-Fa-f]+|\w+);/g,I=/^(#[0-9]+|#[xX][0-9A-Fa-f]+|\w+);/,R=/&/g,ia=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,P=/[<]/g,S=/>/g,D=/\"/g,ja=/^\s*([-.:\w]+)(?:\s*(=)\s*((")[^"]*("|$)|(')[^']*('|$)|(?=[a-z][-\w]*\s*=)|[^"'\s]*))?/i,G=3==="a,b".split(/(,)/).length,K=g.c.CDATA|g.c.RCDATA,A={},T={},ka=/^(?:https?|mailto|data)$/i,m={};m.pa=m.escapeAttrib=E;m.ra=m.makeHtmlSanitizer=h;m.sa=m.makeSaxParser=v;m.ta=m.makeTagPolicy=
- ea;m.wa=m.normalizeRCData=e;m.xa=m.sanitize=function(a,b,d,e){return Q(a,ea(b,d,e))};m.ya=m.sanitizeAttribs=V;m.za=m.sanitizeWithPolicy=Q;m.Ba=m.unescapeEntities=x;return m}($),la=ha.sanitize;"undefined"!==typeof window&&(window.html=ha,window.html_sanitize=la);})();
- /* pako 1.0.3 nodeca/pako */
- !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.pako=t()}}(function(){return function t(e,a,i){function n(s,o){if(!a[s]){if(!e[s]){var l="function"==typeof require&&require;if(!o&&l)return l(s,!0);if(r)return r(s,!0);var h=new Error("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var d=a[s]={exports:{}};e[s][0].call(d.exports,function(t){var a=e[s][1][t];return n(a?a:t)},d,d.exports,t,e,a,i)}return a[s].exports}for(var r="function"==typeof require&&require,s=0;s<i.length;s++)n(i[s]);return n}({1:[function(t,e,a){"use strict";function i(t){if(!(this instanceof i))return new i(t);this.options=l.assign({level:w,method:v,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var a=o.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==b)throw new Error(d[a]);if(e.header&&o.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?h.string2buf(e.dictionary):"[object ArrayBuffer]"===_.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=o.deflateSetDictionary(this.strm,n),a!==b)throw new Error(d[a]);this._dict_set=!0}}function n(t,e){var a=new i(e);if(a.push(t,!0),a.err)throw a.msg;return a.result}function r(t,e){return e=e||{},e.raw=!0,n(t,e)}function s(t,e){return e=e||{},e.gzip=!0,n(t,e)}var o=t("./zlib/deflate"),l=t("./utils/common"),h=t("./utils/strings"),d=t("./zlib/messages"),f=t("./zlib/zstream"),_=Object.prototype.toString,u=0,c=4,b=0,g=1,m=2,w=-1,p=0,v=8;i.prototype.push=function(t,e){var a,i,n=this.strm,r=this.options.chunkSize;if(this.ended)return!1;i=e===~~e?e:e===!0?c:u,"string"==typeof t?n.input=h.string2buf(t):"[object ArrayBuffer]"===_.call(t)?n.input=new Uint8Array(t):n.input=t,n.next_in=0,n.avail_in=n.input.length;do{if(0===n.avail_out&&(n.output=new l.Buf8(r),n.next_out=0,n.avail_out=r),a=o.deflate(n,i),a!==g&&a!==b)return this.onEnd(a),this.ended=!0,!1;0!==n.avail_out&&(0!==n.avail_in||i!==c&&i!==m)||("string"===this.options.to?this.onData(h.buf2binstring(l.shrinkBuf(n.output,n.next_out))):this.onData(l.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||0===n.avail_out)&&a!==g);return i===c?(a=o.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===b):i!==m||(this.onEnd(b),n.avail_out=0,!0)},i.prototype.onData=function(t){this.chunks.push(t)},i.prototype.onEnd=function(t){t===b&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},a.Deflate=i,a.deflate=n,a.deflateRaw=r,a.gzip=s},{"./utils/common":3,"./utils/strings":4,"./zlib/deflate":8,"./zlib/messages":13,"./zlib/zstream":15}],2:[function(t,e,a){"use strict";function i(t){if(!(this instanceof i))return new i(t);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0===(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var a=s.inflateInit2(this.strm,e.windowBits);if(a!==h.Z_OK)throw new Error(d[a]);this.header=new _,s.inflateGetHeader(this.strm,this.header)}function n(t,e){var a=new i(e);if(a.push(t,!0),a.err)throw a.msg;return a.result}function r(t,e){return e=e||{},e.raw=!0,n(t,e)}var s=t("./zlib/inflate"),o=t("./utils/common"),l=t("./utils/strings"),h=t("./zlib/constants"),d=t("./zlib/messages"),f=t("./zlib/zstream"),_=t("./zlib/gzheader"),u=Object.prototype.toString;i.prototype.push=function(t,e){var a,i,n,r,d,f,_=this.strm,c=this.options.chunkSize,b=this.options.dictionary,g=!1;if(this.ended)return!1;i=e===~~e?e:e===!0?h.Z_FINISH:h.Z_NO_FLUSH,"string"==typeof t?_.input=l.binstring2buf(t):"[object ArrayBuffer]"===u.call(t)?_.input=new Uint8Array(t):_.input=t,_.next_in=0,_.avail_in=_.input.length;do{if(0===_.avail_out&&(_.output=new o.Buf8(c),_.next_out=0,_.avail_out=c),a=s.inflate(_,h.Z_NO_FLUSH),a===h.Z_NEED_DICT&&b&&(f="string"==typeof b?l.string2buf(b):"[object ArrayBuffer]"===u.call(b)?new Uint8Array(b):b,a=s.inflateSetDictionary(this.strm,f)),a===h.Z_BUF_ERROR&&g===!0&&(a=h.Z_OK,g=!1),a!==h.Z_STREAM_END&&a!==h.Z_OK)return this.onEnd(a),this.ended=!0,!1;_.next_out&&(0!==_.avail_out&&a!==h.Z_STREAM_END&&(0!==_.avail_in||i!==h.Z_FINISH&&i!==h.Z_SYNC_FLUSH)||("string"===this.options.to?(n=l.utf8border(_.output,_.next_out),r=_.next_out-n,d=l.buf2string(_.output,n),_.next_out=r,_.avail_out=c-r,r&&o.arraySet(_.output,_.output,n,r,0),this.onData(d)):this.onData(o.shrinkBuf(_.output,_.next_out)))),0===_.avail_in&&0===_.avail_out&&(g=!0)}while((_.avail_in>0||0===_.avail_out)&&a!==h.Z_STREAM_END);return a===h.Z_STREAM_END&&(i=h.Z_FINISH),i===h.Z_FINISH?(a=s.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===h.Z_OK):i!==h.Z_SYNC_FLUSH||(this.onEnd(h.Z_OK),_.avail_out=0,!0)},i.prototype.onData=function(t){this.chunks.push(t)},i.prototype.onEnd=function(t){t===h.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},a.Inflate=i,a.inflate=n,a.inflateRaw=r,a.ungzip=n},{"./utils/common":3,"./utils/strings":4,"./zlib/constants":6,"./zlib/gzheader":9,"./zlib/inflate":11,"./zlib/messages":13,"./zlib/zstream":15}],3:[function(t,e,a){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;a.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(var i in a)a.hasOwnProperty(i)&&(t[i]=a[i])}}return t},a.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var n={arraySet:function(t,e,a,i,n){if(e.subarray&&t.subarray)return void t.set(e.subarray(a,a+i),n);for(var r=0;r<i;r++)t[n+r]=e[a+r]},flattenChunks:function(t){var e,a,i,n,r,s;for(i=0,e=0,a=t.length;e<a;e++)i+=t[e].length;for(s=new Uint8Array(i),n=0,e=0,a=t.length;e<a;e++)r=t[e],s.set(r,n),n+=r.length;return s}},r={arraySet:function(t,e,a,i,n){for(var r=0;r<i;r++)t[n+r]=e[a+r]},flattenChunks:function(t){return[].concat.apply([],t)}};a.setTyped=function(t){t?(a.Buf8=Uint8Array,a.Buf16=Uint16Array,a.Buf32=Int32Array,a.assign(a,n)):(a.Buf8=Array,a.Buf16=Array,a.Buf32=Array,a.assign(a,r))},a.setTyped(i)},{}],4:[function(t,e,a){"use strict";function i(t,e){if(e<65537&&(t.subarray&&s||!t.subarray&&r))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var a="",i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a}var n=t("./common"),r=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(t){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){s=!1}for(var o=new n.Buf8(256),l=0;l<256;l++)o[l]=l>=252?6:l>=248?5:l>=240?4:l>=224?3:l>=192?2:1;o[254]=o[254]=1,a.string2buf=function(t){var e,a,i,r,s,o=t.length,l=0;for(r=0;r<o;r++)a=t.charCodeAt(r),55296===(64512&a)&&r+1<o&&(i=t.charCodeAt(r+1),56320===(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),r++)),l+=a<128?1:a<2048?2:a<65536?3:4;for(e=new n.Buf8(l),s=0,r=0;s<l;r++)a=t.charCodeAt(r),55296===(64512&a)&&r+1<o&&(i=t.charCodeAt(r+1),56320===(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),r++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},a.buf2binstring=function(t){return i(t,t.length)},a.binstring2buf=function(t){for(var e=new n.Buf8(t.length),a=0,i=e.length;a<i;a++)e[a]=t.charCodeAt(a);return e},a.buf2string=function(t,e){var a,n,r,s,l=e||t.length,h=new Array(2*l);for(n=0,a=0;a<l;)if(r=t[a++],r<128)h[n++]=r;else if(s=o[r],s>4)h[n++]=65533,a+=s-1;else{for(r&=2===s?31:3===s?15:7;s>1&&a<l;)r=r<<6|63&t[a++],s--;s>1?h[n++]=65533:r<65536?h[n++]=r:(r-=65536,h[n++]=55296|r>>10&1023,h[n++]=56320|1023&r)}return i(h,n)},a.utf8border=function(t,e){var a;for(e=e||t.length,e>t.length&&(e=t.length),a=e-1;a>=0&&128===(192&t[a]);)a--;return a<0?e:0===a?e:a+o[t[a]]>e?a:e}},{"./common":3}],5:[function(t,e,a){"use strict";function i(t,e,a,i){for(var n=65535&t|0,r=t>>>16&65535|0,s=0;0!==a;){s=a>2e3?2e3:a,a-=s;do n=n+e[i++]|0,r=r+n|0;while(--s);n%=65521,r%=65521}return n|r<<16|0}e.exports=i},{}],6:[function(t,e,a){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],7:[function(t,e,a){"use strict";function i(){for(var t,e=[],a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}function n(t,e,a,i){var n=r,s=i+a;t^=-1;for(var o=i;o<s;o++)t=t>>>8^n[255&(t^e[o])];return t^-1}var r=i();e.exports=n},{}],8:[function(t,e,a){"use strict";function i(t,e){return t.msg=D[e],e}function n(t){return(t<<1)-(t>4?9:0)}function r(t){for(var e=t.length;--e>=0;)t[e]=0}function s(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(R.arraySet(t.output,e.pending_buf,e.pending_out,a,t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))}function o(t,e){C._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,s(t.strm)}function l(t,e){t.pending_buf[t.pending++]=e}function h(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function d(t,e,a,i){var n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,R.arraySet(e,t.input,t.next_in,n,a),1===t.state.wrap?t.adler=N(t.adler,e,n,a):2===t.state.wrap&&(t.adler=O(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)}function f(t,e){var a,i,n=t.max_chain_length,r=t.strstart,s=t.prev_length,o=t.nice_match,l=t.strstart>t.w_size-ft?t.strstart-(t.w_size-ft):0,h=t.window,d=t.w_mask,f=t.prev,_=t.strstart+dt,u=h[r+s-1],c=h[r+s];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do if(a=e,h[a+s]===c&&h[a+s-1]===u&&h[a]===h[r]&&h[++a]===h[r+1]){r+=2,a++;do;while(h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&r<_);if(i=dt-(_-r),r=_-dt,i>s){if(t.match_start=e,s=i,i>=o)break;u=h[r+s-1],c=h[r+s]}}while((e=f[e&d])>l&&0!==--n);return s<=t.lookahead?s:t.lookahead}function _(t){var e,a,i,n,r,s=t.w_size;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-ft)){R.arraySet(t.window,t.window,s,s,0),t.match_start-=s,t.strstart-=s,t.block_start-=s,a=t.hash_size,e=a;do i=t.head[--e],t.head[e]=i>=s?i-s:0;while(--a);a=s,e=a;do i=t.prev[--e],t.prev[e]=i>=s?i-s:0;while(--a);n+=s}if(0===t.strm.avail_in)break;if(a=d(t.strm,t.window,t.strstart+t.lookahead,n),t.lookahead+=a,t.lookahead+t.insert>=ht)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=(t.ins_h<<t.hash_shift^t.window[r+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[r+ht-1])&t.hash_mask,t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<ht)););}while(t.lookahead<ft&&0!==t.strm.avail_in)}function u(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(_(t),0===t.lookahead&&e===I)return vt;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+a;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,o(t,!1),0===t.strm.avail_out))return vt;if(t.strstart-t.block_start>=t.w_size-ft&&(o(t,!1),0===t.strm.avail_out))return vt}return t.insert=0,e===F?(o(t,!0),0===t.strm.avail_out?yt:xt):t.strstart>t.block_start&&(o(t,!1),0===t.strm.avail_out)?vt:vt}function c(t,e){for(var a,i;;){if(t.lookahead<ft){if(_(t),t.lookahead<ft&&e===I)return vt;if(0===t.lookahead)break}if(a=0,t.lookahead>=ht&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+ht-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ft&&(t.match_length=f(t,a)),t.match_length>=ht)if(i=C._tr_tally(t,t.strstart-t.match_start,t.match_length-ht),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=ht){t.match_length--;do t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+ht-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else i=C._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(o(t,!1),0===t.strm.avail_out))return vt}return t.insert=t.strstart<ht-1?t.strstart:ht-1,e===F?(o(t,!0),0===t.strm.avail_out?yt:xt):t.last_lit&&(o(t,!1),0===t.strm.avail_out)?vt:kt}function b(t,e){for(var a,i,n;;){if(t.lookahead<ft){if(_(t),t.lookahead<ft&&e===I)return vt;if(0===t.lookahead)break}if(a=0,t.lookahead>=ht&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+ht-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=ht-1,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ft&&(t.match_length=f(t,a),t.match_length<=5&&(t.strategy===q||t.match_length===ht&&t.strstart-t.match_start>4096)&&(t.match_length=ht-1)),t.prev_length>=ht&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-ht,i=C._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-ht),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=n&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+ht-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(0!==--t.prev_length);if(t.match_available=0,t.match_length=ht-1,t.strstart++,i&&(o(t,!1),0===t.strm.avail_out))return vt}else if(t.match_available){if(i=C._tr_tally(t,0,t.window[t.strstart-1]),i&&o(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return vt}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=C._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<ht-1?t.strstart:ht-1,e===F?(o(t,!0),0===t.strm.avail_out?yt:xt):t.last_lit&&(o(t,!1),0===t.strm.avail_out)?vt:kt}function g(t,e){for(var a,i,n,r,s=t.window;;){if(t.lookahead<=dt){if(_(t),t.lookahead<=dt&&e===I)return vt;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=ht&&t.strstart>0&&(n=t.strstart-1,i=s[n],i===s[++n]&&i===s[++n]&&i===s[++n])){r=t.strstart+dt;do;while(i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&n<r);t.match_length=dt-(r-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=ht?(a=C._tr_tally(t,1,t.match_length-ht),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=C._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(o(t,!1),0===t.strm.avail_out))return vt}return t.insert=0,e===F?(o(t,!0),0===t.strm.avail_out?yt:xt):t.last_lit&&(o(t,!1),0===t.strm.avail_out)?vt:kt}function m(t,e){for(var a;;){if(0===t.lookahead&&(_(t),0===t.lookahead)){if(e===I)return vt;break}if(t.match_length=0,a=C._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(o(t,!1),0===t.strm.avail_out))return vt}return t.insert=0,e===F?(o(t,!0),0===t.strm.avail_out?yt:xt):t.last_lit&&(o(t,!1),0===t.strm.avail_out)?vt:kt}function w(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}function p(t){t.window_size=2*t.w_size,r(t.head),t.max_lazy_match=Z[t.level].max_lazy,t.good_match=Z[t.level].good_length,t.nice_match=Z[t.level].nice_length,t.max_chain_length=Z[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=ht-1,t.match_available=0,t.ins_h=0}function v(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=V,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new R.Buf16(2*ot),this.dyn_dtree=new R.Buf16(2*(2*rt+1)),this.bl_tree=new R.Buf16(2*(2*st+1)),r(this.dyn_ltree),r(this.dyn_dtree),r(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new R.Buf16(lt+1),this.heap=new R.Buf16(2*nt+1),r(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new R.Buf16(2*nt+1),r(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function k(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=Q,e=t.state,e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?ut:wt,t.adler=2===e.wrap?0:1,e.last_flush=I,C._tr_init(e),H):i(t,K)}function y(t){var e=k(t);return e===H&&p(t.state),e}function x(t,e){return t&&t.state?2!==t.state.wrap?K:(t.state.gzhead=e,H):K}function z(t,e,a,n,r,s){if(!t)return K;var o=1;if(e===Y&&(e=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),r<1||r>$||a!==V||n<8||n>15||e<0||e>9||s<0||s>W)return i(t,K);8===n&&(n=9);var l=new v;return t.state=l,l.strm=t,l.wrap=o,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=r+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+ht-1)/ht),l.window=new R.Buf8(2*l.w_size),l.head=new R.Buf16(l.hash_size),l.prev=new R.Buf16(l.w_size),l.lit_bufsize=1<<r+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new R.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=s,l.method=a,y(t)}function B(t,e){return z(t,e,V,tt,et,J)}function S(t,e){var a,o,d,f;if(!t||!t.state||e>L||e<0)return t?i(t,K):K;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||o.status===pt&&e!==F)return i(t,0===t.avail_out?P:K);if(o.strm=t,a=o.last_flush,o.last_flush=e,o.status===ut)if(2===o.wrap)t.adler=0,l(o,31),l(o,139),l(o,8),o.gzhead?(l(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),l(o,255&o.gzhead.time),l(o,o.gzhead.time>>8&255),l(o,o.gzhead.time>>16&255),l(o,o.gzhead.time>>24&255),l(o,9===o.level?2:o.strategy>=G||o.level<2?4:0),l(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(l(o,255&o.gzhead.extra.length),l(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=O(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=ct):(l(o,0),l(o,0),l(o,0),l(o,0),l(o,0),l(o,9===o.level?2:o.strategy>=G||o.level<2?4:0),l(o,zt),o.status=wt);else{var _=V+(o.w_bits-8<<4)<<8,u=-1;u=o.strategy>=G||o.level<2?0:o.level<6?1:6===o.level?2:3,_|=u<<6,0!==o.strstart&&(_|=_t),_+=31-_%31,o.status=wt,h(o,_),0!==o.strstart&&(h(o,t.adler>>>16),h(o,65535&t.adler)),t.adler=1}if(o.status===ct)if(o.gzhead.extra){for(d=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>d&&(t.adler=O(t.adler,o.pending_buf,o.pending-d,d)),s(t),d=o.pending,o.pending!==o.pending_buf_size));)l(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>d&&(t.adler=O(t.adler,o.pending_buf,o.pending-d,d)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=bt)}else o.status=bt;if(o.status===bt)if(o.gzhead.name){d=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>d&&(t.adler=O(t.adler,o.pending_buf,o.pending-d,d)),s(t),d=o.pending,o.pending===o.pending_buf_size)){f=1;break}f=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,l(o,f)}while(0!==f);o.gzhead.hcrc&&o.pending>d&&(t.adler=O(t.adler,o.pending_buf,o.pending-d,d)),0===f&&(o.gzindex=0,o.status=gt)}else o.status=gt;if(o.status===gt)if(o.gzhead.comment){d=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>d&&(t.adler=O(t.adler,o.pending_buf,o.pending-d,d)),s(t),d=o.pending,o.pending===o.pending_buf_size)){f=1;break}f=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,l(o,f)}while(0!==f);o.gzhead.hcrc&&o.pending>d&&(t.adler=O(t.adler,o.pending_buf,o.pending-d,d)),0===f&&(o.status=mt)}else o.status=mt;if(o.status===mt&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&s(t),o.pending+2<=o.pending_buf_size&&(l(o,255&t.adler),l(o,t.adler>>8&255),t.adler=0,o.status=wt)):o.status=wt),0!==o.pending){if(s(t),0===t.avail_out)return o.last_flush=-1,H}else if(0===t.avail_in&&n(e)<=n(a)&&e!==F)return i(t,P);if(o.status===pt&&0!==t.avail_in)return i(t,P);if(0!==t.avail_in||0!==o.lookahead||e!==I&&o.status!==pt){var c=o.strategy===G?m(o,e):o.strategy===X?g(o,e):Z[o.level].func(o,e);if(c!==yt&&c!==xt||(o.status=pt),c===vt||c===yt)return 0===t.avail_out&&(o.last_flush=-1),H;if(c===kt&&(e===U?C._tr_align(o):e!==L&&(C._tr_stored_block(o,0,0,!1),e===T&&(r(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),s(t),0===t.avail_out))return o.last_flush=-1,H}return e!==F?H:o.wrap<=0?j:(2===o.wrap?(l(o,255&t.adler),l(o,t.adler>>8&255),l(o,t.adler>>16&255),l(o,t.adler>>24&255),l(o,255&t.total_in),l(o,t.total_in>>8&255),l(o,t.total_in>>16&255),l(o,t.total_in>>24&255)):(h(o,t.adler>>>16),h(o,65535&t.adler)),s(t),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?H:j)}function E(t){var e;return t&&t.state?(e=t.state.status,e!==ut&&e!==ct&&e!==bt&&e!==gt&&e!==mt&&e!==wt&&e!==pt?i(t,K):(t.state=null,e===wt?i(t,M):H)):K}function A(t,e){var a,i,n,s,o,l,h,d,f=e.length;if(!t||!t.state)return K;if(a=t.state,s=a.wrap,2===s||1===s&&a.status!==ut||a.lookahead)return K;for(1===s&&(t.adler=N(t.adler,e,f,0)),a.wrap=0,f>=a.w_size&&(0===s&&(r(a.head),a.strstart=0,a.block_start=0,a.insert=0),d=new R.Buf8(a.w_size),R.arraySet(d,e,f-a.w_size,a.w_size,0),e=d,f=a.w_size),o=t.avail_in,l=t.next_in,h=t.input,t.avail_in=f,t.next_in=0,t.input=e,_(a);a.lookahead>=ht;){i=a.strstart,n=a.lookahead-(ht-1);do a.ins_h=(a.ins_h<<a.hash_shift^a.window[i+ht-1])&a.hash_mask,a.prev[i&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=i,i++;while(--n);a.strstart=i,a.lookahead=ht-1,_(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=ht-1,a.match_available=0,t.next_in=l,t.input=h,t.avail_in=o,a.wrap=s,H}var Z,R=t("../utils/common"),C=t("./trees"),N=t("./adler32"),O=t("./crc32"),D=t("./messages"),I=0,U=1,T=3,F=4,L=5,H=0,j=1,K=-2,M=-3,P=-5,Y=-1,q=1,G=2,X=3,W=4,J=0,Q=2,V=8,$=9,tt=15,et=8,at=29,it=256,nt=it+1+at,rt=30,st=19,ot=2*nt+1,lt=15,ht=3,dt=258,ft=dt+ht+1,_t=32,ut=42,ct=69,bt=73,gt=91,mt=103,wt=113,pt=666,vt=1,kt=2,yt=3,xt=4,zt=3;Z=[new w(0,0,0,0,u),new w(4,4,8,4,c),new w(4,5,16,8,c),new w(4,6,32,32,c),new w(4,4,16,16,b),new w(8,16,32,32,b),new w(8,16,128,128,b),new w(8,32,128,256,b),new w(32,128,258,1024,b),new w(32,258,258,4096,b)],a.deflateInit=B,a.deflateInit2=z,a.deflateReset=y,a.deflateResetKeep=k,a.deflateSetHeader=x,a.deflate=S,a.deflateEnd=E,a.deflateSetDictionary=A,a.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":3,"./adler32":5,"./crc32":7,"./messages":13,"./trees":14}],9:[function(t,e,a){"use strict";function i(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=i},{}],10:[function(t,e,a){"use strict";var i=30,n=12;e.exports=function(t,e){var a,r,s,o,l,h,d,f,_,u,c,b,g,m,w,p,v,k,y,x,z,B,S,E,A;a=t.state,r=t.next_in,E=t.input,s=r+(t.avail_in-5),o=t.next_out,A=t.output,l=o-(e-t.avail_out),h=o+(t.avail_out-257),d=a.dmax,f=a.wsize,_=a.whave,u=a.wnext,c=a.window,b=a.hold,g=a.bits,m=a.lencode,w=a.distcode,p=(1<<a.lenbits)-1,v=(1<<a.distbits)-1;t:do{g<15&&(b+=E[r++]<<g,g+=8,b+=E[r++]<<g,g+=8),k=m[b&p];e:for(;;){if(y=k>>>24,b>>>=y,g-=y,y=k>>>16&255,0===y)A[o++]=65535&k;else{if(!(16&y)){if(0===(64&y)){k=m[(65535&k)+(b&(1<<y)-1)];continue e}if(32&y){a.mode=n;break t}t.msg="invalid literal/length code",a.mode=i;break t}x=65535&k,y&=15,y&&(g<y&&(b+=E[r++]<<g,g+=8),x+=b&(1<<y)-1,b>>>=y,g-=y),g<15&&(b+=E[r++]<<g,g+=8,b+=E[r++]<<g,g+=8),k=w[b&v];a:for(;;){if(y=k>>>24,b>>>=y,g-=y,y=k>>>16&255,!(16&y)){if(0===(64&y)){k=w[(65535&k)+(b&(1<<y)-1)];continue a}t.msg="invalid distance code",a.mode=i;break t}if(z=65535&k,y&=15,g<y&&(b+=E[r++]<<g,g+=8,g<y&&(b+=E[r++]<<g,g+=8)),z+=b&(1<<y)-1,z>d){t.msg="invalid distance too far back",a.mode=i;break t}if(b>>>=y,g-=y,y=o-l,z>y){if(y=z-y,y>_&&a.sane){t.msg="invalid distance too far back",a.mode=i;break t}if(B=0,S=c,0===u){if(B+=f-y,y<x){x-=y;do A[o++]=c[B++];while(--y);B=o-z,S=A}}else if(u<y){if(B+=f+u-y,y-=u,y<x){x-=y;do A[o++]=c[B++];while(--y);if(B=0,u<x){y=u,x-=y;do A[o++]=c[B++];while(--y);B=o-z,S=A}}}else if(B+=u-y,y<x){x-=y;do A[o++]=c[B++];while(--y);B=o-z,S=A}for(;x>2;)A[o++]=S[B++],A[o++]=S[B++],A[o++]=S[B++],x-=3;x&&(A[o++]=S[B++],x>1&&(A[o++]=S[B++]))}else{B=o-z;do A[o++]=A[B++],A[o++]=A[B++],A[o++]=A[B++],x-=3;while(x>2);x&&(A[o++]=A[B++],x>1&&(A[o++]=A[B++]))}break}}break}}while(r<s&&o<h);x=g>>3,r-=x,g-=x<<3,b&=(1<<g)-1,t.next_in=r,t.next_out=o,t.avail_in=r<s?5+(s-r):5-(r-s),t.avail_out=o<h?257+(h-o):257-(o-h),a.hold=b,a.bits=g}},{}],11:[function(t,e,a){"use strict";function i(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function n(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new w.Buf16(320),this.work=new w.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function r(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=T,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new w.Buf32(bt),e.distcode=e.distdyn=new w.Buf32(gt),e.sane=1,e.back=-1,Z):N}function s(t){var e;return t&&t.state?(e=t.state,e.wsize=0,e.whave=0,e.wnext=0,r(t)):N}function o(t,e){var a,i;return t&&t.state?(i=t.state,e<0?(a=0,e=-e):(a=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||e>15)?N:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,s(t))):N}function l(t,e){var a,i;return t?(i=new n,t.state=i,i.window=null,a=o(t,e),a!==Z&&(t.state=null),a):N}function h(t){return l(t,wt)}function d(t){if(pt){var e;for(g=new w.Buf32(512),m=new w.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(y(z,t.lens,0,288,g,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;y(B,t.lens,0,32,m,0,t.work,{bits:5}),pt=!1}t.lencode=g,t.lenbits=9,t.distcode=m,t.distbits=5}function f(t,e,a,i){var n,r=t.state;return null===r.window&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=new w.Buf8(r.wsize)),i>=r.wsize?(w.arraySet(r.window,e,a-r.wsize,r.wsize,0),r.wnext=0,r.whave=r.wsize):(n=r.wsize-r.wnext,n>i&&(n=i),w.arraySet(r.window,e,a-i,n,r.wnext),i-=n,i?(w.arraySet(r.window,e,a-i,i,0),r.wnext=i,r.whave=r.wsize):(r.wnext+=n,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=n))),0}function _(t,e){var a,n,r,s,o,l,h,_,u,c,b,g,m,bt,gt,mt,wt,pt,vt,kt,yt,xt,zt,Bt,St=0,Et=new w.Buf8(4),At=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return N;a=t.state,a.mode===X&&(a.mode=W),o=t.next_out,r=t.output,h=t.avail_out,s=t.next_in,n=t.input,l=t.avail_in,_=a.hold,u=a.bits,c=l,b=h,xt=Z;t:for(;;)switch(a.mode){case T:if(0===a.wrap){a.mode=W;break}for(;u<16;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if(2&a.wrap&&35615===_){a.check=0,Et[0]=255&_,Et[1]=_>>>8&255,a.check=v(a.check,Et,2,0),_=0,u=0,a.mode=F;break}if(a.flags=0,a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&_)<<8)+(_>>8))%31){t.msg="incorrect header check",a.mode=_t;break}if((15&_)!==U){t.msg="unknown compression method",a.mode=_t;break}if(_>>>=4,u-=4,yt=(15&_)+8,0===a.wbits)a.wbits=yt;else if(yt>a.wbits){t.msg="invalid window size",a.mode=_t;break}a.dmax=1<<yt,t.adler=a.check=1,a.mode=512&_?q:X,_=0,u=0;break;case F:for(;u<16;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if(a.flags=_,(255&a.flags)!==U){t.msg="unknown compression method",a.mode=_t;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=_t;break}a.head&&(a.head.text=_>>8&1),512&a.flags&&(Et[0]=255&_,Et[1]=_>>>8&255,a.check=v(a.check,Et,2,0)),_=0,u=0,a.mode=L;case L:for(;u<32;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}a.head&&(a.head.time=_),512&a.flags&&(Et[0]=255&_,Et[1]=_>>>8&255,Et[2]=_>>>16&255,Et[3]=_>>>24&255,a.check=v(a.check,Et,4,0)),_=0,u=0,a.mode=H;case H:for(;u<16;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}a.head&&(a.head.xflags=255&_,a.head.os=_>>8),512&a.flags&&(Et[0]=255&_,Et[1]=_>>>8&255,a.check=v(a.check,Et,2,0)),_=0,u=0,a.mode=j;case j:if(1024&a.flags){for(;u<16;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}a.length=_,a.head&&(a.head.extra_len=_),512&a.flags&&(Et[0]=255&_,Et[1]=_>>>8&255,a.check=v(a.check,Et,2,0)),_=0,u=0}else a.head&&(a.head.extra=null);a.mode=K;case K:if(1024&a.flags&&(g=a.length,g>l&&(g=l),g&&(a.head&&(yt=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Array(a.head.extra_len)),w.arraySet(a.head.extra,n,s,g,yt)),512&a.flags&&(a.check=v(a.check,n,g,s)),l-=g,s+=g,a.length-=g),a.length))break t;a.length=0,a.mode=M;case M:if(2048&a.flags){if(0===l)break t;g=0;do yt=n[s+g++],a.head&&yt&&a.length<65536&&(a.head.name+=String.fromCharCode(yt));while(yt&&g<l);if(512&a.flags&&(a.check=v(a.check,n,g,s)),l-=g,s+=g,yt)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=P;case P:if(4096&a.flags){if(0===l)break t;g=0;do yt=n[s+g++],a.head&&yt&&a.length<65536&&(a.head.comment+=String.fromCharCode(yt));while(yt&&g<l);if(512&a.flags&&(a.check=v(a.check,n,g,s)),l-=g,s+=g,yt)break t}else a.head&&(a.head.comment=null);a.mode=Y;case Y:if(512&a.flags){for(;u<16;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if(_!==(65535&a.check)){t.msg="header crc mismatch",a.mode=_t;break}_=0,u=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=X;break;case q:for(;u<32;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}t.adler=a.check=i(_),_=0,u=0,a.mode=G;case G:if(0===a.havedict)return t.next_out=o,t.avail_out=h,t.next_in=s,t.avail_in=l,a.hold=_,a.bits=u,C;t.adler=a.check=1,a.mode=X;case X:if(e===E||e===A)break t;case W:if(a.last){_>>>=7&u,u-=7&u,a.mode=ht;break}for(;u<3;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}switch(a.last=1&_,_>>>=1,u-=1,3&_){case 0:a.mode=J;break;case 1:if(d(a),a.mode=at,e===A){_>>>=2,u-=2;break t}break;case 2:a.mode=$;break;case 3:t.msg="invalid block type",a.mode=_t}_>>>=2,u-=2;break;case J:for(_>>>=7&u,u-=7&u;u<32;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if((65535&_)!==(_>>>16^65535)){t.msg="invalid stored block lengths",a.mode=_t;break}if(a.length=65535&_,_=0,u=0,a.mode=Q,e===A)break t;case Q:a.mode=V;case V:if(g=a.length){if(g>l&&(g=l),g>h&&(g=h),0===g)break t;w.arraySet(r,n,s,g,o),l-=g,s+=g,h-=g,o+=g,a.length-=g;break}a.mode=X;break;case $:for(;u<14;){if(0===l)break t;
- l--,_+=n[s++]<<u,u+=8}if(a.nlen=(31&_)+257,_>>>=5,u-=5,a.ndist=(31&_)+1,_>>>=5,u-=5,a.ncode=(15&_)+4,_>>>=4,u-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=_t;break}a.have=0,a.mode=tt;case tt:for(;a.have<a.ncode;){for(;u<3;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}a.lens[At[a.have++]]=7&_,_>>>=3,u-=3}for(;a.have<19;)a.lens[At[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,zt={bits:a.lenbits},xt=y(x,a.lens,0,19,a.lencode,0,a.work,zt),a.lenbits=zt.bits,xt){t.msg="invalid code lengths set",a.mode=_t;break}a.have=0,a.mode=et;case et:for(;a.have<a.nlen+a.ndist;){for(;St=a.lencode[_&(1<<a.lenbits)-1],gt=St>>>24,mt=St>>>16&255,wt=65535&St,!(gt<=u);){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if(wt<16)_>>>=gt,u-=gt,a.lens[a.have++]=wt;else{if(16===wt){for(Bt=gt+2;u<Bt;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if(_>>>=gt,u-=gt,0===a.have){t.msg="invalid bit length repeat",a.mode=_t;break}yt=a.lens[a.have-1],g=3+(3&_),_>>>=2,u-=2}else if(17===wt){for(Bt=gt+3;u<Bt;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}_>>>=gt,u-=gt,yt=0,g=3+(7&_),_>>>=3,u-=3}else{for(Bt=gt+7;u<Bt;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}_>>>=gt,u-=gt,yt=0,g=11+(127&_),_>>>=7,u-=7}if(a.have+g>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=_t;break}for(;g--;)a.lens[a.have++]=yt}}if(a.mode===_t)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=_t;break}if(a.lenbits=9,zt={bits:a.lenbits},xt=y(z,a.lens,0,a.nlen,a.lencode,0,a.work,zt),a.lenbits=zt.bits,xt){t.msg="invalid literal/lengths set",a.mode=_t;break}if(a.distbits=6,a.distcode=a.distdyn,zt={bits:a.distbits},xt=y(B,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,zt),a.distbits=zt.bits,xt){t.msg="invalid distances set",a.mode=_t;break}if(a.mode=at,e===A)break t;case at:a.mode=it;case it:if(l>=6&&h>=258){t.next_out=o,t.avail_out=h,t.next_in=s,t.avail_in=l,a.hold=_,a.bits=u,k(t,b),o=t.next_out,r=t.output,h=t.avail_out,s=t.next_in,n=t.input,l=t.avail_in,_=a.hold,u=a.bits,a.mode===X&&(a.back=-1);break}for(a.back=0;St=a.lencode[_&(1<<a.lenbits)-1],gt=St>>>24,mt=St>>>16&255,wt=65535&St,!(gt<=u);){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if(mt&&0===(240&mt)){for(pt=gt,vt=mt,kt=wt;St=a.lencode[kt+((_&(1<<pt+vt)-1)>>pt)],gt=St>>>24,mt=St>>>16&255,wt=65535&St,!(pt+gt<=u);){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}_>>>=pt,u-=pt,a.back+=pt}if(_>>>=gt,u-=gt,a.back+=gt,a.length=wt,0===mt){a.mode=lt;break}if(32&mt){a.back=-1,a.mode=X;break}if(64&mt){t.msg="invalid literal/length code",a.mode=_t;break}a.extra=15&mt,a.mode=nt;case nt:if(a.extra){for(Bt=a.extra;u<Bt;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}a.length+=_&(1<<a.extra)-1,_>>>=a.extra,u-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=rt;case rt:for(;St=a.distcode[_&(1<<a.distbits)-1],gt=St>>>24,mt=St>>>16&255,wt=65535&St,!(gt<=u);){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if(0===(240&mt)){for(pt=gt,vt=mt,kt=wt;St=a.distcode[kt+((_&(1<<pt+vt)-1)>>pt)],gt=St>>>24,mt=St>>>16&255,wt=65535&St,!(pt+gt<=u);){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}_>>>=pt,u-=pt,a.back+=pt}if(_>>>=gt,u-=gt,a.back+=gt,64&mt){t.msg="invalid distance code",a.mode=_t;break}a.offset=wt,a.extra=15&mt,a.mode=st;case st:if(a.extra){for(Bt=a.extra;u<Bt;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}a.offset+=_&(1<<a.extra)-1,_>>>=a.extra,u-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=_t;break}a.mode=ot;case ot:if(0===h)break t;if(g=b-h,a.offset>g){if(g=a.offset-g,g>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=_t;break}g>a.wnext?(g-=a.wnext,m=a.wsize-g):m=a.wnext-g,g>a.length&&(g=a.length),bt=a.window}else bt=r,m=o-a.offset,g=a.length;g>h&&(g=h),h-=g,a.length-=g;do r[o++]=bt[m++];while(--g);0===a.length&&(a.mode=it);break;case lt:if(0===h)break t;r[o++]=a.length,h--,a.mode=it;break;case ht:if(a.wrap){for(;u<32;){if(0===l)break t;l--,_|=n[s++]<<u,u+=8}if(b-=h,t.total_out+=b,a.total+=b,b&&(t.adler=a.check=a.flags?v(a.check,r,b,o-b):p(a.check,r,b,o-b)),b=h,(a.flags?_:i(_))!==a.check){t.msg="incorrect data check",a.mode=_t;break}_=0,u=0}a.mode=dt;case dt:if(a.wrap&&a.flags){for(;u<32;){if(0===l)break t;l--,_+=n[s++]<<u,u+=8}if(_!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=_t;break}_=0,u=0}a.mode=ft;case ft:xt=R;break t;case _t:xt=O;break t;case ut:return D;case ct:default:return N}return t.next_out=o,t.avail_out=h,t.next_in=s,t.avail_in=l,a.hold=_,a.bits=u,(a.wsize||b!==t.avail_out&&a.mode<_t&&(a.mode<ht||e!==S))&&f(t,t.output,t.next_out,b-t.avail_out)?(a.mode=ut,D):(c-=t.avail_in,b-=t.avail_out,t.total_in+=c,t.total_out+=b,a.total+=b,a.wrap&&b&&(t.adler=a.check=a.flags?v(a.check,r,b,t.next_out-b):p(a.check,r,b,t.next_out-b)),t.data_type=a.bits+(a.last?64:0)+(a.mode===X?128:0)+(a.mode===at||a.mode===Q?256:0),(0===c&&0===b||e===S)&&xt===Z&&(xt=I),xt)}function u(t){if(!t||!t.state)return N;var e=t.state;return e.window&&(e.window=null),t.state=null,Z}function c(t,e){var a;return t&&t.state?(a=t.state,0===(2&a.wrap)?N:(a.head=e,e.done=!1,Z)):N}function b(t,e){var a,i,n,r=e.length;return t&&t.state?(a=t.state,0!==a.wrap&&a.mode!==G?N:a.mode===G&&(i=1,i=p(i,e,r,0),i!==a.check)?O:(n=f(t,e,r,r))?(a.mode=ut,D):(a.havedict=1,Z)):N}var g,m,w=t("../utils/common"),p=t("./adler32"),v=t("./crc32"),k=t("./inffast"),y=t("./inftrees"),x=0,z=1,B=2,S=4,E=5,A=6,Z=0,R=1,C=2,N=-2,O=-3,D=-4,I=-5,U=8,T=1,F=2,L=3,H=4,j=5,K=6,M=7,P=8,Y=9,q=10,G=11,X=12,W=13,J=14,Q=15,V=16,$=17,tt=18,et=19,at=20,it=21,nt=22,rt=23,st=24,ot=25,lt=26,ht=27,dt=28,ft=29,_t=30,ut=31,ct=32,bt=852,gt=592,mt=15,wt=mt,pt=!0;a.inflateReset=s,a.inflateReset2=o,a.inflateResetKeep=r,a.inflateInit=h,a.inflateInit2=l,a.inflate=_,a.inflateEnd=u,a.inflateGetHeader=c,a.inflateSetDictionary=b,a.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":3,"./adler32":5,"./crc32":7,"./inffast":10,"./inftrees":12}],12:[function(t,e,a){"use strict";var i=t("../utils/common"),n=15,r=852,s=592,o=0,l=1,h=2,d=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],f=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],_=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,a,c,b,g,m,w){var p,v,k,y,x,z,B,S,E,A=w.bits,Z=0,R=0,C=0,N=0,O=0,D=0,I=0,U=0,T=0,F=0,L=null,H=0,j=new i.Buf16(n+1),K=new i.Buf16(n+1),M=null,P=0;for(Z=0;Z<=n;Z++)j[Z]=0;for(R=0;R<c;R++)j[e[a+R]]++;for(O=A,N=n;N>=1&&0===j[N];N--);if(O>N&&(O=N),0===N)return b[g++]=20971520,b[g++]=20971520,w.bits=1,0;for(C=1;C<N&&0===j[C];C++);for(O<C&&(O=C),U=1,Z=1;Z<=n;Z++)if(U<<=1,U-=j[Z],U<0)return-1;if(U>0&&(t===o||1!==N))return-1;for(K[1]=0,Z=1;Z<n;Z++)K[Z+1]=K[Z]+j[Z];for(R=0;R<c;R++)0!==e[a+R]&&(m[K[e[a+R]]++]=R);if(t===o?(L=M=m,z=19):t===l?(L=d,H-=257,M=f,P-=257,z=256):(L=_,M=u,z=-1),F=0,R=0,Z=C,x=g,D=O,I=0,k=-1,T=1<<O,y=T-1,t===l&&T>r||t===h&&T>s)return 1;for(var Y=0;;){Y++,B=Z-I,m[R]<z?(S=0,E=m[R]):m[R]>z?(S=M[P+m[R]],E=L[H+m[R]]):(S=96,E=0),p=1<<Z-I,v=1<<D,C=v;do v-=p,b[x+(F>>I)+v]=B<<24|S<<16|E|0;while(0!==v);for(p=1<<Z-1;F&p;)p>>=1;if(0!==p?(F&=p-1,F+=p):F=0,R++,0===--j[Z]){if(Z===N)break;Z=e[a+m[R]]}if(Z>O&&(F&y)!==k){for(0===I&&(I=O),x+=C,D=Z-I,U=1<<D;D+I<N&&(U-=j[D+I],!(U<=0));)D++,U<<=1;if(T+=1<<D,t===l&&T>r||t===h&&T>s)return 1;k=F&y,b[k]=O<<24|D<<16|x-g|0}}return 0!==F&&(b[x+F]=Z-I<<24|64<<16|0),w.bits=O,0}},{"../utils/common":3}],13:[function(t,e,a){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],14:[function(t,e,a){"use strict";function i(t){for(var e=t.length;--e>=0;)t[e]=0}function n(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}function r(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function s(t){return t<256?lt[t]:lt[256+(t>>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function l(t,e,a){t.bi_valid>W-a?(t.bi_buf|=e<<t.bi_valid&65535,o(t,t.bi_buf),t.bi_buf=e>>W-t.bi_valid,t.bi_valid+=a-W):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)}function h(t,e,a){l(t,a[2*e],a[2*e+1])}function d(t,e){var a=0;do a|=1&t,t>>>=1,a<<=1;while(--e>0);return a>>>1}function f(t){16===t.bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function _(t,e){var a,i,n,r,s,o,l=e.dyn_tree,h=e.max_code,d=e.stat_desc.static_tree,f=e.stat_desc.has_stree,_=e.stat_desc.extra_bits,u=e.stat_desc.extra_base,c=e.stat_desc.max_length,b=0;for(r=0;r<=X;r++)t.bl_count[r]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<G;a++)i=t.heap[a],r=l[2*l[2*i+1]+1]+1,r>c&&(r=c,b++),l[2*i+1]=r,i>h||(t.bl_count[r]++,s=0,i>=u&&(s=_[i-u]),o=l[2*i],t.opt_len+=o*(r+s),f&&(t.static_len+=o*(d[2*i+1]+s)));if(0!==b){do{for(r=c-1;0===t.bl_count[r];)r--;t.bl_count[r]--,t.bl_count[r+1]+=2,t.bl_count[c]--,b-=2}while(b>0);for(r=c;0!==r;r--)for(i=t.bl_count[r];0!==i;)n=t.heap[--a],n>h||(l[2*n+1]!==r&&(t.opt_len+=(r-l[2*n+1])*l[2*n],l[2*n+1]=r),i--)}}function u(t,e,a){var i,n,r=new Array(X+1),s=0;for(i=1;i<=X;i++)r[i]=s=s+a[i-1]<<1;for(n=0;n<=e;n++){var o=t[2*n+1];0!==o&&(t[2*n]=d(r[o]++,o))}}function c(){var t,e,a,i,r,s=new Array(X+1);for(a=0,i=0;i<K-1;i++)for(dt[i]=a,t=0;t<1<<et[i];t++)ht[a++]=i;for(ht[a-1]=i,r=0,i=0;i<16;i++)for(ft[i]=r,t=0;t<1<<at[i];t++)lt[r++]=i;for(r>>=7;i<Y;i++)for(ft[i]=r<<7,t=0;t<1<<at[i]-7;t++)lt[256+r++]=i;for(e=0;e<=X;e++)s[e]=0;for(t=0;t<=143;)st[2*t+1]=8,t++,s[8]++;for(;t<=255;)st[2*t+1]=9,t++,s[9]++;for(;t<=279;)st[2*t+1]=7,t++,s[7]++;for(;t<=287;)st[2*t+1]=8,t++,s[8]++;for(u(st,P+1,s),t=0;t<Y;t++)ot[2*t+1]=5,ot[2*t]=d(t,5);_t=new n(st,et,M+1,P,X),ut=new n(ot,at,0,Y,X),ct=new n(new Array(0),it,0,q,J)}function b(t){var e;for(e=0;e<P;e++)t.dyn_ltree[2*e]=0;for(e=0;e<Y;e++)t.dyn_dtree[2*e]=0;for(e=0;e<q;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*Q]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function g(t){t.bi_valid>8?o(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function m(t,e,a,i){g(t),i&&(o(t,a),o(t,~a)),N.arraySet(t.pending_buf,t.window,e,a,t.pending),t.pending+=a}function w(t,e,a,i){var n=2*e,r=2*a;return t[n]<t[r]||t[n]===t[r]&&i[e]<=i[a]}function p(t,e,a){for(var i=t.heap[a],n=a<<1;n<=t.heap_len&&(n<t.heap_len&&w(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!w(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i}function v(t,e,a){var i,n,r,o,d=0;if(0!==t.last_lit)do i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],n=t.pending_buf[t.l_buf+d],d++,0===i?h(t,n,e):(r=ht[n],h(t,r+M+1,e),o=et[r],0!==o&&(n-=dt[r],l(t,n,o)),i--,r=s(i),h(t,r,a),o=at[r],0!==o&&(i-=ft[r],l(t,i,o)));while(d<t.last_lit);h(t,Q,e)}function k(t,e){var a,i,n,r=e.dyn_tree,s=e.stat_desc.static_tree,o=e.stat_desc.has_stree,l=e.stat_desc.elems,h=-1;for(t.heap_len=0,t.heap_max=G,a=0;a<l;a++)0!==r[2*a]?(t.heap[++t.heap_len]=h=a,t.depth[a]=0):r[2*a+1]=0;for(;t.heap_len<2;)n=t.heap[++t.heap_len]=h<2?++h:0,r[2*n]=1,t.depth[n]=0,t.opt_len--,o&&(t.static_len-=s[2*n+1]);for(e.max_code=h,a=t.heap_len>>1;a>=1;a--)p(t,r,a);n=l;do a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],p(t,r,1),i=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=i,r[2*n]=r[2*a]+r[2*i],t.depth[n]=(t.depth[a]>=t.depth[i]?t.depth[a]:t.depth[i])+1,r[2*a+1]=r[2*i+1]=n,t.heap[1]=n++,p(t,r,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],_(t,e),u(r,h,t.bl_count)}function y(t,e,a){var i,n,r=-1,s=e[1],o=0,l=7,h=4;for(0===s&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=s,s=e[2*(i+1)+1],++o<l&&n===s||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==r&&t.bl_tree[2*n]++,t.bl_tree[2*V]++):o<=10?t.bl_tree[2*$]++:t.bl_tree[2*tt]++,o=0,r=n,0===s?(l=138,h=3):n===s?(l=6,h=3):(l=7,h=4))}function x(t,e,a){var i,n,r=-1,s=e[1],o=0,d=7,f=4;for(0===s&&(d=138,f=3),i=0;i<=a;i++)if(n=s,s=e[2*(i+1)+1],!(++o<d&&n===s)){if(o<f){do h(t,n,t.bl_tree);while(0!==--o)}else 0!==n?(n!==r&&(h(t,n,t.bl_tree),o--),h(t,V,t.bl_tree),l(t,o-3,2)):o<=10?(h(t,$,t.bl_tree),l(t,o-3,3)):(h(t,tt,t.bl_tree),l(t,o-11,7));o=0,r=n,0===s?(d=138,f=3):n===s?(d=6,f=3):(d=7,f=4)}}function z(t){var e;for(y(t,t.dyn_ltree,t.l_desc.max_code),y(t,t.dyn_dtree,t.d_desc.max_code),k(t,t.bl_desc),e=q-1;e>=3&&0===t.bl_tree[2*nt[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}function B(t,e,a,i){var n;for(l(t,e-257,5),l(t,a-1,5),l(t,i-4,4),n=0;n<i;n++)l(t,t.bl_tree[2*nt[n]+1],3);x(t,t.dyn_ltree,e-1),x(t,t.dyn_dtree,a-1)}function S(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return D;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return I;for(e=32;e<M;e++)if(0!==t.dyn_ltree[2*e])return I;return D}function E(t){bt||(c(),bt=!0),t.l_desc=new r(t.dyn_ltree,_t),t.d_desc=new r(t.dyn_dtree,ut),t.bl_desc=new r(t.bl_tree,ct),t.bi_buf=0,t.bi_valid=0,b(t)}function A(t,e,a,i){l(t,(T<<1)+(i?1:0),3),m(t,e,a,!0)}function Z(t){l(t,F<<1,3),h(t,Q,st),f(t)}function R(t,e,a,i){var n,r,s=0;t.level>0?(t.strm.data_type===U&&(t.strm.data_type=S(t)),k(t,t.l_desc),k(t,t.d_desc),s=z(t),n=t.opt_len+3+7>>>3,r=t.static_len+3+7>>>3,r<=n&&(n=r)):n=r=a+5,a+4<=n&&e!==-1?A(t,e,a,i):t.strategy===O||r===n?(l(t,(F<<1)+(i?1:0),3),v(t,st,ot)):(l(t,(L<<1)+(i?1:0),3),B(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),v(t,t.dyn_ltree,t.dyn_dtree)),b(t),i&&g(t)}function C(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(ht[a]+M+1)]++,t.dyn_dtree[2*s(e)]++),t.last_lit===t.lit_bufsize-1}var N=t("../utils/common"),O=4,D=0,I=1,U=2,T=0,F=1,L=2,H=3,j=258,K=29,M=256,P=M+1+K,Y=30,q=19,G=2*P+1,X=15,W=16,J=7,Q=256,V=16,$=17,tt=18,et=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],at=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],it=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],nt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],rt=512,st=new Array(2*(P+2));i(st);var ot=new Array(2*Y);i(ot);var lt=new Array(rt);i(lt);var ht=new Array(j-H+1);i(ht);var dt=new Array(K);i(dt);var ft=new Array(Y);i(ft);var _t,ut,ct,bt=!1;a._tr_init=E,a._tr_stored_block=A,a._tr_flush_block=R,a._tr_tally=C,a._tr_align=Z},{"../utils/common":3}],15:[function(t,e,a){"use strict";function i(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=i},{}],"/":[function(t,e,a){"use strict";var i=t("./lib/utils/common").assign,n=t("./lib/deflate"),r=t("./lib/inflate"),s=t("./lib/zlib/constants"),o={};i(o,n,r,s),e.exports=o},{"./lib/deflate":1,"./lib/inflate":2,"./lib/utils/common":3,"./lib/zlib/constants":6}]},{},[])("/")});
- var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a,b){var c="",d,e,f,g,k,l,m=0;for(null!=b&&b||(a=Base64._utf8_encode(a));m<a.length;)d=a.charCodeAt(m++),e=a.charCodeAt(m++),f=a.charCodeAt(m++),g=d>>2,d=(d&3)<<4|e>>4,k=(e&15)<<2|f>>6,l=f&63,isNaN(e)?k=l=64:isNaN(f)&&(l=64),c=c+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(k)+this._keyStr.charAt(l);return c},decode:function(a,b){b=null!=b?b:!1;var c="",d,e,f,g,k,l=0;for(a=a.replace(/[^A-Za-z0-9\+\/\=]/g,
- "");l<a.length;)d=this._keyStr.indexOf(a.charAt(l++)),e=this._keyStr.indexOf(a.charAt(l++)),g=this._keyStr.indexOf(a.charAt(l++)),k=this._keyStr.indexOf(a.charAt(l++)),d=d<<2|e>>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|k,c+=String.fromCharCode(d),64!=g&&(c+=String.fromCharCode(e)),64!=k&&(c+=String.fromCharCode(f));b||(c=Base64._utf8_decode(c));return c},_utf8_encode:function(a){a=a.replace(/\r\n/g,"\n");for(var b="",c=0;c<a.length;c++){var d=a.charCodeAt(c);128>d?b+=String.fromCharCode(d):(127<d&&2048>d?b+=
- String.fromCharCode(d>>6|192):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128)),b+=String.fromCharCode(d&63|128))}return b},_utf8_decode:function(a){var b="",c=0,d;for(c1=c2=0;c<a.length;)d=a.charCodeAt(c),128>d?(b+=String.fromCharCode(d),c++):191<d&&224>d?(c2=a.charCodeAt(c+1),b+=String.fromCharCode((d&31)<<6|c2&63),c+=2):(c2=a.charCodeAt(c+1),c3=a.charCodeAt(c+2),b+=String.fromCharCode((d&15)<<12|(c2&63)<<6|c3&63),c+=3);return b}};window.urlParams=window.urlParams||{};window.isLocalStorage=window.isLocalStorage||!1;window.isSvgBrowser=window.isSvgBrowser||0>navigator.userAgent.indexOf("MSIE")||9<=document.documentMode;window.EXPORT_URL=window.EXPORT_URL||"https://exp.draw.io/ImageExport4/export";window.SAVE_URL=window.SAVE_URL||"save";window.OPEN_URL=window.OPEN_URL||"open";window.PROXY_URL=window.PROXY_URL||"proxy";window.SHAPES_PATH=window.SHAPES_PATH||"shapes";window.GRAPH_IMAGE_PATH=window.GRAPH_IMAGE_PATH||"img";
- window.ICONSEARCH_PATH=window.ICONSEARCH_PATH||(0<=navigator.userAgent.indexOf("MSIE")||urlParams.dev)&&"file:"!=window.location.protocol?"iconSearch":"https://www.draw.io/iconSearch";window.TEMPLATE_PATH=window.TEMPLATE_PATH||"/templates";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||RESOURCES_PATH+"/dia";window.DRAWIO_LOG_URL=window.DRAWIO_LOG_URL||"";window.mxLoadResources=window.mxLoadResources||!1;
- window.mxLanguage=window.mxLanguage||function(){var a="1"==urlParams.offline?"en":urlParams.lang;if(null==a&&"undefined"!=typeof JSON&&isLocalStorage)try{var b=localStorage.getItem(".drawio-config");null!=b&&(a=JSON.parse(b).language||null)}catch(c){isLocalStorage=!1}return a}();
- window.mxLanguageMap=window.mxLanguageMap||{i18n:"",id:"Bahasa Indonesia",ms:"Bahasa Melayu",bs:"Bosanski",bg:"Bulgarian",ca:"Català",cs:"Čeština",da:"Dansk",de:"Deutsch",et:"Eesti",en:"English",es:"Español",fil:"Filipino",fr:"Français",it:"Italiano",hu:"Magyar",nl:"Nederlands",no:"Norsk",pl:"Polski","pt-br":"Português (Brasil)",pt:"Português (Portugal)",ro:"Română",fi:"Suomi",sv:"Svenska",vi:"Tiếng Việt",tr:"Türkçe",el:"Ελληνικά",ru:"Русский",sr:"Српски",uk:"Українська",he:"עברית",ar:"العربية",th:"ไทย",
- ko:"한국어",ja:"日本語",zh:"中文(中国)","zh-tw":"中文(台灣)"};"undefined"===typeof window.mxBasePath&&(window.mxBasePath="mxgraph");if(null==window.mxLanguages){window.mxLanguages=[];for(var lang in mxLanguageMap)"en"!=lang&&window.mxLanguages.push(lang)}window.uiTheme=window.uiTheme||function(){var a=urlParams.ui;if(null==a&&"undefined"!==typeof JSON&&isLocalStorage)try{var b=localStorage.getItem(".drawio-config");null!=b&&(a=JSON.parse(b).ui||null)}catch(c){isLocalStorage=!1}return a}();
- function setCurrentXml(a,b){null!=window.parent&&null!=window.parent.openFile&&window.parent.openFile.setData(a,b)}(function(){if("undefined"!==typeof JSON&&isLocalStorage)try{var a=localStorage.getItem(".drawio-config"),b=!0;null!=a&&(b=JSON.parse(a).showStartScreen);0==b&&(urlParams.splash="0")}catch(c){}})();var ex=urlParams["export"];null!=ex&&("http://"!=ex.substring(0,7)&&"https://"!=ex.substring(0,8)&&(ex="http://"+ex),EXPORT_URL=ex);
- if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==urlParams.local)urlParams.analytics="0",urlParams.picker="0",urlParams.gapi="0",urlParams.db="0",urlParams.od="0",urlParams.gh="0";if("1"==urlParams.offline||"1"==urlParams.local)urlParams.math="0";"1"==urlParams.lightbox&&(urlParams.chrome="0");var host=window.location.host,searchString="draw.io",position=host.length-searchString.length,lastIndex=host.lastIndexOf(searchString,position);
- -1!==lastIndex&&lastIndex===position&&"test.draw.io"!=host&&(window.DRAWIO_LOG_URL="https://log.draw.io");window.urlParams=window.urlParams||{};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";
- window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"../../../src";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de"];var mxClient={VERSION:"3.7.5",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&
- 0>navigator.userAgent.indexOf("Edge/"),IS_OP:0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/"),IS_OT:0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:0<=navigator.userAgent.indexOf("AppleWebKit/")&&
- 0>navigator.userAgent.indexOf("Chrome/")&&0>navigator.userAgent.indexOf("Edge/"),IS_IOS:navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?!0:!1,IS_GC:0<=navigator.userAgent.indexOf("Chrome/")&&0>navigator.userAgent.indexOf("Edge/"),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:0<=navigator.userAgent.indexOf("Firefox/"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&
- 0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:0<=navigator.userAgent.indexOf("Firefox/")||0<=navigator.userAgent.indexOf("Iceweasel/")||0<=navigator.userAgent.indexOf("Seamonkey/")||0<=navigator.userAgent.indexOf("Iceape/")||0<=navigator.userAgent.indexOf("Galeon/")||
- 0<=navigator.userAgent.indexOf("Epiphany/")||0<=navigator.userAgent.indexOf("AppleWebKit/")||0<=navigator.userAgent.indexOf("Gecko/")||0<=navigator.userAgent.indexOf("Opera/")||null!=document.documentMode&&9<=document.documentMode,NO_FO:!document.createElementNS||"[object SVGForeignObjectElement]"!=document.createElementNS("http://www.w3.org/2000/svg","foreignObject")||0<=navigator.userAgent.indexOf("Opera/"),IS_VML:"MICROSOFT INTERNET EXPLORER"==navigator.appName.toUpperCase(),IS_WIN:0<navigator.appVersion.indexOf("Win"),
- IS_MAC:0<navigator.appVersion.indexOf("Mac"),IS_TOUCH:"ontouchstart"in document.documentElement,IS_POINTER:null!=window.PointerEvent&&!(0<navigator.appVersion.indexOf("Mac")),IS_LOCAL:0>document.location.href.indexOf("http://")&&0>document.location.href.indexOf("https://"),isBrowserSupported:function(){return mxClient.IS_VML||mxClient.IS_SVG},link:function(a,b,c){c=c||document;if(mxClient.IS_IE6)c.write('<link rel="'+a+'" href="'+b+'" charset="UTF-8" type="text/css"/>');else{var d=c.createElement("link");
- d.setAttribute("rel",a);d.setAttribute("href",b);d.setAttribute("charset","UTF-8");d.setAttribute("type","text/css");c.getElementsByTagName("head")[0].appendChild(d)}},include:function(a){document.write('<script src="'+a+'">\x3c/script>')},dispose:function(){for(var a=0;a<mxEvent.objects.length;a++)null!=mxEvent.objects[a].mxListenerList&&mxEvent.removeAllListeners(mxEvent.objects[a])}};"undefined"==typeof mxLoadResources&&(mxLoadResources=!0);
- "undefined"==typeof mxForceIncludes&&(mxForceIncludes=!1);"undefined"==typeof mxResourceExtension&&(mxResourceExtension=".txt");"undefined"==typeof mxLoadStylesheets&&(mxLoadStylesheets=!0);"undefined"!=typeof mxBasePath&&0<mxBasePath.length?("/"==mxBasePath.substring(mxBasePath.length-1)&&(mxBasePath=mxBasePath.substring(0,mxBasePath.length-1)),mxClient.basePath=mxBasePath):mxClient.basePath=".";
- "undefined"!=typeof mxImageBasePath&&0<mxImageBasePath.length?("/"==mxImageBasePath.substring(mxImageBasePath.length-1)&&(mxImageBasePath=mxImageBasePath.substring(0,mxImageBasePath.length-1)),mxClient.imageBasePath=mxImageBasePath):mxClient.imageBasePath=mxClient.basePath+"/images";mxClient.language="undefined"!=typeof mxLanguage&&null!=mxLanguage?mxLanguage:mxClient.IS_IE?navigator.userLanguage:navigator.language;
- mxClient.defaultLanguage="undefined"!=typeof mxDefaultLanguage&&null!=mxDefaultLanguage?mxDefaultLanguage:"en";mxLoadStylesheets&&mxClient.link("stylesheet",mxClient.basePath+"/css/common.css");"undefined"!=typeof mxLanguages&&null!=mxLanguages&&(mxClient.languages=mxLanguages);
- mxClient.IS_VML&&(mxClient.IS_SVG?mxClient.IS_VML=!1:(8==document.documentMode?(document.namespaces.add(mxClient.VML_PREFIX,"urn:schemas-microsoft-com:vml","#default#VML"),document.namespaces.add(mxClient.OFFICE_PREFIX,"urn:schemas-microsoft-com:office:office","#default#VML")):(document.namespaces.add(mxClient.VML_PREFIX,"urn:schemas-microsoft-com:vml"),document.namespaces.add(mxClient.OFFICE_PREFIX,"urn:schemas-microsoft-com:office:office")),mxClient.IS_QUIRKS&&30<=document.styleSheets.length?function(){var a=
- document.createElement("style");a.type="text/css";a.styleSheet.cssText=mxClient.VML_PREFIX+"\\:*{behavior:url(#default#VML)}"+mxClient.OFFICE_PREFIX+"\\:*{behavior:url(#default#VML)}";document.getElementsByTagName("head")[0].appendChild(a)}():document.createStyleSheet().cssText=mxClient.VML_PREFIX+"\\:*{behavior:url(#default#VML)}"+mxClient.OFFICE_PREFIX+"\\:*{behavior:url(#default#VML)}",mxLoadStylesheets&&mxClient.link("stylesheet",mxClient.basePath+"/css/explorer.css"),window.attachEvent("onunload",
- mxClient.dispose)));
- var mxLog={consoleName:"Console",TRACE:!1,DEBUG:!0,WARN:!0,buffer:"",init:function(){if(null==mxLog.window&&null!=document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("table");b.setAttribute("width","100%");b.setAttribute("height","100%");var c=document.createElement("tbody"),d=document.createElement("tr"),e=document.createElement("td");e.style.verticalAlign="top";mxLog.textarea=document.createElement("textarea");mxLog.textarea.setAttribute("wrap","off");
- mxLog.textarea.setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="none";mxLog.textarea.value=mxLog.buffer;mxLog.textarea.style.width=mxClient.IS_NS&&"BackCompat"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(e);c.appendChild(d);d=document.createElement("tr");mxLog.td=document.createElement("td");mxLog.td.style.verticalAlign="top";mxLog.td.setAttribute("height","30px");d.appendChild(mxLog.td);c.appendChild(d);b.appendChild(c);
- mxLog.addButton("Info",function(a){mxLog.info()});mxLog.addButton("DOM",function(a){a=mxUtils.getInnerHtml(document.body);mxLog.debug(a)});mxLog.addButton("Trace",function(a){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Copy",function(a){try{mxUtils.copy(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Show",function(a){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",
- function(a){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&
- !mxClient.IS_SF&&"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement(),a=function(a,b){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,b){var c=document.createElement("button");mxUtils.write(c,
- a);mxEvent.addListener(c,"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){if(mxLog.TRACE){var c=0!=b?" ("+((new Date).getTime()-b)+" ms)":"";mxLog.writeln("Leaving "+a+c)}},debug:function(){mxLog.DEBUG&&
- mxLog.writeln.apply(this,arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=
- arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},clear:function(a){"object"!==typeof a&&
- "function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){var c=mxObjectIdentity.get(a),d=this.map[c];this.map[c]=b;return d};mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};
- mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
- var mxResources={resources:[],extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(a){return null!=mxClient.languages?0<=mxUtils.indexOf(mxClient.languages,a):!0},getDefaultBundle:function(a,b){return mxResources.loadDefaultBundle||!mxResources.isLanguageSupported(b)?a+mxResources.extension:null},getSpecialBundle:function(a,b){if(null==mxClient.languages||!this.isLanguageSupported(b)){var c=b.indexOf("-");0<c&&(b=b.substring(0,c))}return mxResources.loadSpecialBundle&&
- mxResources.isLanguageSupported(b)&&b!=mxClient.defaultLanguage?a+"_"+b+mxResources.extension:null},add:function(a,b,c){b=null!=b?b:null!=mxClient.language?mxClient.language.toLowerCase():mxConstants.NONE;if(b!=mxConstants.NONE){var d=mxResources.getDefaultBundle(a,b),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(a){mxResources.parse(a.getText());c()},function(){c()});else try{var a=mxUtils.load(e);a.isReady()&&mxResources.parse(a.getText())}catch(l){}else null!=
- c&&c()};if(null!=d)if(c)mxUtils.get(d,function(a){mxResources.parse(a.getText());f()},function(){f()});else try{var g=mxUtils.load(d);g.isReady()&&mxResources.parse(g.getText());f()}catch(k){}else f()}},parse:function(a){if(null!=a){a=a.split("\n");for(var b=0;b<a.length;b++)if("#"!=a[b].charAt(0)){var c=a[b].indexOf("=");if(0<c){var d=a[b].substring(0,c),e=a[b].length;13==a[b].charCodeAt(e-1)&&e--;c=a[b].substring(c+1,e);this.resourcesEncoded?(c=c.replace(/\\(?=u[a-fA-F\d]{4})/g,"%"),mxResources.resources[d]=
- unescape(c)):mxResources.resources[d]=c}}}},get:function(a,b,c){a=mxResources.resources[a];null==a&&(a=c);null!=a&&null!=b&&(a=mxResources.replacePlaceholders(a,b));return a},replacePlaceholders:function(a,b){for(var c=[],d=null,e=0;e<a.length;e++){var f=a.charAt(e);"{"==f?d="":null!=d&&"}"==f?(d=parseInt(d)-1,0<=d&&d<b.length&&c.push(b[d]),d=null):null!=d?d+=f:c.push(f)}return c.join("")},loadResources:function(a){mxResources.add(mxClient.basePath+"/resources/editor",null,function(){mxResources.add(mxClient.basePath+
- "/resources/graph",null,a)})}};function mxPoint(a,b){this.x=null!=a?a:0;this.y=null!=b?b:0}mxPoint.prototype.x=null;mxPoint.prototype.y=null;mxPoint.prototype.equals=function(a){return null!=a&&a.x==this.x&&a.y==this.y};mxPoint.prototype.clone=function(){return mxUtils.clone(this)};function mxRectangle(a,b,c,d){mxPoint.call(this,a,b);this.width=null!=c?c:0;this.height=null!=d?d:0}mxRectangle.prototype=new mxPoint;mxRectangle.prototype.constructor=mxRectangle;mxRectangle.prototype.width=null;
- mxRectangle.prototype.height=null;mxRectangle.prototype.setRect=function(a,b,c,d){this.x=a;this.y=b;this.width=c;this.height=d};mxRectangle.prototype.getCenterX=function(){return this.x+this.width/2};mxRectangle.prototype.getCenterY=function(){return this.y+this.height/2};
- mxRectangle.prototype.add=function(a){if(null!=a){var b=Math.min(this.x,a.x),c=Math.min(this.y,a.y),d=Math.max(this.x+this.width,a.x+a.width);a=Math.max(this.y+this.height,a.y+a.height);this.x=b;this.y=c;this.width=d-b;this.height=a-c}};mxRectangle.prototype.intersect=function(a){if(null!=a){var b=this.x+this.width,c=a.x+a.width,d=this.y+this.height,e=a.y+a.height;this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.width=Math.min(b,c)-this.x;this.height=Math.min(d,e)-this.y}};
- mxRectangle.prototype.grow=function(a){this.x-=a;this.y-=a;this.width+=2*a;this.height+=2*a};mxRectangle.prototype.getPoint=function(){return new mxPoint(this.x,this.y)};mxRectangle.prototype.rotate90=function(){var a=(this.width-this.height)/2;this.x+=a;this.y-=a;a=this.width;this.width=this.height;this.height=a};mxRectangle.prototype.equals=function(a){return null!=a&&a.x==this.x&&a.y==this.y&&a.width==this.width&&a.height==this.height};
- mxRectangle.fromRectangle=function(a){return new mxRectangle(a.x,a.y,a.width,a.height)};
- var mxEffects={animateChanges:function(a,b,c){var d=0,e=function(){for(var g=!1,k=0;k<b.length;k++){var l=b[k];if(l instanceof mxGeometryChange||l instanceof mxTerminalChange||l instanceof mxValueChange||l instanceof mxChildChange||l instanceof mxStyleChange){var m=a.getView().getState(l.cell||l.child,!1);if(null!=m)if(g=!0,l.constructor!=mxGeometryChange||a.model.isEdge(l.cell))mxUtils.setOpacity(m.shape.node,100*d/10);else{var n=a.getView().scale,p=(l.geometry.x-l.previous.x)*n,q=(l.geometry.y-
- l.previous.y)*n,r=(l.geometry.width-l.previous.width)*n,n=(l.geometry.height-l.previous.height)*n;0==d?(m.x-=p,m.y-=q,m.width-=r,m.height-=n):(m.x+=p/10,m.y+=q/10,m.width+=r/10,m.height+=n/10);a.cellRenderer.redraw(m);mxEffects.cascadeOpacity(a,l.cell,100*d/10)}}}10>d&&g?(d++,window.setTimeout(e,f)):null!=c&&c()},f=30;e()},cascadeOpacity:function(a,b,c){for(var d=a.model.getChildCount(b),e=0;e<d;e++){var f=a.model.getChildAt(b,e),g=a.getView().getState(f);null!=g&&(mxUtils.setOpacity(g.shape.node,
- c),mxEffects.cascadeOpacity(a,f,c))}b=a.model.getEdges(b);if(null!=b)for(e=0;e<b.length;e++)d=a.getView().getState(b[e]),null!=d&&mxUtils.setOpacity(d.shape.node,c)},fadeOut:function(a,b,c,d,e,f){d=d||40;e=e||30;var g=b||100;mxUtils.setOpacity(a,g);if(f||null==f){var k=function(){g=Math.max(g-d,0);mxUtils.setOpacity(a,g);0<g?window.setTimeout(k,e):(a.style.visibility="hidden",c&&a.parentNode&&a.parentNode.removeChild(a))};window.setTimeout(k,e)}else a.style.visibility="hidden",c&&a.parentNode&&a.parentNode.removeChild(a)}},
- mxUtils={errorResource:"none"!=mxClient.language?"error":"",closeResource:"none"!=mxClient.language?"close":"",errorImage:mxClient.imageBasePath+"/error.gif",removeCursors:function(a){null!=a.style&&(a.style.cursor="");a=a.childNodes;if(null!=a)for(var b=a.length,c=0;c<b;c+=1)mxUtils.removeCursors(a[c])},getCurrentStyle:function(){return mxClient.IS_IE?function(a){return null!=a?a.currentStyle:null}:function(a){return null!=a?window.getComputedStyle(a,""):null}}(),parseCssNumber:function(a){"thin"==
- a?a="2":"medium"==a?a="4":"thick"==a&&(a="6");a=parseFloat(a);isNaN(a)&&(a=0);return a},setPrefixedStyle:function(){var a=null;mxClient.IS_OT?a="O":mxClient.IS_SF||mxClient.IS_GC?a="Webkit":mxClient.IS_MT?a="Moz":mxClient.IS_IE&&9<=document.documentMode&&10>document.documentMode&&(a="ms");return function(b,c,d){b[c]=d;null!=a&&0<c.length&&(c=a+c.substring(0,1).toUpperCase()+c.substring(1),b[c]=d)}}(),hasScrollbars:function(a){a=mxUtils.getCurrentStyle(a);return null!=a&&("scroll"==a.overflow||"auto"==
- a.overflow)},bind:function(a,b){return function(){return b.apply(a,arguments)}},eval:function(a){var b=null;if(0<=a.indexOf("function"))try{eval("var _mxJavaScriptExpression="+a),b=_mxJavaScriptExpression,_mxJavaScriptExpression=null}catch(c){mxLog.warn(c.message+" while evaluating "+a)}else try{b=eval(a)}catch(c){mxLog.warn(c.message+" while evaluating "+a)}return b},findNode:function(a,b,c){if(a.nodeType==mxConstants.NODETYPE_ELEMENT){var d=a.getAttribute(b);if(null!=d&&d==c)return a}for(a=a.firstChild;null!=
- a;){d=mxUtils.findNode(a,b,c);if(null!=d)return d;a=a.nextSibling}return null},getFunctionName:function(a){var b=null;null!=a&&(null!=a.name?b=a.name:(b=mxUtils.trim(a.toString()),/^function\s/.test(b)&&(b=mxUtils.ltrim(b.substring(9)),a=b.indexOf("("),0<a&&(b=b.substring(0,a)))));return b},indexOf:function(a,b){if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(a[c]==b)return c;return-1},forEach:function(a,b){if(null!=a&&null!=b)for(var c=0;c<a.length;c++)b(a[c]);return a},remove:function(a,b){var c=
- null;if("object"==typeof b)for(var d=mxUtils.indexOf(b,a);0<=d;)b.splice(d,1),c=a,d=mxUtils.indexOf(b,a);for(var e in b)b[e]==a&&(delete b[e],c=a);return c},isNode:function(a,b,c,d){return null==a||isNaN(a.nodeType)||null!=b&&a.nodeName.toLowerCase()!=b.toLowerCase()?!1:null==c||a.getAttribute(c)==d},isAncestorNode:function(a,b){for(var c=b;null!=c;){if(c==a)return!0;c=c.parentNode}return!1},getChildNodes:function(a,b){b=b||mxConstants.NODETYPE_ELEMENT;for(var c=[],d=a.firstChild;null!=d;)d.nodeType==
- b&&c.push(d),d=d.nextSibling;return c},importNode:function(a,b,c){if(mxClient.IS_IE&&(null==document.documentMode||10>document.documentMode))switch(b.nodeType){case 1:var d=a.createElement(b.nodeName);if(b.attributes&&0<b.attributes.length){for(var e=0;e<b.attributes.length;e++)d.setAttribute(b.attributes[e].nodeName,b.getAttribute(b.attributes[e].nodeName));if(c&&b.childNodes&&0<b.childNodes.length)for(e=0;e<b.childNodes.length;e++)d.appendChild(mxUtils.importNode(a,b.childNodes[e],c))}return d;
- case 3:case 4:case 8:return a.createTextNode(b.value)}else return a.importNode(b,c)},createXmlDocument:function(){var a=null;document.implementation&&document.implementation.createDocument?a=document.implementation.createDocument("","",null):window.ActiveXObject&&(a=new ActiveXObject("Microsoft.XMLDOM"));return a},parseXml:function(){return window.DOMParser?function(a){return(new DOMParser).parseFromString(a,"text/xml")}:function(a){var b=mxUtils.createXmlDocument();b.async=!1;b.validateOnParse=!1;
- b.resolveExternals=!1;b.loadXML(a);return b}}(),clearSelection:function(){return document.selection?function(){document.selection.empty()}:window.getSelection?function(){window.getSelection().removeAllRanges()}:function(){}}(),getPrettyXml:function(a,b,c){var d=[];if(null!=a)if(b=b||" ",c=c||"",a.nodeType==mxConstants.NODETYPE_TEXT)d.push(a.value);else{d.push(c+"<"+a.nodeName);var e=a.attributes;if(null!=e)for(var f=0;f<e.length;f++){var g=mxUtils.htmlEntities(e[f].value);d.push(" "+e[f].nodeName+
- '="'+g+'"')}e=a.firstChild;if(null!=e){for(d.push(">\n");null!=e;)d.push(mxUtils.getPrettyXml(e,b,c+b)),e=e.nextSibling;d.push(c+"</"+a.nodeName+">\n")}else d.push("/>\n")}return d.join("")},removeWhitespace:function(a,b){for(var c=b?a.previousSibling:a.nextSibling;null!=c&&c.nodeType==mxConstants.NODETYPE_TEXT;){var d=b?c.previousSibling:c.nextSibling,e=mxUtils.getTextContent(c);0==mxUtils.trim(e).length&&c.parentNode.removeChild(c);c=d}},htmlEntities:function(a,b){a=String(a||"");a=a.replace(/&/g,
- "&");a=a.replace(/"/g,""");a=a.replace(/\'/g,"'");a=a.replace(/</g,"<");a=a.replace(/>/g,">");if(null==b||b)a=a.replace(/\n/g,"
");return a},isVml:function(a){return null!=a&&"urn:schemas-microsoft-com:vml"==a.tagUrn},getXml:function(a,b){var c="";null!=window.XMLSerializer?c=(new XMLSerializer).serializeToString(a):null!=a.xml&&(c=a.xml.replace(/\r\n\t[\t]*/g,"").replace(/>\r\n/g,">").replace(/\r\n/g,"\n"));return c.replace(/\n/g,b||"
")},extractTextWithWhitespace:function(a){function b(a){if(1!=
- a.length||"BR"!=a[0].nodeName&&"\n"!=a[0].innerHTML)for(var e=0;e<a.length;e++){var g=a[e];"BR"==g.nodeName||"\n"==g.innerHTML||(1==a.length||0==e)&&"DIV"==g.nodeName&&"<br>"==g.innerHTML.toLowerCase()?d.push("\n"):(3===g.nodeType||4===g.nodeType?0<g.nodeValue.length&&d.push(g.nodeValue):8!==g.nodeType&&0<g.childNodes.length&&b(g.childNodes),e<a.length-1&&0<=mxUtils.indexOf(c,a[e+1].nodeName)&&d.push("\n"))}}var c="BLOCKQUOTE DIV H1 H2 H3 H4 H5 H6 OL P PRE TABLE UL".split(" "),d=[];b(a);return d.join("")},
- replaceTrailingNewlines:function(a,b){for(var c="";0<a.length&&"\n"==a.charAt(a.length-1);)a=a.substring(0,a.length-1),c+=b;return a+c},getTextContent:function(a){return void 0!==a.innerText?a.innerText:null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):
- ""}}(),getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push('="'),b.push(e),b.push('"'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):
- ""}}(),write:function(a,b){var c=a.ownerDocument.createTextNode(b);null!=a&&a.appendChild(c);return c},writeln:function(a,b){var c=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(c),a.appendChild(document.createElement("br")));return c},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c){c=null!=c?c:document;c=c.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",function(a){b(a)});
- return c},para:function(a,b){var c=document.createElement("p");mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mxClient.imageBasePath+"/transparent.gif', sizingMethod='scale')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,b,function(){c[d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");
- e.style.color="blue";e.style.textDecoration="underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},fit:function(a){var b=parseInt(a.offsetLeft),c=parseInt(a.offsetWidth),d=mxUtils.getDocumentScrollOrigin(a.ownerDocument),e=d.x,d=d.y,f=document.body,g=document.documentElement,k=e+(f.clientWidth||g.clientWidth);b+c>k&&(a.style.left=Math.max(e,k-c)+"px");b=parseInt(a.offsetTop);c=parseInt(a.offsetHeight);
- f=d+Math.max(f.clientHeight||0,g.clientHeight);b+c>f&&(a.style.top=Math.max(d,f-c)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f){a=new mxXmlRequest(a,null,"GET");null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(a,c){mxUtils.get(a,function(a){var f=a.getStatus();200>f||299<f?g():(e[c]=a,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},
- post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},loadInto:function(a,b,c){mxClient.IS_IE?b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&
- (a=null);return a},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor){var d=new a.constructor,e;for(e in a)e!=mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(a[c]==b[c]||null!=a[c]&&!a[c].equals(b[c]))return!1;return!0},
- equalEntries:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b){var c=0,d;for(d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;
- a.prototype=new c;a.prototype.constructor=a},toString:function(a){var b="",c;for(c in a)try{if(null==a[c])b+=c+" = [null]\n";else if("function"==typeof a[c])b+=c+" => [Function]\n";else if("object"==typeof a[c])var d=mxUtils.getFunctionName(a[c].constructor),b=b+(c+" => ["+d+"]\n");else b+=c+" = "+a[c]+"\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return q;
- c=Math.abs(c);d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/180),q=Math.sin(e*Math.PI/180);e=p*m+q*n;var m=-1*q*m+p*n,n=e*e,r=m*m,t=c*c,u=d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d*=Math.sqrt(x),f=0):(x=1,f===g&&(x=-1),f=x*Math.sqrt((t*u-t*r-u*n)/(t*r+u*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-q*r+k/2;l=q*n+p*r+l/2;t=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=t?t:2*Math.PI+t;t=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=t?t:2*Math.PI+t;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);
- g=2*e/Math.PI;g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/4)*Math.sin(e/4)/Math.sin(e/2);n=p*c;p*=d;c*=q;d*=q;for(var y=Math.cos(f),A=Math.sin(f),r=-m*(n*A+d*y),t=-m*(c*A-p*y),q=[],z=0;z<g;++z){f+=e;var y=Math.cos(f),A=Math.sin(f),u=n*y-d*A+k,x=c*y+p*A+l,v=-m*(n*A+d*y),y=-m*(c*A-p*y),A=6*z;q[A]=Number(r+a);q[A+1]=Number(t+b);q[A+2]=Number(u-v+a);q[A+3]=Number(x-y+b);q[A+4]=Number(u+a);q[A+5]=Number(x+b);r=u+v;t=x+y}return q},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=
- mxUtils.toRadians(b);var d=Math.cos(b),e=Math.sin(b);c=null!=c?c:new mxPoint(a.x+a.width/2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},
- getRotatedPoint:function(a,b,c,d){d=null!=d?d:new mxPoint;var e=a.x-d.x;a=a.y-d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,
- mxConstants.STYLE_ROTATION,0));a=0;45<c?(a=1,135<=c&&(a=2)):-45>c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;
- break;case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=
- mxConstants.DIRECTION_MASK_NORTH}return b},reversePortConstraints:function(a){var b;b=(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g],e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=
- k}return d},getDirectedBounds:function(a,b,c){var d=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST),e=mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);c=mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(c&&(d==mxConstants.DIRECTION_SOUTH||d==mxConstants.DIRECTION_NORTH)||
- e&&(d==mxConstants.DIRECTION_EAST||d==mxConstants.DIRECTION_WEST)){var f=b.x;b.x=b.width;b.width=f}if(e&&(d==mxConstants.DIRECTION_SOUTH||d==mxConstants.DIRECTION_NORTH)||c&&(d==mxConstants.DIRECTION_EAST||d==mxConstants.DIRECTION_WEST))f=b.y,b.y=b.height,b.height=f;e=mxRectangle.fromRectangle(b);d==mxConstants.DIRECTION_SOUTH?(e.y=b.x,e.x=b.height,e.width=b.y,e.height=b.width):d==mxConstants.DIRECTION_WEST?(e.y=b.height,e.x=b.width,e.width=b.x,e.height=b.y):d==mxConstants.DIRECTION_NORTH&&(e.y=b.width,
- e.x=b.y,e.width=b.height,e.height=b.x);return new mxRectangle(a.x+e.x,a.y+e.y,a.width-e.width-e.x,a.height-e.height-e.y)},lineIntersection:function(a,b,c,d){var e=(d.y-c.y)*(b.x-a.x)-(d.x-c.x)*(b.y-a.y);if(0==e)return null;var f=a.y-c.y,f=((d.x-c.x)*f-(d.y-c.y)*(a.x-c.x))/e;c=a.x+f*(b.x-a.x);a=a.y+f*(b.y-a.y);return 0<=f&&1>=f?(f=d.x-c,d=d.y-a,{dist:Math.sqrt(d*d+f*f),p:new mxPoint(c,a)}):null},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.lineIntersection(a[e],
- a[e+1],b,c);null!=f&&(null==d||d.dist>f.dist)&&(d=f)}return null!=d?d.p:null},rectangleIntersectsSegment:function(a,b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;var e=b.y,g=c.y,l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b){var c=a.width,
- d=a.height,e=b.width,f=b.height;if(0>=e||0>=f||0>=c||0>=d)return!1;var g=a.x,k=a.y,l=b.x,m=b.y,e=e+l,f=f+m,c=c+g,d=d+k;return(e<l||e>g)&&(f<m||f>k)&&(c<g||c>l)&&(d<k||d>m)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=f?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,
- l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);
- null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||e||(e=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=e.x,d+=e.y);e=a.getBoundingClientRect();null!=e&&(c+=e.left,d+=e.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){if(mxClient.IS_QUIRKS)return new mxPoint(a.body.scrollLeft,a.body.scrollTop);a=a.defaultView||a.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,
- null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||isNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),
- g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},ltrim:function(a,b){return null!=a?a.replace(new RegExp("^["+(b||"\\s")+"]+","g"),""):null},rtrim:function(a,b){return null!=a?a.replace(new RegExp("["+(b||"\\s")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>
- a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):null},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,
- d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxUtils.isVml(a)?a.style.filter=
- 100<=b?"":"alpha(opacity="+b/5+")":mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createImage:function(a){var b;mxClient.IS_IE6&&"CSS1Compat"!=document.compatMode?(b=document.createElement(mxClient.VML_PREFIX+":image"),b.setAttribute("src",a),b.style.borderStyle="none"):(b=document.createElement("img"),b.setAttribute("src",a),b.setAttribute("border","0"));return b},sortCells:function(a,b){b=
- null!=b?b:!0;var c=new mxDictionary;a.sort(function(a,e){var d=c.get(a);null==d&&(d=mxCellPath.create(a).split(mxCellPath.PATH_SEPARATOR),c.put(a,d));var g=c.get(e);null==g&&(g=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,g));d=mxCellPath.compare(d,g);return 0==d?0:0<d==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&
- b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b)for(var c=a.split(";"),d=0,e=0;e<c.length;e++){if(c[e]==b)return d;d+=c[e].length+1}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a)for(var d=a.split(";"),e=0;e<d.length;e++)d[e]!=b&&c.push(d[e]);return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");
- for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?";":a.substring(e)):
- 0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");0>f?d&&(d=";"==a.charAt(a.length-1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},setStyleFlag:function(a,
- b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=a.indexOf(b+"=");if(0>e)e=";"==a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g;g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=0,d=0;a==mxConstants.ALIGN_CENTER?c=-.5:a==mxConstants.ALIGN_RIGHT&&(c=-1);b==mxConstants.ALIGN_MIDDLE?
- d=-.5:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,d)},getSizeForString:function(a,b,c,d){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var e=document.createElement("div");e.style.fontFamily=c;e.style.fontSize=Math.round(b)+"px";e.style.lineHeight=Math.round(b*mxConstants.LINE_HEIGHT)+"px";e.style.position="absolute";e.style.visibility="hidden";e.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";e.style.zoom="1";null!=d?(e.style.width=d+"px",
- e.style.whiteSpace="normal"):e.style.whiteSpace="nowrap";e.innerHTML=a;document.body.appendChild(e);a=new mxRectangle(0,0,e.offsetWidth,e.offsetHeight);document.body.removeChild(e);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),
- f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=
- m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=c.width-2*d;c=c.height-2*d;d=b.getGraphBounds().clone();b=b.getView().getScale();d.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){var g=Math.floor(c)/c,k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);
- 1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\x3e');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-
- g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></head><body style="margin:0px;">'+('<div style="position:absolute;overflow:hidden;width:'+e+"px;height:"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");
- b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln('</head><body style="margin:0px;"></body></html>');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";
- c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=k+"px";e.style.top=l+"px";f=a.container.firstChild;for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);null!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=
- window.open();a.getGraphBounds();mxUtils.show(a,b.document);a=function(){b.focus();b.print();b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";var d=document.createElement("pre");d.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g," ");c.appendChild(d);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||
- 0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?(c=window.open(),c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),d=c.document.createElement("pre"),d.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g," "),c.document.body.appendChild(d))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},
- error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");f.setAttribute("src",d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||
- mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=document.createElement("p"),c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",function(a){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,
- c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);a.autoscroll=g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(a){return"function"==typeof b?b(a):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(a){var b=d.cloneNode(!0),c=parseInt(b.style.width),e=parseInt(b.style.height);b.style.width=Math.round(c*a.view.scale)+"px";b.style.height=Math.round(e*
- a.view.scale)+"px";return b}));return a}},mxConstants={DEFAULT_HOTSPOT:.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:"exact",RENDERING_HINT_FASTER:"faster",RENDERING_HINT_FASTEST:"fastest",DIALECT_SVG:"svg",DIALECT_VML:"vml",DIALECT_MIXEDHTML:"mixedHtml",DIALECT_PREFERHTML:"preferHtml",DIALECT_STRICTHTML:"strictHtml",NS_SVG:"http://www.w3.org/2000/svg",NS_XHTML:"http://www.w3.org/1999/xhtml",NS_XLINK:"http://www.w3.org/1999/xlink",SHADOWCOLOR:"gray",VML_SHADOWCOLOR:"gray",SHADOW_OFFSET_X:2,
- SHADOW_OFFSET_Y:3,SHADOW_OPACITY:1,NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,NODETYPE_DOCUMENT_FRAGMENT:11,NODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:"#00FF00",DEFAULT_INVALID_COLOR:"#FF0000",OUTLINE_HIGHLIGHT_COLOR:"#00FF00",OUTLINE_HIGHLIGHT_STROKEWIDTH:5,HIGHLIGHT_STROKEWIDTH:3,HIGHLIGHT_SIZE:2,HIGHLIGHT_OPACITY:100,
- CURSOR_MOVABLE_VERTEX:"move",CURSOR_MOVABLE_EDGE:"move",CURSOR_LABEL_HANDLE:"default",CURSOR_TERMINAL_HANDLE:"pointer",CURSOR_BEND_HANDLE:"crosshair",CURSOR_VIRTUAL_BEND_HANDLE:"crosshair",CURSOR_CONNECT:"pointer",HIGHLIGHT_COLOR:"#00FF00",CONNECT_TARGET_COLOR:"#0000FF",INVALID_CONNECT_TARGET_COLOR:"#FF0000",DROP_TARGET_COLOR:"#0000FF",VALID_COLOR:"#00FF00",INVALID_COLOR:"#FF0000",EDGE_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,
- VERTEX_SELECTION_DASHED:!0,EDGE_SELECTION_DASHED:!0,GUIDE_COLOR:"#FF0000",GUIDE_STROKEWIDTH:1,OUTLINE_COLOR:"#0099FF",OUTLINE_STROKEWIDTH:mxClient.IS_IE?2:3,HANDLE_SIZE:6,LABEL_HANDLE_SIZE:4,HANDLE_FILLCOLOR:"#00FF00",HANDLE_STROKECOLOR:"black",LABEL_HANDLE_FILLCOLOR:"yellow",CONNECT_HANDLE_FILLCOLOR:"#0000FF",LOCKED_HANDLE_FILLCOLOR:"#FF0000",OUTLINE_HANDLE_FILLCOLOR:"#00FFFF",OUTLINE_HANDLE_STROKECOLOR:"#0033FF",DEFAULT_FONTFAMILY:"Arial,Helvetica",DEFAULT_FONTSIZE:11,DEFAULT_TEXT_DIRECTION:"",
- LINE_HEIGHT:1.2,WORD_WRAP:"normal",ABSOLUTE_LINE_HEIGHT:!1,DEFAULT_FONTSTYLE:0,DEFAULT_STARTSIZE:40,DEFAULT_MARKERSIZE:6,DEFAULT_IMAGESIZE:24,ENTITY_SEGMENT:30,RECTANGLE_ROUNDING_FACTOR:.15,LINE_ARCSIZE:20,ARROW_SPACING:0,ARROW_WIDTH:30,ARROW_SIZE:30,PAGE_FORMAT_A4_PORTRAIT:new mxRectangle(0,0,827,1169),PAGE_FORMAT_A4_LANDSCAPE:new mxRectangle(0,0,1169,827),PAGE_FORMAT_LETTER_PORTRAIT:new mxRectangle(0,0,850,1100),PAGE_FORMAT_LETTER_LANDSCAPE:new mxRectangle(0,0,1100,850),NONE:"none",STYLE_PERIMETER:"perimeter",
- STYLE_SOURCE_PORT:"sourcePort",STYLE_TARGET_PORT:"targetPort",STYLE_PORT_CONSTRAINT:"portConstraint",STYLE_PORT_CONSTRAINT_ROTATION:"portConstraintRotation",STYLE_SOURCE_PORT_CONSTRAINT:"sourcePortConstraint",STYLE_TARGET_PORT_CONSTRAINT:"targetPortConstraint",STYLE_OPACITY:"opacity",STYLE_FILL_OPACITY:"fillOpacity",STYLE_STROKE_OPACITY:"strokeOpacity",STYLE_TEXT_OPACITY:"textOpacity",STYLE_TEXT_DIRECTION:"textDirection",STYLE_OVERFLOW:"overflow",STYLE_ORTHOGONAL:"orthogonal",STYLE_EXIT_X:"exitX",
- STYLE_EXIT_Y:"exitY",STYLE_EXIT_PERIMETER:"exitPerimeter",STYLE_ENTRY_X:"entryX",STYLE_ENTRY_Y:"entryY",STYLE_ENTRY_PERIMETER:"entryPerimeter",STYLE_WHITE_SPACE:"whiteSpace",STYLE_ROTATION:"rotation",STYLE_FILLCOLOR:"fillColor",STYLE_POINTER_EVENTS:"pointerEvents",STYLE_SWIMLANE_FILLCOLOR:"swimlaneFillColor",STYLE_MARGIN:"margin",STYLE_GRADIENTCOLOR:"gradientColor",STYLE_GRADIENT_DIRECTION:"gradientDirection",STYLE_STROKECOLOR:"strokeColor",STYLE_SEPARATORCOLOR:"separatorColor",STYLE_STROKEWIDTH:"strokeWidth",
- STYLE_ALIGN:"align",STYLE_VERTICAL_ALIGN:"verticalAlign",STYLE_LABEL_WIDTH:"labelWidth",STYLE_LABEL_POSITION:"labelPosition",STYLE_VERTICAL_LABEL_POSITION:"verticalLabelPosition",STYLE_IMAGE_ASPECT:"imageAspect",STYLE_IMAGE_ALIGN:"imageAlign",STYLE_IMAGE_VERTICAL_ALIGN:"imageVerticalAlign",STYLE_GLASS:"glass",STYLE_IMAGE:"image",STYLE_IMAGE_WIDTH:"imageWidth",STYLE_IMAGE_HEIGHT:"imageHeight",STYLE_IMAGE_BACKGROUND:"imageBackground",STYLE_IMAGE_BORDER:"imageBorder",STYLE_FLIPH:"flipH",STYLE_FLIPV:"flipV",
- STYLE_NOLABEL:"noLabel",STYLE_NOEDGESTYLE:"noEdgeStyle",STYLE_LABEL_BACKGROUNDCOLOR:"labelBackgroundColor",STYLE_LABEL_BORDERCOLOR:"labelBorderColor",STYLE_LABEL_PADDING:"labelPadding",STYLE_INDICATOR_SHAPE:"indicatorShape",STYLE_INDICATOR_IMAGE:"indicatorImage",STYLE_INDICATOR_COLOR:"indicatorColor",STYLE_INDICATOR_STROKECOLOR:"indicatorStrokeColor",STYLE_INDICATOR_GRADIENTCOLOR:"indicatorGradientColor",STYLE_INDICATOR_SPACING:"indicatorSpacing",STYLE_INDICATOR_WIDTH:"indicatorWidth",STYLE_INDICATOR_HEIGHT:"indicatorHeight",
- STYLE_INDICATOR_DIRECTION:"indicatorDirection",STYLE_SHADOW:"shadow",STYLE_SEGMENT:"segment",STYLE_ENDARROW:"endArrow",STYLE_STARTARROW:"startArrow",STYLE_ENDSIZE:"endSize",STYLE_STARTSIZE:"startSize",STYLE_SWIMLANE_LINE:"swimlaneLine",STYLE_ENDFILL:"endFill",STYLE_STARTFILL:"startFill",STYLE_DASHED:"dashed",STYLE_DASH_PATTERN:"dashPattern",STYLE_FIX_DASH:"fixDash",STYLE_ROUNDED:"rounded",STYLE_CURVED:"curved",STYLE_ARCSIZE:"arcSize",STYLE_SMOOTH:"smooth",STYLE_SOURCE_PERIMETER_SPACING:"sourcePerimeterSpacing",
- STYLE_TARGET_PERIMETER_SPACING:"targetPerimeterSpacing",STYLE_PERIMETER_SPACING:"perimeterSpacing",STYLE_SPACING:"spacing",STYLE_SPACING_TOP:"spacingTop",STYLE_SPACING_LEFT:"spacingLeft",STYLE_SPACING_BOTTOM:"spacingBottom",STYLE_SPACING_RIGHT:"spacingRight",STYLE_HORIZONTAL:"horizontal",STYLE_DIRECTION:"direction",STYLE_ELBOW:"elbow",STYLE_FONTCOLOR:"fontColor",STYLE_FONTFAMILY:"fontFamily",STYLE_FONTSIZE:"fontSize",STYLE_FONTSTYLE:"fontStyle",STYLE_ASPECT:"aspect",STYLE_AUTOSIZE:"autosize",STYLE_FOLDABLE:"foldable",
- STYLE_EDITABLE:"editable",STYLE_BENDABLE:"bendable",STYLE_MOVABLE:"movable",STYLE_RESIZABLE:"resizable",STYLE_RESIZE_WIDTH:"resizeWidth",STYLE_RESIZE_HEIGHT:"resizeHeight",STYLE_ROTATABLE:"rotatable",STYLE_CLONEABLE:"cloneable",STYLE_DELETABLE:"deletable",STYLE_SHAPE:"shape",STYLE_EDGE:"edgeStyle",STYLE_JETTY_SIZE:"jettySize",STYLE_SOURCE_JETTY_SIZE:"sourceJettySize",STYLE_TARGET_JETTY_SIZE:"targetJettySize",STYLE_LOOP:"loopStyle",STYLE_ORTHOGONAL_LOOP:"orthogonalLoop",STYLE_ROUTING_CENTER_X:"routingCenterX",
- STYLE_ROUTING_CENTER_Y:"routingCenterY",FONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,SHAPE_RECTANGLE:"rectangle",SHAPE_ELLIPSE:"ellipse",SHAPE_DOUBLE_ELLIPSE:"doubleEllipse",SHAPE_RHOMBUS:"rhombus",SHAPE_LINE:"line",SHAPE_IMAGE:"image",SHAPE_ARROW:"arrow",SHAPE_ARROW_CONNECTOR:"arrowConnector",SHAPE_LABEL:"label",SHAPE_CYLINDER:"cylinder",SHAPE_SWIMLANE:"swimlane",SHAPE_CONNECTOR:"connector",SHAPE_ACTOR:"actor",SHAPE_CLOUD:"cloud",SHAPE_TRIANGLE:"triangle",SHAPE_HEXAGON:"hexagon",ARROW_CLASSIC:"classic",
- ARROW_CLASSIC_THIN:"classicThin",ARROW_BLOCK:"block",ARROW_BLOCK_THIN:"blockThin",ARROW_OPEN:"open",ARROW_OPEN_THIN:"openThin",ARROW_OVAL:"oval",ARROW_DIAMOND:"diamond",ARROW_DIAMOND_THIN:"diamondThin",ALIGN_LEFT:"left",ALIGN_CENTER:"center",ALIGN_RIGHT:"right",ALIGN_TOP:"top",ALIGN_MIDDLE:"middle",ALIGN_BOTTOM:"bottom",DIRECTION_NORTH:"north",DIRECTION_SOUTH:"south",DIRECTION_EAST:"east",DIRECTION_WEST:"west",TEXT_DIRECTION_DEFAULT:"",TEXT_DIRECTION_AUTO:"auto",TEXT_DIRECTION_LTR:"ltr",TEXT_DIRECTION_RTL:"rtl",
- DIRECTION_MASK_NONE:0,DIRECTION_MASK_WEST:1,DIRECTION_MASK_NORTH:2,DIRECTION_MASK_SOUTH:4,DIRECTION_MASK_EAST:8,DIRECTION_MASK_ALL:15,ELBOW_VERTICAL:"vertical",ELBOW_HORIZONTAL:"horizontal",EDGESTYLE_ELBOW:"elbowEdgeStyle",EDGESTYLE_ENTITY_RELATION:"entityRelationEdgeStyle",EDGESTYLE_LOOP:"loopEdgeStyle",EDGESTYLE_SIDETOSIDE:"sideToSideEdgeStyle",EDGESTYLE_TOPTOBOTTOM:"topToBottomEdgeStyle",EDGESTYLE_ORTHOGONAL:"orthogonalEdgeStyle",EDGESTYLE_SEGMENT:"segmentEdgeStyle",PERIMETER_ELLIPSE:"ellipsePerimeter",
- PERIMETER_RECTANGLE:"rectanglePerimeter",PERIMETER_RHOMBUS:"rhombusPerimeter",PERIMETER_HEXAGON:"hexagonPerimeter",PERIMETER_TRIANGLE:"trianglePerimeter"};function mxEventObject(a){this.name=a;this.properties=[];for(var b=1;b<arguments.length;b+=2)null!=arguments[b+1]&&(this.properties[arguments[b]]=arguments[b+1])}mxEventObject.prototype.name=null;mxEventObject.prototype.properties=null;mxEventObject.prototype.consumed=!1;mxEventObject.prototype.getName=function(){return this.name};
- mxEventObject.prototype.getProperties=function(){return this.properties};mxEventObject.prototype.getProperty=function(a){return this.properties[a]};mxEventObject.prototype.isConsumed=function(){return this.consumed};mxEventObject.prototype.consume=function(){this.consumed=!0};function mxMouseEvent(a,b){this.evt=a;this.sourceState=this.state=b}mxMouseEvent.prototype.consumed=!1;mxMouseEvent.prototype.evt=null;mxMouseEvent.prototype.graphX=null;mxMouseEvent.prototype.graphY=null;
- mxMouseEvent.prototype.state=null;mxMouseEvent.prototype.sourceState=null;mxMouseEvent.prototype.getEvent=function(){return this.evt};mxMouseEvent.prototype.getSource=function(){return mxEvent.getSource(this.evt)};mxMouseEvent.prototype.isSource=function(a){return null!=a?mxUtils.isAncestorNode(a.node,this.getSource()):!1};mxMouseEvent.prototype.getX=function(){return mxEvent.getClientX(this.getEvent())};mxMouseEvent.prototype.getY=function(){return mxEvent.getClientY(this.getEvent())};
- mxMouseEvent.prototype.getGraphX=function(){return this.graphX};mxMouseEvent.prototype.getGraphY=function(){return this.graphY};mxMouseEvent.prototype.getState=function(){return this.state};mxMouseEvent.prototype.getCell=function(){var a=this.getState();return null!=a?a.cell:null};mxMouseEvent.prototype.isPopupTrigger=function(){return mxEvent.isPopupTrigger(this.getEvent())};mxMouseEvent.prototype.isConsumed=function(){return this.consumed};
- mxMouseEvent.prototype.consume=function(a){(null!=a?a:1)&&this.evt.preventDefault&&this.evt.preventDefault();mxClient.IS_IE&&(this.evt.returnValue=!0);this.consumed=!0};function mxEventSource(a){this.setEventSource(a)}mxEventSource.prototype.eventListeners=null;mxEventSource.prototype.eventsEnabled=!0;mxEventSource.prototype.eventSource=null;mxEventSource.prototype.isEventsEnabled=function(){return this.eventsEnabled};mxEventSource.prototype.setEventsEnabled=function(a){this.eventsEnabled=a};
- mxEventSource.prototype.getEventSource=function(){return this.eventSource};mxEventSource.prototype.setEventSource=function(a){this.eventSource=a};mxEventSource.prototype.addListener=function(a,b){null==this.eventListeners&&(this.eventListeners=[]);this.eventListeners.push(a);this.eventListeners.push(b)};mxEventSource.prototype.removeListener=function(a){if(null!=this.eventListeners)for(var b=0;b<this.eventListeners.length;)this.eventListeners[b+1]==a?this.eventListeners.splice(b,2):b+=2};
- mxEventSource.prototype.fireEvent=function(a,b){if(null!=this.eventListeners&&this.isEventsEnabled()){null==a&&(a=new mxEventObject);null==b&&(b=this.getEventSource());null==b&&(b=this);for(var c=[b,a],d=0;d<this.eventListeners.length;d+=2){var e=this.eventListeners[d];null!=e&&e!=a.getName()||this.eventListeners[d+1].apply(this,c)}}};
- var mxEvent={objects:[],addListener:function(){var a=function(a,c,d){null==a.mxListenerList&&(a.mxListenerList=[],mxEvent.objects.push(a));a.mxListenerList.push({name:c,f:d})};return window.addEventListener?function(b,c,d){b.addEventListener(c,d,!1);a(b,c,d)}:function(b,c,d){b.attachEvent("on"+c,d);a(b,c,d)}}(),removeListener:function(){var a=function(a,c,d){if(null!=a.mxListenerList){c=a.mxListenerList.length;for(var b=0;b<c;b++)if(a.mxListenerList[b].f==d){a.mxListenerList.splice(b,1);break}0==
- a.mxListenerList.length&&(a.mxListenerList=null,a=mxUtils.indexOf(mxEvent.objects,a),0<=a&&mxEvent.objects.splice(a,1))}};return window.removeEventListener?function(b,c,d){b.removeEventListener(c,d,!1);a(b,c,d)}:function(b,c,d){b.detachEvent("on"+c,d);a(b,c,d)}}(),removeAllListeners:function(a){var b=a.mxListenerList;if(null!=b)for(;0<b.length;){var c=b[0];mxEvent.removeListener(a,c.name,c.f)}},addGestureListeners:function(a,b,c,d){null!=b&&mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":
- "mousedown",b);null!=c&&mxEvent.addListener(a,mxClient.IS_POINTER?"pointermove":"mousemove",c);null!=d&&mxEvent.addListener(a,mxClient.IS_POINTER?"pointerup":"mouseup",d);!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&(null!=b&&mxEvent.addListener(a,"touchstart",b),null!=c&&mxEvent.addListener(a,"touchmove",c),null!=d&&mxEvent.addListener(a,"touchend",d))},removeGestureListeners:function(a,b,c,d){null!=b&&mxEvent.removeListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",b);null!=c&&mxEvent.removeListener(a,
- mxClient.IS_POINTER?"pointermove":"mousemove",c);null!=d&&mxEvent.removeListener(a,mxClient.IS_POINTER?"pointerup":"mouseup",d);!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&(null!=b&&mxEvent.removeListener(a,"touchstart",b),null!=c&&mxEvent.removeListener(a,"touchmove",c),null!=d&&mxEvent.removeListener(a,"touchend",d))},redirectMouseEvents:function(a,b,c,d,e,f,g){var k=function(a){return"function"==typeof c?c(a):c};mxEvent.addGestureListeners(a,function(a){null!=d?d(a):mxEvent.isConsumed(a)||b.fireMouseEvent(mxEvent.MOUSE_DOWN,
- new mxMouseEvent(a,k(a)))},function(a){null!=e?e(a):mxEvent.isConsumed(a)||b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,k(a)))},function(a){null!=f?f(a):mxEvent.isConsumed(a)||b.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a,k(a)))});mxEvent.addListener(a,"dblclick",function(a){if(null!=g)g(a);else if(!mxEvent.isConsumed(a)){var c=k(a);b.dblClick(a,null!=c?c.cell:null)}})},release:function(a){if(null!=a&&(mxEvent.removeAllListeners(a),a=a.childNodes,null!=a))for(var b=a.length,c=0;c<
- b;c+=1)mxEvent.release(a[c])},addMouseWheelListener:function(a){if(null!=a){var b=function(b){null==b&&(b=window.event);var c;c=mxClient.IS_FF?-b.detail/2:b.wheelDelta/120;0!=c&&a(b,0<c)};mxClient.IS_NS&&null==document.documentMode?mxEvent.addListener(window,mxClient.IS_SF||mxClient.IS_GC?"mousewheel":"DOMMouseScroll",b):mxEvent.addListener(document,"mousewheel",b)}},disableContextMenu:function(){return mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?function(a){mxEvent.addListener(a,
- "contextmenu",function(){return!1})}:function(a){a.setAttribute("oncontextmenu","return false;")}}(),getSource:function(a){return null!=a.srcElement?a.srcElement:a.target},isConsumed:function(a){return null!=a.isConsumed&&a.isConsumed},isTouchEvent:function(a){return null!=a.pointerType?"touch"==a.pointerType||a.pointerType===a.MSPOINTER_TYPE_TOUCH:null!=a.mozInputSource?5==a.mozInputSource:0==a.type.indexOf("touch")},isPenEvent:function(a){return null!=a.pointerType?"pen"==a.pointerType||a.pointerType===
- a.MSPOINTER_TYPE_PEN:null!=a.mozInputSource?2==a.mozInputSource:0==a.type.indexOf("pen")},isMultiTouchEvent:function(a){return null!=a.type&&0==a.type.indexOf("touch")&&null!=a.touches&&1<a.touches.length},isMouseEvent:function(a){return null!=a.pointerType?"mouse"==a.pointerType||a.pointerType===a.MSPOINTER_TYPE_MOUSE:null!=a.mozInputSource?1==a.mozInputSource:0==a.type.indexOf("mouse")},isLeftMouseButton:function(a){return"buttons"in a&&("mousedown"==a.type||"mousemove"==a.type)?1==a.buttons:"which"in
- a?1===a.which:1===a.button},isMiddleMouseButton:function(a){return"which"in a?2===a.which:4===a.button},isRightMouseButton:function(a){return"which"in a?3===a.which:2===a.button},isPopupTrigger:function(a){return mxEvent.isRightMouseButton(a)||mxClient.IS_MAC&&mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)&&!mxEvent.isMetaDown(a)&&!mxEvent.isAltDown(a)},isShiftDown:function(a){return null!=a?a.shiftKey:!1},isAltDown:function(a){return null!=a?a.altKey:!1},isControlDown:function(a){return null!=
- a?a.ctrlKey:!1},isMetaDown:function(a){return null!=a?a.metaKey:!1},getMainEvent:function(a){"touchstart"!=a.type&&"touchmove"!=a.type||null==a.touches||null==a.touches[0]?"touchend"==a.type&&null!=a.changedTouches&&null!=a.changedTouches[0]&&(a=a.changedTouches[0]):a=a.touches[0];return a},getClientX:function(a){return mxEvent.getMainEvent(a).clientX},getClientY:function(a){return mxEvent.getMainEvent(a).clientY},consume:function(a,b,c){c=null!=c?c:!0;if(null!=b?b:1)a.preventDefault?(c&&a.stopPropagation(),
- a.preventDefault()):c&&(a.cancelBubble=!0);a.isConsumed=!0;a.preventDefault||(a.returnValue=!1)},LABEL_HANDLE:-1,ROTATION_HANDLE:-2,CUSTOM_HANDLE:-100,VIRTUAL_HANDLE:-1E5,MOUSE_DOWN:"mouseDown",MOUSE_MOVE:"mouseMove",MOUSE_UP:"mouseUp",ACTIVATE:"activate",RESIZE_START:"resizeStart",RESIZE:"resize",RESIZE_END:"resizeEnd",MOVE_START:"moveStart",MOVE:"move",MOVE_END:"moveEnd",PAN_START:"panStart",PAN:"pan",PAN_END:"panEnd",MINIMIZE:"minimize",NORMALIZE:"normalize",MAXIMIZE:"maximize",HIDE:"hide",SHOW:"show",
- CLOSE:"close",DESTROY:"destroy",REFRESH:"refresh",SIZE:"size",SELECT:"select",FIRED:"fired",FIRE_MOUSE_EVENT:"fireMouseEvent",GESTURE:"gesture",TAP_AND_HOLD:"tapAndHold",GET:"get",RECEIVE:"receive",CONNECT:"connect",DISCONNECT:"disconnect",SUSPEND:"suspend",RESUME:"resume",MARK:"mark",ROOT:"root",POST:"post",OPEN:"open",SAVE:"save",BEFORE_ADD_VERTEX:"beforeAddVertex",ADD_VERTEX:"addVertex",AFTER_ADD_VERTEX:"afterAddVertex",DONE:"done",EXECUTE:"execute",EXECUTED:"executed",BEGIN_UPDATE:"beginUpdate",
- START_EDIT:"startEdit",END_UPDATE:"endUpdate",END_EDIT:"endEdit",BEFORE_UNDO:"beforeUndo",UNDO:"undo",REDO:"redo",CHANGE:"change",NOTIFY:"notify",LAYOUT_CELLS:"layoutCells",CLICK:"click",SCALE:"scale",TRANSLATE:"translate",SCALE_AND_TRANSLATE:"scaleAndTranslate",UP:"up",DOWN:"down",ADD:"add",REMOVE:"remove",CLEAR:"clear",ADD_CELLS:"addCells",CELLS_ADDED:"cellsAdded",MOVE_CELLS:"moveCells",CELLS_MOVED:"cellsMoved",RESIZE_CELLS:"resizeCells",CELLS_RESIZED:"cellsResized",TOGGLE_CELLS:"toggleCells",CELLS_TOGGLED:"cellsToggled",
- ORDER_CELLS:"orderCells",CELLS_ORDERED:"cellsOrdered",REMOVE_CELLS:"removeCells",CELLS_REMOVED:"cellsRemoved",GROUP_CELLS:"groupCells",UNGROUP_CELLS:"ungroupCells",REMOVE_CELLS_FROM_PARENT:"removeCellsFromParent",FOLD_CELLS:"foldCells",CELLS_FOLDED:"cellsFolded",ALIGN_CELLS:"alignCells",LABEL_CHANGED:"labelChanged",CONNECT_CELL:"connectCell",CELL_CONNECTED:"cellConnected",SPLIT_EDGE:"splitEdge",FLIP_EDGE:"flipEdge",START_EDITING:"startEditing",EDITING_STARTED:"editingStarted",EDITING_STOPPED:"editingStopped",
- ADD_OVERLAY:"addOverlay",REMOVE_OVERLAY:"removeOverlay",UPDATE_CELL_SIZE:"updateCellSize",ESCAPE:"escape",DOUBLE_CLICK:"doubleClick",START:"start",RESET:"reset"};function mxXmlRequest(a,b,c,d,e,f){this.url=a;this.params=b;this.method=c||"POST";this.async=null!=d?d:!0;this.username=e;this.password=f}mxXmlRequest.prototype.url=null;mxXmlRequest.prototype.params=null;mxXmlRequest.prototype.method=null;mxXmlRequest.prototype.async=null;mxXmlRequest.prototype.binary=!1;
- mxXmlRequest.prototype.withCredentials=!1;mxXmlRequest.prototype.username=null;mxXmlRequest.prototype.password=null;mxXmlRequest.prototype.request=null;mxXmlRequest.prototype.decodeSimulateValues=!1;mxXmlRequest.prototype.isBinary=function(){return this.binary};mxXmlRequest.prototype.setBinary=function(a){this.binary=a};mxXmlRequest.prototype.getText=function(){return this.request.responseText};mxXmlRequest.prototype.isReady=function(){return 4==this.request.readyState};
- mxXmlRequest.prototype.getDocumentElement=function(){var a=this.getXml();return null!=a?a.documentElement:null};mxXmlRequest.prototype.getXml=function(){var a=this.request.responseXML;if(9<=document.documentMode||null==a||null==a.documentElement)a=mxUtils.parseXml(this.request.responseText);return a};mxXmlRequest.prototype.getText=function(){return this.request.responseText};mxXmlRequest.prototype.getStatus=function(){return this.request.status};
- mxXmlRequest.prototype.create=function(){if(window.XMLHttpRequest)return function(){var a=new XMLHttpRequest;this.isBinary()&&a.overrideMimeType&&a.overrideMimeType("text/plain; charset=x-user-defined");return a};if("undefined"!=typeof ActiveXObject)return function(){return new ActiveXObject("Microsoft.XMLHTTP")}}();
- mxXmlRequest.prototype.send=function(a,b,c,d){this.request=this.create();null!=this.request&&(null!=a&&(this.request.onreadystatechange=mxUtils.bind(this,function(){this.isReady()&&(a(this),this.onreadystatechaange=null)})),this.request.open(this.method,this.url,this.async,this.username,this.password),this.setRequestHeaders(this.request,this.params),window.XMLHttpRequest&&this.withCredentials&&(this.request.withCredentials="true"),!mxClient.IS_QUIRKS&&(null==document.documentMode||9<document.documentMode)&&
- window.XMLHttpRequest&&null!=c&&null!=d&&(this.request.timeout=c,this.request.ontimeout=d),this.request.send(this.params))};mxXmlRequest.prototype.setRequestHeaders=function(a,b){null!=b&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded")};
- mxXmlRequest.prototype.simulate=function(a,b){a=a||document;var c=null;a==document&&(c=window.onbeforeunload,window.onbeforeunload=null);var d=a.createElement("form");d.setAttribute("method",this.method);d.setAttribute("action",this.url);null!=b&&d.setAttribute("target",b);d.style.display="none";d.style.visibility="hidden";for(var e=0<this.params.indexOf("&")?this.params.split("&"):this.params.split(),f=0;f<e.length;f++){var g=e[f].indexOf("=");if(0<g){var k=e[f].substring(0,g),g=e[f].substring(g+
- 1);this.decodeSimulateValues&&(g=decodeURIComponent(g));var l=a.createElement("textarea");l.setAttribute("wrap","off");l.setAttribute("name",k);mxUtils.write(l,g);d.appendChild(l)}}a.body.appendChild(d);d.submit();null!=d.parentNode&&d.parentNode.removeChild(d);null!=c&&(window.onbeforeunload=c)};
- var mxClipboard={STEPSIZE:10,insertCount:1,cells:null,setCells:function(a){mxClipboard.cells=a},getCells:function(){return mxClipboard.cells},isEmpty:function(){return null==mxClipboard.getCells()},cut:function(a,b){b=mxClipboard.copy(a,b);mxClipboard.insertCount=0;mxClipboard.removeCells(a,b);return b},removeCells:function(a,b){a.removeCells(b)},copy:function(a,b){b=b||a.getSelectionCells();var c=a.getExportableCells(a.model.getTopmostCells(b));mxClipboard.insertCount=1;mxClipboard.setCells(a.cloneCells(c));
- return c},paste:function(a){var b=null;if(!mxClipboard.isEmpty()){var b=a.getImportableCells(mxClipboard.getCells()),c=mxClipboard.insertCount*mxClipboard.STEPSIZE,d=a.getDefaultParent(),b=a.importCells(b,c,c,d);mxClipboard.insertCount++;a.setSelectionCells(b)}return b}};
- function mxWindow(a,b,c,d,e,f,g,k,l,m){null!=b&&(g=null!=g?g:!0,this.content=b,this.init(c,d,e,f,m),this.installMaximizeHandler(),this.installMinimizeHandler(),this.installCloseHandler(),this.setMinimizable(g),this.setTitle(a),(null==k||k)&&this.installMoveHandler(),null!=l&&null!=l.parentNode?l.parentNode.replaceChild(this.div,l):document.body.appendChild(this.div))}mxWindow.prototype=new mxEventSource;mxWindow.prototype.constructor=mxWindow;mxWindow.prototype.closeImage=mxClient.imageBasePath+"/close.gif";
- mxWindow.prototype.minimizeImage=mxClient.imageBasePath+"/minimize.gif";mxWindow.prototype.normalizeImage=mxClient.imageBasePath+"/normalize.gif";mxWindow.prototype.maximizeImage=mxClient.imageBasePath+"/maximize.gif";mxWindow.prototype.resizeImage=mxClient.imageBasePath+"/resize.gif";mxWindow.prototype.visible=!1;mxWindow.prototype.minimumSize=new mxRectangle(0,0,50,40);mxWindow.prototype.destroyOnClose=!0;
- mxWindow.prototype.contentHeightCorrection=8==document.documentMode||7==document.documentMode?6:2;mxWindow.prototype.title=null;mxWindow.prototype.content=null;
- mxWindow.prototype.init=function(a,b,c,d,e){e=null!=e?e:"mxWindow";this.div=document.createElement("div");this.div.className=e;this.div.style.left=a+"px";this.div.style.top=b+"px";this.table=document.createElement("table");this.table.className=e;mxClient.IS_POINTER&&(this.div.style.touchAction="none");null!=c&&(mxClient.IS_QUIRKS||(this.div.style.width=c+"px"),this.table.style.width=c+"px");null!=d&&(mxClient.IS_QUIRKS||(this.div.style.height=d+"px"),this.table.style.height=d+"px");a=document.createElement("tbody");
- b=document.createElement("tr");this.title=document.createElement("td");this.title.className=e+"Title";this.buttons=document.createElement("div");this.buttons.style.position="absolute";this.buttons.style.display="inline-block";this.buttons.style.right="4px";this.buttons.style.top="5px";this.title.appendChild(this.buttons);b.appendChild(this.title);a.appendChild(b);b=document.createElement("tr");this.td=document.createElement("td");this.td.className=e+"Pane";7==document.documentMode&&(this.td.style.height=
- "100%");this.contentWrapper=document.createElement("div");this.contentWrapper.className=e+"Pane";this.contentWrapper.style.width="100%";this.contentWrapper.appendChild(this.content);if(mxClient.IS_QUIRKS||"DIV"!=this.content.nodeName.toUpperCase())this.contentWrapper.style.height="100%";this.td.appendChild(this.contentWrapper);b.appendChild(this.td);a.appendChild(b);this.table.appendChild(a);this.div.appendChild(this.table);e=mxUtils.bind(this,function(a){this.activate()});mxEvent.addGestureListeners(this.title,
- e);mxEvent.addGestureListeners(this.table,e);this.hide()};mxWindow.prototype.setTitle=function(a){for(var b=this.title.firstChild;null!=b;){var c=b.nextSibling;b.nodeType==mxConstants.NODETYPE_TEXT&&b.parentNode.removeChild(b);b=c}mxUtils.write(this.title,a||"");this.title.appendChild(this.buttons)};mxWindow.prototype.setScrollable=function(a){0>navigator.userAgent.indexOf("Presto/2.5")&&(this.contentWrapper.style.overflow=a?"auto":"hidden")};
- mxWindow.prototype.activate=function(){if(mxWindow.activeWindow!=this){var a=mxUtils.getCurrentStyle(this.getElement()),a=null!=a?a.zIndex:3;if(mxWindow.activeWindow){var b=mxWindow.activeWindow.getElement();null!=b&&null!=b.style&&(b.style.zIndex=a)}b=mxWindow.activeWindow;this.getElement().style.zIndex=parseInt(a)+1;mxWindow.activeWindow=this;this.fireEvent(new mxEventObject(mxEvent.ACTIVATE,"previousWindow",b))}};mxWindow.prototype.getElement=function(){return this.div};
- mxWindow.prototype.fit=function(){mxUtils.fit(this.div)};mxWindow.prototype.isResizable=function(){return null!=this.resize?"none"!=this.resize.style.display:!1};
- mxWindow.prototype.setResizable=function(a){if(a)if(null==this.resize){this.resize=document.createElement("img");this.resize.style.position="absolute";this.resize.style.bottom="2px";this.resize.style.right="2px";this.resize.setAttribute("src",mxClient.imageBasePath+"/resize.gif");this.resize.style.cursor="nw-resize";var b=null,c=null,d=null,e=null;a=mxUtils.bind(this,function(a){this.activate();b=mxEvent.getClientX(a);c=mxEvent.getClientY(a);d=this.div.offsetWidth;e=this.div.offsetHeight;mxEvent.addGestureListeners(document,
- null,f,g);this.fireEvent(new mxEventObject(mxEvent.RESIZE_START,"event",a));mxEvent.consume(a)});var f=mxUtils.bind(this,function(a){if(null!=b&&null!=c){var f=mxEvent.getClientX(a)-b,g=mxEvent.getClientY(a)-c;this.setSize(d+f,e+g);this.fireEvent(new mxEventObject(mxEvent.RESIZE,"event",a));mxEvent.consume(a)}}),g=mxUtils.bind(this,function(a){null!=b&&null!=c&&(c=b=null,mxEvent.removeGestureListeners(document,null,f,g),this.fireEvent(new mxEventObject(mxEvent.RESIZE_END,"event",a)),mxEvent.consume(a))});
- mxEvent.addGestureListeners(this.resize,a,f,g);this.div.appendChild(this.resize)}else this.resize.style.display="inline";else null!=this.resize&&(this.resize.style.display="none")};
- mxWindow.prototype.setSize=function(a,b){a=Math.max(this.minimumSize.width,a);b=Math.max(this.minimumSize.height,b);mxClient.IS_QUIRKS||(this.div.style.width=a+"px",this.div.style.height=b+"px");this.table.style.width=a+"px";this.table.style.height=b+"px";mxClient.IS_QUIRKS||(this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px")};mxWindow.prototype.setMinimizable=function(a){this.minimize.style.display=a?"":"none"};
- mxWindow.prototype.getMinimumSize=function(){return new mxRectangle(0,0,0,this.title.offsetHeight)};
- mxWindow.prototype.installMinimizeHandler=function(){this.minimize=document.createElement("img");this.minimize.setAttribute("src",this.minimizeImage);this.minimize.setAttribute("title","Minimize");this.minimize.style.cursor="pointer";this.minimize.style.marginLeft="2px";this.minimize.style.display="none";this.buttons.appendChild(this.minimize);var a=!1,b=null,c=null,d=mxUtils.bind(this,function(d){this.activate();if(a)a=!1,this.minimize.setAttribute("src",this.minimizeImage),this.minimize.setAttribute("title",
- "Minimize"),this.contentWrapper.style.display="",this.maximize.style.display=b,mxClient.IS_QUIRKS||(this.div.style.height=c),this.table.style.height=c,null!=this.resize&&(this.resize.style.visibility=""),this.fireEvent(new mxEventObject(mxEvent.NORMALIZE,"event",d));else{a=!0;this.minimize.setAttribute("src",this.normalizeImage);this.minimize.setAttribute("title","Normalize");this.contentWrapper.style.display="none";b=this.maximize.style.display;this.maximize.style.display="none";c=this.table.style.height;
- var e=this.getMinimumSize();0<e.height&&(mxClient.IS_QUIRKS||(this.div.style.height=e.height+"px"),this.table.style.height=e.height+"px");0<e.width&&(mxClient.IS_QUIRKS||(this.div.style.width=e.width+"px"),this.table.style.width=e.width+"px");null!=this.resize&&(this.resize.style.visibility="hidden");this.fireEvent(new mxEventObject(mxEvent.MINIMIZE,"event",d))}mxEvent.consume(d)});mxEvent.addGestureListeners(this.minimize,d)};
- mxWindow.prototype.setMaximizable=function(a){this.maximize.style.display=a?"":"none"};
- mxWindow.prototype.installMaximizeHandler=function(){this.maximize=document.createElement("img");this.maximize.setAttribute("src",this.maximizeImage);this.maximize.setAttribute("title","Maximize");this.maximize.style.cursor="default";this.maximize.style.marginLeft="2px";this.maximize.style.cursor="pointer";this.maximize.style.display="none";this.buttons.appendChild(this.maximize);var a=!1,b=null,c=null,d=null,e=null,f=null,g=mxUtils.bind(this,function(g){this.activate();if("none"!=this.maximize.style.display){if(a)a=
- !1,this.maximize.setAttribute("src",this.maximizeImage),this.maximize.setAttribute("title","Maximize"),this.contentWrapper.style.display="",this.minimize.style.display=f,this.div.style.left=b+"px",this.div.style.top=c+"px",mxClient.IS_QUIRKS||(this.div.style.height=d,this.div.style.width=e,k=mxUtils.getCurrentStyle(this.contentWrapper),"auto"!=k.overflow&&null==this.resize)||(this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px"),this.table.style.height=
- d,this.table.style.width=e,null!=this.resize&&(this.resize.style.visibility=""),this.fireEvent(new mxEventObject(mxEvent.NORMALIZE,"event",g));else{a=!0;this.maximize.setAttribute("src",this.normalizeImage);this.maximize.setAttribute("title","Normalize");this.contentWrapper.style.display="";f=this.minimize.style.display;this.minimize.style.display="none";b=parseInt(this.div.style.left);c=parseInt(this.div.style.top);d=this.table.style.height;e=this.table.style.width;this.div.style.left="0px";this.div.style.top=
- "0px";k=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0);mxClient.IS_QUIRKS||(this.div.style.width=document.body.clientWidth-2+"px",this.div.style.height=k-2+"px");this.table.style.width=document.body.clientWidth-2+"px";this.table.style.height=k-2+"px";null!=this.resize&&(this.resize.style.visibility="hidden");if(!mxClient.IS_QUIRKS){var k=mxUtils.getCurrentStyle(this.contentWrapper);if("auto"==k.overflow||null!=this.resize)this.contentWrapper.style.height=this.div.offsetHeight-
- this.title.offsetHeight-this.contentHeightCorrection+"px"}this.fireEvent(new mxEventObject(mxEvent.MAXIMIZE,"event",g))}mxEvent.consume(g)}});mxEvent.addGestureListeners(this.maximize,g);mxEvent.addListener(this.title,"dblclick",g)};
- mxWindow.prototype.installMoveHandler=function(){this.title.style.cursor="move";mxEvent.addGestureListeners(this.title,mxUtils.bind(this,function(a){var b=mxEvent.getClientX(a),c=mxEvent.getClientY(a),d=this.getX(),e=this.getY(),f=mxUtils.bind(this,function(a){var f=mxEvent.getClientX(a)-b,g=mxEvent.getClientY(a)-c;this.setLocation(d+f,e+g);this.fireEvent(new mxEventObject(mxEvent.MOVE,"event",a));mxEvent.consume(a)}),g=mxUtils.bind(this,function(a){mxEvent.removeGestureListeners(document,null,f,
- g);this.fireEvent(new mxEventObject(mxEvent.MOVE_END,"event",a));mxEvent.consume(a)});mxEvent.addGestureListeners(document,null,f,g);this.fireEvent(new mxEventObject(mxEvent.MOVE_START,"event",a));mxEvent.consume(a)}));mxClient.IS_POINTER&&(this.title.style.touchAction="none")};mxWindow.prototype.setLocation=function(a,b){this.div.style.left=a+"px";this.div.style.top=b+"px"};mxWindow.prototype.getX=function(){return parseInt(this.div.style.left)};mxWindow.prototype.getY=function(){return parseInt(this.div.style.top)};
- mxWindow.prototype.installCloseHandler=function(){this.closeImg=document.createElement("img");this.closeImg.setAttribute("src",this.closeImage);this.closeImg.setAttribute("title","Close");this.closeImg.style.marginLeft="2px";this.closeImg.style.cursor="pointer";this.closeImg.style.display="none";this.buttons.appendChild(this.closeImg);mxEvent.addGestureListeners(this.closeImg,mxUtils.bind(this,function(a){this.fireEvent(new mxEventObject(mxEvent.CLOSE,"event",a));this.destroyOnClose?this.destroy():
- this.setVisible(!1);mxEvent.consume(a)}))};mxWindow.prototype.setImage=function(a){this.image=document.createElement("img");this.image.setAttribute("src",a);this.image.setAttribute("align","left");this.image.style.marginRight="4px";this.image.style.marginLeft="0px";this.image.style.marginTop="-2px";this.title.insertBefore(this.image,this.title.firstChild)};mxWindow.prototype.setClosable=function(a){this.closeImg.style.display=a?"":"none"};
- mxWindow.prototype.isVisible=function(){return null!=this.div?"none"!=this.div.style.display:!1};mxWindow.prototype.setVisible=function(a){null!=this.div&&this.isVisible()!=a&&(a?this.show():this.hide())};
- mxWindow.prototype.show=function(){this.div.style.display="";this.activate();var a=mxUtils.getCurrentStyle(this.contentWrapper);mxClient.IS_QUIRKS||"auto"!=a.overflow&&null==this.resize||(this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px");this.fireEvent(new mxEventObject(mxEvent.SHOW))};mxWindow.prototype.hide=function(){this.div.style.display="none";this.fireEvent(new mxEventObject(mxEvent.HIDE))};
- mxWindow.prototype.destroy=function(){this.fireEvent(new mxEventObject(mxEvent.DESTROY));null!=this.div&&(mxEvent.release(this.div),this.div.parentNode.removeChild(this.div),this.div=null);this.contentWrapper=this.content=this.title=null};function mxForm(a){this.table=document.createElement("table");this.table.className=a;this.body=document.createElement("tbody");this.table.appendChild(this.body)}mxForm.prototype.table=null;mxForm.prototype.body=!1;mxForm.prototype.getTable=function(){return this.table};
- mxForm.prototype.addButtons=function(a,b){var c=document.createElement("tr"),d=document.createElement("td");c.appendChild(d);var d=document.createElement("td"),e=document.createElement("button");mxUtils.write(e,mxResources.get("ok")||"OK");d.appendChild(e);mxEvent.addListener(e,"click",function(){a()});e=document.createElement("button");mxUtils.write(e,mxResources.get("cancel")||"Cancel");d.appendChild(e);mxEvent.addListener(e,"click",function(){b()});c.appendChild(d);this.body.appendChild(c)};
- mxForm.prototype.addText=function(a,b,c){var d=document.createElement("input");d.setAttribute("type",c||"text");d.value=b;return this.addField(a,d)};mxForm.prototype.addCheckbox=function(a,b){var c=document.createElement("input");c.setAttribute("type","checkbox");this.addField(a,c);b&&(c.checked=!0);return c};mxForm.prototype.addTextarea=function(a,b,c){var d=document.createElement("textarea");mxClient.IS_NS&&c--;d.setAttribute("rows",c||2);d.value=b;return this.addField(a,d)};
- mxForm.prototype.addCombo=function(a,b,c){var d=document.createElement("select");null!=c&&d.setAttribute("size",c);b&&d.setAttribute("multiple","true");return this.addField(a,d)};mxForm.prototype.addOption=function(a,b,c,d){var e=document.createElement("option");mxUtils.writeln(e,b);e.setAttribute("value",c);d&&e.setAttribute("selected",d);a.appendChild(e)};
- mxForm.prototype.addField=function(a,b){var c=document.createElement("tr"),d=document.createElement("td");mxUtils.write(d,a);c.appendChild(d);d=document.createElement("td");d.appendChild(b);c.appendChild(d);this.body.appendChild(c);return b};function mxImage(a,b,c){this.src=a;this.width=b;this.height=c}mxImage.prototype.src=null;mxImage.prototype.width=null;mxImage.prototype.height=null;
- function mxDivResizer(a,b){if("div"==a.nodeName.toLowerCase()){null==b&&(b=window);this.div=a;var c=mxUtils.getCurrentStyle(a);null!=c&&(this.resizeWidth="auto"==c.width,this.resizeHeight="auto"==c.height);mxEvent.addListener(b,"resize",mxUtils.bind(this,function(a){this.handlingResize||(this.handlingResize=!0,this.resize(),this.handlingResize=!1)}));this.resize()}}mxDivResizer.prototype.resizeWidth=!0;mxDivResizer.prototype.resizeHeight=!0;mxDivResizer.prototype.handlingResize=!1;
- mxDivResizer.prototype.resize=function(){var a=this.getDocumentWidth(),b=this.getDocumentHeight(),c=parseInt(this.div.style.left),d=parseInt(this.div.style.right),e=parseInt(this.div.style.top),f=parseInt(this.div.style.bottom);this.resizeWidth&&!isNaN(c)&&!isNaN(d)&&0<=c&&0<=d&&0<a-d-c&&(this.div.style.width=a-d-c+"px");this.resizeHeight&&!isNaN(e)&&!isNaN(f)&&0<=e&&0<=f&&0<b-e-f&&(this.div.style.height=b-e-f+"px")};mxDivResizer.prototype.getDocumentWidth=function(){return document.body.clientWidth};
- mxDivResizer.prototype.getDocumentHeight=function(){return document.body.clientHeight};function mxDragSource(a,b){this.element=a;this.dropHandler=b;mxEvent.addGestureListeners(a,mxUtils.bind(this,function(a){this.mouseDown(a)}));mxEvent.addListener(a,"dragstart",function(a){mxEvent.consume(a)});this.eventConsumer=function(a,b){var c=b.getProperty("eventName"),d=b.getProperty("event");c!=mxEvent.MOUSE_DOWN&&d.consume()}}mxDragSource.prototype.element=null;mxDragSource.prototype.dropHandler=null;
- mxDragSource.prototype.dragOffset=null;mxDragSource.prototype.dragElement=null;mxDragSource.prototype.previewElement=null;mxDragSource.prototype.enabled=!0;mxDragSource.prototype.currentGraph=null;mxDragSource.prototype.currentDropTarget=null;mxDragSource.prototype.currentPoint=null;mxDragSource.prototype.currentGuide=null;mxDragSource.prototype.currentHighlight=null;mxDragSource.prototype.autoscroll=!0;mxDragSource.prototype.guidesEnabled=!0;mxDragSource.prototype.gridEnabled=!0;
- mxDragSource.prototype.highlightDropTargets=!0;mxDragSource.prototype.dragElementZIndex=100;mxDragSource.prototype.dragElementOpacity=70;mxDragSource.prototype.isEnabled=function(){return this.enabled};mxDragSource.prototype.setEnabled=function(a){this.enabled=a};mxDragSource.prototype.isGuidesEnabled=function(){return this.guidesEnabled};mxDragSource.prototype.setGuidesEnabled=function(a){this.guidesEnabled=a};mxDragSource.prototype.isGridEnabled=function(){return this.gridEnabled};
- mxDragSource.prototype.setGridEnabled=function(a){this.gridEnabled=a};mxDragSource.prototype.getGraphForEvent=function(a){return null};mxDragSource.prototype.getDropTarget=function(a,b,c,d){return a.getCellAt(b,c)};mxDragSource.prototype.createDragElement=function(a){return this.element.cloneNode(!0)};mxDragSource.prototype.createPreviewElement=function(a){return null};mxDragSource.prototype.isActive=function(){return null!=this.mouseMoveHandler};
- mxDragSource.prototype.reset=function(){null!=this.currentGraph&&(this.dragExit(this.currentGraph),this.currentGraph=null);this.removeDragElement();this.removeListeners();this.stopDrag()};
- mxDragSource.prototype.mouseDown=function(a){this.enabled&&!mxEvent.isConsumed(a)&&null==this.mouseMoveHandler&&(this.startDrag(a),this.mouseMoveHandler=mxUtils.bind(this,this.mouseMove),this.mouseUpHandler=mxUtils.bind(this,this.mouseUp),mxEvent.addGestureListeners(document,null,this.mouseMoveHandler,this.mouseUpHandler),mxClient.IS_TOUCH&&!mxEvent.isMouseEvent(a)&&(this.eventSource=mxEvent.getSource(a),mxEvent.addGestureListeners(this.eventSource,null,this.mouseMoveHandler,this.mouseUpHandler)))};
- mxDragSource.prototype.startDrag=function(a){this.dragElement=this.createDragElement(a);this.dragElement.style.position="absolute";this.dragElement.style.zIndex=this.dragElementZIndex;mxUtils.setOpacity(this.dragElement,this.dragElementOpacity)};mxDragSource.prototype.stopDrag=function(){this.removeDragElement()};
- mxDragSource.prototype.removeDragElement=function(){null!=this.dragElement&&(null!=this.dragElement.parentNode&&this.dragElement.parentNode.removeChild(this.dragElement),this.dragElement=null)};mxDragSource.prototype.graphContainsEvent=function(a,b){var c=mxEvent.getClientX(b),d=mxEvent.getClientY(b),e=mxUtils.getOffset(a.container),f=mxUtils.getScrollOrigin();return c>=e.x-f.x&&d>=e.y-f.y&&c<=e.x-f.x+a.container.offsetWidth&&d<=e.y-f.y+a.container.offsetHeight};
- mxDragSource.prototype.mouseMove=function(a){var b=this.getGraphForEvent(a);null==b||this.graphContainsEvent(b,a)||(b=null);b!=this.currentGraph&&(null!=this.currentGraph&&this.dragExit(this.currentGraph,a),this.currentGraph=b,null!=this.currentGraph&&this.dragEnter(this.currentGraph,a));null!=this.currentGraph&&this.dragOver(this.currentGraph,a);if(null==this.dragElement||null!=this.previewElement&&"visible"==this.previewElement.style.visibility)null!=this.dragElement&&(this.dragElement.style.visibility=
- "hidden");else{var b=mxEvent.getClientX(a),c=mxEvent.getClientY(a);null==this.dragElement.parentNode&&document.body.appendChild(this.dragElement);this.dragElement.style.visibility="visible";null!=this.dragOffset&&(b+=this.dragOffset.x,c+=this.dragOffset.y);var d=mxUtils.getDocumentScrollOrigin(document);this.dragElement.style.left=b+d.x+"px";this.dragElement.style.top=c+d.y+"px"}mxEvent.consume(a)};
- mxDragSource.prototype.mouseUp=function(a){if(null!=this.currentGraph){if(null!=this.currentPoint&&(null==this.previewElement||"hidden"!=this.previewElement.style.visibility)){var b=this.currentGraph.view.scale,c=this.currentGraph.view.translate;this.drop(this.currentGraph,a,this.currentDropTarget,this.currentPoint.x/b-c.x,this.currentPoint.y/b-c.y)}this.dragExit(this.currentGraph);this.currentGraph=null}this.stopDrag();this.removeListeners();mxEvent.consume(a)};
- mxDragSource.prototype.removeListeners=function(){null!=this.eventSource&&(mxEvent.removeGestureListeners(this.eventSource,null,this.mouseMoveHandler,this.mouseUpHandler),this.eventSource=null);mxEvent.removeGestureListeners(document,null,this.mouseMoveHandler,this.mouseUpHandler);this.mouseUpHandler=this.mouseMoveHandler=null};
- mxDragSource.prototype.dragEnter=function(a,b){a.isMouseDown=!0;a.isMouseTrigger=mxEvent.isMouseEvent(b);this.previewElement=this.createPreviewElement(a);this.isGuidesEnabled()&&null!=this.previewElement&&(this.currentGuide=new mxGuide(a,a.graphHandler.getGuideStates()));this.highlightDropTargets&&(this.currentHighlight=new mxCellHighlight(a,mxConstants.DROP_TARGET_COLOR));a.addListener(mxEvent.FIRE_MOUSE_EVENT,this.eventConsumer)};
- mxDragSource.prototype.dragExit=function(a,b){this.currentPoint=this.currentDropTarget=null;a.isMouseDown=!1;a.removeListener(this.eventConsumer);null!=this.previewElement&&(null!=this.previewElement.parentNode&&this.previewElement.parentNode.removeChild(this.previewElement),this.previewElement=null);null!=this.currentGuide&&(this.currentGuide.destroy(),this.currentGuide=null);null!=this.currentHighlight&&(this.currentHighlight.destroy(),this.currentHighlight=null)};
- mxDragSource.prototype.dragOver=function(a,b){var c=mxUtils.getOffset(a.container),d=mxUtils.getScrollOrigin(a.container),e=mxEvent.getClientX(b)-c.x+d.x-a.panDx,c=mxEvent.getClientY(b)-c.y+d.y-a.panDy;a.autoScroll&&(null==this.autoscroll||this.autoscroll)&&a.scrollPointToVisible(e,c,a.autoExtend);null!=this.currentHighlight&&a.isDropEnabled()&&(this.currentDropTarget=this.getDropTarget(a,e,c,b),d=a.getView().getState(this.currentDropTarget),this.currentHighlight.highlight(d));if(null!=this.previewElement){null==
- this.previewElement.parentNode&&(a.container.appendChild(this.previewElement),this.previewElement.style.zIndex="3",this.previewElement.style.position="absolute");var d=this.isGridEnabled()&&a.isGridEnabledEvent(b),f=!0;if(null!=this.currentGuide&&this.currentGuide.isEnabledForEvent(b))var f=parseInt(this.previewElement.style.width),g=parseInt(this.previewElement.style.height),f=new mxRectangle(0,0,f,g),c=new mxPoint(e,c),c=this.currentGuide.move(f,c,d),f=!1,e=c.x,c=c.y;else if(d)var d=a.view.scale,
- g=a.view.translate,k=a.gridSize/2,e=(a.snap(e/d-g.x-k)+g.x)*d,c=(a.snap(c/d-g.y-k)+g.y)*d;null!=this.currentGuide&&f&&this.currentGuide.hide();null!=this.previewOffset&&(e+=this.previewOffset.x,c+=this.previewOffset.y);this.previewElement.style.left=Math.round(e)+"px";this.previewElement.style.top=Math.round(c)+"px";this.previewElement.style.visibility="visible"}this.currentPoint=new mxPoint(e,c)};
- mxDragSource.prototype.drop=function(a,b,c,d,e){this.dropHandler(a,b,c,d,e);"hidden"!=a.container.style.visibility&&a.container.focus()};function mxToolbar(a){this.container=a}mxToolbar.prototype=new mxEventSource;mxToolbar.prototype.constructor=mxToolbar;mxToolbar.prototype.container=null;mxToolbar.prototype.enabled=!0;mxToolbar.prototype.noReset=!1;mxToolbar.prototype.updateDefaultMode=!0;
- mxToolbar.prototype.addItem=function(a,b,c,d,e,f){var g=document.createElement(null!=b?"img":"button"),k=e||(null!=f?"mxToolbarMode":"mxToolbarItem");g.className=k;g.setAttribute("src",b);null!=a&&(null!=b?g.setAttribute("title",a):mxUtils.write(g,a));this.container.appendChild(g);null!=c&&(mxEvent.addListener(g,"click",c),mxClient.IS_TOUCH&&mxEvent.addListener(g,"touchend",c));a=mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",b):g.style.backgroundColor=""});mxEvent.addGestureListeners(g,
- mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",d):g.style.backgroundColor="gray";if(null!=f){null==this.menu&&(this.menu=new mxPopupMenu,this.menu.init());var b=this.currentImg;this.menu.isMenuShowing()&&this.menu.hideMenu();b!=g&&(this.currentImg=g,this.menu.factoryMethod=f,b=new mxPoint(g.offsetLeft,g.offsetTop+g.offsetHeight),this.menu.popup(b.x,b.y,null,a),this.menu.isMenuShowing()&&(g.className=k+"Selected",this.menu.hideMenu=function(){mxPopupMenu.prototype.hideMenu.apply(this);
- g.className=k;this.currentImg=null}))}}),null,a);mxEvent.addListener(g,"mouseout",a);return g};mxToolbar.prototype.addCombo=function(a){var b=document.createElement("div");b.style.display="inline";b.className="mxToolbarComboContainer";var c=document.createElement("select");c.className=a||"mxToolbarCombo";b.appendChild(c);this.container.appendChild(b);return c};
- mxToolbar.prototype.addActionCombo=function(a,b){var c=document.createElement("select");c.className=b||"mxToolbarCombo";this.addOption(c,a,null);mxEvent.addListener(c,"change",function(a){var b=c.options[c.selectedIndex];c.selectedIndex=0;null!=b.funct&&b.funct(a)});this.container.appendChild(c);return c};mxToolbar.prototype.addOption=function(a,b,c){var d=document.createElement("option");mxUtils.writeln(d,b);"function"==typeof c?d.funct=c:d.setAttribute("value",c);a.appendChild(d);return d};
- mxToolbar.prototype.addSwitchMode=function(a,b,c,d,e){var f=document.createElement("img");f.initialClassName=e||"mxToolbarMode";f.className=f.initialClassName;f.setAttribute("src",b);f.altIcon=d;null!=a&&f.setAttribute("title",a);mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){a=this.selectedMode.altIcon;null!=a?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",a)):this.selectedMode.className=this.selectedMode.initialClassName;this.updateDefaultMode&&
- (this.defaultMode=f);this.selectedMode=f;a=f.altIcon;null!=a?(f.altIcon=f.getAttribute("src"),f.setAttribute("src",a)):f.className=f.initialClassName+"Selected";this.fireEvent(new mxEventObject(mxEvent.SELECT));c()}));this.container.appendChild(f);null==this.defaultMode&&(this.defaultMode=f,this.selectMode(f),c());return f};
- mxToolbar.prototype.addMode=function(a,b,c,d,e,f){f=null!=f?f:!0;var g=document.createElement(null!=b?"img":"button");g.initialClassName=e||"mxToolbarMode";g.className=g.initialClassName;g.setAttribute("src",b);g.altIcon=d;null!=a&&g.setAttribute("title",a);this.enabled&&f&&(mxEvent.addListener(g,"click",mxUtils.bind(this,function(a){this.selectMode(g,c);this.noReset=!1})),mxEvent.addListener(g,"dblclick",mxUtils.bind(this,function(a){this.selectMode(g,c);this.noReset=!0})),null==this.defaultMode&&
- (this.defaultMode=g,this.defaultFunction=c,this.selectMode(g,c)));this.container.appendChild(g);return g};
- mxToolbar.prototype.selectMode=function(a,b){if(this.selectedMode!=a){if(null!=this.selectedMode){var c=this.selectedMode.altIcon;null!=c?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",c)):this.selectedMode.className=this.selectedMode.initialClassName}this.selectedMode=a;c=this.selectedMode.altIcon;null!=c?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",c)):this.selectedMode.className=this.selectedMode.initialClassName+
- "Selected";this.fireEvent(new mxEventObject(mxEvent.SELECT,"function",b))}};mxToolbar.prototype.resetMode=function(a){!a&&this.noReset||this.selectedMode==this.defaultMode||this.selectMode(this.defaultMode,this.defaultFunction)};mxToolbar.prototype.addSeparator=function(a){return this.addItem(null,a,null)};mxToolbar.prototype.addBreak=function(){mxUtils.br(this.container)};
- mxToolbar.prototype.addLine=function(){var a=document.createElement("hr");a.style.marginRight="6px";a.setAttribute("size","1");this.container.appendChild(a)};mxToolbar.prototype.destroy=function(){mxEvent.release(this.container);this.selectedMode=this.defaultFunction=this.defaultMode=this.container=null;null!=this.menu&&this.menu.destroy()};function mxUndoableEdit(a,b){this.source=a;this.changes=[];this.significant=null!=b?b:!0}mxUndoableEdit.prototype.source=null;
- mxUndoableEdit.prototype.changes=null;mxUndoableEdit.prototype.significant=null;mxUndoableEdit.prototype.undone=!1;mxUndoableEdit.prototype.redone=!1;mxUndoableEdit.prototype.isEmpty=function(){return 0==this.changes.length};mxUndoableEdit.prototype.isSignificant=function(){return this.significant};mxUndoableEdit.prototype.add=function(a){this.changes.push(a)};mxUndoableEdit.prototype.notify=function(){};mxUndoableEdit.prototype.die=function(){};
- mxUndoableEdit.prototype.undo=function(){if(!this.undone){this.source.fireEvent(new mxEventObject(mxEvent.START_EDIT));for(var a=this.changes.length-1;0<=a;a--){var b=this.changes[a];null!=b.execute?b.execute():null!=b.undo&&b.undo();this.source.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",b))}this.undone=!0;this.redone=!1;this.source.fireEvent(new mxEventObject(mxEvent.END_EDIT))}this.notify()};
- mxUndoableEdit.prototype.redo=function(){if(!this.redone){this.source.fireEvent(new mxEventObject(mxEvent.START_EDIT));for(var a=this.changes.length,b=0;b<a;b++){var c=this.changes[b];null!=c.execute?c.execute():null!=c.redo&&c.redo();this.source.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",c))}this.undone=!1;this.redone=!0;this.source.fireEvent(new mxEventObject(mxEvent.END_EDIT))}this.notify()};function mxUndoManager(a){this.size=null!=a?a:100;this.clear()}mxUndoManager.prototype=new mxEventSource;
- mxUndoManager.prototype.constructor=mxUndoManager;mxUndoManager.prototype.size=null;mxUndoManager.prototype.history=null;mxUndoManager.prototype.indexOfNextAdd=0;mxUndoManager.prototype.isEmpty=function(){return 0==this.history.length};mxUndoManager.prototype.clear=function(){this.history=[];this.indexOfNextAdd=0;this.fireEvent(new mxEventObject(mxEvent.CLEAR))};mxUndoManager.prototype.canUndo=function(){return 0<this.indexOfNextAdd};
- mxUndoManager.prototype.undo=function(){for(;0<this.indexOfNextAdd;){var a=this.history[--this.indexOfNextAdd];a.undo();if(a.isSignificant()){this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",a));break}}};mxUndoManager.prototype.canRedo=function(){return this.indexOfNextAdd<this.history.length};
- mxUndoManager.prototype.redo=function(){for(var a=this.history.length;this.indexOfNextAdd<a;){var b=this.history[this.indexOfNextAdd++];b.redo();if(b.isSignificant()){this.fireEvent(new mxEventObject(mxEvent.REDO,"edit",b));break}}};mxUndoManager.prototype.undoableEditHappened=function(a){this.trim();0<this.size&&this.size==this.history.length&&this.history.shift();this.history.push(a);this.indexOfNextAdd=this.history.length;this.fireEvent(new mxEventObject(mxEvent.ADD,"edit",a))};
- mxUndoManager.prototype.trim=function(){if(this.history.length>this.indexOfNextAdd)for(var a=this.history.splice(this.indexOfNextAdd,this.history.length-this.indexOfNextAdd),b=0;b<a.length;b++)a[b].die()};var mxUrlConverter=function(){};mxUrlConverter.prototype.enabled=!0;mxUrlConverter.prototype.baseUrl=null;mxUrlConverter.prototype.baseDomain=null;
- mxUrlConverter.prototype.updateBaseUrl=function(){this.baseDomain=location.protocol+"//"+location.host;this.baseUrl=this.baseDomain+location.pathname;var a=this.baseUrl.lastIndexOf("/");0<a&&(this.baseUrl=this.baseUrl.substring(0,a+1))};mxUrlConverter.prototype.isEnabled=function(){return this.enabled};mxUrlConverter.prototype.setEnabled=function(a){this.enabled=a};mxUrlConverter.prototype.getBaseUrl=function(){return this.baseUrl};mxUrlConverter.prototype.setBaseUrl=function(a){this.baseUrl=a};
- mxUrlConverter.prototype.getBaseDomain=function(){return this.baseDomain};mxUrlConverter.prototype.setBaseDomain=function(a){this.baseDomain=a};mxUrlConverter.prototype.isRelativeUrl=function(a){return"//"!=a.substring(0,2)&&"http://"!=a.substring(0,7)&&"https://"!=a.substring(0,8)&&"data:image"!=a.substring(0,10)};
- mxUrlConverter.prototype.convert=function(a){this.isEnabled()&&this.isRelativeUrl(a)&&(null==this.getBaseUrl()&&this.updateBaseUrl(),a="/"==a.charAt(0)?this.getBaseDomain()+a:this.getBaseUrl()+a);return a};
- function mxPanningManager(a){this.thread=null;this.active=!1;this.dy=this.dx=this.t0y=this.t0x=this.tdy=this.tdx=0;this.scrollbars=!1;this.scrollTop=this.scrollLeft=0;this.mouseListener={mouseDown:function(a,b){},mouseMove:function(a,b){},mouseUp:mxUtils.bind(this,function(a,b){this.active&&this.stop()})};a.addMouseListener(this.mouseListener);mxEvent.addListener(document,"mouseup",mxUtils.bind(this,function(){this.active&&this.stop()}));var b=mxUtils.bind(this,function(){this.scrollbars=mxUtils.hasScrollbars(a.container);
- this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop;return window.setInterval(mxUtils.bind(this,function(){this.tdx-=this.dx;this.tdy-=this.dy;this.scrollbars?(a.panGraph(-a.container.scrollLeft-Math.ceil(this.dx),-a.container.scrollTop-Math.ceil(this.dy)),a.panDx=this.scrollLeft-a.container.scrollLeft,a.panDy=this.scrollTop-a.container.scrollTop,a.fireEvent(new mxEventObject(mxEvent.PAN))):a.panGraph(this.getDx(),this.getDy())}),this.delay)});this.isActive=function(){return active};
- this.getDx=function(){return Math.round(this.tdx)};this.getDy=function(){return Math.round(this.tdy)};this.start=function(){this.t0x=a.view.translate.x;this.t0y=a.view.translate.y;this.active=!0};this.panTo=function(c,d,e,f){this.active||this.start();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop;var g=a.container;this.dx=c+(null!=e?e:0)-g.scrollLeft-g.clientWidth;this.dx=0>this.dx&&Math.abs(this.dx)<this.border?this.border+this.dx:this.handleMouseOut?Math.max(this.dx,
- 0):0;0==this.dx&&(this.dx=c-g.scrollLeft,this.dx=0<this.dx&&this.dx<this.border?this.dx-this.border:this.handleMouseOut?Math.min(0,this.dx):0);this.dy=d+(null!=f?f:0)-g.scrollTop-g.clientHeight;this.dy=0>this.dy&&Math.abs(this.dy)<this.border?this.border+this.dy:this.handleMouseOut?Math.max(this.dy,0):0;0==this.dy&&(this.dy=d-g.scrollTop,this.dy=0<this.dy&&this.dy<this.border?this.dy-this.border:this.handleMouseOut?Math.min(0,this.dy):0);0!=this.dx||0!=this.dy?(this.dx*=this.damper,this.dy*=this.damper,
- null==this.thread&&(this.thread=b())):null!=this.thread&&(window.clearInterval(this.thread),this.thread=null)};this.stop=function(){if(this.active)if(this.active=!1,null!=this.thread&&(window.clearInterval(this.thread),this.thread=null),this.tdy=this.tdx=0,this.scrollbars)a.panDx=0,a.panDy=0,a.fireEvent(new mxEventObject(mxEvent.PAN));else{var b=a.panDx,d=a.panDy;if(0!=b||0!=d)a.panGraph(0,0),a.view.setTranslate(this.t0x+b/a.view.scale,this.t0y+d/a.view.scale)}};this.destroy=function(){a.removeMouseListener(this.mouseListener)}}
- mxPanningManager.prototype.damper=1/6;mxPanningManager.prototype.delay=10;mxPanningManager.prototype.handleMouseOut=!0;mxPanningManager.prototype.border=0;function mxPopupMenu(a){this.factoryMethod=a;null!=a&&this.init()}mxPopupMenu.prototype=new mxEventSource;mxPopupMenu.prototype.constructor=mxPopupMenu;mxPopupMenu.prototype.submenuImage=mxClient.imageBasePath+"/submenu.gif";mxPopupMenu.prototype.zIndex=10006;mxPopupMenu.prototype.factoryMethod=null;mxPopupMenu.prototype.useLeftButtonForPopup=!1;
- mxPopupMenu.prototype.enabled=!0;mxPopupMenu.prototype.itemCount=0;mxPopupMenu.prototype.autoExpand=!1;mxPopupMenu.prototype.smartSeparators=!1;mxPopupMenu.prototype.labels=!0;
- mxPopupMenu.prototype.init=function(){this.table=document.createElement("table");this.table.className="mxPopupMenu";this.tbody=document.createElement("tbody");this.table.appendChild(this.tbody);this.div=document.createElement("div");this.div.className="mxPopupMenu";this.div.style.display="inline";this.div.style.zIndex=this.zIndex;this.div.appendChild(this.table);mxEvent.disableContextMenu(this.div)};mxPopupMenu.prototype.isEnabled=function(){return this.enabled};
- mxPopupMenu.prototype.setEnabled=function(a){this.enabled=a};mxPopupMenu.prototype.isPopupTrigger=function(a){return a.isPopupTrigger()||this.useLeftButtonForPopup&&mxEvent.isLeftMouseButton(a.getEvent())};
- mxPopupMenu.prototype.addItem=function(a,b,c,d,e,f,g){d=d||this;this.itemCount++;d.willAddSeparator&&(d.containsItems&&this.addSeparator(d,!0),d.willAddSeparator=!1);d.containsItems=!0;var k=document.createElement("tr");k.className="mxPopupMenuItem";var l=document.createElement("td");l.className="mxPopupMenuIcon";null!=b?(e=document.createElement("img"),e.src=b,l.appendChild(e)):null!=e&&(b=document.createElement("div"),b.className=e,l.appendChild(b));k.appendChild(l);this.labels&&(l=document.createElement("td"),
- l.className="mxPopupMenuItem"+(null==f||f?"":" mxDisabled"),mxUtils.write(l,a),l.align="left",k.appendChild(l),a=document.createElement("td"),a.className="mxPopupMenuItem"+(null==f||f?"":" mxDisabled"),a.style.paddingRight="6px",a.style.textAlign="right",k.appendChild(a),null==d.div&&this.createSubmenu(d));d.tbody.appendChild(k);if(0!=g&&0!=f){var m=null;mxEvent.addGestureListeners(k,mxUtils.bind(this,function(a){this.eventReceiver=k;d.activeRow!=k&&d.activeRow!=d&&(null!=d.activeRow&&null!=d.activeRow.div.parentNode&&
- this.hideSubmenu(d),null!=k.div&&(this.showSubmenu(d,k),d.activeRow=k));if(mxClient.IS_QUIRKS||8==document.documentMode)m=document.selection.createRange();mxEvent.consume(a)}),mxUtils.bind(this,function(a){d.activeRow!=k&&d.activeRow!=d&&(null!=d.activeRow&&null!=d.activeRow.div.parentNode&&this.hideSubmenu(d),this.autoExpand&&null!=k.div&&(this.showSubmenu(d,k),d.activeRow=k));k.className="mxPopupMenuItemHover"}),mxUtils.bind(this,function(a){if(this.eventReceiver==k){d.activeRow!=k&&this.hideMenu();
- if(null!=m){try{m.select()}catch(p){}m=null}null!=c&&c(a)}this.eventReceiver=null;mxEvent.consume(a)}));mxEvent.addListener(k,"mouseout",mxUtils.bind(this,function(a){k.className="mxPopupMenuItem"}))}return k};mxPopupMenu.prototype.addCheckmark=function(a,b){var c=a.firstChild.nextSibling;c.style.backgroundImage="url('"+b+"')";c.style.backgroundRepeat="no-repeat";c.style.backgroundPosition="2px 50%"};
- mxPopupMenu.prototype.createSubmenu=function(a){a.table=document.createElement("table");a.table.className="mxPopupMenu";a.tbody=document.createElement("tbody");a.table.appendChild(a.tbody);a.div=document.createElement("div");a.div.className="mxPopupMenu";a.div.style.position="absolute";a.div.style.display="inline";a.div.style.zIndex=this.zIndex;a.div.appendChild(a.table);var b=document.createElement("img");b.setAttribute("src",this.submenuImage);td=a.firstChild.nextSibling.nextSibling;td.appendChild(b)};
- mxPopupMenu.prototype.showSubmenu=function(a,b){if(null!=b.div){b.div.style.left=a.div.offsetLeft+b.offsetLeft+b.offsetWidth-1+"px";b.div.style.top=a.div.offsetTop+b.offsetTop+"px";document.body.appendChild(b.div);var c=parseInt(b.div.offsetLeft),d=parseInt(b.div.offsetWidth),e=mxUtils.getDocumentScrollOrigin(document),f=document.documentElement;c+d>e.x+(document.body.clientWidth||f.clientWidth)&&(b.div.style.left=Math.max(0,a.div.offsetLeft-d+(mxClient.IS_IE?6:-6))+"px");mxUtils.fit(b.div)}};
- mxPopupMenu.prototype.addSeparator=function(a,b){a=a||this;if(this.smartSeparators&&!b)a.willAddSeparator=!0;else if(null!=a.tbody){a.willAddSeparator=!1;var c=document.createElement("tr"),d=document.createElement("td");d.className="mxPopupMenuIcon";d.style.padding="0 0 0 0px";c.appendChild(d);d=document.createElement("td");d.style.padding="0 0 0 0px";d.setAttribute("colSpan","2");var e=document.createElement("hr");e.setAttribute("size","1");d.appendChild(e);c.appendChild(d);a.tbody.appendChild(c)}};
- mxPopupMenu.prototype.popup=function(a,b,c,d){if(null!=this.div&&null!=this.tbody&&null!=this.factoryMethod){this.div.style.left=a+"px";for(this.div.style.top=b+"px";null!=this.tbody.firstChild;)mxEvent.release(this.tbody.firstChild),this.tbody.removeChild(this.tbody.firstChild);this.itemCount=0;this.factoryMethod(this,c,d);0<this.itemCount&&(this.showMenu(),this.fireEvent(new mxEventObject(mxEvent.SHOW)))}};
- mxPopupMenu.prototype.isMenuShowing=function(){return null!=this.div&&this.div.parentNode==document.body};mxPopupMenu.prototype.showMenu=function(){9<=document.documentMode&&(this.div.style.filter="none");document.body.appendChild(this.div);mxUtils.fit(this.div)};mxPopupMenu.prototype.hideMenu=function(){null!=this.div&&(null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.hideSubmenu(this),this.containsItems=!1,this.fireEvent(new mxEventObject(mxEvent.HIDE)))};
- mxPopupMenu.prototype.hideSubmenu=function(a){null!=a.activeRow&&(this.hideSubmenu(a.activeRow),null!=a.activeRow.div.parentNode&&a.activeRow.div.parentNode.removeChild(a.activeRow.div),a.activeRow=null)};mxPopupMenu.prototype.destroy=function(){null!=this.div&&(mxEvent.release(this.div),null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.div=null)};
- function mxAutoSaveManager(a){this.changeHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.graphModelChanged(c.getProperty("edit").changes)});this.setGraph(a)}mxAutoSaveManager.prototype=new mxEventSource;mxAutoSaveManager.prototype.constructor=mxAutoSaveManager;mxAutoSaveManager.prototype.graph=null;mxAutoSaveManager.prototype.autoSaveDelay=10;mxAutoSaveManager.prototype.autoSaveThrottle=2;mxAutoSaveManager.prototype.autoSaveThreshold=5;mxAutoSaveManager.prototype.ignoredChanges=0;
- mxAutoSaveManager.prototype.lastSnapshot=0;mxAutoSaveManager.prototype.enabled=!0;mxAutoSaveManager.prototype.changeHandler=null;mxAutoSaveManager.prototype.isEnabled=function(){return this.enabled};mxAutoSaveManager.prototype.setEnabled=function(a){this.enabled=a};mxAutoSaveManager.prototype.setGraph=function(a){null!=this.graph&&this.graph.getModel().removeListener(this.changeHandler);this.graph=a;null!=this.graph&&this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler)};
- mxAutoSaveManager.prototype.save=function(){};mxAutoSaveManager.prototype.graphModelChanged=function(a){a=((new Date).getTime()-this.lastSnapshot)/1E3;a>this.autoSaveDelay||this.ignoredChanges>=this.autoSaveThreshold&&a>this.autoSaveThrottle?(this.save(),this.reset()):this.ignoredChanges++};mxAutoSaveManager.prototype.reset=function(){this.lastSnapshot=(new Date).getTime();this.ignoredChanges=0};mxAutoSaveManager.prototype.destroy=function(){this.setGraph(null)};
- function mxAnimation(a){this.delay=null!=a?a:20}mxAnimation.prototype=new mxEventSource;mxAnimation.prototype.constructor=mxAnimation;mxAnimation.prototype.delay=null;mxAnimation.prototype.thread=null;mxAnimation.prototype.isRunning=function(){return null!=this.thread};mxAnimation.prototype.startAnimation=function(){null==this.thread&&(this.thread=window.setInterval(mxUtils.bind(this,this.updateAnimation),this.delay))};mxAnimation.prototype.updateAnimation=function(){this.fireEvent(new mxEventObject(mxEvent.EXECUTE))};
- mxAnimation.prototype.stopAnimation=function(){null!=this.thread&&(window.clearInterval(this.thread),this.thread=null,this.fireEvent(new mxEventObject(mxEvent.DONE)))};function mxMorphing(a,b,c,d){mxAnimation.call(this,d);this.graph=a;this.steps=null!=b?b:6;this.ease=null!=c?c:1.5}mxMorphing.prototype=new mxAnimation;mxMorphing.prototype.constructor=mxMorphing;mxMorphing.prototype.graph=null;mxMorphing.prototype.steps=null;mxMorphing.prototype.step=0;mxMorphing.prototype.ease=null;
- mxMorphing.prototype.cells=null;mxMorphing.prototype.updateAnimation=function(){var a=new mxCellStatePreview(this.graph);if(null!=this.cells)for(var b=0;b<this.cells.length;b++)this.animateCell(this.cells[b],a,!1);else this.animateCell(this.graph.getModel().getRoot(),a,!0);this.show(a);(a.isEmpty()||this.step++>=this.steps)&&this.stopAnimation()};mxMorphing.prototype.show=function(a){a.show()};
- mxMorphing.prototype.animateCell=function(a,b,c){var d=this.graph.getView().getState(a),e=null;if(null!=d&&(e=this.getDelta(d),this.graph.getModel().isVertex(a)&&(0!=e.x||0!=e.y))){var f=this.graph.view.getTranslate(),g=this.graph.view.getScale();e.x+=f.x*g;e.y+=f.y*g;b.moveState(d,-e.x/this.ease,-e.y/this.ease)}if(c&&!this.stopRecursion(d,e))for(d=this.graph.getModel().getChildCount(a),e=0;e<d;e++)this.animateCell(this.graph.getModel().getChildAt(a,e),b,c)};
- mxMorphing.prototype.stopRecursion=function(a,b){return null!=b&&(0!=b.x||0!=b.y)};mxMorphing.prototype.getDelta=function(a){var b=this.getOriginForCell(a.cell),c=this.graph.getView().getTranslate(),d=this.graph.getView().getScale();return new mxPoint((b.x-(a.x/d-c.x))*d,(b.y-(a.y/d-c.y))*d)};
- mxMorphing.prototype.getOriginForCell=function(a){var b=null;if(null!=a){var c=this.graph.getModel().getParent(a);a=this.graph.getCellGeometry(a);b=this.getOriginForCell(c);null!=a&&(a.relative?(c=this.graph.getCellGeometry(c),null!=c&&(b.x+=a.x*c.width,b.y+=a.y*c.height)):(b.x+=a.x,b.y+=a.y))}null==b&&(b=this.graph.view.getTranslate(),b=new mxPoint(-b.x,-b.y));return b};function mxImageBundle(a){this.images=[];this.alt=null!=a?a:!1}mxImageBundle.prototype.images=null;
- mxImageBundle.prototype.images=null;mxImageBundle.prototype.putImage=function(a,b,c){this.images[a]={value:b,fallback:c}};mxImageBundle.prototype.getImage=function(a){var b=null;null!=a&&(a=this.images[a],null!=a&&(b=this.alt?a.fallback:a.value));return b};function mxImageExport(){}mxImageExport.prototype.includeOverlays=!1;
- mxImageExport.prototype.drawState=function(a,b){null!=a&&(this.visitStatesRecursive(a,b,mxUtils.bind(this,function(){this.drawCellState.apply(this,arguments)})),this.includeOverlays&&this.visitStatesRecursive(a,b,mxUtils.bind(this,function(){this.drawOverlays.apply(this,arguments)})))};
- mxImageExport.prototype.visitStatesRecursive=function(a,b,c){if(null!=a){c(a,b);for(var d=a.view.graph,e=d.model.getChildCount(a.cell),f=0;f<e;f++){var g=d.view.getState(d.model.getChildAt(a.cell,f));this.visitStatesRecursive(g,b,c)}}};mxImageExport.prototype.getLinkForCellState=function(a,b){return null};mxImageExport.prototype.drawCellState=function(a,b){var c=this.getLinkForCellState(a,b);null!=c&&b.setLink(c);this.drawShape(a,b);this.drawText(a,b);null!=c&&b.setLink(null)};
- mxImageExport.prototype.drawShape=function(a,b){a.shape instanceof mxShape&&a.shape.checkBounds()&&(b.save(),a.shape.paint(b),b.restore())};mxImageExport.prototype.drawText=function(a,b){null!=a.text&&a.text.checkBounds()&&(b.save(),a.text.paint(b),b.restore())};mxImageExport.prototype.drawOverlays=function(a,b){null!=a.overlays&&a.overlays.visit(function(a,d){d instanceof mxShape&&d.paint(b)})};function mxAbstractCanvas2D(){this.converter=this.createUrlConverter();this.reset()}
- mxAbstractCanvas2D.prototype.state=null;mxAbstractCanvas2D.prototype.states=null;mxAbstractCanvas2D.prototype.path=null;mxAbstractCanvas2D.prototype.rotateHtml=!0;mxAbstractCanvas2D.prototype.lastX=0;mxAbstractCanvas2D.prototype.lastY=0;mxAbstractCanvas2D.prototype.moveOp="M";mxAbstractCanvas2D.prototype.lineOp="L";mxAbstractCanvas2D.prototype.quadOp="Q";mxAbstractCanvas2D.prototype.curveOp="C";mxAbstractCanvas2D.prototype.closeOp="Z";mxAbstractCanvas2D.prototype.pointerEvents=!1;
- mxAbstractCanvas2D.prototype.createUrlConverter=function(){return new mxUrlConverter};mxAbstractCanvas2D.prototype.reset=function(){this.state=this.createState();this.states=[]};
- mxAbstractCanvas2D.prototype.createState=function(){return{dx:0,dy:0,scale:1,alpha:1,fillAlpha:1,strokeAlpha:1,fillColor:null,gradientFillAlpha:1,gradientColor:null,gradientAlpha:1,gradientDirection:null,strokeColor:null,strokeWidth:1,dashed:!1,dashPattern:"3 3",fixDash:!1,lineCap:"flat",lineJoin:"miter",miterLimit:10,fontColor:"#000000",fontBackgroundColor:null,fontBorderColor:null,fontSize:mxConstants.DEFAULT_FONTSIZE,fontFamily:mxConstants.DEFAULT_FONTFAMILY,fontStyle:0,shadow:!1,shadowColor:mxConstants.SHADOWCOLOR,
- shadowAlpha:mxConstants.SHADOW_OPACITY,shadowDx:mxConstants.SHADOW_OFFSET_X,shadowDy:mxConstants.SHADOW_OFFSET_Y,rotation:0,rotationCx:0,rotationCy:0}};mxAbstractCanvas2D.prototype.format=function(a){return Math.round(parseFloat(a))};
- mxAbstractCanvas2D.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var a=this.state,b=2;b<arguments.length;b+=2)this.lastX=arguments[b-1],this.lastY=arguments[b],this.path.push(this.format((this.lastX+a.dx)*a.scale)),this.path.push(this.format((this.lastY+a.dy)*a.scale))};mxAbstractCanvas2D.prototype.rotatePoint=function(a,b,c,d,e){c*=Math.PI/180;return mxUtils.getRotatedPoint(new mxPoint(a,b),Math.cos(c),Math.sin(c),new mxPoint(d,e))};
- mxAbstractCanvas2D.prototype.save=function(){this.states.push(this.state);this.state=mxUtils.clone(this.state)};mxAbstractCanvas2D.prototype.restore=function(){0<this.states.length&&(this.state=this.states.pop())};mxAbstractCanvas2D.prototype.setLink=function(a){};mxAbstractCanvas2D.prototype.scale=function(a){this.state.scale*=a;this.state.strokeWidth*=a};mxAbstractCanvas2D.prototype.translate=function(a,b){this.state.dx+=a;this.state.dy+=b};mxAbstractCanvas2D.prototype.rotate=function(a,b,c,d,e){};
- mxAbstractCanvas2D.prototype.setAlpha=function(a){this.state.alpha=a};mxAbstractCanvas2D.prototype.setFillAlpha=function(a){this.state.fillAlpha=a};mxAbstractCanvas2D.prototype.setStrokeAlpha=function(a){this.state.strokeAlpha=a};mxAbstractCanvas2D.prototype.setFillColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fillColor=a;this.state.gradientColor=null};
- mxAbstractCanvas2D.prototype.setGradient=function(a,b,c,d,e,f,g,k,l){c=this.state;c.fillColor=a;c.gradientFillAlpha=null!=k?k:1;c.gradientColor=b;c.gradientAlpha=null!=l?l:1;c.gradientDirection=g};mxAbstractCanvas2D.prototype.setStrokeColor=function(a){a==mxConstants.NONE&&(a=null);this.state.strokeColor=a};mxAbstractCanvas2D.prototype.setStrokeWidth=function(a){this.state.strokeWidth=a};mxAbstractCanvas2D.prototype.setDashed=function(a,b){this.state.dashed=a;this.state.fixDash=b};
- mxAbstractCanvas2D.prototype.setDashPattern=function(a){this.state.dashPattern=a};mxAbstractCanvas2D.prototype.setLineCap=function(a){this.state.lineCap=a};mxAbstractCanvas2D.prototype.setLineJoin=function(a){this.state.lineJoin=a};mxAbstractCanvas2D.prototype.setMiterLimit=function(a){this.state.miterLimit=a};mxAbstractCanvas2D.prototype.setFontColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontColor=a};
- mxAbstractCanvas2D.prototype.setFontBackgroundColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBackgroundColor=a};mxAbstractCanvas2D.prototype.setFontBorderColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBorderColor=a};mxAbstractCanvas2D.prototype.setFontSize=function(a){this.state.fontSize=parseFloat(a)};mxAbstractCanvas2D.prototype.setFontFamily=function(a){this.state.fontFamily=a};
- mxAbstractCanvas2D.prototype.setFontStyle=function(a){null==a&&(a=0);this.state.fontStyle=a};mxAbstractCanvas2D.prototype.setShadow=function(a){this.state.shadow=a};mxAbstractCanvas2D.prototype.setShadowColor=function(a){a==mxConstants.NONE&&(a=null);this.state.shadowColor=a};mxAbstractCanvas2D.prototype.setShadowAlpha=function(a){this.state.shadowAlpha=a};mxAbstractCanvas2D.prototype.setShadowOffset=function(a,b){this.state.shadowDx=a;this.state.shadowDy=b};
- mxAbstractCanvas2D.prototype.begin=function(){this.lastY=this.lastX=0;this.path=[]};mxAbstractCanvas2D.prototype.moveTo=function(a,b){this.addOp(this.moveOp,a,b)};mxAbstractCanvas2D.prototype.lineTo=function(a,b){this.addOp(this.lineOp,a,b)};mxAbstractCanvas2D.prototype.quadTo=function(a,b,c,d){this.addOp(this.quadOp,a,b,c,d)};mxAbstractCanvas2D.prototype.curveTo=function(a,b,c,d,e,f){this.addOp(this.curveOp,a,b,c,d,e,f)};
- mxAbstractCanvas2D.prototype.arcTo=function(a,b,c,d,e,f,g){a=mxUtils.arcToCurves(this.lastX,this.lastY,a,b,c,d,e,f,g);if(null!=a)for(b=0;b<a.length;b+=6)this.curveTo(a[b],a[b+1],a[b+2],a[b+3],a[b+4],a[b+5])};mxAbstractCanvas2D.prototype.close=function(a,b,c,d,e,f){this.addOp(this.closeOp)};mxAbstractCanvas2D.prototype.end=function(){};function mxXmlCanvas2D(a){mxAbstractCanvas2D.call(this);this.root=a;this.writeDefaults()}mxUtils.extend(mxXmlCanvas2D,mxAbstractCanvas2D);
- mxXmlCanvas2D.prototype.textEnabled=!0;mxXmlCanvas2D.prototype.compressed=!0;
- mxXmlCanvas2D.prototype.writeDefaults=function(){var a;a=this.createElement("fontfamily");a.setAttribute("family",mxConstants.DEFAULT_FONTFAMILY);this.root.appendChild(a);a=this.createElement("fontsize");a.setAttribute("size",mxConstants.DEFAULT_FONTSIZE);this.root.appendChild(a);a=this.createElement("shadowcolor");a.setAttribute("color",mxConstants.SHADOWCOLOR);this.root.appendChild(a);a=this.createElement("shadowalpha");a.setAttribute("alpha",mxConstants.SHADOW_OPACITY);this.root.appendChild(a);
- a=this.createElement("shadowoffset");a.setAttribute("dx",mxConstants.SHADOW_OFFSET_X);a.setAttribute("dy",mxConstants.SHADOW_OFFSET_Y);this.root.appendChild(a)};mxXmlCanvas2D.prototype.format=function(a){return parseFloat(parseFloat(a).toFixed(2))};mxXmlCanvas2D.prototype.createElement=function(a){return this.root.ownerDocument.createElement(a)};mxXmlCanvas2D.prototype.save=function(){this.compressed&&mxAbstractCanvas2D.prototype.save.apply(this,arguments);this.root.appendChild(this.createElement("save"))};
- mxXmlCanvas2D.prototype.restore=function(){this.compressed&&mxAbstractCanvas2D.prototype.restore.apply(this,arguments);this.root.appendChild(this.createElement("restore"))};mxXmlCanvas2D.prototype.scale=function(a){var b=this.createElement("scale");b.setAttribute("scale",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.translate=function(a,b){var c=this.createElement("translate");c.setAttribute("dx",this.format(a));c.setAttribute("dy",this.format(b));this.root.appendChild(c)};
- mxXmlCanvas2D.prototype.rotate=function(a,b,c,d,e){var f=this.createElement("rotate");if(0!=a||b||c)f.setAttribute("theta",this.format(a)),f.setAttribute("flipH",b?"1":"0"),f.setAttribute("flipV",c?"1":"0"),f.setAttribute("cx",this.format(d)),f.setAttribute("cy",this.format(e)),this.root.appendChild(f)};
- mxXmlCanvas2D.prototype.setAlpha=function(a){if(this.compressed){if(this.state.alpha==a)return;mxAbstractCanvas2D.prototype.setAlpha.apply(this,arguments)}var b=this.createElement("alpha");b.setAttribute("alpha",this.format(a));this.root.appendChild(b)};mxXmlCanvas2D.prototype.setFillAlpha=function(a){if(this.compressed){if(this.state.fillAlpha==a)return;mxAbstractCanvas2D.prototype.setFillAlpha.apply(this,arguments)}var b=this.createElement("fillalpha");b.setAttribute("alpha",this.format(a));this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setStrokeAlpha=function(a){if(this.compressed){if(this.state.strokeAlpha==a)return;mxAbstractCanvas2D.prototype.setStrokeAlpha.apply(this,arguments)}var b=this.createElement("strokealpha");b.setAttribute("alpha",this.format(a));this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setFillColor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fillColor==a)return;mxAbstractCanvas2D.prototype.setFillColor.apply(this,arguments)}var b=this.createElement("fillcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setGradient=function(a,b,c,d,e,f,g,k,l){if(null!=a&&null!=b){mxAbstractCanvas2D.prototype.setGradient.apply(this,arguments);var m=this.createElement("gradient");m.setAttribute("c1",a);m.setAttribute("c2",b);m.setAttribute("x",this.format(c));m.setAttribute("y",this.format(d));m.setAttribute("w",this.format(e));m.setAttribute("h",this.format(f));null!=g&&m.setAttribute("direction",g);null!=k&&m.setAttribute("alpha1",k);null!=l&&m.setAttribute("alpha2",l);this.root.appendChild(m)}};
- mxXmlCanvas2D.prototype.setStrokeColor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.strokeColor==a)return;mxAbstractCanvas2D.prototype.setStrokeColor.apply(this,arguments)}var b=this.createElement("strokecolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setStrokeWidth=function(a){if(this.compressed){if(this.state.strokeWidth==a)return;mxAbstractCanvas2D.prototype.setStrokeWidth.apply(this,arguments)}var b=this.createElement("strokewidth");b.setAttribute("width",this.format(a));this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setDashed=function(a,b){if(this.compressed){if(this.state.dashed==a)return;mxAbstractCanvas2D.prototype.setDashed.apply(this,arguments)}var c=this.createElement("dashed");c.setAttribute("dashed",a?"1":"0");null!=b&&c.setAttribute("fixDash",b?"1":"0");this.root.appendChild(c)};
- mxXmlCanvas2D.prototype.setDashPattern=function(a){if(this.compressed){if(this.state.dashPattern==a)return;mxAbstractCanvas2D.prototype.setDashPattern.apply(this,arguments)}var b=this.createElement("dashpattern");b.setAttribute("pattern",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.setLineCap=function(a){if(this.compressed){if(this.state.lineCap==a)return;mxAbstractCanvas2D.prototype.setLineCap.apply(this,arguments)}var b=this.createElement("linecap");b.setAttribute("cap",a);this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setLineJoin=function(a){if(this.compressed){if(this.state.lineJoin==a)return;mxAbstractCanvas2D.prototype.setLineJoin.apply(this,arguments)}var b=this.createElement("linejoin");b.setAttribute("join",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.setMiterLimit=function(a){if(this.compressed){if(this.state.miterLimit==a)return;mxAbstractCanvas2D.prototype.setMiterLimit.apply(this,arguments)}var b=this.createElement("miterlimit");b.setAttribute("limit",a);this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setFontColor=function(a){if(this.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontColor==a)return;mxAbstractCanvas2D.prototype.setFontColor.apply(this,arguments)}var b=this.createElement("fontcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};
- mxXmlCanvas2D.prototype.setFontBackgroundColor=function(a){if(this.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBackgroundColor==a)return;mxAbstractCanvas2D.prototype.setFontBackgroundColor.apply(this,arguments)}var b=this.createElement("fontbackgroundcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};
- mxXmlCanvas2D.prototype.setFontBorderColor=function(a){if(this.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBorderColor==a)return;mxAbstractCanvas2D.prototype.setFontBorderColor.apply(this,arguments)}var b=this.createElement("fontbordercolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};
- mxXmlCanvas2D.prototype.setFontSize=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontSize==a)return;mxAbstractCanvas2D.prototype.setFontSize.apply(this,arguments)}var b=this.createElement("fontsize");b.setAttribute("size",a);this.root.appendChild(b)}};
- mxXmlCanvas2D.prototype.setFontFamily=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontFamily==a)return;mxAbstractCanvas2D.prototype.setFontFamily.apply(this,arguments)}var b=this.createElement("fontfamily");b.setAttribute("family",a);this.root.appendChild(b)}};
- mxXmlCanvas2D.prototype.setFontStyle=function(a){if(this.textEnabled){null==a&&(a=0);if(this.compressed){if(this.state.fontStyle==a)return;mxAbstractCanvas2D.prototype.setFontStyle.apply(this,arguments)}var b=this.createElement("fontstyle");b.setAttribute("style",a);this.root.appendChild(b)}};
- mxXmlCanvas2D.prototype.setShadow=function(a){if(this.compressed){if(this.state.shadow==a)return;mxAbstractCanvas2D.prototype.setShadow.apply(this,arguments)}var b=this.createElement("shadow");b.setAttribute("enabled",a?"1":"0");this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setShadowColor=function(a){if(this.compressed){a==mxConstants.NONE&&(a=null);if(this.state.shadowColor==a)return;mxAbstractCanvas2D.prototype.setShadowColor.apply(this,arguments)}var b=this.createElement("shadowcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setShadowAlpha=function(a){if(this.compressed){if(this.state.shadowAlpha==a)return;mxAbstractCanvas2D.prototype.setShadowAlpha.apply(this,arguments)}var b=this.createElement("shadowalpha");b.setAttribute("alpha",a);this.root.appendChild(b)};
- mxXmlCanvas2D.prototype.setShadowOffset=function(a,b){if(this.compressed){if(this.state.shadowDx==a&&this.state.shadowDy==b)return;mxAbstractCanvas2D.prototype.setShadowOffset.apply(this,arguments)}var c=this.createElement("shadowoffset");c.setAttribute("dx",a);c.setAttribute("dy",b);this.root.appendChild(c)};
- mxXmlCanvas2D.prototype.rect=function(a,b,c,d){var e=this.createElement("rect");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b));e.setAttribute("w",this.format(c));e.setAttribute("h",this.format(d));this.root.appendChild(e)};
- mxXmlCanvas2D.prototype.roundrect=function(a,b,c,d,e,f){var g=this.createElement("roundrect");g.setAttribute("x",this.format(a));g.setAttribute("y",this.format(b));g.setAttribute("w",this.format(c));g.setAttribute("h",this.format(d));g.setAttribute("dx",this.format(e));g.setAttribute("dy",this.format(f));this.root.appendChild(g)};
- mxXmlCanvas2D.prototype.ellipse=function(a,b,c,d){var e=this.createElement("ellipse");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b));e.setAttribute("w",this.format(c));e.setAttribute("h",this.format(d));this.root.appendChild(e)};
- mxXmlCanvas2D.prototype.image=function(a,b,c,d,e,f,g,k){e=this.converter.convert(e);var l=this.createElement("image");l.setAttribute("x",this.format(a));l.setAttribute("y",this.format(b));l.setAttribute("w",this.format(c));l.setAttribute("h",this.format(d));l.setAttribute("src",e);l.setAttribute("aspect",f?"1":"0");l.setAttribute("flipH",g?"1":"0");l.setAttribute("flipV",k?"1":"0");this.root.appendChild(l)};
- mxXmlCanvas2D.prototype.begin=function(){this.root.appendChild(this.createElement("begin"));this.lastY=this.lastX=0};mxXmlCanvas2D.prototype.moveTo=function(a,b){var c=this.createElement("move");c.setAttribute("x",this.format(a));c.setAttribute("y",this.format(b));this.root.appendChild(c);this.lastX=a;this.lastY=b};
- mxXmlCanvas2D.prototype.lineTo=function(a,b){var c=this.createElement("line");c.setAttribute("x",this.format(a));c.setAttribute("y",this.format(b));this.root.appendChild(c);this.lastX=a;this.lastY=b};mxXmlCanvas2D.prototype.quadTo=function(a,b,c,d){var e=this.createElement("quad");e.setAttribute("x1",this.format(a));e.setAttribute("y1",this.format(b));e.setAttribute("x2",this.format(c));e.setAttribute("y2",this.format(d));this.root.appendChild(e);this.lastX=c;this.lastY=d};
- mxXmlCanvas2D.prototype.curveTo=function(a,b,c,d,e,f){var g=this.createElement("curve");g.setAttribute("x1",this.format(a));g.setAttribute("y1",this.format(b));g.setAttribute("x2",this.format(c));g.setAttribute("y2",this.format(d));g.setAttribute("x3",this.format(e));g.setAttribute("y3",this.format(f));this.root.appendChild(g);this.lastX=e;this.lastY=f};mxXmlCanvas2D.prototype.close=function(){this.root.appendChild(this.createElement("close"))};
- mxXmlCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){mxUtils.isNode(e)&&(e=mxUtils.getOuterHtml(e));var r=this.createElement("text");r.setAttribute("x",this.format(a));r.setAttribute("y",this.format(b));r.setAttribute("w",this.format(c));r.setAttribute("h",this.format(d));r.setAttribute("str",e);null!=f&&r.setAttribute("align",f);null!=g&&r.setAttribute("valign",g);r.setAttribute("wrap",k?"1":"0");null==l&&(l="");r.setAttribute("format",l);null!=m&&r.setAttribute("overflow",
- m);null!=n&&r.setAttribute("clip",n?"1":"0");null!=p&&r.setAttribute("rotation",p);null!=q&&r.setAttribute("dir",q);this.root.appendChild(r)}};mxXmlCanvas2D.prototype.stroke=function(){this.root.appendChild(this.createElement("stroke"))};mxXmlCanvas2D.prototype.fill=function(){this.root.appendChild(this.createElement("fill"))};mxXmlCanvas2D.prototype.fillAndStroke=function(){this.root.appendChild(this.createElement("fillstroke"))};
- function mxSvgCanvas2D(a,b){mxAbstractCanvas2D.call(this);this.root=a;this.gradients=[];this.defs=null;this.styleEnabled=null!=b?b:!1;var c=null;if(a.ownerDocument!=document)for(c=a;null!=c&&"svg"!=c.nodeName;)c=c.parentNode;null!=c&&(0<c.getElementsByTagName("defs").length&&(this.defs=c.getElementsByTagName("defs")[0]),null==this.defs&&(this.defs=this.createElement("defs"),null!=c.firstChild?c.insertBefore(this.defs,c.firstChild):c.appendChild(this.defs)),this.styleEnabled&&this.defs.appendChild(this.createStyle()))}
- mxUtils.extend(mxSvgCanvas2D,mxAbstractCanvas2D);(function(){mxSvgCanvas2D.prototype.useDomParser=!mxClient.IS_IE&&"function"===typeof DOMParser&&"function"===typeof XMLSerializer;if(mxSvgCanvas2D.prototype.useDomParser)try{var a=(new DOMParser).parseFromString("test text","text/html");mxSvgCanvas2D.prototype.useDomParser=null!=a}catch(b){mxSvgCanvas2D.prototype.useDomParser=!1}})();mxSvgCanvas2D.prototype.node=null;mxSvgCanvas2D.prototype.matchHtmlAlignment=!0;
- mxSvgCanvas2D.prototype.textEnabled=!0;mxSvgCanvas2D.prototype.foEnabled=!0;mxSvgCanvas2D.prototype.foAltText="[Object]";mxSvgCanvas2D.prototype.foOffset=0;mxSvgCanvas2D.prototype.textOffset=0;mxSvgCanvas2D.prototype.imageOffset=0;mxSvgCanvas2D.prototype.strokeTolerance=0;mxSvgCanvas2D.prototype.refCount=0;mxSvgCanvas2D.prototype.blockImagePointerEvents=!1;mxSvgCanvas2D.prototype.lineHeightCorrection=1;mxSvgCanvas2D.prototype.pointerEventsValue="all";mxSvgCanvas2D.prototype.fontMetricsPadding=10;
- mxSvgCanvas2D.prototype.cacheOffsetSize=!0;mxSvgCanvas2D.prototype.format=function(a){return parseFloat(parseFloat(a).toFixed(2))};mxSvgCanvas2D.prototype.getBaseUrl=function(){var a=window.location.href,b=a.lastIndexOf("#");0<b&&(a=a.substring(0,b));return a};mxSvgCanvas2D.prototype.reset=function(){mxAbstractCanvas2D.prototype.reset.apply(this,arguments);this.gradients=[]};
- mxSvgCanvas2D.prototype.createStyle=function(a){a=this.createElement("style");a.setAttribute("type","text/css");mxUtils.write(a,"svg{font-family:"+mxConstants.DEFAULT_FONTFAMILY+";font-size:"+mxConstants.DEFAULT_FONTSIZE+";fill:none;stroke-miterlimit:10}");return a};
- mxSvgCanvas2D.prototype.createElement=function(a,b){if(null!=this.root.ownerDocument.createElementNS)return this.root.ownerDocument.createElementNS(b||mxConstants.NS_SVG,a);var c=this.root.ownerDocument.createElement(a);null!=b&&c.setAttribute("xmlns",b);return c};
- mxSvgCanvas2D.prototype.createAlternateContent=function(a,b,c,d,e,f,g,k,l,m,n,p,q){return null!=this.foAltText?(a=this.state,b=this.createElement("text"),b.setAttribute("x",Math.round(d/2)),b.setAttribute("y",Math.round((e+a.fontSize)/2)),b.setAttribute("fill",a.fontColor||"black"),b.setAttribute("text-anchor","middle"),b.setAttribute("font-size",a.fontSize+"px"),b.setAttribute("font-family",a.fontFamily),(a.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&b.setAttribute("font-weight","bold"),
- (a.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&b.setAttribute("font-style","italic"),(a.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.setAttribute("text-decoration","underline"),mxUtils.write(b,this.foAltText),b):null};
- mxSvgCanvas2D.prototype.createGradientId=function(a,b,c,d,e){"#"==a.charAt(0)&&(a=a.substring(1));"#"==b.charAt(0)&&(b=b.substring(1));a=a.toLowerCase()+"-"+c;b=b.toLowerCase()+"-"+d;c=null;null==e||e==mxConstants.DIRECTION_SOUTH?c="s":e==mxConstants.DIRECTION_EAST?c="e":(d=a,a=b,b=d,e==mxConstants.DIRECTION_NORTH?c="s":e==mxConstants.DIRECTION_WEST&&(c="e"));return"mx-gradient-"+a+"-"+b+"-"+c};
- mxSvgCanvas2D.prototype.getSvgGradient=function(a,b,c,d,e){var f=this.createGradientId(a,b,c,d,e),g=this.gradients[f];if(null==g){var k=this.root.ownerSVGElement,l=0,m=f+"-"+l;if(null!=k)for(g=k.ownerDocument.getElementById(m);null!=g&&g.ownerSVGElement!=k;)m=f+"-"+l++,g=k.ownerDocument.getElementById(m);else m="id"+ ++this.refCount;null==g&&(g=this.createSvgGradient(a,b,c,d,e),g.setAttribute("id",m),null!=this.defs?this.defs.appendChild(g):k.appendChild(g));this.gradients[f]=g}return g.getAttribute("id")};
- mxSvgCanvas2D.prototype.createSvgGradient=function(a,b,c,d,e){var f=this.createElement("linearGradient");f.setAttribute("x1","0%");f.setAttribute("y1","0%");f.setAttribute("x2","0%");f.setAttribute("y2","0%");null==e||e==mxConstants.DIRECTION_SOUTH?f.setAttribute("y2","100%"):e==mxConstants.DIRECTION_EAST?f.setAttribute("x2","100%"):e==mxConstants.DIRECTION_NORTH?f.setAttribute("y1","100%"):e==mxConstants.DIRECTION_WEST&&f.setAttribute("x1","100%");c=1>c?";stop-opacity:"+c:"";e=this.createElement("stop");
- e.setAttribute("offset","0%");e.setAttribute("style","stop-color:"+a+c);f.appendChild(e);c=1>d?";stop-opacity:"+d:"";e=this.createElement("stop");e.setAttribute("offset","100%");e.setAttribute("style","stop-color:"+b+c);f.appendChild(e);return f};
- mxSvgCanvas2D.prototype.addNode=function(a,b){var c=this.node,d=this.state;if(null!=c){if("path"==c.nodeName)if(null!=this.path&&0<this.path.length)c.setAttribute("d",this.path.join(" "));else return;a&&null!=d.fillColor?this.updateFill():this.styleEnabled||("ellipse"==c.nodeName&&mxClient.IS_FF?c.setAttribute("fill","transparent"):c.setAttribute("fill","none"),a=!1);b&&null!=d.strokeColor?this.updateStroke():this.styleEnabled||c.setAttribute("stroke","none");null!=d.transform&&0<d.transform.length&&
- c.setAttribute("transform",d.transform);d.shadow&&this.root.appendChild(this.createShadow(c));0<this.strokeTolerance&&!a&&this.root.appendChild(this.createTolerance(c));!this.pointerEvents||"path"==c.nodeName&&this.path[this.path.length-1]!=this.closeOp?this.pointerEvents||null!=this.originalRoot||c.setAttribute("pointer-events","none"):c.setAttribute("pointer-events",this.pointerEventsValue);("rect"!=c.nodeName&&"path"!=c.nodeName&&"ellipse"!=c.nodeName||"none"!=c.getAttribute("fill")&&"transparent"!=
- c.getAttribute("fill")||"none"!=c.getAttribute("stroke")||"none"!=c.getAttribute("pointer-events"))&&this.root.appendChild(c);this.node=null}};
- mxSvgCanvas2D.prototype.updateFill=function(){var a=this.state;(1>a.alpha||1>a.fillAlpha)&&this.node.setAttribute("fill-opacity",a.alpha*a.fillAlpha);if(null!=a.fillColor)if(null!=a.gradientColor)if(a=this.getSvgGradient(a.fillColor,a.gradientColor,a.gradientFillAlpha,a.gradientAlpha,a.gradientDirection),mxClient.IS_CHROME_APP||mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE||this.root.ownerDocument!=document)this.node.setAttribute("fill","url(#"+a+")");else{var b=this.getBaseUrl().replace(/([\(\)])/g,
- "\\$1");this.node.setAttribute("fill","url("+b+"#"+a+")")}else this.node.setAttribute("fill",a.fillColor.toLowerCase())};mxSvgCanvas2D.prototype.getCurrentStrokeWidth=function(){return Math.max(1,this.format(this.state.strokeWidth*this.state.scale))};
- mxSvgCanvas2D.prototype.updateStroke=function(){var a=this.state;this.node.setAttribute("stroke",a.strokeColor.toLowerCase());(1>a.alpha||1>a.strokeAlpha)&&this.node.setAttribute("stroke-opacity",a.alpha*a.strokeAlpha);var b=this.getCurrentStrokeWidth();1!=b&&this.node.setAttribute("stroke-width",b);"path"==this.node.nodeName&&this.updateStrokeAttributes();a.dashed&&this.node.setAttribute("stroke-dasharray",this.createDashPattern((a.fixDash?1:a.strokeWidth)*a.scale))};
- mxSvgCanvas2D.prototype.updateStrokeAttributes=function(){var a=this.state;null!=a.lineJoin&&"miter"!=a.lineJoin&&this.node.setAttribute("stroke-linejoin",a.lineJoin);if(null!=a.lineCap){var b=a.lineCap;"flat"==b&&(b="butt");"butt"!=b&&this.node.setAttribute("stroke-linecap",b)}null==a.miterLimit||this.styleEnabled&&10==a.miterLimit||this.node.setAttribute("stroke-miterlimit",a.miterLimit)};
- mxSvgCanvas2D.prototype.createDashPattern=function(a){var b=[];if("string"===typeof this.state.dashPattern){var c=this.state.dashPattern.split(" ");if(0<c.length)for(var d=0;d<c.length;d++)b[d]=Number(c[d])*a}return b.join(" ")};
- mxSvgCanvas2D.prototype.createTolerance=function(a){a=a.cloneNode(!0);var b=parseFloat(a.getAttribute("stroke-width")||1)+this.strokeTolerance;a.setAttribute("pointer-events","stroke");a.setAttribute("visibility","hidden");a.removeAttribute("stroke-dasharray");a.setAttribute("stroke-width",b);a.setAttribute("fill","none");a.setAttribute("stroke",mxClient.IS_OT?"none":"white");return a};
- mxSvgCanvas2D.prototype.createShadow=function(a){a=a.cloneNode(!0);var b=this.state;"none"==a.getAttribute("fill")||mxClient.IS_FF&&"transparent"==a.getAttribute("fill")||a.setAttribute("fill",b.shadowColor);"none"!=a.getAttribute("stroke")&&a.setAttribute("stroke",b.shadowColor);a.setAttribute("transform","translate("+this.format(b.shadowDx*b.scale)+","+this.format(b.shadowDy*b.scale)+")"+(b.transform||""));a.setAttribute("opacity",b.shadowAlpha);return a};
- mxSvgCanvas2D.prototype.setLink=function(a){if(null==a)this.root=this.originalRoot;else{this.originalRoot=this.root;var b=this.createElement("a");null==b.setAttributeNS||this.root.ownerDocument!=document&&null==document.documentMode?b.setAttribute("xlink:href",a):b.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",a);this.root.appendChild(b);this.root=b}};
- mxSvgCanvas2D.prototype.rotate=function(a,b,c,d,e){if(0!=a||b||c){var f=this.state;d+=f.dx;e+=f.dy;d*=f.scale;e*=f.scale;f.transform=f.transform||"";if(b&&c)a+=180;else if(b!=c){var g=b?d:0,k=b?-1:1,l=c?e:0,m=c?-1:1;f.transform+="translate("+this.format(g)+","+this.format(l)+")scale("+this.format(k)+","+this.format(m)+")translate("+this.format(-g)+","+this.format(-l)+")"}if(b?!c:c)a*=-1;0!=a&&(f.transform+="rotate("+this.format(a)+","+this.format(d)+","+this.format(e)+")");f.rotation+=a;f.rotationCx=
- d;f.rotationCy=e}};mxSvgCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.apply(this,arguments);this.node=this.createElement("path")};mxSvgCanvas2D.prototype.rect=function(a,b,c,d){var e=this.state,f=this.createElement("rect");f.setAttribute("x",this.format((a+e.dx)*e.scale));f.setAttribute("y",this.format((b+e.dy)*e.scale));f.setAttribute("width",this.format(c*e.scale));f.setAttribute("height",this.format(d*e.scale));this.node=f};
- mxSvgCanvas2D.prototype.roundrect=function(a,b,c,d,e,f){this.rect(a,b,c,d);0<e&&this.node.setAttribute("rx",this.format(e*this.state.scale));0<f&&this.node.setAttribute("ry",this.format(f*this.state.scale))};mxSvgCanvas2D.prototype.ellipse=function(a,b,c,d){var e=this.state,f=this.createElement("ellipse");f.setAttribute("cx",Math.round((a+c/2+e.dx)*e.scale));f.setAttribute("cy",Math.round((b+d/2+e.dy)*e.scale));f.setAttribute("rx",c/2*e.scale);f.setAttribute("ry",d/2*e.scale);this.node=f};
- mxSvgCanvas2D.prototype.image=function(a,b,c,d,e,f,g,k){e=this.converter.convert(e);f=null!=f?f:!0;g=null!=g?g:!1;k=null!=k?k:!1;var l=this.state;a+=l.dx;b+=l.dy;var m=this.createElement("image");m.setAttribute("x",this.format(a*l.scale)+this.imageOffset);m.setAttribute("y",this.format(b*l.scale)+this.imageOffset);m.setAttribute("width",this.format(c*l.scale));m.setAttribute("height",this.format(d*l.scale));null==m.setAttributeNS?m.setAttribute("xlink:href",e):m.setAttributeNS(mxConstants.NS_XLINK,
- "xlink:href",e);f||m.setAttribute("preserveAspectRatio","none");(1>l.alpha||1>l.fillAlpha)&&m.setAttribute("opacity",l.alpha*l.fillAlpha);e=this.state.transform||"";if(g||k){var n=f=1,p=0,q=0;g&&(f=-1,p=-c-2*a);k&&(n=-1,q=-d-2*b);e+="scale("+f+","+n+")translate("+p*l.scale+","+q*l.scale+")"}0<e.length&&m.setAttribute("transform",e);this.pointerEvents||m.setAttribute("pointer-events","none");this.root.appendChild(m);this.blockImagePointerEvents&&(m.setAttribute("style","pointer-events:none"),m=this.createElement("rect"),
- m.setAttribute("visibility","hidden"),m.setAttribute("pointer-events","fill"),m.setAttribute("x",this.format(a*l.scale)),m.setAttribute("y",this.format(b*l.scale)),m.setAttribute("width",this.format(c*l.scale)),m.setAttribute("height",this.format(d*l.scale)),this.root.appendChild(m))};
- mxSvgCanvas2D.prototype.convertHtml=function(a){if(this.useDomParser){var b=(new DOMParser).parseFromString(a,"text/html");null!=b&&(a=(new XMLSerializer).serializeToString(b.body),"<body"==a.substring(0,5)&&(a=a.substring(a.indexOf(">",5)+1)),"</body>"==a.substring(a.length-7,a.length)&&(a=a.substring(0,a.length-7)))}else{if(null!=document.implementation&&null!=document.implementation.createDocument){var b=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null),c=b.createElement("body");
- b.documentElement.appendChild(c);var d=document.createElement("div");d.innerHTML=a;for(a=d.firstChild;null!=a;)d=a.nextSibling,c.appendChild(b.adoptNode(a)),a=d;return c.innerHTML}b=document.createElement("textarea");b.innerHTML=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/</g,"<").replace(/>/g,">");a=b.value.replace(/&/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,
- "&").replace(/<br>/g,"<br />").replace(/<hr>/g,"<hr />").replace(/(<img[^>]+)>/gm,"$1 />")}return a};
- mxSvgCanvas2D.prototype.createDiv=function(a,b,c,d,e){c=this.state;d="display:inline-block;font-size:"+c.fontSize+"px;font-family:"+c.fontFamily+";color:"+c.fontColor+";line-height:"+(mxConstants.ABSOLUTE_LINE_HEIGHT?c.fontSize*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*this.lineHeightCorrection)+";"+d;(c.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(d+="font-weight:bold;");(c.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(d+="font-style:italic;");(c.fontStyle&
- mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&(d+="text-decoration:underline;");b==mxConstants.ALIGN_CENTER?d+="text-align:center;":b==mxConstants.ALIGN_RIGHT&&(d+="text-align:right;");b="";null!=c.fontBackgroundColor&&(b+="background-color:"+c.fontBackgroundColor+";");null!=c.fontBorderColor&&(b+="border:1px solid "+c.fontBorderColor+";");mxUtils.isNode(a)||(a=this.convertHtml(a),"fill"!=e&&"width"!=e?a='<div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;'+
- b+'">'+a+"</div>":d+=b);if(!mxClient.IS_IE&&document.createElementNS)return e=document.createElementNS("http://www.w3.org/1999/xhtml","div"),e.setAttribute("style",d),mxUtils.isNode(a)?this.root.ownerDocument!=document?e.appendChild(a.cloneNode(!0)):e.appendChild(a):e.innerHTML=a,e;mxUtils.isNode(a)&&this.root.ownerDocument!=document&&(a=a.outerHTML);return mxUtils.parseXml('<div xmlns="http://www.w3.org/1999/xhtml" style="'+d+'">'+a+"</div>").documentElement};
- mxSvgCanvas2D.prototype.invalidateCachedOffsetSize=function(a){delete a.firstChild.mxCachedOffsetWidth;delete a.firstChild.mxCachedFinalOffsetWidth;delete a.firstChild.mxCachedFinalOffsetHeight};
- mxSvgCanvas2D.prototype.updateText=function(a,b,c,d,e,f,g,k,l,m,n){if(null!=n&&null!=n.firstChild&&null!=n.firstChild.firstChild&&null!=n.firstChild.firstChild.firstChild){n=n.firstChild;var p=n.firstChild,q=p.firstChild;m=null!=m?m:0;var r=this.state;a+=r.dx;b+=r.dy;l?(q.style.maxHeight=Math.round(d)+"px",q.style.maxWidth=Math.round(c)+"px"):"fill"==k?(q.style.width=Math.round(c+1)+"px",q.style.height=Math.round(d+1)+"px"):"width"==k&&(q.style.width=Math.round(c+1)+"px",0<d&&(q.style.maxHeight=Math.round(d)+
- "px"));g&&0<c&&(q.style.width=Math.round(c+1)+"px");var t,u=q;null!=u.firstChild&&"DIV"==u.firstChild.nodeName&&(u=u.firstChild);t=(null!=n.mxCachedOffsetWidth?n.mxCachedOffsetWidth:u.offsetWidth)+2;g&&"fill"!=k&&(l&&(t=Math.min(t,c)),q.style.width=t+"px");t=(null!=n.mxCachedFinalOffsetWidth?n.mxCachedFinalOffsetWidth:u.offsetWidth)+2;g=(null!=n.mxCachedFinalOffsetHeight?n.mxCachedFinalOffsetHeight:u.offsetHeight)-2;l&&(g=Math.min(g,d),t=Math.min(t,c));"width"==k?d=g:"fill"!=k&&(c=t,d=g);g=l=0;e==
- mxConstants.ALIGN_CENTER?l-=c/2:e==mxConstants.ALIGN_RIGHT&&(l-=c);a+=l;f==mxConstants.ALIGN_MIDDLE?g-=d/2:f==mxConstants.ALIGN_BOTTOM&&(g-=d);"fill"!=k&&mxClient.IS_FF&&mxClient.IS_WIN&&(g-=2);b+=g;e=1!=r.scale?"scale("+r.scale+")":"";0!=r.rotation&&this.rotateHtml?(e+="rotate("+r.rotation+","+c/2+","+d/2+")",b=this.rotatePoint((a+c/2)*r.scale,(b+d/2)*r.scale,r.rotation,r.rotationCx,r.rotationCy),a=b.x-c*r.scale/2,b=b.y-d*r.scale/2):(a*=r.scale,b*=r.scale);0!=m&&(e+="rotate("+m+","+-l+","+-g+")");
- n.setAttribute("transform","translate("+Math.round(a)+","+Math.round(b)+")"+e);p.setAttribute("width",Math.round(Math.max(1,c)));p.setAttribute("height",Math.round(Math.max(1,d)))}};
- mxSvgCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){p=null!=p?p:0;var r=this.state;a+=r.dx;b+=r.dy;if(this.foEnabled&&"html"==l){var t="vertical-align:top;";n?t+="overflow:hidden;max-height:"+Math.round(d)+"px;max-width:"+Math.round(c)+"px;":"fill"==m?t+="width:"+Math.round(c+1)+"px;height:"+Math.round(d+1)+"px;overflow:hidden;":"width"==m&&(t+="width:"+Math.round(c+1)+"px;",0<d&&(t+="max-height:"+Math.round(d)+"px;overflow:hidden;"));var t=k&&0<c?t+("width:"+
- Math.round(c+1)+"px;white-space:normal;word-wrap:"+mxConstants.WORD_WRAP+";"):t+"white-space:nowrap;",u=this.createElement("g");1>r.alpha&&u.setAttribute("opacity",r.alpha);var x=this.createElement("foreignObject");x.setAttribute("style","overflow:visible;");x.setAttribute("pointer-events","all");t=this.createDiv(e,f,g,t,m);if(null!=t){null!=q&&t.setAttribute("dir",q);u.appendChild(x);this.root.appendChild(u);var y,A;q=y=2;if(!mxClient.IS_IE||9!=document.documentMode&&mxClient.IS_SVG){this.root.ownerDocument!=
- document?(t.style.visibility="hidden",document.body.appendChild(t)):x.appendChild(t);var z=t;null!=z.firstChild&&"DIV"==z.firstChild.nodeName&&(z=z.firstChild,k&&"break-word"==t.style.wordWrap&&(z.style.width="100%"));v=z.offsetWidth;0==v&&t.parentNode==x&&(t.style.visibility="hidden",document.body.appendChild(t),v=z.offsetWidth);this.cacheOffsetSize&&(u.mxCachedOffsetWidth=v);!n&&k&&0<c&&this.root.ownerDocument!=document&&"fill"!=m&&"width"!=m&&(B=t.style.whiteSpace,t.style.whiteSpace="nowrap",v<
- z.offsetWidth&&(t.style.whiteSpace=B));y=v+y-1;k&&"fill"!=m&&"width"!=m&&(n&&(y=Math.min(y,c)),t.style.width=y+"px");y=z.offsetWidth;A=z.offsetHeight;this.cacheOffsetSize&&(u.mxCachedFinalOffsetWidth=y,u.mxCachedFinalOffsetHeight=A);A-=q;t.parentNode!=x&&(x.appendChild(t),t.style.visibility="")}else{z=document.createElement("div");z.style.cssText=t.getAttribute("style");z.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";z.style.position="absolute";z.style.visibility="hidden";A=document.createElement("div");
- A.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";A.style.wordWrap=mxConstants.WORD_WRAP;A.innerHTML=mxUtils.isNode(e)?e.outerHTML:e;z.appendChild(A);document.body.appendChild(z);8!=document.documentMode&&9!=document.documentMode&&null!=r.fontBorderColor&&(y+=2,q+=2);if(k&&0<c){var v=A.offsetWidth;if(!n&&k&&0<c&&this.root.ownerDocument!=document&&"fill"!=m){var B=z.style.whiteSpace;A.style.whiteSpace="nowrap";v<A.offsetWidth&&(z.style.whiteSpace=B)}n&&(v=Math.min(v,c));z.style.width=v+"px";
- y=A.offsetWidth+y+0;A=A.offsetHeight+q;z.style.display="inline-block";z.style.position="";z.style.visibility="";z.style.width=y+"px";t.setAttribute("style",z.style.cssText)}else y=A.offsetWidth+y,A=A.offsetHeight+q;z.parentNode.removeChild(z);x.appendChild(t)}n&&(A=Math.min(A,d),y=Math.min(y,c));"width"==m?d=A:"fill"!=m&&(c=y,d=A);1>r.alpha&&u.setAttribute("opacity",r.alpha);q=t=0;f==mxConstants.ALIGN_CENTER?t-=c/2:f==mxConstants.ALIGN_RIGHT&&(t-=c);a+=t;g==mxConstants.ALIGN_MIDDLE?q-=d/2:g==mxConstants.ALIGN_BOTTOM&&
- (q-=d);"fill"!=m&&mxClient.IS_FF&&mxClient.IS_WIN&&(q-=2);b+=q;z=1!=r.scale?"scale("+r.scale+")":"";0!=r.rotation&&this.rotateHtml?(z+="rotate("+r.rotation+","+c/2+","+d/2+")",b=this.rotatePoint((a+c/2)*r.scale,(b+d/2)*r.scale,r.rotation,r.rotationCx,r.rotationCy),a=b.x-c*r.scale/2,b=b.y-d*r.scale/2):(a*=r.scale,b*=r.scale);0!=p&&(z+="rotate("+p+","+-t+","+-q+")");u.setAttribute("transform","translate("+(Math.round(a)+this.foOffset)+","+(Math.round(b)+this.foOffset)+")"+z);x.setAttribute("width",
- Math.round(Math.max(1,c)));x.setAttribute("height",Math.round(Math.max(1,d)));this.root.ownerDocument!=document&&(a=this.createAlternateContent(x,a,b,c,d,e,f,g,k,l,m,n,p),null!=a&&(x.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility"),c=this.createElement("switch"),c.appendChild(x),c.appendChild(a),u.appendChild(c)))}}else this.plainText(a,b,c,d,e,f,g,k,m,n,p,q)}};
- mxSvgCanvas2D.prototype.createClip=function(a,b,c,d){a=Math.round(a);b=Math.round(b);c=Math.round(c);d=Math.round(d);for(var e="mx-clip-"+a+"-"+b+"-"+c+"-"+d,f=0,g=e+"-"+f;null!=document.getElementById(g);)g=e+"-"+ ++f;clip=this.createElement("clipPath");clip.setAttribute("id",g);e=this.createElement("rect");e.setAttribute("x",a);e.setAttribute("y",b);e.setAttribute("width",c);e.setAttribute("height",d);clip.appendChild(e);return clip};
- mxSvgCanvas2D.prototype.plainText=function(a,b,c,d,e,f,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var q=k.fontSize,r=this.createElement("g"),t=k.transform||"";this.updateFont(r);0!=n&&(t+="rotate("+n+","+this.format(a*k.scale)+","+this.format(b*k.scale)+")");null!=p&&r.setAttribute("direction",p);m&&0<c&&0<d&&(p=a,n=b,f==mxConstants.ALIGN_CENTER?p-=c/2:f==mxConstants.ALIGN_RIGHT&&(p-=c),"fill"!=l&&(g==mxConstants.ALIGN_MIDDLE?n-=d/2:g==mxConstants.ALIGN_BOTTOM&&(n-=d)),n=this.createClip(p*k.scale-2,
- n*k.scale-2,c*k.scale+4,d*k.scale+4),null!=this.defs?this.defs.appendChild(n):this.root.appendChild(n),mxClient.IS_CHROME_APP||mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE||this.root.ownerDocument!=document?r.setAttribute("clip-path","url(#"+n.getAttribute("id")+")"):(p=this.getBaseUrl().replace(/([\(\)])/g,"\\$1"),r.setAttribute("clip-path","url("+p+"#"+n.getAttribute("id")+")")));n=f==mxConstants.ALIGN_RIGHT?"end":f==mxConstants.ALIGN_CENTER?"middle":"start";"start"!=n&&r.setAttribute("text-anchor",
- n);this.styleEnabled&&q==mxConstants.DEFAULT_FONTSIZE||r.setAttribute("font-size",q*k.scale+"px");0<t.length&&r.setAttribute("transform",t);1>k.alpha&&r.setAttribute("opacity",k.alpha);t=e.split("\n");p=Math.round(q*mxConstants.LINE_HEIGHT);var u=q+(t.length-1)*p;n=b+q-1;g==mxConstants.ALIGN_MIDDLE?"fill"==l?n-=d/2:(m=(this.matchHtmlAlignment&&m&&0<d?Math.min(u,d):u)/2,n-=m+1):g==mxConstants.ALIGN_BOTTOM&&("fill"==l?n-=d:(m=this.matchHtmlAlignment&&m&&0<d?Math.min(u,d):u,n-=m+2));for(m=0;m<t.length;m++)0<
- t[m].length&&0<mxUtils.trim(t[m]).length&&(q=this.createElement("text"),q.setAttribute("x",this.format(a*k.scale)+this.textOffset),q.setAttribute("y",this.format(n*k.scale)+this.textOffset),mxUtils.write(q,t[m]),r.appendChild(q)),n+=p;this.root.appendChild(r);this.addTextBackground(r,e,a,b,c,"fill"==l?d:u,f,g,l)};
- mxSvgCanvas2D.prototype.updateFont=function(a){var b=this.state;a.setAttribute("fill",b.fontColor);this.styleEnabled&&b.fontFamily==mxConstants.DEFAULT_FONTFAMILY||a.setAttribute("font-family",b.fontFamily);(b.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&a.setAttribute("font-weight","bold");(b.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&a.setAttribute("font-style","italic");(b.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&a.setAttribute("text-decoration",
- "underline")};
- mxSvgCanvas2D.prototype.addTextBackground=function(a,b,c,d,e,f,g,k,l){var m=this.state;if(null!=m.fontBackgroundColor||null!=m.fontBorderColor){var n=null;if("fill"==l||"width"==l)g==mxConstants.ALIGN_CENTER?c-=e/2:g==mxConstants.ALIGN_RIGHT&&(c-=e),k==mxConstants.ALIGN_MIDDLE?d-=f/2:k==mxConstants.ALIGN_BOTTOM&&(d-=f),n=new mxRectangle((c+1)*m.scale,d*m.scale,(e-2)*m.scale,(f+2)*m.scale);else if(null!=a.getBBox&&this.root.ownerDocument==document)try{var n=a.getBBox(),p=mxClient.IS_IE&&mxClient.IS_SVG,
- n=new mxRectangle(n.x,n.y+(p?0:1),n.width,n.height+(p?1:0))}catch(q){}else n=document.createElement("div"),n.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?m.fontSize*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT,n.style.fontSize=m.fontSize+"px",n.style.fontFamily=m.fontFamily,n.style.whiteSpace="nowrap",n.style.position="absolute",n.style.visibility="hidden",n.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",n.style.zoom="1",(m.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&
- (n.style.fontWeight="bold"),(m.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(n.style.fontStyle="italic"),b=mxUtils.htmlEntities(b,!1),n.innerHTML=b.replace(/\n/g,"<br/>"),document.body.appendChild(n),e=n.offsetWidth,f=n.offsetHeight,n.parentNode.removeChild(n),g==mxConstants.ALIGN_CENTER?c-=e/2:g==mxConstants.ALIGN_RIGHT&&(c-=e),k==mxConstants.ALIGN_MIDDLE?d-=f/2:k==mxConstants.ALIGN_BOTTOM&&(d-=f),n=new mxRectangle((c+1)*m.scale,(d+2)*m.scale,e*m.scale,(f+1)*m.scale);null!=n&&(b=
- this.createElement("rect"),b.setAttribute("fill",m.fontBackgroundColor||"none"),b.setAttribute("stroke",m.fontBorderColor||"none"),b.setAttribute("x",Math.floor(n.x-1)),b.setAttribute("y",Math.floor(n.y-1)),b.setAttribute("width",Math.ceil(n.width+2)),b.setAttribute("height",Math.ceil(n.height)),m=null!=m.fontBorderColor?Math.max(1,this.format(m.scale)):0,b.setAttribute("stroke-width",m),this.root.ownerDocument==document&&1==mxUtils.mod(m,2)&&b.setAttribute("transform","translate(0.5, 0.5)"),a.insertBefore(b,
- a.firstChild))}};mxSvgCanvas2D.prototype.stroke=function(){this.addNode(!1,!0)};mxSvgCanvas2D.prototype.fill=function(){this.addNode(!0,!1)};mxSvgCanvas2D.prototype.fillAndStroke=function(){this.addNode(!0,!0)};var mxVmlCanvas2D=function(a){mxAbstractCanvas2D.call(this);this.root=a};mxUtils.extend(mxVmlCanvas2D,mxAbstractCanvas2D);mxVmlCanvas2D.prototype.node=null;mxVmlCanvas2D.prototype.textEnabled=!0;mxVmlCanvas2D.prototype.moveOp="m";mxVmlCanvas2D.prototype.lineOp="l";
- mxVmlCanvas2D.prototype.curveOp="c";mxVmlCanvas2D.prototype.closeOp="x";mxVmlCanvas2D.prototype.rotatedHtmlBackground="";mxVmlCanvas2D.prototype.vmlScale=1;mxVmlCanvas2D.prototype.createElement=function(a){return document.createElement(a)};mxVmlCanvas2D.prototype.createVmlElement=function(a){return this.createElement(mxClient.VML_PREFIX+":"+a)};
- mxVmlCanvas2D.prototype.addNode=function(a,b){var c=this.node,d=this.state;if(null!=c){if("shape"==c.nodeName)if(null!=this.path&&0<this.path.length)c.path=this.path.join(" ")+" e",c.style.width=this.root.style.width,c.style.height=this.root.style.height,c.coordsize=parseInt(c.style.width)+" "+parseInt(c.style.height);else return;c.strokeweight=this.format(Math.max(1,d.strokeWidth*d.scale/this.vmlScale))+"px";d.shadow&&this.root.appendChild(this.createShadow(c,a&&null!=d.fillColor,b&&null!=d.strokeColor));
- b&&null!=d.strokeColor?(c.stroked="true",c.strokecolor=d.strokeColor):c.stroked="false";c.appendChild(this.createStroke());a&&null!=d.fillColor?c.appendChild(this.createFill()):!this.pointerEvents||"shape"==c.nodeName&&this.path[this.path.length-1]!=this.closeOp?c.filled="false":c.appendChild(this.createTransparentFill());this.root.appendChild(c)}};
- mxVmlCanvas2D.prototype.createTransparentFill=function(){var a=this.createVmlElement("fill");a.src=mxClient.imageBasePath+"/transparent.gif";a.type="tile";return a};
- mxVmlCanvas2D.prototype.createFill=function(){var a=this.state,b=this.createVmlElement("fill");b.color=a.fillColor;if(null!=a.gradientColor){b.type="gradient";b.method="none";b.color2=a.gradientColor;var c=180-a.rotation,c=a.gradientDirection==mxConstants.DIRECTION_WEST?c-(90+("x"==this.root.style.flip?180:0)):a.gradientDirection==mxConstants.DIRECTION_EAST?c+(90+("x"==this.root.style.flip?180:0)):a.gradientDirection==mxConstants.DIRECTION_NORTH?c-(180+("y"==this.root.style.flip?-180:0)):c+("y"==
- this.root.style.flip?-180:0);if("x"==this.root.style.flip||"y"==this.root.style.flip)c*=-1;b.angle=mxUtils.mod(c,360);b.opacity=a.alpha*a.gradientFillAlpha*100+"%";b.setAttribute(mxClient.OFFICE_PREFIX+":opacity2",a.alpha*a.gradientAlpha*100+"%")}else if(1>a.alpha||1>a.fillAlpha)b.opacity=a.alpha*a.fillAlpha*100+"%";return b};
- mxVmlCanvas2D.prototype.createStroke=function(){var a=this.state,b=this.createVmlElement("stroke");b.endcap=a.lineCap||"flat";b.joinstyle=a.lineJoin||"miter";b.miterlimit=a.miterLimit||"10";if(1>a.alpha||1>a.strokeAlpha)b.opacity=a.alpha*a.strokeAlpha*100+"%";a.dashed&&(b.dashstyle=this.getVmlDashStyle());return b};mxVmlCanvas2D.prototype.getVmlDashStyle=function(){var a="dash";if("string"===typeof this.state.dashPattern){var b=this.state.dashPattern.split(" ");0<b.length&&1==b[0]&&(a="0 2")}return a};
- mxVmlCanvas2D.prototype.createShadow=function(a,b,c){var d=this.state,e=Math.PI/180*-d.rotation,f=Math.cos(e),e=Math.sin(e),g=d.shadowDx*d.scale,k=d.shadowDy*d.scale;"x"==this.root.style.flip?g*=-1:"y"==this.root.style.flip&&(k*=-1);var l=a.cloneNode(!0);l.style.marginLeft=Math.round(g*f-k*e)+"px";l.style.marginTop=Math.round(g*e+k*f)+"px";8==document.documentMode&&(l.strokeweight=a.strokeweight,"shape"==a.nodeName&&(l.path=this.path.join(" ")+" e",l.style.width=this.root.style.width,l.style.height=
- this.root.style.height,l.coordsize=parseInt(a.style.width)+" "+parseInt(a.style.height)));c?(l.strokecolor=d.shadowColor,l.appendChild(this.createShadowStroke())):l.stroked="false";b?l.appendChild(this.createShadowFill()):l.filled="false";return l};mxVmlCanvas2D.prototype.createShadowFill=function(){var a=this.createVmlElement("fill");a.color=this.state.shadowColor;a.opacity=this.state.alpha*this.state.shadowAlpha*100+"%";return a};
- mxVmlCanvas2D.prototype.createShadowStroke=function(){var a=this.createStroke();a.opacity=this.state.alpha*this.state.shadowAlpha*100+"%";return a};mxVmlCanvas2D.prototype.rotate=function(a,b,c,d,e){b&&c?a+=180:b?this.root.style.flip="x":c&&(this.root.style.flip="y");if(b?!c:c)a*=-1;this.root.style.rotation=a;this.state.rotation+=a;this.state.rotationCx=d;this.state.rotationCy=e};
- mxVmlCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.apply(this,arguments);this.node=this.createVmlElement("shape");this.node.style.position="absolute"};
- mxVmlCanvas2D.prototype.quadTo=function(a,b,c,d){var e=this.state,f=(this.lastX+e.dx)*e.scale,g=(this.lastY+e.dy)*e.scale;a=(a+e.dx)*e.scale;b=(b+e.dy)*e.scale;c=(c+e.dx)*e.scale;d=(d+e.dy)*e.scale;var g=g+2/3*(b-g),k=c+2/3*(a-c);b=d+2/3*(b-d);this.path.push("c "+this.format(f+2/3*(a-f))+" "+this.format(g)+" "+this.format(k)+" "+this.format(b)+" "+this.format(c)+" "+this.format(d));this.lastX=c/e.scale-e.dx;this.lastY=d/e.scale-e.dy};
- mxVmlCanvas2D.prototype.createRect=function(a,b,c,d,e){var f=this.state;a=this.createVmlElement(a);a.style.position="absolute";a.style.left=this.format((b+f.dx)*f.scale)+"px";a.style.top=this.format((c+f.dy)*f.scale)+"px";a.style.width=this.format(d*f.scale)+"px";a.style.height=this.format(e*f.scale)+"px";return a};mxVmlCanvas2D.prototype.rect=function(a,b,c,d){this.node=this.createRect("rect",a,b,c,d)};
- mxVmlCanvas2D.prototype.roundrect=function(a,b,c,d,e,f){this.node=this.createRect("roundrect",a,b,c,d);this.node.setAttribute("arcsize",Math.max(100*e/c,100*f/d)+"%")};mxVmlCanvas2D.prototype.ellipse=function(a,b,c,d){this.node=this.createRect("oval",a,b,c,d)};
- mxVmlCanvas2D.prototype.image=function(a,b,c,d,e,f,g,k){f?(a=this.createRect("rect",a,b,c,d),a.stroked="false",b=this.createVmlElement("fill"),b.aspect=f?"atmost":"ignore",b.rotate="true",b.type="frame",b.src=e,a.appendChild(b)):(a=this.createRect("image",a,b,c,d),a.src=e);g&&k?a.style.rotation="180":g?a.style.flip="x":k&&(a.style.flip="y");if(1>this.state.alpha||1>this.state.fillAlpha)a.style.filter+="alpha(opacity="+this.state.alpha*this.state.fillAlpha*100+")";this.root.appendChild(a)};
- mxVmlCanvas2D.prototype.createDiv=function(a,b,c,d){c=this.createElement("div");var e=this.state,f="";null!=e.fontBackgroundColor&&(f+="background-color:"+e.fontBackgroundColor+";");null!=e.fontBorderColor&&(f+="border:1px solid "+e.fontBorderColor+";");mxUtils.isNode(a)?c.appendChild(a):"fill"!=d&&"width"!=d?(d=this.createElement("div"),d.style.cssText=f,d.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",d.style.zoom="1",d.style.textDecoration="inherit",d.innerHTML=a,c.appendChild(d)):(c.style.cssText=
- f,c.innerHTML=a);a=c.style;a.fontSize=e.fontSize/this.vmlScale+"px";a.fontFamily=e.fontFamily;a.color=e.fontColor;a.verticalAlign="top";a.textAlign=b||"left";a.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?e.fontSize*mxConstants.LINE_HEIGHT/this.vmlScale+"px":mxConstants.LINE_HEIGHT;(e.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(a.fontWeight="bold");(e.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(a.fontStyle="italic");(e.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&
- (a.textDecoration="underline");return c};
- mxVmlCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){var r=this.state;if("html"==l){null!=r.rotation&&(b=this.rotatePoint(a,b,r.rotation,r.rotationCx,r.rotationCy),a=b.x,b=b.y);8!=document.documentMode||mxClient.IS_EM?(a*=r.scale,b*=r.scale):(a+=r.dx,b+=r.dy,"fill"!=m&&g==mxConstants.ALIGN_TOP&&--b);l=8!=document.documentMode||mxClient.IS_EM?this.createElement("div"):this.createVmlElement("group");l.style.position="absolute";l.style.display="inline";l.style.left=
- this.format(a)+"px";l.style.top=this.format(b)+"px";l.style.zoom=r.scale;var t=this.createElement("div");t.style.position="relative";t.style.display="inline";var u=mxUtils.getAlignmentAsPoint(f,g),x=u.x,u=u.y;e=this.createDiv(e,f,g,m);f=this.createElement("div");null!=q&&e.setAttribute("dir",q);if(k&&0<c){if(n||(e.style.width=Math.round(c)+"px"),e.style.wordWrap=mxConstants.WORD_WRAP,e.style.whiteSpace="normal","break-word"==e.style.wordWrap){var y=e;null!=y.firstChild&&"DIV"==y.firstChild.nodeName&&
- (y.firstChild.style.width="100%")}}else e.style.whiteSpace="nowrap";p=r.rotation+(p||0);this.rotateHtml&&0!=p?(f.style.display="inline",f.style.zoom="1",f.appendChild(e),8!=document.documentMode||mxClient.IS_EM||"DIV"==this.root.nodeName?l.appendChild(f):(t.appendChild(f),l.appendChild(t))):8!=document.documentMode||mxClient.IS_EM?(e.style.display="inline",l.appendChild(e)):(t.appendChild(e),l.appendChild(t));"DIV"!=this.root.nodeName?(q=this.createVmlElement("rect"),q.stroked="false",q.filled="false",
- q.appendChild(l),this.root.appendChild(q)):this.root.appendChild(l);n?(e.style.overflow="hidden",e.style.width=Math.round(c)+"px",mxClient.IS_QUIRKS||(e.style.maxHeight=Math.round(d)+"px")):"fill"==m?(e.style.overflow="hidden",e.style.width=Math.max(0,c)+1+"px",e.style.height=Math.max(0,d)+1+"px"):"width"==m&&(e.style.overflow="hidden",e.style.width=Math.max(0,c)+1+"px",e.style.maxHeight=Math.max(0,d)+1+"px");if(this.rotateHtml&&0!=p){y=Math.PI/180*p;p=parseFloat(parseFloat(Math.cos(y)).toFixed(8));
- q=parseFloat(parseFloat(Math.sin(-y)).toFixed(8));y%=2*Math.PI;0>y&&(y+=2*Math.PI);y%=Math.PI;y>Math.PI/2&&(y=Math.PI-y);g=Math.cos(y);var A=Math.sin(y);8!=document.documentMode||mxClient.IS_EM||(e.style.display="inline-block",f.style.display="inline-block",t.style.display="inline-block");e.style.visibility="hidden";e.style.position="absolute";document.body.appendChild(e);t=e;null!=t.firstChild&&"DIV"==t.firstChild.nodeName&&(t=t.firstChild);y=t.offsetWidth+3;t=t.offsetHeight;n?(c=Math.min(c,y),t=
- Math.min(t,d)):c=y;k&&(e.style.width=c+"px");mxClient.IS_QUIRKS&&(n||"width"==m)&&t>d&&(t=d,e.style.height=t+"px");d=t;n=(d-d*g+c*-A)/2-q*c*(x+.5)+p*d*(u+.5);k=(c-c*g+d*-A)/2+p*c*(x+.5)+q*d*(u+.5);"group"==l.nodeName&&"DIV"==this.root.nodeName?(m=this.createElement("div"),m.style.display="inline-block",m.style.position="absolute",m.style.left=this.format(a+(k-c/2)*r.scale)+"px",m.style.top=this.format(b+(n-d/2)*r.scale)+"px",l.parentNode.appendChild(m),m.appendChild(l)):(r=8!=document.documentMode||
- mxClient.IS_EM?r.scale:1,l.style.left=this.format(a+(k-c/2)*r)+"px",l.style.top=this.format(b+(n-d/2)*r)+"px");f.style.filter="progid:DXImageTransform.Microsoft.Matrix(M11="+p+", M12="+q+", M21="+-q+", M22="+p+", sizingMethod='auto expand')";f.style.backgroundColor=this.rotatedHtmlBackground;1>this.state.alpha&&(f.style.filter+="alpha(opacity="+100*this.state.alpha+")");f.appendChild(e);e.style.position="";e.style.visibility=""}else 8!=document.documentMode||mxClient.IS_EM?(e.style.verticalAlign=
- "top",1>this.state.alpha&&(l.style.filter="alpha(opacity="+100*this.state.alpha+")"),r=e.parentNode,e.style.visibility="hidden",document.body.appendChild(e),c=e.offsetWidth,t=e.offsetHeight,mxClient.IS_QUIRKS&&n&&t>d&&(t=d,e.style.height=t+"px"),d=t,e.style.visibility="",r.appendChild(e),l.style.left=this.format(a+c*x*this.state.scale)+"px",l.style.top=this.format(b+d*u*this.state.scale)+"px"):(1>this.state.alpha&&(e.style.filter="alpha(opacity="+100*this.state.alpha+")"),t.style.left=100*x+"%",t.style.top=
- 100*u+"%")}else this.plainText(a,b,c,d,mxUtils.htmlEntities(e,!1),f,g,k,l,m,n,p,q)}};
- mxVmlCanvas2D.prototype.plainText=function(a,b,c,d,e,f,g,k,l,m,n,p,q){k=this.state;a=(a+k.dx)*k.scale;b=(b+k.dy)*k.scale;c=this.createVmlElement("shape");c.style.width="1px";c.style.height="1px";c.stroked="false";d=this.createVmlElement("fill");d.color=k.fontColor;d.opacity=100*k.alpha+"%";c.appendChild(d);d=this.createVmlElement("path");d.textpathok="true";d.v="m "+this.format(0)+" "+this.format(0)+" l "+this.format(1)+" "+this.format(0);c.appendChild(d);d=this.createVmlElement("textpath");d.style.cssText=
- "v-text-align:"+f;d.style.align=f;d.style.fontFamily=k.fontFamily;d.string=e;d.on="true";f=k.fontSize*k.scale/this.vmlScale;d.style.fontSize=f+"px";(k.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(d.style.fontWeight="bold");(k.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(d.style.fontStyle="italic");(k.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&(d.style.textDecoration="underline");e=e.split("\n");k=f+(e.length-1)*f*mxConstants.LINE_HEIGHT;f=e=0;
- g==mxConstants.ALIGN_BOTTOM?f=-k/2:g!=mxConstants.ALIGN_MIDDLE&&(f=k/2);null!=p&&(c.style.rotation=p,g=Math.PI/180*p,e=Math.sin(g)*f,f*=Math.cos(g));c.appendChild(d);c.style.left=this.format(a-e)+"px";c.style.top=this.format(b+f)+"px";this.root.appendChild(c)};mxVmlCanvas2D.prototype.stroke=function(){this.addNode(!1,!0)};mxVmlCanvas2D.prototype.fill=function(){this.addNode(!0,!1)};mxVmlCanvas2D.prototype.fillAndStroke=function(){this.addNode(!0,!0)};
- function mxGuide(a,b){this.graph=a;this.setStates(b)}mxGuide.prototype.graph=null;mxGuide.prototype.states=null;mxGuide.prototype.horizontal=!0;mxGuide.prototype.vertical=!0;mxGuide.prototype.guideX=null;mxGuide.prototype.guideY=null;mxGuide.prototype.setStates=function(a){this.states=a};mxGuide.prototype.isEnabledForEvent=function(a){return!0};mxGuide.prototype.getGuideTolerance=function(){return this.graph.gridSize/2};
- mxGuide.prototype.createGuideShape=function(a){a=new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH);a.isDashed=!0;return a};
- mxGuide.prototype.move=function(a,b,c){if(null!=this.states&&(this.horizontal||this.vertical)&&null!=a&&null!=b){var d=function(b){b+=this.graph.panDy;var c=!1;Math.abs(b-F)<y?(l=b-a.getCenterY(),y=Math.abs(b-F),c=!0):Math.abs(b-B)<y?(l=b-a.y,y=Math.abs(b-B),c=!0):Math.abs(b-C)<y&&(l=b-a.y-a.height,y=Math.abs(b-C),c=!0);c&&(r=D,t=Math.round(b-this.graph.panDy),null==this.guideY&&(this.guideY=this.createGuideShape(!1),this.guideY.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:
- mxConstants.DIALECT_SVG,this.guideY.pointerEvents=!1,this.guideY.init(this.graph.getView().getOverlayPane())));q=q||c},e=function(b,c){b+=this.graph.panDx;var d=!1;Math.abs(b-v)<x?(k=b-a.getCenterX(),x=Math.abs(b-v),d=!0):Math.abs(b-A)<x?(k=b-a.x,x=Math.abs(b-A),d=!0):Math.abs(b-z)<x&&(k=b-a.x-a.width,x=Math.abs(b-z),d=!0);d&&(n=c,p=Math.round(b-this.graph.panDx),null==this.guideX&&(this.guideX=this.createGuideShape(!0),this.guideX.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:
- mxConstants.DIALECT_SVG,this.guideX.pointerEvents=!1,this.guideX.init(this.graph.getView().getOverlayPane())));m=m||d},f=this.graph.getView().translate,g=this.graph.getView().scale,k=b.x,l=b.y,m=!1,n=null,p=null,q=!1,r=null,t=null,u=this.getGuideTolerance(),x=u,y=u,u=a.clone();u.x+=b.x;u.y+=b.y;var A=u.x,z=u.x+u.width,v=u.getCenterX(),B=u.y,C=u.y+u.height,F=u.getCenterY();for(b=0;b<this.states.length;b++){var D=this.states[b];null!=D&&(this.horizontal&&(e.call(this,D.getCenterX(),D),e.call(this,D.x,
- D),e.call(this,D.x+D.width,D)),this.vertical&&(d.call(this,D.getCenterY(),D),d.call(this,D.y,D),d.call(this,D.y+D.height,D)))}c&&(m||(c=a.x-(this.graph.snap(a.x/g-f.x)+f.x)*g,k=this.graph.snap(k/g)*g-c),q||(f=a.y-(this.graph.snap(a.y/g-f.y)+f.y)*g,l=this.graph.snap(l/g)*g-f));g=this.graph.container;m||null==this.guideX?null!=this.guideX&&(null!=n&&null!=a&&(minY=Math.min(a.y+l-this.graph.panDy,n.y),maxY=Math.max(a.y+a.height+l-this.graph.panDy,n.y+n.height)),this.guideX.points=null!=minY&&null!=maxY?
- [new mxPoint(p,minY),new mxPoint(p,maxY)]:[new mxPoint(p,-this.graph.panDy),new mxPoint(p,g.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(n,!0),this.guideX.node.style.visibility="visible",this.guideX.redraw()):this.guideX.node.style.visibility="hidden";q||null==this.guideY?null!=this.guideY&&(null!=r&&null!=a&&(minX=Math.min(a.x+k-this.graph.panDx,r.x),maxX=Math.max(a.x+a.width+k-this.graph.panDx,r.x+r.width)),this.guideY.points=null!=minX&&null!=maxX?[new mxPoint(minX,t),
- new mxPoint(maxX,t)]:[new mxPoint(-this.graph.panDx,t),new mxPoint(g.scrollWidth-3-this.graph.panDx,t)],this.guideY.stroke=this.getGuideColor(r,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw()):this.guideY.node.style.visibility="hidden";b=new mxPoint(k,l)}return b};mxGuide.prototype.getGuideColor=function(a,b){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)};
- mxGuide.prototype.setVisible=function(a){null!=this.guideX&&(this.guideX.node.style.visibility=a?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=a?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)};function mxStencil(a){this.desc=a;this.parseDescription();this.parseConstraints()}mxStencil.defaultLocalized=!1;mxStencil.allowEval=!1;
- mxStencil.prototype.desc=null;mxStencil.prototype.constraints=null;mxStencil.prototype.aspect=null;mxStencil.prototype.w0=null;mxStencil.prototype.h0=null;mxStencil.prototype.bgNode=null;mxStencil.prototype.fgNode=null;mxStencil.prototype.strokewidth=null;
- mxStencil.prototype.parseDescription=function(){this.fgNode=this.desc.getElementsByTagName("foreground")[0];this.bgNode=this.desc.getElementsByTagName("background")[0];this.w0=Number(this.desc.getAttribute("w")||100);this.h0=Number(this.desc.getAttribute("h")||100);var a=this.desc.getAttribute("aspect");this.aspect=null!=a?a:"variable";a=this.desc.getAttribute("strokewidth");this.strokewidth=null!=a?a:"1"};
- mxStencil.prototype.parseConstraints=function(){var a=this.desc.getElementsByTagName("connections")[0];if(null!=a&&(a=mxUtils.getChildNodes(a),null!=a&&0<a.length)){this.constraints=[];for(var b=0;b<a.length;b++)this.constraints.push(this.parseConstraint(a[b]))}};mxStencil.prototype.parseConstraint=function(a){var b=Number(a.getAttribute("x")),c=Number(a.getAttribute("y")),d="1"==a.getAttribute("perimeter");a=a.getAttribute("name");return new mxConnectionConstraint(new mxPoint(b,c),d,a)};
- mxStencil.prototype.evaluateTextAttribute=function(a,b,c){b=this.evaluateAttribute(a,b,c);a=a.getAttribute("localized");if(mxStencil.defaultLocalized&&null==a||"1"==a)b=mxResources.get(b);return b};mxStencil.prototype.evaluateAttribute=function(a,b,c){b=a.getAttribute(b);null==b&&(a=mxUtils.getTextContent(a),null!=a&&mxStencil.allowEval&&(a=mxUtils.eval(a),"function"==typeof a&&(b=a(c))));return b};
- mxStencil.prototype.drawShape=function(a,b,c,d,e,f){var g=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null),g=this.computeAspect(b.style,c,d,e,f,g),k=Math.min(g.width,g.height),k="inherit"==this.strokewidth?Number(mxUtils.getNumber(b.style,mxConstants.STYLE_STROKEWIDTH,1)):Number(this.strokewidth)*k;a.setStrokeWidth(k);this.drawChildren(a,b,c,d,e,f,this.bgNode,g,!1);this.drawChildren(a,b,c,d,e,f,this.fgNode,g,!0)};
- mxStencil.prototype.drawChildren=function(a,b,c,d,e,f,g,k,l){if(null!=g&&0<e&&0<f)for(c=g.firstChild;null!=c;)c.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,c,k,l),c=c.nextSibling};
- mxStencil.prototype.computeAspect=function(a,b,c,d,e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION_SOUTH){g=d/this.h0;b=e/this.w0;var k=(d-e)/2;a+=k;c-=k}"fixed"==this.aspect&&(b=g=Math.min(b,g),f?(a+=(e-this.w0*b)/2,c+=(d-this.h0*g)/2):(a+=(d-this.w0*b)/2,c+=(e-this.h0*g)/2));return new mxRectangle(a,c,b,g)};
- mxStencil.prototype.drawNode=function(a,b,c,d,e){var f=c.nodeName,g=d.x,k=d.y,l=d.width,m=d.height,n=Math.min(l,m);if("save"==f)a.save();else if("restore"==f)a.restore();else if("path"==f)for(a.begin(),c=c.firstChild;null!=c;)c.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,c,d,e),c=c.nextSibling;else if("close"==f)a.close();else if("move"==f)a.moveTo(g+Number(c.getAttribute("x"))*l,k+Number(c.getAttribute("y"))*m);else if("line"==f)a.lineTo(g+Number(c.getAttribute("x"))*l,k+Number(c.getAttribute("y"))*
- m);else if("quad"==f)a.quadTo(g+Number(c.getAttribute("x1"))*l,k+Number(c.getAttribute("y1"))*m,g+Number(c.getAttribute("x2"))*l,k+Number(c.getAttribute("y2"))*m);else if("curve"==f)a.curveTo(g+Number(c.getAttribute("x1"))*l,k+Number(c.getAttribute("y1"))*m,g+Number(c.getAttribute("x2"))*l,k+Number(c.getAttribute("y2"))*m,g+Number(c.getAttribute("x3"))*l,k+Number(c.getAttribute("y3"))*m);else if("arc"==f)a.arcTo(Number(c.getAttribute("rx"))*l,Number(c.getAttribute("ry"))*m,Number(c.getAttribute("x-axis-rotation")),
- Number(c.getAttribute("large-arc-flag")),Number(c.getAttribute("sweep-flag")),g+Number(c.getAttribute("x"))*l,k+Number(c.getAttribute("y"))*m);else if("rect"==f)a.rect(g+Number(c.getAttribute("x"))*l,k+Number(c.getAttribute("y"))*m,Number(c.getAttribute("w"))*l,Number(c.getAttribute("h"))*m);else if("roundrect"==f)b=Number(c.getAttribute("arcsize")),0==b&&(b=100*mxConstants.RECTANGLE_ROUNDING_FACTOR),n=Number(c.getAttribute("w"))*l,d=Number(c.getAttribute("h"))*m,b=Number(b)/100,b=Math.min(n*b,d*
- b),a.roundrect(g+Number(c.getAttribute("x"))*l,k+Number(c.getAttribute("y"))*m,n,d,b,b);else if("ellipse"==f)a.ellipse(g+Number(c.getAttribute("x"))*l,k+Number(c.getAttribute("y"))*m,Number(c.getAttribute("w"))*l,Number(c.getAttribute("h"))*m);else if("image"==f)b.outline||(b=this.evaluateAttribute(c,"src",b),a.image(g+Number(c.getAttribute("x"))*l,k+Number(c.getAttribute("y"))*m,Number(c.getAttribute("w"))*l,Number(c.getAttribute("h"))*m,b,!1,"1"==c.getAttribute("flipH"),"1"==c.getAttribute("flipV")));
- else if("text"==f){if(!b.outline){n=this.evaluateTextAttribute(c,"str",b);d="1"==c.getAttribute("vertical")?-90:0;if("0"==c.getAttribute("align-shape")){var p=b.rotation,q=1==mxUtils.getValue(b.style,mxConstants.STYLE_FLIPH,0);b=1==mxUtils.getValue(b.style,mxConstants.STYLE_FLIPV,0);d=q&&b?d-p:q||b?d+p:d-p}d-=c.getAttribute("rotation");a.text(g+Number(c.getAttribute("x"))*l,k+Number(c.getAttribute("y"))*m,0,0,n,c.getAttribute("align")||"left",c.getAttribute("valign")||"top",!1,"",null,!1,d)}}else if("include-shape"==
- f)p=mxStencilRegistry.getStencil(c.getAttribute("name")),null!=p&&(g+=Number(c.getAttribute("x"))*l,k+=Number(c.getAttribute("y"))*m,n=Number(c.getAttribute("w"))*l,d=Number(c.getAttribute("h"))*m,p.drawShape(a,b,g,k,n,d));else if("fillstroke"==f)a.fillAndStroke();else if("fill"==f)a.fill();else if("stroke"==f)a.stroke();else if("strokewidth"==f)l="1"==c.getAttribute("fixed")?1:n,a.setStrokeWidth(Number(c.getAttribute("width"))*l);else if("dashed"==f)a.setDashed("1"==c.getAttribute("dashed"));else if("dashpattern"==
- f){if(c=c.getAttribute("pattern"),null!=c){c=c.split(" ");l=[];for(m=0;m<c.length;m++)0<c[m].length&&l.push(Number(c[m])*n);c=l.join(" ");a.setDashPattern(c)}}else"strokecolor"==f?a.setStrokeColor(c.getAttribute("color")):"linecap"==f?a.setLineCap(c.getAttribute("cap")):"linejoin"==f?a.setLineJoin(c.getAttribute("join")):"miterlimit"==f?a.setMiterLimit(Number(c.getAttribute("limit"))):"fillcolor"==f?a.setFillColor(c.getAttribute("color")):"alpha"==f?a.setAlpha(c.getAttribute("alpha")):"fontcolor"==
- f?a.setFontColor(c.getAttribute("color")):"fontstyle"==f?a.setFontStyle(c.getAttribute("style")):"fontfamily"==f?a.setFontFamily(c.getAttribute("family")):"fontsize"==f&&a.setFontSize(Number(c.getAttribute("size"))*n);!e||"fillstroke"!=f&&"fill"!=f&&"stroke"!=f||a.setShadow(!1)};function mxShape(a){this.stencil=a;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0;mxShape.prototype.bounds=null;mxShape.prototype.points=null;
- mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all";mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.vmlScale=1;mxShape.prototype.outline=!1;mxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;
- mxShape.prototype.init=function(a){null==this.node&&(this.node=this.create(a),null!=a&&a.appendChild(this.node))};mxShape.prototype.initStyles=function(a){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1};mxShape.prototype.isParseVml=function(){return!0};mxShape.prototype.isHtmlAllowed=function(){return!1};
- mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?.5:0};mxShape.prototype.create=function(a){return null!=a&&null!=a.ownerSVGElement?this.createSvg(a):8==document.documentMode||!mxClient.IS_VML||this.dialect!=mxConstants.DIALECT_VML&&this.isHtmlAllowed()?this.createHtml(a):this.createVml(a)};
- mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};mxShape.prototype.createVml=function(){var a=document.createElement(mxClient.VML_PREFIX+":group");a.style.position="absolute";return a};mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxShape.prototype.reconfigure=function(){this.redraw()};
- mxShape.prototype.redraw=function(){this.updateBoundsFromPoints();this.visible&&this.checkBounds()?(this.node.style.visibility="visible",this.clear(),"DIV"!=this.node.nodeName||!this.isHtmlAllowed()&&mxClient.IS_VML?this.redrawShape():this.redrawHtmlShape(),this.updateBoundingBox()):(this.node.style.visibility="hidden",this.boundingBox=null)};
- mxShape.prototype.clear=function(){if(null!=this.node.ownerSVGElement)for(;null!=this.node.lastChild;)this.node.removeChild(this.node.lastChild);else this.node.style.cssText="position:absolute;"+(null!=this.cursor?"cursor:"+this.cursor+";":""),this.node.innerHTML=""};
- mxShape.prototype.updateBoundsFromPoints=function(){var a=this.points;if(null!=a&&0<a.length&&null!=a[0]){this.bounds=new mxRectangle(Number(a[0].x),Number(a[0].y),1,1);for(var b=1;b<this.points.length;b++)null!=a[b]&&this.bounds.add(new mxRectangle(Number(a[b].x),Number(a[b].y),1,1))}};mxShape.prototype.getLabelBounds=function(a){var b=this.getLabelMargins(a);return null!=b?mxUtils.getDirectedBounds(a,b,this.style):a};mxShape.prototype.getLabelMargins=function(a){return null};
- mxShape.prototype.checkBounds=function(){return!isNaN(this.scale)&&isFinite(this.scale)&&0<this.scale&&null!=this.bounds&&!isNaN(this.bounds.x)&&!isNaN(this.bounds.y)&&!isNaN(this.bounds.width)&&!isNaN(this.bounds.height)&&0<this.bounds.width&&0<this.bounds.height};mxShape.prototype.createVmlGroup=function(){var a=document.createElement(mxClient.VML_PREFIX+":group");a.style.position="absolute";a.style.width=this.node.style.width;a.style.height=this.node.style.height;return a};
- mxShape.prototype.redrawShape=function(){var a=this.createCanvas();null!=a&&(a.pointerEvents=this.pointerEvents,this.paint(a),this.node!=a.root&&this.node.insertAdjacentHTML("beforeend",a.root.outerHTML),"DIV"==this.node.nodeName&&8==document.documentMode&&(this.node.style.filter="",mxUtils.addTransparentBackgroundFilter(this.node)),this.destroyCanvas(a))};
- mxShape.prototype.createCanvas=function(){var a=null;null!=this.node.ownerSVGElement?a=this.createSvgCanvas():mxClient.IS_VML&&(this.updateVmlContainer(),a=this.createVmlCanvas());null!=a&&this.outline&&(a.setStrokeWidth(this.strokewidth),a.setStrokeColor(this.stroke),null!=this.isDashed&&a.setDashed(this.isDashed),a.setStrokeWidth=function(){},a.setStrokeColor=function(){},a.setFillColor=function(){},a.setGradient=function(){},a.setDashed=function(){});return a};
- mxShape.prototype.createSvgCanvas=function(){var a=new mxSvgCanvas2D(this.node,!1);a.strokeTolerance=this.pointerEvents?this.svgStrokeTolerance:0;a.pointerEventsValue=this.svgPointerEvents;a.blockImagePointerEvents=mxClient.IS_FF;var b=this.getSvgScreenOffset();0!=b?this.node.setAttribute("transform","translate("+b+","+b+")"):this.node.removeAttribute("transform");this.antiAlias||(a.format=function(a){return Math.round(parseFloat(a))});return a};
- mxShape.prototype.createVmlCanvas=function(){var a=8==document.documentMode&&this.isParseVml()?this.createVmlGroup():this.node,b=new mxVmlCanvas2D(a,!1);""!=a.tagUrn&&(a.coordsize=Math.max(1,Math.round(this.bounds.width))*this.vmlScale+","+Math.max(1,Math.round(this.bounds.height))*this.vmlScale,b.scale(this.vmlScale),b.vmlScale=this.vmlScale);a=this.scale;b.translate(-Math.round(this.bounds.x/a),-Math.round(this.bounds.y/a));return b};
- mxShape.prototype.updateVmlContainer=function(){this.node.style.left=Math.round(this.bounds.x)+"px";this.node.style.top=Math.round(this.bounds.y)+"px";var a=Math.max(1,Math.round(this.bounds.height));this.node.style.width=Math.max(1,Math.round(this.bounds.width))+"px";this.node.style.height=a+"px";this.node.style.overflow="visible"};mxShape.prototype.redrawHtmlShape=function(){this.updateHtmlBounds(this.node);this.updateHtmlFilters(this.node);this.updateHtmlColors(this.node)};
- mxShape.prototype.updateHtmlFilters=function(a){var b="";100>this.opacity&&(b+="alpha(opacity="+this.opacity+")");this.isShadow&&(b+="progid:DXImageTransform.Microsoft.dropShadow (OffX='"+Math.round(mxConstants.SHADOW_OFFSET_X*this.scale)+"', OffY='"+Math.round(mxConstants.SHADOW_OFFSET_Y*this.scale)+"', Color='"+mxConstants.VML_SHADOWCOLOR+"')");if(null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE){var c=this.fill,d=this.gradient,e="0",f={east:0,south:1,
- west:2,north:3},g=null!=this.direction?f[this.direction]:0;null!=this.gradientDirection&&(g=mxUtils.mod(g+f[this.gradientDirection]-1,4));1==g?(e="1",f=c,c=d,d=f):2==g?(f=c,c=d,d=f):3==g&&(e="1");b+="progid:DXImageTransform.Microsoft.gradient(startColorStr='"+c+"', endColorStr='"+d+"', gradientType='"+e+"')"}a.style.filter=b};
- mxShape.prototype.updateHtmlColors=function(a){var b=this.stroke;null!=b&&b!=mxConstants.NONE?(a.style.borderColor=b,this.isDashed?a.style.borderStyle="dashed":0<this.strokewidth&&(a.style.borderStyle="solid"),a.style.borderWidth=Math.max(1,Math.ceil(this.strokewidth*this.scale))+"px"):a.style.borderWidth="0px";b=this.outline?null:this.fill;null!=b&&b!=mxConstants.NONE?(a.style.backgroundColor=b,a.style.backgroundImage="none"):this.pointerEvents?a.style.backgroundColor="transparent":8==document.documentMode?
- mxUtils.addTransparentBackgroundFilter(a):this.setTransparentBackgroundImage(a)};
- mxShape.prototype.updateHtmlBounds=function(a){var b=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1,b)+"px";a.style.overflow="hidden";a.style.left=Math.round(this.bounds.x-b/2)+"px";a.style.top=Math.round(this.bounds.y-b/2)+"px";"CSS1Compat"==document.compatMode&&(b=-b);a.style.width=Math.round(Math.max(0,this.bounds.width+b))+"px";a.style.height=Math.round(Math.max(0,this.bounds.height+b))+"px"};
- mxShape.prototype.destroyCanvas=function(a){if(a instanceof mxSvgCanvas2D){for(var b in a.gradients){var c=a.gradients[b];null!=c&&(c.mxRefCount=(c.mxRefCount||0)+1)}this.releaseSvgGradients(this.oldGradients);this.oldGradients=a.gradients}};
- mxShape.prototype.paint=function(a){var b=this.scale,c=this.bounds.x/b,d=this.bounds.y/b,e=this.bounds.width/b,f=this.bounds.height/b;if(this.isPaintBoundsInverted())var g=(e-f)/2,c=c+g,d=d-g,g=e,e=f,f=g;this.updateTransform(a,c,d,e,f);this.configureCanvas(a,c,d,e,f);g=null;if(null==this.stencil&&null==this.points&&this.shapePointerEvents||null!=this.stencil&&this.stencilPointerEvents){var k=this.createBoundingBox();this.dialect==mxConstants.DIALECT_SVG?(g=this.createTransparentSvgRectangle(k.x,k.y,
- k.width,k.height),this.node.appendChild(g)):(k=a.createRect("rect",k.x/b,k.y/b,k.width/b,k.height/b),k.appendChild(a.createTransparentFill()),k.stroked="false",a.root.appendChild(k))}if(null!=this.stencil)this.stencil.drawShape(a,this,c,d,e,f);else if(a.setStrokeWidth(this.strokewidth),null!=this.points){c=[];for(d=0;d<this.points.length;d++)null!=this.points[d]&&c.push(new mxPoint(this.points[d].x/b,this.points[d].y/b));this.paintEdgeShape(a,c)}else this.paintVertexShape(a,c,d,e,f);null!=g&&null!=
- a.state&&null!=a.state.transform&&g.setAttribute("transform",a.state.transform)};
- mxShape.prototype.configureCanvas=function(a,b,c,d,e){var f=null;null!=this.style&&(f=this.style.dashPattern);a.setAlpha(this.opacity/100);a.setFillAlpha(this.fillOpacity/100);a.setStrokeAlpha(this.strokeOpacity/100);null!=this.isShadow&&a.setShadow(this.isShadow);null!=this.isDashed&&a.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);null!=f&&a.setDashPattern(f);null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?
- (b=this.getGradientBounds(a,b,c,d,e),a.setGradient(this.fill,this.gradient,b.x,b.y,b.width,b.height,this.gradientDirection)):a.setFillColor(this.fill);a.setStrokeColor(this.stroke)};mxShape.prototype.getGradientBounds=function(a,b,c,d,e){return new mxRectangle(b,c,d,e)};mxShape.prototype.updateTransform=function(a,b,c,d,e){a.scale(this.scale);a.rotate(this.getShapeRotation(),this.flipH,this.flipV,b+d/2,c+e/2)};
- mxShape.prototype.paintVertexShape=function(a,b,c,d,e){this.paintBackground(a,b,c,d,e);a.setShadow(!1);this.paintForeground(a,b,c,d,e)};mxShape.prototype.paintBackground=function(a,b,c,d,e){};mxShape.prototype.paintForeground=function(a,b,c,d,e){};mxShape.prototype.paintEdgeShape=function(a,b){};mxShape.prototype.getArcSize=function(a,b){var c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;return Math.min(a*c,b*c)};
- mxShape.prototype.paintGlassEffect=function(a,b,c,d,e,f){var g=Math.ceil(this.strokewidth/2);a.setGradient("#ffffff","#ffffff",b,c,d,.6*e,"south",.9,.1);a.begin();f+=2*g;this.isRounded?(a.moveTo(b-g+f,c-g),a.quadTo(b-g,c-g,b-g,c-g+f),a.lineTo(b-g,c+.4*e),a.quadTo(b+.5*d,c+.7*e,b+d+g,c+.4*e),a.lineTo(b+d+g,c-g+f),a.quadTo(b+d+g,c-g,b+d+g-f,c-g)):(a.moveTo(b-g,c-g),a.lineTo(b-g,c+.4*e),a.quadTo(b+.5*d,c+.7*e,b+d+g,c+.4*e),a.lineTo(b+d+g,c-g));a.close();a.fill()};
- mxShape.prototype.addPoints=function(a,b,c,d,e,f){var g=b[b.length-1];if(e&&c){b=b.slice();var k=b[0],k=new mxPoint(g.x+(k.x-g.x)/2,g.y+(k.y-g.y)/2);b.splice(0,0,k)}var l=b[0],k=1;for(a.moveTo(l.x,l.y);k<(e?b.length:b.length-1);){var m=b[mxUtils.mod(k,b.length)],n=l.x-m.x,l=l.y-m.y;if(c&&(0!=n||0!=l)&&(null==f||0>mxUtils.indexOf(f,k-1))){var p=Math.sqrt(n*n+l*l);a.lineTo(m.x+n*Math.min(d,p/2)/p,m.y+l*Math.min(d,p/2)/p);for(l=b[mxUtils.mod(k+1,b.length)];k<b.length-2&&0==Math.round(l.x-m.x)&&0==Math.round(l.y-
- m.y);)l=b[mxUtils.mod(k+2,b.length)],k++;n=l.x-m.x;l=l.y-m.y;p=Math.max(1,Math.sqrt(n*n+l*l));n=m.x+n*Math.min(d,p/2)/p;l=m.y+l*Math.min(d,p/2)/p;a.quadTo(m.x,m.y,n,l);m=new mxPoint(n,l)}else a.lineTo(m.x,m.y);l=m;k++}e?a.close():a.lineTo(g.x,g.y)};
- mxShape.prototype.resetStyles=function(){this.initStyles();this.spacing=0;delete this.fill;delete this.gradient;delete this.gradientDirection;delete this.stroke;delete this.startSize;delete this.endSize;delete this.startArrow;delete this.endArrow;delete this.direction;delete this.isShadow;delete this.isDashed;delete this.isRounded;delete this.glass};
- mxShape.prototype.apply=function(a){this.state=a;this.style=a.style;if(null!=this.style){this.fill=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,this.fill);this.gradient=mxUtils.getValue(this.style,mxConstants.STYLE_GRADIENTCOLOR,this.gradient);this.gradientDirection=mxUtils.getValue(this.style,mxConstants.STYLE_GRADIENT_DIRECTION,this.gradientDirection);this.opacity=mxUtils.getValue(this.style,mxConstants.STYLE_OPACITY,this.opacity);this.fillOpacity=mxUtils.getValue(this.style,mxConstants.STYLE_FILL_OPACITY,
- this.fillOpacity);this.strokeOpacity=mxUtils.getValue(this.style,mxConstants.STYLE_STROKE_OPACITY,this.strokeOpacity);this.stroke=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,this.stroke);this.strokewidth=mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth);this.spacing=mxUtils.getValue(this.style,mxConstants.STYLE_SPACING,this.spacing);this.startSize=mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,this.startSize);this.endSize=mxUtils.getNumber(this.style,
- mxConstants.STYLE_ENDSIZE,this.endSize);this.startArrow=mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,this.startArrow);this.endArrow=mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,this.endArrow);this.rotation=mxUtils.getValue(this.style,mxConstants.STYLE_ROTATION,this.rotation);this.direction=mxUtils.getValue(this.style,mxConstants.STYLE_DIRECTION,this.direction);this.flipH=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPH,0);this.flipV=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPV,
- 0);null!=this.stencil&&(this.flipH=1==mxUtils.getValue(this.style,"stencilFlipH",0)||this.flipH,this.flipV=1==mxUtils.getValue(this.style,"stencilFlipV",0)||this.flipV);if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)a=this.flipH,this.flipH=this.flipV,this.flipV=a;this.isShadow=1==mxUtils.getValue(this.style,mxConstants.STYLE_SHADOW,this.isShadow);this.isDashed=1==mxUtils.getValue(this.style,mxConstants.STYLE_DASHED,this.isDashed);this.isRounded=1==mxUtils.getValue(this.style,
- mxConstants.STYLE_ROUNDED,this.isRounded);this.glass=1==mxUtils.getValue(this.style,mxConstants.STYLE_GLASS,this.glass);this.fill==mxConstants.NONE&&(this.fill=null);this.gradient==mxConstants.NONE&&(this.gradient=null);this.stroke==mxConstants.NONE&&(this.stroke=null)}};mxShape.prototype.setCursor=function(a){null==a&&(a="");this.cursor=a;null!=this.node&&(this.node.style.cursor=a)};mxShape.prototype.getCursor=function(){return this.cursor};
- mxShape.prototype.updateBoundingBox=function(){if(this.useSvgBoundingBox&&null!=this.node&&null!=this.node.ownerSVGElement)try{var a=this.node.getBBox();if(0<a.width&&0<a.height){this.boundingBox=new mxRectangle(a.x,a.y,a.width,a.height);this.boundingBox.grow(this.strokewidth*this.scale/2);return}}catch(c){}if(null!=this.bounds){a=this.createBoundingBox();if(null!=a){this.augmentBoundingBox(a);var b=this.getShapeRotation();0!=b&&(a=mxUtils.getBoundingBox(a,b))}this.boundingBox=a}};
- mxShape.prototype.createBoundingBox=function(){var a=this.bounds.clone();(null!=this.stencil&&(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)||this.isPaintBoundsInverted())&&a.rotate90();return a};mxShape.prototype.augmentBoundingBox=function(a){this.isShadow&&(a.width+=Math.ceil(mxConstants.SHADOW_OFFSET_X*this.scale),a.height+=Math.ceil(mxConstants.SHADOW_OFFSET_Y*this.scale));a.grow(this.strokewidth*this.scale/2)};
- mxShape.prototype.isPaintBoundsInverted=function(){return null==this.stencil&&(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)};mxShape.prototype.getRotation=function(){return null!=this.rotation?this.rotation:0};mxShape.prototype.getTextRotation=function(){var a=this.getRotation();1!=mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,1)&&(a+=mxText.prototype.verticalTextRotation);return a};
- mxShape.prototype.getShapeRotation=function(){var a=this.getRotation();null!=this.direction&&(this.direction==mxConstants.DIRECTION_NORTH?a+=270:this.direction==mxConstants.DIRECTION_WEST?a+=180:this.direction==mxConstants.DIRECTION_SOUTH&&(a+=90));return a};
- mxShape.prototype.createTransparentSvgRectangle=function(a,b,c,d){var e=document.createElementNS(mxConstants.NS_SVG,"rect");e.setAttribute("x",a);e.setAttribute("y",b);e.setAttribute("width",c);e.setAttribute("height",d);e.setAttribute("fill","none");e.setAttribute("stroke","none");e.setAttribute("pointer-events","all");return e};mxShape.prototype.setTransparentBackgroundImage=function(a){a.style.backgroundImage="url('"+mxClient.imageBasePath+"/transparent.gif')"};
- mxShape.prototype.releaseSvgGradients=function(a){if(null!=a)for(var b in a){var c=a[b];null!=c&&(c.mxRefCount=(c.mxRefCount||0)-1,0==c.mxRefCount&&null!=c.parentNode&&c.parentNode.removeChild(c))}};mxShape.prototype.destroy=function(){null!=this.node&&(mxEvent.release(this.node),null!=this.node.parentNode&&this.node.parentNode.removeChild(this.node),this.node=null);this.releaseSvgGradients(this.oldGradients);this.oldGradients=null};
- var mxStencilRegistry={stencils:{},addStencil:function(a,b){mxStencilRegistry.stencils[a]=b},getStencil:function(a){return mxStencilRegistry.stencils[a]}},mxMarker={markers:[],addMarker:function(a,b){mxMarker.markers[a]=b},createMarker:function(a,b,c,d,e,f,g,k,l,m){var n=mxMarker.markers[c];return null!=n?n(a,b,c,d,e,f,g,k,l,m):null}};
- (function(){function a(a){a=null!=a?a:2;return function(b,c,d,k,l,m,n,p,q,r){c=l*q*1.118;p=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=p;n=d!=mxConstants.ARROW_CLASSIC&&d!=mxConstants.ARROW_CLASSIC_THIN?1:.75;k.x+=-l*n-c;k.y+=-m*n-p;return function(){b.begin();b.moveTo(e.x,e.y);b.lineTo(e.x-l-m/a,e.y-m+l/a);d!=mxConstants.ARROW_CLASSIC&&d!=mxConstants.ARROW_CLASSIC_THIN||b.lineTo(e.x-3*l/4,e.y-3*m/4);b.lineTo(e.x+m/a-l,e.y-m-l/a);b.close();r?b.fillAndStroke():b.stroke()}}}function b(a){a=
- null!=a?a:2;return function(b,c,d,k,l,m,n,p,q,r){c=l*q*1.118;d=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=d;k.x+=2*-c;k.y+=2*-d;return function(){b.begin();b.moveTo(e.x-l-m/a,e.y-m+l/a);b.lineTo(e.x,e.y);b.lineTo(e.x+m/a-l,e.y-m-l/a);b.stroke()}}}function c(a,b,c,g,k,l,m,n,p,q){n=c==mxConstants.ARROW_DIAMOND?.7071:.9862;b=k*p*n;n*=l*p;k*=m+p;l*=m+p;var d=g.clone();d.x-=b;d.y-=n;g.x+=-k-b;g.y+=-l-n;var e=c==mxConstants.ARROW_DIAMOND?2:3.4;return function(){a.begin();a.moveTo(d.x,d.y);a.lineTo(d.x-
- k/2-l/e,d.y+k/e-l/2);a.lineTo(d.x-k,d.y-l);a.lineTo(d.x-k/2+l/e,d.y-l/2-k/e);a.close();q?a.fillAndStroke():a.stroke()}}mxMarker.addMarker("classic",a(2));mxMarker.addMarker("classicThin",a(3));mxMarker.addMarker("block",a(2));mxMarker.addMarker("blockThin",a(3));mxMarker.addMarker("open",b(2));mxMarker.addMarker("openThin",b(3));mxMarker.addMarker("oval",function(a,b,c,g,k,l,m,n,p,q){var d=m/2,e=g.clone();g.x-=k*d;g.y-=l*d;return function(){a.ellipse(e.x-d,e.y-d,m,m);q?a.fillAndStroke():a.stroke()}});
- mxMarker.addMarker("diamond",c);mxMarker.addMarker("diamondThin",c)})();function mxActor(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxActor,mxShape);mxActor.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);a.begin();this.redrawPath(a,b,c,d,e);a.fillAndStroke()};
- mxActor.prototype.redrawPath=function(a,b,c,d,e){b=d/3;a.moveTo(0,e);a.curveTo(0,3*e/5,0,2*e/5,d/2,2*e/5);a.curveTo(d/2-b,2*e/5,d/2-b,0,d/2,0);a.curveTo(d/2+b,0,d/2+b,2*e/5,d/2,2*e/5);a.curveTo(d,2*e/5,d,3*e/5,d,e);a.close()};function mxCloud(a,b,c,d){mxActor.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxCloud,mxActor);
- mxCloud.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(.25*d,.25*e);a.curveTo(.05*d,.25*e,0,.5*e,.16*d,.55*e);a.curveTo(0,.66*e,.18*d,.9*e,.31*d,.8*e);a.curveTo(.4*d,e,.7*d,e,.8*d,.8*e);a.curveTo(d,.8*e,d,.6*e,.875*d,.5*e);a.curveTo(d,.3*e,.8*d,.1*e,.625*d,.2*e);a.curveTo(.5*d,.05*e,.3*d,.05*e,.25*d,.25*e);a.close()};function mxRectangleShape(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxRectangleShape,mxShape);
- mxRectangleShape.prototype.isHtmlAllowed=function(){var a=!0;null!=this.style&&(a="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));return!this.isRounded&&!this.glass&&0==this.rotation&&(a||null!=this.fill&&this.fill!=mxConstants.NONE)};
- mxRectangleShape.prototype.paintBackground=function(a,b,c,d,e){var f=!0;null!=this.style&&(f="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(f||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)f||null!=this.fill&&this.fill!=mxConstants.NONE||(a.pointerEvents=!1),this.isRounded?(f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.min(d*f,e*f),a.roundrect(b,c,d,e,f,f)):
- a.rect(b,c,d,e),a.fillAndStroke()};mxRectangleShape.prototype.paintForeground=function(a,b,c,d,e){this.glass&&!this.outline&&null!=this.fill&&this.fill!=mxConstants.NONE&&this.paintGlassEffect(a,b,c,d,e,this.getArcSize(d+this.strokewidth,e+this.strokewidth))};function mxEllipse(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxEllipse,mxShape);mxEllipse.prototype.paintVertexShape=function(a,b,c,d,e){a.ellipse(b,c,d,e);a.fillAndStroke()};
- function mxDoubleEllipse(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxDoubleEllipse,mxShape);mxDoubleEllipse.prototype.vmlScale=10;mxDoubleEllipse.prototype.paintBackground=function(a,b,c,d,e){a.ellipse(b,c,d,e);a.fillAndStroke()};
- mxDoubleEllipse.prototype.paintForeground=function(a,b,c,d,e){if(!this.outline){var f=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(d/5,e/5)));d-=2*f;e-=2*f;0<d&&0<e&&a.ellipse(b+f,c+f,d,e);a.stroke()}};
- mxDoubleEllipse.prototype.getLabelBounds=function(a){var b=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(a.width/5/this.scale,a.height/5/this.scale)))*this.scale;return new mxRectangle(a.x+b,a.y+b,a.width-2*b,a.height-2*b)};function mxRhombus(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxRhombus,mxShape);
- mxRhombus.prototype.paintVertexShape=function(a,b,c,d,e){var f=d/2,g=e/2,k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.begin();this.addPoints(a,[new mxPoint(b+f,c),new mxPoint(b+d,c+g),new mxPoint(b+f,c+e),new mxPoint(b,c+g)],this.isRounded,k,!0);a.fillAndStroke()};function mxPolyline(a,b,c){mxShape.call(this);this.points=a;this.stroke=b;this.strokewidth=null!=c?c:1}mxUtils.extend(mxPolyline,mxShape);mxPolyline.prototype.getRotation=function(){return 0};
- mxPolyline.prototype.getShapeRotation=function(){return 0};mxPolyline.prototype.isPaintBoundsInverted=function(){return!1};mxPolyline.prototype.paintEdgeShape=function(a,b){null==this.style||1!=this.style[mxConstants.STYLE_CURVED]?this.paintLine(a,b,this.isRounded):this.paintCurvedLine(a,b)};mxPolyline.prototype.paintLine=function(a,b,c){var d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.begin();this.addPoints(a,b,c,d,!1);a.stroke()};
- mxPolyline.prototype.paintCurvedLine=function(a,b){a.begin();var c=b[0],d=b.length;a.moveTo(c.x,c.y);for(c=1;c<d-2;c++){var e=b[c],f=b[c+1];a.quadTo(e.x,e.y,(e.x+f.x)/2,(e.y+f.y)/2)}e=b[d-2];f=b[d-1];a.quadTo(e.x,e.y,f.x,f.y);a.stroke()};
- function mxArrow(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1;this.arrowWidth=null!=e?e:mxConstants.ARROW_WIDTH;this.spacing=null!=f?f:mxConstants.ARROW_SPACING;this.endSize=null!=g?g:mxConstants.ARROW_SIZE}mxUtils.extend(mxArrow,mxShape);mxArrow.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);a.grow((Math.max(this.arrowWidth,this.endSize)/2+this.strokewidth)*this.scale)};
- mxArrow.prototype.paintEdgeShape=function(a,b){var c=mxConstants.ARROW_SPACING,d=mxConstants.ARROW_WIDTH,e=b[0],f=b[b.length-1],g=f.x-e.x,k=f.y-e.y,l=Math.sqrt(g*g+k*k),m=l-2*c-mxConstants.ARROW_SIZE,g=g/l,k=k/l,l=d*k/3,d=-d*g/3,n=e.x-l/2+c*g,e=e.y-d/2+c*k,p=n+l,q=e+d,r=p+m*g,m=q+m*k,t=r+l,u=m+d,x=t-3*l,y=u-3*d;a.begin();a.moveTo(n,e);a.lineTo(p,q);a.lineTo(r,m);a.lineTo(t,u);a.lineTo(f.x-c*g,f.y-c*k);a.lineTo(x,y);a.lineTo(x+l,y+d);a.close();a.fillAndStroke()};
- function mxArrowConnector(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1;this.arrowWidth=null!=e?e:mxConstants.ARROW_WIDTH;this.arrowSpacing=null!=f?f:mxConstants.ARROW_SPACING;this.startSize=mxConstants.ARROW_SIZE/5;this.endSize=mxConstants.ARROW_SIZE/5}mxUtils.extend(mxArrowConnector,mxShape);mxArrowConnector.prototype.useSvgBoundingBox=!0;
- mxArrowConnector.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.arrowSpacing=mxConstants.ARROW_SPACING};mxArrowConnector.prototype.apply=function(a){mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.startSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5),this.endSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5))};
- mxArrowConnector.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var b=this.getEdgeWidth();this.isMarkerStart()&&(b=Math.max(b,this.getStartArrowWidth()));this.isMarkerEnd()&&(b=Math.max(b,this.getEndArrowWidth()));a.grow((b/2+this.strokewidth)*this.scale)};
- mxArrowConnector.prototype.paintEdgeShape=function(a,b){var c=this.strokewidth;this.outline&&(c=Math.max(1,mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth)));for(var d=this.getStartArrowWidth()+c,e=this.getEndArrowWidth()+c,f=this.outline?this.getEdgeWidth()+c:this.getEdgeWidth(),g=this.isOpenEnded(),k=this.isMarkerStart(),l=this.isMarkerEnd(),m=g?0:this.arrowSpacing+c/2,n=this.startSize+c,c=this.endSize+c,p=this.isArrowRounded(),q=b[b.length-1],r=1;r<b.length-1&&b[r].x==
- b[0].x&&b[r].y==b[0].y;)r++;var t=b[r].x-b[0].x,r=b[r].y-b[0].y,u=Math.sqrt(t*t+r*r);if(0!=u){var x=t/u,y,A=x,z=r/u,v,B=z,u=f*z,C=-f*x,F=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();t=x;r=z;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,z,n,d,f,m,!0);else{y=b[0].x+u/2+m*x;v=b[0].y+C/2+m*z;var D=b[0].x-u/2+m*x,I=b[0].y-C/2+m*z;g?(a.moveTo(y,v),F.push(function(){a.lineTo(D,I)})):(a.moveTo(D,I),a.lineTo(y,v))}for(var E=v=y=0,u=0;u<b.length-2;u++)if(C=mxUtils.relativeCcw(b[u].x,
- b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),y=b[u+2].x-b[u+1].x,v=b[u+2].y-b[u+1].y,E=Math.sqrt(y*y+v*v),0!=E&&(A=y/E,B=v/E,tmp=Math.max(Math.sqrt((x*A+z*B+1)/2),.04),y=x+A,v=z+B,E=Math.sqrt(y*y+v*v),0!=E)){y/=E;v/=E;var E=Math.max(tmp,Math.min(this.strokewidth/200+.04,.35)),E=0!=C&&p?Math.max(.1,E):Math.max(tmp,.06),G=b[u+1].x+v*f/2/E,H=b[u+1].y-y*f/2/E;v=b[u+1].x-v*f/2/E;y=b[u+1].y+y*f/2/E;0!=C&&p?-1==C?(C=v+B*f,E=y-A*f,a.lineTo(v+z*f,y-x*f),a.quadTo(G,H,C,E),function(b,c){F.push(function(){a.lineTo(b,
- c)})}(v,y)):(a.lineTo(G,H),function(b,c){var d=G-z*f,e=H+x*f,g=G-B*f,k=H+A*f;F.push(function(){a.quadTo(b,c,d,e)});F.push(function(){a.lineTo(g,k)})}(v,y)):(a.lineTo(G,H),function(b,c){F.push(function(){a.lineTo(b,c)})}(v,y));x=A;z=B}u=f*B;C=-f*A;if(l&&!g)this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!1);else{a.lineTo(q.x-m*A+u/2,q.y-m*B+C/2);var J=q.x-m*A-u/2,K=q.y-m*B-C/2;g?(a.moveTo(J,K),F.splice(0,0,function(){a.moveTo(J,K)})):a.lineTo(J,K)}for(u=F.length-1;0<=u;u--)F[u]();g?(a.end(),a.stroke()):(a.close(),
- a.fillAndStroke());a.setShadow(!1);a.setMiterLimit(4);p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,t,r,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!0),a.stroke(),a.end()))}};
- mxArrowConnector.prototype.paintMarker=function(a,b,c,d,e,f,g,k,l,m){g=k/g;var n=k*e/2;k=-k*d/2;var p=(l+f)*d;f=(l+f)*e;m?a.moveTo(b-n+p,c-k+f):a.lineTo(b-n+p,c-k+f);a.lineTo(b-n/g+p,c-k/g+f);a.lineTo(b+l*d,c+l*e);a.lineTo(b+n/g+p,c+k/g+f);a.lineTo(b+n+p,c+k+f)};mxArrowConnector.prototype.isArrowRounded=function(){return this.isRounded};mxArrowConnector.prototype.getStartArrowWidth=function(){return mxConstants.ARROW_WIDTH};mxArrowConnector.prototype.getEndArrowWidth=function(){return mxConstants.ARROW_WIDTH};
- mxArrowConnector.prototype.getEdgeWidth=function(){return mxConstants.ARROW_WIDTH/3};mxArrowConnector.prototype.isOpenEnded=function(){return!1};mxArrowConnector.prototype.isMarkerStart=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE};mxArrowConnector.prototype.isMarkerEnd=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE};
- function mxText(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t,u,x,y,A,z,v){mxShape.call(this);this.value=a;this.bounds=b;this.color=null!=e?e:"black";this.align=null!=c?c:mxConstants.ALIGN_CENTER;this.valign=null!=d?d:mxConstants.ALIGN_MIDDLE;this.family=null!=f?f:mxConstants.DEFAULT_FONTFAMILY;this.size=null!=g?g:mxConstants.DEFAULT_FONTSIZE;this.fontStyle=null!=k?k:mxConstants.DEFAULT_FONTSTYLE;this.spacing=parseInt(l||2);this.spacingTop=this.spacing+parseInt(m||0);this.spacingRight=this.spacing+parseInt(n||0);
- this.spacingBottom=this.spacing+parseInt(p||0);this.spacingLeft=this.spacing+parseInt(q||0);this.horizontal=null!=r?r:!0;this.background=t;this.border=u;this.wrap=null!=x?x:!1;this.clipped=null!=y?y:!1;this.overflow=null!=A?A:"visible";this.labelPadding=null!=z?z:0;this.textDirection=v;this.rotation=0;this.updateMargin()}mxUtils.extend(mxText,mxShape);mxText.prototype.baseSpacingTop=0;mxText.prototype.baseSpacingBottom=0;mxText.prototype.baseSpacingLeft=0;mxText.prototype.baseSpacingRight=0;
- mxText.prototype.replaceLinefeeds=!0;mxText.prototype.verticalTextRotation=-90;mxText.prototype.ignoreClippedStringSize=!0;mxText.prototype.ignoreStringSize=!1;mxText.prototype.textWidthPadding=8!=document.documentMode||mxClient.IS_EM?3:4;mxText.prototype.lastValue=null;mxText.prototype.cacheEnabled=!0;mxText.prototype.isParseVml=function(){return!1};mxText.prototype.isHtmlAllowed=function(){return 8!=document.documentMode||mxClient.IS_EM};mxText.prototype.getSvgScreenOffset=function(){return 0};
- mxText.prototype.checkBounds=function(){return!isNaN(this.scale)&&isFinite(this.scale)&&0<this.scale&&null!=this.bounds&&!isNaN(this.bounds.x)&&!isNaN(this.bounds.y)&&!isNaN(this.bounds.width)&&!isNaN(this.bounds.height)};
- mxText.prototype.paint=function(a,b){var c=this.scale,d=this.bounds.x/c,e=this.bounds.y/c,f=this.bounds.width/c,c=this.bounds.height/c;this.updateTransform(a,d,e,f,c);this.configureCanvas(a,d,e,f,c);var g=null!=this.state?this.state.unscaledWidth:null;if(b)null==this.node.firstChild||null!=g&&this.lastUnscaledWidth==g||a.invalidateCachedOffsetSize(this.node),a.updateText(d,e,f,c,this.align,this.valign,this.wrap,this.overflow,this.clipped,this.getTextRotation(),this.node);else{var k=mxUtils.isNode(this.value)||
- this.dialect==mxConstants.DIALECT_STRICTHTML,l=k||a instanceof mxVmlCanvas2D?"html":"",m=this.value;k||"html"!=l||(m=mxUtils.htmlEntities(m,!1));"html"!=l||mxUtils.isNode(this.value)||(m=mxUtils.replaceTrailingNewlines(m,"<div><br></div>"));var m=!mxUtils.isNode(this.value)&&this.replaceLinefeeds&&"html"==l?m.replace(/\n/g,"<br/>"):m,n=this.textDirection;n!=mxConstants.TEXT_DIRECTION_AUTO||k||(n=this.getAutoDirection());n!=mxConstants.TEXT_DIRECTION_LTR&&n!=mxConstants.TEXT_DIRECTION_RTL&&(n=null);
- a.text(d,e,f,c,m,this.align,this.valign,this.wrap,l,this.overflow,this.clipped,this.getTextRotation(),n)}this.lastUnscaledWidth=g};
- mxText.prototype.redraw=function(){if(this.visible&&this.checkBounds()&&this.cacheEnabled&&this.lastValue==this.value&&(mxUtils.isNode(this.value)||this.dialect==mxConstants.DIALECT_STRICTHTML))if("DIV"!=this.node.nodeName||!this.isHtmlAllowed()&&mxClient.IS_VML){var a=this.createCanvas();null!=a&&null!=a.updateText&&null!=a.invalidateCachedOffsetSize?(this.paint(a,!0),this.destroyCanvas(a),this.updateBoundingBox()):mxShape.prototype.redraw.apply(this,arguments)}else this.updateSize(this.node,null==
- this.state||null==this.state.view.textDiv),mxClient.IS_IE&&(null==document.documentMode||8>=document.documentMode)?this.updateHtmlFilter():this.updateHtmlTransform(),this.updateBoundingBox();else mxShape.prototype.redraw.apply(this,arguments),mxUtils.isNode(this.value)||this.dialect==mxConstants.DIALECT_STRICTHTML?this.lastValue=this.value:this.lastValue=null};
- mxText.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.color="black";this.align=mxConstants.ALIGN_CENTER;this.valign=mxConstants.ALIGN_MIDDLE;this.family=mxConstants.DEFAULT_FONTFAMILY;this.size=mxConstants.DEFAULT_FONTSIZE;this.fontStyle=mxConstants.DEFAULT_FONTSTYLE;this.spacingLeft=this.spacingBottom=this.spacingRight=this.spacingTop=this.spacing=2;this.horizontal=!0;delete this.background;delete this.border;this.textDirection=mxConstants.DEFAULT_TEXT_DIRECTION;
- delete this.margin};
- mxText.prototype.apply=function(a){var b=this.spacing;mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.fontStyle=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,this.fontStyle),this.family=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,this.family),this.size=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,this.size),this.color=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,this.color),this.align=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,
- this.align),this.valign=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,this.valign),this.spacing=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING,this.spacing)),this.spacingTop=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_TOP,this.spacingTop-b))+this.spacing,this.spacingRight=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_RIGHT,this.spacingRight-b))+this.spacing,this.spacingBottom=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_BOTTOM,
- this.spacingBottom-b))+this.spacing,this.spacingLeft=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_LEFT,this.spacingLeft-b))+this.spacing,this.horizontal=mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,this.horizontal),this.background=mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,this.background),this.border=mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_BORDERCOLOR,this.border),this.textDirection=mxUtils.getValue(this.style,mxConstants.STYLE_TEXT_DIRECTION,
- mxConstants.DEFAULT_TEXT_DIRECTION),this.opacity=mxUtils.getValue(this.style,mxConstants.STYLE_TEXT_OPACITY,100),this.updateMargin());this.flipH=this.flipV=null};mxText.prototype.getAutoDirection=function(){var a=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(this.value);return null!=a&&0<a.length&&"z"<a[0]?mxConstants.TEXT_DIRECTION_RTL:mxConstants.TEXT_DIRECTION_LTR};
- mxText.prototype.updateBoundingBox=function(){var a=this.node;this.boundingBox=this.bounds.clone();var b=this.getTextRotation(),c=null!=this.style?mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER):null,d=null!=this.style?mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE):null;if(!(this.ignoreStringSize||null==a||"fill"==this.overflow||this.clipped&&this.ignoreClippedStringSize&&c==mxConstants.ALIGN_CENTER&&d==mxConstants.ALIGN_MIDDLE)){d=
- c=null;if(null!=a.ownerSVGElement)if(null!=a.firstChild&&null!=a.firstChild.firstChild&&"foreignObject"==a.firstChild.firstChild.nodeName)a=a.firstChild.firstChild,c=parseInt(a.getAttribute("width"))*this.scale,d=parseInt(a.getAttribute("height"))*this.scale;else try{var e=a.getBBox();"string"==typeof this.value&&0==mxUtils.trim(this.value)?this.boundingBox=null:this.boundingBox=0==e.width&&0==e.height?null:new mxRectangle(e.x,e.y,e.width,e.height);return}catch(f){}else{c=null!=this.state?this.state.view.textDiv:
- null;if(null==this.offsetWidth||null==this.offsetHeight)null!=c&&(this.updateFont(c),this.updateSize(c,!1),this.updateInnerHtml(c),a=c),e=a,8!=document.documentMode||mxClient.IS_EM?null!=e.firstChild&&"DIV"==e.firstChild.nodeName&&(e=e.firstChild):(d=Math.round(this.bounds.width/this.scale),this.wrap&&0<d?(a.style.wordWrap=mxConstants.WORD_WRAP,a.style.whiteSpace="normal","break-word"!=a.style.wordWrap&&(a=e.getElementsByTagName("div"),0<a.length&&(e=a[a.length-1]),c=e.offsetWidth+2,a=this.node.getElementsByTagName("div"),
- this.clipped&&(c=Math.min(d,c)),1<a.length&&(a[a.length-2].style.width=c+"px"))):a.style.whiteSpace="nowrap"),this.offsetWidth=e.offsetWidth+this.textWidthPadding,this.offsetHeight=e.offsetHeight;c=this.offsetWidth*this.scale;d=this.offsetHeight*this.scale}null!=c&&null!=d&&(this.boundingBox=new mxRectangle(this.bounds.x,this.bounds.y,c,d))}null!=this.boundingBox&&(0!=b?(b=mxUtils.getBoundingBox(new mxRectangle(this.margin.x*this.boundingBox.width,this.margin.y*this.boundingBox.height,this.boundingBox.width,
- this.boundingBox.height),b,new mxPoint(0,0)),this.unrotatedBoundingBox=mxRectangle.fromRectangle(this.boundingBox),this.unrotatedBoundingBox.x+=this.margin.x*this.unrotatedBoundingBox.width,this.unrotatedBoundingBox.y+=this.margin.y*this.unrotatedBoundingBox.height,this.boundingBox.x+=b.x,this.boundingBox.y+=b.y,this.boundingBox.width=b.width,this.boundingBox.height=b.height):(this.boundingBox.x+=this.margin.x*this.boundingBox.width,this.boundingBox.y+=this.margin.y*this.boundingBox.height,this.unrotatedBoundingBox=
- null))};mxText.prototype.getShapeRotation=function(){return 0};mxText.prototype.getTextRotation=function(){return null!=this.state&&null!=this.state.shape?this.state.shape.getTextRotation():0};mxText.prototype.isPaintBoundsInverted=function(){return!this.horizontal&&null!=this.state&&this.state.view.graph.model.isVertex(this.state.cell)};
- mxText.prototype.configureCanvas=function(a,b,c,d,e){mxShape.prototype.configureCanvas.apply(this,arguments);a.setFontColor(this.color);a.setFontBackgroundColor(this.background);a.setFontBorderColor(this.border);a.setFontFamily(this.family);a.setFontSize(this.size);a.setFontStyle(this.fontStyle)};
- mxText.prototype.updateVmlContainer=function(){this.node.style.left=Math.round(this.bounds.x)+"px";this.node.style.top=Math.round(this.bounds.y)+"px";this.node.style.width="1px";this.node.style.height="1px";this.node.style.overflow="visible"};
- mxText.prototype.redrawHtmlShape=function(){var a=this.node.style;a.whiteSpace="normal";a.overflow="";a.width="";a.height="";this.updateValue();this.updateFont(this.node);this.updateSize(this.node,null==this.state||null==this.state.view.textDiv);this.offsetHeight=this.offsetWidth=null;mxClient.IS_IE&&(null==document.documentMode||8>=document.documentMode)?this.updateHtmlFilter():this.updateHtmlTransform()};
- mxText.prototype.updateHtmlTransform=function(){var a=this.getTextRotation(),b=this.node.style,c=this.margin.x,d=this.margin.y;0!=a?(mxUtils.setPrefixedStyle(b,"transformOrigin",100*-c+"% "+100*-d+"%"),mxUtils.setPrefixedStyle(b,"transform","translate("+100*c+"%,"+100*d+"%)scale("+this.scale+") rotate("+a+"deg)")):(mxUtils.setPrefixedStyle(b,"transformOrigin","0% 0%"),mxUtils.setPrefixedStyle(b,"transform","scale("+this.scale+")translate("+100*c+"%,"+100*d+"%)"));b.left=Math.round(this.bounds.x-Math.ceil(c*
- ("fill"!=this.overflow&&"width"!=this.overflow?3:1)))+"px";b.top=Math.round(this.bounds.y-d*("fill"!=this.overflow?3:1))+"px";b.opacity=100>this.opacity?this.opacity/100:""};
- mxText.prototype.updateInnerHtml=function(a){if(mxUtils.isNode(this.value))a.innerHTML=this.value.outerHTML;else{var b=this.value;this.dialect!=mxConstants.DIALECT_STRICTHTML&&(b=mxUtils.htmlEntities(b,!1));b=mxUtils.replaceTrailingNewlines(b,"<div> </div>");b=this.replaceLinefeeds?b.replace(/\n/g,"<br/>"):b;a.innerHTML='<div style="display:inline-block;_display:inline;">'+b+"</div>"}};
- mxText.prototype.updateHtmlFilter=function(){var a=this.node.style,b=this.margin.x,c=this.margin.y,d=this.scale;mxUtils.setOpacity(this.node,this.opacity);var e,f=0,g=null!=this.state?this.state.view.textDiv:null,k=this.node;if(null!=g){g.style.overflow="";g.style.height="";g.style.width="";this.updateFont(g);this.updateSize(g,!1);this.updateInnerHtml(g);var l=Math.round(this.bounds.width/this.scale);this.wrap&&0<l?(g.style.whiteSpace="normal",g.style.wordWrap=mxConstants.WORD_WRAP,e=l,this.clipped&&
- (e=Math.min(e,this.bounds.width)),g.style.width=e+"px"):g.style.whiteSpace="nowrap";k=g;null!=k.firstChild&&"DIV"==k.firstChild.nodeName&&(k=k.firstChild,this.wrap&&"break-word"==g.style.wordWrap&&(k.style.width="100%"));!this.clipped&&this.wrap&&0<l&&(e=k.offsetWidth+this.textWidthPadding,g.style.width=e+"px");f=k.offsetHeight+2;mxClient.IS_QUIRKS&&null!=this.border&&this.border!=mxConstants.NONE&&(f+=3)}else null!=k.firstChild&&"DIV"==k.firstChild.nodeName&&(k=k.firstChild,f=k.offsetHeight);e=k.offsetWidth+
- this.textWidthPadding;this.clipped&&(f=Math.min(f,this.bounds.height));l=this.bounds.width/d;g=this.bounds.height/d;"fill"==this.overflow?(f=g,e=l):"width"==this.overflow&&(f=k.scrollHeight,e=l);this.offsetWidth=e;this.offsetHeight=f;mxClient.IS_QUIRKS&&(this.clipped||"width"==this.overflow&&0<g)?(g=Math.min(g,f),a.height=Math.round(g)+"px"):g=f;"fill"!=this.overflow&&"width"!=this.overflow&&(this.clipped&&(e=Math.min(l,e)),l=e,mxClient.IS_QUIRKS&&this.clipped||this.wrap)&&(a.width=Math.round(l)+
- "px");var g=g*d,l=l*d,m=this.getTextRotation()*(Math.PI/180);e=parseFloat(parseFloat(Math.cos(m)).toFixed(8));f=parseFloat(parseFloat(Math.sin(-m)).toFixed(8));m%=2*Math.PI;0>m&&(m+=2*Math.PI);m%=Math.PI;m>Math.PI/2&&(m=Math.PI-m);var k=Math.cos(m),n=Math.sin(-m),b=l*-(b+.5),p=g*-(c+.5);0!=m&&(c="progid:DXImageTransform.Microsoft.Matrix(M11="+e+", M12="+f+", M21="+-f+", M22="+e+", sizingMethod='auto expand')",a.filter=null!=a.filter&&0<a.filter.length?a.filter+(" "+c):c);c=0;"fill"!=this.overflow&&
- mxClient.IS_QUIRKS&&(c=this.valign==mxConstants.ALIGN_TOP?c-1:this.valign==mxConstants.ALIGN_BOTTOM?c+2:c+1);a.zoom=d;a.left=Math.round(this.bounds.x+((l-l*k+g*n)/2-e*b-f*p)-l/2)+"px";a.top=Math.round(this.bounds.y+((g-g*k+l*n)/2+f*b-e*p)-g/2+c)+"px"};
- mxText.prototype.updateValue=function(){if(mxUtils.isNode(this.value))this.node.innerHTML="",this.node.appendChild(this.value);else{var a=this.value;this.dialect!=mxConstants.DIALECT_STRICTHTML&&(a=mxUtils.htmlEntities(a,!1));var a=mxUtils.replaceTrailingNewlines(a,"<div><br></div>"),a=this.replaceLinefeeds?a.replace(/\n/g,"<br/>"):a,b=null!=this.background&&this.background!=mxConstants.NONE?this.background:null,c=null!=this.border&&this.border!=mxConstants.NONE?this.border:null;if("fill"==this.overflow||
- "width"==this.overflow)null!=b&&(this.node.style.backgroundColor=b),null!=c&&(this.node.style.border="1px solid "+c);else{var d="";null!=b&&(d+="background-color:"+b+";");null!=c&&(d+="border:1px solid "+c+";");a='<div style="zoom:1;'+d+"display:inline-block;_display:inline;text-decoration:inherit;padding-bottom:1px;padding-right:1px;line-height:"+(mxConstants.ABSOLUTE_LINE_HEIGHT?this.size*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT)+'">'+a+"</div>"}this.node.innerHTML=a;a=this.node.getElementsByTagName("div");
- 0<a.length&&(b=this.textDirection,b==mxConstants.TEXT_DIRECTION_AUTO&&this.dialect!=mxConstants.DIALECT_STRICTHTML&&(b=this.getAutoDirection()),b==mxConstants.TEXT_DIRECTION_LTR||b==mxConstants.TEXT_DIRECTION_RTL?a[a.length-1].setAttribute("dir",b):a[a.length-1].removeAttribute("dir"))}};
- mxText.prototype.updateFont=function(a){a=a.style;a.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?this.size*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT;a.fontSize=this.size+"px";a.fontFamily=this.family;a.verticalAlign="top";a.color=this.color;a.fontWeight=(this.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?"bold":"";a.fontStyle=(this.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?"italic":"";a.textDecoration=(this.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE?
- "underline":"";a.textAlign=this.align==mxConstants.ALIGN_CENTER?"center":this.align==mxConstants.ALIGN_RIGHT?"right":"left"};
- mxText.prototype.updateSize=function(a,b){var c=Math.max(0,Math.round(this.bounds.width/this.scale)),d=Math.max(0,Math.round(this.bounds.height/this.scale)),e=a.style;this.clipped?(e.overflow="hidden",mxClient.IS_QUIRKS?e.width=c+"px":(e.maxHeight=d+"px",e.maxWidth=c+"px")):"fill"==this.overflow?(e.width=c+1+"px",e.height=d+1+"px",e.overflow="hidden"):"width"==this.overflow&&(e.width=c+1+"px",e.maxHeight=d+1+"px",e.overflow="hidden");if(this.wrap&&0<c){if(e.wordWrap=mxConstants.WORD_WRAP,e.whiteSpace=
- "normal",e.width=c+"px",b&&"fill"!=this.overflow&&"width"!=this.overflow){d=a;null!=d.firstChild&&"DIV"==d.firstChild.nodeName&&(d=d.firstChild,"break-word"==a.style.wordWrap&&(d.style.width="100%"));var f=d.offsetWidth;if(0==f){var g=a.parentNode;a.style.visibility="hidden";document.body.appendChild(a);f=d.offsetWidth;a.style.visibility="";g.appendChild(a)}f+=3;this.clipped&&(f=Math.min(f,c));e.width=f+"px"}}else e.whiteSpace="nowrap"};
- mxText.prototype.updateMargin=function(){this.margin=mxUtils.getAlignmentAsPoint(this.align,this.valign)};
- mxText.prototype.getSpacing=function(){return new mxPoint(this.align==mxConstants.ALIGN_CENTER?(this.spacingLeft-this.spacingRight)/2:this.align==mxConstants.ALIGN_RIGHT?-this.spacingRight-this.baseSpacingRight:this.spacingLeft+this.baseSpacingLeft,this.valign==mxConstants.ALIGN_MIDDLE?(this.spacingTop-this.spacingBottom)/2:this.valign==mxConstants.ALIGN_BOTTOM?-this.spacingBottom-this.baseSpacingBottom:this.spacingTop+this.baseSpacingTop)};function mxTriangle(){mxActor.call(this)}
- mxUtils.extend(mxTriangle,mxActor);mxTriangle.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(d,.5*e),new mxPoint(0,e)],this.isRounded,b,!0)};function mxHexagon(){mxActor.call(this)}mxUtils.extend(mxHexagon,mxActor);
- mxHexagon.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(.25*d,0),new mxPoint(.75*d,0),new mxPoint(d,.5*e),new mxPoint(.75*d,e),new mxPoint(.25*d,e),new mxPoint(0,.5*e)],this.isRounded,b,!0)};function mxLine(a,b,c){mxShape.call(this);this.bounds=a;this.stroke=b;this.strokewidth=null!=c?c:1}mxUtils.extend(mxLine,mxShape);
- mxLine.prototype.paintVertexShape=function(a,b,c,d,e){c+=e/2;a.begin();a.moveTo(b,c);a.lineTo(b+d,c);a.stroke()};function mxImageShape(a,b,c,d,e){mxShape.call(this);this.bounds=a;this.image=b;this.fill=c;this.stroke=d;this.strokewidth=null!=e?e:1;this.shadow=!1}mxUtils.extend(mxImageShape,mxRectangleShape);mxImageShape.prototype.preserveImageAspect=!0;mxImageShape.prototype.getSvgScreenOffset=function(){return 0};
- mxImageShape.prototype.apply=function(a){mxShape.prototype.apply.apply(this,arguments);this.gradient=this.stroke=this.fill=null;null!=this.style&&(this.preserveImageAspect=1==mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_ASPECT,1),this.flipH=this.flipH||1==mxUtils.getValue(this.style,"imageFlipH",0),this.flipV=this.flipV||1==mxUtils.getValue(this.style,"imageFlipV",0))};mxImageShape.prototype.isHtmlAllowed=function(){return!this.preserveImageAspect};
- mxImageShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};
- mxImageShape.prototype.paintVertexShape=function(a,b,c,d,e){if(null!=this.image){var f=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BACKGROUND,null),g=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,null);null!=f&&(a.setFillColor(f),a.setStrokeColor(g),a.rect(b,c,d,e),a.fillAndStroke());a.image(b,c,d,e,this.image,this.preserveImageAspect,!1,!1);g=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,null);null!=g&&(a.setShadow(!1),a.setStrokeColor(g),a.rect(b,c,d,e),a.stroke())}else mxRectangleShape.prototype.paintBackground.apply(this,
- arguments)};
- mxImageShape.prototype.redrawHtmlShape=function(){this.node.style.left=Math.round(this.bounds.x)+"px";this.node.style.top=Math.round(this.bounds.y)+"px";this.node.style.width=Math.max(0,Math.round(this.bounds.width))+"px";this.node.style.height=Math.max(0,Math.round(this.bounds.height))+"px";this.node.innerHTML="";if(null!=this.image){var a=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BACKGROUND,""),b=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,"");this.node.style.backgroundColor=a;
- this.node.style.borderColor=b;a=document.createElement(mxClient.IS_IE6||(null==document.documentMode||8>=document.documentMode)&&0!=this.rotation?mxClient.VML_PREFIX+":image":"img");a.setAttribute("border","0");a.style.position="absolute";a.src=this.image;b=100>this.opacity?"alpha(opacity="+this.opacity+")":"";this.node.style.filter=b;this.flipH&&this.flipV?b+="progid:DXImageTransform.Microsoft.BasicImage(rotation=2)":this.flipH?b+="progid:DXImageTransform.Microsoft.BasicImage(mirror=1)":this.flipV&&
- (b+="progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)");a.style.filter!=b&&(a.style.filter=b);"image"==a.nodeName?a.style.rotation=this.rotation:0!=this.rotation?mxUtils.setPrefixedStyle(a.style,"transform","rotate("+this.rotation+"deg)"):mxUtils.setPrefixedStyle(a.style,"transform","");a.style.width=this.node.style.width;a.style.height=this.node.style.height;this.node.style.backgroundImage="";this.node.appendChild(a)}else this.setTransparentBackgroundImage(this.node)};
- function mxLabel(a,b,c,d){mxRectangleShape.call(this,a,b,c,d)}mxUtils.extend(mxLabel,mxRectangleShape);mxLabel.prototype.imageSize=mxConstants.DEFAULT_IMAGESIZE;mxLabel.prototype.spacing=2;mxLabel.prototype.indicatorSize=10;mxLabel.prototype.indicatorSpacing=2;mxLabel.prototype.init=function(a){mxShape.prototype.init.apply(this,arguments);null!=this.indicatorShape&&(this.indicator=new this.indicatorShape,this.indicator.dialect=this.dialect,this.indicator.init(this.node))};
- mxLabel.prototype.redraw=function(){null!=this.indicator&&(this.indicator.fill=this.indicatorColor,this.indicator.stroke=this.indicatorStrokeColor,this.indicator.gradient=this.indicatorGradientColor,this.indicator.direction=this.indicatorDirection);mxShape.prototype.redraw.apply(this,arguments)};mxLabel.prototype.isHtmlAllowed=function(){return mxRectangleShape.prototype.isHtmlAllowed.apply(this,arguments)&&null==this.indicatorColor&&null==this.indicatorShape};
- mxLabel.prototype.paintForeground=function(a,b,c,d,e){this.paintImage(a,b,c,d,e);this.paintIndicator(a,b,c,d,e);mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxLabel.prototype.paintImage=function(a,b,c,d,e){null!=this.image&&(b=this.getImageBounds(b,c,d,e),a.image(b.x,b.y,b.width,b.height,this.image,!1,!1,!1))};
- mxLabel.prototype.getImageBounds=function(a,b,c,d){var e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),f=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),g=mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_WIDTH,mxConstants.DEFAULT_IMAGESIZE),k=mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_HEIGHT,mxConstants.DEFAULT_IMAGESIZE),l=mxUtils.getNumber(this.style,mxConstants.STYLE_SPACING,this.spacing)+5;a=e==mxConstants.ALIGN_CENTER?
- a+(c-g)/2:e==mxConstants.ALIGN_RIGHT?a+(c-g-l):a+l;b=f==mxConstants.ALIGN_TOP?b+l:f==mxConstants.ALIGN_BOTTOM?b+(d-k-l):b+(d-k)/2;return new mxRectangle(a,b,g,k)};mxLabel.prototype.paintIndicator=function(a,b,c,d,e){null!=this.indicator?(this.indicator.bounds=this.getIndicatorBounds(b,c,d,e),this.indicator.paint(a)):null!=this.indicatorImage&&(b=this.getIndicatorBounds(b,c,d,e),a.image(b.x,b.y,b.width,b.height,this.indicatorImage,!1,!1,!1))};
- mxLabel.prototype.getIndicatorBounds=function(a,b,c,d){var e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),f=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),g=mxUtils.getNumber(this.style,mxConstants.STYLE_INDICATOR_WIDTH,this.indicatorSize),k=mxUtils.getNumber(this.style,mxConstants.STYLE_INDICATOR_HEIGHT,this.indicatorSize),l=this.spacing+5;a=e==mxConstants.ALIGN_RIGHT?a+(c-g-l):e==mxConstants.ALIGN_CENTER?a+(c-g)/
- 2:a+l;b=f==mxConstants.ALIGN_BOTTOM?b+(d-k-l):f==mxConstants.ALIGN_TOP?b+l:b+(d-k)/2;return new mxRectangle(a,b,g,k)};
- mxLabel.prototype.redrawHtmlShape=function(){for(mxRectangleShape.prototype.redrawHtmlShape.apply(this,arguments);this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);if(null!=this.image){var a=document.createElement("img");a.style.position="relative";a.setAttribute("border","0");var b=this.getImageBounds(this.bounds.x,this.bounds.y,this.bounds.width,this.bounds.height);b.x-=this.bounds.x;b.y-=this.bounds.y;a.style.left=Math.round(b.x)+"px";a.style.top=Math.round(b.y)+"px";a.style.width=
- Math.round(b.width)+"px";a.style.height=Math.round(b.height)+"px";a.src=this.image;this.node.appendChild(a)}};function mxCylinder(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxCylinder,mxShape);mxCylinder.prototype.maxHeight=40;mxCylinder.prototype.svgStrokeTolerance=0;
- mxCylinder.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);a.begin();this.redrawPath(a,b,c,d,e,!1);a.fillAndStroke();a.setShadow(!1);a.begin();this.redrawPath(a,b,c,d,e,!0);a.stroke()};
- mxCylinder.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(this.maxHeight,Math.round(e/5));if(f&&null!=this.fill||!f&&null==this.fill)a.moveTo(0,b),a.curveTo(0,2*b,d,2*b,d,b),f||(a.stroke(),a.begin());f||(a.moveTo(0,b),a.curveTo(0,-b/3,d,-b/3,d,b),a.lineTo(d,e-b),a.curveTo(d,e+b/3,0,e+b/3,0,e-b),a.close())};function mxConnector(a,b,c){mxPolyline.call(this,a,b,c)}mxUtils.extend(mxConnector,mxPolyline);
- mxConnector.prototype.updateBoundingBox=function(){this.useSvgBoundingBox=null!=this.style&&1==this.style[mxConstants.STYLE_CURVED];mxShape.prototype.updateBoundingBox.apply(this,arguments)};mxConnector.prototype.paintEdgeShape=function(a,b){var c=this.createMarker(a,b,!0),d=this.createMarker(a,b,!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);a.setFillColor(this.stroke);a.setShadow(!1);a.setDashed(!1);null!=c&&c();null!=d&&d()};
- mxConnector.prototype.createMarker=function(a,b,c){var d=null,e=b.length,f=mxUtils.getValue(this.style,c?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_ENDARROW),g=c?b[1]:b[e-2],k=c?b[0]:b[e-1];if(null!=f&&null!=g&&null!=k){for(d=1;d<e-1&&0==Math.round(g.x-k.x)&&0==Math.round(g.y-k.y);)g=c?b[1+d]:b[e-2-d],d++;b=k.x-g.x;e=k.y-g.y;d=Math.max(1,Math.sqrt(b*b+e*e));g=b/d;b=e/d;e=mxUtils.getNumber(this.style,c?mxConstants.STYLE_STARTSIZE:mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE);d=mxMarker.createMarker(a,
- this,f,k,g,b,e,c,this.strokewidth,0!=this.style[c?mxConstants.STYLE_STARTFILL:mxConstants.STYLE_ENDFILL])}return d};
- mxConnector.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var b=0;mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(b=mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)+1);mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(b=Math.max(b,mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE))+
- 1);a.grow(b*this.scale)};function mxSwimlane(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxSwimlane,mxShape);mxSwimlane.prototype.imageSize=16;mxSwimlane.prototype.getTitleSize=function(){return Math.max(0,mxUtils.getValue(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE))};
- mxSwimlane.prototype.getLabelBounds=function(a){var b=this.getTitleSize();a=new mxRectangle(a.x,a.y,a.width,a.height);var c=this.isHorizontal(),d=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPH,0),e=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPV,0),f=this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH,c=c==!f,d=!c&&d!=(this.direction==mxConstants.DIRECTION_SOUTH||this.direction==mxConstants.DIRECTION_WEST),e=c&&e!=(this.direction==mxConstants.DIRECTION_SOUTH||
- this.direction==mxConstants.DIRECTION_WEST);if(f){b=Math.min(a.width,b*this.scale);if(d||e)a.x+=a.width-b;a.width=b}else{b=Math.min(a.height,b*this.scale);if(d||e)a.y+=a.height-b;a.height=b}return a};mxSwimlane.prototype.getGradientBounds=function(a,b,c,d,e){a=this.getTitleSize();if(this.isHorizontal())return a=Math.min(a,e),new mxRectangle(b,c,d,a);a=Math.min(a,d);return new mxRectangle(b,c,a,e)};
- mxSwimlane.prototype.getArcSize=function(a,b,c){a=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;return c*a*3};mxSwimlane.prototype.isHorizontal=function(){return 1==mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,1)};
- mxSwimlane.prototype.paintVertexShape=function(a,b,c,d,e){var f=this.getTitleSize(),g=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE),k=1==mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_LINE,1),l=0,f=this.isHorizontal()?Math.min(f,e):Math.min(f,d);a.translate(b,c);this.isRounded?(l=this.getArcSize(d,e,f),this.paintRoundedSwimlane(a,b,c,d,e,f,l,g,k)):this.paintSwimlane(a,b,c,d,e,f,g,k);g=mxUtils.getValue(this.style,mxConstants.STYLE_SEPARATORCOLOR,mxConstants.NONE);
- this.paintSeparator(a,b,c,d,e,f,g);null!=this.image&&(e=this.getImageBounds(b,c,d,e),a.image(e.x-b,e.y-c,e.width,e.height,this.image,!1,!1,!1));this.glass&&(a.setShadow(!1),this.paintGlassEffect(a,0,0,d,f,l))};
- mxSwimlane.prototype.paintSwimlane=function(a,b,c,d,e,f,g,k){g!=mxConstants.NONE&&(a.save(),a.setFillColor(g),a.rect(0,0,d,e),a.fillAndStroke(),a.restore(),a.setShadow(!1));a.begin();this.isHorizontal()?(a.moveTo(0,f),a.lineTo(0,0),a.lineTo(d,0),a.lineTo(d,f),(k||f>=e)&&a.close(),a.fillAndStroke(),f<e&&g==mxConstants.NONE&&(a.pointerEvents=!1,a.begin(),a.moveTo(0,f),a.lineTo(0,e),a.lineTo(d,e),a.lineTo(d,f),a.stroke())):(a.moveTo(f,0),a.lineTo(0,0),a.lineTo(0,e),a.lineTo(f,e),(k||f>=d)&&a.close(),
- a.fillAndStroke(),f<d&&g==mxConstants.NONE&&(a.pointerEvents=!1,a.begin(),a.moveTo(f,0),a.lineTo(d,0),a.lineTo(d,e),a.lineTo(f,e),a.stroke()))};
- mxSwimlane.prototype.paintRoundedSwimlane=function(a,b,c,d,e,f,g,k,l){g=Math.min(e-f,Math.min(f,g));k!=mxConstants.NONE&&(a.save(),a.setFillColor(k),a.roundrect(0,0,d,e,g,g),a.fillAndStroke(),a.restore(),a.setShadow(!1));a.begin();this.isHorizontal()?(a.moveTo(d,f),a.lineTo(d,g),a.quadTo(d,0,d-Math.min(d/2,g),0),a.lineTo(Math.min(d/2,g),0),a.quadTo(0,0,0,g),a.lineTo(0,f),(l||f>=e)&&a.close(),a.fillAndStroke(),f<e&&k==mxConstants.NONE&&(a.pointerEvents=!1,a.begin(),a.moveTo(0,f),a.lineTo(0,e-g),a.quadTo(0,
- e,Math.min(d/2,g),e),a.lineTo(d-Math.min(d/2,g),e),a.quadTo(d,e,d,e-g),a.lineTo(d,f),a.stroke())):(a.moveTo(f,0),a.lineTo(g,0),a.quadTo(0,0,0,Math.min(e/2,g)),a.lineTo(0,e-Math.min(e/2,g)),a.quadTo(0,e,g,e),a.lineTo(f,e),(l||f>=d)&&a.close(),a.fillAndStroke(),f<d&&k==mxConstants.NONE&&(a.pointerEvents=!1,a.begin(),a.moveTo(f,e),a.lineTo(d-g,e),a.quadTo(d,e,d,e-Math.min(e/2,g)),a.lineTo(d,Math.min(e/2,g)),a.quadTo(d,0,d-g,0),a.lineTo(f,0),a.stroke()))};
- mxSwimlane.prototype.paintSeparator=function(a,b,c,d,e,f,g){g!=mxConstants.NONE&&(a.setStrokeColor(g),a.setDashed(!0),a.begin(),this.isHorizontal()?(a.moveTo(d,f),a.lineTo(d,e)):(a.moveTo(f,0),a.lineTo(d,0)),a.stroke(),a.setDashed(!1))};mxSwimlane.prototype.getImageBounds=function(a,b,c,d){return this.isHorizontal()?new mxRectangle(a+c-this.imageSize,b,this.imageSize,this.imageSize):new mxRectangle(a,b,this.imageSize,this.imageSize)};function mxGraphLayout(a){this.graph=a}
- mxGraphLayout.prototype.graph=null;mxGraphLayout.prototype.useBoundingBox=!0;mxGraphLayout.prototype.parent=null;mxGraphLayout.prototype.moveCell=function(a,b,c){};mxGraphLayout.prototype.execute=function(a){};mxGraphLayout.prototype.getGraph=function(){return this.graph};mxGraphLayout.prototype.getConstraint=function(a,b,c,d){c=this.graph.view.getState(b);b=null!=c?c.style:this.graph.getCellStyle(b);return null!=b?b[a]:null};
- mxGraphLayout.traverse=function(a,b,c,d,e){if(null!=c&&null!=a&&(b=null!=b?b:!0,e=e||new mxDictionary,!e.get(a)&&(e.put(a,!0),d=c(a,d),null==d||d))&&(d=this.graph.model.getEdgeCount(a),0<d))for(var f=0;f<d;f++){var g=this.graph.model.getEdgeAt(a,f),k=this.graph.model.getTerminal(g,!0)==a;if(!b||k)k=this.graph.view.getVisibleTerminal(g,!k),this.traverse(k,b,c,g,e)}};mxGraphLayout.prototype.isVertexMovable=function(a){return this.graph.isCellMovable(a)};
- mxGraphLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};mxGraphLayout.prototype.isEdgeIgnored=function(a){var b=this.graph.getModel();return!b.isEdge(a)||!this.graph.isCellVisible(a)||null==b.getTerminal(a,!0)||null==b.getTerminal(a,!1)};mxGraphLayout.prototype.setEdgeStyleEnabled=function(a,b){this.graph.setCellStyles(mxConstants.STYLE_NOEDGESTYLE,b?"0":"1",[a])};
- mxGraphLayout.prototype.setOrthogonalEdge=function(a,b){this.graph.setCellStyles(mxConstants.STYLE_ORTHOGONAL,b?"1":"0",[a])};mxGraphLayout.prototype.getParentOffset=function(a){var b=new mxPoint;if(null!=a&&a!=this.parent){var c=this.graph.getModel();if(c.isAncestor(this.parent,a))for(var d=c.getGeometry(a);a!=this.parent;)b.x+=d.x,b.y+=d.y,a=c.getParent(a),d=c.getGeometry(a)}return b};
- mxGraphLayout.prototype.setEdgePoints=function(a,b){if(null!=a){var c=this.graph.model,d=c.getGeometry(a);null==d?(d=new mxGeometry,d.setRelative(!0)):d=d.clone();if(null!=this.parent&&null!=b)for(var e=c.getParent(a),e=this.getParentOffset(e),f=0;f<b.length;f++)b[f].x-=e.x,b[f].y-=e.y;d.points=b;c.setGeometry(a,d)}};
- mxGraphLayout.prototype.setVertexLocation=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a),f=null;if(null!=e){f=new mxRectangle(b,c,e.width,e.height);if(this.useBoundingBox){var g=this.graph.getView().getState(a);if(null!=g&&null!=g.text&&null!=g.text.boundingBox){var k=this.graph.getView().scale,l=g.text.boundingBox;g.text.boundingBox.x<g.x&&(b+=(g.x-l.x)/k,f.width=l.width);g.text.boundingBox.y<g.y&&(c+=(g.y-l.y)/k,f.height=l.height)}}null!=this.parent&&(g=d.getParent(a),null!=g&&g!=
- this.parent&&(g=this.getParentOffset(g),b-=g.x,c-=g.y));if(e.x!=b||e.y!=c)e=e.clone(),e.x=b,e.y=c,d.setGeometry(a,e)}return f};
- mxGraphLayout.prototype.getVertexBounds=function(a){var b=this.graph.getModel().getGeometry(a);if(this.useBoundingBox){var c=this.graph.getView().getState(a);if(null!=c&&null!=c.text&&null!=c.text.boundingBox)var d=this.graph.getView().scale,e=c.text.boundingBox,f=Math.max(c.x-e.x,0)/d,g=Math.max(c.y-e.y,0)/d,b=new mxRectangle(b.x-f,b.y-g,b.width+f+Math.max(e.x+e.width-(c.x+c.width),0)/d,b.height+g+Math.max(e.y+e.height-(c.y+c.height),0)/d)}null!=this.parent&&(a=this.graph.getModel().getParent(a),
- b=b.clone(),null!=a&&a!=this.parent&&(a=this.getParentOffset(a),b.x+=a.x,b.y+=a.y));return new mxRectangle(b.x,b.y,b.width,b.height)};mxGraphLayout.prototype.arrangeGroups=function(a,b,c,d,e,f){return this.graph.updateGroupBounds(a,b,!0,c,d,e,f)};function mxStackLayout(a,b,c,d,e,f){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacing=null!=c?c:0;this.x0=null!=d?d:0;this.y0=null!=e?e:0;this.border=null!=f?f:0}mxStackLayout.prototype=new mxGraphLayout;
- mxStackLayout.prototype.constructor=mxStackLayout;mxStackLayout.prototype.horizontal=null;mxStackLayout.prototype.spacing=null;mxStackLayout.prototype.x0=null;mxStackLayout.prototype.y0=null;mxStackLayout.prototype.border=0;mxStackLayout.prototype.marginTop=0;mxStackLayout.prototype.marginLeft=0;mxStackLayout.prototype.marginRight=0;mxStackLayout.prototype.marginBottom=0;mxStackLayout.prototype.keepFirstLocation=!1;mxStackLayout.prototype.fill=!1;mxStackLayout.prototype.resizeParent=!1;
- mxStackLayout.prototype.resizeParentMax=!1;mxStackLayout.prototype.resizeLast=!1;mxStackLayout.prototype.wrap=null;mxStackLayout.prototype.borderCollapse=!0;mxStackLayout.prototype.isHorizontal=function(){return this.horizontal};
- mxStackLayout.prototype.moveCell=function(a,b,c){var d=this.graph.getModel(),e=d.getParent(a),f=this.isHorizontal();if(null!=a&&null!=e){var g=0,k=d.getChildCount(e);c=f?b:c;b=this.graph.getView().getState(e);null!=b&&(c-=f?b.x:b.y);c/=this.graph.view.scale;for(b=0;b<k;b++){var l=d.getChildAt(e,b);if(l!=a&&(l=d.getGeometry(l),null!=l)){l=f?l.x+l.width/2:l.y+l.height/2;if(g<=c&&l>c)break;g=l}}f=e.getIndex(a);f=Math.max(0,b-(b>f?1:0));d.add(e,a,f)}};
- mxStackLayout.prototype.getParentSize=function(a){var b=this.graph.getModel(),c=b.getGeometry(a);null!=this.graph.container&&(null==c&&b.isLayer(a)||a==this.graph.getView().currentRoot)&&(c=new mxRectangle(0,0,this.graph.container.offsetWidth-1,this.graph.container.offsetHeight-1));return c};
- mxStackLayout.prototype.execute=function(a){if(null!=a){var b=this.getParentSize(a),c=this.isHorizontal(),d=this.graph.getModel(),e=null;null!=b&&(e=c?b.height-this.marginTop-this.marginBottom:b.width-this.marginLeft-this.marginRight);var e=e-(2*this.spacing+2*this.border),f=this.x0+this.border+this.marginLeft,g=this.y0+this.border+this.marginTop;if(this.graph.isSwimlane(a)){var k=this.graph.getCellStyle(a),l=mxUtils.getNumber(k,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE),k=1==mxUtils.getValue(k,
- mxConstants.STYLE_HORIZONTAL,!0);null!=b&&(l=k?Math.min(l,b.height):Math.min(l,b.width));c==k&&(e-=l);k?g+=l:f+=l}d.beginUpdate();try{for(var l=0,k=null,m=0,n=null,p=d.getChildCount(a),q=0;q<p;q++){var r=d.getChildAt(a,q);if(!this.isVertexIgnored(r)&&this.isVertexMovable(r)){var t=d.getGeometry(r);if(null!=t){t=t.clone();null!=this.wrap&&null!=k&&(c&&k.x+k.width+t.width+2*this.spacing>this.wrap||!c&&k.y+k.height+t.height+2*this.spacing>this.wrap)&&(k=null,c?g+=l+this.spacing:f+=l+this.spacing,l=0);
- var l=Math.max(l,c?t.height:t.width),u=0;if(!this.borderCollapse)var x=this.graph.getCellStyle(r),u=mxUtils.getNumber(x,mxConstants.STYLE_STROKEWIDTH,1);null!=k?c?t.x=m+this.spacing+Math.floor(u/2):t.y=m+this.spacing+Math.floor(u/2):this.keepFirstLocation||(c?t.x=f:t.y=g);c?t.y=g:t.x=f;this.fill&&null!=e&&(c?t.height=e:t.width=e);this.setChildGeometry(r,t);n=r;k=t;m=c?k.x+k.width+Math.floor(u/2):k.y+k.height+Math.floor(u/2)}}}this.resizeParent&&null!=b&&null!=k&&!this.graph.isCellCollapsed(a)?this.updateParentGeometry(a,
- b,k):this.resizeLast&&null!=b&&null!=k&&null!=n&&(c?k.width=b.width-k.x-this.spacing-this.marginRight-this.marginLeft:k.height=b.height-k.y-this.spacing-this.marginBottom,this.setChildGeometry(n,k))}finally{d.endUpdate()}}};mxStackLayout.prototype.setChildGeometry=function(a,b){var c=this.graph.getCellGeometry(a);null!=c&&b.x==c.x&&b.y==c.y&&b.width==c.width&&b.height==c.height||this.graph.getModel().setGeometry(a,b)};
- mxStackLayout.prototype.updateParentGeometry=function(a,b,c){var d=this.isHorizontal(),e=this.graph.getModel(),f=b.clone();d?(c=c.x+c.width+this.spacing+this.marginRight,f.width=this.resizeParentMax?Math.max(f.width,c):c):(c=c.y+c.height+this.spacing+this.marginBottom,f.height=this.resizeParentMax?Math.max(f.height,c):c);b.x==f.x&&b.y==f.y&&b.width==f.width&&b.height==f.height||e.setGeometry(a,f)};
- function mxPartitionLayout(a,b,c,d){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacing=c||0;this.border=d||0}mxPartitionLayout.prototype=new mxGraphLayout;mxPartitionLayout.prototype.constructor=mxPartitionLayout;mxPartitionLayout.prototype.horizontal=null;mxPartitionLayout.prototype.spacing=null;mxPartitionLayout.prototype.border=null;mxPartitionLayout.prototype.resizeVertices=!0;mxPartitionLayout.prototype.isHorizontal=function(){return this.horizontal};
- mxPartitionLayout.prototype.moveCell=function(a,b,c){c=this.graph.getModel();var d=c.getParent(a);if(null!=a&&null!=d){var e,f=0,g=c.getChildCount(d);for(e=0;e<g;e++){var k=c.getChildAt(d,e),k=this.getVertexBounds(k);if(null!=k){k=k.x+k.width/2;if(f<b&&k>b)break;f=k}}b=d.getIndex(a);b=Math.max(0,e-(e>b?1:0));c.add(d,a,b)}};
- mxPartitionLayout.prototype.execute=function(a){var b=this.isHorizontal(),c=this.graph.getModel(),d=c.getGeometry(a);null!=this.graph.container&&(null==d&&c.isLayer(a)||a==this.graph.getView().currentRoot)&&(d=new mxRectangle(0,0,this.graph.container.offsetWidth-1,this.graph.container.offsetHeight-1));if(null!=d){for(var e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g);!this.isVertexIgnored(k)&&this.isVertexMovable(k)&&e.push(k)}f=e.length;if(0<f){var l=this.border,m=this.border,n=b?
- d.height:d.width,n=n-2*this.border;a=this.graph.isSwimlane(a)?this.graph.getStartSize(a):new mxRectangle;n-=b?a.height:a.width;l+=a.width;m+=a.height;a=this.border+(f-1)*this.spacing;d=b?(d.width-l-a)/f:(d.height-m-a)/f;if(0<d){c.beginUpdate();try{for(g=0;g<f;g++){var k=e[g],p=c.getGeometry(k);null!=p&&(p=p.clone(),p.x=l,p.y=m,b?(this.resizeVertices&&(p.width=d,p.height=n),l+=d+this.spacing):(this.resizeVertices&&(p.height=d,p.width=n),m+=d+this.spacing),c.setGeometry(k,p))}}finally{c.endUpdate()}}}}};
- function mxCompactTreeLayout(a,b,c){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.invert=null!=c?c:!1}mxCompactTreeLayout.prototype=new mxGraphLayout;mxCompactTreeLayout.prototype.constructor=mxCompactTreeLayout;mxCompactTreeLayout.prototype.horizontal=null;mxCompactTreeLayout.prototype.invert=null;mxCompactTreeLayout.prototype.resizeParent=!0;mxCompactTreeLayout.prototype.maintainParentLocation=!1;mxCompactTreeLayout.prototype.groupPadding=10;
- mxCompactTreeLayout.prototype.groupPaddingTop=0;mxCompactTreeLayout.prototype.groupPaddingRight=0;mxCompactTreeLayout.prototype.groupPaddingBottom=0;mxCompactTreeLayout.prototype.groupPaddingLeft=0;mxCompactTreeLayout.prototype.parentsChanged=null;mxCompactTreeLayout.prototype.moveTree=!1;mxCompactTreeLayout.prototype.visited=null;mxCompactTreeLayout.prototype.levelDistance=10;mxCompactTreeLayout.prototype.nodeDistance=20;mxCompactTreeLayout.prototype.resetEdges=!0;
- mxCompactTreeLayout.prototype.prefHozEdgeSep=5;mxCompactTreeLayout.prototype.prefVertEdgeOff=4;mxCompactTreeLayout.prototype.minEdgeJetty=8;mxCompactTreeLayout.prototype.channelBuffer=4;mxCompactTreeLayout.prototype.edgeRouting=!0;mxCompactTreeLayout.prototype.sortEdges=!1;mxCompactTreeLayout.prototype.alignRanks=!1;mxCompactTreeLayout.prototype.maxRankHeight=null;mxCompactTreeLayout.prototype.root=null;mxCompactTreeLayout.prototype.node=null;
- mxCompactTreeLayout.prototype.isVertexIgnored=function(a){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(a).length};mxCompactTreeLayout.prototype.isHorizontal=function(){return this.horizontal};
- mxCompactTreeLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.getModel();if(null==b)if(0<this.graph.getEdges(a,c.getParent(a),this.invert,!this.invert,!1).length)this.root=a;else{var d=this.graph.findTreeRoots(a,!0,this.invert);if(0<d.length)for(var e=0;e<d.length;e++)if(!this.isVertexIgnored(d[e])&&0<this.graph.getEdges(d[e],null,this.invert,!this.invert,!1).length){this.root=d[e];break}}else this.root=b;if(null!=this.root){this.parentsChanged=this.resizeParent?{}:null;this.parentY=
- this.parentX=null;if(a!=this.root&&null!=c.isVertex(a)&&this.maintainParentLocation){var f=this.graph.getCellGeometry(a);null!=f&&(this.parentX=f.x,this.parentY=f.y)}c.beginUpdate();try{if(this.visited={},this.node=this.dfs(this.root,a),this.alignRanks&&(this.maxRankHeight=[],this.findRankHeights(this.node,0),this.setCellHeights(this.node,0)),null!=this.node){this.layout(this.node);var g=this.graph.gridSize,d=g;if(!this.moveTree){var k=this.getVertexBounds(this.root);null!=k&&(g=k.x,d=k.y)}k=null;
- k=this.isHorizontal()?this.horizontalLayout(this.node,g,d):this.verticalLayout(this.node,null,g,d);if(null!=k){var l=e=0;0>k.x&&(e=Math.abs(g-k.x));0>k.y&&(l=Math.abs(d-k.y));0==e&&0==l||this.moveNode(this.node,e,l);this.resizeParent&&this.adjustParents();this.edgeRouting&&this.localEdgeProcessing(this.node)}null!=this.parentX&&null!=this.parentY&&(f=this.graph.getCellGeometry(a),null!=f&&(f=f.clone(),f.x=this.parentX,f.y=this.parentY,c.setGeometry(a,f)))}}finally{c.endUpdate()}}};
- mxCompactTreeLayout.prototype.moveNode=function(a,b,c){a.x+=b;a.y+=c;this.apply(a);for(a=a.child;null!=a;)this.moveNode(a,b,c),a=a.next};
- mxCompactTreeLayout.prototype.sortOutgoingEdges=function(a,b){var c=new mxDictionary;b.sort(function(b,e){var d=b.getTerminal(b.getTerminal(!1)==a),g=c.get(d);null==g&&(g=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,g));var d=e.getTerminal(e.getTerminal(!1)==a),k=c.get(d);null==k&&(k=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,k));return mxCellPath.compare(g,k)})};
- mxCompactTreeLayout.prototype.findRankHeights=function(a,b){if(null==this.maxRankHeight[b]||this.maxRankHeight[b]<a.height)this.maxRankHeight[b]=a.height;for(var c=a.child;null!=c;)this.findRankHeights(c,b+1),c=c.next};mxCompactTreeLayout.prototype.setCellHeights=function(a,b){null!=this.maxRankHeight[b]&&this.maxRankHeight[b]>a.height&&(a.height=this.maxRankHeight[b]);for(var c=a.child;null!=c;)this.setCellHeights(c,b+1),c=c.next};
- mxCompactTreeLayout.prototype.dfs=function(a,b){var c=mxCellPath.create(a),d=null;if(null!=a&&null==this.visited[c]&&!this.isVertexIgnored(a)){this.visited[c]=a;var d=this.createNode(a),c=this.graph.getModel(),e=null,f=this.graph.getEdges(a,b,this.invert,!this.invert,!1,!0),g=this.graph.getView();this.sortEdges&&this.sortOutgoingEdges(a,f);for(var k=0;k<f.length;k++){var l=f[k];if(!this.isEdgeIgnored(l)){this.resetEdges&&this.setEdgePoints(l,null);this.edgeRouting&&(this.setEdgeStyleEnabled(l,!1),
- this.setEdgePoints(l,null));var m=g.getState(l),l=null!=m?m.getVisibleTerminal(this.invert):g.getVisibleTerminal(l,this.invert),m=this.dfs(l,b);null!=m&&null!=c.getGeometry(l)&&(null==e?d.child=m:e.next=m,e=m)}}}return d};mxCompactTreeLayout.prototype.layout=function(a){if(null!=a){for(var b=a.child;null!=b;)this.layout(b),b=b.next;null!=a.child?this.attachParent(a,this.join(a)):this.layoutLeaf(a)}};
- mxCompactTreeLayout.prototype.horizontalLayout=function(a,b,c,d){a.x+=b+a.offsetX;a.y+=c+a.offsetY;d=this.apply(a,d);b=a.child;if(null!=b){d=this.horizontalLayout(b,a.x,a.y,d);c=a.y+b.offsetY;for(var e=b.next;null!=e;)d=this.horizontalLayout(e,a.x+b.offsetX,c,d),c+=e.offsetY,e=e.next}return d};
- mxCompactTreeLayout.prototype.verticalLayout=function(a,b,c,d,e){a.x+=c+a.offsetY;a.y+=d+a.offsetX;e=this.apply(a,e);b=a.child;if(null!=b)for(e=this.verticalLayout(b,a,a.x,a.y,e),c=a.x+b.offsetY,d=b.next;null!=d;)e=this.verticalLayout(d,a,c,a.y+b.offsetX,e),c+=d.offsetY,d=d.next;return e};
- mxCompactTreeLayout.prototype.attachParent=function(a,b){var c=this.nodeDistance+this.levelDistance,d=(b-a.width)/2-this.nodeDistance,e=d+a.width+2*this.nodeDistance-b;a.child.offsetX=c+a.height;a.child.offsetY=e;a.contour.upperHead=this.createLine(a.height,0,this.createLine(c,e,a.contour.upperHead));a.contour.lowerHead=this.createLine(a.height,0,this.createLine(c,d,a.contour.lowerHead))};
- mxCompactTreeLayout.prototype.layoutLeaf=function(a){var b=2*this.nodeDistance;a.contour.upperTail=this.createLine(a.height+b,0);a.contour.upperHead=a.contour.upperTail;a.contour.lowerTail=this.createLine(0,-a.width-b);a.contour.lowerHead=this.createLine(a.height+b,0,a.contour.lowerTail)};
- mxCompactTreeLayout.prototype.join=function(a){var b=2*this.nodeDistance,c=a.child;a.contour=c.contour;for(var d=c.width+b,e=d,c=c.next;null!=c;){var f=this.merge(a.contour,c.contour);c.offsetY=f+d;c.offsetX=0;d=c.width+b;e+=f+d;c=c.next}return e};
- mxCompactTreeLayout.prototype.merge=function(a,b){for(var c=0,d=0,e=0,f=a.lowerHead,g=b.upperHead;null!=g&&null!=f;){var k=this.offset(c,d,g.dx,g.dy,f.dx,f.dy),d=d+k,e=e+k;c+g.dx<=f.dx?(c+=g.dx,d+=g.dy,g=g.next):(c-=f.dx,d-=f.dy,f=f.next)}null!=g?(c=this.bridge(a.upperTail,0,0,g,c,d),a.upperTail=null!=c.next?b.upperTail:c,a.lowerTail=b.lowerTail):(c=this.bridge(b.lowerTail,c,d,f,0,0),null==c.next&&(a.lowerTail=c));a.lowerHead=b.lowerHead;return e};
- mxCompactTreeLayout.prototype.offset=function(a,b,c,d,e,f){if(e<=a||0>=a+c)return 0;a=0<e*d-c*f?0>a?a*d/c-b:0<a?a*f/e-b:-b:e<a+c?f-(b+(e-a)*d/c):e>a+c?(c+a)*f/e-(b+d):f-(b+d);return 0<a?a:0};mxCompactTreeLayout.prototype.bridge=function(a,b,c,d,e,f){b=e+d.dx-b;0==d.dx?e=d.dy:(e=b*d.dy,e/=d.dx);b=this.createLine(b,e,d.next);a.next=this.createLine(0,f+d.dy-e-c,b);return b};
- mxCompactTreeLayout.prototype.createNode=function(a){var b={};b.cell=a;b.x=0;b.y=0;b.width=0;b.height=0;a=this.getVertexBounds(a);null!=a&&(this.isHorizontal()?(b.width=a.height,b.height=a.width):(b.width=a.width,b.height=a.height));b.offsetX=0;b.offsetY=0;b.contour={};return b};
- mxCompactTreeLayout.prototype.apply=function(a,b){var c=this.graph.getModel(),d=a.cell,e=c.getGeometry(d);null!=d&&null!=e&&(this.isVertexMovable(d)&&(e=this.setVertexLocation(d,a.x,a.y),this.resizeParent&&(c=c.getParent(d),d=mxCellPath.create(c),null==this.parentsChanged[d]&&(this.parentsChanged[d]=c))),b=null==b?new mxRectangle(e.x,e.y,e.width,e.height):new mxRectangle(Math.min(b.x,e.x),Math.min(b.y,e.y),Math.max(b.x+b.width,e.x+e.width),Math.max(b.y+b.height,e.y+e.height)));return b};
- mxCompactTreeLayout.prototype.createLine=function(a,b,c){var d={};d.dx=a;d.dy=b;d.next=c;return d};mxCompactTreeLayout.prototype.adjustParents=function(){var a=[],b;for(b in this.parentsChanged)a.push(this.parentsChanged[b]);this.arrangeGroups(mxUtils.sortCells(a,!0),this.groupPadding,this.groupPaddingTop,this.groupPaddingRight,this.groupPaddingBottom,this.groupPaddingLeft)};
- mxCompactTreeLayout.prototype.localEdgeProcessing=function(a){this.processNodeOutgoing(a);for(a=a.child;null!=a;)this.localEdgeProcessing(a),a=a.next};
- mxCompactTreeLayout.prototype.processNodeOutgoing=function(a){for(var b=a.child,c=a.cell,d=0,e=[];null!=b;){d++;var f=b.x;this.horizontal&&(f=b.y);e.push(new WeightedCellSorter(b,f));b=b.next}e.sort(WeightedCellSorter.prototype.compare);var f=a.width,g=(d+1)*this.prefHozEdgeSep;f>g+2*this.prefHozEdgeSep&&(f-=2*this.prefHozEdgeSep);a=f/d;b=a/2;f>g+2*this.prefHozEdgeSep&&(b+=this.prefHozEdgeSep);for(var f=this.minEdgeJetty-this.prefVertEdgeOff,g=this.getVertexBounds(c),k=0;k<e.length;k++){for(var l=
- e[k].cell.cell,m=this.getVertexBounds(l),l=this.graph.getEdgesBetween(c,l,!1),n=[],p,q,r=0;r<l.length;r++)this.horizontal?(p=g.x+g.width,q=g.y+b,n.push(new mxPoint(p,q)),p=g.x+g.width+f,n.push(new mxPoint(p,q)),q=m.y+m.height/2):(p=g.x+b,q=g.y+g.height,n.push(new mxPoint(p,q)),q=g.y+g.height+f,n.push(new mxPoint(p,q)),p=m.x+m.width/2),n.push(new mxPoint(p,q)),this.setEdgePoints(l[r],n);k<d/2?f+=this.prefVertEdgeOff:k>d/2&&(f-=this.prefVertEdgeOff);b+=a}};
- function WeightedCellSorter(a,b){this.cell=a;this.weightedValue=b}WeightedCellSorter.prototype.weightedValue=0;WeightedCellSorter.prototype.nudge=!1;WeightedCellSorter.prototype.visited=!1;WeightedCellSorter.prototype.rankIndex=null;WeightedCellSorter.prototype.cell=null;WeightedCellSorter.prototype.compare=function(a,b){return null!=a&&null!=b?b.weightedValue>a.weightedValue?1:b.weightedValue<a.weightedValue?-1:b.nudge?1:-1:0};function mxRadialTreeLayout(a){mxCompactTreeLayout.call(this,a,!1)}
- mxUtils.extend(mxRadialTreeLayout,mxCompactTreeLayout);mxRadialTreeLayout.prototype.angleOffset=.5;mxRadialTreeLayout.prototype.rootx=0;mxRadialTreeLayout.prototype.rooty=0;mxRadialTreeLayout.prototype.levelDistance=120;mxRadialTreeLayout.prototype.nodeDistance=10;mxRadialTreeLayout.prototype.autoRadius=!1;mxRadialTreeLayout.prototype.sortEdges=!1;mxRadialTreeLayout.prototype.rowMinX=[];mxRadialTreeLayout.prototype.rowMaxX=[];mxRadialTreeLayout.prototype.rowMinCenX=[];
- mxRadialTreeLayout.prototype.rowMaxCenX=[];mxRadialTreeLayout.prototype.rowRadi=[];mxRadialTreeLayout.prototype.row=[];mxRadialTreeLayout.prototype.isVertexIgnored=function(a){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(a).length};
- mxRadialTreeLayout.prototype.execute=function(a,b){this.parent=a;this.edgeRouting=this.useBoundingBox=!1;mxCompactTreeLayout.prototype.execute.apply(this,arguments);var c=null,d=this.getVertexBounds(this.root);this.centerX=d.x+d.width/2;this.centerY=d.y+d.height/2;for(var e in this.visited){var f=this.getVertexBounds(this.visited[e]),c=null!=c?c:f.clone();c.add(f)}this.calcRowDims([this.node],0);for(var g=0,k=0,c=0;c<this.row.length;c++)e=(this.rowMaxX[c]-this.centerX-this.nodeDistance)/this.rowRadi[c],
- g=Math.max(g,(this.centerX-this.rowMinX[c]-this.nodeDistance)/this.rowRadi[c]),k=Math.max(k,e);for(c=0;c<this.row.length;c++){var l=this.centerX-this.nodeDistance-g*this.rowRadi[c],m=this.centerX+this.nodeDistance+k*this.rowRadi[c]-l;for(e=0;e<this.row[c].length;e++)f=this.row[c],d=f[e],f=this.getVertexBounds(d.cell),d.theta=(f.x+f.width/2-l)/m*Math.PI*2}for(c=this.row.length-2;0<=c;c--)for(f=this.row[c],e=0;e<f.length;e++){d=f[e];g=d.child;for(l=k=0;null!=g;)l+=g.theta,k++,g=g.next;0<k&&(g=l/k,g>
- d.theta&&e<f.length-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max(g,f[e-1].theta+Math.PI/10)))}for(c=0;c<this.row.length;c++)for(e=0;e<this.row[c].length;e++)f=this.row[c],d=f[e],f=this.getVertexBounds(d.cell),this.setVertexLocation(d.cell,this.centerX-f.width/2+this.rowRadi[c]*Math.cos(d.theta),this.centerY-f.height/2+this.rowRadi[c]*Math.sin(d.theta))};
- mxRadialTreeLayout.prototype.calcRowDims=function(a,b){if(null!=a&&0!=a.length){this.rowMinX[b]=this.centerX;this.rowMaxX[b]=this.centerX;this.rowMinCenX[b]=this.centerX;this.rowMaxCenX[b]=this.centerX;this.row[b]=[];for(var c=!1,d=0;d<a.length;d++)for(var e=null!=a[d]?a[d].child:null;null!=e;)vertexBounds=this.getVertexBounds(e.cell),this.rowMinX[b]=Math.min(vertexBounds.x,this.rowMinX[b]),this.rowMaxX[b]=Math.max(vertexBounds.x+vertexBounds.width,this.rowMaxX[b]),this.rowMinCenX[b]=Math.min(vertexBounds.x+
- vertexBounds.width/2,this.rowMinCenX[b]),this.rowMaxCenX[b]=Math.max(vertexBounds.x+vertexBounds.width/2,this.rowMaxCenX[b]),this.rowRadi[b]=vertexBounds.y-this.getVertexBounds(this.root).y,null!=e.child&&(c=!0),this.row[b].push(e),e=e.next;c&&this.calcRowDims(this.row[b],b+1)}};function mxFastOrganicLayout(a){mxGraphLayout.call(this,a)}mxFastOrganicLayout.prototype=new mxGraphLayout;mxFastOrganicLayout.prototype.constructor=mxFastOrganicLayout;mxFastOrganicLayout.prototype.useInputOrigin=!0;
- mxFastOrganicLayout.prototype.resetEdges=!0;mxFastOrganicLayout.prototype.disableEdgeStyle=!0;mxFastOrganicLayout.prototype.forceConstant=50;mxFastOrganicLayout.prototype.forceConstantSquared=0;mxFastOrganicLayout.prototype.minDistanceLimit=2;mxFastOrganicLayout.prototype.maxDistanceLimit=500;mxFastOrganicLayout.prototype.minDistanceLimitSquared=4;mxFastOrganicLayout.prototype.initialTemp=200;mxFastOrganicLayout.prototype.temperature=0;mxFastOrganicLayout.prototype.maxIterations=0;
- mxFastOrganicLayout.prototype.iteration=0;mxFastOrganicLayout.prototype.allowedToRun=!0;mxFastOrganicLayout.prototype.isVertexIgnored=function(a){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(a).length};
- mxFastOrganicLayout.prototype.execute=function(a){var b=this.graph.getModel();this.vertexArray=[];for(var c=this.graph.getChildVertices(a),d=0;d<c.length;d++)this.isVertexIgnored(c[d])||this.vertexArray.push(c[d]);var e=this.useInputOrigin?this.graph.getBoundingBoxFromGeometry(this.vertexArray):null,f=this.vertexArray.length;this.indices=[];this.dispX=[];this.dispY=[];this.cellLocation=[];this.isMoveable=[];this.neighbours=[];this.radius=[];this.radiusSquared=[];.001>this.forceConstant&&(this.forceConstant=
- .001);this.forceConstantSquared=this.forceConstant*this.forceConstant;for(d=0;d<this.vertexArray.length;d++){var g=this.vertexArray[d];this.cellLocation[d]=[];var k=mxObjectIdentity.get(g);this.indices[k]=d;var l=this.getVertexBounds(g),m=l.width,n=l.height,p=l.x,q=l.y;this.cellLocation[d][0]=p+m/2;this.cellLocation[d][1]=q+n/2;this.radius[d]=Math.min(m,n);this.radiusSquared[d]=this.radius[d]*this.radius[d]}b.beginUpdate();try{for(d=0;d<f;d++){this.dispX[d]=0;this.dispY[d]=0;this.isMoveable[d]=this.isVertexMovable(this.vertexArray[d]);
- var r=this.graph.getConnections(this.vertexArray[d],a),c=this.graph.getOpposites(r,this.vertexArray[d]);this.neighbours[d]=[];for(m=0;m<c.length;m++){this.resetEdges&&this.graph.resetEdge(r[m]);this.disableEdgeStyle&&this.setEdgeStyleEnabled(r[m],!1);var k=mxObjectIdentity.get(c[m]),t=this.indices[k];this.neighbours[d][m]=null!=t?t:d}}this.temperature=this.initialTemp;0==this.maxIterations&&(this.maxIterations=20*Math.sqrt(f));for(this.iteration=0;this.iteration<this.maxIterations;this.iteration++){if(!this.allowedToRun)return;
- this.calcRepulsion();this.calcAttraction();this.calcPositions();this.reduceTemperature()}a=c=null;for(d=0;d<this.vertexArray.length;d++)g=this.vertexArray[d],this.isVertexMovable(g)&&(l=this.getVertexBounds(g),null!=l&&(this.cellLocation[d][0]-=l.width/2,this.cellLocation[d][1]-=l.height/2,p=this.graph.snap(this.cellLocation[d][0]),q=this.graph.snap(this.cellLocation[d][1]),this.setVertexLocation(g,p,q),c=null==c?p:Math.min(c,p),a=null==a?q:Math.min(a,q)));d=-(c||0)+1;g=-(a||0)+1;null!=e&&(d+=e.x,
- g+=e.y);this.graph.moveCells(this.vertexArray,d,g)}finally{b.endUpdate()}};mxFastOrganicLayout.prototype.calcPositions=function(){for(var a=0;a<this.vertexArray.length;a++)if(this.isMoveable[a]){var b=Math.sqrt(this.dispX[a]*this.dispX[a]+this.dispY[a]*this.dispY[a]);.001>b&&(b=.001);var c=this.dispX[a]/b*Math.min(b,this.temperature),b=this.dispY[a]/b*Math.min(b,this.temperature);this.dispX[a]=0;this.dispY[a]=0;this.cellLocation[a][0]+=c;this.cellLocation[a][1]+=b}};
- mxFastOrganicLayout.prototype.calcAttraction=function(){for(var a=0;a<this.vertexArray.length;a++)for(var b=0;b<this.neighbours[a].length;b++){var c=this.neighbours[a][b];if(a!=c&&this.isMoveable[a]&&this.isMoveable[c]){var d=this.cellLocation[a][0]-this.cellLocation[c][0],e=this.cellLocation[a][1]-this.cellLocation[c][1],f=d*d+e*e-this.radiusSquared[a]-this.radiusSquared[c];f<this.minDistanceLimitSquared&&(f=this.minDistanceLimitSquared);var g=Math.sqrt(f),f=f/this.forceConstant,d=d/g*f,e=e/g*f;
- this.dispX[a]-=d;this.dispY[a]-=e;this.dispX[c]+=d;this.dispY[c]+=e}}};
- mxFastOrganicLayout.prototype.calcRepulsion=function(){for(var a=this.vertexArray.length,b=0;b<a;b++)for(var c=b;c<a;c++){if(!this.allowedToRun)return;if(c!=b&&this.isMoveable[b]&&this.isMoveable[c]){var d=this.cellLocation[b][0]-this.cellLocation[c][0],e=this.cellLocation[b][1]-this.cellLocation[c][1];0==d&&(d=.01+Math.random());0==e&&(e=.01+Math.random());var f=Math.sqrt(d*d+e*e),g=f-this.radius[b]-this.radius[c];g>this.maxDistanceLimit||(g<this.minDistanceLimit&&(g=this.minDistanceLimit),g=this.forceConstantSquared/
- g,d=d/f*g,e=e/f*g,this.dispX[b]+=d,this.dispY[b]+=e,this.dispX[c]-=d,this.dispY[c]-=e)}}};mxFastOrganicLayout.prototype.reduceTemperature=function(){this.temperature=this.initialTemp*(1-this.iteration/this.maxIterations)};function mxCircleLayout(a,b){mxGraphLayout.call(this,a);this.radius=null!=b?b:100}mxCircleLayout.prototype=new mxGraphLayout;mxCircleLayout.prototype.constructor=mxCircleLayout;mxCircleLayout.prototype.radius=null;mxCircleLayout.prototype.moveCircle=!1;
- mxCircleLayout.prototype.x0=0;mxCircleLayout.prototype.y0=0;mxCircleLayout.prototype.resetEdges=!0;mxCircleLayout.prototype.disableEdgeStyle=!0;
- mxCircleLayout.prototype.execute=function(a){var b=this.graph.getModel();b.beginUpdate();try{for(var c=0,d=null,e=null,f=[],g=b.getChildCount(a),k=0;k<g;k++){var l=b.getChildAt(a,k);if(this.isVertexIgnored(l))this.isEdgeIgnored(l)||(this.resetEdges&&this.graph.resetEdge(l),this.disableEdgeStyle&&this.setEdgeStyleEnabled(l,!1));else{f.push(l);var m=this.getVertexBounds(l),d=null==d?m.y:Math.min(d,m.y),e=null==e?m.x:Math.min(e,m.x),c=Math.max(c,Math.max(m.width,m.height))}}var n=this.getRadius(f.length,
- c);this.moveCircle&&(e=this.x0,d=this.y0);this.circle(f,n,e,d)}finally{b.endUpdate()}};mxCircleLayout.prototype.getRadius=function(a,b){return Math.max(a*b/Math.PI,this.radius)};mxCircleLayout.prototype.circle=function(a,b,c,d){for(var e=a.length,f=2*Math.PI/e,g=0;g<e;g++)this.isVertexMovable(a[g])&&this.setVertexLocation(a[g],c+b+b*Math.sin(g*f),d+b+b*Math.cos(g*f))};function mxParallelEdgeLayout(a){mxGraphLayout.call(this,a)}mxParallelEdgeLayout.prototype=new mxGraphLayout;
- mxParallelEdgeLayout.prototype.constructor=mxParallelEdgeLayout;mxParallelEdgeLayout.prototype.spacing=20;mxParallelEdgeLayout.prototype.execute=function(a){a=this.findParallels(a);this.graph.model.beginUpdate();try{for(var b in a){var c=a[b];1<c.length&&this.layout(c)}}finally{this.graph.model.endUpdate()}};
- mxParallelEdgeLayout.prototype.findParallels=function(a){for(var b=this.graph.getModel(),c=[],d=b.getChildCount(a),e=0;e<d;e++){var f=b.getChildAt(a,e);if(!this.isEdgeIgnored(f)){var g=this.getEdgeId(f);null!=g&&(null==c[g]&&(c[g]=[]),c[g].push(f))}}return c};mxParallelEdgeLayout.prototype.getEdgeId=function(a){var b=this.graph.getView(),c=b.getVisibleTerminal(a,!0);a=b.getVisibleTerminal(a,!1);return null!=c&&null!=a?(c=mxObjectIdentity.get(c),a=mxObjectIdentity.get(a),c>a?a+"-"+c:c+"-"+a):null};
- mxParallelEdgeLayout.prototype.layout=function(a){var b=a[0],c=this.graph.getView(),d=this.graph.getModel(),e=d.getGeometry(c.getVisibleTerminal(b,!0)),d=d.getGeometry(c.getVisibleTerminal(b,!1));if(e==d)for(var b=e.x+e.width+this.spacing,c=e.y+e.height/2,f=0;f<a.length;f++)this.route(a[f],b,c),b+=this.spacing;else if(null!=e&&null!=d){var b=e.x+e.width/2,c=e.y+e.height/2,f=d.x+d.width/2-b,g=d.y+d.height/2-c,d=Math.sqrt(f*f+g*g);if(0<d)for(e=g*this.spacing/d,d=f*this.spacing/d,b=b+f/2+e*(a.length-
- 1)/2,c=c+g/2-d*(a.length-1)/2,f=0;f<a.length;f++)this.route(a[f],b,c),b-=e,c+=d}};mxParallelEdgeLayout.prototype.route=function(a,b,c){this.graph.isCellMovable(a)&&this.setEdgePoints(a,[new mxPoint(b,c)])};function mxCompositeLayout(a,b,c){mxGraphLayout.call(this,a);this.layouts=b;this.master=c}mxCompositeLayout.prototype=new mxGraphLayout;mxCompositeLayout.prototype.constructor=mxCompositeLayout;mxCompositeLayout.prototype.layouts=null;mxCompositeLayout.prototype.master=null;
- mxCompositeLayout.prototype.moveCell=function(a,b,c){null!=this.master?this.master.move.apply(this.master,arguments):this.layouts[0].move.apply(this.layouts[0],arguments)};mxCompositeLayout.prototype.execute=function(a){var b=this.graph.getModel();b.beginUpdate();try{for(var c=0;c<this.layouts.length;c++)this.layouts[c].execute.apply(this.layouts[c],arguments)}finally{b.endUpdate()}};function mxEdgeLabelLayout(a,b){mxGraphLayout.call(this,a)}mxEdgeLabelLayout.prototype=new mxGraphLayout;
- mxEdgeLabelLayout.prototype.constructor=mxEdgeLabelLayout;mxEdgeLabelLayout.prototype.execute=function(a){for(var b=this.graph.view,c=this.graph.getModel(),d=[],e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g),l=b.getState(k);null!=l&&(this.isVertexIgnored(k)?this.isEdgeIgnored(k)||d.push(l):e.push(l))}this.placeLabels(e,d)};
- mxEdgeLabelLayout.prototype.placeLabels=function(a,b){var c=this.graph.getModel();c.beginUpdate();try{for(var d=0;d<b.length;d++){var e=b[d];if(null!=e&&null!=e.text&&null!=e.text.boundingBox)for(var f=0;f<a.length;f++){var g=a[f];null!=g&&this.avoid(e,g)}}}finally{c.endUpdate()}};
- mxEdgeLabelLayout.prototype.avoid=function(a,b){var c=this.graph.getModel(),d=a.text.boundingBox;if(mxUtils.intersects(d,b)){var e=-d.y-d.height+b.y,f=-d.y+b.y+b.height,e=Math.abs(e)<Math.abs(f)?e:f,f=-d.x-d.width+b.x,d=-d.x+b.x+b.width,d=Math.abs(f)<Math.abs(d)?f:d;Math.abs(d)<Math.abs(e)?e=0:d=0;f=c.getGeometry(a.cell);null!=f&&(f=f.clone(),null!=f.offset?(f.offset.x+=d,f.offset.y+=e):f.offset=new mxPoint(d,e),c.setGeometry(a.cell,f))}};
- function mxGraphAbstractHierarchyCell(){this.x=[];this.y=[];this.temp=[]}mxGraphAbstractHierarchyCell.prototype.maxRank=-1;mxGraphAbstractHierarchyCell.prototype.minRank=-1;mxGraphAbstractHierarchyCell.prototype.x=null;mxGraphAbstractHierarchyCell.prototype.y=null;mxGraphAbstractHierarchyCell.prototype.width=0;mxGraphAbstractHierarchyCell.prototype.height=0;mxGraphAbstractHierarchyCell.prototype.nextLayerConnectedCells=null;mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells=null;
- mxGraphAbstractHierarchyCell.prototype.temp=null;mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells=function(a){return null};mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells=function(a){return null};mxGraphAbstractHierarchyCell.prototype.isEdge=function(){return!1};mxGraphAbstractHierarchyCell.prototype.isVertex=function(){return!1};mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable=function(a){return null};
- mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable=function(a,b){return null};mxGraphAbstractHierarchyCell.prototype.setX=function(a,b){this.isVertex()?this.x[0]=b:this.isEdge()&&(this.x[a-this.minRank-1]=b)};mxGraphAbstractHierarchyCell.prototype.getX=function(a){return this.isVertex()?this.x[0]:this.isEdge()?this.x[a-this.minRank-1]:0};mxGraphAbstractHierarchyCell.prototype.setY=function(a,b){this.isVertex()?this.y[0]=b:this.isEdge()&&(this.y[a-this.minRank-1]=b)};
- function mxGraphHierarchyNode(a){mxGraphAbstractHierarchyCell.apply(this,arguments);this.cell=a;this.id=mxObjectIdentity.get(a);this.connectsAsTarget=[];this.connectsAsSource=[]}mxGraphHierarchyNode.prototype=new mxGraphAbstractHierarchyCell;mxGraphHierarchyNode.prototype.constructor=mxGraphHierarchyNode;mxGraphHierarchyNode.prototype.cell=null;mxGraphHierarchyNode.prototype.id=null;mxGraphHierarchyNode.prototype.connectsAsTarget=null;mxGraphHierarchyNode.prototype.connectsAsSource=null;
- mxGraphHierarchyNode.prototype.hashCode=!1;mxGraphHierarchyNode.prototype.getRankValue=function(a){return this.maxRank};mxGraphHierarchyNode.prototype.getNextLayerConnectedCells=function(a){if(null==this.nextLayerConnectedCells){this.nextLayerConnectedCells=[];this.nextLayerConnectedCells[0]=[];for(var b=0;b<this.connectsAsTarget.length;b++){var c=this.connectsAsTarget[b];-1==c.maxRank||c.maxRank==a+1?this.nextLayerConnectedCells[0].push(c.source):this.nextLayerConnectedCells[0].push(c)}}return this.nextLayerConnectedCells[0]};
- mxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells=function(a){if(null==this.previousLayerConnectedCells){this.previousLayerConnectedCells=[];this.previousLayerConnectedCells[0]=[];for(var b=0;b<this.connectsAsSource.length;b++){var c=this.connectsAsSource[b];-1==c.minRank||c.minRank==a-1?this.previousLayerConnectedCells[0].push(c.target):this.previousLayerConnectedCells[0].push(c)}}return this.previousLayerConnectedCells[0]};mxGraphHierarchyNode.prototype.isVertex=function(){return!0};
- mxGraphHierarchyNode.prototype.getGeneralPurposeVariable=function(a){return this.temp[0]};mxGraphHierarchyNode.prototype.setGeneralPurposeVariable=function(a,b){this.temp[0]=b};mxGraphHierarchyNode.prototype.isAncestor=function(a){if(null!=a&&null!=this.hashCode&&null!=a.hashCode&&this.hashCode.length<a.hashCode.length){if(this.hashCode==a.hashCode)return!0;if(null==this.hashCode||null==this.hashCode)return!1;for(var b=0;b<this.hashCode.length;b++)if(this.hashCode[b]!=a.hashCode[b])return!1;return!0}return!1};
- mxGraphHierarchyNode.prototype.getCoreCell=function(){return this.cell};function mxGraphHierarchyEdge(a){mxGraphAbstractHierarchyCell.apply(this,arguments);this.edges=a;this.ids=[];for(var b=0;b<a.length;b++)this.ids.push(mxObjectIdentity.get(a[b]))}mxGraphHierarchyEdge.prototype=new mxGraphAbstractHierarchyCell;mxGraphHierarchyEdge.prototype.constructor=mxGraphHierarchyEdge;mxGraphHierarchyEdge.prototype.edges=null;mxGraphHierarchyEdge.prototype.ids=null;mxGraphHierarchyEdge.prototype.source=null;
- mxGraphHierarchyEdge.prototype.target=null;mxGraphHierarchyEdge.prototype.isReversed=!1;mxGraphHierarchyEdge.prototype.invert=function(a){a=this.source;this.source=this.target;this.target=a;this.isReversed=!this.isReversed};
- mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells=function(a){if(null==this.nextLayerConnectedCells){this.nextLayerConnectedCells=[];for(var b=0;b<this.temp.length;b++)this.nextLayerConnectedCells[b]=[],b==this.temp.length-1?this.nextLayerConnectedCells[b].push(this.source):this.nextLayerConnectedCells[b].push(this)}return this.nextLayerConnectedCells[a-this.minRank-1]};
- mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells=function(a){if(null==this.previousLayerConnectedCells){this.previousLayerConnectedCells=[];for(var b=0;b<this.temp.length;b++)this.previousLayerConnectedCells[b]=[],0==b?this.previousLayerConnectedCells[b].push(this.target):this.previousLayerConnectedCells[b].push(this)}return this.previousLayerConnectedCells[a-this.minRank-1]};mxGraphHierarchyEdge.prototype.isEdge=function(){return!0};
- mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable=function(a){return this.temp[a-this.minRank-1]};mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable=function(a,b){this.temp[a-this.minRank-1]=b};mxGraphHierarchyEdge.prototype.getCoreCell=function(){return null!=this.edges&&0<this.edges.length?this.edges[0]:null};
- function mxGraphHierarchyModel(a,b,c,d,e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;this.vertexMapper=new mxDictionary;this.edgeMapper=new mxDictionary;this.maxRank=0;c=[];null==b&&(b=this.graph.getChildVertices(d));this.maxRank=this.SOURCESCANSTARTRANK;this.createInternalCells(a,b,c);for(d=0;d<b.length;d++){e=c[d].connectsAsSource;for(var f=0;f<e.length;f++){var g=e[f],k=g.edges;if(null!=k&&0<k.length){var k=k[0],l=a.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);c[d]==
- l&&(l=a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.connectsAsTarget.length&&(l.connectsAsTarget=[]),0>mxUtils.indexOf(l.connectsAsTarget,g)&&l.connectsAsTarget.push(g))}}c[d].temp[0]=1}}mxGraphHierarchyModel.prototype.maxRank=null;mxGraphHierarchyModel.prototype.vertexMapper=null;mxGraphHierarchyModel.prototype.edgeMapper=null;mxGraphHierarchyModel.prototype.ranks=null;mxGraphHierarchyModel.prototype.roots=null;mxGraphHierarchyModel.prototype.parent=null;
- mxGraphHierarchyModel.prototype.dfsCount=0;mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK=1E8;mxGraphHierarchyModel.prototype.tightenToSource=!1;
- mxGraphHierarchyModel.prototype.createInternalCells=function(a,b,c){for(var d=a.getGraph(),e=0;e<b.length;e++){c[e]=new mxGraphHierarchyNode(b[e]);this.vertexMapper.put(b[e],c[e]);var f=a.getEdges(b[e]);c[e].connectsAsSource=[];for(var g=0;g<f.length;g++){var k=a.getVisibleTerminal(f[g],!1);if(k!=b[e]&&a.graph.model.isVertex(k)&&!a.isVertexIgnored(k)){var l=a.getEdgesBetween(b[e],k,!1),k=a.getEdgesBetween(b[e],k,!0);if(null!=l&&0<l.length&&null==this.edgeMapper.get(l[0])&&2*k.length>=l.length){for(var k=
- new mxGraphHierarchyEdge(l),m=0;m<l.length;m++){var n=l[m];this.edgeMapper.put(n,k);d.resetEdge(n);a.disableEdgeStyle&&(a.setEdgeStyleEnabled(n,!1),a.setOrthogonalEdge(n,!0))}k.source=c[e];0>mxUtils.indexOf(c[e].connectsAsSource,k)&&c[e].connectsAsSource.push(k)}}}c[e].temp[0]=0}};
- mxGraphHierarchyModel.prototype.initialRank=function(){var a=[];if(null!=this.roots)for(var b=0;b<this.roots.length;b++){var c=this.vertexMapper.get(this.roots[b]);null!=c&&a.push(c)}for(var d=this.vertexMapper.getValues(),b=0;b<d.length;b++)d[b].temp[0]=-1;for(var e=a.slice();0<a.length;){var c=a[0],f,g;f=c.connectsAsTarget;g=c.connectsAsSource;for(var k=!0,l=this.SOURCESCANSTARTRANK,b=0;b<f.length;b++){var m=f[b];if(5270620==m.temp[0])m=m.source,l=Math.min(l,m.temp[0]-1);else{k=!1;break}}if(k){c.temp[0]=
- l;this.maxRank=Math.min(this.maxRank,l);if(null!=g)for(b=0;b<g.length;b++)m=g[b],m.temp[0]=5270620,m=m.target,-1==m.temp[0]&&(a.push(m),m.temp[0]=-2);a.shift()}else if(b=a.shift(),a.push(c),b==c&&1==a.length)break}for(b=0;b<d.length;b++)d[b].temp[0]-=this.maxRank;for(b=0;b<e.length;b++)for(c=e[b],a=0,f=c.connectsAsSource,d=0;d<f.length;d++)m=f[d],m=m.target,c.temp[0]=Math.max(a,m.temp[0]+1),a=c.temp[0];this.maxRank=this.SOURCESCANSTARTRANK-this.maxRank};
- mxGraphHierarchyModel.prototype.fixRanks=function(){var a=[];this.ranks=[];for(var b=0;b<this.maxRank+1;b++)a[b]=[],this.ranks[b]=a[b];var c=null;if(null!=this.roots)for(var d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.visit(function(b,c,d,e,m){0==m&&0>c.maxRank&&0>c.minRank&&(a[c.temp[0]].push(c),c.maxRank=c.temp[0],c.minRank=c.temp[0],c.temp[0]=a[c.maxRank].length-1);if(null!=b&&null!=d&&1<b.maxRank-c.maxRank)for(d.maxRank=b.maxRank,d.minRank=c.maxRank,d.temp=
- [],d.x=[],d.y=[],b=d.minRank+1;b<d.maxRank;b++)a[b].push(d),d.setGeneralPurposeVariable(b,a[b].length-1)},c,!1,null)};mxGraphHierarchyModel.prototype.visit=function(a,b,c,d){if(null!=b){for(var e=0;e<b.length;e++){var f=b[e];null!=f&&(null==d&&(d={}),c?(f.hashCode=[],f.hashCode[0]=this.dfsCount,f.hashCode[1]=e,this.extendedDfs(null,f,null,a,d,f.hashCode,e,0)):this.dfs(null,f,null,a,d,0))}this.dfsCount++}};
- mxGraphHierarchyModel.prototype.dfs=function(a,b,c,d,e,f){if(null!=b){var g=b.id;if(null==e[g])for(e[g]=b,d(a,b,c,f,0),a=b.connectsAsSource.slice(),c=0;c<a.length;c++)g=a[c],this.dfs(b,g.target,g,d,e,f+1);else d(a,b,c,f,1)}};
- mxGraphHierarchyModel.prototype.extendedDfs=function(a,b,c,d,e,f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.length+1,b.hashCode=a.hashCode.slice(),b.hashCode[f-1]=g),g=b.id,null==e[g])for(e[g]=b,d(a,b,c,k,0),a=b.connectsAsSource.slice(),c=0;c<a.length;c++)g=a[c],this.extendedDfs(b,g.target,g,d,e,b.hashCode,c,k+1);else d(a,b,c,k,1)};
- function mxSwimlaneModel(a,b,c,d,e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;this.vertexMapper=new mxDictionary;this.edgeMapper=new mxDictionary;this.maxRank=0;c=[];null==b&&(b=this.graph.getChildVertices(d));this.maxRank=this.SOURCESCANSTARTRANK;this.createInternalCells(a,b,c);for(d=0;d<b.length;d++){e=c[d].connectsAsSource;for(var f=0;f<e.length;f++){var g=e[f],k=g.edges;if(null!=k&&0<k.length){var k=k[0],l=a.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);c[d]==l&&(l=
- a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.connectsAsTarget.length&&(l.connectsAsTarget=[]),0>mxUtils.indexOf(l.connectsAsTarget,g)&&l.connectsAsTarget.push(g))}}c[d].temp[0]=1}}mxSwimlaneModel.prototype.maxRank=null;mxSwimlaneModel.prototype.vertexMapper=null;mxSwimlaneModel.prototype.edgeMapper=null;mxSwimlaneModel.prototype.ranks=null;mxSwimlaneModel.prototype.roots=null;mxSwimlaneModel.prototype.parent=null;mxSwimlaneModel.prototype.dfsCount=0;
- mxSwimlaneModel.prototype.SOURCESCANSTARTRANK=1E8;mxGraphHierarchyModel.prototype.tightenToSource=!1;mxSwimlaneModel.prototype.ranksPerGroup=null;
- mxSwimlaneModel.prototype.createInternalCells=function(a,b,c){for(var d=a.getGraph(),e=a.swimlanes,f=0;f<b.length;f++){c[f]=new mxGraphHierarchyNode(b[f]);this.vertexMapper.put(b[f],c[f]);c[f].swimlaneIndex=-1;for(var g=0;g<e.length;g++)if(d.model.getParent(b[f])==e[g]){c[f].swimlaneIndex=g;break}g=a.getEdges(b[f]);c[f].connectsAsSource=[];for(var k=0;k<g.length;k++){var l=a.getVisibleTerminal(g[k],!1);if(l!=b[f]&&a.graph.model.isVertex(l)&&!a.isVertexIgnored(l)){var m=a.getEdgesBetween(b[f],l,!1),
- l=a.getEdgesBetween(b[f],l,!0);if(null!=m&&0<m.length&&null==this.edgeMapper.get(m[0])&&2*l.length>=m.length){for(var l=new mxGraphHierarchyEdge(m),n=0;n<m.length;n++){var p=m[n];this.edgeMapper.put(p,l);d.resetEdge(p);a.disableEdgeStyle&&(a.setEdgeStyleEnabled(p,!1),a.setOrthogonalEdge(p,!0))}l.source=c[f];0>mxUtils.indexOf(c[f].connectsAsSource,l)&&c[f].connectsAsSource.push(l)}}}c[f].temp[0]=0}};
- mxSwimlaneModel.prototype.initialRank=function(){this.ranksPerGroup=[];var a=[],b={};if(null!=this.roots)for(var c=0;c<this.roots.length;c++){var d=this.vertexMapper.get(this.roots[c]);this.maxChainDfs(null,d,null,b,0);null!=d&&a.push(d)}d=[];b=[];for(c=this.ranksPerGroup.length-1;0<=c;c--)d[c]=c==this.ranksPerGroup.length-1?0:b[c+1]+1,b[c]=d[c]+this.ranksPerGroup[c];this.maxRank=b[0];d=this.vertexMapper.getValues();for(c=0;c<d.length;c++)d[c].temp[0]=-1;for(a.slice();0<a.length;){var d=a[0],e,f;
- e=d.connectsAsTarget;f=d.connectsAsSource;for(var g=!0,k=b[0],c=0;c<e.length;c++){var l=e[c];if(5270620==l.temp[0])l=l.source,k=Math.min(k,l.temp[0]-1);else{g=!1;break}}if(g){k>b[d.swimlaneIndex]&&(k=b[d.swimlaneIndex]);d.temp[0]=k;if(null!=f)for(c=0;c<f.length;c++)l=f[c],l.temp[0]=5270620,l=l.target,-1==l.temp[0]&&(a.push(l),l.temp[0]=-2);a.shift()}else if(c=a.shift(),a.push(d),c==d&&1==a.length)break}};
- mxSwimlaneModel.prototype.maxChainDfs=function(a,b,c,d,e){if(null!=b&&(a=mxCellPath.create(b.cell),null==d[a])){d[a]=b;a=b.swimlaneIndex;if(null==this.ranksPerGroup[a]||this.ranksPerGroup[a]<e)this.ranksPerGroup[a]=e;a=b.connectsAsSource.slice();for(c=0;c<a.length;c++){var f=a[c],g=f.target;b.swimlaneIndex<g.swimlaneIndex?this.maxChainDfs(b,g,f,mxUtils.clone(d,null,!0),0):b.swimlaneIndex==g.swimlaneIndex&&this.maxChainDfs(b,g,f,mxUtils.clone(d,null,!0),e+1)}}};
- mxSwimlaneModel.prototype.fixRanks=function(){var a=[];this.ranks=[];for(var b=0;b<this.maxRank+1;b++)a[b]=[],this.ranks[b]=a[b];var c=null;if(null!=this.roots)for(var d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.visit(function(b,c,d,e,m){0==m&&0>c.maxRank&&0>c.minRank&&(a[c.temp[0]].push(c),c.maxRank=c.temp[0],c.minRank=c.temp[0],c.temp[0]=a[c.maxRank].length-1);if(null!=b&&null!=d&&1<b.maxRank-c.maxRank)for(d.maxRank=b.maxRank,d.minRank=c.maxRank,d.temp=[],
- d.x=[],d.y=[],b=d.minRank+1;b<d.maxRank;b++)a[b].push(d),d.setGeneralPurposeVariable(b,a[b].length-1)},c,!1,null)};mxSwimlaneModel.prototype.visit=function(a,b,c,d){if(null!=b){for(var e=0;e<b.length;e++){var f=b[e];null!=f&&(null==d&&(d={}),c?(f.hashCode=[],f.hashCode[0]=this.dfsCount,f.hashCode[1]=e,this.extendedDfs(null,f,null,a,d,f.hashCode,e,0)):this.dfs(null,f,null,a,d,0))}this.dfsCount++}};
- mxSwimlaneModel.prototype.dfs=function(a,b,c,d,e,f){if(null!=b){var g=b.id;if(null==e[g])for(e[g]=b,d(a,b,c,f,0),a=b.connectsAsSource.slice(),c=0;c<a.length;c++)g=a[c],this.dfs(b,g.target,g,d,e,f+1);else d(a,b,c,f,1)}};
- mxSwimlaneModel.prototype.extendedDfs=function(a,b,c,d,e,f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.length+1,b.hashCode=a.hashCode.slice(),b.hashCode[f-1]=g),g=b.id,null==e[g]){e[g]=b;d(a,b,c,k,0);a=b.connectsAsSource.slice();c=b.connectsAsTarget.slice();for(g=0;g<a.length;g++){f=a[g];var l=f.target;b.swimlaneIndex<=l.swimlaneIndex&&this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}for(g=0;g<c.length;g++)f=c[g],l=f.source,b.swimlaneIndex<l.swimlaneIndex&&
- this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoutStage.prototype.execute=function(a){};function mxMedianHybridCrossingReduction(a){this.layout=a}mxMedianHybridCrossingReduction.prototype=new mxHierarchicalLayoutStage;mxMedianHybridCrossingReduction.prototype.constructor=mxMedianHybridCrossingReduction;mxMedianHybridCrossingReduction.prototype.layout=null;mxMedianHybridCrossingReduction.prototype.maxIterations=24;
- mxMedianHybridCrossingReduction.prototype.nestedBestRanks=null;mxMedianHybridCrossingReduction.prototype.currentBestCrossings=0;mxMedianHybridCrossingReduction.prototype.iterationsWithoutImprovement=0;mxMedianHybridCrossingReduction.prototype.maxNoImprovementIterations=2;
- mxMedianHybridCrossingReduction.prototype.execute=function(a){a=this.layout.getModel();this.nestedBestRanks=[];for(var b=0;b<a.ranks.length;b++)this.nestedBestRanks[b]=a.ranks[b].slice();for(var c=0,d=this.calculateCrossings(a),b=0;b<this.maxIterations&&c<this.maxNoImprovementIterations;b++){this.weightedMedian(b,a);this.transpose(b,a);var e=this.calculateCrossings(a);if(e<d)for(d=e,e=c=0;e<this.nestedBestRanks.length;e++)for(var f=a.ranks[e],g=0;g<f.length;g++){var k=f[g];this.nestedBestRanks[e][k.getGeneralPurposeVariable(e)]=
- k}else for(c++,e=0;e<this.nestedBestRanks.length;e++)for(f=a.ranks[e],g=0;g<f.length;g++)k=f[g],k.setGeneralPurposeVariable(e,g);if(0==d)break}c=[];d=[];for(b=0;b<a.maxRank+1;b++)d[b]=[],c[b]=d[b];for(b=0;b<this.nestedBestRanks.length;b++)for(e=0;e<this.nestedBestRanks[b].length;e++)d[b].push(this.nestedBestRanks[b][e]);a.ranks=c};mxMedianHybridCrossingReduction.prototype.calculateCrossings=function(a){for(var b=a.ranks.length,c=0,d=1;d<b;d++)c+=this.calculateRankCrossing(d,a);return c};
- mxMedianHybridCrossingReduction.prototype.calculateRankCrossing=function(a,b){for(var c=0,d=b.ranks[a],e=b.ranks[a-1],f=[],g=0;g<d.length;g++){for(var k=d[g],l=k.getGeneralPurposeVariable(a),k=k.getPreviousLayerConnectedCells(a),m=[],n=0;n<k.length;n++){var p=k[n].getGeneralPurposeVariable(a-1);m.push(p)}m.sort(function(a,b){return a-b});f[l]=m}d=[];for(g=0;g<f.length;g++)d=d.concat(f[g]);for(f=1;f<e.length;)f<<=1;l=2*f-1;--f;e=[];for(g=0;g<l;++g)e[g]=0;for(g=0;g<d.length;g++)for(l=d[g]+f,++e[l];0<
- l;)l%2&&(c+=e[l+1]),l=l-1>>1,++e[l];return c};
- mxMedianHybridCrossingReduction.prototype.transpose=function(a,b){for(var c=!0,d=0;c&&10>d++;)for(var e=1==a%2&&1==d%2,c=!1,f=0;f<b.ranks.length;f++){for(var g=b.ranks[f],k=[],l=0;l<g.length;l++){var m=g[l],n=m.getGeneralPurposeVariable(f);0>n&&(n=l);k[n]=m}for(var p=null,q=null,r,t,u=null,x=null,y,A=null,l=0;l<g.length-1;l++){if(0==l){y=k[l];m=y.getNextLayerConnectedCells(f);n=y.getPreviousLayerConnectedCells(f);r=[];t=[];for(var z=0;z<m.length;z++)r[z]=m[z].getGeneralPurposeVariable(f+1);for(z=
- 0;z<n.length;z++)t[z]=n[z].getGeneralPurposeVariable(f-1)}else m=p,n=q,r=u,t=x,y=A;A=k[l+1];p=A.getNextLayerConnectedCells(f);q=A.getPreviousLayerConnectedCells(f);u=[];x=[];for(z=0;z<p.length;z++)u[z]=p[z].getGeneralPurposeVariable(f+1);for(z=0;z<q.length;z++)x[z]=q[z].getGeneralPurposeVariable(f-1);for(var v=0,B=0,z=0;z<r.length;z++)for(var C=0;C<u.length;C++)r[z]>u[C]&&v++,r[z]<u[C]&&B++;for(z=0;z<t.length;z++)for(C=0;C<x.length;C++)t[z]>x[C]&&v++,t[z]<x[C]&&B++;if(B<v||B==v&&e)p=y.getGeneralPurposeVariable(f),
- y.setGeneralPurposeVariable(f,A.getGeneralPurposeVariable(f)),A.setGeneralPurposeVariable(f,p),p=m,q=n,u=r,x=t,A=y,e||(c=!0)}}};mxMedianHybridCrossingReduction.prototype.weightedMedian=function(a,b){var c=0==a%2;if(c)for(var d=b.maxRank-1;0<=d;d--)this.medianRank(d,c);else for(d=1;d<b.maxRank;d++)this.medianRank(d,c)};
- mxMedianHybridCrossingReduction.prototype.medianRank=function(a,b){for(var c=this.nestedBestRanks[a].length,d=[],e=[],f=0;f<c;f++){var g=this.nestedBestRanks[a][f],k=new MedianCellSorter;k.cell=g;var l;l=b?g.getNextLayerConnectedCells(a):g.getPreviousLayerConnectedCells(a);var m;m=b?a+1:a-1;null!=l&&0!=l.length?(k.medianValue=this.medianValue(l,m),d.push(k)):e[g.getGeneralPurposeVariable(a)]=!0}d.sort(MedianCellSorter.prototype.compare);for(f=0;f<c;f++)null==e[f]&&(g=d.shift().cell,g.setGeneralPurposeVariable(a,
- f))};mxMedianHybridCrossingReduction.prototype.medianValue=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++){var f=a[e];c[d++]=f.getGeneralPurposeVariable(b)}c.sort(function(a,b){return a-b});if(1==d%2)return c[Math.floor(d/2)];if(2==d)return(c[0]+c[1])/2;e=d/2;f=c[e-1]-c[0];d=c[d-1]-c[e];return(c[e-1]*d+c[e]*f)/(f+d)};function MedianCellSorter(){}MedianCellSorter.prototype.medianValue=0;MedianCellSorter.prototype.cell=!1;
- MedianCellSorter.prototype.compare=function(a,b){return null!=a&&null!=b?b.medianValue>a.medianValue?-1:b.medianValue<a.medianValue?1:0:0};function mxMinimumCycleRemover(a){this.layout=a}mxMinimumCycleRemover.prototype=new mxHierarchicalLayoutStage;mxMinimumCycleRemover.prototype.constructor=mxMinimumCycleRemover;mxMinimumCycleRemover.prototype.layout=null;
- mxMinimumCycleRemover.prototype.execute=function(a){a=this.layout.getModel();for(var b={},c=a.vertexMapper.getValues(),d={},e=0;e<c.length;e++)d[c[e].id]=c[e];c=null;if(null!=a.roots)for(var f=a.roots,c=[],e=0;e<f.length;e++)c[e]=a.vertexMapper.get(f[e]);a.visit(function(a,c,e,f,n){c.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),a.connectsAsTarget.push(e),mxUtils.remove(e,c.connectsAsTarget),c.connectsAsSource.push(e));b[c.id]=c;delete d[c.id]},c,!0,null);e=mxUtils.clone(b,null,
- !0);a.visit(function(a,c,e,f,n){c.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),c.connectsAsSource.push(e),a.connectsAsTarget.push(e),mxUtils.remove(e,c.connectsAsTarget));b[c.id]=c;delete d[c.id]},d,!0,e)};function mxCoordinateAssignment(a,b,c,d,e,f){this.layout=a;this.intraCellSpacing=b;this.interRankCellSpacing=c;this.orientation=d;this.initialX=e;this.parallelEdgeSpacing=f}mxCoordinateAssignment.prototype=new mxHierarchicalLayoutStage;
- mxCoordinateAssignment.prototype.constructor=mxCoordinateAssignment;mxCoordinateAssignment.prototype.layout=null;mxCoordinateAssignment.prototype.intraCellSpacing=30;mxCoordinateAssignment.prototype.interRankCellSpacing=100;mxCoordinateAssignment.prototype.parallelEdgeSpacing=10;mxCoordinateAssignment.prototype.maxIterations=8;mxCoordinateAssignment.prototype.prefHozEdgeSep=5;mxCoordinateAssignment.prototype.prefVertEdgeOff=2;mxCoordinateAssignment.prototype.minEdgeJetty=12;
- mxCoordinateAssignment.prototype.channelBuffer=4;mxCoordinateAssignment.prototype.jettyPositions=null;mxCoordinateAssignment.prototype.orientation=mxConstants.DIRECTION_NORTH;mxCoordinateAssignment.prototype.initialX=null;mxCoordinateAssignment.prototype.limitX=null;mxCoordinateAssignment.prototype.currentXDelta=null;mxCoordinateAssignment.prototype.widestRank=null;mxCoordinateAssignment.prototype.rankTopY=null;mxCoordinateAssignment.prototype.rankBottomY=null;
- mxCoordinateAssignment.prototype.widestRankValue=null;mxCoordinateAssignment.prototype.rankWidths=null;mxCoordinateAssignment.prototype.rankY=null;mxCoordinateAssignment.prototype.fineTuning=!0;mxCoordinateAssignment.prototype.nextLayerConnectedCache=null;mxCoordinateAssignment.prototype.previousLayerConnectedCache=null;mxCoordinateAssignment.prototype.groupPadding=10;
- mxCoordinateAssignment.prototype.printStatus=function(){var a=this.layout.getModel();mxLog.show();mxLog.writeln("======Coord assignment debug=======");for(var b=0;b<a.ranks.length;b++){mxLog.write("Rank ",b," : ");for(var c=a.ranks[b],d=0;d<c.length;d++)mxLog.write(c[d].getGeneralPurposeVariable(b)," ");mxLog.writeln()}mxLog.writeln("====================================")};
- mxCoordinateAssignment.prototype.execute=function(a){this.jettyPositions={};a=this.layout.getModel();this.currentXDelta=0;this.initialCoords(this.layout.getGraph(),a);this.fineTuning&&this.minNode(a);var b=1E8;if(this.fineTuning)for(var c=0;c<this.maxIterations;c++){0!=c&&(this.medianPos(c,a),this.minNode(a));if(this.currentXDelta<b){for(var d=0;d<a.ranks.length;d++)for(var e=a.ranks[d],f=0;f<e.length;f++){var g=e[f];g.setX(d,g.getGeneralPurposeVariable(d))}b=this.currentXDelta}else for(d=0;d<a.ranks.length;d++)for(e=
- a.ranks[d],f=0;f<e.length;f++)g=e[f],g.setGeneralPurposeVariable(d,g.getX(d));this.minPath(this.layout.getGraph(),a);this.currentXDelta=0}this.setCellLocations(this.layout.getGraph(),a)};
- mxCoordinateAssignment.prototype.minNode=function(a){for(var b=[],c=new mxDictionary,d=[],e=0;e<=a.maxRank;e++){d[e]=a.ranks[e];for(var f=0;f<d[e].length;f++){var g=d[e][f],k=new WeightedCellSorter(g,e);k.rankIndex=f;k.visited=!0;b.push(k);c.put(g,k)}}a=10*b.length;for(f=0;0<b.length&&f<=a;){var g=b.shift(),e=g.cell,l=g.weightedValue,m=parseInt(g.rankIndex),k=e.getNextLayerConnectedCells(l),n=e.getPreviousLayerConnectedCells(l),p=k.length,q=n.length,r=this.medianXValue(k,l+1),t=this.medianXValue(n,
- l-1),u=p+q,x=e.getGeneralPurposeVariable(l),y=x;0<u&&(y=(r*p+t*q)/u);p=!1;y<x-1?0==m?(e.setGeneralPurposeVariable(l,y),p=!0):(m=d[l][m-1],x=m.getGeneralPurposeVariable(l),x=x+m.width/2+this.intraCellSpacing+e.width/2,x<y?(e.setGeneralPurposeVariable(l,y),p=!0):x<e.getGeneralPurposeVariable(l)-1&&(e.setGeneralPurposeVariable(l,x),p=!0)):y>x+1&&(m==d[l].length-1?(e.setGeneralPurposeVariable(l,y),p=!0):(m=d[l][m+1],x=m.getGeneralPurposeVariable(l),x=x-m.width/2-this.intraCellSpacing-e.width/2,x>y?(e.setGeneralPurposeVariable(l,
- y),p=!0):x>e.getGeneralPurposeVariable(l)+1&&(e.setGeneralPurposeVariable(l,x),p=!0)));if(p){for(e=0;e<k.length;e++)l=k[e],l=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l));for(e=0;e<n.length;e++)l=n[e],l=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l))}g.visited=!1;f++}};mxCoordinateAssignment.prototype.medianPos=function(a,b){if(0==a%2)for(var c=b.maxRank;0<c;c--)this.rankMedianPosition(c-1,b,c);else for(c=0;c<b.maxRank-1;c++)this.rankMedianPosition(c+1,b,c)};
- mxCoordinateAssignment.prototype.rankMedianPosition=function(a,b,c){b=b.ranks[a];for(var d=[],e={},f=0;f<b.length;f++){var g=b[f];d[f]=new WeightedCellSorter;d[f].cell=g;d[f].rankIndex=f;e[g.id]=d[f];var k;k=c<a?g.getPreviousLayerConnectedCells(a):g.getNextLayerConnectedCells(a);d[f].weightedValue=this.calculatedWeightedValue(g,k)}d.sort(WeightedCellSorter.prototype.compare);for(f=0;f<d.length;f++){var l,g=d[f].cell;l=0;k=c<a?g.getPreviousLayerConnectedCells(a).slice():g.getNextLayerConnectedCells(a).slice();
- null!=k&&(l=k.length,l=0<l?this.medianXValue(k,c):g.getGeneralPurposeVariable(a));var m=0;k=-1E8;for(var n=d[f].rankIndex-1;0<=n;){var p=e[b[n].id];if(null!=p){var q=p.cell;p.visited?(k=q.getGeneralPurposeVariable(a)+q.width/2+this.intraCellSpacing+m+g.width/2,n=-1):(m+=q.width+this.intraCellSpacing,n--)}}m=0;q=1E8;for(n=d[f].rankIndex+1;n<d.length;)if(p=e[b[n].id],null!=p){var r=p.cell;p.visited?(q=r.getGeneralPurposeVariable(a)-r.width/2-this.intraCellSpacing-m-g.width/2,n=d.length):(m+=r.width+
- this.intraCellSpacing,n++)}l>=k&&l<=q?g.setGeneralPurposeVariable(a,l):l<k?(g.setGeneralPurposeVariable(a,k),this.currentXDelta+=k-l):l>q&&(g.setGeneralPurposeVariable(a,q),this.currentXDelta+=l-q);d[f].visited=!0}};mxCoordinateAssignment.prototype.calculatedWeightedValue=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];a.isVertex()&&e.isVertex()?c++:c=a.isEdge()&&e.isEdge()?c+8:c+2}return c};
- mxCoordinateAssignment.prototype.medianXValue=function(a,b){if(0==a.length)return 0;for(var c=[],d=0;d<a.length;d++)c[d]=a[d].getGeneralPurposeVariable(b);c.sort(function(a,b){return a-b});if(1==a.length%2)return c[Math.floor(a.length/2)];d=a.length/2;return(c[d-1]+c[d])/2};
- mxCoordinateAssignment.prototype.initialCoords=function(a,b){this.calculateWidestRank(a,b);for(var c=this.widestRank;0<=c;c--)c<b.maxRank&&this.rankCoordinates(c,a,b);for(c=this.widestRank+1;c<=b.maxRank;c++)0<c&&this.rankCoordinates(c,a,b)};
- mxCoordinateAssignment.prototype.rankCoordinates=function(a,b,c){b=c.ranks[a];c=this.initialX+(this.widestRankValue-this.rankWidths[a])/2;for(var d=!1,e=0;e<b.length;e++){var f=b[e];if(f.isVertex()){var g=this.layout.getVertexBounds(f.cell);null!=g?this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(f.width=g.width,f.height=g.height):(f.width=g.height,f.height=g.width):d=!0}else f.isEdge()&&(g=1,null!=f.edges?g=f.edges.length:mxLog.warn("edge.edges is null"),
- f.width=(g-1)*this.parallelEdgeSpacing);c+=f.width/2;f.setX(a,c);f.setGeneralPurposeVariable(a,c);c+=f.width/2;c+=this.intraCellSpacing}1==d&&mxLog.warn("At least one cell has no bounds")};
- mxCoordinateAssignment.prototype.calculateWidestRank=function(a,b){var c=-this.interRankCellSpacing,d=0;this.rankWidths=[];this.rankY=[];for(var e=b.maxRank;0<=e;e--){for(var f=0,g=b.ranks[e],k=this.initialX,l=!1,m=0;m<g.length;m++){var n=g[m];if(n.isVertex()){var p=this.layout.getVertexBounds(n.cell);null!=p?this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(n.width=p.width,n.height=p.height):(n.width=p.height,n.height=p.width):l=!0;f=Math.max(f,n.height)}else n.isEdge()&&
- (p=1,null!=n.edges?p=n.edges.length:mxLog.warn("edge.edges is null"),n.width=(p-1)*this.parallelEdgeSpacing);k+=n.width/2;n.setX(e,k);n.setGeneralPurposeVariable(e,k);k+=n.width/2;k+=this.intraCellSpacing;k>this.widestRankValue&&(this.widestRankValue=k,this.widestRank=e);this.rankWidths[e]=k}1==l&&mxLog.warn("At least one cell has no bounds");this.rankY[e]=c;k=f/2+d/2+this.interRankCellSpacing;d=f;c=this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_WEST?c+k:c-
- k;for(m=0;m<g.length;m++)g[m].setY(e,c)}};
- mxCoordinateAssignment.prototype.minPath=function(a,b){for(var c=b.edgeMapper.getValues(),d=0;d<c.length;d++){var e=c[d];if(!(1>e.maxRank-e.minRank-1)){for(var f=e.getGeneralPurposeVariable(e.minRank+1),g=!0,k=0,l=e.minRank+2;l<e.maxRank;l++){var m=e.getGeneralPurposeVariable(l);f!=m?(g=!1,f=m):k++}if(!g){for(var g=f=0,m=[],n=[],p=e.getGeneralPurposeVariable(e.minRank+1),l=e.minRank+1;l<e.maxRank-1;l++){var q=e.getX(l+1);p==q?(m[l-e.minRank-1]=p,f++):this.repositionValid(b,e,l+1,p)?(m[l-e.minRank-
- 1]=p,f++):p=m[l-e.minRank-1]=q}p=e.getX(l);for(l=e.maxRank-1;l>e.minRank+1;l--)q=e.getX(l-1),p==q?(n[l-e.minRank-2]=p,g++):this.repositionValid(b,e,l-1,p)?(n[l-e.minRank-2]=p,g++):(n[l-e.minRank-2]=e.getX(l-1),p=q);if(g>k||f>k)if(g>=f)for(l=e.maxRank-2;l>e.minRank;l--)e.setX(l,n[l-e.minRank-1]);else if(f>g)for(l=e.minRank+2;l<e.maxRank;l++)e.setX(l,m[l-e.minRank-2])}}}};
- mxCoordinateAssignment.prototype.repositionValid=function(a,b,c,d){a=a.ranks[c];for(var e=-1,f=0;f<a.length;f++)if(b==a[f]){e=f;break}if(0>e)return!1;f=b.getGeneralPurposeVariable(c);if(d<f){if(0==e)return!0;a=a[e-1];c=a.getGeneralPurposeVariable(c);c=c+a.width/2+this.intraCellSpacing+b.width/2;if(!(c<=d))return!1}else if(d>f){if(e==a.length-1)return!0;a=a[e+1];c=a.getGeneralPurposeVariable(c);c=c-a.width/2-this.intraCellSpacing-b.width/2;if(!(c>=d))return!1}return!0};
- mxCoordinateAssignment.prototype.setCellLocations=function(a,b){this.rankTopY=[];this.rankBottomY=[];for(var c=0;c<b.ranks.length;c++)this.rankTopY[c]=Number.MAX_VALUE,this.rankBottomY[c]=-Number.MAX_VALUE;for(var d=b.vertexMapper.getValues(),c=0;c<d.length;c++)this.setVertexLocation(d[c]);this.layout.edgeStyle!=mxHierarchicalEdgeStyle.ORTHOGONAL&&this.layout.edgeStyle!=mxHierarchicalEdgeStyle.POLYLINE&&this.layout.edgeStyle!=mxHierarchicalEdgeStyle.CURVE||this.localEdgeProcessing(b);d=b.edgeMapper.getValues();
- for(c=0;c<d.length;c++)this.setEdgePosition(d[c])};
- mxCoordinateAssignment.prototype.localEdgeProcessing=function(a){for(var b=0;b<a.ranks.length;b++)for(var c=a.ranks[b],d=0;d<c.length;d++){var e=c[d];if(e.isVertex())for(var f=e.getPreviousLayerConnectedCells(b),g=b-1,k=0;2>k;k++){if(-1<g&&g<a.ranks.length&&null!=f&&0<f.length){for(var l=[],m=0;m<f.length;m++){var n=new WeightedCellSorter(f[m],f[m].getX(g));l.push(n)}l.sort(WeightedCellSorter.prototype.compare);for(var n=e.x[0]-e.width/2,p=n+e.width,q=f=0,g=[],m=0;m<l.length;m++){var r=l[m].cell,
- t;if(r.isVertex()){t=0==k?e.connectsAsSource:e.connectsAsTarget;for(var u=0;u<t.length;u++)if(t[u].source==r||t[u].target==r)f+=t[u].edges.length,q++,g.push(t[u])}else f+=r.edges.length,q++,g.push(r)}e.width>(f+1)*this.prefHozEdgeSep+2*this.prefHozEdgeSep&&(n+=this.prefHozEdgeSep,p-=this.prefHozEdgeSep);l=(p-n)/f;n+=l/2;p=this.minEdgeJetty-this.prefVertEdgeOff;for(m=0;m<g.length;m++)for(q=g[m].edges.length,r=this.jettyPositions[g[m].ids[0]],null==r&&(r=[],this.jettyPositions[g[m].ids[0]]=r),m<f/2?
- p+=this.prefVertEdgeOff:m>f/2&&(p-=this.prefVertEdgeOff),t=0;t<q;t++)r[4*t+2*k]=n,n+=l,r[4*t+2*k+1]=p}f=e.getNextLayerConnectedCells(b);g=b+1}}};
- mxCoordinateAssignment.prototype.setEdgePosition=function(a){var b=0;if(101207!=a.temp[0]){var c=a.maxRank,d=a.minRank;c==d&&(c=a.source.maxRank,d=a.target.minRank);for(var e=0,f=this.jettyPositions[a.ids[0]],g=a.isReversed?a.target.cell:a.source.cell,k=this.layout.graph,l=this.orientation==mxConstants.DIRECTION_EAST||this.orientation==mxConstants.DIRECTION_SOUTH,m=0;m<a.edges.length;m++){var n=a.edges[m],p=this.layout.getVisibleTerminal(n,!0),q=[],r=a.isReversed;p!=g&&(r=!r);if(null!=f){var t=r?
- 2:0,u=r?l?this.rankBottomY[d]:this.rankTopY[d]:l?this.rankTopY[c]:this.rankBottomY[c],x=f[4*e+1+t];r!=l&&(x=-x);var u=u+x,t=f[4*e+t],y=k.model.getTerminal(n,!0);this.layout.isPort(y)&&k.model.getParent(y)==p&&(t=k.view.getState(y),t=null!=t?t.x:p.geometry.x+a.source.width*y.geometry.x);this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(q.push(new mxPoint(t,u)),this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&q.push(new mxPoint(t,u+x))):(q.push(new mxPoint(u,
- t)),this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&q.push(new mxPoint(u+x,t)))}t=a.x.length-1;u=x=-1;p=a.maxRank-1;for(r&&(t=0,x=a.x.length,u=1,p=a.minRank+1);a.maxRank!=a.minRank&&t!=x;t+=u){var y=a.x[t]+b,A=(this.rankTopY[p]+this.rankBottomY[p+1])/2,z=(this.rankTopY[p-1]+this.rankBottomY[p])/2;if(r)var v=A,A=z,z=v;this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(q.push(new mxPoint(y,A)),q.push(new mxPoint(y,z))):(q.push(new mxPoint(A,y)),q.push(new mxPoint(z,
- y)));this.limitX=Math.max(this.limitX,y);p+=u}null!=f&&(t=r?2:0,u=r?l?this.rankTopY[c]:this.rankBottomY[c]:l?this.rankBottomY[d]:this.rankTopY[d],x=f[4*e+3-t],r!=l&&(x=-x),u-=x,t=f[4*e+2-t],r=k.model.getTerminal(n,!1),p=this.layout.getVisibleTerminal(n,!1),this.layout.isPort(r)&&k.model.getParent(r)==p&&(t=k.view.getState(r),t=null!=t?t.x:p.geometry.x+a.target.width*r.geometry.x),this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&
- q.push(new mxPoint(t,u-x)),q.push(new mxPoint(t,u))):(this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&q.push(new mxPoint(u-x,t)),q.push(new mxPoint(u,t))));a.isReversed&&this.processReversedEdge(a,n);this.layout.setEdgePoints(n,q);b=0==b?this.parallelEdgeSpacing:0<b?-b:-b+this.parallelEdgeSpacing;e++}a.temp[0]=101207}};
- mxCoordinateAssignment.prototype.setVertexLocation=function(a){var b=a.cell,c=a.x[0]-a.width/2,d=a.y[0]-a.height/2;this.rankTopY[a.minRank]=Math.min(this.rankTopY[a.minRank],d);this.rankBottomY[a.minRank]=Math.max(this.rankBottomY[a.minRank],d+a.height);this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?this.layout.setVertexLocation(b,c,d):this.layout.setVertexLocation(b,d,c);this.limitX=Math.max(this.limitX,c+a.width)};
- mxCoordinateAssignment.prototype.processReversedEdge=function(a,b){};function WeightedCellSorter(a,b){this.cell=a;this.weightedValue=b}WeightedCellSorter.prototype.weightedValue=0;WeightedCellSorter.prototype.nudge=!1;WeightedCellSorter.prototype.visited=!1;WeightedCellSorter.prototype.rankIndex=null;WeightedCellSorter.prototype.cell=null;WeightedCellSorter.prototype.compare=function(a,b){return null!=a&&null!=b?b.weightedValue>a.weightedValue?-1:b.weightedValue<a.weightedValue?1:b.nudge?-1:1:0};
- function mxSwimlaneOrdering(a){this.layout=a}mxSwimlaneOrdering.prototype=new mxHierarchicalLayoutStage;mxSwimlaneOrdering.prototype.constructor=mxSwimlaneOrdering;mxSwimlaneOrdering.prototype.layout=null;
- mxSwimlaneOrdering.prototype.execute=function(a){a=this.layout.getModel();var b=mxUtils.clone(a.vertexMapper,null,!0),c=null;if(null!=a.roots)for(var d=a.roots,c=[],e=0;e<d.length;e++)mxCellPath.create(d[e]),c[e]=a.vertexMapper.get(d[e]);a.visit(function(a,c,d,e,m){e=null!=a&&a.swimlaneIndex==c.swimlaneIndex&&c.isAncestor(a);m=null!=a&&null!=d&&a.swimlaneIndex<c.swimlaneIndex&&d.source==c;e?(d.invert(),mxUtils.remove(d,a.connectsAsSource),c.connectsAsSource.push(d),a.connectsAsTarget.push(d),mxUtils.remove(d,
- c.connectsAsTarget)):m&&(d.invert(),mxUtils.remove(d,a.connectsAsTarget),c.connectsAsTarget.push(d),a.connectsAsSource.push(d),mxUtils.remove(d,c.connectsAsSource));a=mxCellPath.create(c.cell);delete b[a]},c,!0,null)};function mxHierarchicalLayout(a,b,c){mxGraphLayout.call(this,a);this.orientation=null!=b?b:mxConstants.DIRECTION_NORTH;this.deterministic=null!=c?c:!0}var mxHierarchicalEdgeStyle={ORTHOGONAL:1,POLYLINE:2,STRAIGHT:3,CURVE:4};mxHierarchicalLayout.prototype=new mxGraphLayout;
- mxHierarchicalLayout.prototype.constructor=mxHierarchicalLayout;mxHierarchicalLayout.prototype.roots=null;mxHierarchicalLayout.prototype.resizeParent=!1;mxHierarchicalLayout.prototype.maintainParentLocation=!1;mxHierarchicalLayout.prototype.moveParent=!1;mxHierarchicalLayout.prototype.parentBorder=0;mxHierarchicalLayout.prototype.intraCellSpacing=30;mxHierarchicalLayout.prototype.interRankCellSpacing=100;mxHierarchicalLayout.prototype.interHierarchySpacing=60;
- mxHierarchicalLayout.prototype.parallelEdgeSpacing=10;mxHierarchicalLayout.prototype.orientation=mxConstants.DIRECTION_NORTH;mxHierarchicalLayout.prototype.fineTuning=!0;mxHierarchicalLayout.prototype.tightenToSource=!0;mxHierarchicalLayout.prototype.disableEdgeStyle=!0;mxHierarchicalLayout.prototype.traverseAncestors=!0;mxHierarchicalLayout.prototype.model=null;mxHierarchicalLayout.prototype.edgesCache=null;mxHierarchicalLayout.prototype.edgeSourceTermCache=null;
- mxHierarchicalLayout.prototype.edgesTargetTermCache=null;mxHierarchicalLayout.prototype.edgeStyle=mxHierarchicalEdgeStyle.POLYLINE;mxHierarchicalLayout.prototype.getModel=function(){return this.model};
- mxHierarchicalLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.model;this.edgesCache=new mxDictionary;this.edgeSourceTermCache=new mxDictionary;this.edgesTargetTermCache=new mxDictionary;null==b||b instanceof Array||(b=[b]);if(null!=b||null!=a){this.parentY=this.parentX=null;if(a!=this.root&&null!=c.isVertex(a)&&this.maintainParentLocation){var d=this.graph.getCellGeometry(a);null!=d&&(this.parentX=d.x,this.parentY=d.y)}if(null!=b){for(var e=[],f=0;f<b.length;f++)(null!=a?c.isAncestor(a,
- b[f]):1)&&c.isVertex(b[f])&&e.push(b[f]);this.roots=e}c.beginUpdate();try{this.run(a),this.resizeParent&&!this.graph.isCellCollapsed(a)&&this.graph.updateGroupBounds([a],this.parentBorder,this.moveParent),null!=this.parentX&&null!=this.parentY&&(d=this.graph.getCellGeometry(a),null!=d&&(d=d.clone(),d.x=this.parentX,d.y=this.parentY,c.setGeometry(a,d)))}finally{c.endUpdate()}}};
- mxHierarchicalLayout.prototype.findRoots=function(a,b){var c=[];if(null!=a&&null!=b){var d=this.graph.model,e=null,f=-1E5,g;for(g in b){var k=b[g];if(d.isVertex(k)&&this.graph.isCellVisible(k)){for(var l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++)this.getVisibleTerminal(l[p],!0)==k?m++:n++;0==n&&0<m&&c.push(k);l=m-n;l>f&&(f=l,e=k)}}0==c.length&&null!=e&&c.push(e)}return c};
- mxHierarchicalLayout.prototype.getEdges=function(a){var b=this.edgesCache.get(a);if(null!=b)return b;for(var c=this.graph.model,b=[],d=this.graph.isCellCollapsed(a),e=c.getChildCount(a),f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.isPort(g))b=b.concat(c.getEdges(g,!0,!0));else if(d||!this.graph.isCellVisible(g))b=b.concat(c.getEdges(g,!0,!0))}b=b.concat(c.getEdges(a,!0,!0));c=[];for(f=0;f<b.length;f++)d=this.getVisibleTerminal(b[f],!0),e=this.getVisibleTerminal(b[f],!1),(d==e||d!=e&&(e==a&&(null==
- this.parent||this.graph.isValidAncestor(d,this.parent,this.traverseAncestors))||d==a&&(null==this.parent||this.graph.isValidAncestor(e,this.parent,this.traverseAncestors))))&&c.push(b[f]);this.edgesCache.put(a,c);return c};
- mxHierarchicalLayout.prototype.getVisibleTerminal=function(a,b){var c=this.edgesTargetTermCache;b&&(c=this.edgeSourceTermCache);var d=c.get(a);if(null!=d)return d;var d=this.graph.view.getState(a),e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b);null==e&&(e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b));null!=e&&(this.isPort(e)&&(e=this.graph.model.getParent(e)),c.put(a,e));return e};
- mxHierarchicalLayout.prototype.run=function(a){var b=[],c=[];if(null==this.roots&&null!=a){var d={};this.filterDescendants(a,d);this.roots=[];var e=!0,f;for(f in d)if(null!=d[f]){e=!1;break}for(;!e;){for(var g=this.findRoots(a,d),e=0;e<g.length;e++){var k={};b.push(k);this.traverse(g[e],!0,null,c,k,b,d)}for(e=0;e<g.length;e++)this.roots.push(g[e]);e=!0;for(f in d)if(null!=d[f]){e=!1;break}}}else for(e=0;e<this.roots.length;e++)k={},b.push(k),this.traverse(this.roots[e],!0,null,c,k,b,null);for(e=c=
- 0;e<b.length;e++){k=b[e];d=[];for(f in k)d.push(k[f]);this.model=new mxGraphHierarchyModel(this,d,this.roots,a,this.tightenToSource);this.cycleStage(a);this.layeringStage();this.crossingStage(a);c=this.placementStage(c,a)}};
- mxHierarchicalLayout.prototype.filterDescendants=function(a,b){var c=this.graph.model;c.isVertex(a)&&a!=this.parent&&this.graph.isCellVisible(a)&&(b[mxObjectIdentity.get(a)]=a);if(this.traverseAncestors||a==this.parent&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++){var f=c.getChildAt(a,e);this.isPort(f)||this.filterDescendants(f,b)}};mxHierarchicalLayout.prototype.isPort=function(a){return a.geometry.relative?!0:!1};
- mxHierarchicalLayout.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f],!1);(g==a&&k==b||!c&&g==b&&k==a)&&e.push(d[f])}return e};
- mxHierarchicalLayout.prototype.traverse=function(a,b,c,d,e,f,g){if(null!=a&&null!=d){var k=mxObjectIdentity.get(a);if(null==d[k]&&(null==g||null!=g[k])){null==e[k]&&(e[k]=a);null==d[k]&&(d[k]=a);null!==g&&delete g[k];var l=this.getEdges(a),k=[];for(c=0;c<l.length;c++)k[c]=this.getVisibleTerminal(l[c],!0)==a;for(c=0;c<l.length;c++)if(!b||k[c]){a=this.getVisibleTerminal(l[c],!k[c]);for(var m=1,n=0;n<l.length;n++)if(n!=c){var p=k[n];this.getVisibleTerminal(l[n],!p)==a&&(p?m++:m--)}0<=m&&(e=this.traverse(a,
- b,l[c],d,e,f,g))}}else if(null==e[k])for(c=0;c<f.length;c++)if(b=f[c],null!=b[k]){for(l in b)e[l]=b[l];f.splice(c,1);break}}return e};mxHierarchicalLayout.prototype.cycleStage=function(a){(new mxMinimumCycleRemover(this)).execute(a)};mxHierarchicalLayout.prototype.layeringStage=function(){this.model.initialRank();this.model.fixRanks()};mxHierarchicalLayout.prototype.crossingStage=function(a){(new mxMedianHybridCrossingReduction(this)).execute(a)};
- mxHierarchicalLayout.prototype.placementStage=function(a,b){var c=new mxCoordinateAssignment(this,this.intraCellSpacing,this.interRankCellSpacing,this.orientation,a,this.parallelEdgeSpacing);c.fineTuning=this.fineTuning;c.execute(b);return c.limitX+this.interHierarchySpacing};function mxSwimlaneLayout(a,b,c){mxGraphLayout.call(this,a);this.orientation=null!=b?b:mxConstants.DIRECTION_NORTH;this.deterministic=null!=c?c:!0}mxSwimlaneLayout.prototype=new mxGraphLayout;
- mxSwimlaneLayout.prototype.constructor=mxSwimlaneLayout;mxSwimlaneLayout.prototype.roots=null;mxSwimlaneLayout.prototype.swimlanes=null;mxSwimlaneLayout.prototype.dummyVertices=null;mxSwimlaneLayout.prototype.dummyVertexWidth=50;mxSwimlaneLayout.prototype.resizeParent=!1;mxSwimlaneLayout.prototype.maintainParentLocation=!1;mxSwimlaneLayout.prototype.moveParent=!1;mxSwimlaneLayout.prototype.parentBorder=30;mxSwimlaneLayout.prototype.intraCellSpacing=30;
- mxSwimlaneLayout.prototype.interRankCellSpacing=100;mxSwimlaneLayout.prototype.interHierarchySpacing=60;mxSwimlaneLayout.prototype.parallelEdgeSpacing=10;mxSwimlaneLayout.prototype.orientation=mxConstants.DIRECTION_NORTH;mxSwimlaneLayout.prototype.fineTuning=!0;mxSwimlaneLayout.prototype.tightenToSource=!0;mxSwimlaneLayout.prototype.disableEdgeStyle=!0;mxSwimlaneLayout.prototype.traverseAncestors=!0;mxSwimlaneLayout.prototype.model=null;mxSwimlaneLayout.prototype.edgesCache=null;
- mxHierarchicalLayout.prototype.edgeSourceTermCache=null;mxHierarchicalLayout.prototype.edgesTargetTermCache=null;mxHierarchicalLayout.prototype.edgeStyle=mxHierarchicalEdgeStyle.POLYLINE;mxSwimlaneLayout.prototype.getModel=function(){return this.model};
- mxSwimlaneLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.model;this.edgesCache=new mxDictionary;this.edgeSourceTermCache=new mxDictionary;this.edgesTargetTermCache=new mxDictionary;if(!(null==b||1>b.length)){null==a&&(a=c.getParent(b[0]));this.parentY=this.parentX=null;if(a!=this.root&&null!=c.isVertex(a)&&this.maintainParentLocation){var d=this.graph.getCellGeometry(a);null!=d&&(this.parentX=d.x,this.parentY=d.y)}this.swimlanes=b;this.dummyVertices=[];for(var e=0;e<b.length;e++){var f=
- this.graph.getChildCells(b[e]);if(null==f||0==f.length)f=this.graph.insertVertex(b[e],null,null,0,0,this.dummyVertexWidth,0),this.dummyVertices.push(f)}c.beginUpdate();try{this.run(a),this.resizeParent&&!this.graph.isCellCollapsed(a)&&this.graph.updateGroupBounds([a],this.parentBorder,this.moveParent),null!=this.parentX&&null!=this.parentY&&(d=this.graph.getCellGeometry(a),null!=d&&(d=d.clone(),d.x=this.parentX,d.y=this.parentY,c.setGeometry(a,d))),this.graph.removeCells(this.dummyVertices)}finally{c.endUpdate()}}};
- mxSwimlaneLayout.prototype.updateGroupBounds=function(){var a=[],b=this.model,c;for(c in b.edgeMapper)for(var d=b.edgeMapper[c],e=0;e<d.edges.length;e++)a.push(d.edges[e]);a=this.graph.getBoundingBoxFromGeometry(a,!0);b=[];for(e=0;e<this.swimlanes.length;e++){var f=this.swimlanes[e];c=this.graph.getCellGeometry(f);if(null!=c){var g=this.graph.getChildCells(f),d=this.graph.isSwimlane(f)?this.graph.getStartSize(f):new mxRectangle,f=this.graph.getBoundingBoxFromGeometry(g);b[e]=f;d=f.y+c.y-d.height-
- this.parentBorder;c=f.y+c.y+f.height;null==a?a=new mxRectangle(0,d,0,c-d):(a.y=Math.min(a.y,d),a.height=Math.max(a.y+a.height,c)-a.y)}}for(e=0;e<this.swimlanes.length;e++)if(f=this.swimlanes[e],c=this.graph.getCellGeometry(f),null!=c){var g=this.graph.getChildCells(f),d=this.graph.isSwimlane(f)?this.graph.getStartSize(f):new mxRectangle,k=c.clone(),l=0==e?this.parentBorder:this.interRankCellSpacing/2;k.x+=b[e].x-d.width-l;k.y=k.y+a.y-c.y-this.parentBorder;k.width=b[e].width+d.width+this.interRankCellSpacing/
- 2+l;k.height=a.height+d.height+2*this.parentBorder;this.graph.model.setGeometry(f,k);this.graph.moveCells(g,-b[e].x+d.width+l,c.y-a.y+this.parentBorder)}};
- mxSwimlaneLayout.prototype.findRoots=function(a,b){var c=[];if(null!=a&&null!=b){var d=this.graph.model,e=null,f=-1E5,g;for(g in b){var k=b[g];if(null!=k&&d.isVertex(k)&&this.graph.isCellVisible(k)&&d.isAncestor(a,k)){for(var l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++){var q=this.getVisibleTerminal(l[p],!0);q==k?(q=this.getVisibleTerminal(l[p],!1),d.isAncestor(a,q)&&m++):d.isAncestor(a,q)&&n++}0==n&&0<m&&c.push(k);l=m-n;l>f&&(f=l,e=k)}}0==c.length&&null!=e&&c.push(e)}return c};
- mxSwimlaneLayout.prototype.getEdges=function(a){var b=this.edgesCache.get(a);if(null!=b)return b;for(var c=this.graph.model,b=[],d=this.graph.isCellCollapsed(a),e=c.getChildCount(a),f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.isPort(g))b=b.concat(c.getEdges(g,!0,!0));else if(d||!this.graph.isCellVisible(g))b=b.concat(c.getEdges(g,!0,!0))}b=b.concat(c.getEdges(a,!0,!0));c=[];for(f=0;f<b.length;f++)d=this.getVisibleTerminal(b[f],!0),e=this.getVisibleTerminal(b[f],!1),(d==e||d!=e&&(e==a&&(null==this.parent||
- this.graph.isValidAncestor(d,this.parent,this.traverseAncestors))||d==a&&(null==this.parent||this.graph.isValidAncestor(e,this.parent,this.traverseAncestors))))&&c.push(b[f]);this.edgesCache.put(a,c);return c};
- mxSwimlaneLayout.prototype.getVisibleTerminal=function(a,b){var c=this.edgesTargetTermCache;b&&(c=this.edgeSourceTermCache);var d=c.get(a);if(null!=d)return d;var d=this.graph.view.getState(a),e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b);null==e&&(e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b));null!=e&&(this.isPort(e)&&(e=this.graph.model.getParent(e)),c.put(a,e));return e};
- mxSwimlaneLayout.prototype.run=function(a){var b=[],c=[];if(null!=this.swimlanes&&0<this.swimlanes.length&&null!=a){for(var d={},e=0;e<this.swimlanes.length;e++)this.filterDescendants(this.swimlanes[e],d);this.roots=[];var e=!0,f;for(f in d)if(null!=d[f]){e=!1;break}for(var g=0;!e&&g<this.swimlanes.length;){var k=this.findRoots(this.swimlanes[g],d);if(0==k.length)g++;else{for(e=0;e<k.length;e++){var l={};b.push(l);this.traverse(k[e],!0,null,c,l,b,d,g)}for(e=0;e<k.length;e++)this.roots.push(k[e]);
- e=!0;for(f in d)if(null!=d[f]){e=!1;break}}}}else for(e=0;e<this.roots.length;e++)l={},b.push(l),this.traverse(this.roots[e],!0,null,c,l,b,null);b=[];for(f in c)b.push(c[f]);this.model=new mxSwimlaneModel(this,b,this.roots,a,this.tightenToSource);this.cycleStage(a);this.layeringStage();this.crossingStage(a);initialX=this.placementStage(0,a)};
- mxSwimlaneLayout.prototype.filterDescendants=function(a,b){var c=this.graph.model;c.isVertex(a)&&a!=this.parent&&c.getParent(a)!=this.parent&&this.graph.isCellVisible(a)&&(b[mxObjectIdentity.get(a)]=a);if(this.traverseAncestors||a==this.parent&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++){var f=c.getChildAt(a,e);this.isPort(f)||this.filterDescendants(f,b)}};mxSwimlaneLayout.prototype.isPort=function(a){return a.geometry.relative?!0:!1};
- mxSwimlaneLayout.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f],!1);(g==a&&k==b||!c&&g==b&&k==a)&&e.push(d[f])}return e};
- mxSwimlaneLayout.prototype.traverse=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=d){var l=mxObjectIdentity.get(a);if(null==d[l]&&(null==g||null!=g[l])){null==e[l]&&(e[l]=a);null==d[l]&&(d[l]=a);null!==g&&delete g[l];var m=this.getEdges(a),l=this.graph.model;for(c=0;c<m.length;c++){var n=this.getVisibleTerminal(m[c],!0),p=n==a;p&&(n=this.getVisibleTerminal(m[c],!1));var q;for(q=0;q<this.swimlanes.length&&!l.isAncestor(this.swimlanes[q],n);q++);q>=this.swimlanes.length||!(q>k||(!b||p)&&q==k)||(e=this.traverse(n,
- b,m[c],d,e,f,g,q))}}else if(null==e[l])for(c=0;c<f.length;c++)if(a=f[c],null!=a[l]){for(m in a)e[m]=a[m];f.splice(c,1);break}}return e};mxSwimlaneLayout.prototype.cycleStage=function(a){(new mxSwimlaneOrdering(this)).execute(a)};mxSwimlaneLayout.prototype.layeringStage=function(){this.model.initialRank();this.model.fixRanks()};mxSwimlaneLayout.prototype.crossingStage=function(a){(new mxMedianHybridCrossingReduction(this)).execute(a)};
- mxSwimlaneLayout.prototype.placementStage=function(a,b){var c=new mxCoordinateAssignment(this,this.intraCellSpacing,this.interRankCellSpacing,this.orientation,a,this.parallelEdgeSpacing);c.fineTuning=this.fineTuning;c.execute(b);return c.limitX+this.interHierarchySpacing};function mxGraphModel(a){this.currentEdit=this.createUndoableEdit();null!=a?this.setRoot(a):this.clear()}mxGraphModel.prototype=new mxEventSource;mxGraphModel.prototype.constructor=mxGraphModel;mxGraphModel.prototype.root=null;
- mxGraphModel.prototype.cells=null;mxGraphModel.prototype.maintainEdgeParent=!0;mxGraphModel.prototype.ignoreRelativeEdgeParent=!0;mxGraphModel.prototype.createIds=!0;mxGraphModel.prototype.prefix="";mxGraphModel.prototype.postfix="";mxGraphModel.prototype.nextId=0;mxGraphModel.prototype.currentEdit=null;mxGraphModel.prototype.updateLevel=0;mxGraphModel.prototype.endingUpdate=!1;mxGraphModel.prototype.clear=function(){this.setRoot(this.createRoot())};mxGraphModel.prototype.isCreateIds=function(){return this.createIds};
- mxGraphModel.prototype.setCreateIds=function(a){this.createIds=a};mxGraphModel.prototype.createRoot=function(){var a=new mxCell;a.insert(new mxCell);return a};mxGraphModel.prototype.getCell=function(a){return null!=this.cells?this.cells[a]:null};mxGraphModel.prototype.filterCells=function(a,b){var c=null;if(null!=a)for(var c=[],d=0;d<a.length;d++)b(a[d])&&c.push(a[d]);return c};mxGraphModel.prototype.getDescendants=function(a){return this.filterDescendants(null,a)};
- mxGraphModel.prototype.filterDescendants=function(a,b){var c=[];b=b||this.getRoot();(null==a||a(b))&&c.push(b);for(var d=this.getChildCount(b),e=0;e<d;e++)var f=this.getChildAt(b,e),c=c.concat(this.filterDescendants(a,f));return c};mxGraphModel.prototype.getRoot=function(a){var b=a||this.root;if(null!=a)for(;null!=a;)b=a,a=this.getParent(a);return b};mxGraphModel.prototype.setRoot=function(a){this.execute(new mxRootChange(this,a));return a};
- mxGraphModel.prototype.rootChanged=function(a){var b=this.root;this.root=a;this.nextId=0;this.cells=null;this.cellAdded(a);return b};mxGraphModel.prototype.isRoot=function(a){return null!=a&&this.root==a};mxGraphModel.prototype.isLayer=function(a){return this.isRoot(this.getParent(a))};mxGraphModel.prototype.isAncestor=function(a,b){for(;null!=b&&b!=a;)b=this.getParent(b);return b==a};mxGraphModel.prototype.contains=function(a){return this.isAncestor(this.root,a)};
- mxGraphModel.prototype.getParent=function(a){return null!=a?a.getParent():null};mxGraphModel.prototype.add=function(a,b,c){if(b!=a&&null!=a&&null!=b){null==c&&(c=this.getChildCount(a));var d=a!=this.getParent(b);this.execute(new mxChildChange(this,a,b,c));this.maintainEdgeParent&&d&&this.updateEdgeParents(b)}return b};
- mxGraphModel.prototype.cellAdded=function(a){if(null!=a){null==a.getId()&&this.createIds&&a.setId(this.createId(a));if(null!=a.getId()){var b=this.getCell(a.getId());if(b!=a){for(;null!=b;)a.setId(this.createId(a)),b=this.getCell(a.getId());null==this.cells&&(this.cells={});this.cells[a.getId()]=a}}mxUtils.isNumeric(a.getId())&&(this.nextId=Math.max(this.nextId,a.getId()));for(var b=this.getChildCount(a),c=0;c<b;c++)this.cellAdded(this.getChildAt(a,c))}};
- mxGraphModel.prototype.createId=function(a){a=this.nextId;this.nextId++;return this.prefix+a+this.postfix};mxGraphModel.prototype.updateEdgeParents=function(a,b){b=b||this.getRoot(a);for(var c=this.getChildCount(a),d=0;d<c;d++){var e=this.getChildAt(a,d);this.updateEdgeParents(e,b)}e=this.getEdgeCount(a);c=[];for(d=0;d<e;d++)c.push(this.getEdgeAt(a,d));for(d=0;d<c.length;d++)e=c[d],this.isAncestor(b,e)&&this.updateEdgeParent(e,b)};
- mxGraphModel.prototype.updateEdgeParent=function(a,b){for(var c=this.getTerminal(a,!0),d=this.getTerminal(a,!1);null!=c&&!this.isEdge(c)&&null!=c.geometry&&c.geometry.relative;)c=this.getParent(c);for(;null!=d&&this.ignoreRelativeEdgeParent&&!this.isEdge(d)&&null!=d.geometry&&d.geometry.relative;)d=this.getParent(d);if(this.isAncestor(b,c)&&this.isAncestor(b,d)&&(c=c==d?this.getParent(c):this.getNearestCommonAncestor(c,d),null!=c&&(this.getParent(c)!=this.root||this.isAncestor(c,a))&&this.getParent(a)!=
- c)){d=this.getGeometry(a);if(null!=d){var e=this.getOrigin(this.getParent(a)),f=this.getOrigin(c),g=f.x-e.x,e=f.y-e.y,d=d.clone();d.translate(-g,-e);this.setGeometry(a,d)}this.add(c,a,this.getChildCount(c))}};mxGraphModel.prototype.getOrigin=function(a){var b;null!=a?(b=this.getOrigin(this.getParent(a)),this.isEdge(a)||(a=this.getGeometry(a),null!=a&&(b.x+=a.x,b.y+=a.y))):b=new mxPoint;return b};
- mxGraphModel.prototype.getNearestCommonAncestor=function(a,b){if(null!=a&&null!=b){var c=mxCellPath.create(b);if(null!=c&&0<c.length){var d=a,e=mxCellPath.create(d);if(c.length<e.length)var d=b,f=e,e=c,c=f;for(;null!=d;){f=this.getParent(d);if(0==c.indexOf(e+mxCellPath.PATH_SEPARATOR)&&null!=f)return d;e=mxCellPath.getParentPath(e);d=f}}}return null};mxGraphModel.prototype.remove=function(a){a==this.root?this.setRoot(null):null!=this.getParent(a)&&this.execute(new mxChildChange(this,null,a));return a};
- mxGraphModel.prototype.cellRemoved=function(a){if(null!=a&&null!=this.cells){for(var b=this.getChildCount(a)-1;0<=b;b--)this.cellRemoved(this.getChildAt(a,b));null!=this.cells&&null!=a.getId()&&delete this.cells[a.getId()]}};mxGraphModel.prototype.parentForCellChanged=function(a,b,c){var d=this.getParent(a);null!=b?b==d&&d.getIndex(a)==c||b.insert(a,c):null!=d&&(c=d.getIndex(a),d.remove(c));this.contains(d)||null==b?null==b&&this.cellRemoved(a):this.cellAdded(a);return d};
- mxGraphModel.prototype.getChildCount=function(a){return null!=a?a.getChildCount():0};mxGraphModel.prototype.getChildAt=function(a,b){return null!=a?a.getChildAt(b):null};mxGraphModel.prototype.getChildren=function(a){return null!=a?a.children:null};mxGraphModel.prototype.getChildVertices=function(a){return this.getChildCells(a,!0,!1)};mxGraphModel.prototype.getChildEdges=function(a){return this.getChildCells(a,!1,!0)};
- mxGraphModel.prototype.getChildCells=function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!1;for(var d=this.getChildCount(a),e=[],f=0;f<d;f++){var g=this.getChildAt(a,f);(!c&&!b||c&&this.isEdge(g)||b&&this.isVertex(g))&&e.push(g)}return e};mxGraphModel.prototype.getTerminal=function(a,b){return null!=a?a.getTerminal(b):null};
- mxGraphModel.prototype.setTerminal=function(a,b,c){var d=b!=this.getTerminal(a,c);this.execute(new mxTerminalChange(this,a,b,c));this.maintainEdgeParent&&d&&this.updateEdgeParent(a,this.getRoot());return b};mxGraphModel.prototype.setTerminals=function(a,b,c){this.beginUpdate();try{this.setTerminal(a,b,!0),this.setTerminal(a,c,!1)}finally{this.endUpdate()}};
- mxGraphModel.prototype.terminalForCellChanged=function(a,b,c){var d=this.getTerminal(a,c);null!=b?b.insertEdge(a,c):null!=d&&d.removeEdge(a,c);return d};mxGraphModel.prototype.getEdgeCount=function(a){return null!=a?a.getEdgeCount():0};mxGraphModel.prototype.getEdgeAt=function(a,b){return null!=a?a.getEdgeAt(b):null};mxGraphModel.prototype.getDirectedEdgeCount=function(a,b,c){for(var d=0,e=this.getEdgeCount(a),f=0;f<e;f++){var g=this.getEdgeAt(a,f);g!=c&&this.getTerminal(g,b)==a&&d++}return d};
- mxGraphModel.prototype.getConnections=function(a){return this.getEdges(a,!0,!0,!1)};mxGraphModel.prototype.getIncomingEdges=function(a){return this.getEdges(a,!0,!1,!1)};mxGraphModel.prototype.getOutgoingEdges=function(a){return this.getEdges(a,!1,!0,!1)};
- mxGraphModel.prototype.getEdges=function(a,b,c,d){b=null!=b?b:!0;c=null!=c?c:!0;d=null!=d?d:!0;for(var e=this.getEdgeCount(a),f=[],g=0;g<e;g++){var k=this.getEdgeAt(a,g),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1);(d&&l==m||l!=m&&(b&&m==a||c&&l==a))&&f.push(k)}return f};
- mxGraphModel.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;var d=this.getEdgeCount(a),e=this.getEdgeCount(b),f=a,g=d;e<d&&(g=e,f=b);d=[];for(e=0;e<g;e++){var k=this.getEdgeAt(f,e),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1),n=m==a&&l==b;(l==a&&m==b||!c&&n)&&d.push(k)}return d};
- mxGraphModel.prototype.getOpposites=function(a,b,c,d){c=null!=c?c:!0;d=null!=d?d:!0;var e=[];if(null!=a)for(var f=0;f<a.length;f++){var g=this.getTerminal(a[f],!0),k=this.getTerminal(a[f],!1);g==b&&null!=k&&k!=b&&d?e.push(k):k==b&&null!=g&&g!=b&&c&&e.push(g)}return e};
- mxGraphModel.prototype.getTopmostCells=function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.put(a[d],!0);for(d=0;d<a.length;d++){for(var e=a[d],f=!0,g=this.getParent(e);null!=g;){if(b.get(g)){f=!1;break}g=this.getParent(g)}f&&c.push(e)}return c};mxGraphModel.prototype.isVertex=function(a){return null!=a?a.isVertex():!1};mxGraphModel.prototype.isEdge=function(a){return null!=a?a.isEdge():!1};mxGraphModel.prototype.isConnectable=function(a){return null!=a?a.isConnectable():!1};
- mxGraphModel.prototype.getValue=function(a){return null!=a?a.getValue():null};mxGraphModel.prototype.setValue=function(a,b){this.execute(new mxValueChange(this,a,b));return b};mxGraphModel.prototype.valueForCellChanged=function(a,b){return a.valueChanged(b)};mxGraphModel.prototype.getGeometry=function(a){return null!=a?a.getGeometry():null};mxGraphModel.prototype.setGeometry=function(a,b){b!=this.getGeometry(a)&&this.execute(new mxGeometryChange(this,a,b));return b};
- mxGraphModel.prototype.geometryForCellChanged=function(a,b){var c=this.getGeometry(a);a.setGeometry(b);return c};mxGraphModel.prototype.getStyle=function(a){return null!=a?a.getStyle():null};mxGraphModel.prototype.setStyle=function(a,b){b!=this.getStyle(a)&&this.execute(new mxStyleChange(this,a,b));return b};mxGraphModel.prototype.styleForCellChanged=function(a,b){var c=this.getStyle(a);a.setStyle(b);return c};mxGraphModel.prototype.isCollapsed=function(a){return null!=a?a.isCollapsed():!1};
- mxGraphModel.prototype.setCollapsed=function(a,b){b!=this.isCollapsed(a)&&this.execute(new mxCollapseChange(this,a,b));return b};mxGraphModel.prototype.collapsedStateForCellChanged=function(a,b){var c=this.isCollapsed(a);a.setCollapsed(b);return c};mxGraphModel.prototype.isVisible=function(a){return null!=a?a.isVisible():!1};mxGraphModel.prototype.setVisible=function(a,b){b!=this.isVisible(a)&&this.execute(new mxVisibleChange(this,a,b));return b};
- mxGraphModel.prototype.visibleStateForCellChanged=function(a,b){var c=this.isVisible(a);a.setVisible(b);return c};mxGraphModel.prototype.execute=function(a){a.execute();this.beginUpdate();this.currentEdit.add(a);this.fireEvent(new mxEventObject(mxEvent.EXECUTE,"change",a));this.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",a));this.endUpdate()};mxGraphModel.prototype.beginUpdate=function(){this.updateLevel++;this.fireEvent(new mxEventObject(mxEvent.BEGIN_UPDATE));1==this.updateLevel&&this.fireEvent(new mxEventObject(mxEvent.START_EDIT))};
- mxGraphModel.prototype.endUpdate=function(){this.updateLevel--;0==this.updateLevel&&this.fireEvent(new mxEventObject(mxEvent.END_EDIT));if(!this.endingUpdate){this.endingUpdate=0==this.updateLevel;this.fireEvent(new mxEventObject(mxEvent.END_UPDATE,"edit",this.currentEdit));try{if(this.endingUpdate&&!this.currentEdit.isEmpty()){this.fireEvent(new mxEventObject(mxEvent.BEFORE_UNDO,"edit",this.currentEdit));var a=this.currentEdit;this.currentEdit=this.createUndoableEdit();a.notify();this.fireEvent(new mxEventObject(mxEvent.UNDO,
- "edit",a))}}finally{this.endingUpdate=!1}}};mxGraphModel.prototype.createUndoableEdit=function(){var a=new mxUndoableEdit(this,!0);a.notify=function(){a.source.fireEvent(new mxEventObject(mxEvent.CHANGE,"edit",a,"changes",a.changes));a.source.fireEvent(new mxEventObject(mxEvent.NOTIFY,"edit",a,"changes",a.changes))};return a};
- mxGraphModel.prototype.mergeChildren=function(a,b,c){c=null!=c?c:!0;this.beginUpdate();try{var d={};this.mergeChildrenImpl(a,b,c,d);for(var e in d){var f=d[e],g=this.getTerminal(f,!0);null!=g&&(g=d[mxCellPath.create(g)],this.setTerminal(f,g,!0));g=this.getTerminal(f,!1);null!=g&&(g=d[mxCellPath.create(g)],this.setTerminal(f,g,!1))}}finally{this.endUpdate()}};
- mxGraphModel.prototype.mergeChildrenImpl=function(a,b,c,d){this.beginUpdate();try{for(var e=a.getChildCount(),f=0;f<e;f++){var g=a.getChildAt(f);if("function"==typeof g.getId){var k=g.getId(),l=null==k||this.isEdge(g)&&c?null:this.getCell(k);if(null==l){var m=g.clone();m.setId(k);m.setTerminal(g.getTerminal(!0),!0);m.setTerminal(g.getTerminal(!1),!1);l=b.insert(m);this.cellAdded(l)}d[mxCellPath.create(g)]=l;this.mergeChildrenImpl(g,l,c,d)}}}finally{this.endUpdate()}};
- mxGraphModel.prototype.getParents=function(a){var b=[];if(null!=a)for(var c=new mxDictionary,d=0;d<a.length;d++){var e=this.getParent(a[d]);null==e||c.get(e)||(c.put(e,!0),b.push(e))}return b};mxGraphModel.prototype.cloneCell=function(a){return null!=a?this.cloneCells([a],!0)[0]:null};
- mxGraphModel.prototype.cloneCells=function(a,b,c){c=null!=c?c:{};for(var d=[],e=0;e<a.length;e++)null!=a[e]?d.push(this.cloneCellImpl(a[e],c,b)):d.push(null);for(e=0;e<d.length;e++)null!=d[e]&&this.restoreClone(d[e],a[e],c);return d};mxGraphModel.prototype.cloneCellImpl=function(a,b,c){var d=this.cellCloned(a);b[mxObjectIdentity.get(a)]=d;if(c){c=this.getChildCount(a);for(var e=0;e<c;e++){var f=this.cloneCellImpl(this.getChildAt(a,e),b,!0);d.insert(f)}}return d};
- mxGraphModel.prototype.cellCloned=function(a){return a.clone()};mxGraphModel.prototype.restoreClone=function(a,b,c){var d=this.getTerminal(b,!0);null!=d&&(d=c[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(a,!0));d=this.getTerminal(b,!1);null!=d&&(d=c[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(a,!1));for(var d=this.getChildCount(a),e=0;e<d;e++)this.restoreClone(this.getChildAt(a,e),this.getChildAt(b,e),c)};function mxRootChange(a,b){this.model=a;this.previous=this.root=b}
- mxRootChange.prototype.execute=function(){this.root=this.previous;this.previous=this.model.rootChanged(this.previous)};function mxChildChange(a,b,c,d){this.model=a;this.previous=this.parent=b;this.child=c;this.previousIndex=this.index=d}
- mxChildChange.prototype.execute=function(){var a=this.model.getParent(this.child),b=null!=a?a.getIndex(this.child):0;null==this.previous&&this.connect(this.child,!1);a=this.model.parentForCellChanged(this.child,this.previous,this.previousIndex);null!=this.previous&&this.connect(this.child,!0);this.parent=this.previous;this.previous=a;this.index=this.previousIndex;this.previousIndex=b};
- mxChildChange.prototype.connect=function(a,b){b=null!=b?b:!0;var c=a.getTerminal(!0),d=a.getTerminal(!1);null!=c&&(b?this.model.terminalForCellChanged(a,c,!0):this.model.terminalForCellChanged(a,null,!0));null!=d&&(b?this.model.terminalForCellChanged(a,d,!1):this.model.terminalForCellChanged(a,null,!1));a.setTerminal(c,!0);a.setTerminal(d,!1);c=this.model.getChildCount(a);for(d=0;d<c;d++)this.connect(this.model.getChildAt(a,d),b)};
- function mxTerminalChange(a,b,c,d){this.model=a;this.cell=b;this.previous=this.terminal=c;this.source=d}mxTerminalChange.prototype.execute=function(){this.terminal=this.previous;this.previous=this.model.terminalForCellChanged(this.cell,this.previous,this.source)};function mxValueChange(a,b,c){this.model=a;this.cell=b;this.previous=this.value=c}mxValueChange.prototype.execute=function(){this.value=this.previous;this.previous=this.model.valueForCellChanged(this.cell,this.previous)};
- function mxStyleChange(a,b,c){this.model=a;this.cell=b;this.previous=this.style=c}mxStyleChange.prototype.execute=function(){this.style=this.previous;this.previous=this.model.styleForCellChanged(this.cell,this.previous)};function mxGeometryChange(a,b,c){this.model=a;this.cell=b;this.previous=this.geometry=c}mxGeometryChange.prototype.execute=function(){this.geometry=this.previous;this.previous=this.model.geometryForCellChanged(this.cell,this.previous)};
- function mxCollapseChange(a,b,c){this.model=a;this.cell=b;this.previous=this.collapsed=c}mxCollapseChange.prototype.execute=function(){this.collapsed=this.previous;this.previous=this.model.collapsedStateForCellChanged(this.cell,this.previous)};function mxVisibleChange(a,b,c){this.model=a;this.cell=b;this.previous=this.visible=c}mxVisibleChange.prototype.execute=function(){this.visible=this.previous;this.previous=this.model.visibleStateForCellChanged(this.cell,this.previous)};
- function mxCellAttributeChange(a,b,c){this.cell=a;this.attribute=b;this.previous=this.value=c}mxCellAttributeChange.prototype.execute=function(){var a=this.cell.getAttribute(this.attribute);null==this.previous?this.cell.value.removeAttribute(this.attribute):this.cell.setAttribute(this.attribute,this.previous);this.previous=a};function mxCell(a,b,c){this.value=a;this.setGeometry(b);this.setStyle(c);if(null!=this.onInit)this.onInit()}mxCell.prototype.id=null;mxCell.prototype.value=null;
- mxCell.prototype.geometry=null;mxCell.prototype.style=null;mxCell.prototype.vertex=!1;mxCell.prototype.edge=!1;mxCell.prototype.connectable=!0;mxCell.prototype.visible=!0;mxCell.prototype.collapsed=!1;mxCell.prototype.parent=null;mxCell.prototype.source=null;mxCell.prototype.target=null;mxCell.prototype.children=null;mxCell.prototype.edges=null;mxCell.prototype.mxTransient="id value parent source target children edges".split(" ");mxCell.prototype.getId=function(){return this.id};
- mxCell.prototype.setId=function(a){this.id=a};mxCell.prototype.getValue=function(){return this.value};mxCell.prototype.setValue=function(a){this.value=a};mxCell.prototype.valueChanged=function(a){var b=this.getValue();this.setValue(a);return b};mxCell.prototype.getGeometry=function(){return this.geometry};mxCell.prototype.setGeometry=function(a){this.geometry=a};mxCell.prototype.getStyle=function(){return this.style};mxCell.prototype.setStyle=function(a){this.style=a};
- mxCell.prototype.isVertex=function(){return 0!=this.vertex};mxCell.prototype.setVertex=function(a){this.vertex=a};mxCell.prototype.isEdge=function(){return 0!=this.edge};mxCell.prototype.setEdge=function(a){this.edge=a};mxCell.prototype.isConnectable=function(){return 0!=this.connectable};mxCell.prototype.setConnectable=function(a){this.connectable=a};mxCell.prototype.isVisible=function(){return 0!=this.visible};mxCell.prototype.setVisible=function(a){this.visible=a};
- mxCell.prototype.isCollapsed=function(){return 0!=this.collapsed};mxCell.prototype.setCollapsed=function(a){this.collapsed=a};mxCell.prototype.getParent=function(){return this.parent};mxCell.prototype.setParent=function(a){this.parent=a};mxCell.prototype.getTerminal=function(a){return a?this.source:this.target};mxCell.prototype.setTerminal=function(a,b){b?this.source=a:this.target=a;return a};mxCell.prototype.getChildCount=function(){return null==this.children?0:this.children.length};
- mxCell.prototype.getIndex=function(a){return mxUtils.indexOf(this.children,a)};mxCell.prototype.getChildAt=function(a){return null==this.children?null:this.children[a]};mxCell.prototype.insert=function(a,b){null!=a&&(null==b&&(b=this.getChildCount(),a.getParent()==this&&b--),a.removeFromParent(),a.setParent(this),null==this.children?(this.children=[],this.children.push(a)):this.children.splice(b,0,a));return a};
- mxCell.prototype.remove=function(a){var b=null;null!=this.children&&0<=a&&(b=this.getChildAt(a),null!=b&&(this.children.splice(a,1),b.setParent(null)));return b};mxCell.prototype.removeFromParent=function(){if(null!=this.parent){var a=this.parent.getIndex(this);this.parent.remove(a)}};mxCell.prototype.getEdgeCount=function(){return null==this.edges?0:this.edges.length};mxCell.prototype.getEdgeIndex=function(a){return mxUtils.indexOf(this.edges,a)};
- mxCell.prototype.getEdgeAt=function(a){return null==this.edges?null:this.edges[a]};mxCell.prototype.insertEdge=function(a,b){null!=a&&(a.removeFromTerminal(b),a.setTerminal(this,b),null==this.edges||a.getTerminal(!b)!=this||0>mxUtils.indexOf(this.edges,a))&&(null==this.edges&&(this.edges=[]),this.edges.push(a));return a};mxCell.prototype.removeEdge=function(a,b){if(null!=a){if(a.getTerminal(!b)!=this&&null!=this.edges){var c=this.getEdgeIndex(a);0<=c&&this.edges.splice(c,1)}a.setTerminal(null,b)}return a};
- mxCell.prototype.removeFromTerminal=function(a){var b=this.getTerminal(a);null!=b&&b.removeEdge(this,a)};mxCell.prototype.hasAttribute=function(a){var b=this.getValue();return null!=b&&b.nodeType==mxConstants.NODETYPE_ELEMENT&&b.hasAttribute?b.hasAttribute(a):null!=b.getAttribute(a)};mxCell.prototype.getAttribute=function(a,b){var c=this.getValue();return(null!=c&&c.nodeType==mxConstants.NODETYPE_ELEMENT?c.getAttribute(a):null)||b};
- mxCell.prototype.setAttribute=function(a,b){var c=this.getValue();null!=c&&c.nodeType==mxConstants.NODETYPE_ELEMENT&&c.setAttribute(a,b)};mxCell.prototype.clone=function(){var a=mxUtils.clone(this,this.mxTransient);a.setValue(this.cloneValue());return a};mxCell.prototype.cloneValue=function(){var a=this.getValue();null!=a&&("function"==typeof a.clone?a=a.clone():isNaN(a.nodeType)||(a=a.cloneNode(!0)));return a};function mxGeometry(a,b,c,d){mxRectangle.call(this,a,b,c,d)}mxGeometry.prototype=new mxRectangle;
- mxGeometry.prototype.constructor=mxGeometry;mxGeometry.prototype.TRANSLATE_CONTROL_POINTS=!0;mxGeometry.prototype.alternateBounds=null;mxGeometry.prototype.sourcePoint=null;mxGeometry.prototype.targetPoint=null;mxGeometry.prototype.points=null;mxGeometry.prototype.offset=null;mxGeometry.prototype.relative=!1;
- mxGeometry.prototype.swap=function(){if(null!=this.alternateBounds){var a=new mxRectangle(this.x,this.y,this.width,this.height);this.x=this.alternateBounds.x;this.y=this.alternateBounds.y;this.width=this.alternateBounds.width;this.height=this.alternateBounds.height;this.alternateBounds=a}};mxGeometry.prototype.getTerminalPoint=function(a){return a?this.sourcePoint:this.targetPoint};mxGeometry.prototype.setTerminalPoint=function(a,b){b?this.sourcePoint=a:this.targetPoint=a;return a};
- mxGeometry.prototype.rotate=function(a,b){var c=mxUtils.toRadians(a),d=Math.cos(c),c=Math.sin(c);if(!this.relative){var e=new mxPoint(this.getCenterX(),this.getCenterY()),e=mxUtils.getRotatedPoint(e,d,c,b);this.x=Math.round(e.x-this.width/2);this.y=Math.round(e.y-this.height/2)}null!=this.sourcePoint&&(e=mxUtils.getRotatedPoint(this.sourcePoint,d,c,b),this.sourcePoint.x=Math.round(e.x),this.sourcePoint.y=Math.round(e.y));null!=this.targetPoint&&(e=mxUtils.getRotatedPoint(this.targetPoint,d,c,b),this.targetPoint.x=
- Math.round(e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.length;f++)null!=this.points[f]&&(e=mxUtils.getRotatedPoint(this.points[f],d,c,b),this.points[f].x=Math.round(e.x),this.points[f].y=Math.round(e.y))};
- mxGeometry.prototype.translate=function(a,b){a=parseFloat(a);b=parseFloat(b);this.relative||(this.x=parseFloat(this.x)+a,this.y=parseFloat(this.y)+b);null!=this.sourcePoint&&(this.sourcePoint.x=parseFloat(this.sourcePoint.x)+a,this.sourcePoint.y=parseFloat(this.sourcePoint.y)+b);null!=this.targetPoint&&(this.targetPoint.x=parseFloat(this.targetPoint.x)+a,this.targetPoint.y=parseFloat(this.targetPoint.y)+b);if(this.TRANSLATE_CONTROL_POINTS&&null!=this.points)for(var c=0;c<this.points.length;c++)null!=
- this.points[c]&&(this.points[c].x=parseFloat(this.points[c].x)+a,this.points[c].y=parseFloat(this.points[c].y)+b)};
- mxGeometry.prototype.scale=function(a,b,c){a=parseFloat(a);b=parseFloat(b);null!=this.sourcePoint&&(this.sourcePoint.x=parseFloat(this.sourcePoint.x)*a,this.sourcePoint.y=parseFloat(this.sourcePoint.y)*b);null!=this.targetPoint&&(this.targetPoint.x=parseFloat(this.targetPoint.x)*a,this.targetPoint.y=parseFloat(this.targetPoint.y)*b);if(null!=this.points)for(var d=0;d<this.points.length;d++)null!=this.points[d]&&(this.points[d].x=parseFloat(this.points[d].x)*a,this.points[d].y=parseFloat(this.points[d].y)*
- b);this.relative||(this.x=parseFloat(this.x)*a,this.y=parseFloat(this.y)*b,c&&(b=a=Math.min(a,b)),this.width=parseFloat(this.width)*a,this.height=parseFloat(this.height)*b)};
- mxGeometry.prototype.equals=function(a){return mxRectangle.prototype.equals.apply(this,arguments)&&this.relative==a.relative&&(null==this.sourcePoint&&null==a.sourcePoint||null!=this.sourcePoint&&this.sourcePoint.equals(a.sourcePoint))&&(null==this.targetPoint&&null==a.targetPoint||null!=this.targetPoint&&this.targetPoint.equals(a.targetPoint))&&(null==this.points&&null==a.points||null!=this.points&&mxUtils.equalPoints(this.points,a.points))&&(null==this.alternateBounds&&null==a.alternateBounds||
- null!=this.alternateBounds&&this.alternateBounds.equals(a.alternateBounds))&&(null==this.offset&&null==a.offset||null!=this.offset&&this.offset.equals(a.offset))};
- var mxCellPath={PATH_SEPARATOR:".",create:function(a){var b="";if(null!=a)for(var c=a.getParent();null!=c;)b=c.getIndex(a)+mxCellPath.PATH_SEPARATOR+b,a=c,c=a.getParent();a=b.length;1<a&&(b=b.substring(0,a-1));return b},getParentPath:function(a){if(null!=a){var b=a.lastIndexOf(mxCellPath.PATH_SEPARATOR);if(0<=b)return a.substring(0,b);if(0<a.length)return""}return null},resolve:function(a,b){var c=a;if(null!=b)for(var d=b.split(mxCellPath.PATH_SEPARATOR),e=0;e<d.length;e++)c=c.getChildAt(parseInt(d[e]));
- return c},compare:function(a,b){for(var c=Math.min(a.length,b.length),d=0,e=0;e<c;e++)if(a[e]!=b[e]){0==a[e].length||0==b[e].length?d=a[e]==b[e]?0:a[e]>b[e]?1:-1:(c=parseInt(a[e]),e=parseInt(b[e]),d=c==e?0:c>e?1:-1);break}0==d&&(c=a.length,e=b.length,c!=e&&(d=c>e?1:-1));return d}},mxPerimeter={RectanglePerimeter:function(a,b,c,d){b=a.getCenterX();var e=a.getCenterY(),f=Math.atan2(c.y-e,c.x-b),g=new mxPoint(0,0),k=Math.PI,l=Math.PI/2-f,m=Math.atan2(a.height,a.width);f<-k+m||f>k-m?(g.x=a.x,g.y=e-a.width*
- Math.tan(f)/2):f<-m?(g.y=a.y,g.x=b-a.height*Math.tan(l)/2):f<m?(g.x=a.x+a.width,g.y=e+a.width*Math.tan(f)/2):(g.y=a.y+a.height,g.x=b+a.height*Math.tan(l)/2);d&&(c.x>=a.x&&c.x<=a.x+a.width?g.x=c.x:c.y>=a.y&&c.y<=a.y+a.height&&(g.y=c.y),c.x<a.x?g.x=a.x:c.x>a.x+a.width&&(g.x=a.x+a.width),c.y<a.y?g.y=a.y:c.y>a.y+a.height&&(g.y=a.y+a.height));return g},EllipsePerimeter:function(a,b,c,d){var e=a.x,f=a.y,g=a.width/2,k=a.height/2,l=e+g,m=f+k;b=c.x;c=c.y;var n=parseInt(b-l),p=parseInt(c-m);if(0==n&&0!=p)return new mxPoint(l,
- m+k*p/Math.abs(p));if(0==n&&0==p)return new mxPoint(b,c);if(d){if(c>=f&&c<=f+a.height)return a=c-m,a=Math.sqrt(g*g*(1-a*a/(k*k)))||0,b<=e&&(a=-a),new mxPoint(l+a,c);if(b>=e&&b<=e+a.width)return a=b-l,a=Math.sqrt(k*k*(1-a*a/(g*g)))||0,c<=f&&(a=-a),new mxPoint(b,m+a)}e=p/n;m-=e*l;f=g*g*e*e+k*k;a=-2*l*f;k=Math.sqrt(a*a-4*f*(g*g*e*e*l*l+k*k*l*l-g*g*k*k));g=(-a+k)/(2*f);l=(-a-k)/(2*f);k=e*g+m;m=e*l+m;Math.sqrt(Math.pow(g-b,2)+Math.pow(k-c,2))<Math.sqrt(Math.pow(l-b,2)+Math.pow(m-c,2))?(b=g,c=k):(b=l,c=
- m);return new mxPoint(b,c)},RhombusPerimeter:function(a,b,c,d){b=a.x;var e=a.y,f=a.width;a=a.height;var g=b+f/2,k=e+a/2,l=c.x;c=c.y;if(g==l)return k>c?new mxPoint(g,e):new mxPoint(g,e+a);if(k==c)return g>l?new mxPoint(b,k):new mxPoint(b+f,k);var m=g,n=k;d&&(l>=b&&l<=b+f?m=l:c>=e&&c<=e+a&&(n=c));return l<g?c<k?mxUtils.intersection(l,c,m,n,g,e,b,k):mxUtils.intersection(l,c,m,n,g,e+a,b,k):c<k?mxUtils.intersection(l,c,m,n,g,e,b+f,k):mxUtils.intersection(l,c,m,n,g,e+a,b+f,k)},TrianglePerimeter:function(a,
- b,c,d){b=null!=b?b.style[mxConstants.STYLE_DIRECTION]:null;var e=b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH,f=a.x,g=a.y,k=a.width,l=a.height;a=f+k/2;var m=g+l/2,n=new mxPoint(f,g),p=new mxPoint(f+k,m),q=new mxPoint(f,g+l);b==mxConstants.DIRECTION_NORTH?(n=q,p=new mxPoint(a,g),q=new mxPoint(f+k,g+l)):b==mxConstants.DIRECTION_SOUTH?(p=new mxPoint(a,g+l),q=new mxPoint(f+k,g)):b==mxConstants.DIRECTION_WEST&&(n=new mxPoint(f+k,g),p=new mxPoint(f,m),q=new mxPoint(f+k,g+l));var r=c.x-
- a,t=c.y-m,r=e?Math.atan2(r,t):Math.atan2(t,r),t=e?Math.atan2(k,l):Math.atan2(l,k);(b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_WEST?r>-t&&r<t:r<-Math.PI+t||r>Math.PI-t)?c=d&&(e&&c.x>=n.x&&c.x<=q.x||!e&&c.y>=n.y&&c.y<=q.y)?e?new mxPoint(c.x,n.y):new mxPoint(n.x,c.y):b==mxConstants.DIRECTION_NORTH?new mxPoint(f+k/2+l*Math.tan(r)/2,g+l):b==mxConstants.DIRECTION_SOUTH?new mxPoint(f+k/2-l*Math.tan(r)/2,g):b==mxConstants.DIRECTION_WEST?new mxPoint(f+k,g+l/2+k*Math.tan(r)/2):new mxPoint(f,g+
- l/2-k*Math.tan(r)/2):(d&&(d=new mxPoint(a,m),c.y>=g&&c.y<=g+l?(d.x=e?a:b==mxConstants.DIRECTION_WEST?f+k:f,d.y=c.y):c.x>=f&&c.x<=f+k&&(d.x=c.x,d.y=e?b==mxConstants.DIRECTION_NORTH?g+l:g:m),a=d.x,m=d.y),c=e&&c.x<=f+k/2||!e&&c.y<=g+l/2?mxUtils.intersection(c.x,c.y,a,m,n.x,n.y,p.x,p.y):mxUtils.intersection(c.x,c.y,a,m,p.x,p.y,q.x,q.y));null==c&&(c=new mxPoint(a,m));return c},HexagonPerimeter:function(a,b,c,d){var e=a.x,f=a.y,g=a.width,k=a.height,l=a.getCenterX();a=a.getCenterY();var m=c.x,n=c.y,p=-Math.atan2(n-
- a,m-l),q=Math.PI,r=Math.PI/2;new mxPoint(l,a);b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;var t=b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH;b=new mxPoint;var u=new mxPoint;if(m<e&&n<f||m<e&&n>f+k||m>e+g&&n<f||m>e+g&&n>f+k)d=!1;if(d){if(t){if(m==l){if(n<=f)return new mxPoint(l,f);if(n>=f+k)return new mxPoint(l,f+k)}else if(m<e){if(n==f+k/4)return new mxPoint(e,f+k/4);if(n==f+3*k/4)return new mxPoint(e,f+3*
- k/4)}else if(m>e+g){if(n==f+k/4)return new mxPoint(e+g,f+k/4);if(n==f+3*k/4)return new mxPoint(e+g,f+3*k/4)}else if(m==e){if(n<a)return new mxPoint(e,f+k/4);if(n>a)return new mxPoint(e,f+3*k/4)}else if(m==e+g){if(n<a)return new mxPoint(e+g,f+k/4);if(n>a)return new mxPoint(e+g,f+3*k/4)}if(n==f)return new mxPoint(l,f);if(n==f+k)return new mxPoint(l,f+k);m<l?n>f+k/4&&n<f+3*k/4?(b=new mxPoint(e,f),u=new mxPoint(e,f+k)):n<f+k/4?(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f-
- Math.floor(.25*k))):n>f+3*k/4&&(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f+Math.floor(1.25*k))):m>l&&(n>f+k/4&&n<f+3*k/4?(b=new mxPoint(e+g,f),u=new mxPoint(e+g,f+k)):n<f+k/4?(b=new mxPoint(e,f-Math.floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k))):n>f+3*k/4&&(b=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k)),u=new mxPoint(e,f+Math.floor(1.25*k))))}else{if(n==a){if(m<=e)return new mxPoint(e,f+k/2);if(m>=e+g)return new mxPoint(e+g,f+k/2)}else if(n<
- f){if(m==e+g/4)return new mxPoint(e+g/4,f);if(m==e+3*g/4)return new mxPoint(e+3*g/4,f)}else if(n>f+k){if(m==e+g/4)return new mxPoint(e+g/4,f+k);if(m==e+3*g/4)return new mxPoint(e+3*g/4,f+k)}else if(n==f){if(m<l)return new mxPoint(e+g/4,f);if(m>l)return new mxPoint(e+3*g/4,f)}else if(n==f+k){if(m<l)return new mxPoint(e+g/4,f+k);if(n>a)return new mxPoint(e+3*g/4,f+k)}if(m==e)return new mxPoint(e,a);if(m==e+g)return new mxPoint(e+g,a);n<a?m>e+g/4&&m<e+3*g/4?(b=new mxPoint(e,f),u=new mxPoint(e+g,f)):
- m<e+g/4?(b=new mxPoint(e-Math.floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):m>e+3*g/4&&(b=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f+k)):n>a&&(m>e+g/4&&m<e+3*g/4?(b=new mxPoint(e,f+k),u=new mxPoint(e+g,f+k)):m<e+g/4?(b=new mxPoint(e-Math.floor(.25*g),f),u=new mxPoint(e+Math.floor(.5*g),f+Math.floor(1.5*k))):m>e+3*g/4&&(b=new mxPoint(e+Math.floor(.5*g),f+Math.floor(1.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f)))}d=l;p=a;m>=e&&m<=
- e+g?(d=m,p=n<a?f+k:f):n>=f&&n<=f+k&&(p=n,d=m<l?e+g:e);c=mxUtils.intersection(d,p,c.x,c.y,b.x,b.y,u.x,u.y)}else{if(t){m=Math.atan2(k/4,g/2);if(p==m)return new mxPoint(e+g,f+Math.floor(.25*k));if(p==r)return new mxPoint(e+Math.floor(.5*g),f);if(p==q-m)return new mxPoint(e,f+Math.floor(.25*k));if(p==-m)return new mxPoint(e+g,f+Math.floor(.75*k));if(p==-r)return new mxPoint(e+Math.floor(.5*g),f+k);if(p==-q+m)return new mxPoint(e,f+Math.floor(.75*k));p<m&&p>-m?(b=new mxPoint(e+g,f),u=new mxPoint(e+g,f+
- k)):p>m&&p<r?(b=new mxPoint(e,f-Math.floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k))):p>r&&p<q-m?(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f-Math.floor(.25*k))):p>q-m&&p<=q||p<-q+m&&p>=-q?(b=new mxPoint(e,f),u=new mxPoint(e,f+k)):p<-m&&p>-r?(b=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k)),u=new mxPoint(e,f+Math.floor(1.25*k))):p<-r&&p>-q+m&&(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f+Math.floor(1.25*k)))}else{m=
- Math.atan2(k/2,g/4);if(p==m)return new mxPoint(e+Math.floor(.75*g),f);if(p==q-m)return new mxPoint(e+Math.floor(.25*g),f);if(p==q||p==-q)return new mxPoint(e,f+Math.floor(.5*k));if(0==p)return new mxPoint(e+g,f+Math.floor(.5*k));if(p==-m)return new mxPoint(e+Math.floor(.75*g),f+k);if(p==-q+m)return new mxPoint(e+Math.floor(.25*g),f+k);0<p&&p<m?(b=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f+k)):p>m&&p<q-m?(b=new mxPoint(e,f),u=new mxPoint(e+g,f)):p>q-m&&
- p<q?(b=new mxPoint(e-Math.floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):0>p&&p>-m?(b=new mxPoint(e+Math.floor(.5*g),f+Math.floor(1.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f)):p<-m&&p>-q+m?(b=new mxPoint(e,f+k),u=new mxPoint(e+g,f+k)):p<-q+m&&p>-q&&(b=new mxPoint(e-Math.floor(.25*g),f),u=new mxPoint(e+Math.floor(.5*g),f+Math.floor(1.5*k)))}c=mxUtils.intersection(l,a,c.x,c.y,b.x,b.y,u.x,u.y)}return null==c?new mxPoint(l,a):c}};
- function mxPrintPreview(a,b,c,d,e,f,g,k,l){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.border=null!=d?d:0;this.pageFormat=mxRectangle.fromRectangle(null!=c?c:a.pageFormat);this.title=null!=k?k:"Printer-friendly version";this.x0=null!=e?e:0;this.y0=null!=f?f:0;this.borderColor=g;this.pageSelector=null!=l?l:!0}mxPrintPreview.prototype.graph=null;mxPrintPreview.prototype.pageFormat=null;mxPrintPreview.prototype.scale=null;mxPrintPreview.prototype.border=0;
- mxPrintPreview.prototype.marginTop=0;mxPrintPreview.prototype.marginBottom=0;mxPrintPreview.prototype.x0=0;mxPrintPreview.prototype.y0=0;mxPrintPreview.prototype.autoOrigin=!0;mxPrintPreview.prototype.printOverlays=!1;mxPrintPreview.prototype.printControls=!1;mxPrintPreview.prototype.printBackgroundImage=!1;mxPrintPreview.prototype.backgroundColor="#ffffff";mxPrintPreview.prototype.borderColor=null;mxPrintPreview.prototype.title=null;mxPrintPreview.prototype.pageSelector=null;
- mxPrintPreview.prototype.wnd=null;mxPrintPreview.prototype.targetWindow=null;mxPrintPreview.prototype.pageCount=0;mxPrintPreview.prototype.clipping=!0;mxPrintPreview.prototype.getWindow=function(){return this.wnd};
- mxPrintPreview.prototype.getDoctype=function(){var a="";5==document.documentMode?a='<meta http-equiv="X-UA-Compatible" content="IE=5">':8==document.documentMode?a='<meta http-equiv="X-UA-Compatible" content="IE=8">':8<document.documentMode&&(a='\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--\x3e');return a};mxPrintPreview.prototype.appendGraph=function(a,b,c,d,e,f){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.x0=c;this.y0=d;this.open(null,null,e,f)};
- mxPrintPreview.prototype.open=function(a,b,c,d){var e=this.graph.cellRenderer.initializeOverlay,f=null;try{this.printOverlays&&(this.graph.cellRenderer.initializeOverlay=function(a,b){b.init(a.view.getDrawPane())});this.printControls&&(this.graph.cellRenderer.initControl=function(a,b,c,d){b.dialect=a.view.graph.dialect;b.init(a.view.getDrawPane())});this.wnd=null!=b?b:this.wnd;var g=!1;null==this.wnd&&(g=!0,this.wnd=window.open());var k=this.wnd.document;if(g){var l=this.getDoctype();null!=l&&0<l.length&&
- k.writeln(l);mxClient.IS_VML?k.writeln('<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">'):("CSS1Compat"===document.compatMode&&k.writeln("<!DOCTYPE html>"),k.writeln("<html>"));k.writeln("<head>");this.writeHead(k,a);k.writeln("</head>");k.writeln('<body class="mxPage">')}var m=this.graph.getGraphBounds().clone(),n=this.graph.getView().getScale(),p=n/this.scale,q=this.graph.getView().getTranslate();this.autoOrigin||(this.x0-=q.x*this.scale,this.y0-=
- q.y*this.scale,m.width+=m.x,m.height+=m.y,m.x=0,this.border=m.y=0);var r=this.pageFormat.width-2*this.border,t=this.pageFormat.height-2*this.border;this.pageFormat.height+=this.marginTop+this.marginBottom;m.width/=p;m.height/=p;var u=Math.max(1,Math.ceil((m.width+this.x0)/r)),x=Math.max(1,Math.ceil((m.height+this.y0)/t));this.pageCount=u*x;var y=mxUtils.bind(this,function(){if(this.pageSelector&&(1<x||1<u)){var a=this.createPageSelector(x,u);k.body.appendChild(a);if(mxClient.IS_IE&&null==k.documentMode||
- 5==k.documentMode||8==k.documentMode||7==k.documentMode){a.style.position="absolute";var b=function(){a.style.top=(k.body.scrollTop||k.documentElement.scrollTop)+10+"px"};mxEvent.addListener(this.wnd,"scroll",function(a){b()});mxEvent.addListener(this.wnd,"resize",function(a){b()})}}}),A=mxUtils.bind(this,function(a,b){null!=this.borderColor&&(a.style.borderColor=this.borderColor,a.style.borderStyle="solid",a.style.borderWidth="1px");a.style.background=this.backgroundColor;if(c||b)a.style.pageBreakAfter=
- "always";g&&(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE)?(k.writeln(a.outerHTML),a.parentNode.removeChild(a)):(a.parentNode.removeChild(a),k.body.appendChild(a));(c||b)&&this.addPageBreak(k)}),z=this.getCoverPages(this.pageFormat.width,this.pageFormat.height);if(null!=z)for(var v=0;v<z.length;v++)A(z[v],!0);for(var B=this.getAppendices(this.pageFormat.width,this.pageFormat.height),v=0;v<x;v++){var C=v*t/this.scale-this.y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;
- var F=a*r/this.scale-this.x0/this.scale+(m.x-q.x*n)/n,D=v*u+a+1,I=new mxRectangle(F,C,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-F,-C,this.scale,D,a,I);this.printBackgroundImage&&this.insertBackgroundImage(a,-F,-C)}),D);f.setAttribute("id","mxPage-"+D);A(f,null!=B||v<x-1||a<u-1)}}if(null!=B)for(v=0;v<B.length;v++)A(B[v],v<B.length-1);g&&!d&&(this.closeDocument(),y());this.wnd.focus()}catch(E){null!=f&&null!=f.parentNode&&
- f.parentNode.removeChild(f)}finally{this.graph.cellRenderer.initializeOverlay=e}return this.wnd};mxPrintPreview.prototype.addPageBreak=function(a){var b=a.createElement("hr");b.className="mxPageBreak";a.body.appendChild(b)};mxPrintPreview.prototype.closeDocument=function(){if(null!=this.wnd&&null!=this.wnd.document){var a=this.wnd.document;this.writePostfix(a);a.writeln("</body>");a.writeln("</html>");a.close();mxEvent.release(a.body)}};
- mxPrintPreview.prototype.writeHead=function(a,b){null!=this.title&&a.writeln("<title>"+this.title+"</title>");mxClient.IS_VML&&a.writeln('<style type="text/css">v\\:*{behavior:url(#default#VML)}o\\:*{behavior:url(#default#VML)}</style>');mxClient.link("stylesheet",mxClient.basePath+"/css/common.css",a);a.writeln('<style type="text/css">');a.writeln("@media print {");a.writeln(" table.mxPageSelector { display: none; }");a.writeln(" hr.mxPageBreak { display: none; }");a.writeln("}");a.writeln("@media screen {");
- a.writeln(" table.mxPageSelector { position: fixed; right: 10px; top: 10px;font-family: Arial; font-size:10pt; border: solid 1px darkgray;background: white; border-collapse:collapse; }");a.writeln(" table.mxPageSelector td { border: solid 1px gray; padding:4px; }");a.writeln(" body.mxPage { background: gray; }");a.writeln("}");null!=b&&a.writeln(b);a.writeln("</style>")};mxPrintPreview.prototype.writePostfix=function(a){};
- mxPrintPreview.prototype.createPageSelector=function(a,b){var c=this.wnd.document,d=c.createElement("table");d.className="mxPageSelector";d.setAttribute("border","0");for(var e=c.createElement("tbody"),f=0;f<a;f++){for(var g=c.createElement("tr"),k=0;k<b;k++){var l=f*b+k+1,m=c.createElement("td"),n=c.createElement("a");n.setAttribute("href","#mxPage-"+l);!mxClient.IS_NS||mxClient.IS_SF||mxClient.IS_GC||n.setAttribute("onclick","var page = document.getElementById('mxPage-"+l+"');page.scrollIntoView(true);event.preventDefault();");
- mxUtils.write(n,l,c);m.appendChild(n);g.appendChild(m)}e.appendChild(g)}d.appendChild(e);return d};
- mxPrintPreview.prototype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;var g=document.createElement("div"),k=null;try{if(0!=c||0!=d){g.style.position="relative";g.style.width=a+"px";g.style.height=b+"px";g.style.pageBreakInside="avoid";var l=document.createElement("div");l.style.position="relative";l.style.top=this.border+"px";l.style.left=this.border+"px";l.style.width=a-2*this.border+"px";l.style.height=b-2*this.border+"px";l.style.overflow="hidden";var m=document.createElement("div");m.style.position=
- "relative";m.style.marginLeft=c+"px";m.style.marginTop=d+"px";8==f.documentMode&&(l.style.position="absolute",m.style.position="absolute");10==f.documentMode&&(m.style.width="100%",m.style.height="100%");l.appendChild(m);g.appendChild(l);document.body.appendChild(g);k=m}else g.style.width=a+"px",g.style.height=b+"px",g.style.overflow="hidden",g.style.pageBreakInside="avoid",8==f.documentMode&&(g.style.position="relative"),l=document.createElement("div"),l.style.width=a-2*this.border+"px",l.style.height=
- b-2*this.border+"px",l.style.overflow="hidden",!mxClient.IS_IE||null!=f.documentMode&&5!=f.documentMode&&8!=f.documentMode&&7!=f.documentMode?(l.style.top=this.border+"px",l.style.left=this.border+"px"):(l.style.marginTop=this.border+"px",l.style.marginLeft=this.border+"px"),this.graph.dialect==mxConstants.DIALECT_VML&&(l.style.position="absolute"),g.appendChild(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n;}e(k);return g};
- mxPrintPreview.prototype.getRoot=function(){var a=this.graph.view.currentRoot;null==a&&(a=this.graph.getModel().getRoot());return a};
- mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane();this.graph.dialect==mxConstants.DIALECT_SVG?g.createSvg():this.graph.dialect==mxConstants.DIALECT_VML?g.createVml():g.createHtml();var p=g.isEventsEnabled();g.setEventsEnabled(!1);var q=this.graph.isEnabled();this.graph.setEnabled(!1);var r=g.getTranslate();g.translate=new mxPoint(a,
- b);var t=this.graph.cellRenderer.redraw,u=g.states;a=g.scale;if(this.clipping){var x=new mxRectangle((f.x+r.x)*a,(f.y+r.y)*a,f.width*a/c,f.height*a/c);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=u.get(a.cell);if(null!=d&&(d=g.getBoundingBox(d,!1),null!=d&&!mxUtils.intersects(x,d)))return}t.apply(this,arguments)}}a=null;try{var y=[this.getRoot()];a=new mxTemporaryCellStates(g,c,y)}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position=
- "relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)y=c.nextSibling,b=c.nodeName.toLowerCase(),"svg"==b?(c.style.overflow="hidden",c.style.position="relative",c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height=""):"default"!=c.style.cursor&&"div"!=b&&c.parentNode.removeChild(c),c=y;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),
- 0<e.length&&(e[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(q);this.graph.container=d;this.graph.cellRenderer.redraw=t;g.canvas=k;g.backgroundPane=l;g.drawPane=m;g.overlayPane=n;g.translate=r;a.destroy();g.setEventsEnabled(p)}};
- mxPrintPreview.prototype.insertBackgroundImage=function(a,b,c){var d=this.graph.backgroundImage;if(null!=d){var e=document.createElement("img");e.style.position="absolute";e.style.marginLeft=Math.round(b*this.scale)+"px";e.style.marginTop=Math.round(c*this.scale)+"px";e.setAttribute("width",Math.round(this.scale*d.width));e.setAttribute("height",Math.round(this.scale*d.height));e.src=d.src;a.insertBefore(e,a.firstChild)}};mxPrintPreview.prototype.getCoverPages=function(){return null};
- mxPrintPreview.prototype.getAppendices=function(){return null};mxPrintPreview.prototype.print=function(a){a=this.open(a);null!=a&&a.print()};mxPrintPreview.prototype.close=function(){null!=this.wnd&&(this.wnd.close(),this.wnd=null)};function mxStylesheet(){this.styles={};this.putDefaultVertexStyle(this.createDefaultVertexStyle());this.putDefaultEdgeStyle(this.createDefaultEdgeStyle())}
- mxStylesheet.prototype.createDefaultVertexStyle=function(){var a={};a[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_RECTANGLE;a[mxConstants.STYLE_PERIMETER]=mxPerimeter.RectanglePerimeter;a[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;a[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;a[mxConstants.STYLE_FILLCOLOR]="#C3D9FF";a[mxConstants.STYLE_STROKECOLOR]="#6482B9";a[mxConstants.STYLE_FONTCOLOR]="#774400";return a};
- mxStylesheet.prototype.createDefaultEdgeStyle=function(){var a={};a[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_CONNECTOR;a[mxConstants.STYLE_ENDARROW]=mxConstants.ARROW_CLASSIC;a[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;a[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;a[mxConstants.STYLE_STROKECOLOR]="#6482B9";a[mxConstants.STYLE_FONTCOLOR]="#446299";return a};mxStylesheet.prototype.putDefaultVertexStyle=function(a){this.putCellStyle("defaultVertex",a)};
- mxStylesheet.prototype.putDefaultEdgeStyle=function(a){this.putCellStyle("defaultEdge",a)};mxStylesheet.prototype.getDefaultVertexStyle=function(){return this.styles.defaultVertex};mxStylesheet.prototype.getDefaultEdgeStyle=function(){return this.styles.defaultEdge};mxStylesheet.prototype.putCellStyle=function(a,b){this.styles[a]=b};
- mxStylesheet.prototype.getCellStyle=function(a,b){var c=b;if(null!=a&&0<a.length)for(var d=a.split(";"),c=null!=c&&";"!=a.charAt(0)?mxUtils.clone(c):{},e=0;e<d.length;e++){var f=d[e],g=f.indexOf("=");if(0<=g){var k=f.substring(0,g),f=f.substring(g+1);f==mxConstants.NONE?delete c[k]:mxUtils.isNumeric(f)?c[k]=parseFloat(f):c[k]=f}else if(f=this.styles[f],null!=f)for(k in f)c[k]=f[k]}return c};
- function mxCellState(a,b,c){this.view=a;this.cell=b;this.style=c;this.origin=new mxPoint;this.absoluteOffset=new mxPoint}mxCellState.prototype=new mxRectangle;mxCellState.prototype.constructor=mxCellState;mxCellState.prototype.view=null;mxCellState.prototype.cell=null;mxCellState.prototype.style=null;mxCellState.prototype.invalid=!0;mxCellState.prototype.origin=null;mxCellState.prototype.absolutePoints=null;mxCellState.prototype.absoluteOffset=null;mxCellState.prototype.visibleSourceState=null;
- mxCellState.prototype.visibleTargetState=null;mxCellState.prototype.terminalDistance=0;mxCellState.prototype.length=0;mxCellState.prototype.segments=null;mxCellState.prototype.shape=null;mxCellState.prototype.text=null;mxCellState.prototype.unscaledWidth=null;
- mxCellState.prototype.getPerimeterBounds=function(a,b){a=a||0;b=null!=b?b:new mxRectangle(this.x,this.y,this.width,this.height);if(null!=this.shape&&null!=this.shape.stencil&&"fixed"==this.shape.stencil.aspect){var c=this.shape.stencil.computeAspect(this.style,b.x,b.y,b.width,b.height);b.x=c.x;b.y=c.y;b.width=this.shape.stencil.w0*c.width;b.height=this.shape.stencil.h0*c.height}0!=a&&b.grow(a);return b};
- mxCellState.prototype.setAbsoluteTerminalPoint=function(a,b){b?(null==this.absolutePoints&&(this.absolutePoints=[]),0==this.absolutePoints.length?this.absolutePoints.push(a):this.absolutePoints[0]=a):null==this.absolutePoints?(this.absolutePoints=[],this.absolutePoints.push(null),this.absolutePoints.push(a)):1==this.absolutePoints.length?this.absolutePoints.push(a):this.absolutePoints[this.absolutePoints.length-1]=a};
- mxCellState.prototype.setCursor=function(a){null!=this.shape&&this.shape.setCursor(a);null!=this.text&&this.text.setCursor(a)};mxCellState.prototype.getVisibleTerminal=function(a){a=this.getVisibleTerminalState(a);return null!=a?a.cell:null};mxCellState.prototype.getVisibleTerminalState=function(a){return a?this.visibleSourceState:this.visibleTargetState};mxCellState.prototype.setVisibleTerminalState=function(a,b){b?this.visibleSourceState=a:this.visibleTargetState=a};
- mxCellState.prototype.getCellBounds=function(){return this.cellBounds};mxCellState.prototype.getPaintBounds=function(){return this.paintBounds};mxCellState.prototype.updateCachedBounds=function(){var a=this.view.translate,b=this.view.scale;this.cellBounds=new mxRectangle(this.x/b-a.x,this.y/b-a.y,this.width/b,this.height/b);this.paintBounds=mxRectangle.fromRectangle(this.cellBounds);null!=this.shape&&this.shape.isPaintBoundsInverted()&&this.paintBounds.rotate90()};
- mxCellState.prototype.setState=function(a){this.view=a.view;this.cell=a.cell;this.style=a.style;this.absolutePoints=a.absolutePoints;this.origin=a.origin;this.absoluteOffset=a.absoluteOffset;this.boundingBox=a.boundingBox;this.terminalDistance=a.terminalDistance;this.segments=a.segments;this.length=a.length;this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.unscaledWidth=a.unscaledWidth};
- mxCellState.prototype.clone=function(){var a=new mxCellState(this.view,this.cell,this.style);if(null!=this.absolutePoints){a.absolutePoints=[];for(var b=0;b<this.absolutePoints.length;b++)a.absolutePoints[b]=this.absolutePoints[b].clone()}null!=this.origin&&(a.origin=this.origin.clone());null!=this.absoluteOffset&&(a.absoluteOffset=this.absoluteOffset.clone());null!=this.boundingBox&&(a.boundingBox=this.boundingBox.clone());a.terminalDistance=this.terminalDistance;a.segments=this.segments;a.length=
- this.length;a.x=this.x;a.y=this.y;a.width=this.width;a.height=this.height;a.unscaledWidth=this.unscaledWidth;return a};mxCellState.prototype.destroy=function(){this.view.graph.cellRenderer.destroy(this)};function mxGraphSelectionModel(a){this.graph=a;this.cells=[]}mxGraphSelectionModel.prototype=new mxEventSource;mxGraphSelectionModel.prototype.constructor=mxGraphSelectionModel;mxGraphSelectionModel.prototype.doneResource="none"!=mxClient.language?"done":"";
- mxGraphSelectionModel.prototype.updatingSelectionResource="none"!=mxClient.language?"updatingSelection":"";mxGraphSelectionModel.prototype.graph=null;mxGraphSelectionModel.prototype.singleSelection=!1;mxGraphSelectionModel.prototype.isSingleSelection=function(){return this.singleSelection};mxGraphSelectionModel.prototype.setSingleSelection=function(a){this.singleSelection=a};mxGraphSelectionModel.prototype.isSelected=function(a){return null!=a?0<=mxUtils.indexOf(this.cells,a):!1};
- mxGraphSelectionModel.prototype.isEmpty=function(){return 0==this.cells.length};mxGraphSelectionModel.prototype.clear=function(){this.changeSelection(null,this.cells)};mxGraphSelectionModel.prototype.setCell=function(a){null!=a&&this.setCells([a])};mxGraphSelectionModel.prototype.setCells=function(a){if(null!=a){this.singleSelection&&(a=[this.getFirstSelectableCell(a)]);for(var b=[],c=0;c<a.length;c++)this.graph.isCellSelectable(a[c])&&b.push(a[c]);this.changeSelection(b,this.cells)}};
- mxGraphSelectionModel.prototype.getFirstSelectableCell=function(a){if(null!=a)for(var b=0;b<a.length;b++)if(this.graph.isCellSelectable(a[b]))return a[b];return null};mxGraphSelectionModel.prototype.addCell=function(a){null!=a&&this.addCells([a])};
- mxGraphSelectionModel.prototype.addCells=function(a){if(null!=a){var b=null;this.singleSelection&&(b=this.cells,a=[this.getFirstSelectableCell(a)]);for(var c=[],d=0;d<a.length;d++)!this.isSelected(a[d])&&this.graph.isCellSelectable(a[d])&&c.push(a[d]);this.changeSelection(c,b)}};mxGraphSelectionModel.prototype.removeCell=function(a){null!=a&&this.removeCells([a])};
- mxGraphSelectionModel.prototype.removeCells=function(a){if(null!=a){for(var b=[],c=0;c<a.length;c++)this.isSelected(a[c])&&b.push(a[c]);this.changeSelection(null,b)}};mxGraphSelectionModel.prototype.changeSelection=function(a,b){if(null!=a&&0<a.length&&null!=a[0]||null!=b&&0<b.length&&null!=b[0]){var c=new mxSelectionChange(this,a,b);c.execute();var d=new mxUndoableEdit(this,!1);d.add(c);this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",d))}};
- mxGraphSelectionModel.prototype.cellAdded=function(a){null==a||this.isSelected(a)||this.cells.push(a)};mxGraphSelectionModel.prototype.cellRemoved=function(a){null!=a&&(a=mxUtils.indexOf(this.cells,a),0<=a&&this.cells.splice(a,1))};function mxSelectionChange(a,b,c){this.selectionModel=a;this.added=null!=b?b.slice():null;this.removed=null!=c?c.slice():null}
- mxSelectionChange.prototype.execute=function(){var a=mxLog.enter("mxSelectionChange.execute");window.status=mxResources.get(this.selectionModel.updatingSelectionResource)||this.selectionModel.updatingSelectionResource;if(null!=this.removed)for(var b=0;b<this.removed.length;b++)this.selectionModel.cellRemoved(this.removed[b]);if(null!=this.added)for(b=0;b<this.added.length;b++)this.selectionModel.cellAdded(this.added[b]);b=this.added;this.added=this.removed;this.removed=b;window.status=mxResources.get(this.selectionModel.doneResource)||
- this.selectionModel.doneResource;mxLog.leave("mxSelectionChange.execute",a);this.selectionModel.fireEvent(new mxEventObject(mxEvent.CHANGE,"added",this.added,"removed",this.removed))};
- function mxCellEditor(a){this.graph=a;this.zoomHandler=mxUtils.bind(this,function(){this.graph.isEditing()&&this.resize()});this.graph.view.addListener(mxEvent.SCALE,this.zoomHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.zoomHandler);this.changeHandler=mxUtils.bind(this,function(a){null!=this.editingCell&&null==this.graph.getView().getState(this.editingCell)&&this.stopEditing(!0)});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler)}
- mxCellEditor.prototype.graph=null;mxCellEditor.prototype.textarea=null;mxCellEditor.prototype.editingCell=null;mxCellEditor.prototype.trigger=null;mxCellEditor.prototype.modified=!1;mxCellEditor.prototype.autoSize=!0;mxCellEditor.prototype.selectText=!0;mxCellEditor.prototype.emptyLabelText=mxClient.IS_FF?"<br>":"";mxCellEditor.prototype.escapeCancelsEditing=!0;mxCellEditor.prototype.textNode="";mxCellEditor.prototype.zIndex=5;mxCellEditor.prototype.minResize=new mxRectangle(0,20);
- mxCellEditor.prototype.wordWrapPadding=mxClient.IS_QUIRKS?2:mxClient.IS_IE11?0:1;mxCellEditor.prototype.blurEnabled=!1;mxCellEditor.prototype.initialValue=null;mxCellEditor.prototype.init=function(){this.textarea=document.createElement("div");this.textarea.className="mxCellEditor mxPlainTextEditor";this.textarea.contentEditable=!0;mxClient.IS_GC&&(this.textarea.style.minHeight="1em");this.installListeners(this.textarea)};
- mxCellEditor.prototype.applyValue=function(a,b){this.graph.labelChanged(a.cell,b,this.trigger)};mxCellEditor.prototype.getInitialValue=function(a,b){var c=mxUtils.htmlEntities(this.graph.getEditingValue(a.cell,b),!1);mxClient.IS_QUIRKS||8==document.documentMode||9==document.documentMode||10==document.documentMode||(c=mxUtils.replaceTrailingNewlines(c,"<div><br></div>"));return c.replace(/\n/g,"<br>")};mxCellEditor.prototype.getCurrentValue=function(a){return mxUtils.extractTextWithWhitespace(this.textarea.childNodes)};
- mxCellEditor.prototype.installListeners=function(a){mxEvent.addListener(a,"blur",mxUtils.bind(this,function(a){this.blurEnabled&&this.focusLost(a)}));mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(a){mxEvent.isConsumed(a)||(this.isStopEditingEvent(a)?(this.graph.stopEditing(!1),mxEvent.consume(a)):27==a.keyCode&&(this.graph.stopEditing(this.escapeCancelsEditing||mxEvent.isShiftDown(a)),mxEvent.consume(a)))}));var b=mxUtils.bind(this,function(b){null!=this.editingCell&&this.clearOnChange&&
- a.innerHTML==this.getEmptyLabelText()&&(!mxClient.IS_FF||8!=b.keyCode&&46!=b.keyCode)&&(this.clearOnChange=!1,a.innerHTML="")});mxEvent.addListener(a,"keypress",b);mxEvent.addListener(a,"paste",b);b=mxUtils.bind(this,function(a){null!=this.editingCell&&(0==this.textarea.innerHTML.length||"<br>"==this.textarea.innerHTML?(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length):this.clearOnChange=!1)});mxEvent.addListener(a,mxClient.IS_IE11||mxClient.IS_IE?
- "keyup":"input",b);mxEvent.addListener(a,"cut",b);mxEvent.addListener(a,"paste",b);var b=mxClient.IS_IE11||mxClient.IS_IE?"keydown":"input",c=mxUtils.bind(this,function(a){null!=this.editingCell&&this.autoSize&&!mxEvent.isConsumed(a)&&(null!=this.resizeThread&&window.clearTimeout(this.resizeThread),this.resizeThread=window.setTimeout(mxUtils.bind(this,function(){this.resizeThread=null;this.resize()}),0))});mxEvent.addListener(a,b,c);9<=document.documentMode?(mxEvent.addListener(a,"DOMNodeRemoved",
- c),mxEvent.addListener(a,"DOMNodeInserted",c)):(mxEvent.addListener(a,"cut",c),mxEvent.addListener(a,"paste",c))};mxCellEditor.prototype.isStopEditingEvent=function(a){return 113==a.keyCode||this.graph.isEnterStopsCellEditing()&&13==a.keyCode&&!mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)};mxCellEditor.prototype.isEventSource=function(a){return mxEvent.getSource(a)==this.textarea};
- mxCellEditor.prototype.resize=function(){var a=this.graph.getView().getState(this.editingCell);if(null==a)this.stopEditing(!0);else if(null!=this.textarea){var b=this.graph.getModel().isEdge(a.cell),c=this.graph.getView().scale,d=null;if(this.autoSize&&"fill"!=a.style[mxConstants.STYLE_OVERFLOW]){var e=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null),d=null!=a.text?a.text.margin:null;null==d&&(d=mxUtils.getAlignmentAsPoint(mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),
- mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));if(b)this.bounds=new mxRectangle(a.absoluteOffset.x,a.absoluteOffset.y,0,0),null!=e&&(e=(parseFloat(e)+2)*c,this.bounds.width=e,this.bounds.x+=d.x*e);else{var b=mxRectangle.fromRectangle(a),f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b=null!=a.shape&&f==mxConstants.ALIGN_CENTER&&
- g==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(b):b;null!=e&&(b.width=parseFloat(e)*c);if(!a.view.graph.cellRenderer.legacySpacing||"width"!=a.style[mxConstants.STYLE_OVERFLOW])var f=parseInt(a.style[mxConstants.STYLE_SPACING]||2)*c,k=(parseInt(a.style[mxConstants.STYLE_SPACING_TOP]||0)+mxText.prototype.baseSpacingTop)*c+f,l=(parseInt(a.style[mxConstants.STYLE_SPACING_RIGHT]||0)+mxText.prototype.baseSpacingRight)*c+f,m=(parseInt(a.style[mxConstants.STYLE_SPACING_BOTTOM]||0)+mxText.prototype.baseSpacingBottom)*
- c+f,n=(parseInt(a.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*c+f,f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b=new mxRectangle(b.x+n,b.y+k,b.width-(f==mxConstants.ALIGN_CENTER&&null==e?n+l:0),b.height-(g==mxConstants.ALIGN_MIDDLE?k+m:0));this.bounds=new mxRectangle(b.x+a.absoluteOffset.x,b.y+a.absoluteOffset.y,b.width,b.height)}this.graph.isWrapping(a.cell)&&
- (2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal",e=Math.round(this.bounds.width/c)+this.wordWrapPadding,this.textarea.style.width=e+"px",this.textarea.scrollWidth>e&&(this.textarea.style.width=this.textarea.scrollWidth+"px")):(this.textarea.style.whiteSpace="nowrap",this.textarea.style.width="");8==document.documentMode&&(this.textarea.style.zoom="1",this.textarea.style.height=
- "auto");a=this.textarea.scrollWidth;e=this.textarea.scrollHeight;8==document.documentMode?(this.textarea.style.left=Math.max(0,Math.ceil((this.bounds.x-d.x*(this.bounds.width-(a+1)*c)+a*(c-1)*0+2*(d.x+.5))/c))+"px",this.textarea.style.top=Math.max(0,Math.ceil((this.bounds.y-d.y*(this.bounds.height-(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5))/c))+"px",this.textarea.style.width=Math.round(a*c)+"px",this.textarea.style.height=Math.round(e*c)+"px"):mxClient.IS_QUIRKS?(this.textarea.style.left=Math.max(0,Math.ceil(this.bounds.x-
- d.x*(this.bounds.width-(a+1)*c)+a*(c-1)*0+2*(d.x+.5)))+"px",this.textarea.style.top=Math.max(0,Math.ceil(this.bounds.y-d.y*(this.bounds.height-(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5)))+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x-d.x*(this.bounds.width-2))+1)+"px",this.textarea.style.top=Math.max(0,Math.round(this.bounds.y-d.y*(this.bounds.height-4)+(-1==d.y?3:0))+1)+"px")}else this.bounds=this.getEditorBounds(a),this.textarea.style.width=Math.round(this.bounds.width/c)+"px",
- this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8==document.documentMode||mxClient.IS_QUIRKS?(this.textarea.style.left=Math.round(this.bounds.x)+"px",this.textarea.style.top=Math.round(this.bounds.y)+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x+1))+"px",this.textarea.style.top=Math.max(0,Math.round(this.bounds.y+1))+"px"),this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(this.textarea.style.wordWrap=
- mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal","fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=Math.round(this.bounds.width/c)+this.wordWrapPadding+"px")):(this.textarea.style.whiteSpace="nowrap","fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=""));mxClient.IS_VML?this.textarea.style.zoom=c:(mxUtils.setPrefixedStyle(this.textarea.style,"transformOrigin","0px 0px"),mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+c+","+
- c+")"+(null==d?"":" translate("+100*d.x+"%,"+100*d.y+"%)")))}};mxCellEditor.prototype.focusLost=function(){this.stopEditing(!this.graph.isInvokesStopCellEditing())};mxCellEditor.prototype.getBackgroundColor=function(a){return null};
- mxCellEditor.prototype.startEditing=function(a,b){this.stopEditing(!0);null==this.textarea&&this.init();null!=this.graph.tooltipHandler&&this.graph.tooltipHandler.hideTooltip();var c=this.graph.getView().getState(a);if(null!=c){this.graph.getView();var d=mxUtils.getValue(c.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),e=mxUtils.getValue(c.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),f=mxUtils.getValue(c.style,mxConstants.STYLE_FONTCOLOR,"black"),g=mxUtils.getValue(c.style,
- mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),k=(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,l=(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,m=(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;
- this.textarea.style.backgroundColor=this.getBackgroundColor(c);this.textarea.style.textDecoration=m?"underline":"";this.textarea.style.fontWeight=k?"bold":"normal";this.textarea.style.fontStyle=l?"italic":"";this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.zIndex=this.zIndex;this.textarea.style.fontFamily=e;this.textarea.style.textAlign=g;this.textarea.style.outline="none";this.textarea.style.color=f;d=this.textDirection=mxUtils.getValue(c.style,mxConstants.STYLE_TEXT_DIRECTION,
- mxConstants.DEFAULT_TEXT_DIRECTION);d==mxConstants.TEXT_DIRECTION_AUTO&&(null==c||null==c.text||c.text.dialect==mxConstants.DIALECT_STRICTHTML||mxUtils.isNode(c.text.value)||(d=c.text.getAutoDirection()));d==mxConstants.TEXT_DIRECTION_LTR||d==mxConstants.TEXT_DIRECTION_RTL?this.textarea.setAttribute("dir",d):this.textarea.removeAttribute("dir");this.textarea.innerHTML=this.getInitialValue(c,b)||"";this.initialValue=this.textarea.innerHTML;0==this.textarea.innerHTML.length||"<br>"==this.textarea.innerHTML?
- (this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=!0):this.clearOnChange=this.textarea.innerHTML==this.getEmptyLabelText();this.graph.container.appendChild(this.textarea);this.editingCell=a;this.trigger=b;this.textNode=null;null!=c.text&&this.isHideLabel(c)&&(this.textNode=c.text.node,this.textNode.style.visibility="hidden");this.autoSize&&(this.graph.model.isEdge(c.cell)||"fill"!=c.style[mxConstants.STYLE_OVERFLOW])&&window.setTimeout(mxUtils.bind(this,function(){this.resize()}),
- 0);this.resize();try{this.textarea.focus(),this.isSelectText()&&0<this.textarea.innerHTML.length&&(this.textarea.innerHTML!=this.getEmptyLabelText()||!this.clearOnChange)&&document.execCommand("selectAll",!1,null)}catch(n){}}};mxCellEditor.prototype.isSelectText=function(){return this.selectText};
- mxCellEditor.prototype.stopEditing=function(a){if(null!=this.editingCell){null!=this.textNode&&(this.textNode.style.visibility="visible",this.textNode=null);a=a?null:this.graph.view.getState(this.editingCell);var b=this.initialValue;this.bounds=this.trigger=this.editingCell=this.initialValue=null;this.textarea.blur();null!=this.textarea.parentNode&&this.textarea.parentNode.removeChild(this.textarea);this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.textarea.innerHTML="",
- this.clearOnChange=!1);null!=a&&this.textarea.innerHTML!=b&&(this.prepareTextarea(),b=this.getCurrentValue(a),null!=b&&this.applyValue(a,b));mxEvent.release(this.textarea);this.textarea=null}};mxCellEditor.prototype.prepareTextarea=function(){mxClient.IS_FF&&null!=this.textarea.lastChild&&"BR"==this.textarea.lastChild.nodeName&&this.textarea.removeChild(this.textarea.lastChild)};mxCellEditor.prototype.isHideLabel=function(a){return!0};
- mxCellEditor.prototype.getMinimumSize=function(a){var b=this.graph.getView().scale;return new mxRectangle(0,0,null==a.text?30:a.text.size*b+20,"left"==this.textarea.style.textAlign?120:40)};
- mxCellEditor.prototype.getEditorBounds=function(a){var b=this.graph.getModel().isEdge(a.cell),c=this.graph.getView().scale,d=this.getMinimumSize(a),e=d.width,d=d.height;if(!b&&a.view.graph.cellRenderer.legacySpacing&&"fill"==a.style[mxConstants.STYLE_OVERFLOW])c=a.shape.getLabelBounds(mxRectangle.fromRectangle(a));else{var f=parseInt(a.style[mxConstants.STYLE_SPACING]||0)*c,g=(parseInt(a.style[mxConstants.STYLE_SPACING_TOP]||0)+mxText.prototype.baseSpacingTop)*c+f,k=(parseInt(a.style[mxConstants.STYLE_SPACING_RIGHT]||
- 0)+mxText.prototype.baseSpacingRight)*c+f,l=(parseInt(a.style[mxConstants.STYLE_SPACING_BOTTOM]||0)+mxText.prototype.baseSpacingBottom)*c+f,f=(parseInt(a.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*c+f,c=new mxRectangle(a.x,a.y,Math.max(e,a.width-f-k),Math.max(d,a.height-g-l)),k=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),l=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),c=null!=a.shape&&
- k==mxConstants.ALIGN_CENTER&&l==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(c):c;b?(c.x=a.absoluteOffset.x,c.y=a.absoluteOffset.y,null!=a.text&&null!=a.text.boundingBox&&(0<a.text.boundingBox.x&&(c.x=a.text.boundingBox.x),0<a.text.boundingBox.y&&(c.y=a.text.boundingBox.y))):null!=a.text&&null!=a.text.boundingBox&&(c.x=Math.min(c.x,a.text.boundingBox.x),c.y=Math.min(c.y,a.text.boundingBox.y));c.x+=f;c.y+=g;null!=a.text&&null!=a.text.boundingBox&&(b?(c.width=Math.max(e,a.text.boundingBox.width),
- c.height=Math.max(d,a.text.boundingBox.height)):(c.width=Math.max(c.width,a.text.boundingBox.width),c.height=Math.max(c.height,a.text.boundingBox.height)));this.graph.getModel().isVertex(a.cell)&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),b==mxConstants.ALIGN_LEFT?c.x-=a.width:b==mxConstants.ALIGN_RIGHT&&(c.x+=a.width),b=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b==mxConstants.ALIGN_TOP?c.y-=a.height:b==
- mxConstants.ALIGN_BOTTOM&&(c.y+=a.height))}return new mxRectangle(Math.round(c.x),Math.round(c.y),Math.round(c.width),Math.round(c.height))};mxCellEditor.prototype.getEmptyLabelText=function(a){return this.emptyLabelText};mxCellEditor.prototype.getEditingCell=function(){return this.editingCell};
- mxCellEditor.prototype.destroy=function(){null!=this.textarea&&(mxEvent.release(this.textarea),null!=this.textarea.parentNode&&this.textarea.parentNode.removeChild(this.textarea),this.textarea=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);this.zoomHandler&&(this.graph.view.removeListener(this.zoomHandler),this.zoomHandler=null)};function mxCellRenderer(){}mxCellRenderer.prototype.defaultEdgeShape=mxConnector;
- mxCellRenderer.prototype.defaultVertexShape=mxRectangleShape;mxCellRenderer.prototype.defaultTextShape=mxText;mxCellRenderer.prototype.legacyControlPosition=!0;mxCellRenderer.prototype.legacySpacing=!0;mxCellRenderer.prototype.defaultShapes={};mxCellRenderer.prototype.antiAlias=!0;mxCellRenderer.prototype.forceControlClickHandler=!1;mxCellRenderer.registerShape=function(a,b){mxCellRenderer.prototype.defaultShapes[a]=b};mxCellRenderer.registerShape(mxConstants.SHAPE_RECTANGLE,mxRectangleShape);
- mxCellRenderer.registerShape(mxConstants.SHAPE_ELLIPSE,mxEllipse);mxCellRenderer.registerShape(mxConstants.SHAPE_RHOMBUS,mxRhombus);mxCellRenderer.registerShape(mxConstants.SHAPE_CYLINDER,mxCylinder);mxCellRenderer.registerShape(mxConstants.SHAPE_CONNECTOR,mxConnector);mxCellRenderer.registerShape(mxConstants.SHAPE_ACTOR,mxActor);mxCellRenderer.registerShape(mxConstants.SHAPE_TRIANGLE,mxTriangle);mxCellRenderer.registerShape(mxConstants.SHAPE_HEXAGON,mxHexagon);
- mxCellRenderer.registerShape(mxConstants.SHAPE_CLOUD,mxCloud);mxCellRenderer.registerShape(mxConstants.SHAPE_LINE,mxLine);mxCellRenderer.registerShape(mxConstants.SHAPE_ARROW,mxArrow);mxCellRenderer.registerShape(mxConstants.SHAPE_ARROW_CONNECTOR,mxArrowConnector);mxCellRenderer.registerShape(mxConstants.SHAPE_DOUBLE_ELLIPSE,mxDoubleEllipse);mxCellRenderer.registerShape(mxConstants.SHAPE_SWIMLANE,mxSwimlane);mxCellRenderer.registerShape(mxConstants.SHAPE_IMAGE,mxImageShape);
- mxCellRenderer.registerShape(mxConstants.SHAPE_LABEL,mxLabel);mxCellRenderer.prototype.initializeShape=function(a){a.shape.dialect=a.view.graph.dialect;this.configureShape(a);a.shape.init(a.view.getDrawPane())};mxCellRenderer.prototype.createShape=function(a){var b=null;null!=a.style&&(b=mxStencilRegistry.getStencil(a.style[mxConstants.STYLE_SHAPE]),b=null!=b?new mxShape(b):new (this.getShapeConstructor(a)));return b};
- mxCellRenderer.prototype.createIndicatorShape=function(a){a.shape.indicatorShape=this.getShape(a.view.graph.getIndicatorShape(a))};mxCellRenderer.prototype.getShape=function(a){return null!=a?mxCellRenderer.prototype.defaultShapes[a]:null};mxCellRenderer.prototype.getShapeConstructor=function(a){var b=this.getShape(a.style[mxConstants.STYLE_SHAPE]);null==b&&(b=a.view.graph.getModel().isEdge(a.cell)?this.defaultEdgeShape:this.defaultVertexShape);return b};
- mxCellRenderer.prototype.configureShape=function(a){a.shape.apply(a);a.shape.image=a.view.graph.getImage(a);a.shape.indicatorColor=a.view.graph.getIndicatorColor(a);a.shape.indicatorStrokeColor=a.style[mxConstants.STYLE_INDICATOR_STROKECOLOR];a.shape.indicatorGradientColor=a.view.graph.getIndicatorGradientColor(a);a.shape.indicatorDirection=a.style[mxConstants.STYLE_INDICATOR_DIRECTION];a.shape.indicatorImage=a.view.graph.getIndicatorImage(a);this.postConfigureShape(a)};
- mxCellRenderer.prototype.postConfigureShape=function(a){null!=a.shape&&(this.resolveColor(a,"indicatorColor",mxConstants.STYLE_FILLCOLOR),this.resolveColor(a,"indicatorGradientColor",mxConstants.STYLE_GRADIENTCOLOR),this.resolveColor(a,"fill",mxConstants.STYLE_FILLCOLOR),this.resolveColor(a,"stroke",mxConstants.STYLE_STROKECOLOR),this.resolveColor(a,"gradient",mxConstants.STYLE_GRADIENTCOLOR))};
- mxCellRenderer.prototype.resolveColor=function(a,b,c){var d=a.shape[b],e=a.view.graph,f=null;"inherit"==d?f=e.model.getParent(a.cell):"swimlane"==d?(f=null!=e.model.getTerminal(a.cell,!1)?e.model.getTerminal(a.cell,!1):a.cell,f=e.getSwimlane(f),c=e.swimlaneIndicatorColorAttribute):"indicated"==d&&(a.shape[b]=a.shape.indicatorColor);null!=f&&(d=e.getView().getState(f),a.shape[b]=null,null!=d&&(a.shape[b]=null!=d.shape&&"indicatorColor"!=b?d.shape[b]:d.style[c]))};
- mxCellRenderer.prototype.getLabelValue=function(a){return a.view.graph.getLabel(a.cell)};
- mxCellRenderer.prototype.createLabel=function(a,b){var c=a.view.graph;c.getModel().isEdge(a.cell);if(0<a.style[mxConstants.STYLE_FONTSIZE]||null==a.style[mxConstants.STYLE_FONTSIZE]){var d=c.isHtmlLabel(a.cell)||null!=b&&mxUtils.isNode(b);a.text=new this.defaultTextShape(b,new mxRectangle,a.style[mxConstants.STYLE_ALIGN]||mxConstants.ALIGN_CENTER,c.getVerticalAlign(a),a.style[mxConstants.STYLE_FONTCOLOR],a.style[mxConstants.STYLE_FONTFAMILY],a.style[mxConstants.STYLE_FONTSIZE],a.style[mxConstants.STYLE_FONTSTYLE],
- a.style[mxConstants.STYLE_SPACING],a.style[mxConstants.STYLE_SPACING_TOP],a.style[mxConstants.STYLE_SPACING_RIGHT],a.style[mxConstants.STYLE_SPACING_BOTTOM],a.style[mxConstants.STYLE_SPACING_LEFT],a.style[mxConstants.STYLE_HORIZONTAL],a.style[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],a.style[mxConstants.STYLE_LABEL_BORDERCOLOR],c.isWrapping(a.cell)&&c.isHtmlLabel(a.cell),c.isLabelClipped(a.cell),a.style[mxConstants.STYLE_OVERFLOW],a.style[mxConstants.STYLE_LABEL_PADDING],mxUtils.getValue(a.style,mxConstants.STYLE_TEXT_DIRECTION,
- mxConstants.DEFAULT_TEXT_DIRECTION));a.text.opacity=mxUtils.getValue(a.style,mxConstants.STYLE_TEXT_OPACITY,100);a.text.dialect=d?mxConstants.DIALECT_STRICTHTML:a.view.graph.dialect;a.text.style=a.style;a.text.state=a;this.initializeLabel(a,a.text);var e=!1,f=function(b){var d=a;if(mxClient.IS_TOUCH||e)d=mxEvent.getClientX(b),b=mxEvent.getClientY(b),b=mxUtils.convertPoint(c.container,d,b),d=c.view.getState(c.getCellAt(b.x,b.y));return d};mxEvent.addGestureListeners(a.text.node,mxUtils.bind(this,function(b){this.isLabelEvent(a,
- b)&&(c.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b,a)),e=c.dialect!=mxConstants.DIALECT_SVG&&"IMG"==mxEvent.getSource(b).nodeName)}),mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&c.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,f(b)))}),mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b,f(b))),e=!1)}));c.nativeDblClickEnabled&&mxEvent.addListener(a.text.node,"dblclick",mxUtils.bind(this,function(b){this.isLabelEvent(a,
- b)&&(c.dblClick(b,a.cell),mxEvent.consume(b))}))}};mxCellRenderer.prototype.initializeLabel=function(a,b){mxClient.IS_SVG&&mxClient.NO_FO&&b.dialect!=mxConstants.DIALECT_SVG?b.init(a.view.graph.container):b.init(a.view.getDrawPane())};
- mxCellRenderer.prototype.createCellOverlays=function(a){var b=a.view.graph.getCellOverlays(a.cell),c=null;if(null!=b)for(var c=new mxDictionary,d=0;d<b.length;d++){var e=null!=a.overlays?a.overlays.remove(b[d]):null;null==e&&(e=new mxImageShape(new mxRectangle,b[d].image.src),e.dialect=a.view.graph.dialect,e.preserveImageAspect=!1,e.overlay=b[d],this.initializeOverlay(a,e),this.installCellOverlayListeners(a,b[d],e),null!=b[d].cursor&&(e.node.style.cursor=b[d].cursor));c.put(b[d],e)}null!=a.overlays&&
- a.overlays.visit(function(a,b){b.destroy()});a.overlays=c};mxCellRenderer.prototype.initializeOverlay=function(a,b){b.init(a.view.getOverlayPane())};
- mxCellRenderer.prototype.installCellOverlayListeners=function(a,b,c){var d=a.view.graph;mxEvent.addListener(c.node,"click",function(c){d.isEditing()&&d.stopEditing(!d.isInvokesStopCellEditing());b.fireEvent(new mxEventObject(mxEvent.CLICK,"event",c,"cell",a.cell))});mxEvent.addGestureListeners(c.node,function(a){mxEvent.consume(a)},function(b){d.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,a))});mxClient.IS_TOUCH&&mxEvent.addListener(c.node,"touchend",function(c){b.fireEvent(new mxEventObject(mxEvent.CLICK,
- "event",c,"cell",a.cell))})};mxCellRenderer.prototype.createControl=function(a){var b=a.view.graph,c=b.getFoldingImage(a);if(b.foldingEnabled&&null!=c){if(null==a.control){var d=new mxRectangle(0,0,c.width,c.height);a.control=new mxImageShape(d,c.src);a.control.preserveImageAspect=!1;a.control.dialect=b.dialect;this.initControl(a,a.control,!0,this.createControlClickHandler(a))}}else null!=a.control&&(a.control.destroy(),a.control=null)};
- mxCellRenderer.prototype.createControlClickHandler=function(a){var b=a.view.graph;return mxUtils.bind(this,function(c){if(this.forceControlClickHandler||b.isEnabled()){var d=!b.isCellCollapsed(a.cell);b.foldCells(d,!1,[a.cell],null,c);mxEvent.consume(c)}})};
- mxCellRenderer.prototype.initControl=function(a,b,c,d){var e=a.view.graph;e.isHtmlLabel(a.cell)&&mxClient.NO_FO&&e.dialect==mxConstants.DIALECT_SVG?(b.dialect=mxConstants.DIALECT_PREFERHTML,b.init(e.container),b.node.style.zIndex=1):b.init(a.view.getOverlayPane());b=b.innerNode||b.node;null==d||mxClient.IS_IOS||(e.isEnabled()&&(b.style.cursor="pointer"),mxEvent.addListener(b,"click",d));if(c){var f=null;mxEvent.addGestureListeners(b,function(b){f=new mxPoint(mxEvent.getClientX(b),mxEvent.getClientY(b));
- e.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b,a));mxEvent.consume(b)},function(b){e.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,a))},function(b){e.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b,a));mxEvent.consume(b)});null!=d&&mxClient.IS_IOS&&b.addEventListener("touchend",function(a){if(null!=f){var b=e.tolerance;Math.abs(f.x-mxEvent.getClientX(a))<b&&Math.abs(f.y-mxEvent.getClientY(a))<b&&(d.call(d,a),mxEvent.consume(a))}},!0)}return b};
- mxCellRenderer.prototype.isShapeEvent=function(a,b){return!0};mxCellRenderer.prototype.isLabelEvent=function(a,b){return!0};
- mxCellRenderer.prototype.installListeners=function(a){var b=a.view.graph,c=function(c){var d=a;if(b.dialect!=mxConstants.DIALECT_SVG&&"IMG"==mxEvent.getSource(c).nodeName||mxClient.IS_TOUCH)d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),c=mxUtils.convertPoint(b.container,d,c),d=b.view.getState(b.getCellAt(c.x,c.y));return d};mxEvent.addGestureListeners(a.shape.node,mxUtils.bind(this,function(c){this.isShapeEvent(a,c)&&b.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(c,a))}),mxUtils.bind(this,
- function(d){this.isShapeEvent(a,d)&&b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(d,c(d)))}),mxUtils.bind(this,function(d){this.isShapeEvent(a,d)&&b.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(d,c(d)))}));b.nativeDblClickEnabled&&mxEvent.addListener(a.shape.node,"dblclick",mxUtils.bind(this,function(c){this.isShapeEvent(a,c)&&(b.dblClick(c,a.cell),mxEvent.consume(c))}))};
- mxCellRenderer.prototype.redrawLabel=function(a,b){var c=this.getLabelValue(a);null==a.text&&null!=c&&(mxUtils.isNode(c)||0<c.length)?this.createLabel(a,c):null==a.text||null!=c&&0!=c.length||(a.text.destroy(),a.text=null);if(null!=a.text){var d=a.view.graph;b&&(null!=a.text.lastValue&&this.isTextShapeInvalid(a,a.text)&&(a.text.lastValue=null),a.text.resetStyles(),a.text.apply(a),a.text.valign=d.getVerticalAlign(a));var e=this.getLabelBounds(a),f=d.isWrapping(a.cell),d=d.isLabelClipped(a.cell),g=
- a.view.graph.isHtmlLabel(a.cell)||null!=c&&mxUtils.isNode(c)?mxConstants.DIALECT_STRICTHTML:a.view.graph.dialect,k=a.style[mxConstants.STYLE_OVERFLOW]||"visible";if(b||a.text.value!=c||a.text.isWrapping!=f||a.text.overflow!=k||a.text.isClipping!=d||a.text.scale!=this.getTextScale(a)||a.text.dialect!=g||!a.text.bounds.equals(e))a.text.dialect=g,a.text.value=c,a.text.bounds=e,a.text.scale=this.getTextScale(a),a.text.wrap=f,a.text.clipped=d,a.text.overflow=k,c=a.text.node.style.visibility,this.redrawLabelShape(a.text),
- a.text.node.style.visibility=c}};
- mxCellRenderer.prototype.isTextShapeInvalid=function(a,b){function c(c,e,f){return result="spacingTop"==e||"spacingRight"==e||"spacingBottom"==e||"spacingLeft"==e?parseFloat(b[c])-parseFloat(b.spacing)!=(a.style[e]||f):b[c]!=(a.style[e]||f)}return c("fontStyle",mxConstants.STYLE_FONTSTYLE,mxConstants.DEFAULT_FONTSTYLE)||c("family",mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY)||c("size",mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)||c("color",mxConstants.STYLE_FONTCOLOR,"black")||
- c("align",mxConstants.STYLE_ALIGN,"")||c("valign",mxConstants.STYLE_VERTICAL_ALIGN,"")||c("spacing",mxConstants.STYLE_SPACING,2)||c("spacingTop",mxConstants.STYLE_SPACING_TOP,0)||c("spacingRight",mxConstants.STYLE_SPACING_RIGHT,0)||c("spacingBottom",mxConstants.STYLE_SPACING_BOTTOM,0)||c("spacingLeft",mxConstants.STYLE_SPACING_LEFT,0)||c("horizontal",mxConstants.STYLE_HORIZONTAL,!0)||c("background",mxConstants.STYLE_LABEL_BACKGROUNDCOLOR)||c("border",mxConstants.STYLE_LABEL_BORDERCOLOR)||c("opacity",
- mxConstants.STYLE_TEXT_OPACITY,100)||c("textDirection",mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION)};mxCellRenderer.prototype.redrawLabelShape=function(a){a.redraw()};mxCellRenderer.prototype.getTextScale=function(a){return a.view.scale};
- mxCellRenderer.prototype.getLabelBounds=function(a){var b=a.view.graph,c=a.view.scale,d=b.getModel().isEdge(a.cell),e=new mxRectangle(a.absoluteOffset.x,a.absoluteOffset.y);if(d){var f=a.text.getSpacing();e.x+=f.x*c;e.y+=f.y*c;b=b.getCellGeometry(a.cell);null!=b&&(e.width=Math.max(0,b.width*c),e.height=Math.max(0,b.height*c))}else a.text.isPaintBoundsInverted()&&(b=e.x,e.x=e.y,e.y=b),e.x+=a.x,e.y+=a.y,e.width=Math.max(1,a.width),e.height=Math.max(1,a.height),b=mxUtils.getValue(a.style,mxConstants.STYLE_STROKECOLOR,
- mxConstants.NONE),b!=mxConstants.NONE&&""!=b&&(f=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STROKEWIDTH,1))*c,b=1+Math.floor((f-1)/2),f=Math.floor(f+1),e.x+=b,e.y+=b,e.width-=f,e.height-=f);a.text.isPaintBoundsInverted()&&(b=(a.width-a.height)/2,e.x+=b,e.y-=b,b=e.width,e.width=e.height,e.height=b);null!=a.shape&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),f=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),
- b==mxConstants.ALIGN_CENTER&&f==mxConstants.ALIGN_MIDDLE&&(e=a.shape.getLabelBounds(e)));b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null);null!=b&&(e.width=parseFloat(b)*c);d||this.rotateLabelBounds(a,e);return e};
- mxCellRenderer.prototype.rotateLabelBounds=function(a,b){b.y-=a.text.margin.y*b.height;b.x-=a.text.margin.x*b.width;if(!this.legacySpacing||"fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&"width"!=a.style[mxConstants.STYLE_OVERFLOW]){var c=a.view.scale,d=a.text.getSpacing();b.x+=d.x*c;b.y+=d.y*c;var d=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),e=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),f=mxUtils.getValue(a.style,
- mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.width-(d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxConstants.ALIGN_MIDDLE?a.text.spacingTop*c+a.text.spacingBottom*c:0))}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX(),d=a.getCenterY(),b.x!=c||b.y!=d)&&(e*=Math.PI/180,pt=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPoint(c,d)),b.x=pt.x,b.y=
- pt.y)};
- mxCellRenderer.prototype.redrawCellOverlays=function(a,b){this.createCellOverlays(a);if(null!=a.overlays){var c=mxUtils.mod(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0),90),d=mxUtils.toRadians(c),e=Math.cos(d),f=Math.sin(d);a.overlays.visit(function(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&&null!=a.shape&&0!=c){var m=g.getCenterX(),n=g.getCenterY(),n=mxUtils.getRotatedPoint(new mxPoint(m,n),e,f,new mxPoint(a.getCenterX(),a.getCenterY())),m=n.x,n=n.y;g.x=
- Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!k.bounds.equals(g))k.bounds=g,k.scale=a.view.scale,k.redraw()})}};
- mxCellRenderer.prototype.redrawControl=function(a,b){var c=a.view.graph.getFoldingImage(a);if(null!=a.control&&null!=c){var c=this.getControlBounds(a,c.width,c.height),d=this.legacyControlPosition?mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0):a.shape.getTextRotation(),e=a.view.scale;if(b||a.control.scale!=e||!a.control.bounds.equals(c)||a.control.rotation!=d)a.control.rotation=d,a.control.bounds=c,a.control.scale=e,a.control.redraw()}};
- mxCellRenderer.prototype.getControlBounds=function(a,b,c){if(null!=a.control){var d=a.view.scale,e=a.getCenterX(),f=a.getCenterY();if(!a.view.graph.getModel().isEdge(a.cell)&&(e=a.x+b*d,f=a.y+c*d,null!=a.shape)){var g=a.shape.getShapeRotation();if(this.legacyControlPosition)g=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0);else if(a.shape.isPaintBoundsInverted())var k=(a.width-a.height)/2,e=e+k,f=f-k;0!=g&&(k=mxUtils.toRadians(g),g=Math.cos(k),k=Math.sin(k),f=mxUtils.getRotatedPoint(new mxPoint(e,
- f),g,k,new mxPoint(a.getCenterX(),a.getCenterY())),e=f.x,f=f.y)}return a.view.graph.getModel().isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),Math.round(c*d))}return null};
- mxCellRenderer.prototype.insertStateAfter=function(a,b,c){for(var d=this.getShapesForState(a),e=0;e<d.length;e++)if(null!=d[e]&&null!=d[e].node){var f=d[e].node.parentNode!=a.view.getDrawPane()&&d[e].node.parentNode!=a.view.getOverlayPane(),g=f?c:b;if(null!=g&&g.nextSibling!=d[e].node)null==g.nextSibling?g.parentNode.appendChild(d[e].node):g.parentNode.insertBefore(d[e].node,g.nextSibling);else if(null==g)if(d[e].node.parentNode==a.view.graph.container){for(g=a.view.canvas;null!=g&&g.parentNode!=
- a.view.graph.container;)g=g.parentNode;null!=g&&null!=g.nextSibling?g.nextSibling!=d[e].node&&d[e].node.parentNode.insertBefore(d[e].node,g.nextSibling):d[e].node.parentNode.appendChild(d[e].node)}else null!=d[e].node.parentNode.firstChild&&d[e].node.parentNode.firstChild!=d[e].node&&d[e].node.parentNode.insertBefore(d[e].node,d[e].node.parentNode.firstChild);f?c=d[e].node:b=d[e].node}return[b,c]};mxCellRenderer.prototype.getShapesForState=function(a){return[a.shape,a.text,a.control]};
- mxCellRenderer.prototype.redraw=function(a,b,c){b=this.redrawShape(a,b,c);null==a.shape||null!=c&&!c||(this.redrawLabel(a,b),this.redrawCellOverlays(a,b),this.redrawControl(a,b))};
- mxCellRenderer.prototype.redrawShape=function(a,b,c){var d=a.view.graph.model,e=!1;null!=a.shape&&null!=a.shape.style&&null!=a.style&&a.shape.style[mxConstants.STYLE_SHAPE]!=a.style[mxConstants.STYLE_SHAPE]&&(a.shape.destroy(),a.shape=null);null==a.shape&&null!=a.view.graph.container&&a.cell!=a.view.currentRoot&&(d.isVertex(a.cell)||d.isEdge(a.cell))?(a.shape=this.createShape(a),null!=a.shape&&(a.shape.antiAlias=this.antiAlias,this.createIndicatorShape(a),this.initializeShape(a),this.createCellOverlays(a),
- this.installListeners(a),a.view.graph.selectionCellsHandler.updateHandler(a))):null==a.shape||mxUtils.equalEntries(a.shape.style,a.style)||(a.shape.resetStyles(),this.configureShape(a),a.view.graph.selectionCellsHandler.updateHandler(a),b=!0);null!=a.shape&&(this.createControl(a),b||null==a.shape.bounds||a.shape.scale!=a.view.scale||null==a.absolutePoints&&!a.shape.bounds.equals(a)||null!=a.absolutePoints&&!mxUtils.equalPoints(a.shape.points,a.absolutePoints))&&(null!=a.absolutePoints?(a.shape.points=
- a.absolutePoints.slice(),a.shape.bounds=null):(a.shape.points=null,a.shape.bounds=new mxRectangle(a.x,a.y,a.width,a.height)),a.shape.scale=a.view.scale,null==c||c?a.shape.redraw():a.shape.updateBoundingBox(),e=!0);return e};mxCellRenderer.prototype.destroy=function(a){null!=a.shape&&(null!=a.text&&(a.text.destroy(),a.text=null),null!=a.overlays&&(a.overlays.visit(function(a,c){c.destroy()}),a.overlays=null),null!=a.control&&(a.control.destroy(),a.control=null),a.shape.destroy(),a.shape=null)};
- var mxEdgeStyle={EntityRelation:function(a,b,c,d,e){var f=a.view,g=f.graph;d=mxUtils.getValue(a.style,mxConstants.STYLE_SEGMENT,mxConstants.ENTITY_SEGMENT)*f.scale;var k=a.absolutePoints,l=k[0],m=k[k.length-1],k=!1;if(null!=l)b=new mxCellState,b.x=l.x,b.y=l.y;else if(null!=b){var n=mxUtils.getPortConstraints(b,a,!0,mxConstants.DIRECTION_MASK_NONE);n!=mxConstants.DIRECTION_MASK_NONE&&n!=mxConstants.DIRECTION_MASK_WEST+mxConstants.DIRECTION_MASK_EAST?k=n==mxConstants.DIRECTION_MASK_WEST:(l=g.getCellGeometry(b.cell),
- l.relative?k=.5>=l.x:null!=c&&(k=c.x+c.width<b.x))}else return;l=!0;null!=m?(c=new mxCellState,c.x=m.x,c.y=m.y):null!=c&&(n=mxUtils.getPortConstraints(c,a,!1,mxConstants.DIRECTION_MASK_NONE),n!=mxConstants.DIRECTION_MASK_NONE&&n!=mxConstants.DIRECTION_MASK_WEST+mxConstants.DIRECTION_MASK_EAST?l=n==mxConstants.DIRECTION_MASK_WEST:(a=g.getCellGeometry(c.cell),a.relative?l=.5>=a.x:null!=b&&(l=b.x+b.width<c.x)));null!=b&&null!=c&&(a=k?b.x:b.x+b.width,b=f.getRoutingCenterY(b),g=l?c.x:c.x+c.width,c=f.getRoutingCenterY(c),
- f=new mxPoint(a+(k?-d:d),b),m=new mxPoint(g+(l?-d:d),c),k==l?(d=k?Math.min(a,g)-d:Math.max(a,g)+d,e.push(new mxPoint(d,b)),e.push(new mxPoint(d,c))):(f.x<m.x==k?(d=b+(c-b)/2,e.push(f),e.push(new mxPoint(f.x,d)),e.push(new mxPoint(m.x,d))):e.push(f),e.push(m)))},Loop:function(a,b,c,d,e){c=a.absolutePoints;var f=c[c.length-1];if(null!=c[0]&&null!=f){if(null!=d&&0<d.length)for(b=0;b<d.length;b++)c=d[b],c=a.view.transformControlPoint(a,c),e.push(new mxPoint(c.x,c.y))}else if(null!=b){var f=a.view,g=f.graph;
- c=null!=d&&0<d.length?d[0]:null;null!=c&&(c=f.transformControlPoint(a,c),mxUtils.contains(b,c.x,c.y)&&(c=null));var k=d=0,l=0,m=0,g=mxUtils.getValue(a.style,mxConstants.STYLE_SEGMENT,g.gridSize)*f.scale;a=mxUtils.getValue(a.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_WEST);a==mxConstants.DIRECTION_NORTH||a==mxConstants.DIRECTION_SOUTH?(d=f.getRoutingCenterX(b),k=g):(l=f.getRoutingCenterY(b),m=g);null==c||c.x<b.x||c.x>b.x+b.width?null!=c?(d=c.x,m=Math.max(Math.abs(l-c.y),m)):a==mxConstants.DIRECTION_NORTH?
- l=b.y-2*k:a==mxConstants.DIRECTION_SOUTH?l=b.y+b.height+2*k:d=a==mxConstants.DIRECTION_EAST?b.x-2*m:b.x+b.width+2*m:null!=c&&(d=f.getRoutingCenterX(b),k=Math.max(Math.abs(d-c.x),m),l=c.y,m=0);e.push(new mxPoint(d-k,l-m));e.push(new mxPoint(d+k,l+m))}},ElbowConnector:function(a,b,c,d,e){var f=null!=d&&0<d.length?d[0]:null,g=!1,k=!1;if(null!=b&&null!=c)if(null!=f)var l=Math.min(b.x,c.x),m=Math.max(b.x+b.width,c.x+c.width),k=Math.min(b.y,c.y),n=Math.max(b.y+b.height,c.y+c.height),f=a.view.transformControlPoint(a,
- f),g=f.y<k||f.y>n,k=f.x<l||f.x>m;else l=Math.max(b.x,c.x),m=Math.min(b.x+b.width,c.x+c.width),(g=l==m)||(k=Math.max(b.y,c.y),n=Math.min(b.y+b.height,c.y+c.height),k=k==n);k||!g&&a.style[mxConstants.STYLE_ELBOW]!=mxConstants.ELBOW_VERTICAL?mxEdgeStyle.SideToSide(a,b,c,d,e):mxEdgeStyle.TopToBottom(a,b,c,d,e)},SideToSide:function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null!=k&&(b=new mxCellState,
- b.x=k.x,b.y=k.y);null!=g&&(c=new mxCellState,c.x=g.x,c.y=g.y);null!=b&&null!=c&&(a=Math.max(b.x,c.x),k=Math.min(b.x+b.width,c.x+c.width),a=null!=d?d.x:Math.round(k+(a-k)/2),k=f.getRoutingCenterY(b),f=f.getRoutingCenterY(c),null!=d&&(d.y>=b.y&&d.y<=b.y+b.height&&(k=d.y),d.y>=c.y&&d.y<=c.y+c.height&&(f=d.y)),mxUtils.contains(c,a,k)||mxUtils.contains(b,a,k)||e.push(new mxPoint(a,k)),mxUtils.contains(c,a,f)||mxUtils.contains(b,a,f)||e.push(new mxPoint(a,f)),1==e.length&&(null!=d?mxUtils.contains(c,a,
- d.y)||mxUtils.contains(b,a,d.y)||e.push(new mxPoint(a,d.y)):(f=Math.max(b.y,c.y),e.push(new mxPoint(a,f+(Math.min(b.y+b.height,c.y+c.height)-f)/2)))))},TopToBottom:function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null!=k&&(b=new mxCellState,b.x=k.x,b.y=k.y);null!=g&&(c=new mxCellState,c.x=g.x,c.y=g.y);null!=b&&null!=c&&(k=Math.max(b.y,c.y),g=Math.min(b.y+b.height,c.y+c.height),a=f.getRoutingCenterX(b),
- null!=d&&d.x>=b.x&&d.x<=b.x+b.width&&(a=d.x),k=null!=d?d.y:Math.round(g+(k-g)/2),mxUtils.contains(c,a,k)||mxUtils.contains(b,a,k)||e.push(new mxPoint(a,k)),a=null!=d&&d.x>=c.x&&d.x<=c.x+c.width?d.x:f.getRoutingCenterX(c),mxUtils.contains(c,a,k)||mxUtils.contains(b,a,k)||e.push(new mxPoint(a,k)),1==e.length&&(null!=d&&1==e.length?mxUtils.contains(c,d.x,k)||mxUtils.contains(b,d.x,k)||e.push(new mxPoint(d.x,k)):(f=Math.max(b.x,c.x),e.push(new mxPoint(f+(Math.min(b.x+b.width,c.x+c.width)-f)/2,k)))))},
- SegmentConnector:function(a,b,c,d,e){function f(a){if(null==l||Math.abs(l.x-a.x)>=k||Math.abs(l.y-a.y)>=k)e.push(a),l=a;return l}var g=a.absolutePoints,k=Math.max(1,a.view.scale),l=0<e.length?e[0]:null,m=!0,n=null,p=g[0];null==p&&null!=b?p=new mxPoint(a.view.getRoutingCenterX(b),a.view.getRoutingCenterY(b)):null!=p&&(p=p.clone());p.x=Math.round(p.x);p.y=Math.round(p.y);var q=g.length-1;if(null!=d&&0<d.length){for(var n=[],r=0;r<d.length;r++){var t=a.view.transformControlPoint(a,d[r]);null!=t&&(t.x=
- Math.round(t.x),t.y=Math.round(t.y),n.push(t))}if(0==n.length)return;d=n;null!=p&&null!=d[0]&&(Math.abs(d[0].x-p.x)<k&&(d[0].x=p.x),Math.abs(d[0].y-p.y)<k&&(d[0].y=p.y));t=g[q];null!=t&&null!=d[d.length-1]&&(Math.abs(d[d.length-1].x-t.x)<k&&(d[d.length-1].x=t.x),Math.abs(d[d.length-1].y-t.y)<k&&(d[d.length-1].y=t.y));var n=d[0],u=b,x=g[0],y=!1,A=!1,y=n;null!=x&&(x.x=Math.round(x.x),x.y=Math.round(x.y),u=null);for(r=0;2>r;r++){var z=null!=x&&x.x==y.x,v=null!=x&&x.y==y.y,B=null!=u&&y.y>=u.y&&y.y<=u.y+
- u.height,u=null!=u&&y.x>=u.x&&y.x<=u.x+u.width,y=v||null==x&&B,A=z||null==x&&u;if(0!=r||!(y&&A||z&&v)){if(null!=x&&!v&&!z&&(B||u)){m=B?!1:!0;break}if(A||y){m=y;1==r&&(m=0==d.length%2?y:A);break}}u=c;x=g[q];null!=x&&(x.x=Math.round(x.x),x.y=Math.round(x.y),u=null);y=d[d.length-1];z&&v&&(d=d.slice(1))}m&&(null!=g[0]&&g[0].y!=n.y||null==g[0]&&null!=b&&(n.y<b.y||n.y>b.y+b.height))?f(new mxPoint(p.x,n.y)):!m&&(null!=g[0]&&g[0].x!=n.x||null==g[0]&&null!=b&&(n.x<b.x||n.x>b.x+b.width))&&f(new mxPoint(n.x,
- p.y));m?p.y=n.y:p.x=n.x;for(r=0;r<d.length;r++)m=!m,n=d[r],m?p.y=n.y:p.x=n.x,f(p.clone())}else n=p,m=!0;p=g[q];null==p&&null!=c&&(p=new mxPoint(a.view.getRoutingCenterX(c),a.view.getRoutingCenterY(c)));null!=p&&(p.x=Math.round(p.x),p.y=Math.round(p.y),null!=n&&(m&&(null!=g[q]&&g[q].y!=n.y||null==g[q]&&null!=c&&(n.y<c.y||n.y>c.y+c.height))?f(new mxPoint(p.x,n.y)):!m&&(null!=g[q]&&g[q].x!=n.x||null==g[q]&&null!=c&&(n.x<c.x||n.x>c.x+c.width))&&f(new mxPoint(n.x,p.y))));if(null==g[0]&&null!=b)for(;1<
- e.length&&null!=e[1]&&mxUtils.contains(b,e[1].x,e[1].y);)e.splice(1,1);if(null==g[q]&&null!=c)for(;1<e.length&&null!=e[e.length-1]&&mxUtils.contains(c,e[e.length-1].x,e[e.length-1].y);)e.splice(e.length-1,1);null!=t&&null!=e[e.length-1]&&Math.abs(t.x-e[e.length-1].x)<k&&Math.abs(t.y-e[e.length-1].y)<k&&(e.splice(e.length-1,1),null!=e[e.length-1]&&(Math.abs(e[e.length-1].x-t.x)<k&&(e[e.length-1].x=t.x),Math.abs(e[e.length-1].y-t.y)<k&&(e[e.length-1].y=t.y)))},orthBuffer:10,orthPointsFallback:!0,dirVectors:[[-1,
- 0],[0,-1],[1,0],[0,1],[-1,0],[0,-1],[1,0]],wayPoints1:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],routePatterns:[[[513,2308,2081,2562],[513,1090,514,2184,2114,2561],[513,1090,514,2564,2184,2562],[513,2308,2561,1090,514,2568,2308]],[[514,1057,513,2308,2081,2562],[514,2184,2114,2561],[514,2184,2562,1057,513,2564,2184],[514,1057,513,2568,2308,2561]],[[1090,514,1057,513,2308,2081,2562],[2114,2561],[1090,2562,1057,513,2564,2184],[1090,514,1057,513,2308,2561,2568]],[[2081,
- 2562],[1057,513,1090,514,2184,2114,2561],[1057,513,1090,514,2184,2562,2564],[1057,2561,1090,514,2568,2308]]],inlineRoutePatterns:[[null,[2114,2568],null,null],[null,[514,2081,2114,2568],null,null],[null,[2114,2561],null,null],[[2081,2562],[1057,2114,2568],[2184,2562],null]],vertexSeperations:[],limits:[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]],LEFT_MASK:32,TOP_MASK:64,RIGHT_MASK:128,BOTTOM_MASK:256,LEFT:1,TOP:2,RIGHT:4,BOTTOM:8,SIDE_MASK:480,CENTER_MASK:512,SOURCE_MASK:1024,TARGET_MASK:2048,VERTEX_MASK:3072,
- getJettySize:function(a,b,c,d,e){b=mxUtils.getValue(a.style,e?mxConstants.STYLE_SOURCE_JETTY_SIZE:mxConstants.STYLE_TARGET_JETTY_SIZE,mxUtils.getValue(a.style,mxConstants.STYLE_JETTY_SIZE,mxEdgeStyle.orthBuffer));"auto"==b&&(mxUtils.getValue(a.style,e?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE?(a=mxUtils.getNumber(a.style,e?mxConstants.STYLE_STARTSIZE:mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE),b=Math.max(2,Math.ceil((a+mxEdgeStyle.orthBuffer)/
- mxEdgeStyle.orthBuffer))*mxEdgeStyle.orthBuffer):b=2*mxEdgeStyle.orthBuffer);return b},OrthConnector:function(a,b,c,d,e){var f=a.view.graph,g=null==b?!1:f.getModel().isEdge(b.cell),k=null==c?!1:f.getModel().isEdge(c.cell),f=a.absolutePoints,l=f[0],m=f[f.length-1],n=null!=b?b.x:l.x,p=null!=b?b.y:l.y,q=null!=b?b.width:0,r=null!=b?b.height:0,t=null!=c?c.x:m.x,u=null!=c?c.y:m.y,x=null!=c?c.width:0,y=null!=c?c.height:0,f=a.view.scale*mxEdgeStyle.getJettySize(a,b,c,d,!0),A=a.view.scale*mxEdgeStyle.getJettySize(a,
- b,c,d,!1);null!=b&&c==b&&(f=A=Math.max(f,A));var z=A+f,v=!1;if(null!=l&&null!=m)var v=m.x-l.x,B=m.y-l.y,v=v*v+B*B<z*z;if(v||mxEdgeStyle.orthPointsFallback&&null!=d&&0<d.length||g||k)mxEdgeStyle.SegmentConnector(a,b,c,d,e);else{d=[mxConstants.DIRECTION_MASK_ALL,mxConstants.DIRECTION_MASK_ALL];null!=b&&(d[0]=mxUtils.getPortConstraints(b,a,!0,mxConstants.DIRECTION_MASK_ALL),v=mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION,0),0!=v&&(v=mxUtils.getBoundingBox(new mxRectangle(n,p,q,r),v),n=v.x,p=v.y,
- q=v.width,r=v.height));null!=c&&(d[1]=mxUtils.getPortConstraints(c,a,!1,mxConstants.DIRECTION_MASK_ALL),v=mxUtils.getValue(c.style,mxConstants.STYLE_ROTATION,0),0!=v&&(v=mxUtils.getBoundingBox(new mxRectangle(t,u,x,y),v),t=v.x,u=v.y,x=v.width,y=v.height));n=Math.round(10*n)/10;p=Math.round(10*p)/10;q=Math.round(10*q)/10;r=Math.round(10*r)/10;t=Math.round(10*t)/10;u=Math.round(10*u)/10;x=Math.round(10*x)/10;y=Math.round(10*y)/10;a=[0,0];n=[[n,p,q,r],[t,u,x,y]];A=[f,A];for(v=0;2>v;v++)mxEdgeStyle.limits[v][1]=
- n[v][0]-A[v],mxEdgeStyle.limits[v][2]=n[v][1]-A[v],mxEdgeStyle.limits[v][4]=n[v][0]+n[v][2]+A[v],mxEdgeStyle.limits[v][8]=n[v][1]+n[v][3]+A[v];A=n[0][1]+n[0][3]/2;p=n[1][1]+n[1][3]/2;v=n[0][0]+n[0][2]/2-(n[1][0]+n[1][2]/2);B=A-p;A=0;0>v?A=0>B?2:1:0>=B&&(A=3,0==v&&(A=2));p=null;null!=b&&(p=l);b=[[.5,.5],[.5,.5]];for(v=0;2>v;v++)null!=p&&(b[v][0]=(p.x-n[v][0])/n[v][2],1>=Math.abs(p.x-n[v][0])?a[v]=mxConstants.DIRECTION_MASK_WEST:1>=Math.abs(p.x-n[v][0]-n[v][2])&&(a[v]=mxConstants.DIRECTION_MASK_EAST),
- b[v][1]=(p.y-n[v][1])/n[v][3],1>=Math.abs(p.y-n[v][1])?a[v]=mxConstants.DIRECTION_MASK_NORTH:1>=Math.abs(p.y-n[v][1]-n[v][3])&&(a[v]=mxConstants.DIRECTION_MASK_SOUTH)),p=null,null!=c&&(p=m);v=n[0][1]-(n[1][1]+n[1][3]);m=n[0][0]-(n[1][0]+n[1][2]);p=n[1][1]-(n[0][1]+n[0][3]);q=n[1][0]-(n[0][0]+n[0][2]);mxEdgeStyle.vertexSeperations[1]=Math.max(m-z,0);mxEdgeStyle.vertexSeperations[2]=Math.max(v-z,0);mxEdgeStyle.vertexSeperations[4]=Math.max(p-z,0);mxEdgeStyle.vertexSeperations[3]=Math.max(q-z,0);z=[];
- c=[];l=[];c[0]=m>=q?mxConstants.DIRECTION_MASK_WEST:mxConstants.DIRECTION_MASK_EAST;l[0]=v>=p?mxConstants.DIRECTION_MASK_NORTH:mxConstants.DIRECTION_MASK_SOUTH;c[1]=mxUtils.reversePortConstraints(c[0]);l[1]=mxUtils.reversePortConstraints(l[0]);m=m>=q?m:q;p=v>=p?v:p;q=[[0,0],[0,0]];r=!1;for(v=0;2>v;v++)0==a[v]&&(0==(c[v]&d[v])&&(c[v]=mxUtils.reversePortConstraints(c[v])),0==(l[v]&d[v])&&(l[v]=mxUtils.reversePortConstraints(l[v])),q[v][0]=l[v],q[v][1]=c[v]);0<p&&0<m&&(0<(c[0]&d[0])&&0<(l[1]&d[1])?(q[0][0]=
- c[0],q[0][1]=l[0],q[1][0]=l[1],q[1][1]=c[1],r=!0):0<(l[0]&d[0])&&0<(c[1]&d[1])&&(q[0][0]=l[0],q[0][1]=c[0],q[1][0]=c[1],q[1][1]=l[1],r=!0));0<p&&!r&&(q[0][0]=l[0],q[0][1]=c[0],q[1][0]=l[1],q[1][1]=c[1],r=!0);0<m&&!r&&(q[0][0]=c[0],q[0][1]=l[0],q[1][0]=c[1],q[1][1]=l[1]);for(v=0;2>v;v++)0==a[v]&&(0==(q[v][0]&d[v])&&(q[v][0]=q[v][1]),z[v]=q[v][0]&d[v],z[v]|=(q[v][1]&d[v])<<8,z[v]|=(q[1-v][v]&d[v])<<16,z[v]|=(q[1-v][1-v]&d[v])<<24,0==(z[v]&15)&&(z[v]<<=8),0==(z[v]&3840)&&(z[v]=z[v]&15|z[v]>>8),0==(z[v]&
- 983040)&&(z[v]=z[v]&65535|(z[v]&251658240)>>8),a[v]=z[v]&15,d[v]==mxConstants.DIRECTION_MASK_WEST||d[v]==mxConstants.DIRECTION_MASK_NORTH||d[v]==mxConstants.DIRECTION_MASK_EAST||d[v]==mxConstants.DIRECTION_MASK_SOUTH)&&(a[v]=d[v]);d=a[0]==mxConstants.DIRECTION_MASK_EAST?3:a[0];z=a[1]==mxConstants.DIRECTION_MASK_EAST?3:a[1];d-=A;z-=A;1>d&&(d+=4);1>z&&(z+=4);d=mxEdgeStyle.routePatterns[d-1][z-1];mxEdgeStyle.wayPoints1[0][0]=n[0][0];mxEdgeStyle.wayPoints1[0][1]=n[0][1];switch(a[0]){case mxConstants.DIRECTION_MASK_WEST:mxEdgeStyle.wayPoints1[0][0]-=
- f;mxEdgeStyle.wayPoints1[0][1]+=b[0][1]*n[0][3];break;case mxConstants.DIRECTION_MASK_SOUTH:mxEdgeStyle.wayPoints1[0][0]+=b[0][0]*n[0][2];mxEdgeStyle.wayPoints1[0][1]+=n[0][3]+f;break;case mxConstants.DIRECTION_MASK_EAST:mxEdgeStyle.wayPoints1[0][0]+=n[0][2]+f;mxEdgeStyle.wayPoints1[0][1]+=b[0][1]*n[0][3];break;case mxConstants.DIRECTION_MASK_NORTH:mxEdgeStyle.wayPoints1[0][0]+=b[0][0]*n[0][2],mxEdgeStyle.wayPoints1[0][1]-=f}f=0;c=z=0<(a[0]&(mxConstants.DIRECTION_MASK_EAST|mxConstants.DIRECTION_MASK_WEST))?
- 0:1;for(v=0;v<d.length;v++)l=d[v]&15,r=l==mxConstants.DIRECTION_MASK_EAST?3:l,r+=A,4<r&&(r-=4),m=mxEdgeStyle.dirVectors[r-1],l=0<r%2?0:1,l!=z&&(f++,mxEdgeStyle.wayPoints1[f][0]=mxEdgeStyle.wayPoints1[f-1][0],mxEdgeStyle.wayPoints1[f][1]=mxEdgeStyle.wayPoints1[f-1][1]),t=0<(d[v]&mxEdgeStyle.TARGET_MASK),u=0<(d[v]&mxEdgeStyle.SOURCE_MASK),p=(d[v]&mxEdgeStyle.SIDE_MASK)>>5,p<<=A,15<p&&(p>>=4),q=0<(d[v]&mxEdgeStyle.CENTER_MASK),(u||t)&&9>p?(r=u?0:1,p=q&&0==l?n[r][0]+b[r][0]*n[r][2]:q?n[r][1]+b[r][1]*
- n[r][3]:mxEdgeStyle.limits[r][p],0==l?(p=(p-mxEdgeStyle.wayPoints1[f][0])*m[0],0<p&&(mxEdgeStyle.wayPoints1[f][0]+=m[0]*p)):(p=(p-mxEdgeStyle.wayPoints1[f][1])*m[1],0<p&&(mxEdgeStyle.wayPoints1[f][1]+=m[1]*p))):q&&(mxEdgeStyle.wayPoints1[f][0]+=m[0]*Math.abs(mxEdgeStyle.vertexSeperations[r]/2),mxEdgeStyle.wayPoints1[f][1]+=m[1]*Math.abs(mxEdgeStyle.vertexSeperations[r]/2)),0<f&&mxEdgeStyle.wayPoints1[f][l]==mxEdgeStyle.wayPoints1[f-1][l]?f--:z=l;for(v=0;v<=f&&(v!=f||((0<(a[1]&(mxConstants.DIRECTION_MASK_EAST|
- mxConstants.DIRECTION_MASK_WEST))?0:1)==c?0:1)==(f+1)%2);v++)e.push(new mxPoint(Math.round(mxEdgeStyle.wayPoints1[v][0]),Math.round(mxEdgeStyle.wayPoints1[v][1])));for(a=1;a<e.length;)null==e[a-1]||null==e[a]||e[a-1].x!=e[a].x||e[a-1].y!=e[a].y?a++:e.splice(a,1)}},getRoutePattern:function(a,b,c,d){var e=a[0]==mxConstants.DIRECTION_MASK_EAST?3:a[0];a=a[1]==mxConstants.DIRECTION_MASK_EAST?3:a[1];e-=b;a-=b;1>e&&(e+=4);1>a&&(a+=4);b=routePatterns[e-1][a-1];0!=c&&0!=d||null==inlineRoutePatterns[e-1][a-
- 1]||(b=inlineRoutePatterns[e-1][a-1]);return b}},mxStyleRegistry={values:[],putValue:function(a,b){mxStyleRegistry.values[a]=b},getValue:function(a){return mxStyleRegistry.values[a]},getName:function(a){for(var b in mxStyleRegistry.values)if(mxStyleRegistry.values[b]==a)return b;return null}};mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ELBOW,mxEdgeStyle.ElbowConnector);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ENTITY_RELATION,mxEdgeStyle.EntityRelation);
- mxStyleRegistry.putValue(mxConstants.EDGESTYLE_LOOP,mxEdgeStyle.Loop);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_SIDETOSIDE,mxEdgeStyle.SideToSide);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_TOPTOBOTTOM,mxEdgeStyle.TopToBottom);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ORTHOGONAL,mxEdgeStyle.OrthConnector);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_SEGMENT,mxEdgeStyle.SegmentConnector);mxStyleRegistry.putValue(mxConstants.PERIMETER_ELLIPSE,mxPerimeter.EllipsePerimeter);
- mxStyleRegistry.putValue(mxConstants.PERIMETER_RECTANGLE,mxPerimeter.RectanglePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_RHOMBUS,mxPerimeter.RhombusPerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_TRIANGLE,mxPerimeter.TrianglePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_HEXAGON,mxPerimeter.HexagonPerimeter);function mxGraphView(a){this.graph=a;this.translate=new mxPoint;this.graphBounds=new mxRectangle;this.states=new mxDictionary}mxGraphView.prototype=new mxEventSource;
- mxGraphView.prototype.constructor=mxGraphView;mxGraphView.prototype.EMPTY_POINT=new mxPoint;mxGraphView.prototype.doneResource="none"!=mxClient.language?"done":"";mxGraphView.prototype.updatingDocumentResource="none"!=mxClient.language?"updatingDocument":"";mxGraphView.prototype.allowEval=!1;mxGraphView.prototype.captureDocumentGesture=!0;mxGraphView.prototype.optimizeVmlReflows=!0;mxGraphView.prototype.rendering=!0;mxGraphView.prototype.graph=null;mxGraphView.prototype.currentRoot=null;
- mxGraphView.prototype.graphBounds=null;mxGraphView.prototype.scale=1;mxGraphView.prototype.translate=null;mxGraphView.prototype.states=null;mxGraphView.prototype.updateStyle=!1;mxGraphView.prototype.lastNode=null;mxGraphView.prototype.lastHtmlNode=null;mxGraphView.prototype.lastForegroundNode=null;mxGraphView.prototype.lastForegroundHtmlNode=null;mxGraphView.prototype.getGraphBounds=function(){return this.graphBounds};mxGraphView.prototype.setGraphBounds=function(a){this.graphBounds=a};
- mxGraphView.prototype.getBounds=function(a){var b=null;if(null!=a&&0<a.length)for(var c=this.graph.getModel(),d=0;d<a.length;d++)if(c.isVertex(a[d])||c.isEdge(a[d])){var e=this.getState(a[d]);null!=e&&(null==b?b=mxRectangle.fromRectangle(e):b.add(e))}return b};mxGraphView.prototype.setCurrentRoot=function(a){if(this.currentRoot!=a){var b=new mxCurrentRootChange(this,a);b.execute();var c=new mxUndoableEdit(this,!1);c.add(b);this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",c));this.graph.sizeDidChange()}return a};
- mxGraphView.prototype.scaleAndTranslate=function(a,b,c){var d=this.scale,e=new mxPoint(this.translate.x,this.translate.y);if(this.scale!=a||this.translate.x!=b||this.translate.y!=c)this.scale=a,this.translate.x=b,this.translate.y=c,this.isEventsEnabled()&&(this.revalidate(),this.graph.sizeDidChange());this.fireEvent(new mxEventObject(mxEvent.SCALE_AND_TRANSLATE,"scale",a,"previousScale",d,"translate",this.translate,"previousTranslate",e))};mxGraphView.prototype.getScale=function(){return this.scale};
- mxGraphView.prototype.setScale=function(a){var b=this.scale;this.scale!=a&&(this.scale=a,this.isEventsEnabled()&&(this.revalidate(),this.graph.sizeDidChange()));this.fireEvent(new mxEventObject(mxEvent.SCALE,"scale",a,"previousScale",b))};mxGraphView.prototype.getTranslate=function(){return this.translate};
- mxGraphView.prototype.setTranslate=function(a,b){var c=new mxPoint(this.translate.x,this.translate.y);if(this.translate.x!=a||this.translate.y!=b)this.translate.x=a,this.translate.y=b,this.isEventsEnabled()&&(this.revalidate(),this.graph.sizeDidChange());this.fireEvent(new mxEventObject(mxEvent.TRANSLATE,"translate",this.translate,"previousTranslate",c))};mxGraphView.prototype.refresh=function(){null!=this.currentRoot&&this.clear();this.revalidate()};
- mxGraphView.prototype.revalidate=function(){this.invalidate();this.validate()};mxGraphView.prototype.clear=function(a,b,c){var d=this.graph.getModel();a=a||d.getRoot();b=null!=b?b:!1;c=null!=c?c:!0;this.removeState(a);if(c&&(b||a!=this.currentRoot)){c=d.getChildCount(a);for(var e=0;e<c;e++)this.clear(d.getChildAt(a,e),b)}else this.invalidate(a)};
- mxGraphView.prototype.invalidate=function(a,b,c){var d=this.graph.getModel();a=a||d.getRoot();b=null!=b?b:!0;c=null!=c?c:!0;var e=this.getState(a);null!=e&&(e.invalid=!0);if(!a.invalidating){a.invalidating=!0;if(b)for(var f=d.getChildCount(a),e=0;e<f;e++){var g=d.getChildAt(a,e);this.invalidate(g,b,c)}if(c)for(f=d.getEdgeCount(a),e=0;e<f;e++)this.invalidate(d.getEdgeAt(a,e),b,c);delete a.invalidating}};
- mxGraphView.prototype.validate=function(a){var b=mxLog.enter("mxGraphView.validate");window.status=mxResources.get(this.updatingDocumentResource)||this.updatingDocumentResource;this.resetValidationState();var c=null;this.optimizeVmlReflows&&null!=this.canvas&&null==this.textDiv&&(8==document.documentMode&&!mxClient.IS_EM||mxClient.IS_QUIRKS)&&(this.placeholder=document.createElement("div"),this.placeholder.style.position="absolute",this.placeholder.style.width=this.canvas.clientWidth+"px",this.placeholder.style.height=
- this.canvas.clientHeight+"px",this.canvas.parentNode.appendChild(this.placeholder),c=this.drawPane.style.display,this.canvas.style.display="none",this.textDiv=document.createElement("div"),this.textDiv.style.position="absolute",this.textDiv.style.whiteSpace="nowrap",this.textDiv.style.visibility="hidden",this.textDiv.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",this.textDiv.style.zoom="1",document.body.appendChild(this.textDiv));a=this.getBoundingBox(this.validateCellState(this.validateCell(a||
- (null!=this.currentRoot?this.currentRoot:this.graph.getModel().getRoot()))));this.setGraphBounds(null!=a?a:this.getEmptyBounds());this.validateBackground();null!=c&&(this.canvas.style.display=c,this.textDiv.parentNode.removeChild(this.textDiv),null!=this.placeholder&&this.placeholder.parentNode.removeChild(this.placeholder),this.textDiv=null);this.resetValidationState();window.status=mxResources.get(this.doneResource)||this.doneResource;mxLog.leave("mxGraphView.validate",b)};
- mxGraphView.prototype.getEmptyBounds=function(){return new mxRectangle(this.translate.x*this.scale,this.translate.y*this.scale)};
- mxGraphView.prototype.getBoundingBox=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&(null!=a.shape&&null!=a.shape.boundingBox&&(c=a.shape.boundingBox.clone()),null!=a.text&&null!=a.text.boundingBox&&(null!=c?c.add(a.text.boundingBox):c=a.text.boundingBox.clone()),b))for(var d=this.graph.getModel(),e=d.getChildCount(a.cell),f=0;f<e;f++){var g=this.getBoundingBox(this.getState(d.getChildAt(a.cell,f)));null!=g&&(null==c?c=g:c.add(g))}return c};
- mxGraphView.prototype.createBackgroundPageShape=function(a){return new mxRectangleShape(a,"white","black")};mxGraphView.prototype.validateBackground=function(){this.validateBackgroundImage();this.validateBackgroundPage()};
- mxGraphView.prototype.validateBackgroundImage=function(){var a=this.graph.getBackgroundImage();if(null!=a){if(null==this.backgroundImage||this.backgroundImage.image!=a.src){null!=this.backgroundImage&&this.backgroundImage.destroy();var b=new mxRectangle(0,0,1,1);this.backgroundImage=new mxImageShape(b,a.src);this.backgroundImage.dialect=this.graph.dialect;this.backgroundImage.init(this.backgroundPane);this.backgroundImage.redraw();8!=document.documentMode||mxClient.IS_EM||mxEvent.addGestureListeners(this.backgroundImage.node,
- mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a))}),mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a))}),mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a))}))}this.redrawBackgroundImage(this.backgroundImage,a)}else null!=this.backgroundImage&&(this.backgroundImage.destroy(),this.backgroundImage=null)};
- mxGraphView.prototype.validateBackgroundPage=function(){if(this.graph.pageVisible){var a=this.getBackgroundPageBounds();null==this.backgroundPageShape?(this.backgroundPageShape=this.createBackgroundPageShape(a),this.backgroundPageShape.scale=this.scale,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=this.graph.dialect,this.backgroundPageShape.init(this.backgroundPane),this.backgroundPageShape.redraw(),this.graph.nativeDblClickEnabled&&mxEvent.addListener(this.backgroundPageShape.node,
- "dblclick",mxUtils.bind(this,function(a){this.graph.dblClick(a)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a))}),mxUtils.bind(this,function(a){null!=this.graph.tooltipHandler&&this.graph.tooltipHandler.isHideOnHover()&&this.graph.tooltipHandler.hide();this.graph.isMouseDown&&!mxEvent.isConsumed(a)&&this.graph.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a))}),mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_UP,
- new mxMouseEvent(a))}))):(this.backgroundPageShape.scale=this.scale,this.backgroundPageShape.bounds=a,this.backgroundPageShape.redraw())}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null)};mxGraphView.prototype.getBackgroundPageBounds=function(){var a=this.graph.pageFormat,b=this.scale*this.graph.pageScale;return new mxRectangle(this.scale*this.translate.x,this.scale*this.translate.y,a.width*b,a.height*b)};
- mxGraphView.prototype.redrawBackgroundImage=function(a,b){a.scale=this.scale;a.bounds.x=this.scale*this.translate.x;a.bounds.y=this.scale*this.translate.y;a.bounds.width=this.scale*b.width;a.bounds.height=this.scale*b.height;a.redraw()};
- mxGraphView.prototype.validateCell=function(a,b){if(null!=a)if(b=(null!=b?b:!0)&&this.graph.isCellVisible(a),null==this.getState(a,b)||b)for(var c=this.graph.getModel(),d=c.getChildCount(a),e=0;e<d;e++)this.validateCell(c.getChildAt(a,e),b&&(!this.isCellCollapsed(a)||a==this.currentRoot));else this.removeState(a);return a};
- mxGraphView.prototype.validateCellState=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&(c=this.getState(a),null!=c)){var d=this.graph.getModel();c.invalid&&(c.invalid=!1,null==c.style&&(c.style=this.graph.getCellStyle(c.cell)),a!=this.currentRoot&&this.validateCellState(d.getParent(a),!1),c.setVisibleTerminalState(this.validateCellState(this.getVisibleTerminal(a,!0),!1),!0),c.setVisibleTerminalState(this.validateCellState(this.getVisibleTerminal(a,!1),!1),!1),this.updateCellState(c),a==this.currentRoot||
- c.invalid||this.graph.cellRenderer.redraw(c,!1,this.isRendering()),c.updateCachedBounds());if(b&&!c.invalid){null!=c.shape&&this.stateValidated(c);for(var e=d.getChildCount(a),f=0;f<e;f++)this.validateCellState(d.getChildAt(a,f))}}return c};
- mxGraphView.prototype.updateCellState=function(a){a.absoluteOffset.x=0;a.absoluteOffset.y=0;a.origin.x=0;a.origin.y=0;a.length=0;if(a.cell!=this.currentRoot){var b=this.graph.getModel(),c=this.getState(b.getParent(a.cell));null!=c&&c.cell!=this.currentRoot&&(a.origin.x+=c.origin.x,a.origin.y+=c.origin.y);var d=this.graph.getChildOffsetForCell(a.cell);null!=d&&(a.origin.x+=d.x,a.origin.y+=d.y);var e=this.graph.getCellGeometry(a.cell);null!=e&&(b.isEdge(a.cell)||(d=e.offset||this.EMPTY_POINT,e.relative&&
- null!=c?b.isEdge(c.cell)?(d=this.getPoint(c,e),null!=d&&(a.origin.x+=d.x/this.scale-c.origin.x-this.translate.x,a.origin.y+=d.y/this.scale-c.origin.y-this.translate.y)):(a.origin.x+=e.x*c.width/this.scale+d.x,a.origin.y+=e.y*c.height/this.scale+d.y):(a.absoluteOffset.x=this.scale*d.x,a.absoluteOffset.y=this.scale*d.y,a.origin.x+=e.x,a.origin.y+=e.y)),a.x=this.scale*(this.translate.x+a.origin.x),a.y=this.scale*(this.translate.y+a.origin.y),a.width=this.scale*e.width,a.unscaledWidth=e.width,a.height=
- this.scale*e.height,b.isVertex(a.cell)&&this.updateVertexState(a,e),b.isEdge(a.cell)&&this.updateEdgeState(a,e))}};mxGraphView.prototype.isCellCollapsed=function(a){return this.graph.isCellCollapsed(a)};
- mxGraphView.prototype.updateVertexState=function(a,b){var c=this.graph.getModel(),d=this.getState(c.getParent(a.cell));if(b.relative&&null!=d&&!c.isEdge(d.cell)){var e=mxUtils.toRadians(d.style[mxConstants.STYLE_ROTATION]||"0");if(0!=e){var c=Math.cos(e),e=Math.sin(e),f=new mxPoint(a.getCenterX(),a.getCenterY()),d=new mxPoint(d.getCenterX(),d.getCenterY()),d=mxUtils.getRotatedPoint(f,c,e,d);a.x=d.x-a.width/2;a.y=d.y-a.height/2}}this.updateVertexLabelOffset(a)};
- mxGraphView.prototype.updateEdgeState=function(a,b){var c=a.getVisibleTerminalState(!0),d=a.getVisibleTerminalState(!1);null!=this.graph.model.getTerminal(a.cell,!0)&&null==c||null==c&&null==b.getTerminalPoint(!0)||null!=this.graph.model.getTerminal(a.cell,!1)&&null==d||null==d&&null==b.getTerminalPoint(!1)?this.clear(a.cell,!0):(this.updateFixedTerminalPoints(a,c,d),this.updatePoints(a,b.points,c,d),this.updateFloatingTerminalPoints(a,c,d),c=a.absolutePoints,a.cell!=this.currentRoot&&(null==c||2>
- c.length||null==c[0]||null==c[c.length-1])?this.clear(a.cell,!0):(this.updateEdgeBounds(a),this.updateEdgeLabelOffset(a)))};
- mxGraphView.prototype.updateVertexLabelOffset=function(a){var b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);if(b==mxConstants.ALIGN_LEFT)b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null),b=null!=b?b*this.scale:a.width,a.absoluteOffset.x-=b;else if(b==mxConstants.ALIGN_RIGHT)a.absoluteOffset.x+=a.width;else if(b==mxConstants.ALIGN_CENTER&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null),null!=b)){var c=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,
- mxConstants.ALIGN_CENTER),d=0;c==mxConstants.ALIGN_CENTER?d=.5:c==mxConstants.ALIGN_RIGHT&&(d=1);0!=d&&(a.absoluteOffset.x-=(b*this.scale-a.width)*d)}b=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);b==mxConstants.ALIGN_TOP?a.absoluteOffset.y-=a.height:b==mxConstants.ALIGN_BOTTOM&&(a.absoluteOffset.y+=a.height)};mxGraphView.prototype.resetValidationState=function(){this.lastForegroundHtmlNode=this.lastForegroundNode=this.lastHtmlNode=this.lastNode=null};
- mxGraphView.prototype.stateValidated=function(a){var b=this.graph.getModel().isEdge(a.cell)&&this.graph.keepEdgesInForeground||this.graph.getModel().isVertex(a.cell)&&this.graph.keepEdgesInBackground;a=this.graph.cellRenderer.insertStateAfter(a,b?this.lastForegroundNode||this.lastNode:this.lastNode,b?this.lastForegroundHtmlNode||this.lastHtmlNode:this.lastHtmlNode);b?(this.lastForegroundHtmlNode=a[1],this.lastForegroundNode=a[0]):(this.lastHtmlNode=a[1],this.lastNode=a[0])};
- mxGraphView.prototype.updateFixedTerminalPoints=function(a,b,c){this.updateFixedTerminalPoint(a,b,!0,this.graph.getConnectionConstraint(a,b,!0));this.updateFixedTerminalPoint(a,c,!1,this.graph.getConnectionConstraint(a,c,!1))};mxGraphView.prototype.updateFixedTerminalPoint=function(a,b,c,d){a.setAbsoluteTerminalPoint(this.getFixedTerminalPoint(a,b,c,d),c)};
- mxGraphView.prototype.getFixedTerminalPoint=function(a,b,c,d){var e=null;null!=d&&(e=this.graph.getConnectionPoint(b,d));if(null==e&&null==b){b=this.scale;d=this.translate;var f=a.origin,e=this.graph.getCellGeometry(a.cell).getTerminalPoint(c);null!=e&&(e=new mxPoint(b*(d.x+e.x+f.x),b*(d.y+e.y+f.y)))}return e};
- mxGraphView.prototype.updateBoundsFromStencil=function(a){var b=null;if(null!=a&&null!=a.shape&&null!=a.shape.stencil&&"fixed"==a.shape.stencil.aspect){var b=mxRectangle.fromRectangle(a),c=a.shape.stencil.computeAspect(a.style,a.x,a.y,a.width,a.height);a.setRect(c.x,c.y,a.shape.stencil.w0*c.width,a.shape.stencil.h0*c.height)}return b};
- mxGraphView.prototype.updatePoints=function(a,b,c,d){if(null!=a){var e=[];e.push(a.absolutePoints[0]);var f=this.getEdgeStyle(a,b,c,d);if(null!=f){c=this.getTerminalPort(a,c,!0);d=this.getTerminalPort(a,d,!1);var g=this.updateBoundsFromStencil(c),k=this.updateBoundsFromStencil(d);f(a,c,d,b,e);null!=g&&c.setRect(g.x,g.y,g.width,g.height);null!=k&&d.setRect(k.x,k.y,k.width,k.height)}else if(null!=b)for(f=0;f<b.length;f++)null!=b[f]&&(c=mxUtils.clone(b[f]),e.push(this.transformControlPoint(a,c)));b=
- a.absolutePoints;e.push(b[b.length-1]);a.absolutePoints=e}};mxGraphView.prototype.transformControlPoint=function(a,b){if(null!=a&&null!=b){var c=a.origin;return new mxPoint(this.scale*(b.x+this.translate.x+c.x),this.scale*(b.y+this.translate.y+c.y))}return null};
- mxGraphView.prototype.isLoopStyleEnabled=function(a,b,c,d){b=this.graph.getConnectionConstraint(a,c,!0);var e=this.graph.getConnectionConstraint(a,d,!1);return mxUtils.getValue(a.style,mxConstants.STYLE_ORTHOGONAL_LOOP,!1)&&(null!=b&&null!=b.point||null!=e&&null!=e.point)?!1:null!=c&&c==d};
- mxGraphView.prototype.getEdgeStyle=function(a,b,c,d){a=this.isLoopStyleEnabled(a,b,c,d)?mxUtils.getValue(a.style,mxConstants.STYLE_LOOP,this.graph.defaultLoopStyle):mxUtils.getValue(a.style,mxConstants.STYLE_NOEDGESTYLE,!1)?null:a.style[mxConstants.STYLE_EDGE];"string"==typeof a&&(b=mxStyleRegistry.getValue(a),null==b&&this.isAllowEval()&&(b=mxUtils.eval(a)),a=b);return"function"==typeof a?a:null};
- mxGraphView.prototype.updateFloatingTerminalPoints=function(a,b,c){var d=a.absolutePoints,e=d[0];null==d[d.length-1]&&null!=c&&this.updateFloatingTerminalPoint(a,c,b,!1);null==e&&null!=b&&this.updateFloatingTerminalPoint(a,b,c,!0)};mxGraphView.prototype.updateFloatingTerminalPoint=function(a,b,c,d){a.setAbsoluteTerminalPoint(this.getFloatingTerminalPoint(a,b,c,d),d)};
- mxGraphView.prototype.getFloatingTerminalPoint=function(a,b,c,d){b=this.getTerminalPort(a,b,d);var e=this.getNextPoint(a,c,d),f=this.graph.isOrthogonal(a);c=mxUtils.toRadians(Number(b.style[mxConstants.STYLE_ROTATION]||"0"));var g=new mxPoint(b.getCenterX(),b.getCenterY());if(0!=c)var k=Math.cos(-c),l=Math.sin(-c),e=mxUtils.getRotatedPoint(e,k,l,g);k=parseFloat(a.style[mxConstants.STYLE_PERIMETER_SPACING]||0);k+=parseFloat(a.style[d?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||
- 0);a=this.getPerimeterPoint(b,e,0==c&&f,k);0!=c&&(k=Math.cos(c),l=Math.sin(c),a=mxUtils.getRotatedPoint(a,k,l,g));return a};mxGraphView.prototype.getTerminalPort=function(a,b,c){a=mxUtils.getValue(a.style,c?mxConstants.STYLE_SOURCE_PORT:mxConstants.STYLE_TARGET_PORT);null!=a&&(a=this.getState(this.graph.getModel().getCell(a)),null!=a&&(b=a));return b};
- mxGraphView.prototype.getPerimeterPoint=function(a,b,c,d){var e=null;if(null!=a){var f=this.getPerimeterFunction(a);if(null!=f&&null!=b&&(d=this.getPerimeterBounds(a,d),0<d.width||0<d.height)){var e=new mxPoint(b.x,b.y),g=b=!1;this.graph.model.isVertex(a.cell)&&(b=1==mxUtils.getValue(a.style,mxConstants.STYLE_FLIPH,0),g=1==mxUtils.getValue(a.style,mxConstants.STYLE_FLIPV,0),null!=a.shape&&null!=a.shape.stencil&&(b=1==mxUtils.getValue(a.style,"stencilFlipH",0)||b,g=1==mxUtils.getValue(a.style,"stencilFlipV",
- 0)||g),b&&(e.x=2*d.getCenterX()-e.x),g&&(e.y=2*d.getCenterY()-e.y));e=f(d,a,e,c);b&&(e.x=2*d.getCenterX()-e.x);g&&(e.y=2*d.getCenterY()-e.y)}null==e&&(e=this.getPoint(a))}return e};mxGraphView.prototype.getRoutingCenterX=function(a){var b=null!=a.style?parseFloat(a.style[mxConstants.STYLE_ROUTING_CENTER_X])||0:0;return a.getCenterX()+b*a.width};
- mxGraphView.prototype.getRoutingCenterY=function(a){var b=null!=a.style?parseFloat(a.style[mxConstants.STYLE_ROUTING_CENTER_Y])||0:0;return a.getCenterY()+b*a.height};mxGraphView.prototype.getPerimeterBounds=function(a,b){b=null!=b?b:0;null!=a&&(b+=parseFloat(a.style[mxConstants.STYLE_PERIMETER_SPACING]||0));return a.getPerimeterBounds(b*this.scale)};
- mxGraphView.prototype.getPerimeterFunction=function(a){a=a.style[mxConstants.STYLE_PERIMETER];if("string"==typeof a){var b=mxStyleRegistry.getValue(a);null==b&&this.isAllowEval()&&(b=mxUtils.eval(a));a=b}return"function"==typeof a?a:null};mxGraphView.prototype.getNextPoint=function(a,b,c){a=a.absolutePoints;var d=null;null!=a&&2<=a.length&&(d=a.length,d=a[c?Math.min(1,d-1):Math.max(0,d-2)]);null==d&&null!=b&&(d=new mxPoint(b.getCenterX(),b.getCenterY()));return d};
- mxGraphView.prototype.getVisibleTerminal=function(a,b){for(var c=this.graph.getModel(),d=c.getTerminal(a,b),e=d;null!=d&&d!=this.currentRoot;){if(!this.graph.isCellVisible(e)||this.isCellCollapsed(d))e=d;d=c.getParent(d)}c.getParent(e)==c.getRoot()&&(e=null);return e};
- mxGraphView.prototype.updateEdgeBounds=function(a){var b=a.absolutePoints,c=b[0],d=b[b.length-1];if(c.x!=d.x||c.y!=d.y){var e=d.x-c.x,f=d.y-c.y;a.terminalDistance=Math.sqrt(e*e+f*f)}else a.terminalDistance=0;var d=0,g=[],f=c;if(null!=f){for(var c=f.x,k=f.y,l=c,m=k,n=1;n<b.length;n++){var p=b[n];null!=p&&(e=f.x-p.x,f=f.y-p.y,e=Math.sqrt(e*e+f*f),g.push(e),d+=e,f=p,c=Math.min(f.x,c),k=Math.min(f.y,k),l=Math.max(f.x,l),m=Math.max(f.y,m))}a.length=d;a.segments=g;a.x=c;a.y=k;a.width=Math.max(1,l-c);a.height=
- Math.max(1,m-k)}};
- mxGraphView.prototype.getPoint=function(a,b){var c=a.getCenterX(),d=a.getCenterY();if(null==a.segments||null!=b&&!b.relative)null!=b&&(m=b.offset,null!=m&&(c+=m.x,d+=m.y));else{for(var e=a.absolutePoints.length,f=Math.round(((null!=b?b.x/2:0)+.5)*a.length),g=a.segments[0],k=0,l=1;f>=Math.round(k+g)&&l<e-1;)k+=g,g=a.segments[l++];e=0==g?0:(f-k)/g;f=a.absolutePoints[l-1];l=a.absolutePoints[l];if(null!=f&&null!=l){k=c=d=0;if(null!=b){var d=b.y,m=b.offset;null!=m&&(c=m.x,k=m.y)}m=l.x-f.x;l=l.y-f.y;c=
- f.x+m*e+((0==g?0:l/g)*d+c)*this.scale;d=f.y+l*e-((0==g?0:m/g)*d-k)*this.scale}}return new mxPoint(c,d)};
- mxGraphView.prototype.getRelativePoint=function(a,b,c){var d=this.graph.getModel().getGeometry(a.cell);if(null!=d){var e=a.absolutePoints.length;if(d.relative&&1<e){for(var d=a.length,f=a.segments,g=a.absolutePoints[0],k=a.absolutePoints[1],l=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c),m=0,n=0,p=0,q=2;q<e;q++)n+=f[q-2],k=a.absolutePoints[q],g=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c),g<=l&&(l=g,m=q-1,p=n),g=k;e=f[m];g=a.absolutePoints[m];k=a.absolutePoints[m+1];l=k.x;f=k.y;a=g.x-l;m=g.y-f;f=(a-(b-l))*
- a+(m-(c-f))*m;a=Math.sqrt(0>=f?0:f*f/(a*a+m*m));a>e&&(a=e);e=Math.sqrt(mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c));-1==mxUtils.relativeCcw(g.x,g.y,k.x,k.y,b,c)&&(e=-e);return new mxPoint((d/2-p-a)/d*-2,e/this.scale)}}return new mxPoint};
- mxGraphView.prototype.updateEdgeLabelOffset=function(a){var b=a.absolutePoints;a.absoluteOffset.x=a.getCenterX();a.absoluteOffset.y=a.getCenterY();if(null!=b&&0<b.length&&null!=a.segments){var c=this.graph.getCellGeometry(a.cell);if(c.relative){var d=this.getPoint(a,c);null!=d&&(a.absoluteOffset=d)}else{var d=b[0],e=b[b.length-1];if(null!=d&&null!=e){var b=e.x-d.x,f=e.y-d.y,g=e=0,c=c.offset;null!=c&&(e=c.x,g=c.y);c=d.y+f/2+g*this.scale;a.absoluteOffset.x=d.x+b/2+e*this.scale;a.absoluteOffset.y=c}}}};
- mxGraphView.prototype.getState=function(a,b){b=b||!1;var c=null;null!=a&&(c=this.states.get(a),b&&(null==c||this.updateStyle)&&this.graph.isCellVisible(a)&&(null==c?(c=this.createState(a),this.states.put(a,c)):c.style=this.graph.getCellStyle(a)));return c};mxGraphView.prototype.isRendering=function(){return this.rendering};mxGraphView.prototype.setRendering=function(a){this.rendering=a};mxGraphView.prototype.isAllowEval=function(){return this.allowEval};
- mxGraphView.prototype.setAllowEval=function(a){this.allowEval=a};mxGraphView.prototype.getStates=function(){return this.states};mxGraphView.prototype.setStates=function(a){this.states=a};mxGraphView.prototype.getCellStates=function(a){if(null==a)return this.states;for(var b=[],c=0;c<a.length;c++){var d=this.getState(a[c]);null!=d&&b.push(d)}return b};
- mxGraphView.prototype.removeState=function(a){var b=null;null!=a&&(b=this.states.remove(a),null!=b&&(this.graph.cellRenderer.destroy(b),b.invalid=!0,b.destroy()));return b};mxGraphView.prototype.createState=function(a){return new mxCellState(this,a,this.graph.getCellStyle(a))};mxGraphView.prototype.getCanvas=function(){return this.canvas};mxGraphView.prototype.getBackgroundPane=function(){return this.backgroundPane};mxGraphView.prototype.getDrawPane=function(){return this.drawPane};
- mxGraphView.prototype.getOverlayPane=function(){return this.overlayPane};mxGraphView.prototype.getDecoratorPane=function(){return this.decoratorPane};mxGraphView.prototype.isContainerEvent=function(a){a=mxEvent.getSource(a);return a==this.graph.container||a.parentNode==this.backgroundPane||null!=a.parentNode&&a.parentNode.parentNode==this.backgroundPane||a==this.canvas.parentNode||a==this.canvas||a==this.backgroundPane||a==this.drawPane||a==this.overlayPane||a==this.decoratorPane};
- mxGraphView.prototype.isScrollEvent=function(a){var b=mxUtils.getOffset(this.graph.container);a=new mxPoint(a.clientX-b.x,a.clientY-b.y);var b=this.graph.container.offsetWidth,c=this.graph.container.clientWidth;if(b>c&&a.x>c+2&&a.x<=b)return!0;b=this.graph.container.offsetHeight;c=this.graph.container.clientHeight;return b>c&&a.y>c+2&&a.y<=b?!0:!1};
- mxGraphView.prototype.init=function(){this.installListeners();var a=this.graph;a.dialect==mxConstants.DIALECT_SVG?this.createSvg():a.dialect==mxConstants.DIALECT_VML?this.createVml():this.createHtml()};
- mxGraphView.prototype.installListeners=function(){var a=this.graph,b=a.container;if(null!=b){mxClient.IS_TOUCH&&(mxEvent.addListener(b,"gesturestart",mxUtils.bind(this,function(b){a.fireGestureEvent(b);mxEvent.consume(b)})),mxEvent.addListener(b,"gesturechange",mxUtils.bind(this,function(b){a.fireGestureEvent(b);mxEvent.consume(b)})),mxEvent.addListener(b,"gestureend",mxUtils.bind(this,function(b){a.fireGestureEvent(b);mxEvent.consume(b)})));mxEvent.addGestureListeners(b,mxUtils.bind(this,function(b){!this.isContainerEvent(b)||
- (mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_GC||mxClient.IS_OP||mxClient.IS_SF)&&this.isScrollEvent(b)||a.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){this.isContainerEvent(b)&&a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){this.isContainerEvent(b)&&a.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b))}));mxEvent.addListener(b,"dblclick",mxUtils.bind(this,function(b){this.isContainerEvent(b)&&a.dblClick(b)}));
- var c=function(c){var d=null;mxClient.IS_TOUCH&&(d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),c=mxUtils.convertPoint(b,d,c),d=a.view.getState(a.getCellAt(c.x,c.y)));return d};a.addMouseListener({mouseDown:function(b,c){a.popupMenuHandler.hideMenu()},mouseMove:function(){},mouseUp:function(){}});this.moveHandler=mxUtils.bind(this,function(b){null!=a.tooltipHandler&&a.tooltipHandler.isHideOnHover()&&a.tooltipHandler.hide();this.captureDocumentGesture&&a.isMouseDown&&null!=a.container&&!this.isContainerEvent(b)&&
- "none"!=a.container.style.display&&"hidden"!=a.container.style.visibility&&!mxEvent.isConsumed(b)&&a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,c(b)))});this.endHandler=mxUtils.bind(this,function(b){this.captureDocumentGesture&&a.isMouseDown&&null!=a.container&&!this.isContainerEvent(b)&&"none"!=a.container.style.display&&"hidden"!=a.container.style.visibility&&a.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b))});mxEvent.addGestureListeners(document,null,this.moveHandler,this.endHandler)}};
- mxGraphView.prototype.createHtml=function(){var a=this.graph.container;null!=a&&(this.canvas=this.createHtmlPane("100%","100%"),this.canvas.style.overflow="hidden",this.backgroundPane=this.createHtmlPane("1px","1px"),this.drawPane=this.createHtmlPane("1px","1px"),this.overlayPane=this.createHtmlPane("1px","1px"),this.decoratorPane=this.createHtmlPane("1px","1px"),this.canvas.appendChild(this.backgroundPane),this.canvas.appendChild(this.drawPane),this.canvas.appendChild(this.overlayPane),this.canvas.appendChild(this.decoratorPane),
- a.appendChild(this.canvas),this.updateContainerStyle(a),mxClient.IS_QUIRKS&&(a=mxUtils.bind(this,function(a){a=this.getGraphBounds();this.updateHtmlCanvasSize(a.x+a.width+this.graph.border,a.y+a.height+this.graph.border)}),mxEvent.addListener(window,"resize",a)))};
- mxGraphView.prototype.updateHtmlCanvasSize=function(a,b){if(null!=this.graph.container){var c=this.graph.container.offsetHeight;this.canvas.style.width=this.graph.container.offsetWidth<a?a+"px":"100%";this.canvas.style.height=c<b?b+"px":"100%"}};mxGraphView.prototype.createHtmlPane=function(a,b){var c=document.createElement("DIV");null!=a&&null!=b?(c.style.position="absolute",c.style.left="0px",c.style.top="0px",c.style.width=a,c.style.height=b):c.style.position="relative";return c};
- mxGraphView.prototype.createVml=function(){var a=this.graph.container;if(null!=a){var b=a.offsetWidth,c=a.offsetHeight;this.canvas=this.createVmlPane(b,c);this.canvas.style.overflow="hidden";this.backgroundPane=this.createVmlPane(b,c);this.drawPane=this.createVmlPane(b,c);this.overlayPane=this.createVmlPane(b,c);this.decoratorPane=this.createVmlPane(b,c);this.canvas.appendChild(this.backgroundPane);this.canvas.appendChild(this.drawPane);this.canvas.appendChild(this.overlayPane);this.canvas.appendChild(this.decoratorPane);
- a.appendChild(this.canvas)}};mxGraphView.prototype.createVmlPane=function(a,b){var c=document.createElement(mxClient.VML_PREFIX+":group");c.style.position="absolute";c.style.left="0px";c.style.top="0px";c.style.width=a+"px";c.style.height=b+"px";c.setAttribute("coordsize",a+","+b);c.setAttribute("coordorigin","0,0");return c};
- mxGraphView.prototype.createSvg=function(){var a=this.graph.container;this.canvas=document.createElementNS(mxConstants.NS_SVG,"g");this.backgroundPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.backgroundPane);this.drawPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.drawPane);this.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.overlayPane);this.decoratorPane=document.createElementNS(mxConstants.NS_SVG,
- "g");this.canvas.appendChild(this.decoratorPane);var b=document.createElementNS(mxConstants.NS_SVG,"svg");b.style.width="100%";b.style.height="100%";b.style.display="block";b.appendChild(this.canvas);if(mxClient.IS_IE||mxClient.IS_IE11)b.style.overflow="hidden";null!=a&&(a.appendChild(b),this.updateContainerStyle(a))};
- mxGraphView.prototype.updateContainerStyle=function(a){var b=mxUtils.getCurrentStyle(a);null!=b&&"static"==b.position&&(a.style.position="relative");mxClient.IS_POINTER&&(a.style.touchAction="none")};
- mxGraphView.prototype.destroy=function(){var a=null!=this.canvas?this.canvas.ownerSVGElement:null;null==a&&(a=this.canvas);null!=a&&null!=a.parentNode&&(this.clear(this.currentRoot,!0),mxEvent.removeGestureListeners(document,null,this.moveHandler,this.endHandler),mxEvent.release(this.graph.container),a.parentNode.removeChild(a),this.decoratorPane=this.overlayPane=this.drawPane=this.backgroundPane=this.canvas=this.endHandler=this.moveHandler=null)};
- function mxCurrentRootChange(a,b){this.view=a;this.previous=this.root=b;this.isUp=null==b;if(!this.isUp)for(var c=this.view.currentRoot,d=this.view.graph.getModel();null!=c;){if(c==b){this.isUp=!0;break}c=d.getParent(c)}}
- mxCurrentRootChange.prototype.execute=function(){var a=this.view.currentRoot;this.view.currentRoot=this.previous;this.previous=a;a=this.view.graph.getTranslateForRoot(this.view.currentRoot);null!=a&&(this.view.translate=new mxPoint(-a.x,-a.y));this.isUp?(this.view.clear(this.view.currentRoot,!0),this.view.validate()):this.view.refresh();this.view.fireEvent(new mxEventObject(this.isUp?mxEvent.UP:mxEvent.DOWN,"root",this.view.currentRoot,"previous",this.previous));this.isUp=!this.isUp};
- function mxGraph(a,b,c,d){this.mouseListeners=null;this.renderHint=c;this.dialect=mxClient.IS_SVG?mxConstants.DIALECT_SVG:c==mxConstants.RENDERING_HINT_EXACT&&mxClient.IS_VML?mxConstants.DIALECT_VML:c==mxConstants.RENDERING_HINT_FASTEST?mxConstants.DIALECT_STRICTHTML:c==mxConstants.RENDERING_HINT_FASTER?mxConstants.DIALECT_PREFERHTML:mxConstants.DIALECT_MIXEDHTML;this.model=null!=b?b:new mxGraphModel;this.multiplicities=[];this.imageBundles=[];this.cellRenderer=this.createCellRenderer();this.setSelectionModel(this.createSelectionModel());
- this.setStylesheet(null!=d?d:this.createStylesheet());this.view=this.createGraphView();this.graphModelChangeListener=mxUtils.bind(this,function(a,b){this.graphModelChanged(b.getProperty("edit").changes)});this.model.addListener(mxEvent.CHANGE,this.graphModelChangeListener);this.createHandlers();null!=a&&this.init(a);this.view.revalidate()}mxLoadResources&&mxResources.add(mxClient.basePath+"/resources/graph");mxGraph.prototype=new mxEventSource;mxGraph.prototype.constructor=mxGraph;
- mxGraph.prototype.EMPTY_ARRAY=[];mxGraph.prototype.mouseListeners=null;mxGraph.prototype.isMouseDown=!1;mxGraph.prototype.model=null;mxGraph.prototype.view=null;mxGraph.prototype.stylesheet=null;mxGraph.prototype.selectionModel=null;mxGraph.prototype.cellEditor=null;mxGraph.prototype.cellRenderer=null;mxGraph.prototype.multiplicities=null;mxGraph.prototype.renderHint=null;mxGraph.prototype.dialect=null;mxGraph.prototype.gridSize=10;mxGraph.prototype.gridEnabled=!0;mxGraph.prototype.portsEnabled=!0;
- mxGraph.prototype.nativeDblClickEnabled=!0;mxGraph.prototype.doubleTapEnabled=!0;mxGraph.prototype.doubleTapTimeout=500;mxGraph.prototype.doubleTapTolerance=25;mxGraph.prototype.lastTouchY=0;mxGraph.prototype.lastTouchY=0;mxGraph.prototype.lastTouchTime=0;mxGraph.prototype.tapAndHoldEnabled=!0;mxGraph.prototype.tapAndHoldDelay=500;mxGraph.prototype.tapAndHoldInProgress=!1;mxGraph.prototype.tapAndHoldValid=!1;mxGraph.prototype.initialTouchX=0;mxGraph.prototype.initialTouchY=0;
- mxGraph.prototype.tolerance=4;mxGraph.prototype.defaultOverlap=.5;mxGraph.prototype.defaultParent=null;mxGraph.prototype.alternateEdgeStyle=null;mxGraph.prototype.backgroundImage=null;mxGraph.prototype.pageVisible=!1;mxGraph.prototype.pageBreaksVisible=!1;mxGraph.prototype.pageBreakColor="gray";mxGraph.prototype.pageBreakDashed=!0;mxGraph.prototype.minPageBreakDist=20;mxGraph.prototype.preferPageSize=!1;mxGraph.prototype.pageFormat=mxConstants.PAGE_FORMAT_A4_PORTRAIT;mxGraph.prototype.pageScale=1.5;
- mxGraph.prototype.enabled=!0;mxGraph.prototype.escapeEnabled=!0;mxGraph.prototype.invokesStopCellEditing=!0;mxGraph.prototype.enterStopsCellEditing=!1;mxGraph.prototype.useScrollbarsForPanning=!0;mxGraph.prototype.exportEnabled=!0;mxGraph.prototype.importEnabled=!0;mxGraph.prototype.cellsLocked=!1;mxGraph.prototype.cellsCloneable=!0;mxGraph.prototype.foldingEnabled=!0;mxGraph.prototype.cellsEditable=!0;mxGraph.prototype.cellsDeletable=!0;mxGraph.prototype.cellsMovable=!0;
- mxGraph.prototype.edgeLabelsMovable=!0;mxGraph.prototype.vertexLabelsMovable=!1;mxGraph.prototype.dropEnabled=!1;mxGraph.prototype.splitEnabled=!0;mxGraph.prototype.cellsResizable=!0;mxGraph.prototype.cellsBendable=!0;mxGraph.prototype.cellsSelectable=!0;mxGraph.prototype.cellsDisconnectable=!0;mxGraph.prototype.autoSizeCells=!1;mxGraph.prototype.autoSizeCellsOnAdd=!1;mxGraph.prototype.autoScroll=!0;mxGraph.prototype.ignoreScrollbars=!1;mxGraph.prototype.translateToScrollPosition=!1;
- mxGraph.prototype.timerAutoScroll=!1;mxGraph.prototype.allowAutoPanning=!1;mxGraph.prototype.autoExtend=!0;mxGraph.prototype.maximumGraphBounds=null;mxGraph.prototype.minimumGraphSize=null;mxGraph.prototype.minimumContainerSize=null;mxGraph.prototype.maximumContainerSize=null;mxGraph.prototype.resizeContainer=!1;mxGraph.prototype.border=0;mxGraph.prototype.keepEdgesInForeground=!1;mxGraph.prototype.keepEdgesInBackground=!1;mxGraph.prototype.allowNegativeCoordinates=!0;
- mxGraph.prototype.constrainChildren=!0;mxGraph.prototype.constrainRelativeChildren=!1;mxGraph.prototype.extendParents=!0;mxGraph.prototype.extendParentsOnAdd=!0;mxGraph.prototype.extendParentsOnMove=!1;mxGraph.prototype.recursiveResize=!1;mxGraph.prototype.collapseToPreferredSize=!0;mxGraph.prototype.zoomFactor=1.2;mxGraph.prototype.keepSelectionVisibleOnZoom=!1;mxGraph.prototype.centerZoom=!0;mxGraph.prototype.resetViewOnRootChange=!0;mxGraph.prototype.resetEdgesOnResize=!1;
- mxGraph.prototype.resetEdgesOnMove=!1;mxGraph.prototype.resetEdgesOnConnect=!0;mxGraph.prototype.allowLoops=!1;mxGraph.prototype.defaultLoopStyle=mxEdgeStyle.Loop;mxGraph.prototype.multigraph=!0;mxGraph.prototype.connectableEdges=!1;mxGraph.prototype.allowDanglingEdges=!0;mxGraph.prototype.cloneInvalidEdges=!1;mxGraph.prototype.disconnectOnMove=!0;mxGraph.prototype.labelsVisible=!0;mxGraph.prototype.htmlLabels=!1;mxGraph.prototype.swimlaneSelectionEnabled=!0;mxGraph.prototype.swimlaneNesting=!0;
- mxGraph.prototype.swimlaneIndicatorColorAttribute=mxConstants.STYLE_FILLCOLOR;mxGraph.prototype.imageBundles=null;mxGraph.prototype.minFitScale=.1;mxGraph.prototype.maxFitScale=8;mxGraph.prototype.panDx=0;mxGraph.prototype.panDy=0;mxGraph.prototype.collapsedImage=new mxImage(mxClient.imageBasePath+"/collapsed.gif",9,9);mxGraph.prototype.expandedImage=new mxImage(mxClient.imageBasePath+"/expanded.gif",9,9);
- mxGraph.prototype.warningImage=new mxImage(mxClient.imageBasePath+"/warning"+(mxClient.IS_MAC?".png":".gif"),16,16);mxGraph.prototype.alreadyConnectedResource="none"!=mxClient.language?"alreadyConnected":"";mxGraph.prototype.containsValidationErrorsResource="none"!=mxClient.language?"containsValidationErrors":"";mxGraph.prototype.collapseExpandResource="none"!=mxClient.language?"collapse-expand":"";
- mxGraph.prototype.init=function(a){this.container=a;this.cellEditor=this.createCellEditor();this.view.init();this.sizeDidChange();mxEvent.addListener(a,"mouseleave",mxUtils.bind(this,function(){null!=this.tooltipHandler&&this.tooltipHandler.hide()}));mxClient.IS_IE&&(mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})),mxEvent.addListener(a,"selectstart",mxUtils.bind(this,function(a){return this.isEditing()||!this.isMouseDown&&!mxEvent.isShiftDown(a)})));8==document.documentMode&&
- a.insertAdjacentHTML("beforeend","<"+mxClient.VML_PREFIX+':group style="DISPLAY: none;"></'+mxClient.VML_PREFIX+":group>")};
- mxGraph.prototype.createHandlers=function(){this.tooltipHandler=this.createTooltipHandler();this.tooltipHandler.setEnabled(!1);this.selectionCellsHandler=this.createSelectionCellsHandler();this.connectionHandler=this.createConnectionHandler();this.connectionHandler.setEnabled(!1);this.graphHandler=this.createGraphHandler();this.panningHandler=this.createPanningHandler();this.panningHandler.panningEnabled=!1;this.popupMenuHandler=this.createPopupMenuHandler()};
- mxGraph.prototype.createTooltipHandler=function(){return new mxTooltipHandler(this)};mxGraph.prototype.createSelectionCellsHandler=function(){return new mxSelectionCellsHandler(this)};mxGraph.prototype.createConnectionHandler=function(){return new mxConnectionHandler(this)};mxGraph.prototype.createGraphHandler=function(){return new mxGraphHandler(this)};mxGraph.prototype.createPanningHandler=function(){return new mxPanningHandler(this)};mxGraph.prototype.createPopupMenuHandler=function(){return new mxPopupMenuHandler(this)};
- mxGraph.prototype.createSelectionModel=function(){return new mxGraphSelectionModel(this)};mxGraph.prototype.createStylesheet=function(){return new mxStylesheet};mxGraph.prototype.createGraphView=function(){return new mxGraphView(this)};mxGraph.prototype.createCellRenderer=function(){return new mxCellRenderer};mxGraph.prototype.createCellEditor=function(){return new mxCellEditor(this)};mxGraph.prototype.getModel=function(){return this.model};mxGraph.prototype.getView=function(){return this.view};
- mxGraph.prototype.getStylesheet=function(){return this.stylesheet};mxGraph.prototype.setStylesheet=function(a){this.stylesheet=a};mxGraph.prototype.getSelectionModel=function(){return this.selectionModel};mxGraph.prototype.setSelectionModel=function(a){this.selectionModel=a};
- mxGraph.prototype.getSelectionCellsForChanges=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];if(d.constructor!=mxRootChange){var e=null;d instanceof mxChildChange&&null==d.previous?e=d.child:null!=d.cell&&d.cell instanceof mxCell&&(e=d.cell);null!=e&&0>mxUtils.indexOf(b,e)&&b.push(e)}}return this.getModel().getTopmostCells(b)};
- mxGraph.prototype.graphModelChanged=function(a){for(var b=0;b<a.length;b++)this.processChange(a[b]);this.removeSelectionCells(this.getRemovedCellsForChanges(a));this.view.validate();this.sizeDidChange()};mxGraph.prototype.getRemovedCellsForChanges=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];if(d instanceof mxRootChange)break;else d instanceof mxChildChange?null!=d.previous&&null==d.parent&&(b=b.concat(this.model.getDescendants(d.child))):d instanceof mxVisibleChange&&(b=b.concat(this.model.getDescendants(d.cell)))}return b};
- mxGraph.prototype.processChange=function(a){if(a instanceof mxRootChange)this.clearSelection(),this.setDefaultParent(null),this.removeStateForCell(a.previous),this.resetViewOnRootChange&&(this.view.scale=1,this.view.translate.x=0,this.view.translate.y=0),this.fireEvent(new mxEventObject(mxEvent.ROOT));else if(a instanceof mxChildChange){var b=this.model.getParent(a.child);this.view.invalidate(a.child,!0,!0);if(null==b||this.isCellCollapsed(b))this.view.invalidate(a.child,!0,!0),this.removeStateForCell(a.child),
- this.view.currentRoot==a.child&&this.home();b!=a.previous&&(null!=b&&this.view.invalidate(b,!1,!1),null!=a.previous&&this.view.invalidate(a.previous,!1,!1))}else a instanceof mxTerminalChange||a instanceof mxGeometryChange?(a instanceof mxTerminalChange||null==a.previous&&null!=a.geometry||null!=a.previous&&!a.previous.equals(a.geometry))&&this.view.invalidate(a.cell):a instanceof mxValueChange?this.view.invalidate(a.cell,!1,!1):a instanceof mxStyleChange?(this.view.invalidate(a.cell,!0,!0),a=this.view.getState(a.cell),
- null!=a&&(a.style=null)):null!=a.cell&&a.cell instanceof mxCell&&this.removeStateForCell(a.cell)};mxGraph.prototype.removeStateForCell=function(a){for(var b=this.model.getChildCount(a),c=0;c<b;c++)this.removeStateForCell(this.model.getChildAt(a,c));this.view.invalidate(a,!1,!0);this.view.removeState(a)};
- mxGraph.prototype.addCellOverlay=function(a,b){null==a.overlays&&(a.overlays=[]);a.overlays.push(b);var c=this.view.getState(a);null!=c&&this.cellRenderer.redraw(c);this.fireEvent(new mxEventObject(mxEvent.ADD_OVERLAY,"cell",a,"overlay",b));return b};mxGraph.prototype.getCellOverlays=function(a){return a.overlays};
- mxGraph.prototype.removeCellOverlay=function(a,b){if(null==b)this.removeCellOverlays(a);else{var c=mxUtils.indexOf(a.overlays,b);0<=c?(a.overlays.splice(c,1),0==a.overlays.length&&(a.overlays=null),c=this.view.getState(a),null!=c&&this.cellRenderer.redraw(c),this.fireEvent(new mxEventObject(mxEvent.REMOVE_OVERLAY,"cell",a,"overlay",b))):b=null}return b};
- mxGraph.prototype.removeCellOverlays=function(a){var b=a.overlays;if(null!=b){a.overlays=null;var c=this.view.getState(a);null!=c&&this.cellRenderer.redraw(c);for(c=0;c<b.length;c++)this.fireEvent(new mxEventObject(mxEvent.REMOVE_OVERLAY,"cell",a,"overlay",b[c]))}return b};mxGraph.prototype.clearCellOverlays=function(a){a=null!=a?a:this.model.getRoot();this.removeCellOverlays(a);for(var b=this.model.getChildCount(a),c=0;c<b;c++){var d=this.model.getChildAt(a,c);this.clearCellOverlays(d)}};
- mxGraph.prototype.setCellWarning=function(a,b,c,d){if(null!=b&&0<b.length)return c=null!=c?c:this.warningImage,b=new mxCellOverlay(c,"<font color=red>"+b+"</font>"),d&&b.addListener(mxEvent.CLICK,mxUtils.bind(this,function(b,c){this.isEnabled()&&this.setSelectionCell(a)})),this.addCellOverlay(a,b);this.removeCellOverlays(a);return null};mxGraph.prototype.startEditing=function(a){this.startEditingAtCell(null,a)};
- mxGraph.prototype.startEditingAtCell=function(a,b){null!=b&&mxEvent.isMultiTouchEvent(b)||(null==a&&(a=this.getSelectionCell(),null==a||this.isCellEditable(a)||(a=null)),null!=a&&(this.fireEvent(new mxEventObject(mxEvent.START_EDITING,"cell",a,"event",b)),this.cellEditor.startEditing(a,b),this.fireEvent(new mxEventObject(mxEvent.EDITING_STARTED,"cell",a,"event",b))))};mxGraph.prototype.getEditingValue=function(a,b){return this.convertValueToString(a)};
- mxGraph.prototype.stopEditing=function(a){this.cellEditor.stopEditing(a);this.fireEvent(new mxEventObject(mxEvent.EDITING_STOPPED,"cancel",a))};mxGraph.prototype.labelChanged=function(a,b,c){this.model.beginUpdate();try{var d=a.value;this.cellLabelChanged(a,b,this.isAutoSizeCell(a));this.fireEvent(new mxEventObject(mxEvent.LABEL_CHANGED,"cell",a,"value",b,"old",d,"event",c))}finally{this.model.endUpdate()}return a};
- mxGraph.prototype.cellLabelChanged=function(a,b,c){this.model.beginUpdate();try{this.model.setValue(a,b),c&&this.cellSizeUpdated(a,!1)}finally{this.model.endUpdate()}};mxGraph.prototype.escape=function(a){this.fireEvent(new mxEventObject(mxEvent.ESCAPE,"event",a))};
- mxGraph.prototype.click=function(a){var b=a.getEvent(),c=a.getCell(),d=new mxEventObject(mxEvent.CLICK,"event",b,"cell",c);a.isConsumed()&&d.consume();this.fireEvent(d);if(this.isEnabled()&&!mxEvent.isConsumed(b)&&!d.isConsumed())if(null!=c){if(this.isTransparentClickEvent(b)){var e=!1;a=this.getCellAt(a.graphX,a.graphY,null,null,null,mxUtils.bind(this,function(a){a=this.isCellSelected(a.cell);e=e||a;return!e||a}));null!=a&&(c=a)}this.selectCellForEvent(c,b)}else c=null,this.isSwimlaneSelectionEnabled()&&
- (c=this.getSwimlaneAt(a.getGraphX(),a.getGraphY())),null!=c?this.selectCellForEvent(c,b):this.isToggleEvent(b)||this.clearSelection()};mxGraph.prototype.dblClick=function(a,b){var c=new mxEventObject(mxEvent.DOUBLE_CLICK,"event",a,"cell",b);this.fireEvent(c);!this.isEnabled()||mxEvent.isConsumed(a)||c.isConsumed()||null==b||!this.isCellEditable(b)||this.isEditing(b)||(this.startEditingAtCell(b,a),mxEvent.consume(a))};
- mxGraph.prototype.tapAndHold=function(a){var b=a.getEvent(),c=new mxEventObject(mxEvent.TAP_AND_HOLD,"event",b,"cell",a.getCell());this.fireEvent(c);c.isConsumed()&&(this.panningHandler.panningTrigger=!1);this.isEnabled()&&!mxEvent.isConsumed(b)&&!c.isConsumed()&&this.connectionHandler.isEnabled()&&(b=this.view.getState(this.connectionHandler.marker.getCell(a)),null!=b&&(this.connectionHandler.marker.currentColor=this.connectionHandler.marker.validColor,this.connectionHandler.marker.markedState=b,
- this.connectionHandler.marker.mark(),this.connectionHandler.first=new mxPoint(a.getGraphX(),a.getGraphY()),this.connectionHandler.edgeState=this.connectionHandler.createEdgeState(a),this.connectionHandler.previous=b,this.connectionHandler.fireEvent(new mxEventObject(mxEvent.START,"state",this.connectionHandler.previous))))};
- mxGraph.prototype.scrollPointToVisible=function(a,b,c,d){if(this.timerAutoScroll||!this.ignoreScrollbars&&!mxUtils.hasScrollbars(this.container))this.allowAutoPanning&&!this.panningHandler.isActive()&&(null==this.panningManager&&(this.panningManager=this.createPanningManager()),this.panningManager.panTo(a+this.panDx,b+this.panDy));else{var e=this.container;d=null!=d?d:20;if(a>=e.scrollLeft&&b>=e.scrollTop&&a<=e.scrollLeft+e.clientWidth&&b<=e.scrollTop+e.clientHeight){var f=e.scrollLeft+e.clientWidth-
- a;if(f<d){if(a=e.scrollLeft,e.scrollLeft+=d-f,c&&a==e.scrollLeft){if(this.dialect==mxConstants.DIALECT_SVG){a=this.view.getDrawPane().ownerSVGElement;var g=this.container.scrollWidth+d-f}else g=Math.max(e.clientWidth,e.scrollWidth)+d-f,a=this.view.getCanvas();a.style.width=g+"px";e.scrollLeft+=d-f}}else f=a-e.scrollLeft,f<d&&(e.scrollLeft-=d-f);f=e.scrollTop+e.clientHeight-b;f<d?(a=e.scrollTop,e.scrollTop+=d-f,a==e.scrollTop&&c&&(this.dialect==mxConstants.DIALECT_SVG?(a=this.view.getDrawPane().ownerSVGElement,
- b=this.container.scrollHeight+d-f):(b=Math.max(e.clientHeight,e.scrollHeight)+d-f,a=this.view.getCanvas()),a.style.height=b+"px",e.scrollTop+=d-f)):(f=b-e.scrollTop,f<d&&(e.scrollTop-=d-f))}}};mxGraph.prototype.createPanningManager=function(){return new mxPanningManager(this)};
- mxGraph.prototype.getBorderSizes=function(){var a=mxUtils.getCurrentStyle(this.container);return new mxRectangle(mxUtils.parseCssNumber(a.paddingLeft)+("none"!=a.borderLeftStyle?mxUtils.parseCssNumber(a.borderLeftWidth):0),mxUtils.parseCssNumber(a.paddingTop)+("none"!=a.borderTopStyle?mxUtils.parseCssNumber(a.borderTopWidth):0),mxUtils.parseCssNumber(a.paddingRight)+("none"!=a.borderRightStyle?mxUtils.parseCssNumber(a.borderRightWidth):0),mxUtils.parseCssNumber(a.paddingBottom)+("none"!=a.borderBottomStyle?
- mxUtils.parseCssNumber(a.borderBottomWidth):0))};mxGraph.prototype.getPreferredPageSize=function(a,b,c){a=this.view.translate;var d=this.pageFormat,e=this.pageScale,d=new mxRectangle(0,0,Math.ceil(d.width*e),Math.ceil(d.height*e));return new mxRectangle(0,0,(this.pageBreaksVisible?Math.ceil(b/d.width):1)*d.width+2+a.x,(this.pageBreaksVisible?Math.ceil(c/d.height):1)*d.height+2+a.y)};
- mxGraph.prototype.fit=function(a,b,c,d,e,f){if(null!=this.container){a=null!=a?a:this.getBorder();b=null!=b?b:!1;c=null!=c?c:0;d=null!=d?d:!0;e=null!=e?e:!1;f=null!=f?f:!1;var g=this.getBorderSizes(),k=this.container.offsetWidth-g.x-g.width-1,l=this.container.offsetHeight-g.y-g.height-1,g=this.view.getGraphBounds();if(0<g.width&&0<g.height){b&&null!=g.x&&null!=g.y&&(g=g.clone(),g.width+=g.x,g.height+=g.y,g.x=0,g.y=0);var m=this.view.scale,n=g.width/m,p=g.height/m;null!=this.backgroundImage&&(n=Math.max(n,
- this.backgroundImage.width-g.x/m),p=Math.max(p,this.backgroundImage.height-g.y/m));var q=(b?a:2*a)+c,k=k-q,l=l-q;e=e?l/p:f?k/n:Math.min(k/n,l/p);null!=this.minFitScale&&(e=Math.max(e,this.minFitScale));null!=this.maxFitScale&&(e=Math.min(e,this.maxFitScale));if(d)b?this.view.scale!=e&&this.view.setScale(e):mxUtils.hasScrollbars(this.container)?(this.view.setScale(e),a=this.getGraphBounds(),null!=a.x&&(this.container.scrollLeft=a.x),null!=a.y&&(this.container.scrollTop=a.y)):this.view.scaleAndTranslate(e,
- null!=g.x?Math.floor(this.view.translate.x-g.x/m+a/e+c/2):a,null!=g.y?Math.floor(this.view.translate.y-g.y/m+a/e+c/2):a);else return e}}return this.view.scale};
- mxGraph.prototype.sizeDidChange=function(){var a=this.getGraphBounds();if(null!=this.container){var b=this.getBorder(),c=Math.max(0,a.x+a.width+b),b=Math.max(0,a.y+a.height+b);null!=this.minimumContainerSize&&(c=Math.max(c,this.minimumContainerSize.width),b=Math.max(b,this.minimumContainerSize.height));this.resizeContainer&&this.doResizeContainer(c,b);if(this.preferPageSize||!mxClient.IS_IE&&this.pageVisible){var d=this.getPreferredPageSize(a,Math.max(1,c),Math.max(1,b));null!=d&&(c=d.width*this.view.scale,
- b=d.height*this.view.scale)}null!=this.minimumGraphSize&&(c=Math.max(c,this.minimumGraphSize.width*this.view.scale),b=Math.max(b,this.minimumGraphSize.height*this.view.scale));c=Math.ceil(c);b=Math.ceil(b);this.dialect==mxConstants.DIALECT_SVG?(d=this.view.getDrawPane().ownerSVGElement,d.style.minWidth=Math.max(1,c)+"px",d.style.minHeight=Math.max(1,b)+"px",d.style.width="100%",d.style.height="100%"):mxClient.IS_QUIRKS?this.view.updateHtmlCanvasSize(Math.max(1,c),Math.max(1,b)):(this.view.canvas.style.minWidth=
- Math.max(1,c)+"px",this.view.canvas.style.minHeight=Math.max(1,b)+"px");this.updatePageBreaks(this.pageBreaksVisible,c,b)}this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",a))};mxGraph.prototype.doResizeContainer=function(a,b){null!=this.maximumContainerSize&&(a=Math.min(this.maximumContainerSize.width,a),b=Math.min(this.maximumContainerSize.height,b));this.container.style.width=Math.ceil(a)+"px";this.container.style.height=Math.ceil(b)+"px"};
- mxGraph.prototype.updatePageBreaks=function(a,b,c){b=this.view.scale;c=this.view.translate;var d=this.pageFormat,e=b*this.pageScale,f=new mxRectangle(0,0,d.width*e,d.height*e),d=mxRectangle.fromRectangle(this.getGraphBounds());d.width=Math.max(1,d.width);d.height=Math.max(1,d.height);f.x=Math.floor((d.x-c.x*b)/f.width)*f.width+c.x*b;f.y=Math.floor((d.y-c.y*b)/f.height)*f.height+c.y*b;d.width=Math.ceil((d.width+(d.x-f.x))/f.width)*f.width;d.height=Math.ceil((d.height+(d.y-f.y))/f.height)*f.height;
- var g=(a=a&&Math.min(f.width,f.height)>this.minPageBreakDist)?Math.ceil(d.height/f.height)+1:0,k=a?Math.ceil(d.width/f.width)+1:0,l=(k-1)*f.width,m=(g-1)*f.height;null==this.horizontalPageBreaks&&0<g&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<k&&(this.verticalPageBreaks=[]);a=mxUtils.bind(this,function(a){if(null!=a){for(var b=a==this.horizontalPageBreaks?g:k,c=0;c<=b;c++){var d=a==this.horizontalPageBreaks?[new mxPoint(Math.round(f.x),Math.round(f.y+c*f.height)),new mxPoint(Math.round(f.x+
- l),Math.round(f.y+c*f.height))]:[new mxPoint(Math.round(f.x+c*f.width),Math.round(f.y)),new mxPoint(Math.round(f.x+c*f.width),Math.round(f.y+m))];null!=a[c]?(a[c].points=d,a[c].redraw()):(d=new mxPolyline(d,this.pageBreakColor),d.dialect=this.dialect,d.pointerEvents=!1,d.isDashed=this.pageBreakDashed,d.init(this.view.backgroundPane),d.redraw(),a[c]=d)}for(c=b;c<a.length;c++)a[c].destroy();a.splice(b,a.length-b)}});a(this.horizontalPageBreaks);a(this.verticalPageBreaks)};
- mxGraph.prototype.getCellStyle=function(a){var b=this.model.getStyle(a);a=this.model.isEdge(a)?this.stylesheet.getDefaultEdgeStyle():this.stylesheet.getDefaultVertexStyle();null!=b&&(a=this.postProcessCellStyle(this.stylesheet.getCellStyle(b,a)));null==a&&(a=mxGraph.prototype.EMPTY_ARRAY);return a};
- mxGraph.prototype.postProcessCellStyle=function(a){if(null!=a){var b=a[mxConstants.STYLE_IMAGE],c=this.getImageFromBundles(b);null!=c?a[mxConstants.STYLE_IMAGE]=c:c=b;null!=c&&"data:image/"==c.substring(0,11)&&("data:image/svg+xml,<"==c.substring(0,20)?c=c.substring(0,19)+encodeURIComponent(c.substring(19)):"data:image/svg+xml,%3C"!=c.substring(0,22)&&(b=c.indexOf(","),0<b&&";base64,"!=c.substring(b-7,b+1)&&(c=c.substring(0,b)+";base64,"+c.substring(b+1))),a[mxConstants.STYLE_IMAGE]=c)}return a};
- mxGraph.prototype.setCellStyle=function(a,b){b=b||this.getSelectionCells();if(null!=b){this.model.beginUpdate();try{for(var c=0;c<b.length;c++)this.model.setStyle(b[c],a)}finally{this.model.endUpdate()}}};mxGraph.prototype.toggleCellStyle=function(a,b,c){c=c||this.getSelectionCell();return this.toggleCellStyles(a,b,[c])};
- mxGraph.prototype.toggleCellStyles=function(a,b,c){b=null!=b?b:!1;c=c||this.getSelectionCells();var d=null;if(null!=c&&0<c.length){var e=this.view.getState(c[0]),e=null!=e?e.style:this.getCellStyle(c[0]);null!=e&&(d=mxUtils.getValue(e,a,b)?0:1,this.setCellStyles(a,d,c))}return d};mxGraph.prototype.setCellStyles=function(a,b,c){c=c||this.getSelectionCells();mxUtils.setCellStyles(this.model,c,a,b)};mxGraph.prototype.toggleCellStyleFlags=function(a,b,c){this.setCellStyleFlags(a,b,null,c)};
- mxGraph.prototype.setCellStyleFlags=function(a,b,c,d){d=d||this.getSelectionCells();if(null!=d&&0<d.length){if(null==c){var e=this.view.getState(d[0]),e=null!=e?e.style:this.getCellStyle(d[0]);null!=e&&(c=(parseInt(e[a]||0)&b)!=b)}mxUtils.setCellStyleFlags(this.model,d,a,b,c)}};
- mxGraph.prototype.alignCells=function(a,b,c){null==b&&(b=this.getSelectionCells());if(null!=b&&1<b.length){if(null==c)for(var d=0;d<b.length;d++){var e=this.view.getState(b[d]);if(null!=e&&!this.model.isEdge(b[d]))if(null==c)if(a==mxConstants.ALIGN_CENTER){c=e.x+e.width/2;break}else if(a==mxConstants.ALIGN_RIGHT)c=e.x+e.width;else if(a==mxConstants.ALIGN_TOP)c=e.y;else if(a==mxConstants.ALIGN_MIDDLE){c=e.y+e.height/2;break}else c=a==mxConstants.ALIGN_BOTTOM?e.y+e.height:e.x;else c=a==mxConstants.ALIGN_RIGHT?
- Math.max(c,e.x+e.width):a==mxConstants.ALIGN_TOP?Math.min(c,e.y):a==mxConstants.ALIGN_BOTTOM?Math.max(c,e.y+e.height):Math.min(c,e.x)}if(null!=c){var f=this.view.scale;this.model.beginUpdate();try{for(d=0;d<b.length;d++)if(e=this.view.getState(b[d]),null!=e){var g=this.getCellGeometry(b[d]);null==g||this.model.isEdge(b[d])||(g=g.clone(),a==mxConstants.ALIGN_CENTER?g.x+=(c-e.x-e.width/2)/f:a==mxConstants.ALIGN_RIGHT?g.x+=(c-e.x-e.width)/f:a==mxConstants.ALIGN_TOP?g.y+=(c-e.y)/f:a==mxConstants.ALIGN_MIDDLE?
- g.y+=(c-e.y-e.height/2)/f:a==mxConstants.ALIGN_BOTTOM?g.y+=(c-e.y-e.height)/f:g.x+=(c-e.x)/f,this.resizeCell(b[d],g))}this.fireEvent(new mxEventObject(mxEvent.ALIGN_CELLS,"align",a,"cells",b))}finally{this.model.endUpdate()}}}return b};
- mxGraph.prototype.flipEdge=function(a){if(null!=a&&null!=this.alternateEdgeStyle){this.model.beginUpdate();try{var b=this.model.getStyle(a);null==b||0==b.length?this.model.setStyle(a,this.alternateEdgeStyle):this.model.setStyle(a,null);this.resetEdge(a);this.fireEvent(new mxEventObject(mxEvent.FLIP_EDGE,"edge",a))}finally{this.model.endUpdate()}}return a};mxGraph.prototype.addImageBundle=function(a){this.imageBundles.push(a)};
- mxGraph.prototype.removeImageBundle=function(a){for(var b=[],c=0;c<this.imageBundles.length;c++)this.imageBundles[c]!=a&&b.push(this.imageBundles[c]);this.imageBundles=b};mxGraph.prototype.getImageFromBundles=function(a){if(null!=a)for(var b=0;b<this.imageBundles.length;b++){var c=this.imageBundles[b].getImage(a);if(null!=c)return c}return null};
- mxGraph.prototype.orderCells=function(a,b){null==b&&(b=mxUtils.sortCells(this.getSelectionCells(),!0));this.model.beginUpdate();try{this.cellsOrdered(b,a),this.fireEvent(new mxEventObject(mxEvent.ORDER_CELLS,"back",a,"cells",b))}finally{this.model.endUpdate()}return b};
- mxGraph.prototype.cellsOrdered=function(a,b){if(null!=a){this.model.beginUpdate();try{for(var c=0;c<a.length;c++){var d=this.model.getParent(a[c]);b?this.model.add(d,a[c],c):this.model.add(d,a[c],this.model.getChildCount(d)-1)}this.fireEvent(new mxEventObject(mxEvent.CELLS_ORDERED,"back",b,"cells",a))}finally{this.model.endUpdate()}}};
- mxGraph.prototype.groupCells=function(a,b,c){null==c&&(c=mxUtils.sortCells(this.getSelectionCells(),!0));c=this.getCellsForGroup(c);null==a&&(a=this.createGroupCell(c));var d=this.getBoundsForGroup(a,c,b);if(0<c.length&&null!=d){var e=this.model.getParent(a);null==e&&(e=this.model.getParent(c[0]));this.model.beginUpdate();try{null==this.getCellGeometry(a)&&this.model.setGeometry(a,new mxGeometry);var f=this.model.getChildCount(e);this.cellsAdded([a],e,f,null,null,!1,!1,!1);f=this.model.getChildCount(a);
- this.cellsAdded(c,a,f,null,null,!1,!1,!1);this.cellsMoved(c,-d.x,-d.y,!1,!1,!1);this.cellsResized([a],[d],!1);this.fireEvent(new mxEventObject(mxEvent.GROUP_CELLS,"group",a,"border",b,"cells",c))}finally{this.model.endUpdate()}}return a};mxGraph.prototype.getCellsForGroup=function(a){var b=[];if(null!=a&&0<a.length){var c=this.model.getParent(a[0]);b.push(a[0]);for(var d=1;d<a.length;d++)this.model.getParent(a[d])==c&&b.push(a[d])}return b};
- mxGraph.prototype.getBoundsForGroup=function(a,b,c){b=this.getBoundingBoxFromGeometry(b,!0);null!=b&&(this.isSwimlane(a)&&(a=this.getStartSize(a),b.x-=a.width,b.y-=a.height,b.width+=a.width,b.height+=a.height),null!=c&&(b.x-=c,b.y-=c,b.width+=2*c,b.height+=2*c));return b};mxGraph.prototype.createGroupCell=function(a){a=new mxCell("");a.setVertex(!0);a.setConnectable(!1);return a};
- mxGraph.prototype.ungroupCells=function(a){var b=[];if(null==a){a=this.getSelectionCells();for(var c=[],d=0;d<a.length;d++)0<this.model.getChildCount(a[d])&&c.push(a[d]);a=c}if(null!=a&&0<a.length){this.model.beginUpdate();try{for(d=0;d<a.length;d++){var e=this.model.getChildren(a[d]);if(null!=e&&0<e.length){var e=e.slice(),f=this.model.getParent(a[d]),g=this.model.getChildCount(f);this.cellsAdded(e,f,g,null,null,!0);b=b.concat(e)}}this.removeCellsAfterUngroup(a);this.fireEvent(new mxEventObject(mxEvent.UNGROUP_CELLS,
- "cells",a))}finally{this.model.endUpdate()}}return b};mxGraph.prototype.removeCellsAfterUngroup=function(a){this.cellsRemoved(this.addAllEdges(a))};mxGraph.prototype.removeCellsFromParent=function(a){null==a&&(a=this.getSelectionCells());this.model.beginUpdate();try{var b=this.getDefaultParent(),c=this.model.getChildCount(b);this.cellsAdded(a,b,c,null,null,!0);this.fireEvent(new mxEventObject(mxEvent.REMOVE_CELLS_FROM_PARENT,"cells",a))}finally{this.model.endUpdate()}return a};
- mxGraph.prototype.updateGroupBounds=function(a,b,c,d,e,f,g){null==a&&(a=this.getSelectionCells());b=null!=b?b:0;c=null!=c?c:!1;d=null!=d?d:0;e=null!=e?e:0;f=null!=f?f:0;g=null!=g?g:0;this.model.beginUpdate();try{for(var k=a.length-1;0<=k;k--){var l=this.getCellGeometry(a[k]);if(null!=l){var m=this.getChildCells(a[k]);if(null!=m&&0<m.length){var n=this.getBoundingBoxFromGeometry(m,!0);if(null!=n&&0<n.width&&0<n.height){var p=0,q=0;if(this.isSwimlane(a[k]))var r=this.getStartSize(a[k]),p=r.width,q=
- r.height;l=l.clone();c&&(l.x=Math.round(l.x+n.x-b-p-g),l.y=Math.round(l.y+n.y-b-q-d));l.width=Math.round(n.width+2*b+p+g+e);l.height=Math.round(n.height+2*b+q+d+f);this.model.setGeometry(a[k],l);this.moveCells(m,b+p-n.x+g,b+q-n.y+d)}}}}}finally{this.model.endUpdate()}return a};
- mxGraph.prototype.getBoundingBox=function(a){var b=null;if(null!=a&&0<a.length)for(var c=0;c<a.length;c++)if(this.model.isVertex(a[c])||this.model.isEdge(a[c])){var d=this.view.getBoundingBox(this.view.getState(a[c]),!0);null!=d&&(null==b?b=mxRectangle.fromRectangle(d):b.add(d))}return b};
- mxGraph.prototype.cloneCells=function(a,b,c){b=null!=b?b:!0;var d=null;if(null!=a){for(var e=new mxDictionary,d=[],f=0;f<a.length;f++)e.put(a[f],!0),d.push(a[f]);if(0<d.length)for(var g=this.view.scale,k=this.view.translate,d=this.model.cloneCells(a,!0,c),f=0;f<a.length;f++)if(!b&&this.model.isEdge(d[f])&&null!=this.getEdgeValidationError(d[f],this.model.getTerminal(d[f],!0),this.model.getTerminal(d[f],!1)))d[f]=null;else{var l=this.model.getGeometry(d[f]);if(null!=l){var m=this.view.getState(a[f]),
- n=this.view.getState(this.model.getParent(a[f]));if(null!=m&&null!=n)if(c=n.origin.x,n=n.origin.y,this.model.isEdge(d[f])){for(var m=m.absolutePoints,p=this.model.getTerminal(a[f],!0);null!=p&&!e.get(p);)p=this.model.getParent(p);null==p&&l.setTerminalPoint(new mxPoint(m[0].x/g-k.x,m[0].y/g-k.y),!0);for(p=this.model.getTerminal(a[f],!1);null!=p&&!e.get(p);)p=this.model.getParent(p);null==p&&(p=m.length-1,l.setTerminalPoint(new mxPoint(m[p].x/g-k.x,m[p].y/g-k.y),!1));l=l.points;if(null!=l)for(m=0;m<
- l.length;m++)l[m].x+=c,l[m].y+=n}else l.translate(c,n)}}else d=[]}return d};mxGraph.prototype.insertVertex=function(a,b,c,d,e,f,g,k,l){b=this.createVertex(a,b,c,d,e,f,g,k,l);return this.addCell(b,a)};mxGraph.prototype.createVertex=function(a,b,c,d,e,f,g,k,l){a=new mxGeometry(d,e,f,g);a.relative=null!=l?l:!1;c=new mxCell(c,a,k);c.setId(b);c.setVertex(!0);c.setConnectable(!0);return c};mxGraph.prototype.insertEdge=function(a,b,c,d,e,f){b=this.createEdge(a,b,c,d,e,f);return this.addEdge(b,a,d,e)};
- mxGraph.prototype.createEdge=function(a,b,c,d,e,f){a=new mxCell(c,new mxGeometry,f);a.setId(b);a.setEdge(!0);a.geometry.relative=!0;return a};mxGraph.prototype.addEdge=function(a,b,c,d,e){return this.addCell(a,b,e,c,d)};mxGraph.prototype.addCell=function(a,b,c,d,e){return this.addCells([a],b,c,d,e)[0]};
- mxGraph.prototype.addCells=function(a,b,c,d,e){null==b&&(b=this.getDefaultParent());null==c&&(c=this.model.getChildCount(b));this.model.beginUpdate();try{this.cellsAdded(a,b,c,d,e,!1,!0),this.fireEvent(new mxEventObject(mxEvent.ADD_CELLS,"cells",a,"parent",b,"index",c,"source",d,"target",e))}finally{this.model.endUpdate()}return a};
- mxGraph.prototype.cellsAdded=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=b&&null!=c){this.model.beginUpdate();try{for(var l=f?this.view.getState(b):null,m=null!=l?l.origin:null,n=new mxPoint(0,0),l=0;l<a.length;l++)if(null==a[l])c--;else{var p=this.model.getParent(a[l]);if(null!=m&&a[l]!=b&&b!=p){var q=this.view.getState(p),r=null!=q?q.origin:n,t=this.model.getGeometry(a[l]);if(null!=t){var u=r.x-m.x,x=r.y-m.y,t=t.clone();t.translate(u,x);t.relative||!this.model.isVertex(a[l])||this.isAllowNegativeCoordinates()||
- (t.x=Math.max(0,t.x),t.y=Math.max(0,t.y));this.model.setGeometry(a[l],t)}}b==p&&c+l>this.model.getChildCount(b)&&c--;this.model.add(b,a[l],c+l);this.autoSizeCellsOnAdd&&this.autoSizeCell(a[l],!0);(null==k||k)&&this.isExtendParentsOnAdd(a[l])&&this.isExtendParent(a[l])&&this.extendParent(a[l]);(null==g||g)&&this.constrainChild(a[l]);null!=d&&this.cellConnected(a[l],d,!0);null!=e&&this.cellConnected(a[l],e,!1)}this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",a,"parent",b,"index",c,"source",
- d,"target",e,"absolute",f))}finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=function(a,b){if(null!=b?b:1)for(var c=this.model.getChildCount(a),d=0;d<c;d++)this.autoSizeCell(this.model.getChildAt(a,d));this.getModel().isVertex(a)&&this.isAutoSizeCell(a)&&this.updateCellSize(a)};
- mxGraph.prototype.removeCells=function(a,b){b=null!=b?b:!0;null==a&&(a=this.getDeletableCells(this.getSelectionCells()));b&&(a=this.getDeletableCells(this.addAllEdges(a)));this.model.beginUpdate();try{this.cellsRemoved(a),this.fireEvent(new mxEventObject(mxEvent.REMOVE_CELLS,"cells",a,"includeEdges",b))}finally{this.model.endUpdate()}return a};
- mxGraph.prototype.cellsRemoved=function(a){if(null!=a&&0<a.length){var b=this.view.scale,c=this.view.translate;this.model.beginUpdate();try{for(var d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<a.length;e++){for(var f=this.getAllEdges([a[e]]),g=mxUtils.bind(this,function(d,g){var l=this.model.getGeometry(d);if(null!=l){var m=this.view.getState(d);if(null!=m){for(var q=m.getVisibleTerminal(g),r=!1;null!=q;){if(a[e]==q){r=!0;break}q=this.model.getParent(q)}if(r){var q=c.x,r=c.y,t=this.view.getState(this.model.getParent(d));
- null!=t&&this.model.isVertex(t.cell)&&(q=t.x/b,r=t.y/b);l=l.clone();m=m.absolutePoints;t=g?0:m.length-1;l.setTerminalPoint(new mxPoint(m[t].x/b-q,m[t].y/b-r),g);this.model.setTerminal(f[k],null,g);this.model.setGeometry(f[k],l)}}}}),k=0;k<f.length;k++)d.get(f[k])||(g(f[k],!0),g(f[k],!1));this.model.remove(a[e])}this.fireEvent(new mxEventObject(mxEvent.CELLS_REMOVED,"cells",a))}finally{this.model.endUpdate()}}};
- mxGraph.prototype.splitEdge=function(a,b,c,d,e){d=d||0;e=e||0;var f=this.model.getParent(a),g=this.model.getTerminal(a,!0);this.model.beginUpdate();try{if(null==c){c=this.cloneCells([a])[0];var k=this.view.getState(a),l=this.getCellGeometry(c);if(null!=l&&null!=l.points&&null!=k){var m=this.view.translate,n=this.view.scale,p=mxUtils.findNearestSegment(k,(d+m.x)*n,(e+m.y)*n);l.points=l.points.slice(0,p);l=this.getCellGeometry(a);null!=l&&null!=l.points&&(l=l.clone(),l.points=l.points.slice(p),this.model.setGeometry(a,
- l))}}this.cellsMoved(b,d,e,!1,!1);this.cellsAdded(b,f,this.model.getChildCount(f),null,null,!0);this.cellsAdded([c],f,this.model.getChildCount(f),g,b[0],!1);this.cellConnected(a,b[0],!0);this.fireEvent(new mxEventObject(mxEvent.SPLIT_EDGE,"edge",a,"cells",b,"newEdge",c,"dx",d,"dy",e))}finally{this.model.endUpdate()}return c};
- mxGraph.prototype.toggleCells=function(a,b,c){null==b&&(b=this.getSelectionCells());c&&(b=this.addAllEdges(b));this.model.beginUpdate();try{this.cellsToggled(b,a),this.fireEvent(new mxEventObject(mxEvent.TOGGLE_CELLS,"show",a,"cells",b,"includeEdges",c))}finally{this.model.endUpdate()}return b};mxGraph.prototype.cellsToggled=function(a,b){if(null!=a&&0<a.length){this.model.beginUpdate();try{for(var c=0;c<a.length;c++)this.model.setVisible(a[c],b)}finally{this.model.endUpdate()}}};
- mxGraph.prototype.foldCells=function(a,b,c,d,e){b=null!=b?b:!1;null==c&&(c=this.getFoldableCells(this.getSelectionCells(),a));this.stopEditing(!1);this.model.beginUpdate();try{this.cellsFolded(c,a,b,d),this.fireEvent(new mxEventObject(mxEvent.FOLD_CELLS,"collapse",a,"recurse",b,"cells",c))}finally{this.model.endUpdate()}return c};
- mxGraph.prototype.cellsFolded=function(a,b,c,d){if(null!=a&&0<a.length){this.model.beginUpdate();try{for(var e=0;e<a.length;e++)if((!d||this.isCellFoldable(a[e],b))&&b!=this.isCellCollapsed(a[e])){this.model.setCollapsed(a[e],b);this.swapBounds(a[e],b);this.isExtendParent(a[e])&&this.extendParent(a[e]);if(c){var f=this.model.getChildren(a[e]);this.foldCells(f,b,c)}this.constrainChild(a[e])}this.fireEvent(new mxEventObject(mxEvent.CELLS_FOLDED,"cells",a,"collapse",b,"recurse",c))}finally{this.model.endUpdate()}}};
- mxGraph.prototype.swapBounds=function(a,b){if(null!=a){var c=this.model.getGeometry(a);null!=c&&(c=c.clone(),this.updateAlternateBounds(a,c,b),c.swap(),this.model.setGeometry(a,c))}};
- mxGraph.prototype.updateAlternateBounds=function(a,b,c){if(null!=a&&null!=b){c=this.view.getState(a);c=null!=c?c.style:this.getCellStyle(a);if(null==b.alternateBounds){var d=b;this.collapseToPreferredSize&&(a=this.getPreferredSizeForCell(a),null!=a&&(d=a,a=mxUtils.getValue(c,mxConstants.STYLE_STARTSIZE),0<a&&(d.height=Math.max(d.height,a))));b.alternateBounds=new mxRectangle(0,0,d.width,d.height)}if(null!=b.alternateBounds){b.alternateBounds.x=b.x;b.alternateBounds.y=b.y;var e=mxUtils.toRadians(c[mxConstants.STYLE_ROTATION]||
- 0);0!=e&&(a=b.alternateBounds.getCenterX()-b.getCenterX(),c=b.alternateBounds.getCenterY()-b.getCenterY(),d=Math.cos(e),e=Math.sin(e),b.alternateBounds.x+=d*a-e*c-a,b.alternateBounds.y+=e*a+d*c-c)}}};mxGraph.prototype.addAllEdges=function(a){var b=a.slice();return mxUtils.removeDuplicates(b.concat(this.getAllEdges(a)))};
- mxGraph.prototype.getAllEdges=function(a){var b=[];if(null!=a)for(var c=0;c<a.length;c++){for(var d=this.model.getEdgeCount(a[c]),e=0;e<d;e++)b.push(this.model.getEdgeAt(a[c],e));d=this.model.getChildren(a[c]);b=b.concat(this.getAllEdges(d))}return b};mxGraph.prototype.updateCellSize=function(a,b){b=null!=b?b:!1;this.model.beginUpdate();try{this.cellSizeUpdated(a,b),this.fireEvent(new mxEventObject(mxEvent.UPDATE_CELL_SIZE,"cell",a,"ignoreChildren",b))}finally{this.model.endUpdate()}return a};
- mxGraph.prototype.cellSizeUpdated=function(a,b){if(null!=a){this.model.beginUpdate();try{var c=this.getPreferredSizeForCell(a),d=this.model.getGeometry(a);if(null!=c&&null!=d){var e=this.isCellCollapsed(a),d=d.clone();if(this.isSwimlane(a)){var f=this.view.getState(a),g=null!=f?f.style:this.getCellStyle(a),k=this.model.getStyle(a);null==k&&(k="");mxUtils.getValue(g,mxConstants.STYLE_HORIZONTAL,!0)?(k=mxUtils.setStyle(k,mxConstants.STYLE_STARTSIZE,c.height+8),e&&(d.height=c.height+8),d.width=c.width):
- (k=mxUtils.setStyle(k,mxConstants.STYLE_STARTSIZE,c.width+8),e&&(d.width=c.width+8),d.height=c.height);this.model.setStyle(a,k)}else d.width=c.width,d.height=c.height;if(!b&&!e){var l=this.view.getBounds(this.model.getChildren(a));if(null!=l){var m=this.view.translate,n=this.view.scale,p=(l.y+l.height)/n-d.y-m.y;d.width=Math.max(d.width,(l.x+l.width)/n-d.x-m.x);d.height=Math.max(d.height,p)}}this.cellsResized([a],[d],!1)}}finally{this.model.endUpdate()}}};
- mxGraph.prototype.getPreferredSizeForCell=function(a){var b=null;if(null!=a){var c=this.view.getState(a)||this.view.createState(a),d=c.style;if(!this.model.isEdge(a)){var e=d[mxConstants.STYLE_FONTSIZE]||mxConstants.DEFAULT_FONTSIZE;a=b=0;null==this.getImage(c)&&null==d[mxConstants.STYLE_IMAGE]||d[mxConstants.STYLE_SHAPE]!=mxConstants.SHAPE_LABEL||(d[mxConstants.STYLE_VERTICAL_ALIGN]==mxConstants.ALIGN_MIDDLE&&(b+=parseFloat(d[mxConstants.STYLE_IMAGE_WIDTH])||mxLabel.prototype.imageSize),d[mxConstants.STYLE_ALIGN]!=
- mxConstants.ALIGN_CENTER&&(a+=parseFloat(d[mxConstants.STYLE_IMAGE_HEIGHT])||mxLabel.prototype.imageSize));b+=2*(d[mxConstants.STYLE_SPACING]||0);b+=d[mxConstants.STYLE_SPACING_LEFT]||0;b+=d[mxConstants.STYLE_SPACING_RIGHT]||0;a+=2*(d[mxConstants.STYLE_SPACING]||0);a+=d[mxConstants.STYLE_SPACING_TOP]||0;a+=d[mxConstants.STYLE_SPACING_BOTTOM]||0;var f=this.getFoldingImage(c);null!=f&&(b+=f.width+8);f=this.cellRenderer.getLabelValue(c);null!=f&&0<f.length?(this.isHtmlLabel(c.cell)||(f=mxUtils.htmlEntities(f)),
- f=f.replace(/\n/g,"<br>"),e=mxUtils.getSizeForString(f,e,d[mxConstants.STYLE_FONTFAMILY]),c=e.width+b,a=e.height+a,mxUtils.getValue(d,mxConstants.STYLE_HORIZONTAL,!0)||(d=a,a=c,c=d),this.gridEnabled&&(c=this.snap(c+this.gridSize/2),a=this.snap(a+this.gridSize/2)),b=new mxRectangle(0,0,c,a)):(d=4*this.gridSize,b=new mxRectangle(0,0,d,d))}}return b};mxGraph.prototype.resizeCell=function(a,b,c){return this.resizeCells([a],[b],c)[0]};
- mxGraph.prototype.resizeCells=function(a,b,c){c=null!=c?c:this.isRecursiveResize();this.model.beginUpdate();try{this.cellsResized(a,b,c),this.fireEvent(new mxEventObject(mxEvent.RESIZE_CELLS,"cells",a,"bounds",b))}finally{this.model.endUpdate()}return a};
- mxGraph.prototype.cellsResized=function(a,b,c){c=null!=c?c:!1;if(null!=a&&null!=b&&a.length==b.length){this.model.beginUpdate();try{for(var d=0;d<a.length;d++)this.cellResized(a[d],b[d],!1,c),this.isExtendParent(a[d])&&this.extendParent(a[d]),this.constrainChild(a[d]);this.resetEdgesOnResize&&this.resetEdges(a);this.fireEvent(new mxEventObject(mxEvent.CELLS_RESIZED,"cells",a,"bounds",b))}finally{this.model.endUpdate()}}};
- mxGraph.prototype.cellResized=function(a,b,c,d){var e=this.model.getGeometry(a);if(null!=e&&(e.x!=b.x||e.y!=b.y||e.width!=b.width||e.height!=b.height)){e=e.clone();!c&&e.relative?(c=e.offset,null!=c&&(c.x+=b.x-e.x,c.y+=b.y-e.y)):(e.x=b.x,e.y=b.y);e.width=b.width;e.height=b.height;e.relative||!this.model.isVertex(a)||this.isAllowNegativeCoordinates()||(e.x=Math.max(0,e.x),e.y=Math.max(0,e.y));this.model.beginUpdate();try{d&&this.resizeChildCells(a,e),this.model.setGeometry(a,e),this.constrainChildCells(a)}finally{this.model.endUpdate()}}};
- mxGraph.prototype.resizeChildCells=function(a,b){for(var c=this.model.getGeometry(a),d=b.width/c.width,c=b.height/c.height,e=this.model.getChildCount(a),f=0;f<e;f++)this.scaleCell(this.model.getChildAt(a,f),d,c,!0)};mxGraph.prototype.constrainChildCells=function(a){for(var b=this.model.getChildCount(a),c=0;c<b;c++)this.constrainChild(this.model.getChildAt(a,c))};
- mxGraph.prototype.scaleCell=function(a,b,c,d){var e=this.model.getGeometry(a);if(null!=e){var f=this.view.getState(a),f=null!=f?f.style:this.getCellStyle(a),e=e.clone(),g=e.x,k=e.y,l=e.width,m=e.height;e.scale(b,c,"fixed"==f[mxConstants.STYLE_ASPECT]);"1"==f[mxConstants.STYLE_RESIZE_WIDTH]?e.width=l*b:"0"==f[mxConstants.STYLE_RESIZE_WIDTH]&&(e.width=l);"1"==f[mxConstants.STYLE_RESIZE_HEIGHT]?e.height=m*c:"0"==f[mxConstants.STYLE_RESIZE_HEIGHT]&&(e.height=m);this.isCellMovable(a)||(e.x=g,e.y=k);this.isCellResizable(a)||
- (e.width=l,e.height=m);this.model.isVertex(a)?this.cellResized(a,e,!0,d):this.model.setGeometry(a,e)}};mxGraph.prototype.extendParent=function(a){if(null!=a){var b=this.model.getParent(a),c=this.getCellGeometry(b);null==b||null==c||this.isCellCollapsed(b)||(a=this.getCellGeometry(a),null!=a&&!a.relative&&(c.width<a.x+a.width||c.height<a.y+a.height)&&(c=c.clone(),c.width=Math.max(c.width,a.x+a.width),c.height=Math.max(c.height,a.y+a.height),this.cellsResized([b],[c],!1)))}};
- mxGraph.prototype.importCells=function(a,b,c,d,e,f){return this.moveCells(a,b,c,!0,d,e,f)};
- mxGraph.prototype.moveCells=function(a,b,c,d,e,f,g){b=null!=b?b:0;c=null!=c?c:0;d=null!=d?d:!1;if(null!=a&&(0!=b||0!=c||d||null!=e)){a=this.model.getTopmostCells(a);this.model.beginUpdate();try{for(var k=new mxDictionary,l=0;l<a.length;l++)k.put(a[l],!0);for(var m=mxUtils.bind(this,function(a){for(;null!=a;){if(k.get(a))return!0;a=this.model.getParent(a)}return!1}),n=[],l=0;l<a.length;l++){var p=this.getCellGeometry(a[l]),q=this.model.getParent(a[l]);null!=p&&p.relative&&this.model.isEdge(q)&&(m(this.model.getTerminal(q,
- !0))||m(this.model.getTerminal(q,!1)))||n.push(a[l])}a=n;d&&(a=this.cloneCells(a,this.isCloneInvalidEdges(),g),null==e&&(e=this.getDefaultParent()));var r=this.isAllowNegativeCoordinates();null!=e&&this.setAllowNegativeCoordinates(!0);this.cellsMoved(a,b,c,!d&&this.isDisconnectOnMove()&&this.isAllowDanglingEdges(),null==e,this.isExtendParentsOnMove()&&null==e);this.setAllowNegativeCoordinates(r);if(null!=e){var t=this.model.getChildCount(e);this.cellsAdded(a,e,t,null,null,!0)}this.fireEvent(new mxEventObject(mxEvent.MOVE_CELLS,
- "cells",a,"dx",b,"dy",c,"clone",d,"target",e,"event",f))}finally{this.model.endUpdate()}}return a};
- mxGraph.prototype.cellsMoved=function(a,b,c,d,e,f){if(null!=a&&(0!=b||0!=c)){f=null!=f?f:!1;this.model.beginUpdate();try{d&&this.disconnectGraph(a);for(var g=0;g<a.length;g++)this.translateCell(a[g],b,c),f&&this.isExtendParent(a[g])?this.extendParent(a[g]):e&&this.constrainChild(a[g]);this.resetEdgesOnMove&&this.resetEdges(a);this.fireEvent(new mxEventObject(mxEvent.CELLS_MOVED,"cells",a,"dx",b,"dy",c,"disconnect",d))}finally{this.model.endUpdate()}}};
- mxGraph.prototype.translateCell=function(a,b,c){var d=this.model.getGeometry(a);if(null!=d){b=parseFloat(b);c=parseFloat(c);d=d.clone();d.translate(b,c);d.relative||!this.model.isVertex(a)||this.isAllowNegativeCoordinates()||(d.x=Math.max(0,parseFloat(d.x)),d.y=Math.max(0,parseFloat(d.y)));if(d.relative&&!this.model.isEdge(a)){var e=this.model.getParent(a),f=0;this.model.isVertex(e)&&(f=this.view.getState(e),e=null!=f?f.style:this.getCellStyle(e),f=mxUtils.getValue(e,mxConstants.STYLE_ROTATION,0));
- 0!=f&&(f=mxUtils.toRadians(-f),e=Math.cos(f),f=Math.sin(f),c=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,new mxPoint(0,0)),b=c.x,c=c.y);null==d.offset?d.offset=new mxPoint(b,c):(d.offset.x=parseFloat(d.offset.x)+b,d.offset.y=parseFloat(d.offset.y)+c)}this.model.setGeometry(a,d)}};
- mxGraph.prototype.getCellContainmentArea=function(a){if(null!=a&&!this.model.isEdge(a)){var b=this.model.getParent(a);if(null!=b&&b!=this.getDefaultParent()){var c=this.model.getGeometry(b);if(null!=c){var d=a=0,e=c.width,c=c.height;if(this.isSwimlane(b)){var f=this.getStartSize(b),g=this.view.getState(b),k=null!=g?g.style:this.getCellStyle(b),b=mxUtils.getValue(k,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST),g=1==mxUtils.getValue(k,mxConstants.STYLE_FLIPH,0),k=1==mxUtils.getValue(k,mxConstants.STYLE_FLIPV,
- 0);if(b==mxConstants.DIRECTION_SOUTH||b==mxConstants.DIRECTION_NORTH){var l=f.width;f.width=f.height;f.height=l}if(b==mxConstants.DIRECTION_EAST&&!k||b==mxConstants.DIRECTION_NORTH&&!g||b==mxConstants.DIRECTION_WEST&&k||b==mxConstants.DIRECTION_SOUTH&&g)a=f.width,d=f.height;e-=f.width;c-=f.height}return new mxRectangle(a,d,e,c)}}}return null};mxGraph.prototype.getMaximumGraphBounds=function(){return this.maximumGraphBounds};
- mxGraph.prototype.constrainChild=function(a,b){if(null!=a){var c=this.getCellGeometry(a);if(null!=c&&(this.isConstrainRelativeChildren()||!c.relative)){var d=this.model.getParent(a);this.getCellGeometry(d);var e=this.getMaximumGraphBounds();null!=e&&(d=this.getBoundingBoxFromGeometry([d],!1),null!=d&&(e=mxRectangle.fromRectangle(e),e.x-=d.x,e.y-=d.y));if(this.isConstrainChild(a)&&(d=this.getCellContainmentArea(a),null!=d)){var f=this.getOverlap(a);0<f&&(d=mxRectangle.fromRectangle(d),d.x-=d.width*
- f,d.y-=d.height*f,d.width+=2*d.width*f,d.height+=2*d.height*f);null==e?e=d:(e=mxRectangle.fromRectangle(e),e.intersect(d))}if(null!=e){d=[a];if(!this.isCellCollapsed(a))for(var f=this.model.getDescendants(a),g=0;g<f.length;g++)this.isCellVisible(f[g])&&d.push(f[g]);d=this.getBoundingBoxFromGeometry(d,!1);if(null!=d){c=c.clone();f=0;c.width>e.width&&(f=c.width-e.width,c.width-=f);d.x+d.width>e.x+e.width&&(f-=d.x+d.width-e.x-e.width-f);g=0;c.height>e.height&&(g=c.height-e.height,c.height-=g);d.y+d.height>
- e.y+e.height&&(g-=d.y+d.height-e.y-e.height-g);d.x<e.x&&(f-=d.x-e.x);d.y<e.y&&(g-=d.y-e.y);if(0!=f||0!=g)c.relative?(null==c.offset&&(c.offset=new mxPoint),c.offset.x+=f,c.offset.y+=g):(c.x+=f,c.y+=g);this.model.setGeometry(a,c)}}}}};
- mxGraph.prototype.resetEdges=function(a){if(null!=a){for(var b=new mxDictionary,c=0;c<a.length;c++)b.put(a[c],!0);this.model.beginUpdate();try{for(c=0;c<a.length;c++){var d=this.model.getEdges(a[c]);if(null!=d)for(var e=0;e<d.length;e++){var f=this.view.getState(d[e]),g=null!=f?f.getVisibleTerminal(!0):this.view.getVisibleTerminal(d[e],!0),k=null!=f?f.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[e],!1);b.get(g)&&b.get(k)||this.resetEdge(d[e])}this.resetEdges(this.model.getChildren(a[c]))}}finally{this.model.endUpdate()}}};
- mxGraph.prototype.resetEdge=function(a){var b=this.model.getGeometry(a);null!=b&&null!=b.points&&0<b.points.length&&(b=b.clone(),b.points=[],this.model.setGeometry(a,b));return a};
- mxGraph.prototype.getOutlineConstraint=function(a,b,c){if(null!=b.shape){c=this.view.getPerimeterBounds(b);var d=b.style[mxConstants.STYLE_DIRECTION];if(d==mxConstants.DIRECTION_NORTH||d==mxConstants.DIRECTION_SOUTH){c.x+=c.width/2-c.height/2;c.y+=c.height/2-c.width/2;var e=c.width;c.width=c.height;c.height=e}var f=mxUtils.toRadians(b.shape.getShapeRotation());if(0!=f){var e=Math.cos(-f),f=Math.sin(-f),g=new mxPoint(c.getCenterX(),c.getCenterY());a=mxUtils.getRotatedPoint(a,e,f,g)}var g=f=1,k=0,l=
- 0;if(this.getModel().isVertex(b.cell)){var m=b.style[mxConstants.STYLE_FLIPH],n=b.style[mxConstants.STYLE_FLIPV];null!=b.shape&&null!=b.shape.stencil&&(m=1==mxUtils.getValue(b.style,"stencilFlipH",0)||m,n=1==mxUtils.getValue(b.style,"stencilFlipV",0)||n);if(d==mxConstants.DIRECTION_NORTH||d==mxConstants.DIRECTION_SOUTH)e=m,m=n,n=e;m&&(f=-1,k=-c.width);n&&(g=-1,l=-c.height)}a=new mxPoint((a.x-c.x)*f-k+c.x,(a.y-c.y)*g-l+c.y);return new mxConnectionConstraint(new mxPoint(Math.round(1E3*(a.x-c.x)/c.width)/
- 1E3,Math.round(1E3*(a.y-c.y)/c.height)/1E3),!1)}return null};mxGraph.prototype.getAllConnectionConstraints=function(a,b){return null!=a&&null!=a.shape&&null!=a.shape.stencil?a.shape.stencil.constraints:null};
- mxGraph.prototype.getConnectionConstraint=function(a,b,c){b=null;var d=a.style[c?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X];if(null!=d){var e=a.style[c?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y];null!=e&&(b=new mxPoint(parseFloat(d),parseFloat(e)))}d=!1;null!=b&&(d=mxUtils.getValue(a.style,c?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,!0));return new mxConnectionConstraint(b,d)};
- mxGraph.prototype.setConnectionConstraint=function(a,b,c,d){if(null!=d){this.model.beginUpdate();try{null==d||null==d.point?(this.setCellStyles(c?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X,null,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y,null,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,null,[a])):null!=d.point&&(this.setCellStyles(c?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X,d.point.x,[a]),this.setCellStyles(c?
- mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y,d.point.y,[a]),d.perimeter?this.setCellStyles(c?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,null,[a]):this.setCellStyles(c?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,"0",[a]))}finally{this.model.endUpdate()}}};
- mxGraph.prototype.getConnectionPoint=function(a,b){var c=null;if(null!=a&&null!=b.point){var c=this.view.getPerimeterBounds(a),d=new mxPoint(c.getCenterX(),c.getCenterY()),e=a.style[mxConstants.STYLE_DIRECTION],f=0;null!=e&&(e==mxConstants.DIRECTION_NORTH?f+=270:e==mxConstants.DIRECTION_WEST?f+=180:e==mxConstants.DIRECTION_SOUTH&&(f+=90),e!=mxConstants.DIRECTION_NORTH&&e!=mxConstants.DIRECTION_SOUTH||c.rotate90());var c=new mxPoint(c.x+b.point.x*c.width,c.y+b.point.y*c.height),g=a.style[mxConstants.STYLE_ROTATION]||
- 0;if(b.perimeter){if(0!=f){var k=e=0;90==f?k=1:180==f?e=-1:270==f&&(k=-1);c=mxUtils.getRotatedPoint(c,e,k,d)}c=this.view.getPerimeterPoint(a,c,!1)}else g+=f;0!=g&&null!=c&&(f=mxUtils.toRadians(g),e=Math.cos(f),k=Math.sin(f),c=mxUtils.getRotatedPoint(c,e,k,d))}null!=c&&(c.x=Math.round(c.x),c.y=Math.round(c.y));return c};
- mxGraph.prototype.connectCell=function(a,b,c,d){this.model.beginUpdate();try{var e=this.model.getTerminal(a,c);this.cellConnected(a,b,c,d);this.fireEvent(new mxEventObject(mxEvent.CONNECT_CELL,"edge",a,"terminal",b,"source",c,"previous",e))}finally{this.model.endUpdate()}return a};
- mxGraph.prototype.cellConnected=function(a,b,c,d){if(null!=a){this.model.beginUpdate();try{var e=this.model.getTerminal(a,c);this.setConnectionConstraint(a,b,c,d);this.isPortsEnabled()&&(d=null,this.isPort(b)&&(d=b.getId(),b=this.getTerminalForPort(b,c)),this.setCellStyles(c?mxConstants.STYLE_SOURCE_PORT:mxConstants.STYLE_TARGET_PORT,d,[a]));this.model.setTerminal(a,b,c);this.resetEdgesOnConnect&&this.resetEdge(a);this.fireEvent(new mxEventObject(mxEvent.CELL_CONNECTED,"edge",a,"terminal",b,"source",
- c,"previous",e))}finally{this.model.endUpdate()}}};
- mxGraph.prototype.disconnectGraph=function(a){if(null!=a){this.model.beginUpdate();try{for(var b=this.view.scale,c=this.view.translate,d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<a.length;e++)if(this.model.isEdge(a[e])){var f=this.model.getGeometry(a[e]);if(null!=f){var g=this.view.getState(a[e]),k=this.view.getState(this.model.getParent(a[e]));if(null!=g&&null!=k){var f=f.clone(),l=-k.origin.x,m=-k.origin.y,n=g.absolutePoints,p=this.model.getTerminal(a[e],!0);if(null!=p&&this.isCellDisconnectable(a[e],
- p,!0)){for(;null!=p&&!d.get(p);)p=this.model.getParent(p);null==p&&(f.setTerminalPoint(new mxPoint(n[0].x/b-c.x+l,n[0].y/b-c.y+m),!0),this.model.setTerminal(a[e],null,!0))}var q=this.model.getTerminal(a[e],!1);if(null!=q&&this.isCellDisconnectable(a[e],q,!1)){for(;null!=q&&!d.get(q);)q=this.model.getParent(q);if(null==q){var r=n.length-1;f.setTerminalPoint(new mxPoint(n[r].x/b-c.x+l,n[r].y/b-c.y+m),!1);this.model.setTerminal(a[e],null,!1)}}this.model.setGeometry(a[e],f)}}}}finally{this.model.endUpdate()}}};
- mxGraph.prototype.getCurrentRoot=function(){return this.view.currentRoot};mxGraph.prototype.getTranslateForRoot=function(a){return null};mxGraph.prototype.isPort=function(a){return!1};mxGraph.prototype.getTerminalForPort=function(a,b){return this.model.getParent(a)};mxGraph.prototype.getChildOffsetForCell=function(a){return null};mxGraph.prototype.enterGroup=function(a){a=a||this.getSelectionCell();null!=a&&this.isValidRoot(a)&&(this.view.setCurrentRoot(a),this.clearSelection())};
- mxGraph.prototype.exitGroup=function(){var a=this.model.getRoot(),b=this.getCurrentRoot();if(null!=b){for(var c=this.model.getParent(b);c!=a&&!this.isValidRoot(c)&&this.model.getParent(c)!=a;)c=this.model.getParent(c);c==a||this.model.getParent(c)==a?this.view.setCurrentRoot(null):this.view.setCurrentRoot(c);null!=this.view.getState(b)&&this.setSelectionCell(b)}};mxGraph.prototype.home=function(){var a=this.getCurrentRoot();null!=a&&(this.view.setCurrentRoot(null),null!=this.view.getState(a)&&this.setSelectionCell(a))};
- mxGraph.prototype.isValidRoot=function(a){return null!=a};mxGraph.prototype.getGraphBounds=function(){return this.view.getGraphBounds()};mxGraph.prototype.getCellBounds=function(a,b,c){var d=[a];b&&(d=d.concat(this.model.getEdges(a)));d=this.view.getBounds(d);if(c){c=this.model.getChildCount(a);for(var e=0;e<c;e++){var f=this.getCellBounds(this.model.getChildAt(a,e),b,!0);null!=d?d.add(f):d=f}}return d};
- mxGraph.prototype.getBoundingBoxFromGeometry=function(a,b){b=null!=b?b:!1;var c=null;if(null!=a)for(var d=0;d<a.length;d++)if(b||this.model.isVertex(a[d])){var e=this.getCellGeometry(a[d]);if(null!=e){var f=null;if(this.model.isEdge(a[d])){f=function(a){null!=a&&(null==g?g=new mxRectangle(a.x,a.y,0,0):g.add(new mxRectangle(a.x,a.y,0,0)))};null==this.model.getTerminal(a[d],!0)&&f(e.getTerminalPoint(!0));null==this.model.getTerminal(a[d],!1)&&f(e.getTerminalPoint(!1));e=e.points;if(null!=e&&0<e.length)for(var g=
- new mxRectangle(e[0].x,e[0].y,0,0),k=1;k<e.length;k++)f(e[k]);f=g}else k=this.model.getParent(a[d]),e.relative?this.model.isVertex(k)&&k!=this.view.currentRoot&&(g=this.getBoundingBoxFromGeometry([k],!1),null!=g&&(f=new mxRectangle(e.x*g.width,e.y*g.height,e.width,e.height),0<=mxUtils.indexOf(a,k)&&(f.x+=g.x,f.y+=g.y))):(f=mxRectangle.fromRectangle(e),this.model.isVertex(k)&&0<=mxUtils.indexOf(a,k)&&(g=this.getBoundingBoxFromGeometry([k],!1),null!=g&&(f.x+=g.x,f.y+=g.y))),null!=f&&null!=e.offset&&
- (f.x+=e.offset.x,f.y+=e.offset.y);null!=f&&(null==c?c=mxRectangle.fromRectangle(f):c.add(f))}}return c};mxGraph.prototype.refresh=function(a){this.view.clear(a,null==a);this.view.validate();this.sizeDidChange();this.fireEvent(new mxEventObject(mxEvent.REFRESH))};mxGraph.prototype.snap=function(a){this.gridEnabled&&(a=Math.round(a/this.gridSize)*this.gridSize);return a};
- mxGraph.prototype.panGraph=function(a,b){if(this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container))this.container.scrollLeft=-a,this.container.scrollTop=-b;else{var c=this.view.getCanvas();if(this.dialect==mxConstants.DIALECT_SVG)if(0==a&&0==b){if(mxClient.IS_IE?c.setAttribute("transform","translate("+a+","+b+")"):c.removeAttribute("transform"),null!=this.shiftPreview1){for(var d=this.shiftPreview1.firstChild;null!=d;){var e=d.nextSibling;this.container.appendChild(d);d=e}null!=this.shiftPreview1.parentNode&&
- this.shiftPreview1.parentNode.removeChild(this.shiftPreview1);this.shiftPreview1=null;this.container.appendChild(c.parentNode);for(d=this.shiftPreview2.firstChild;null!=d;)e=d.nextSibling,this.container.appendChild(d),d=e;null!=this.shiftPreview2.parentNode&&this.shiftPreview2.parentNode.removeChild(this.shiftPreview2);this.shiftPreview2=null}}else{c.setAttribute("transform","translate("+a+","+b+")");if(null==this.shiftPreview1){this.shiftPreview1=document.createElement("div");this.shiftPreview1.style.position=
- "absolute";this.shiftPreview1.style.overflow="visible";this.shiftPreview2=document.createElement("div");this.shiftPreview2.style.position="absolute";this.shiftPreview2.style.overflow="visible";for(var f=this.shiftPreview1,d=this.container.firstChild;null!=d;)e=d.nextSibling,d!=c.parentNode?f.appendChild(d):f=this.shiftPreview2,d=e;null!=this.shiftPreview1.firstChild&&this.container.insertBefore(this.shiftPreview1,c.parentNode);null!=this.shiftPreview2.firstChild&&this.container.appendChild(this.shiftPreview2)}this.shiftPreview1.style.left=
- a+"px";this.shiftPreview1.style.top=b+"px";this.shiftPreview2.style.left=a+"px";this.shiftPreview2.style.top=b+"px"}else c.style.left=a+"px",c.style.top=b+"px";this.panDx=a;this.panDy=b;this.fireEvent(new mxEventObject(mxEvent.PAN))}};mxGraph.prototype.zoomIn=function(){this.zoom(this.zoomFactor)};mxGraph.prototype.zoomOut=function(){this.zoom(1/this.zoomFactor)};
- mxGraph.prototype.zoomActual=function(){1==this.view.scale?this.view.setTranslate(0,0):(this.view.translate.x=0,this.view.translate.y=0,this.view.setScale(1))};mxGraph.prototype.zoomTo=function(a,b){this.zoom(a/this.view.scale,b)};
- mxGraph.prototype.center=function(a,b,c,d){a=null!=a?a:!0;b=null!=b?b:!0;c=null!=c?c:.5;d=null!=d?d:.5;var e=mxUtils.hasScrollbars(this.container),f=this.container.clientWidth,g=this.container.clientHeight,k=this.getGraphBounds(),l=this.view.translate,m=this.view.scale,n=a?f-k.width:0,p=b?g-k.height:0;e?(k.x-=l.x,k.y-=l.y,a=this.container.scrollWidth,b=this.container.scrollHeight,a>f&&(n=0),b>g&&(p=0),this.view.setTranslate(Math.floor(n/2-k.x),Math.floor(p/2-k.y)),this.container.scrollLeft=(a-f)/
- 2,this.container.scrollTop=(b-g)/2):this.view.setTranslate(a?Math.floor(l.x-k.x*m+n*c/m):l.x,b?Math.floor(l.y-k.y*m+p*d/m):l.y)};
- mxGraph.prototype.zoom=function(a,b){b=null!=b?b:this.centerZoom;var c=Math.round(this.view.scale*a*100)/100,d=this.view.getState(this.getSelectionCell());a=c/this.view.scale;if(this.keepSelectionVisibleOnZoom&&null!=d)d=new mxRectangle(d.x*a,d.y*a,d.width*a,d.height*a),this.view.scale=c,this.scrollRectToVisible(d)||(this.view.revalidate(),this.view.setScale(c));else if(d=mxUtils.hasScrollbars(this.container),b&&!d){var d=this.container.offsetWidth,e=this.container.offsetHeight;if(1<a)var f=(a-1)/
- (2*c),d=d*-f,e=e*-f;else f=(1/a-1)/(2*this.view.scale),d*=f,e*=f;this.view.scaleAndTranslate(c,this.view.translate.x+d,this.view.translate.y+e)}else{var f=this.view.translate.x,g=this.view.translate.y,k=this.container.scrollLeft,l=this.container.scrollTop;this.view.setScale(c);d&&(e=d=0,b&&(d=this.container.offsetWidth*(a-1)/2,e=this.container.offsetHeight*(a-1)/2),this.container.scrollLeft=(this.view.translate.x-f)*this.view.scale+Math.round(k*a+d),this.container.scrollTop=(this.view.translate.y-
- g)*this.view.scale+Math.round(l*a+e))}};
- mxGraph.prototype.zoomToRect=function(a){var b=this.container.clientWidth/a.width/(this.container.clientHeight/a.height);a.x=Math.max(0,a.x);a.y=Math.max(0,a.y);var c=Math.min(this.container.scrollWidth,a.x+a.width),d=Math.min(this.container.scrollHeight,a.y+a.height);a.width=c-a.x;a.height=d-a.y;1>b?(b=a.height/b,c=(b-a.height)/2,a.height=b,a.y-=Math.min(a.y,c),d=Math.min(this.container.scrollHeight,a.y+a.height),a.height=d-a.y):(b*=a.width,c=(b-a.width)/2,a.width=b,a.x-=Math.min(a.x,c),c=Math.min(this.container.scrollWidth,
- a.x+a.width),a.width=c-a.x);b=this.container.clientWidth/a.width;c=this.view.scale*b;mxUtils.hasScrollbars(this.container)?(this.view.setScale(c),this.container.scrollLeft=Math.round(a.x*b),this.container.scrollTop=Math.round(a.y*b)):this.view.scaleAndTranslate(c,this.view.translate.x-a.x/this.view.scale,this.view.translate.y-a.y/this.view.scale)};
- mxGraph.prototype.scrollCellToVisible=function(a,b){var c=-this.view.translate.x,d=-this.view.translate.y,e=this.view.getState(a);null!=e&&(c=new mxRectangle(c+e.x,d+e.y,e.width,e.height),b&&null!=this.container&&(d=this.container.clientWidth,e=this.container.clientHeight,c.x=c.getCenterX()-d/2,c.width=d,c.y=c.getCenterY()-e/2,c.height=e),d=new mxPoint(this.view.translate.x,this.view.translate.y),this.scrollRectToVisible(c)&&(c=new mxPoint(this.view.translate.x,this.view.translate.y),this.view.translate.x=
- d.x,this.view.translate.y=d.y,this.view.setTranslate(c.x,c.y)))};
- mxGraph.prototype.scrollRectToVisible=function(a){var b=!1;if(null!=a){var c=this.container.offsetWidth,d=this.container.offsetHeight,e=Math.min(c,a.width),f=Math.min(d,a.height);if(mxUtils.hasScrollbars(this.container)){c=this.container;a.x+=this.view.translate.x;a.y+=this.view.translate.y;var g=c.scrollLeft-a.x,d=Math.max(g-c.scrollLeft,0);0<g?c.scrollLeft-=g+2:(g=a.x+e-c.scrollLeft-c.clientWidth,0<g&&(c.scrollLeft+=g+2));e=c.scrollTop-a.y;g=Math.max(0,e-c.scrollTop);0<e?c.scrollTop-=e+2:(e=a.y+
- f-c.scrollTop-c.clientHeight,0<e&&(c.scrollTop+=e+2));this.useScrollbarsForPanning||0==d&&0==g||this.view.setTranslate(d,g)}else{var g=-this.view.translate.x,k=-this.view.translate.y,l=this.view.scale;a.x+e>g+c&&(this.view.translate.x-=(a.x+e-c-g)/l,b=!0);a.y+f>k+d&&(this.view.translate.y-=(a.y+f-d-k)/l,b=!0);a.x<g&&(this.view.translate.x+=(g-a.x)/l,b=!0);a.y<k&&(this.view.translate.y+=(k-a.y)/l,b=!0);b&&(this.view.refresh(),null!=this.selectionCellsHandler&&this.selectionCellsHandler.refresh())}}return b};
- mxGraph.prototype.getCellGeometry=function(a){return this.model.getGeometry(a)};mxGraph.prototype.isCellVisible=function(a){return this.model.isVisible(a)};mxGraph.prototype.isCellCollapsed=function(a){return this.model.isCollapsed(a)};mxGraph.prototype.isCellConnectable=function(a){return this.model.isConnectable(a)};
- mxGraph.prototype.isOrthogonal=function(a){var b=a.style[mxConstants.STYLE_ORTHOGONAL];if(null!=b)return b;a=this.view.getEdgeStyle(a);return a==mxEdgeStyle.SegmentConnector||a==mxEdgeStyle.ElbowConnector||a==mxEdgeStyle.SideToSide||a==mxEdgeStyle.TopToBottom||a==mxEdgeStyle.EntityRelation||a==mxEdgeStyle.OrthConnector};mxGraph.prototype.isLoop=function(a){var b=a.getVisibleTerminalState(!0);a=a.getVisibleTerminalState(!1);return null!=b&&b==a};mxGraph.prototype.isCloneEvent=function(a){return mxEvent.isControlDown(a)};
- mxGraph.prototype.isTransparentClickEvent=function(a){return!1};mxGraph.prototype.isToggleEvent=function(a){return mxClient.IS_MAC?mxEvent.isMetaDown(a):mxEvent.isControlDown(a)};mxGraph.prototype.isGridEnabledEvent=function(a){return null!=a&&!mxEvent.isAltDown(a)};mxGraph.prototype.isConstrainedEvent=function(a){return mxEvent.isShiftDown(a)};mxGraph.prototype.isIgnoreTerminalEvent=function(a){return!1};mxGraph.prototype.validationAlert=function(a){mxUtils.alert(a)};
- mxGraph.prototype.isEdgeValid=function(a,b,c){return null==this.getEdgeValidationError(a,b,c)};
- mxGraph.prototype.getEdgeValidationError=function(a,b,c){if(null!=a&&!this.isAllowDanglingEdges()&&(null==b||null==c))return"";if(null!=a&&null==this.model.getTerminal(a,!0)&&null==this.model.getTerminal(a,!1))return null;if(!this.allowLoops&&b==c&&null!=b||!this.isValidConnection(b,c))return"";if(null!=b&&null!=c){var d="";if(!this.multigraph){var e=this.model.getEdgesBetween(b,c,!0);if(1<e.length||1==e.length&&e[0]!=a)d+=(mxResources.get(this.alreadyConnectedResource)||this.alreadyConnectedResource)+
- "\n"}var e=this.model.getDirectedEdgeCount(b,!0,a),f=this.model.getDirectedEdgeCount(c,!1,a);if(null!=this.multiplicities)for(var g=0;g<this.multiplicities.length;g++){var k=this.multiplicities[g].check(this,a,b,c,e,f);null!=k&&(d+=k)}k=this.validateEdge(a,b,c);null!=k&&(d+=k);return 0<d.length?d:null}return this.allowDanglingEdges?null:""};mxGraph.prototype.validateEdge=function(a,b,c){return null};
- mxGraph.prototype.validateGraph=function(a,b){a=null!=a?a:this.model.getRoot();b=null!=b?b:{};for(var c=!0,d=this.model.getChildCount(a),e=0;e<d;e++){var f=this.model.getChildAt(a,e),g=b;this.isValidRoot(f)&&(g={});g=this.validateGraph(f,g);null!=g?this.setCellWarning(f,g.replace(/\n/g,"<br>")):this.setCellWarning(f,null);c=c&&null==g}d="";this.isCellCollapsed(a)&&!c&&(d+=(mxResources.get(this.containsValidationErrorsResource)||this.containsValidationErrorsResource)+"\n");d=this.model.isEdge(a)?d+
- (this.getEdgeValidationError(a,this.model.getTerminal(a,!0),this.model.getTerminal(a,!1))||""):d+(this.getCellValidationError(a)||"");e=this.validateCell(a,b);null!=e&&(d+=e);null==this.model.getParent(a)&&this.view.validate();return 0<d.length||!c?d:null};
- mxGraph.prototype.getCellValidationError=function(a){var b=this.model.getDirectedEdgeCount(a,!0),c=this.model.getDirectedEdgeCount(a,!1);a=this.model.getValue(a);var d="";if(null!=this.multiplicities)for(var e=0;e<this.multiplicities.length;e++){var f=this.multiplicities[e];f.source&&mxUtils.isNode(a,f.type,f.attr,f.value)&&(b>f.max||b<f.min)?d+=f.countError+"\n":!f.source&&mxUtils.isNode(a,f.type,f.attr,f.value)&&(c>f.max||c<f.min)&&(d+=f.countError+"\n")}return 0<d.length?d:null};
- mxGraph.prototype.validateCell=function(a,b){return null};mxGraph.prototype.getBackgroundImage=function(){return this.backgroundImage};mxGraph.prototype.setBackgroundImage=function(a){this.backgroundImage=a};mxGraph.prototype.getFoldingImage=function(a){if(null!=a&&this.foldingEnabled&&!this.getModel().isEdge(a.cell)){var b=this.isCellCollapsed(a.cell);if(this.isCellFoldable(a.cell,!b))return b?this.collapsedImage:this.expandedImage}return null};
- mxGraph.prototype.convertValueToString=function(a){a=this.model.getValue(a);if(null!=a){if(mxUtils.isNode(a))return a.nodeName;if("function"==typeof a.toString)return a.toString()}return""};mxGraph.prototype.getLabel=function(a){var b="";if(this.labelsVisible&&null!=a){var c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);mxUtils.getValue(c,mxConstants.STYLE_NOLABEL,!1)||(b=this.convertValueToString(a))}return b};mxGraph.prototype.isHtmlLabel=function(a){return this.isHtmlLabels()};
- mxGraph.prototype.isHtmlLabels=function(){return this.htmlLabels};mxGraph.prototype.setHtmlLabels=function(a){this.htmlLabels=a};mxGraph.prototype.isWrapping=function(a){var b=this.view.getState(a);a=null!=b?b.style:this.getCellStyle(a);return null!=a?"wrap"==a[mxConstants.STYLE_WHITE_SPACE]:!1};mxGraph.prototype.isLabelClipped=function(a){var b=this.view.getState(a);a=null!=b?b.style:this.getCellStyle(a);return null!=a?"hidden"==a[mxConstants.STYLE_OVERFLOW]:!1};
- mxGraph.prototype.getTooltip=function(a,b,c,d){var e=null;null!=a&&(null==a.control||b!=a.control.node&&b.parentNode!=a.control.node||(e=this.collapseExpandResource,e=mxUtils.htmlEntities(mxResources.get(e)||e).replace(/\\n/g,"<br>")),null==e&&null!=a.overlays&&a.overlays.visit(function(a,c){null!=e||b!=c.node&&b.parentNode!=c.node||(e=c.overlay.toString())}),null==e&&(c=this.selectionCellsHandler.getHandler(a.cell),null!=c&&"function"==typeof c.getTooltipForNode&&(e=c.getTooltipForNode(b))),null==
- e&&(e=this.getTooltipForCell(a.cell)));return e};mxGraph.prototype.getTooltipForCell=function(a){return null!=a&&null!=a.getTooltip?a.getTooltip():this.convertValueToString(a)};mxGraph.prototype.getCursorForMouseEvent=function(a){return this.getCursorForCell(a.getCell())};mxGraph.prototype.getCursorForCell=function(a){return null};
- mxGraph.prototype.getStartSize=function(a){var b=new mxRectangle,c=this.view.getState(a);a=null!=c?c.style:this.getCellStyle(a);null!=a&&(c=parseInt(mxUtils.getValue(a,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),mxUtils.getValue(a,mxConstants.STYLE_HORIZONTAL,!0)?b.height=c:b.width=c);return b};mxGraph.prototype.getImage=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_IMAGE]:null};
- mxGraph.prototype.getVerticalAlign=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_VERTICAL_ALIGN]||mxConstants.ALIGN_MIDDLE:null};mxGraph.prototype.getIndicatorColor=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_INDICATOR_COLOR]:null};mxGraph.prototype.getIndicatorGradientColor=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_INDICATOR_GRADIENTCOLOR]:null};
- mxGraph.prototype.getIndicatorShape=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_INDICATOR_SHAPE]:null};mxGraph.prototype.getIndicatorImage=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_INDICATOR_IMAGE]:null};mxGraph.prototype.getBorder=function(){return this.border};mxGraph.prototype.setBorder=function(a){this.border=a};
- mxGraph.prototype.isSwimlane=function(a){if(null!=a&&this.model.getParent(a)!=this.model.getRoot()){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);if(null!=b&&!this.model.isEdge(a))return b[mxConstants.STYLE_SHAPE]==mxConstants.SHAPE_SWIMLANE}return!1};mxGraph.prototype.isResizeContainer=function(){return this.resizeContainer};mxGraph.prototype.setResizeContainer=function(a){this.resizeContainer=a};mxGraph.prototype.isEnabled=function(){return this.enabled};
- mxGraph.prototype.setEnabled=function(a){this.enabled=a};mxGraph.prototype.isEscapeEnabled=function(){return this.escapeEnabled};mxGraph.prototype.setEscapeEnabled=function(a){this.escapeEnabled=a};mxGraph.prototype.isInvokesStopCellEditing=function(){return this.invokesStopCellEditing};mxGraph.prototype.setInvokesStopCellEditing=function(a){this.invokesStopCellEditing=a};mxGraph.prototype.isEnterStopsCellEditing=function(){return this.enterStopsCellEditing};
- mxGraph.prototype.setEnterStopsCellEditing=function(a){this.enterStopsCellEditing=a};mxGraph.prototype.isCellLocked=function(a){var b=this.model.getGeometry(a);return this.isCellsLocked()||null!=b&&this.model.isVertex(a)&&b.relative};mxGraph.prototype.isCellsLocked=function(){return this.cellsLocked};mxGraph.prototype.setCellsLocked=function(a){this.cellsLocked=a};mxGraph.prototype.getCloneableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellCloneable(a)}))};
- mxGraph.prototype.isCellCloneable=function(a){var b=this.view.getState(a);a=null!=b?b.style:this.getCellStyle(a);return this.isCellsCloneable()&&0!=a[mxConstants.STYLE_CLONEABLE]};mxGraph.prototype.isCellsCloneable=function(){return this.cellsCloneable};mxGraph.prototype.setCellsCloneable=function(a){this.cellsCloneable=a};mxGraph.prototype.getExportableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.canExportCell(a)}))};
- mxGraph.prototype.canExportCell=function(a){return this.exportEnabled};mxGraph.prototype.getImportableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.canImportCell(a)}))};mxGraph.prototype.canImportCell=function(a){return this.importEnabled};mxGraph.prototype.isCellSelectable=function(a){return this.isCellsSelectable()};mxGraph.prototype.isCellsSelectable=function(){return this.cellsSelectable};
- mxGraph.prototype.setCellsSelectable=function(a){this.cellsSelectable=a};mxGraph.prototype.getDeletableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellDeletable(a)}))};mxGraph.prototype.isCellDeletable=function(a){var b=this.view.getState(a);a=null!=b?b.style:this.getCellStyle(a);return this.isCellsDeletable()&&0!=a[mxConstants.STYLE_DELETABLE]};mxGraph.prototype.isCellsDeletable=function(){return this.cellsDeletable};
- mxGraph.prototype.setCellsDeletable=function(a){this.cellsDeletable=a};mxGraph.prototype.isLabelMovable=function(a){return!this.isCellLocked(a)&&(this.model.isEdge(a)&&this.edgeLabelsMovable||this.model.isVertex(a)&&this.vertexLabelsMovable)};mxGraph.prototype.isCellRotatable=function(a){var b=this.view.getState(a);return 0!=(null!=b?b.style:this.getCellStyle(a))[mxConstants.STYLE_ROTATABLE]};mxGraph.prototype.getMovableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellMovable(a)}))};
- mxGraph.prototype.isCellMovable=function(a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return this.isCellsMovable()&&!this.isCellLocked(a)&&0!=b[mxConstants.STYLE_MOVABLE]};mxGraph.prototype.isCellsMovable=function(){return this.cellsMovable};mxGraph.prototype.setCellsMovable=function(a){this.cellsMovable=a};mxGraph.prototype.isGridEnabled=function(){return this.gridEnabled};mxGraph.prototype.setGridEnabled=function(a){this.gridEnabled=a};mxGraph.prototype.isPortsEnabled=function(){return this.portsEnabled};
- mxGraph.prototype.setPortsEnabled=function(a){this.portsEnabled=a};mxGraph.prototype.getGridSize=function(){return this.gridSize};mxGraph.prototype.setGridSize=function(a){this.gridSize=a};mxGraph.prototype.getTolerance=function(){return this.tolerance};mxGraph.prototype.setTolerance=function(a){this.tolerance=a};mxGraph.prototype.isVertexLabelsMovable=function(){return this.vertexLabelsMovable};mxGraph.prototype.setVertexLabelsMovable=function(a){this.vertexLabelsMovable=a};
- mxGraph.prototype.isEdgeLabelsMovable=function(){return this.edgeLabelsMovable};mxGraph.prototype.setEdgeLabelsMovable=function(a){this.edgeLabelsMovable=a};mxGraph.prototype.isSwimlaneNesting=function(){return this.swimlaneNesting};mxGraph.prototype.setSwimlaneNesting=function(a){this.swimlaneNesting=a};mxGraph.prototype.isSwimlaneSelectionEnabled=function(){return this.swimlaneSelectionEnabled};mxGraph.prototype.setSwimlaneSelectionEnabled=function(a){this.swimlaneSelectionEnabled=a};
- mxGraph.prototype.isMultigraph=function(){return this.multigraph};mxGraph.prototype.setMultigraph=function(a){this.multigraph=a};mxGraph.prototype.isAllowLoops=function(){return this.allowLoops};mxGraph.prototype.setAllowDanglingEdges=function(a){this.allowDanglingEdges=a};mxGraph.prototype.isAllowDanglingEdges=function(){return this.allowDanglingEdges};mxGraph.prototype.setConnectableEdges=function(a){this.connectableEdges=a};mxGraph.prototype.isConnectableEdges=function(){return this.connectableEdges};
- mxGraph.prototype.setCloneInvalidEdges=function(a){this.cloneInvalidEdges=a};mxGraph.prototype.isCloneInvalidEdges=function(){return this.cloneInvalidEdges};mxGraph.prototype.setAllowLoops=function(a){this.allowLoops=a};mxGraph.prototype.isDisconnectOnMove=function(){return this.disconnectOnMove};mxGraph.prototype.setDisconnectOnMove=function(a){this.disconnectOnMove=a};mxGraph.prototype.isDropEnabled=function(){return this.dropEnabled};
- mxGraph.prototype.setDropEnabled=function(a){this.dropEnabled=a};mxGraph.prototype.isSplitEnabled=function(){return this.splitEnabled};mxGraph.prototype.setSplitEnabled=function(a){this.splitEnabled=a};mxGraph.prototype.isCellResizable=function(a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return this.isCellsResizable()&&!this.isCellLocked(a)&&"0"!=mxUtils.getValue(b,mxConstants.STYLE_RESIZABLE,"1")};mxGraph.prototype.isCellsResizable=function(){return this.cellsResizable};
- mxGraph.prototype.setCellsResizable=function(a){this.cellsResizable=a};mxGraph.prototype.isTerminalPointMovable=function(a,b){return!0};mxGraph.prototype.isCellBendable=function(a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return this.isCellsBendable()&&!this.isCellLocked(a)&&0!=b[mxConstants.STYLE_BENDABLE]};mxGraph.prototype.isCellsBendable=function(){return this.cellsBendable};mxGraph.prototype.setCellsBendable=function(a){this.cellsBendable=a};
- mxGraph.prototype.isCellEditable=function(a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return this.isCellsEditable()&&!this.isCellLocked(a)&&0!=b[mxConstants.STYLE_EDITABLE]};mxGraph.prototype.isCellsEditable=function(){return this.cellsEditable};mxGraph.prototype.setCellsEditable=function(a){this.cellsEditable=a};mxGraph.prototype.isCellDisconnectable=function(a,b,c){return this.isCellsDisconnectable()&&!this.isCellLocked(a)};mxGraph.prototype.isCellsDisconnectable=function(){return this.cellsDisconnectable};
- mxGraph.prototype.setCellsDisconnectable=function(a){this.cellsDisconnectable=a};mxGraph.prototype.isValidSource=function(a){return null==a&&this.allowDanglingEdges||null!=a&&(!this.model.isEdge(a)||this.connectableEdges)&&this.isCellConnectable(a)};mxGraph.prototype.isValidTarget=function(a){return this.isValidSource(a)};mxGraph.prototype.isValidConnection=function(a,b){return this.isValidSource(a)&&this.isValidTarget(b)};mxGraph.prototype.setConnectable=function(a){this.connectionHandler.setEnabled(a)};
- mxGraph.prototype.isConnectable=function(a){return this.connectionHandler.isEnabled()};mxGraph.prototype.setTooltips=function(a){this.tooltipHandler.setEnabled(a)};mxGraph.prototype.setPanning=function(a){this.panningHandler.panningEnabled=a};mxGraph.prototype.isEditing=function(a){if(null!=this.cellEditor){var b=this.cellEditor.getEditingCell();return null==a?null!=b:a==b}return!1};
- mxGraph.prototype.isAutoSizeCell=function(a){var b=this.view.getState(a);a=null!=b?b.style:this.getCellStyle(a);return this.isAutoSizeCells()||1==a[mxConstants.STYLE_AUTOSIZE]};mxGraph.prototype.isAutoSizeCells=function(){return this.autoSizeCells};mxGraph.prototype.setAutoSizeCells=function(a){this.autoSizeCells=a};mxGraph.prototype.isExtendParent=function(a){return!this.getModel().isEdge(a)&&this.isExtendParents()};mxGraph.prototype.isExtendParents=function(){return this.extendParents};
- mxGraph.prototype.setExtendParents=function(a){this.extendParents=a};mxGraph.prototype.isExtendParentsOnAdd=function(a){return this.extendParentsOnAdd};mxGraph.prototype.setExtendParentsOnAdd=function(a){this.extendParentsOnAdd=a};mxGraph.prototype.isExtendParentsOnMove=function(){return this.extendParentsOnMove};mxGraph.prototype.setExtendParentsOnMove=function(a){this.extendParentsOnMove=a};mxGraph.prototype.isRecursiveResize=function(a){return this.recursiveResize};
- mxGraph.prototype.setRecursiveResize=function(a){this.recursiveResize=a};mxGraph.prototype.isConstrainChild=function(a){return this.isConstrainChildren()&&!this.getModel().isEdge(this.getModel().getParent(a))};mxGraph.prototype.isConstrainChildren=function(){return this.constrainChildren};mxGraph.prototype.setConstrainChildren=function(a){this.constrainChildren=a};mxGraph.prototype.isConstrainRelativeChildren=function(){return this.constrainRelativeChildren};
- mxGraph.prototype.setConstrainRelativeChildren=function(a){this.constrainRelativeChildren=a};mxGraph.prototype.isAllowNegativeCoordinates=function(){return this.allowNegativeCoordinates};mxGraph.prototype.setAllowNegativeCoordinates=function(a){this.allowNegativeCoordinates=a};mxGraph.prototype.getOverlap=function(a){return this.isAllowOverlapParent(a)?this.defaultOverlap:0};mxGraph.prototype.isAllowOverlapParent=function(a){return!1};
- mxGraph.prototype.getFoldableCells=function(a,b){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellFoldable(a,b)}))};mxGraph.prototype.isCellFoldable=function(a,b){var c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);return 0<this.model.getChildCount(a)&&0!=c[mxConstants.STYLE_FOLDABLE]};
- mxGraph.prototype.isValidDropTarget=function(a,b,c){return null!=a&&(this.isSplitEnabled()&&this.isSplitTarget(a,b,c)||!this.model.isEdge(a)&&(this.isSwimlane(a)||0<this.model.getChildCount(a)&&!this.isCellCollapsed(a)))};
- mxGraph.prototype.isSplitTarget=function(a,b,c){return this.model.isEdge(a)&&null!=b&&1==b.length&&this.isCellConnectable(b[0])&&null==this.getEdgeValidationError(a,this.model.getTerminal(a,!0),b[0])?(c=this.model.getTerminal(a,!0),a=this.model.getTerminal(a,!1),!this.model.isAncestor(b[0],c)&&!this.model.isAncestor(b[0],a)):!1};
- mxGraph.prototype.getDropTarget=function(a,b,c,d){if(!this.isSwimlaneNesting())for(var e=0;e<a.length;e++)if(this.isSwimlane(a[e]))return null;e=mxUtils.convertPoint(this.container,mxEvent.getClientX(b),mxEvent.getClientY(b));e.x-=this.panDx;e.y-=this.panDy;e=this.getSwimlaneAt(e.x,e.y);if(null==c)c=e;else if(null!=e){for(var f=this.model.getParent(e);null!=f&&this.isSwimlane(f)&&f!=c;)f=this.model.getParent(f);f==c&&(c=e)}for(;null!=c&&!this.isValidDropTarget(c,a,b)&&!this.model.isLayer(c);)c=this.model.getParent(c);
- if(null==d||!d)for(var g=c;null!=g&&0>mxUtils.indexOf(a,g);)g=this.model.getParent(g);return this.model.isLayer(c)||null!=g?null:c};mxGraph.prototype.getDefaultParent=function(){var a=this.getCurrentRoot();null==a&&(a=this.defaultParent,null==a&&(a=this.model.getRoot(),a=this.model.getChildAt(a,0)));return a};mxGraph.prototype.setDefaultParent=function(a){this.defaultParent=a};mxGraph.prototype.getSwimlane=function(a){for(;null!=a&&!this.isSwimlane(a);)a=this.model.getParent(a);return a};
- mxGraph.prototype.getSwimlaneAt=function(a,b,c){c=c||this.getDefaultParent();if(null!=c)for(var d=this.model.getChildCount(c),e=0;e<d;e++){var f=this.model.getChildAt(c,e),g=this.getSwimlaneAt(a,b,f);if(null!=g)return g;if(this.isSwimlane(f)&&(g=this.view.getState(f),this.intersects(g,a,b)))return f}return null};
- mxGraph.prototype.getCellAt=function(a,b,c,d,e,f){d=null!=d?d:!0;e=null!=e?e:!0;null==c&&(c=this.getCurrentRoot(),null==c&&(c=this.getModel().getRoot()));if(null!=c)for(var g=this.model.getChildCount(c)-1;0<=g;g--){var k=this.model.getChildAt(c,g),l=this.getCellAt(a,b,k,d,e,f);if(null!=l)return l;if(this.isCellVisible(k)&&(e&&this.model.isEdge(k)||d&&this.model.isVertex(k))&&(l=this.view.getState(k),null!=l&&(null==f||!f(l,a,b))&&this.intersects(l,a,b)))return k}return null};
- mxGraph.prototype.intersects=function(a,b,c){if(null!=a){var d=a.absolutePoints;if(null!=d){a=this.tolerance*this.tolerance;for(var e=d[0],f=1;f<d.length;f++){var g=d[f];if(mxUtils.ptSegDistSq(e.x,e.y,g.x,g.y,b,c)<=a)return!0;e=g}}else if(e=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0),0!=e&&(d=Math.cos(-e),e=Math.sin(-e),f=new mxPoint(a.getCenterX(),a.getCenterY()),e=mxUtils.getRotatedPoint(new mxPoint(b,c),d,e,f),b=e.x,c=e.y),mxUtils.contains(a,b,c))return!0}return!1};
- mxGraph.prototype.hitsSwimlaneContent=function(a,b,c){var d=this.getView().getState(a);a=this.getStartSize(a);if(null!=d){var e=this.getView().getScale();b-=d.x;c-=d.y;if(0<a.width&&0<b&&b>a.width*e||0<a.height&&0<c&&c>a.height*e)return!0}return!1};mxGraph.prototype.getChildVertices=function(a){return this.getChildCells(a,!0,!1)};mxGraph.prototype.getChildEdges=function(a){return this.getChildCells(a,!1,!0)};
- mxGraph.prototype.getChildCells=function(a,b,c){a=null!=a?a:this.getDefaultParent();a=this.model.getChildCells(a,null!=b?b:!1,null!=c?c:!1);b=[];for(c=0;c<a.length;c++)this.isCellVisible(a[c])&&b.push(a[c]);return b};mxGraph.prototype.getConnections=function(a,b){return this.getEdges(a,b,!0,!0,!1)};mxGraph.prototype.getIncomingEdges=function(a,b){return this.getEdges(a,b,!0,!1,!1)};mxGraph.prototype.getOutgoingEdges=function(a,b){return this.getEdges(a,b,!1,!0,!1)};
- mxGraph.prototype.getEdges=function(a,b,c,d,e,f){c=null!=c?c:!0;d=null!=d?d:!0;e=null!=e?e:!0;f=null!=f?f:!1;for(var g=[],k=this.isCellCollapsed(a),l=this.model.getChildCount(a),m=0;m<l;m++){var n=this.model.getChildAt(a,m);if(k||!this.isCellVisible(n))g=g.concat(this.model.getEdges(n,c,d))}g=g.concat(this.model.getEdges(a,c,d));k=[];for(m=0;m<g.length;m++)n=this.view.getState(g[m]),l=null!=n?n.getVisibleTerminal(!0):this.view.getVisibleTerminal(g[m],!0),n=null!=n?n.getVisibleTerminal(!1):this.view.getVisibleTerminal(g[m],
- !1),(e&&l==n||l!=n&&(c&&n==a&&(null==b||this.isValidAncestor(l,b,f))||d&&l==a&&(null==b||this.isValidAncestor(n,b,f))))&&k.push(g[m]);return k};mxGraph.prototype.isValidAncestor=function(a,b,c){return c?this.model.isAncestor(b,a):this.model.getParent(a)==b};
- mxGraph.prototype.getOpposites=function(a,b,c,d){c=null!=c?c:!0;d=null!=d?d:!0;var e=[],f=new mxDictionary;if(null!=a)for(var g=0;g<a.length;g++){var k=this.view.getState(a[g]),l=null!=k?k.getVisibleTerminal(!0):this.view.getVisibleTerminal(a[g],!0),k=null!=k?k.getVisibleTerminal(!1):this.view.getVisibleTerminal(a[g],!1);l==b&&null!=k&&k!=b&&d?f.get(k)||(f.put(k,!0),e.push(k)):k==b&&null!=l&&l!=b&&c&&!f.get(l)&&(f.put(l,!0),e.push(l))}return e};
- mxGraph.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.view.getState(d[f]),k=null!=g?g.getVisibleTerminal(!0):this.view.getVisibleTerminal(d[f],!0),g=null!=g?g.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[f],!1);(k==a&&g==b||!c&&k==b&&g==a)&&e.push(d[f])}return e};
- mxGraph.prototype.getPointForEvent=function(a,b){var c=mxUtils.convertPoint(this.container,mxEvent.getClientX(a),mxEvent.getClientY(a)),d=this.view.scale,e=this.view.translate,f=0!=b?this.gridSize/2:0;c.x=this.snap(c.x/d-e.x-f);c.y=this.snap(c.y/d-e.y-f);return c};
- mxGraph.prototype.getCells=function(a,b,c,d,e,f){f=null!=f?f:[];if(0<c||0<d){var g=this.getModel(),k=a+c,l=b+d;null==e&&(e=this.getCurrentRoot(),null==e&&(e=g.getRoot()));if(null!=e)for(var m=g.getChildCount(e),n=0;n<m;n++){var p=g.getChildAt(e,n),q=this.view.getState(p);if(null!=q&&this.isCellVisible(p)){var r=mxUtils.getValue(q.style,mxConstants.STYLE_ROTATION)||0;0!=r&&(q=mxUtils.getBoundingBox(q,r));(g.isEdge(p)||g.isVertex(p))&&q.x>=a&&q.y+q.height<=l&&q.y>=b&&q.x+q.width<=k?f.push(p):this.getCells(a,
- b,c,d,p,f)}}}return f};mxGraph.prototype.getCellsBeyond=function(a,b,c,d,e){var f=[];if(d||e)if(null==c&&(c=this.getDefaultParent()),null!=c)for(var g=this.model.getChildCount(c),k=0;k<g;k++){var l=this.model.getChildAt(c,k),m=this.view.getState(l);this.isCellVisible(l)&&null!=m&&(!d||m.x>=a)&&(!e||m.y>=b)&&f.push(l)}return f};
- mxGraph.prototype.findTreeRoots=function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!1;var d=[];if(null!=a){for(var e=this.getModel(),f=e.getChildCount(a),g=null,k=0,l=0;l<f;l++){var m=e.getChildAt(a,l);if(this.model.isVertex(m)&&this.isCellVisible(m)){for(var n=this.getConnections(m,b?a:null),p=0,q=0,r=0;r<n.length;r++)this.view.getVisibleTerminal(n[r],!0)==m?p++:q++;(c&&0==p&&0<q||!c&&0==q&&0<p)&&d.push(m);n=c?q-p:p-q;n>k&&(k=n,g=m)}}0==d.length&&null!=g&&d.push(g)}return d};
- mxGraph.prototype.traverse=function(a,b,c,d,e,f){if(null!=c&&null!=a&&(b=null!=b?b:!0,f=null!=f?f:!1,e=e||new mxDictionary,!e.get(a)&&(e.put(a,!0),d=c(a,d),null==d||d))&&(d=this.model.getEdgeCount(a),0<d))for(var g=0;g<d;g++){var k=this.model.getEdgeAt(a,g),l=this.model.getTerminal(k,!0)==a;b&&!f!=l||(l=this.model.getTerminal(k,!l),this.traverse(l,b,c,k,e,f))}};mxGraph.prototype.isCellSelected=function(a){return this.getSelectionModel().isSelected(a)};mxGraph.prototype.isSelectionEmpty=function(){return this.getSelectionModel().isEmpty()};
- mxGraph.prototype.clearSelection=function(){return this.getSelectionModel().clear()};mxGraph.prototype.getSelectionCount=function(){return this.getSelectionModel().cells.length};mxGraph.prototype.getSelectionCell=function(){return this.getSelectionModel().cells[0]};mxGraph.prototype.getSelectionCells=function(){return this.getSelectionModel().cells.slice()};mxGraph.prototype.setSelectionCell=function(a){this.getSelectionModel().setCell(a)};mxGraph.prototype.setSelectionCells=function(a){this.getSelectionModel().setCells(a)};
- mxGraph.prototype.addSelectionCell=function(a){this.getSelectionModel().addCell(a)};mxGraph.prototype.addSelectionCells=function(a){this.getSelectionModel().addCells(a)};mxGraph.prototype.removeSelectionCell=function(a){this.getSelectionModel().removeCell(a)};mxGraph.prototype.removeSelectionCells=function(a){this.getSelectionModel().removeCells(a)};mxGraph.prototype.selectRegion=function(a,b){var c=this.getCells(a.x,a.y,a.width,a.height);this.selectCellsForEvent(c,b);return c};
- mxGraph.prototype.selectNextCell=function(){this.selectCell(!0)};mxGraph.prototype.selectPreviousCell=function(){this.selectCell()};mxGraph.prototype.selectParentCell=function(){this.selectCell(!1,!0)};mxGraph.prototype.selectChildCell=function(){this.selectCell(!1,!1,!0)};
- mxGraph.prototype.selectCell=function(a,b,c){var d=this.selectionModel,e=0<d.cells.length?d.cells[0]:null;1<d.cells.length&&d.clear();var d=null!=e?this.model.getParent(e):this.getDefaultParent(),f=this.model.getChildCount(d);null==e&&0<f?(a=this.model.getChildAt(d,0),this.setSelectionCell(a)):null!=e&&!b||null==this.view.getState(d)||null==this.model.getGeometry(d)?null!=e&&c?0<this.model.getChildCount(e)&&(a=this.model.getChildAt(e,0),this.setSelectionCell(a)):0<f&&(b=d.getIndex(e),a?(b++,a=this.model.getChildAt(d,
- b%f)):(b--,a=this.model.getChildAt(d,0>b?f-1:b)),this.setSelectionCell(a)):this.getCurrentRoot()!=d&&this.setSelectionCell(d)};mxGraph.prototype.selectAll=function(a,b){a=a||this.getDefaultParent();var c=b?this.model.filterDescendants(function(b){return b!=a},a):this.model.getChildren(a);null!=c&&this.setSelectionCells(c)};mxGraph.prototype.selectVertices=function(a){this.selectCells(!0,!1,a)};mxGraph.prototype.selectEdges=function(a){this.selectCells(!1,!0,a)};
- mxGraph.prototype.selectCells=function(a,b,c){c=c||this.getDefaultParent();var d=mxUtils.bind(this,function(c){return null!=this.view.getState(c)&&(0==this.model.getChildCount(c)&&this.model.isVertex(c)&&a&&!this.model.isEdge(this.model.getParent(c))||this.model.isEdge(c)&&b)});c=this.model.filterDescendants(d,c);this.setSelectionCells(c)};
- mxGraph.prototype.selectCellForEvent=function(a,b){var c=this.isCellSelected(a);this.isToggleEvent(b)?c?this.removeSelectionCell(a):this.addSelectionCell(a):c&&1==this.getSelectionCount()||this.setSelectionCell(a)};mxGraph.prototype.selectCellsForEvent=function(a,b){this.isToggleEvent(b)?this.addSelectionCells(a):this.setSelectionCells(a)};
- mxGraph.prototype.createHandler=function(a){var b=null;if(null!=a)if(this.model.isEdge(a.cell))var b=a.getVisibleTerminalState(!0),c=a.getVisibleTerminalState(!1),d=this.getCellGeometry(a.cell),b=this.view.getEdgeStyle(a,null!=d?d.points:null,b,c),b=this.createEdgeHandler(a,b);else b=this.createVertexHandler(a);return b};mxGraph.prototype.createVertexHandler=function(a){return new mxVertexHandler(a)};
- mxGraph.prototype.createEdgeHandler=function(a,b){return b==mxEdgeStyle.Loop||b==mxEdgeStyle.ElbowConnector||b==mxEdgeStyle.SideToSide||b==mxEdgeStyle.TopToBottom?this.createElbowEdgeHandler(a):b==mxEdgeStyle.SegmentConnector||b==mxEdgeStyle.OrthConnector?this.createEdgeSegmentHandler(a):new mxEdgeHandler(a)};mxGraph.prototype.createEdgeSegmentHandler=function(a){return new mxEdgeSegmentHandler(a)};mxGraph.prototype.createElbowEdgeHandler=function(a){return new mxElbowEdgeHandler(a)};
- mxGraph.prototype.addMouseListener=function(a){null==this.mouseListeners&&(this.mouseListeners=[]);this.mouseListeners.push(a)};mxGraph.prototype.removeMouseListener=function(a){if(null!=this.mouseListeners)for(var b=0;b<this.mouseListeners.length;b++)if(this.mouseListeners[b]==a){this.mouseListeners.splice(b,1);break}};
- mxGraph.prototype.updateMouseEvent=function(a,b){if(null==a.graphX||null==a.graphY){var c=mxUtils.convertPoint(this.container,a.getX(),a.getY());a.graphX=c.x-this.panDx;a.graphY=c.y-this.panDy;null==a.getCell()&&this.isMouseDown&&b==mxEvent.MOUSE_MOVE&&(a.state=this.view.getState(this.getCellAt(c.x,c.y,null,null,null,function(a){return null==a.shape||a.shape.paintBackground!=mxRectangleShape.prototype.paintBackground||"1"==mxUtils.getValue(a.style,mxConstants.STYLE_POINTER_EVENTS,"1")||null!=a.shape.fill&&
- a.shape.fill!=mxConstants.NONE})))}return a};mxGraph.prototype.getStateForTouchEvent=function(a){var b=mxEvent.getClientX(a);a=mxEvent.getClientY(a);b=mxUtils.convertPoint(this.container,b,a);return this.view.getState(this.getCellAt(b.x,b.y))};
- mxGraph.prototype.isEventIgnored=function(a,b,c){var d=mxEvent.isMouseEvent(b.getEvent()),e=!1;b.getEvent()==this.lastEvent?e=!0:this.lastEvent=b.getEvent();null!=this.eventSource&&a!=mxEvent.MOUSE_MOVE?(mxEvent.removeGestureListeners(this.eventSource,null,this.mouseMoveRedirect,this.mouseUpRedirect),this.eventSource=this.mouseUpRedirect=this.mouseMoveRedirect=null):null!=this.eventSource&&b.getSource()!=this.eventSource?e=!0:!mxClient.IS_TOUCH||a!=mxEvent.MOUSE_DOWN||d||mxEvent.isPenEvent(b.getEvent())||
- (this.eventSource=b.getSource(),this.mouseMoveRedirect=mxUtils.bind(this,function(a){this.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,this.getStateForTouchEvent(a)))}),this.mouseUpRedirect=mxUtils.bind(this,function(a){this.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a,this.getStateForTouchEvent(a)))}),mxEvent.addGestureListeners(this.eventSource,null,this.mouseMoveRedirect,this.mouseUpRedirect));this.isSyntheticEventIgnored(a,b,c)&&(e=!0);if(!mxEvent.isPopupTrigger(this.lastEvent)&&
- a!=mxEvent.MOUSE_MOVE&&2==this.lastEvent.detail)return!0;a==mxEvent.MOUSE_UP&&this.isMouseDown?this.isMouseDown=!1:a!=mxEvent.MOUSE_DOWN||this.isMouseDown?!e&&((!mxClient.IS_FF||a!=mxEvent.MOUSE_MOVE)&&this.isMouseDown&&this.isMouseTrigger!=d||a==mxEvent.MOUSE_DOWN&&this.isMouseDown||a==mxEvent.MOUSE_UP&&!this.isMouseDown)&&(e=!0):(this.isMouseDown=!0,this.isMouseTrigger=d);e||a!=mxEvent.MOUSE_DOWN||(this.lastMouseX=b.getX(),this.lastMouseY=b.getY());return e};
- mxGraph.prototype.isSyntheticEventIgnored=function(a,b,c){c=!1;b=mxEvent.isMouseEvent(b.getEvent());this.ignoreMouseEvents&&b&&a!=mxEvent.MOUSE_MOVE?(this.ignoreMouseEvents=a!=mxEvent.MOUSE_UP,c=!0):mxClient.IS_FF&&!b&&a==mxEvent.MOUSE_UP&&(this.ignoreMouseEvents=!0);return c};
- mxGraph.prototype.isEventSourceIgnored=function(a,b){var c=b.getSource(),d=null!=c.nodeName?c.nodeName.toLowerCase():"",e=!mxEvent.isMouseEvent(b.getEvent())||mxEvent.isLeftMouseButton(b.getEvent());return a==mxEvent.MOUSE_DOWN&&e&&("select"==d||"option"==d||"input"==d&&"checkbox"!=c.type&&"radio"!=c.type&&"button"!=c.type&&"submit"!=c.type&&"file"!=c.type)};mxGraph.prototype.getEventState=function(a){return a};
- mxGraph.prototype.fireMouseEvent=function(a,b,c){if(this.isEventSourceIgnored(a,b))null!=this.tooltipHandler&&this.tooltipHandler.hide();else{null==c&&(c=this);b=this.updateMouseEvent(b,a);if(!this.nativeDblClickEnabled&&!mxEvent.isPopupTrigger(b.getEvent())||this.doubleTapEnabled&&mxClient.IS_TOUCH&&(mxEvent.isTouchEvent(b.getEvent())||mxEvent.isPenEvent(b.getEvent()))){var d=(new Date).getTime();if(!mxClient.IS_QUIRKS&&a==mxEvent.MOUSE_DOWN||mxClient.IS_QUIRKS&&a==mxEvent.MOUSE_UP&&!this.fireDoubleClick)if(null!=
- this.lastTouchEvent&&this.lastTouchEvent!=b.getEvent()&&d-this.lastTouchTime<this.doubleTapTimeout&&Math.abs(this.lastTouchX-b.getX())<this.doubleTapTolerance&&Math.abs(this.lastTouchY-b.getY())<this.doubleTapTolerance&&2>this.doubleClickCounter){if(this.doubleClickCounter++,d=!1,a==mxEvent.MOUSE_UP?b.getCell()==this.lastTouchCell&&null!=this.lastTouchCell&&(this.lastTouchTime=0,d=this.lastTouchCell,this.lastTouchCell=null,mxClient.IS_QUIRKS&&b.getSource().fireEvent("ondblclick"),this.dblClick(b.getEvent(),
- d),d=!0):(this.fireDoubleClick=!0,this.lastTouchTime=0),!mxClient.IS_QUIRKS||d){mxEvent.consume(b.getEvent());return}}else{if(null==this.lastTouchEvent||this.lastTouchEvent!=b.getEvent())this.lastTouchCell=b.getCell(),this.lastTouchX=b.getX(),this.lastTouchY=b.getY(),this.lastTouchTime=d,this.lastTouchEvent=b.getEvent(),this.doubleClickCounter=0}else if((this.isMouseDown||a==mxEvent.MOUSE_UP)&&this.fireDoubleClick){this.fireDoubleClick=!1;d=this.lastTouchCell;this.lastTouchCell=null;this.isMouseDown=
- !1;(null!=d||(mxEvent.isTouchEvent(b.getEvent())||mxEvent.isPenEvent(b.getEvent()))&&(mxClient.IS_GC||mxClient.IS_SF))&&Math.abs(this.lastTouchX-b.getX())<this.doubleTapTolerance&&Math.abs(this.lastTouchY-b.getY())<this.doubleTapTolerance?this.dblClick(b.getEvent(),d):mxEvent.consume(b.getEvent());return}}if(!this.isEventIgnored(a,b,c)){b.state=this.getEventState(b.getState());this.fireEvent(new mxEventObject(mxEvent.FIRE_MOUSE_EVENT,"eventName",a,"event",b));if(mxClient.IS_OP||mxClient.IS_SF||mxClient.IS_GC||
- mxClient.IS_IE11||mxClient.IS_IE&&mxClient.IS_SVG||b.getEvent().target!=this.container){if(a==mxEvent.MOUSE_MOVE&&this.isMouseDown&&this.autoScroll&&!mxEvent.isMultiTouchEvent(b.getEvent))this.scrollPointToVisible(b.getGraphX(),b.getGraphY(),this.autoExtend);else if(a==mxEvent.MOUSE_UP&&this.ignoreScrollbars&&this.translateToScrollPosition&&(0!=this.container.scrollLeft||0!=this.container.scrollTop)){var d=this.view.scale,e=this.view.translate;this.view.setTranslate(e.x-this.container.scrollLeft/
- d,e.y-this.container.scrollTop/d);this.container.scrollLeft=0;this.container.scrollTop=0}if(null!=this.mouseListeners)for(d=[c,b],b.getEvent().preventDefault||(b.getEvent().returnValue=!0),e=0;e<this.mouseListeners.length;e++){var f=this.mouseListeners[e];a==mxEvent.MOUSE_DOWN?f.mouseDown.apply(f,d):a==mxEvent.MOUSE_MOVE?f.mouseMove.apply(f,d):a==mxEvent.MOUSE_UP&&f.mouseUp.apply(f,d)}a==mxEvent.MOUSE_UP&&this.click(b)}(mxEvent.isTouchEvent(b.getEvent())||mxEvent.isPenEvent(b.getEvent()))&&a==mxEvent.MOUSE_DOWN&&
- this.tapAndHoldEnabled&&!this.tapAndHoldInProgress?(this.tapAndHoldInProgress=!0,this.initialTouchX=b.getGraphX(),this.initialTouchY=b.getGraphY(),this.tapAndHoldThread&&window.clearTimeout(this.tapAndHoldThread),this.tapAndHoldThread=window.setTimeout(mxUtils.bind(this,function(){this.tapAndHoldValid&&this.tapAndHold(b);this.tapAndHoldValid=this.tapAndHoldInProgress=!1}),this.tapAndHoldDelay),this.tapAndHoldValid=!0):a==mxEvent.MOUSE_UP?this.tapAndHoldValid=this.tapAndHoldInProgress=!1:this.tapAndHoldValid&&
- (this.tapAndHoldValid=Math.abs(this.initialTouchX-b.getGraphX())<this.tolerance&&Math.abs(this.initialTouchY-b.getGraphY())<this.tolerance);a==mxEvent.MOUSE_DOWN&&this.isEditing()&&!this.cellEditor.isEventSource(b.getEvent())&&this.stopEditing(!this.isInvokesStopCellEditing());this.consumeMouseEvent(a,b,c)}}};mxGraph.prototype.consumeMouseEvent=function(a,b,c){a==mxEvent.MOUSE_DOWN&&mxEvent.isTouchEvent(b.getEvent())&&b.consume(!1)};
- mxGraph.prototype.fireGestureEvent=function(a,b){this.lastTouchTime=0;this.fireEvent(new mxEventObject(mxEvent.GESTURE,"event",a,"cell",b))};
- mxGraph.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,null!=this.tooltipHandler&&this.tooltipHandler.destroy(),null!=this.selectionCellsHandler&&this.selectionCellsHandler.destroy(),null!=this.panningHandler&&this.panningHandler.destroy(),null!=this.popupMenuHandler&&this.popupMenuHandler.destroy(),null!=this.connectionHandler&&this.connectionHandler.destroy(),null!=this.graphHandler&&this.graphHandler.destroy(),null!=this.cellEditor&&this.cellEditor.destroy(),null!=this.view&&this.view.destroy(),
- null!=this.model&&null!=this.graphModelChangeListener&&(this.model.removeListener(this.graphModelChangeListener),this.graphModelChangeListener=null),this.container=null)};function mxCellOverlay(a,b,c,d,e,f){this.image=a;this.tooltip=b;this.align=null!=c?c:this.align;this.verticalAlign=null!=d?d:this.verticalAlign;this.offset=null!=e?e:new mxPoint;this.cursor=null!=f?f:"help"}mxCellOverlay.prototype=new mxEventSource;mxCellOverlay.prototype.constructor=mxCellOverlay;mxCellOverlay.prototype.image=null;
- mxCellOverlay.prototype.tooltip=null;mxCellOverlay.prototype.align=mxConstants.ALIGN_RIGHT;mxCellOverlay.prototype.verticalAlign=mxConstants.ALIGN_BOTTOM;mxCellOverlay.prototype.offset=null;mxCellOverlay.prototype.cursor=null;mxCellOverlay.prototype.defaultOverlap=.5;
- mxCellOverlay.prototype.getBounds=function(a){var b=a.view.graph.getModel().isEdge(a.cell),c=a.view.scale,d=this.image.width,e=this.image.height;if(b)if(b=a.absolutePoints,1==b.length%2)b=b[Math.floor(b.length/2)];else{var f=b.length/2;a=b[f-1];b=b[f];b=new mxPoint(a.x+(b.x-a.x)/2,a.y+(b.y-a.y)/2)}else b=new mxPoint,b.x=this.align==mxConstants.ALIGN_LEFT?a.x:this.align==mxConstants.ALIGN_CENTER?a.x+a.width/2:a.x+a.width,b.y=this.verticalAlign==mxConstants.ALIGN_TOP?a.y:this.verticalAlign==mxConstants.ALIGN_MIDDLE?
- a.y+a.height/2:a.y+a.height;return new mxRectangle(Math.round(b.x-(d*this.defaultOverlap-this.offset.x)*c),Math.round(b.y-(e*this.defaultOverlap-this.offset.y)*c),d*c,e*c)};mxCellOverlay.prototype.toString=function(){return this.tooltip};function mxOutline(a,b){this.source=a;null!=b&&this.init(b)}mxOutline.prototype.source=null;mxOutline.prototype.outline=null;mxOutline.prototype.graphRenderHint=mxConstants.RENDERING_HINT_FASTER;mxOutline.prototype.enabled=!0;mxOutline.prototype.showViewport=!0;
- mxOutline.prototype.border=10;mxOutline.prototype.sizerSize=8;mxOutline.prototype.labelsVisible=!1;mxOutline.prototype.updateOnPan=!1;mxOutline.prototype.sizerImage=null;mxOutline.prototype.minScale=1E-4;mxOutline.prototype.suspended=!1;mxOutline.prototype.forceVmlHandles=8==document.documentMode;mxOutline.prototype.createGraph=function(a){a=new mxGraph(a,this.source.getModel(),this.graphRenderHint,this.source.getStylesheet());a.foldingEnabled=!1;a.autoScroll=!1;return a};
- mxOutline.prototype.init=function(a){this.outline=this.createGraph(a);var b=this.outline.graphModelChanged;this.outline.graphModelChanged=mxUtils.bind(this,function(a){this.suspended||null==this.outline||b.apply(this.outline,arguments)});mxClient.IS_SVG&&(a=this.outline.getView().getCanvas().parentNode,a.setAttribute("shape-rendering","optimizeSpeed"),a.setAttribute("image-rendering","optimizeSpeed"));this.outline.labelsVisible=this.labelsVisible;this.outline.setEnabled(!1);this.updateHandler=mxUtils.bind(this,
- function(a,b){this.suspended||this.active||this.update()});this.source.getModel().addListener(mxEvent.CHANGE,this.updateHandler);this.outline.addMouseListener(this);a=this.source.getView();a.addListener(mxEvent.SCALE,this.updateHandler);a.addListener(mxEvent.TRANSLATE,this.updateHandler);a.addListener(mxEvent.SCALE_AND_TRANSLATE,this.updateHandler);a.addListener(mxEvent.DOWN,this.updateHandler);a.addListener(mxEvent.UP,this.updateHandler);mxEvent.addListener(this.source.container,"scroll",this.updateHandler);
- this.panHandler=mxUtils.bind(this,function(a){this.updateOnPan&&this.updateHandler.apply(this,arguments)});this.source.addListener(mxEvent.PAN,this.panHandler);this.refreshHandler=mxUtils.bind(this,function(a){this.outline.setStylesheet(this.source.getStylesheet());this.outline.refresh()});this.source.addListener(mxEvent.REFRESH,this.refreshHandler);this.bounds=new mxRectangle(0,0,0,0);this.selectionBorder=new mxRectangleShape(this.bounds,null,mxConstants.OUTLINE_COLOR,mxConstants.OUTLINE_STROKEWIDTH);
- this.selectionBorder.dialect=this.outline.dialect;this.forceVmlHandles&&(this.selectionBorder.isHtmlAllowed=function(){return!1});this.selectionBorder.init(this.outline.getView().getOverlayPane());a=mxUtils.bind(this,function(a){var b=mxEvent.getSource(a),c=mxUtils.bind(this,function(a){this.outline.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a))}),f=mxUtils.bind(this,function(a){mxEvent.removeGestureListeners(b,null,c,f);this.outline.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a))});
- mxEvent.addGestureListeners(b,null,c,f);this.outline.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a))});mxEvent.addGestureListeners(this.selectionBorder.node,a);this.sizer=this.createSizer();this.forceVmlHandles&&(this.sizer.isHtmlAllowed=function(){return!1});this.sizer.init(this.outline.getView().getOverlayPane());this.enabled&&(this.sizer.node.style.cursor="nwse-resize");mxEvent.addGestureListeners(this.sizer.node,a);this.selectionBorder.node.style.display=this.showViewport?"":"none";this.sizer.node.style.display=
- this.selectionBorder.node.style.display;this.selectionBorder.node.style.cursor="move";this.update(!1)};mxOutline.prototype.isEnabled=function(){return this.enabled};mxOutline.prototype.setEnabled=function(a){this.enabled=a};mxOutline.prototype.setZoomEnabled=function(a){this.sizer.node.style.visibility=a?"visible":"hidden"};mxOutline.prototype.refresh=function(){this.update(!0)};
- mxOutline.prototype.createSizer=function(){var a=null!=this.sizerImage?new mxImageShape(new mxRectangle(0,0,this.sizerImage.width,this.sizerImage.height),this.sizerImage.src):new mxRectangleShape(new mxRectangle(0,0,this.sizerSize,this.sizerSize),mxConstants.OUTLINE_HANDLE_FILLCOLOR,mxConstants.OUTLINE_HANDLE_STROKECOLOR);a.dialect=this.outline.dialect;return a};mxOutline.prototype.getSourceContainerSize=function(){return new mxRectangle(0,0,this.source.container.scrollWidth,this.source.container.scrollHeight)};
- mxOutline.prototype.getOutlineOffset=function(a){return null};mxOutline.prototype.getSourceGraphBounds=function(){return this.source.getGraphBounds()};
- mxOutline.prototype.update=function(a){if(null!=this.source&&null!=this.outline){var b=this.source.view.scale,c=this.getSourceGraphBounds(),c=new mxRectangle(c.x/b+this.source.panDx,c.y/b+this.source.panDy,c.width/b,c.height/b),d=new mxRectangle(0,0,this.source.container.clientWidth/b,this.source.container.clientHeight/b),e=c.clone();e.add(d);d=this.getSourceContainerSize();b=Math.min(Math.max(0,this.outline.container.clientWidth-this.border)/Math.max(d.width/b,e.width),Math.max(0,this.outline.container.clientHeight-
- this.border)/Math.max(d.height/b,e.height));d=isNaN(b)?this.minScale:Math.max(this.minScale,b);if(0<d){this.outline.getView().scale!=d&&(this.outline.getView().scale=d,a=!0);b=this.outline.getView();b.currentRoot!=this.source.getView().currentRoot&&b.setCurrentRoot(this.source.getView().currentRoot);var e=this.source.view.translate,f=e.x+this.source.panDx,g=e.y+this.source.panDy,d=this.getOutlineOffset(d);null!=d&&(f+=d.x,g+=d.y);0>c.x&&(f-=c.x);0>c.y&&(g-=c.y);if(b.translate.x!=f||b.translate.y!=
- g)b.translate.x=f,b.translate.y=g,a=!0;var c=b.translate,d=this.source.getView().scale,f=d/b.scale,g=1/b.scale,k=this.source.container;this.bounds=new mxRectangle((c.x-e.x-this.source.panDx)/g,(c.y-e.y-this.source.panDy)/g,k.clientWidth/f,k.clientHeight/f);this.bounds.x+=this.source.container.scrollLeft*b.scale/d;this.bounds.y+=this.source.container.scrollTop*b.scale/d;c=this.selectionBorder.bounds;if(c.x!=this.bounds.x||c.y!=this.bounds.y||c.width!=this.bounds.width||c.height!=this.bounds.height)this.selectionBorder.bounds=
- this.bounds,this.selectionBorder.redraw();c=this.sizer.bounds;b=new mxRectangle(this.bounds.x+this.bounds.width-c.width/2,this.bounds.y+this.bounds.height-c.height/2,c.width,c.height);if(c.x!=b.x||c.y!=b.y||c.width!=b.width||c.height!=b.height)this.sizer.bounds=b,"hidden"!=this.sizer.node.style.visibility&&this.sizer.redraw();a&&this.outline.view.revalidate()}}};
- mxOutline.prototype.mouseDown=function(a,b){if(this.enabled&&this.showViewport){var c=mxEvent.isMouseEvent(b.getEvent())?0:this.source.tolerance,c=this.source.allowHandleBoundsCheck&&(mxClient.IS_IE||0<c)?new mxRectangle(b.getGraphX()-c,b.getGraphY()-c,2*c,2*c):null;this.zoom=b.isSource(this.sizer)||null!=c&&mxUtils.intersects(shape.bounds,c);this.startX=b.getX();this.startY=b.getY();this.active=!0;this.source.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.source.container)?(this.dx0=this.source.container.scrollLeft,
- this.dy0=this.source.container.scrollTop):this.dy0=this.dx0=0}b.consume()};
- mxOutline.prototype.mouseMove=function(a,b){if(this.active){this.selectionBorder.node.style.display=this.showViewport?"":"none";this.sizer.node.style.display=this.selectionBorder.node.style.display;var c=this.getTranslateForEvent(b),d=c.x,e=c.y;if(this.zoom)c=this.source.container,e=d/(c.clientWidth/c.clientHeight),c=new mxRectangle(this.bounds.x,this.bounds.y,Math.max(1,this.bounds.width+d),Math.max(1,this.bounds.height+e)),this.selectionBorder.bounds=c,this.selectionBorder.redraw();else{var f=this.outline.getView().scale,
- c=new mxRectangle(this.bounds.x+d,this.bounds.y+e,this.bounds.width,this.bounds.height);this.selectionBorder.bounds=c;this.selectionBorder.redraw();d=d/f*this.source.getView().scale;e=e/f*this.source.getView().scale;this.source.panGraph(-d-this.dx0,-e-this.dy0)}d=this.sizer.bounds;this.sizer.bounds=new mxRectangle(c.x+c.width-d.width/2,c.y+c.height-d.height/2,d.width,d.height);"hidden"!=this.sizer.node.style.visibility&&this.sizer.redraw();b.consume()}};
- mxOutline.prototype.getTranslateForEvent=function(a){return new mxPoint(a.getX()-this.startX,a.getY()-this.startY)};
- mxOutline.prototype.mouseUp=function(a,b){if(this.active){var c=this.getTranslateForEvent(b),d=c.x,c=c.y;if(0<Math.abs(d)||0<Math.abs(c)){if(this.zoom){var c=this.selectionBorder.bounds.width,e=this.source.getView().scale;this.source.zoomTo(Math.max(this.minScale,e-d*e/c),!1)}else this.source.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.source.container)||(this.source.panGraph(0,0),d/=this.outline.getView().scale,c/=this.outline.getView().scale,e=this.source.getView().translate,this.source.getView().setTranslate(e.x-
- d,e.y-c));this.update();b.consume()}this.index=null;this.active=!1}};
- mxOutline.prototype.destroy=function(){null!=this.source&&(this.source.removeListener(this.panHandler),this.source.removeListener(this.refreshHandler),this.source.getModel().removeListener(this.updateHandler),this.source.getView().removeListener(this.updateHandler),mxEvent.addListener(this.source.container,"scroll",this.updateHandler),this.source=null);null!=this.outline&&(this.outline.removeMouseListener(this),this.outline.destroy(),this.outline=null);null!=this.selectionBorder&&(this.selectionBorder.destroy(),
- this.selectionBorder=null);null!=this.sizer&&(this.sizer.destroy(),this.sizer=null)};function mxMultiplicity(a,b,c,d,e,f,g,k,l,m){this.source=a;this.type=b;this.attr=c;this.value=d;this.min=null!=e?e:0;this.max=null!=f?f:"n";this.validNeighbors=g;this.countError=mxResources.get(k)||k;this.typeError=mxResources.get(l)||l;this.validNeighborsAllowed=null!=m?m:!0}mxMultiplicity.prototype.type=null;mxMultiplicity.prototype.attr=null;mxMultiplicity.prototype.value=null;mxMultiplicity.prototype.source=null;
- mxMultiplicity.prototype.min=null;mxMultiplicity.prototype.max=null;mxMultiplicity.prototype.validNeighbors=null;mxMultiplicity.prototype.validNeighborsAllowed=!0;mxMultiplicity.prototype.countError=null;mxMultiplicity.prototype.typeError=null;
- mxMultiplicity.prototype.check=function(a,b,c,d,e,f){var g="";if(this.source&&this.checkTerminal(a,c,b)||!this.source&&this.checkTerminal(a,d,b))null!=this.countError&&(this.source&&(0==this.max||e>=this.max)||!this.source&&(0==this.max||f>=this.max))&&(g+=this.countError+"\n"),null!=this.validNeighbors&&null!=this.typeError&&0<this.validNeighbors.length&&(this.checkNeighbors(a,b,c,d)||(g+=this.typeError+"\n"));return 0<g.length?g:null};
- mxMultiplicity.prototype.checkNeighbors=function(a,b,c,d){b=a.model.getValue(c);d=a.model.getValue(d);c=!this.validNeighborsAllowed;for(var e=this.validNeighbors,f=0;f<e.length;f++)if(this.source&&this.checkType(a,d,e[f])){c=this.validNeighborsAllowed;break}else if(!this.source&&this.checkType(a,b,e[f])){c=this.validNeighborsAllowed;break}return c};mxMultiplicity.prototype.checkTerminal=function(a,b,c){b=a.model.getValue(b);return this.checkType(a,b,this.type,this.attr,this.value)};
- mxMultiplicity.prototype.checkType=function(a,b,c,d,e){return null!=b?isNaN(b.nodeType)?b==c:mxUtils.isNode(b,c,d,e):!1};function mxLayoutManager(a){this.undoHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.beforeUndo(c.getProperty("edit"))});this.moveHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.cellsMoved(c.getProperty("cells"),c.getProperty("event"))});this.setGraph(a)}mxLayoutManager.prototype=new mxEventSource;mxLayoutManager.prototype.constructor=mxLayoutManager;
- mxLayoutManager.prototype.graph=null;mxLayoutManager.prototype.bubbling=!0;mxLayoutManager.prototype.enabled=!0;mxLayoutManager.prototype.updateHandler=null;mxLayoutManager.prototype.moveHandler=null;mxLayoutManager.prototype.isEnabled=function(){return this.enabled};mxLayoutManager.prototype.setEnabled=function(a){this.enabled=a};mxLayoutManager.prototype.isBubbling=function(){return this.bubbling};mxLayoutManager.prototype.setBubbling=function(a){this.bubbling=a};
- mxLayoutManager.prototype.getGraph=function(){return this.graph};mxLayoutManager.prototype.setGraph=function(a){if(null!=this.graph){var b=this.graph.getModel();b.removeListener(this.undoHandler);this.graph.removeListener(this.moveHandler)}this.graph=a;null!=this.graph&&(b=this.graph.getModel(),b.addListener(mxEvent.BEFORE_UNDO,this.undoHandler),this.graph.addListener(mxEvent.MOVE_CELLS,this.moveHandler))};mxLayoutManager.prototype.getLayout=function(a){return null};
- mxLayoutManager.prototype.beforeUndo=function(a){a=this.getCellsForChanges(a.changes);for(var b=this.getGraph().getModel(),c=[],d=0;d<a.length;d++)c=c.concat(b.getDescendants(a[d]));a=c;if(this.isBubbling())for(c=b.getParents(a);0<c.length;)a=a.concat(c),c=b.getParents(c);this.executeLayoutForCells(a)};mxLayoutManager.prototype.executeLayoutForCells=function(a){a=mxUtils.sortCells(a,!0);a=a.concat(a.slice().reverse());this.layoutCells(a)};
- mxLayoutManager.prototype.cellsMoved=function(a,b){if(null!=a&&null!=b)for(var c=mxUtils.convertPoint(this.getGraph().container,mxEvent.getClientX(b),mxEvent.getClientY(b)),d=this.getGraph().getModel(),e=0;e<a.length;e++){var f=d.getParent(a[e]);0>mxUtils.indexOf(a,f)&&(f=this.getLayout(f),null!=f&&f.moveCell(a[e],c.x,c.y))}};
- mxLayoutManager.prototype.getCellsForChanges=function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++){var e=a[d];if(e instanceof mxRootChange)return[];for(var e=this.getCellsForChange(e),f=0;f<e.length;f++)null==e[f]||b.get(e[f])||(b.put(e[f],!0),c.push(e[f]))}return c};
- mxLayoutManager.prototype.getCellsForChange=function(a){var b=this.getGraph().getModel();return a instanceof mxChildChange?[a.child,a.previous,b.getParent(a.child)]:a instanceof mxTerminalChange||a instanceof mxGeometryChange?[a.cell,b.getParent(a.cell)]:a instanceof mxVisibleChange||a instanceof mxStyleChange?[a.cell]:[]};
- mxLayoutManager.prototype.layoutCells=function(a){if(0<a.length){var b=this.getGraph().getModel();b.beginUpdate();try{for(var c=null,d=0;d<a.length;d++)a[d]!=b.getRoot()&&a[d]!=c&&this.executeLayout(this.getLayout(a[d]),a[d])&&(c=a[d]);this.fireEvent(new mxEventObject(mxEvent.LAYOUT_CELLS,"cells",a))}finally{b.endUpdate()}}};mxLayoutManager.prototype.executeLayout=function(a,b){var c=!1;null!=a&&null!=b&&(a.execute(b),c=!0);return c};mxLayoutManager.prototype.destroy=function(){this.setGraph(null)};
- function mxSwimlaneManager(a,b,c,d){this.horizontal=null!=b?b:!0;this.addEnabled=null!=c?c:!0;this.resizeEnabled=null!=d?d:!0;this.addHandler=mxUtils.bind(this,function(a,b){this.isEnabled()&&this.isAddEnabled()&&this.cellsAdded(b.getProperty("cells"))});this.resizeHandler=mxUtils.bind(this,function(a,b){this.isEnabled()&&this.isResizeEnabled()&&this.cellsResized(b.getProperty("cells"))});this.setGraph(a)}mxSwimlaneManager.prototype=new mxEventSource;mxSwimlaneManager.prototype.constructor=mxSwimlaneManager;
- mxSwimlaneManager.prototype.graph=null;mxSwimlaneManager.prototype.enabled=!0;mxSwimlaneManager.prototype.horizontal=!0;mxSwimlaneManager.prototype.addEnabled=!0;mxSwimlaneManager.prototype.resizeEnabled=!0;mxSwimlaneManager.prototype.addHandler=null;mxSwimlaneManager.prototype.resizeHandler=null;mxSwimlaneManager.prototype.isEnabled=function(){return this.enabled};mxSwimlaneManager.prototype.setEnabled=function(a){this.enabled=a};mxSwimlaneManager.prototype.isHorizontal=function(){return this.horizontal};
- mxSwimlaneManager.prototype.setHorizontal=function(a){this.horizontal=a};mxSwimlaneManager.prototype.isAddEnabled=function(){return this.addEnabled};mxSwimlaneManager.prototype.setAddEnabled=function(a){this.addEnabled=a};mxSwimlaneManager.prototype.isResizeEnabled=function(){return this.resizeEnabled};mxSwimlaneManager.prototype.setResizeEnabled=function(a){this.resizeEnabled=a};mxSwimlaneManager.prototype.getGraph=function(){return this.graph};
- mxSwimlaneManager.prototype.setGraph=function(a){null!=this.graph&&(this.graph.removeListener(this.addHandler),this.graph.removeListener(this.resizeHandler));this.graph=a;null!=this.graph&&(this.graph.addListener(mxEvent.ADD_CELLS,this.addHandler),this.graph.addListener(mxEvent.CELLS_RESIZED,this.resizeHandler))};mxSwimlaneManager.prototype.isSwimlaneIgnored=function(a){return!this.getGraph().isSwimlane(a)};
- mxSwimlaneManager.prototype.isCellHorizontal=function(a){return this.graph.isSwimlane(a)?(a=this.graph.getCellStyle(a),1==mxUtils.getValue(a,mxConstants.STYLE_HORIZONTAL,1)):!this.isHorizontal()};mxSwimlaneManager.prototype.cellsAdded=function(a){if(null!=a){var b=this.getGraph().getModel();b.beginUpdate();try{for(var c=0;c<a.length;c++)this.isSwimlaneIgnored(a[c])||this.swimlaneAdded(a[c])}finally{b.endUpdate()}}};
- mxSwimlaneManager.prototype.swimlaneAdded=function(a){for(var b=this.getGraph().getModel(),c=b.getParent(a),d=b.getChildCount(c),e=null,f=0;f<d;f++){var g=b.getChildAt(c,f);if(g!=a&&!this.isSwimlaneIgnored(g)&&(e=b.getGeometry(g),null!=e))break}null!=e&&(b=null!=c?this.isCellHorizontal(c):this.horizontal,this.resizeSwimlane(a,e.width,e.height,b))};
- mxSwimlaneManager.prototype.cellsResized=function(a){if(null!=a){var b=this.getGraph().getModel();b.beginUpdate();try{for(var c=0;c<a.length;c++)if(!this.isSwimlaneIgnored(a[c])){var d=b.getGeometry(a[c]);if(null!=d){for(var e=new mxRectangle(0,0,d.width,d.height),f=a[c],g=f;null!=g;){var f=g,g=b.getParent(g),k=this.graph.isSwimlane(g)?this.graph.getStartSize(g):new mxRectangle;e.width+=k.width;e.height+=k.height}var l=null!=g?this.isCellHorizontal(g):this.horizontal;this.resizeSwimlane(f,e.width,
- e.height,l)}}}finally{b.endUpdate()}}};
- mxSwimlaneManager.prototype.resizeSwimlane=function(a,b,c,d){var e=this.getGraph().getModel();e.beginUpdate();try{var f=this.isCellHorizontal(a);if(!this.isSwimlaneIgnored(a)){var g=e.getGeometry(a);null!=g&&(d&&g.height!=c||!d&&g.width!=b)&&(g=g.clone(),d?g.height=c:g.width=b,e.setGeometry(a,g))}var k=this.graph.isSwimlane(a)?this.graph.getStartSize(a):new mxRectangle;b-=k.width;c-=k.height;var l=e.getChildCount(a);for(d=0;d<l;d++){var m=e.getChildAt(a,d);this.resizeSwimlane(m,b,c,f)}}finally{e.endUpdate()}};
- mxSwimlaneManager.prototype.destroy=function(){this.setGraph(null)};
- function mxTemporaryCellStates(a,b,c,d){b=null!=b?b:1;this.view=a;this.oldValidateCellState=a.validateCellState;this.oldBounds=a.getGraphBounds();this.oldStates=a.getStates();this.oldScale=a.getScale();var e=this;a.validateCellState=function(b,c){return null==b||null==d||d(b)?e.oldValidateCellState.apply(a,arguments):null};a.setStates(new mxDictionary);a.setScale(b);if(null!=c){a.resetValidationState();b=null;for(var f=0;f<c.length;f++){var g=a.getBoundingBox(a.validateCellState(a.validateCell(c[f])));
- null==b?b=g:b.add(g)}a.setGraphBounds(b||new mxRectangle)}}mxTemporaryCellStates.prototype.view=null;mxTemporaryCellStates.prototype.oldStates=null;mxTemporaryCellStates.prototype.oldBounds=null;mxTemporaryCellStates.prototype.oldScale=null;mxTemporaryCellStates.prototype.destroy=function(){this.view.setScale(this.oldScale);this.view.setStates(this.oldStates);this.view.setGraphBounds(this.oldBounds);this.view.validateCellState=this.oldValidateCellState};
- function mxCellStatePreview(a){this.deltas=new mxDictionary;this.graph=a}mxCellStatePreview.prototype.graph=null;mxCellStatePreview.prototype.deltas=null;mxCellStatePreview.prototype.count=0;mxCellStatePreview.prototype.isEmpty=function(){return 0==this.count};
- mxCellStatePreview.prototype.moveState=function(a,b,c,d,e){d=null!=d?d:!0;e=null!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),state:a},this.deltas.put(a.cell,f),this.count++):d?(f.point.x+=b,f.point.y+=c):(f.point.x=b,f.point.y=c);e&&this.addEdges(a);return f.point};
- mxCellStatePreview.prototype.show=function(a){this.deltas.visit(mxUtils.bind(this,function(a,c){this.translateState(c.state,c.point.x,c.point.y)}));this.deltas.visit(mxUtils.bind(this,function(b,c){this.revalidateState(c.state,c.point.x,c.point.y,a)}))};
- mxCellStatePreview.prototype.translateState=function(a,b,c){if(null!=a){var d=this.graph.getModel();if(d.isVertex(a.cell)){a.view.updateCellState(a);a.updateCachedBounds();var e=d.getGeometry(a.cell);0==b&&0==c||null==e||e.relative&&null==this.deltas.get(a.cell)||(a.x+=b,a.y+=c)}for(var e=d.getChildCount(a.cell),f=0;f<e;f++)this.translateState(a.view.getState(d.getChildAt(a.cell,f)),b,c)}};
- mxCellStatePreview.prototype.revalidateState=function(a,b,c,d){if(null!=a){var e=this.graph.getModel();e.isEdge(a.cell)&&(a.view.updateCellState(a),a.updateCachedBounds());var f=this.graph.getCellGeometry(a.cell),g=a.view.getState(e.getParent(a.cell));0==b&&0==c||null==f||!f.relative||!e.isVertex(a.cell)||null!=g&&!e.isVertex(g.cell)&&null==this.deltas.get(a.cell)||(a.x+=b,a.y+=c);this.graph.cellRenderer.redraw(a);null!=d&&d(a);f=e.getChildCount(a.cell);for(g=0;g<f;g++)this.revalidateState(this.graph.view.getState(e.getChildAt(a.cell,
- g)),b,c,d)}};mxCellStatePreview.prototype.addEdges=function(a){for(var b=this.graph.getModel(),c=b.getEdgeCount(a.cell),d=0;d<c;d++){var e=a.view.getState(b.getEdgeAt(a.cell,d));null!=e&&this.moveState(e,0,0)}};function mxConnectionConstraint(a,b,c){this.point=a;this.perimeter=null!=b?b:!0;this.name=c}mxConnectionConstraint.prototype.point=null;mxConnectionConstraint.prototype.perimeter=null;mxConnectionConstraint.prototype.name=null;
- function mxGraphHandler(a){this.graph=a;this.graph.addMouseListener(this);this.panHandler=mxUtils.bind(this,function(){this.updatePreviewShape();this.updateHint()});this.graph.addListener(mxEvent.PAN,this.panHandler);this.escapeHandler=mxUtils.bind(this,function(a,c){this.reset()});this.graph.addListener(mxEvent.ESCAPE,this.escapeHandler)}mxGraphHandler.prototype.graph=null;mxGraphHandler.prototype.maxCells=mxClient.IS_IE?20:50;mxGraphHandler.prototype.enabled=!0;
- mxGraphHandler.prototype.highlightEnabled=!0;mxGraphHandler.prototype.cloneEnabled=!0;mxGraphHandler.prototype.moveEnabled=!0;mxGraphHandler.prototype.guidesEnabled=!1;mxGraphHandler.prototype.guide=null;mxGraphHandler.prototype.currentDx=null;mxGraphHandler.prototype.currentDy=null;mxGraphHandler.prototype.updateCursor=!0;mxGraphHandler.prototype.selectEnabled=!0;mxGraphHandler.prototype.removeCellsFromParent=!0;mxGraphHandler.prototype.connectOnDrop=!1;mxGraphHandler.prototype.scrollOnMove=!0;
- mxGraphHandler.prototype.minimumSize=6;mxGraphHandler.prototype.previewColor="black";mxGraphHandler.prototype.htmlPreview=!1;mxGraphHandler.prototype.shape=null;mxGraphHandler.prototype.scaleGrid=!1;mxGraphHandler.prototype.rotationEnabled=!0;mxGraphHandler.prototype.isEnabled=function(){return this.enabled};mxGraphHandler.prototype.setEnabled=function(a){this.enabled=a};mxGraphHandler.prototype.isCloneEnabled=function(){return this.cloneEnabled};
- mxGraphHandler.prototype.setCloneEnabled=function(a){this.cloneEnabled=a};mxGraphHandler.prototype.isMoveEnabled=function(){return this.moveEnabled};mxGraphHandler.prototype.setMoveEnabled=function(a){this.moveEnabled=a};mxGraphHandler.prototype.isSelectEnabled=function(){return this.selectEnabled};mxGraphHandler.prototype.setSelectEnabled=function(a){this.selectEnabled=a};mxGraphHandler.prototype.isRemoveCellsFromParent=function(){return this.removeCellsFromParent};
- mxGraphHandler.prototype.setRemoveCellsFromParent=function(a){this.removeCellsFromParent=a};mxGraphHandler.prototype.getInitialCellForEvent=function(a){return a.getCell()};mxGraphHandler.prototype.isDelayedSelection=function(a,b){return this.graph.isCellSelected(a)};mxGraphHandler.prototype.consumeMouseEvent=function(a,b){b.consume()};
- mxGraphHandler.prototype.mouseDown=function(a,b){if(!b.isConsumed()&&this.isEnabled()&&this.graph.isEnabled()&&null!=b.getState()&&!mxEvent.isMultiTouchEvent(b.getEvent())){var c=this.getInitialCellForEvent(b);this.delayedSelection=this.isDelayedSelection(c,b);this.cell=null;this.isSelectEnabled()&&!this.delayedSelection&&this.graph.selectCellForEvent(c,b.getEvent());if(this.isMoveEnabled()){var d=this.graph.model,e=d.getGeometry(c);this.graph.isCellMovable(c)&&(!d.isEdge(c)||1<this.graph.getSelectionCount()||
- null!=e.points&&0<e.points.length||null==d.getTerminal(c,!0)||null==d.getTerminal(c,!1)||this.graph.allowDanglingEdges||this.graph.isCloneEvent(b.getEvent())&&this.graph.isCellsCloneable())?this.start(c,b.getX(),b.getY()):this.delayedSelection&&(this.cell=c);this.cellWasClicked=!0;this.consumeMouseEvent(mxEvent.MOUSE_DOWN,b)}}};
- mxGraphHandler.prototype.getGuideStates=function(){var a=this.graph.getDefaultParent(),b=this.graph.getModel(),c=mxUtils.bind(this,function(a){return null!=this.graph.view.getState(a)&&b.isVertex(a)&&null!=b.getGeometry(a)&&!b.getGeometry(a).relative});return this.graph.view.getCellStates(b.filterDescendants(c,a))};mxGraphHandler.prototype.getCells=function(a){return!this.delayedSelection&&this.graph.isCellMovable(a)?[a]:this.graph.getMovableCells(this.graph.getSelectionCells())};
- mxGraphHandler.prototype.getPreviewBounds=function(a){a=this.getBoundingBox(a);null!=a&&(a.width=Math.max(0,a.width-1),a.height=Math.max(0,a.height-1),a.width<this.minimumSize?(a.x-=(this.minimumSize-a.width)/2,a.width=this.minimumSize):(a.x=Math.round(a.x),a.width=Math.ceil(a.width)),a.height<this.minimumSize?(a.y-=(this.minimumSize-a.height)/2,a.height=this.minimumSize):(a.y=Math.round(a.y),a.height=Math.ceil(a.height)));return a};
- mxGraphHandler.prototype.getBoundingBox=function(a){var b=null;if(null!=a&&0<a.length)for(var c=this.graph.getModel(),d=0;d<a.length;d++)if(c.isVertex(a[d])||c.isEdge(a[d])){var e=this.graph.view.getState(a[d]);if(null!=e){var f=e;c.isVertex(a[d])&&null!=e.shape&&null!=e.shape.boundingBox&&(f=e.shape.boundingBox);null==b?b=mxRectangle.fromRectangle(f):b.add(f)}}return b};
- mxGraphHandler.prototype.createPreviewShape=function(a){a=new mxRectangleShape(a,null,this.previewColor);a.isDashed=!0;this.htmlPreview?(a.dialect=mxConstants.DIALECT_STRICTHTML,a.init(this.graph.container)):(a.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,a.init(this.graph.getView().getOverlayPane()),a.pointerEvents=!1,mxClient.IS_IOS&&(a.getSvgScreenOffset=function(){return 0}));return a};
- mxGraphHandler.prototype.start=function(a,b,c){this.cell=a;this.first=mxUtils.convertPoint(this.graph.container,b,c);this.cells=this.getCells(this.cell);this.bounds=this.graph.getView().getBounds(this.cells);this.pBounds=this.getPreviewBounds(this.cells);this.guidesEnabled&&(this.guide=new mxGuide(this.graph,this.getGuideStates()))};mxGraphHandler.prototype.useGuidesForEvent=function(a){return null!=this.guide?this.guide.isEnabledForEvent(a.getEvent()):!0};
- mxGraphHandler.prototype.snap=function(a){var b=this.scaleGrid?this.graph.view.scale:1;a.x=this.graph.snap(a.x/b)*b;a.y=this.graph.snap(a.y/b)*b;return a};mxGraphHandler.prototype.getDelta=function(a){a=mxUtils.convertPoint(this.graph.container,a.getX(),a.getY());var b=this.graph.view.scale;return new mxPoint(this.roundLength((a.x-this.first.x)/b)*b,this.roundLength((a.y-this.first.y)/b)*b)};mxGraphHandler.prototype.updateHint=function(a){};mxGraphHandler.prototype.removeHint=function(){};
- mxGraphHandler.prototype.roundLength=function(a){return Math.round(a)};
- mxGraphHandler.prototype.mouseMove=function(a,b){var c=this.graph;if(!b.isConsumed()&&c.isMouseDown&&null!=this.cell&&null!=this.first&&null!=this.bounds)if(mxEvent.isMultiTouchEvent(b.getEvent()))this.reset();else{var d=this.getDelta(b),e=d.x,d=d.y,f=c.tolerance;if(null!=this.shape||Math.abs(e)>f||Math.abs(d)>f){null==this.highlight&&(this.highlight=new mxCellHighlight(this.graph,mxConstants.DROP_TARGET_COLOR,3));null==this.shape&&(this.shape=this.createPreviewShape(this.bounds));var g=c.isGridEnabledEvent(b.getEvent()),
- f=!0;if(null!=this.guide&&this.useGuidesForEvent(b))d=this.guide.move(this.bounds,new mxPoint(e,d),g),f=!1,e=d.x,d=d.y;else if(g)var k=c.getView().translate,l=c.getView().scale,g=this.bounds.x-(c.snap(this.bounds.x/l-k.x)+k.x)*l,k=this.bounds.y-(c.snap(this.bounds.y/l-k.y)+k.y)*l,d=this.snap(new mxPoint(e,d)),e=d.x-g,d=d.y-k;null!=this.guide&&f&&this.guide.hide();c.isConstrainedEvent(b.getEvent())&&(Math.abs(e)>Math.abs(d)?d=0:e=0);this.currentDx=e;this.currentDy=d;this.updatePreviewShape();f=null;
- d=b.getCell();g=c.isCloneEvent(b.getEvent())&&c.isCellsCloneable()&&this.isCloneEnabled();c.isDropEnabled()&&this.highlightEnabled&&(f=c.getDropTarget(this.cells,b.getEvent(),d,g));e=c.getView().getState(f);k=!1;null==e||c.model.getParent(this.cell)==f&&!g?(this.target=null,this.connectOnDrop&&null!=d&&1==this.cells.length&&c.getModel().isVertex(d)&&c.isCellConnectable(d)&&(e=c.getView().getState(d),null!=e&&(c=null==c.getEdgeValidationError(null,this.cell,d)?mxConstants.VALID_COLOR:mxConstants.INVALID_CONNECT_TARGET_COLOR,
- this.setHighlightColor(c),k=!0))):(this.target!=f&&(this.target=f,this.setHighlightColor(mxConstants.DROP_TARGET_COLOR)),k=!0);null!=e&&k?this.highlight.highlight(e):this.highlight.hide()}this.updateHint(b);this.consumeMouseEvent(mxEvent.MOUSE_MOVE,b);mxEvent.consume(b.getEvent())}else!this.isMoveEnabled()&&!this.isCloneEnabled()||!this.updateCursor||b.isConsumed()||null==b.getState()||c.isMouseDown||(e=c.getCursorForMouseEvent(b),null==e&&c.isEnabled()&&c.isCellMovable(b.getCell())&&(e=c.getModel().isEdge(b.getCell())?
- mxConstants.CURSOR_MOVABLE_EDGE:mxConstants.CURSOR_MOVABLE_VERTEX),null!=b.sourceState&&b.sourceState.setCursor(e))};mxGraphHandler.prototype.updatePreviewShape=function(){null!=this.shape&&(this.shape.bounds=new mxRectangle(Math.round(this.pBounds.x+this.currentDx-this.graph.panDx),Math.round(this.pBounds.y+this.currentDy-this.graph.panDy),this.pBounds.width,this.pBounds.height),this.shape.redraw())};mxGraphHandler.prototype.setHighlightColor=function(a){null!=this.highlight&&this.highlight.setHighlightColor(a)};
- mxGraphHandler.prototype.mouseUp=function(a,b){if(!b.isConsumed()){var c=this.graph;if(null!=this.cell&&null!=this.first&&null!=this.shape&&null!=this.currentDx&&null!=this.currentDy){var d=b.getCell();if(this.connectOnDrop&&null==this.target&&null!=d&&c.getModel().isVertex(d)&&c.isCellConnectable(d)&&c.isEdgeValid(null,this.cell,d))c.connectionHandler.connect(this.cell,d,b.getEvent());else{var d=c.isCloneEvent(b.getEvent())&&c.isCellsCloneable()&&this.isCloneEnabled(),e=c.getView().scale,f=this.roundLength(this.currentDx/
- e),e=this.roundLength(this.currentDy/e),g=this.target;c.isSplitEnabled()&&c.isSplitTarget(g,this.cells,b.getEvent())?c.splitEdge(g,this.cells,null,f,e):this.moveCells(this.cells,f,e,d,this.target,b.getEvent())}}else this.isSelectEnabled()&&this.delayedSelection&&null!=this.cell&&this.selectDelayed(b)}this.cellWasClicked&&this.consumeMouseEvent(mxEvent.MOUSE_UP,b);this.reset()};
- mxGraphHandler.prototype.selectDelayed=function(a){this.graph.isCellSelected(this.cell)&&this.graph.popupMenuHandler.isPopupTrigger(a)||this.graph.selectCellForEvent(this.cell,a.getEvent())};mxGraphHandler.prototype.reset=function(){this.destroyShapes();this.removeHint();this.delayedSelection=this.cellWasClicked=!1;this.target=this.cell=this.first=this.guides=this.currentDy=this.currentDx=null};
- mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(a,b,c){if(this.graph.getModel().isVertex(a)&&(a=this.graph.getView().getState(a),null!=a)){c=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(c),mxEvent.getClientY(c));var d=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);if(0!=d){b=Math.cos(-d);var d=Math.sin(-d),e=new mxPoint(a.getCenterX(),a.getCenterY());c=mxUtils.getRotatedPoint(c,b,d,e)}return!mxUtils.contains(a,c.x,c.y)}return!1};
- mxGraphHandler.prototype.moveCells=function(a,b,c,d,e,f){d&&(a=this.graph.getCloneableCells(a));null==e&&this.isRemoveCellsFromParent()&&this.shouldRemoveCellsFromParent(this.graph.getModel().getParent(this.cell),a,f)&&(e=this.graph.getDefaultParent());a=this.graph.moveCells(a,b-this.graph.panDx/this.graph.view.scale,c-this.graph.panDy/this.graph.view.scale,d,e,f);this.isSelectEnabled()&&this.scrollOnMove&&this.graph.scrollCellToVisible(a[0]);d&&this.graph.setSelectionCells(a)};
- mxGraphHandler.prototype.destroyShapes=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.guide&&(this.guide.destroy(),this.guide=null);null!=this.highlight&&(this.highlight.destroy(),this.highlight=null)};mxGraphHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.panHandler);null!=this.escapeHandler&&(this.graph.removeListener(this.escapeHandler),this.escapeHandler=null);this.destroyShapes();this.removeHint()};
- function mxPanningHandler(a){null!=a&&(this.graph=a,this.graph.addMouseListener(this),this.forcePanningHandler=mxUtils.bind(this,function(a,c){var b=c.getProperty("eventName"),e=c.getProperty("event");b==mxEvent.MOUSE_DOWN&&this.isForcePanningEvent(e)&&(this.start(e),this.active=!0,this.fireEvent(new mxEventObject(mxEvent.PAN_START,"event",e)),e.consume())}),this.graph.addListener(mxEvent.FIRE_MOUSE_EVENT,this.forcePanningHandler),this.gestureHandler=mxUtils.bind(this,function(a,c){if(this.isPinchEnabled()){var b=
- c.getProperty("event");mxEvent.isConsumed(b)||"gesturestart"!=b.type?"gestureend"==b.type&&null==this.initialScale&&(this.initialScale=null):(this.initialScale=this.graph.view.scale,this.active||null==this.mouseDownEvent||(this.start(this.mouseDownEvent),this.mouseDownEvent=null));if(null!=this.initialScale){var e=Math.round(this.initialScale*b.scale*100)/100;null!=this.minScale&&(e=Math.max(this.minScale,e));null!=this.maxScale&&(e=Math.min(this.maxScale,e));this.graph.view.scale!=e&&(this.graph.zoomTo(e),
- mxEvent.consume(b))}}}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler))}mxPanningHandler.prototype=new mxEventSource;mxPanningHandler.prototype.constructor=mxPanningHandler;mxPanningHandler.prototype.graph=null;mxPanningHandler.prototype.useLeftButtonForPanning=!1;mxPanningHandler.prototype.usePopupTrigger=!0;mxPanningHandler.prototype.ignoreCell=!1;mxPanningHandler.prototype.previewEnabled=!0;mxPanningHandler.prototype.useGrid=!1;mxPanningHandler.prototype.panningEnabled=!0;
- mxPanningHandler.prototype.pinchEnabled=!0;mxPanningHandler.prototype.maxScale=8;mxPanningHandler.prototype.minScale=.01;mxPanningHandler.prototype.dx=null;mxPanningHandler.prototype.dy=null;mxPanningHandler.prototype.startX=0;mxPanningHandler.prototype.startY=0;mxPanningHandler.prototype.isActive=function(){return this.active||null!=this.initialScale};mxPanningHandler.prototype.isPanningEnabled=function(){return this.panningEnabled};
- mxPanningHandler.prototype.setPanningEnabled=function(a){this.panningEnabled=a};mxPanningHandler.prototype.isPinchEnabled=function(){return this.pinchEnabled};mxPanningHandler.prototype.setPinchEnabled=function(a){this.pinchEnabled=a};mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return this.useLeftButtonForPanning&&null==a.getState()&&mxEvent.isLeftMouseButton(b)||mxEvent.isControlDown(b)&&mxEvent.isShiftDown(b)||this.usePopupTrigger&&mxEvent.isPopupTrigger(b)};
- mxPanningHandler.prototype.isForcePanningEvent=function(a){return this.ignoreCell||mxEvent.isMultiTouchEvent(a.getEvent())};mxPanningHandler.prototype.mouseDown=function(a,b){this.mouseDownEvent=b;!b.isConsumed()&&this.isPanningEnabled()&&!this.active&&this.isPanningTrigger(b)&&(this.start(b),this.consumePanningTrigger(b))};
- mxPanningHandler.prototype.start=function(a){this.dx0=-this.graph.container.scrollLeft;this.dy0=-this.graph.container.scrollTop;this.startX=a.getX();this.startY=a.getY();this.dy=this.dx=null;this.panningTrigger=!0};mxPanningHandler.prototype.consumePanningTrigger=function(a){a.consume()};
- mxPanningHandler.prototype.mouseMove=function(a,b){this.dx=b.getX()-this.startX;this.dy=b.getY()-this.startY;if(this.active)this.previewEnabled&&(this.useGrid&&(this.dx=this.graph.snap(this.dx),this.dy=this.graph.snap(this.dy)),this.graph.panGraph(this.dx+this.dx0,this.dy+this.dy0)),this.fireEvent(new mxEventObject(mxEvent.PAN,"event",b));else if(this.panningTrigger){var c=this.active;this.active=Math.abs(this.dx)>this.graph.tolerance||Math.abs(this.dy)>this.graph.tolerance;!c&&this.active&&this.fireEvent(new mxEventObject(mxEvent.PAN_START,
- "event",b))}(this.active||this.panningTrigger)&&b.consume()};
- mxPanningHandler.prototype.mouseUp=function(a,b){if(this.active){if(null!=this.dx&&null!=this.dy){if(!this.graph.useScrollbarsForPanning||!mxUtils.hasScrollbars(this.graph.container)){var c=this.graph.getView().scale,d=this.graph.getView().translate;this.graph.panGraph(0,0);this.panGraph(d.x+this.dx/c,d.y+this.dy/c)}b.consume()}this.fireEvent(new mxEventObject(mxEvent.PAN_END,"event",b))}this.panningTrigger=!1;this.mouseDownEvent=null;this.active=!1;this.dy=this.dx=null};
- mxPanningHandler.prototype.panGraph=function(a,b){this.graph.getView().setTranslate(a,b)};mxPanningHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.forcePanningHandler);this.graph.removeListener(this.gestureHandler)};
- function mxPopupMenuHandler(a,b){null!=a&&(this.graph=a,this.factoryMethod=b,this.graph.addMouseListener(this),this.gestureHandler=mxUtils.bind(this,function(a,b){this.inTolerance=!1}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler),this.init())}mxPopupMenuHandler.prototype=new mxPopupMenu;mxPopupMenuHandler.prototype.constructor=mxPopupMenuHandler;mxPopupMenuHandler.prototype.graph=null;mxPopupMenuHandler.prototype.selectOnPopup=!0;
- mxPopupMenuHandler.prototype.clearSelectionOnBackground=!0;mxPopupMenuHandler.prototype.triggerX=null;mxPopupMenuHandler.prototype.triggerY=null;mxPopupMenuHandler.prototype.screenX=null;mxPopupMenuHandler.prototype.screenY=null;mxPopupMenuHandler.prototype.init=function(){mxPopupMenu.prototype.init.apply(this);mxEvent.addGestureListeners(this.div,mxUtils.bind(this,function(a){this.graph.tooltipHandler.hide()}))};mxPopupMenuHandler.prototype.isSelectOnPopup=function(a){return this.selectOnPopup};
- mxPopupMenuHandler.prototype.mouseDown=function(a,b){this.isEnabled()&&!mxEvent.isMultiTouchEvent(b.getEvent())&&(this.hideMenu(),this.triggerX=b.getGraphX(),this.triggerY=b.getGraphY(),this.screenX=mxEvent.getMainEvent(b.getEvent()).screenX,this.screenY=mxEvent.getMainEvent(b.getEvent()).screenY,this.popupTrigger=this.isPopupTrigger(b),this.inTolerance=!0)};
- mxPopupMenuHandler.prototype.mouseMove=function(a,b){this.inTolerance&&null!=this.screenX&&null!=this.screenY&&(Math.abs(mxEvent.getMainEvent(b.getEvent()).screenX-this.screenX)>this.graph.tolerance||Math.abs(mxEvent.getMainEvent(b.getEvent()).screenY-this.screenY)>this.graph.tolerance)&&(this.inTolerance=!1)};
- mxPopupMenuHandler.prototype.mouseUp=function(a,b){if(this.popupTrigger&&this.inTolerance&&null!=this.triggerX&&null!=this.triggerY){var c=this.getCellForPopupEvent(b);this.graph.isEnabled()&&this.isSelectOnPopup(b)&&null!=c&&!this.graph.isCellSelected(c)?this.graph.setSelectionCell(c):this.clearSelectionOnBackground&&null==c&&this.graph.clearSelection();this.graph.tooltipHandler.hide();var d=mxUtils.getScrollOrigin();this.popup(b.getX()+d.x+1,b.getY()+d.y+1,c,b.getEvent());b.consume()}this.inTolerance=
- this.popupTrigger=!1};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(a){return a.getCell()};mxPopupMenuHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.gestureHandler);mxPopupMenu.prototype.destroy.apply(this)};
- function mxCellMarker(a,b,c,d){mxEventSource.call(this);null!=a&&(this.graph=a,this.validColor=null!=b?b:mxConstants.DEFAULT_VALID_COLOR,this.invalidColor=null!=b?c:mxConstants.DEFAULT_INVALID_COLOR,this.hotspot=null!=d?d:mxConstants.DEFAULT_HOTSPOT,this.highlight=new mxCellHighlight(a))}mxUtils.extend(mxCellMarker,mxEventSource);mxCellMarker.prototype.graph=null;mxCellMarker.prototype.enabled=!0;mxCellMarker.prototype.hotspot=mxConstants.DEFAULT_HOTSPOT;mxCellMarker.prototype.hotspotEnabled=!1;
- mxCellMarker.prototype.validColor=null;mxCellMarker.prototype.invalidColor=null;mxCellMarker.prototype.currentColor=null;mxCellMarker.prototype.validState=null;mxCellMarker.prototype.markedState=null;mxCellMarker.prototype.setEnabled=function(a){this.enabled=a};mxCellMarker.prototype.isEnabled=function(){return this.enabled};mxCellMarker.prototype.setHotspot=function(a){this.hotspot=a};mxCellMarker.prototype.getHotspot=function(){return this.hotspot};
- mxCellMarker.prototype.setHotspotEnabled=function(a){this.hotspotEnabled=a};mxCellMarker.prototype.isHotspotEnabled=function(){return this.hotspotEnabled};mxCellMarker.prototype.hasValidState=function(){return null!=this.validState};mxCellMarker.prototype.getValidState=function(){return this.validState};mxCellMarker.prototype.getMarkedState=function(){return this.markedState};mxCellMarker.prototype.reset=function(){this.validState=null;null!=this.markedState&&(this.markedState=null,this.unmark())};
- mxCellMarker.prototype.process=function(a){var b=null;this.isEnabled()&&(b=this.getState(a),this.setCurrentState(b,a));return b};mxCellMarker.prototype.setCurrentState=function(a,b,c){var d=null!=a?this.isValidState(a):!1;c=null!=c?c:this.getMarkerColor(b.getEvent(),a,d);this.validState=d?a:null;if(a!=this.markedState||c!=this.currentColor)this.currentColor=c,null!=a&&null!=this.currentColor?(this.markedState=a,this.mark()):null!=this.markedState&&(this.markedState=null,this.unmark())};
- mxCellMarker.prototype.markCell=function(a,b){var c=this.graph.getView().getState(a);null!=c&&(this.currentColor=null!=b?b:this.validColor,this.markedState=c,this.mark())};mxCellMarker.prototype.mark=function(){this.highlight.setHighlightColor(this.currentColor);this.highlight.highlight(this.markedState);this.fireEvent(new mxEventObject(mxEvent.MARK,"state",this.markedState))};mxCellMarker.prototype.unmark=function(){this.mark()};mxCellMarker.prototype.isValidState=function(a){return!0};
- mxCellMarker.prototype.getMarkerColor=function(a,b,c){return c?this.validColor:this.invalidColor};mxCellMarker.prototype.getState=function(a){var b=this.graph.getView(),c=this.getCell(a),b=this.getStateToMark(b.getState(c));return null!=b&&this.intersects(b,a)?b:null};mxCellMarker.prototype.getCell=function(a){return a.getCell()};mxCellMarker.prototype.getStateToMark=function(a){return a};
- mxCellMarker.prototype.intersects=function(a,b){return this.hotspotEnabled?mxUtils.intersectsHotspot(a,b.getGraphX(),b.getGraphY(),this.hotspot,mxConstants.MIN_HOTSPOT_SIZE,mxConstants.MAX_HOTSPOT_SIZE):!0};mxCellMarker.prototype.destroy=function(){this.graph.getView().removeListener(this.resetHandler);this.graph.getModel().removeListener(this.resetHandler);this.highlight.destroy()};
- function mxSelectionCellsHandler(a){mxEventSource.call(this);this.graph=a;this.handlers=new mxDictionary;this.graph.addMouseListener(this);this.refreshHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.refresh()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.refreshHandler);this.graph.getModel().addListener(mxEvent.CHANGE,this.refreshHandler);this.graph.getView().addListener(mxEvent.SCALE,this.refreshHandler);this.graph.getView().addListener(mxEvent.TRANSLATE,this.refreshHandler);
- this.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.refreshHandler);this.graph.getView().addListener(mxEvent.DOWN,this.refreshHandler);this.graph.getView().addListener(mxEvent.UP,this.refreshHandler)}mxUtils.extend(mxSelectionCellsHandler,mxEventSource);mxSelectionCellsHandler.prototype.graph=null;mxSelectionCellsHandler.prototype.enabled=!0;mxSelectionCellsHandler.prototype.refreshHandler=null;mxSelectionCellsHandler.prototype.maxHandlers=100;
- mxSelectionCellsHandler.prototype.handlers=null;mxSelectionCellsHandler.prototype.isEnabled=function(){return this.enabled};mxSelectionCellsHandler.prototype.setEnabled=function(a){this.enabled=a};mxSelectionCellsHandler.prototype.getHandler=function(a){return this.handlers.get(a)};mxSelectionCellsHandler.prototype.reset=function(){this.handlers.visit(function(a,b){b.reset.apply(b)})};
- mxSelectionCellsHandler.prototype.refresh=function(){var a=this.handlers;this.handlers=new mxDictionary;for(var b=this.graph.getSelectionCells(),c=0;c<b.length;c++){var d=this.graph.view.getState(b[c]);if(null!=d){var e=a.remove(b[c]);null!=e&&(e.state!=d?(e.destroy(),e=null):(null!=e.refresh&&e.refresh(),e.redraw()));null==e&&(e=this.graph.createHandler(d),this.fireEvent(new mxEventObject(mxEvent.ADD,"state",d)));null!=e&&this.handlers.put(b[c],e)}}a.visit(mxUtils.bind(this,function(a,b){this.fireEvent(new mxEventObject(mxEvent.REMOVE,
- "state",b.state));b.destroy()}))};mxSelectionCellsHandler.prototype.updateHandler=function(a){var b=this.handlers.remove(a.cell);null!=b&&(b.destroy(),b=this.graph.createHandler(a),null!=b&&this.handlers.put(a.cell,b))};mxSelectionCellsHandler.prototype.mouseDown=function(a,b){if(this.graph.isEnabled()&&this.isEnabled()){var c=[a,b];this.handlers.visit(function(a,b){b.mouseDown.apply(b,c)})}};
- mxSelectionCellsHandler.prototype.mouseMove=function(a,b){if(this.graph.isEnabled()&&this.isEnabled()){var c=[a,b];this.handlers.visit(function(a,b){b.mouseMove.apply(b,c)})}};mxSelectionCellsHandler.prototype.mouseUp=function(a,b){if(this.graph.isEnabled()&&this.isEnabled()){var c=[a,b];this.handlers.visit(function(a,b){b.mouseUp.apply(b,c)})}};
- mxSelectionCellsHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);null!=this.refreshHandler&&(this.graph.getSelectionModel().removeListener(this.refreshHandler),this.graph.getModel().removeListener(this.refreshHandler),this.graph.getView().removeListener(this.refreshHandler),this.refreshHandler=null)};
- function mxConnectionHandler(a,b){mxEventSource.call(this);null!=a&&(this.graph=a,this.factoryMethod=b,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,b){this.reset()}),this.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxUtils.extend(mxConnectionHandler,mxEventSource);mxConnectionHandler.prototype.graph=null;mxConnectionHandler.prototype.factoryMethod=!0;mxConnectionHandler.prototype.moveIconFront=!1;mxConnectionHandler.prototype.moveIconBack=!1;
- mxConnectionHandler.prototype.connectImage=null;mxConnectionHandler.prototype.targetConnectImage=!1;mxConnectionHandler.prototype.enabled=!0;mxConnectionHandler.prototype.select=!0;mxConnectionHandler.prototype.createTarget=!1;mxConnectionHandler.prototype.marker=null;mxConnectionHandler.prototype.constraintHandler=null;mxConnectionHandler.prototype.error=null;mxConnectionHandler.prototype.waypointsEnabled=!1;mxConnectionHandler.prototype.ignoreMouseDown=!1;mxConnectionHandler.prototype.first=null;
- mxConnectionHandler.prototype.connectIconOffset=new mxPoint(0,mxConstants.TOOLTIP_VERTICAL_OFFSET);mxConnectionHandler.prototype.edgeState=null;mxConnectionHandler.prototype.changeHandler=null;mxConnectionHandler.prototype.drillHandler=null;mxConnectionHandler.prototype.mouseDownCounter=0;mxConnectionHandler.prototype.movePreviewAway=mxClient.IS_VML;mxConnectionHandler.prototype.outlineConnect=!1;mxConnectionHandler.prototype.livePreview=!1;mxConnectionHandler.prototype.cursor=null;
- mxConnectionHandler.prototype.insertBeforeSource=!1;mxConnectionHandler.prototype.isEnabled=function(){return this.enabled};mxConnectionHandler.prototype.setEnabled=function(a){this.enabled=a};mxConnectionHandler.prototype.isInsertBefore=function(a,b,c,d,e){return this.insertBeforeSource&&b!=c};mxConnectionHandler.prototype.isCreateTarget=function(a){return this.createTarget};mxConnectionHandler.prototype.setCreateTarget=function(a){this.createTarget=a};
- mxConnectionHandler.prototype.createShape=function(){var a=this.livePreview&&null!=this.edgeState?this.graph.cellRenderer.createShape(this.edgeState):new mxPolyline([],mxConstants.INVALID_COLOR);a.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG;a.scale=this.graph.view.scale;a.pointerEvents=!1;a.isDashed=!0;a.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(a.node,this.graph,null);return a};
- mxConnectionHandler.prototype.init=function(){this.graph.addMouseListener(this);this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(this.graph);this.changeHandler=mxUtils.bind(this,function(a){null!=this.iconState&&(this.iconState=this.graph.getView().getState(this.iconState.cell));null!=this.iconState?(this.redrawIcons(this.icons,this.iconState),this.constraintHandler.reset()):null!=this.previous&&null==this.graph.view.getState(this.previous.cell)&&this.reset()});this.graph.getModel().addListener(mxEvent.CHANGE,
- this.changeHandler);this.graph.getView().addListener(mxEvent.SCALE,this.changeHandler);this.graph.getView().addListener(mxEvent.TRANSLATE,this.changeHandler);this.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.changeHandler);this.drillHandler=mxUtils.bind(this,function(a){this.reset()});this.graph.addListener(mxEvent.START_EDITING,this.drillHandler);this.graph.getView().addListener(mxEvent.DOWN,this.drillHandler);this.graph.getView().addListener(mxEvent.UP,this.drillHandler)};
- mxConnectionHandler.prototype.isConnectableCell=function(a){return!0};
- mxConnectionHandler.prototype.createMarker=function(){var a=new mxCellMarker(this.graph);a.hotspotEnabled=!0;a.getCell=mxUtils.bind(this,function(b){var c=mxCellMarker.prototype.getCell.apply(a,arguments);this.error=null;null==c&&null!=this.currentPoint&&(c=this.graph.getCellAt(this.currentPoint.x,this.currentPoint.y));if(null!=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(d)&&this.graph.isCellConnectable(d)&&(c=d)}if(this.graph.isSwimlane(c)&&
- null!=this.currentPoint&&this.graph.hitsSwimlaneContent(c,this.currentPoint.x,this.currentPoint.y)||!this.isConnectableCell(c))c=null;null!=c?this.isConnecting()?null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,c),null!=this.error&&0==this.error.length&&(c=null,this.isCreateTarget(b.getEvent())&&(this.error=null))):this.isValidSource(c,b)||(c=null):!this.isConnecting()||this.isCreateTarget(b.getEvent())||this.graph.allowDanglingEdges||(this.error="");return c});a.isValidState=
- mxUtils.bind(this,function(b){return this.isConnecting()?null==this.error:mxCellMarker.prototype.isValidState.apply(a,arguments)});a.getMarkerColor=mxUtils.bind(this,function(b,c,d){return null==this.connectImage||this.isConnecting()?mxCellMarker.prototype.getMarkerColor.apply(a,arguments):null});a.intersects=mxUtils.bind(this,function(b,c){return null!=this.connectImage||this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(a,arguments)});return a};
- mxConnectionHandler.prototype.start=function(a,b,c,d){this.previous=a;this.first=new mxPoint(b,c);this.edgeState=null!=d?d:this.createEdgeState(null);this.marker.currentColor=this.marker.validColor;this.marker.markedState=a;this.marker.mark();this.fireEvent(new mxEventObject(mxEvent.START,"state",this.previous))};mxConnectionHandler.prototype.isConnecting=function(){return null!=this.first&&null!=this.shape};mxConnectionHandler.prototype.isValidSource=function(a,b){return this.graph.isValidSource(a)};
- mxConnectionHandler.prototype.isValidTarget=function(a){return!0};mxConnectionHandler.prototype.validateConnection=function(a,b){return this.isValidTarget(b)?this.graph.getEdgeValidationError(null,a,b):""};mxConnectionHandler.prototype.getConnectImage=function(a){return this.connectImage};mxConnectionHandler.prototype.isMoveIconToFrontForState=function(a){return null!=a.text&&a.text.node.parentNode==this.graph.container?!0:this.moveIconFront};
- mxConnectionHandler.prototype.createIcons=function(a){var b=this.getConnectImage(a);if(null!=b&&null!=a){this.iconState=a;var c=[],d=new mxRectangle(0,0,b.width,b.height),e=new mxImageShape(d,b.src,null,null,0);e.preserveImageAspect=!1;this.isMoveIconToFrontForState(a)?(e.dialect=mxConstants.DIALECT_STRICTHTML,e.init(this.graph.container)):(e.dialect=this.graph.dialect==mxConstants.DIALECT_SVG?mxConstants.DIALECT_SVG:mxConstants.DIALECT_VML,e.init(this.graph.getView().getOverlayPane()),this.moveIconBack&&
- null!=e.node.previousSibling&&e.node.parentNode.insertBefore(e.node,e.node.parentNode.firstChild));e.node.style.cursor=mxConstants.CURSOR_CONNECT;var f=mxUtils.bind(this,function(){return null!=this.currentState?this.currentState:a}),b=mxUtils.bind(this,function(a){mxEvent.isConsumed(a)||(this.icon=e,this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a,f())))});mxEvent.redirectMouseEvents(e.node,this.graph,f,b);c.push(e);this.redrawIcons(c,this.iconState);return c}return null};
- mxConnectionHandler.prototype.redrawIcons=function(a,b){if(null!=a&&null!=a[0]&&null!=b){var c=this.getIconPosition(a[0],b);a[0].bounds.x=c.x;a[0].bounds.y=c.y;a[0].redraw()}};
- mxConnectionHandler.prototype.getIconPosition=function(a,b){var c=this.graph.getView().scale,d=b.getCenterX(),e=b.getCenterY();if(this.graph.isSwimlane(b.cell)){var f=this.graph.getStartSize(b.cell),d=0!=f.width?b.x+f.width*c/2:d,e=0!=f.height?b.y+f.height*c/2:e,f=mxUtils.toRadians(mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION)||0);if(0!=f)var c=Math.cos(f),f=Math.sin(f),g=new mxPoint(b.getCenterX(),b.getCenterY()),e=mxUtils.getRotatedPoint(new mxPoint(d,e),c,f,g),d=e.x,e=e.y}return new mxPoint(d-
- a.bounds.width/2,e-a.bounds.height/2)};mxConnectionHandler.prototype.destroyIcons=function(){if(null!=this.icons){for(var a=0;a<this.icons.length;a++)this.icons[a].destroy();this.iconState=this.selectedIcon=this.icon=this.icons=null}};mxConnectionHandler.prototype.isStartEvent=function(a){return null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint||null!=this.previous&&null==this.error&&(null==this.icons||null!=this.icons&&null!=this.icon)};
- mxConnectionHandler.prototype.mouseDown=function(a,b){this.mouseDownCounter++;if(this.isEnabled()&&this.graph.isEnabled()&&!b.isConsumed()&&!this.isConnecting()&&this.isStartEvent(b)){null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint?(this.sourceConstraint=this.constraintHandler.currentConstraint,this.previous=this.constraintHandler.currentFocus,this.first=this.constraintHandler.currentPoint.clone()):this.first=new mxPoint(b.getGraphX(),
- b.getGraphY());this.edgeState=this.createEdgeState(b);this.mouseDownCounter=1;this.waypointsEnabled&&null==this.shape&&(this.waypoints=null,this.shape=this.createShape(),null!=this.edgeState&&this.shape.apply(this.edgeState));if(null==this.previous&&null!=this.edgeState){var c=this.graph.getPointForEvent(b.getEvent());this.edgeState.cell.geometry.setTerminalPoint(c,!0)}this.fireEvent(new mxEventObject(mxEvent.START,"state",this.previous));b.consume()}this.selectedIcon=this.icon;this.icon=null};
- mxConnectionHandler.prototype.isImmediateConnectSource=function(a){return!this.graph.isCellMovable(a.cell)};mxConnectionHandler.prototype.createEdgeState=function(a){return null};
- mxConnectionHandler.prototype.isOutlineConnectEvent=function(a){var b=mxUtils.getOffset(this.graph.container),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f=this.currentPoint.x-this.graph.container.scrollLeft+b.x-((window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)),b=this.currentPoint.y-this.graph.container.scrollTop+b.y-((window.pageYOffset||e.scrollTop)-(e.clientTop||0));return this.outlineConnect&&!mxEvent.isShiftDown(a.getEvent())&&(a.isSource(this.marker.highlight.shape)||
- mxEvent.isAltDown(a.getEvent())&&null!=a.getState()||this.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=c)&&null==a.getState()&&this.marker.highlight.isHighlightAt(f,b))};
- mxConnectionHandler.prototype.updateCurrentState=function(a,b){this.constraintHandler.update(a,null==this.first,!1,null==this.first||a.isSource(this.marker.highlight.shape)?null:b);if(null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint)null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cell?"transparent"!=this.marker.highlight.shape.stroke&&(this.marker.highlight.shape.stroke="transparent",
- this.marker.highlight.repaint()):this.marker.markCell(this.constraintHandler.currentFocus.cell,"transparent"),null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,this.constraintHandler.currentFocus.cell),null==this.error?this.currentState=this.constraintHandler.currentFocus:this.constraintHandler.reset());else{this.graph.isIgnoreTerminalEvent(a.getEvent())?(this.marker.reset(),this.currentState=null):(this.marker.process(a),this.currentState=this.marker.getValidState());var c=
- this.isOutlineConnectEvent(a);null!=this.currentState&&c&&(a.isSource(this.marker.highlight.shape)&&(b=new mxPoint(a.getGraphX(),a.getGraphY())),c=this.graph.getOutlineConstraint(b,this.currentState,a),this.constraintHandler.setFocus(a,this.currentState,!1),this.constraintHandler.currentConstraint=c,this.constraintHandler.currentPoint=b);this.outlineConnect&&null!=this.marker.highlight&&null!=this.marker.highlight.shape&&(c=this.graph.view.scale,null!=this.constraintHandler.currentConstraint&&null!=
- this.constraintHandler.currentFocus?(this.marker.highlight.shape.stroke=mxConstants.OUTLINE_HIGHLIGHT_COLOR,this.marker.highlight.shape.strokewidth=mxConstants.OUTLINE_HIGHLIGHT_STROKEWIDTH/c/c,this.marker.highlight.repaint()):this.marker.hasValidState()&&(this.marker.getValidState()!=a.getState()?(this.marker.highlight.shape.stroke="transparent",this.currentState=null):this.marker.highlight.shape.stroke=mxConstants.DEFAULT_VALID_COLOR,this.marker.highlight.shape.strokewidth=mxConstants.HIGHLIGHT_STROKEWIDTH/
- c/c,this.marker.highlight.repaint()))}};mxConnectionHandler.prototype.convertWaypoint=function(a){var b=this.graph.getView().getScale(),c=this.graph.getView().getTranslate();a.x=a.x/b-c.x;a.y=a.y/b-c.y};
- mxConnectionHandler.prototype.snapToPreview=function(a,b){if(!mxEvent.isAltDown(a.getEvent())&&null!=this.previous){var c=this.graph.gridSize*this.graph.view.scale/2,d=null!=this.sourceConstraint?this.first:new mxPoint(this.previous.getCenterX(),this.previous.getCenterY());Math.abs(d.x-a.getGraphX())<c&&(b.x=d.x);Math.abs(d.y-a.getGraphY())<c&&(b.y=d.y)}};
- mxConnectionHandler.prototype.mouseMove=function(a,b){if(b.isConsumed()||!this.ignoreMouseDown&&null==this.first&&this.graph.isMouseDown)this.constraintHandler.reset();else{this.isEnabled()||null==this.currentState||(this.destroyIcons(),this.currentState=null);var c=this.graph.getView(),d=c.scale,e=c.translate,c=new mxPoint(b.getGraphX(),b.getGraphY());this.error=null;this.graph.isGridEnabledEvent(b.getEvent())&&(c=new mxPoint((this.graph.snap(c.x/d-e.x)+e.x)*d,(this.graph.snap(c.y/d-e.y)+e.y)*d));
- this.snapToPreview(b,c);this.currentPoint=c;(null!=this.first||this.isEnabled()&&this.graph.isEnabled())&&this.updateCurrentState(b,c);if(null!=this.first){var f=null,d=c;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint?(f=this.constraintHandler.currentConstraint,d=this.constraintHandler.currentPoint.clone()):null!=this.previous&&!this.graph.isIgnoreTerminalEvent(b.getEvent())&&mxEvent.isShiftDown(b.getEvent())&&(Math.abs(this.previous.getCenterX()-
- c.x)<Math.abs(this.previous.getCenterY()-c.y)?c.x=this.previous.getCenterX():c.y=this.previous.getCenterY());e=this.first;if(null!=this.selectedIcon){var g=this.selectedIcon.bounds.width,k=this.selectedIcon.bounds.height;null!=this.currentState&&this.targetConnectImage?(g=this.getIconPosition(this.selectedIcon,this.currentState),this.selectedIcon.bounds.x=g.x,this.selectedIcon.bounds.y=g.y):(g=new mxRectangle(b.getGraphX()+this.connectIconOffset.x,b.getGraphY()+this.connectIconOffset.y,g,k),this.selectedIcon.bounds=
- g);this.selectedIcon.redraw()}null!=this.edgeState?(this.updateEdgeState(d,f),d=this.edgeState.absolutePoints[this.edgeState.absolutePoints.length-1],e=this.edgeState.absolutePoints[0]):(null!=this.currentState&&null==this.constraintHandler.currentConstraint&&(g=this.getTargetPerimeterPoint(this.currentState,b),null!=g&&(d=g)),null==this.sourceConstraint&&null!=this.previous&&(g=this.getSourcePerimeterPoint(this.previous,null!=this.waypoints&&0<this.waypoints.length?this.waypoints[0]:d,b),null!=g&&
- (e=g)));if(null==this.currentState&&this.movePreviewAway){g=e;null!=this.edgeState&&2<=this.edgeState.absolutePoints.length&&(f=this.edgeState.absolutePoints[this.edgeState.absolutePoints.length-2],null!=f&&(g=f));f=d.x-g.x;g=d.y-g.y;k=Math.sqrt(f*f+g*g);if(0==k)return;this.originalPoint=d.clone();d.x-=4*f/k;d.y-=4*g/k}else this.originalPoint=null;null==this.shape&&(f=Math.abs(c.x-this.first.x),g=Math.abs(c.y-this.first.y),f>this.graph.tolerance||g>this.graph.tolerance)&&(this.shape=this.createShape(),
- null!=this.edgeState&&this.shape.apply(this.edgeState),this.updateCurrentState(b,c));null!=this.shape&&(null!=this.edgeState?this.shape.points=this.edgeState.absolutePoints:(c=[e],null!=this.waypoints&&(c=c.concat(this.waypoints)),c.push(d),this.shape.points=c),this.drawPreview());null!=this.cursor&&(this.graph.container.style.cursor=this.cursor);mxEvent.consume(b.getEvent());b.consume()}else this.isEnabled()&&this.graph.isEnabled()?this.previous!=this.currentState&&null==this.edgeState?(this.destroyIcons(),
- null!=this.currentState&&null==this.error&&null==this.constraintHandler.currentConstraint&&(this.icons=this.createIcons(this.currentState),null==this.icons&&(this.currentState.setCursor(mxConstants.CURSOR_CONNECT),b.consume())),this.previous=this.currentState):this.previous!=this.currentState||null==this.currentState||null!=this.icons||this.graph.isMouseDown||b.consume():this.constraintHandler.reset();if(!this.graph.isMouseDown&&null!=this.currentState&&null!=this.icons){c=!1;d=b.getSource();for(e=
- 0;e<this.icons.length&&!c;e++)c=d==this.icons[e].node||d.parentNode==this.icons[e].node;c||this.updateIcons(this.currentState,this.icons,b)}}};
- mxConnectionHandler.prototype.updateEdgeState=function(a,b){null!=this.sourceConstraint&&null!=this.sourceConstraint.point&&(this.edgeState.style[mxConstants.STYLE_EXIT_X]=this.sourceConstraint.point.x,this.edgeState.style[mxConstants.STYLE_EXIT_Y]=this.sourceConstraint.point.y);null!=b&&null!=b.point?(this.edgeState.style[mxConstants.STYLE_ENTRY_X]=b.point.x,this.edgeState.style[mxConstants.STYLE_ENTRY_Y]=b.point.y):(delete this.edgeState.style[mxConstants.STYLE_ENTRY_X],delete this.edgeState.style[mxConstants.STYLE_ENTRY_Y]);
- this.edgeState.absolutePoints=[null,null!=this.currentState?null:a];this.graph.view.updateFixedTerminalPoint(this.edgeState,this.previous,!0,this.sourceConstraint);null!=this.currentState&&(null==b&&(b=this.graph.getConnectionConstraint(this.edgeState,this.previous,!1)),this.edgeState.setAbsoluteTerminalPoint(null,!1),this.graph.view.updateFixedTerminalPoint(this.edgeState,this.currentState,!1,b));var c=null;if(null!=this.waypoints)for(var c=[],d=0;d<this.waypoints.length;d++){var e=this.waypoints[d].clone();
- this.convertWaypoint(e);c[d]=e}this.graph.view.updatePoints(this.edgeState,c,this.previous,this.currentState);this.graph.view.updateFloatingTerminalPoints(this.edgeState,this.previous,this.currentState)};
- mxConnectionHandler.prototype.getTargetPerimeterPoint=function(a,b){var c=null,d=a.view,e=d.getPerimeterFunction(a);if(null!=e){var f=null!=this.waypoints&&0<this.waypoints.length?this.waypoints[this.waypoints.length-1]:new mxPoint(this.previous.getCenterX(),this.previous.getCenterY()),d=e(d.getPerimeterBounds(a),this.edgeState,f,!1);null!=d&&(c=d)}else c=new mxPoint(a.getCenterX(),a.getCenterY());return c};
- mxConnectionHandler.prototype.getSourcePerimeterPoint=function(a,b,c){c=null;var d=a.view,e=d.getPerimeterFunction(a),f=new mxPoint(a.getCenterX(),a.getCenterY());if(null!=e){var g=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0),k=Math.PI/180*-g;0!=g&&(b=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(k),Math.sin(k),f));a=e(d.getPerimeterBounds(a),a,b,!1);null!=a&&(0!=g&&(a=mxUtils.getRotatedPoint(new mxPoint(a.x,a.y),Math.cos(-k),Math.sin(-k),f)),c=a)}else c=f;return c};
- mxConnectionHandler.prototype.updateIcons=function(a,b,c){};mxConnectionHandler.prototype.isStopEvent=function(a){return null!=a.getState()};
- mxConnectionHandler.prototype.addWaypointForEvent=function(a){var b=mxUtils.convertPoint(this.graph.container,a.getX(),a.getY()),c=Math.abs(b.x-this.first.x),b=Math.abs(b.y-this.first.y);if(null!=this.waypoints||1<this.mouseDownCounter&&(c>this.graph.tolerance||b>this.graph.tolerance))null==this.waypoints&&(this.waypoints=[]),c=this.graph.view.scale,b=new mxPoint(this.graph.snap(a.getGraphX()/c)*c,this.graph.snap(a.getGraphY()/c)*c),this.waypoints.push(b)};
- mxConnectionHandler.prototype.mouseUp=function(a,b){if(!b.isConsumed()&&this.isConnecting()){if(this.waypointsEnabled&&!this.isStopEvent(b)){this.addWaypointForEvent(b);b.consume();return}if(null==this.error){var c=null!=this.previous?this.previous.cell:null,d=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&(d=this.constraintHandler.currentFocus.cell);null==d&&null!=this.currentState&&(d=this.currentState.cell);this.connect(c,d,b.getEvent(),b.getCell())}else null!=
- this.previous&&null!=this.marker.validState&&this.previous.cell==this.marker.validState.cell&&this.graph.selectCellForEvent(this.marker.source,evt),0<this.error.length&&this.graph.validationAlert(this.error);this.destroyIcons();b.consume()}null!=this.first&&this.reset()};
- mxConnectionHandler.prototype.reset=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.cursor&&null!=this.graph.container&&(this.graph.container.style.cursor="");this.destroyIcons();this.marker.reset();this.constraintHandler.reset();this.sourceConstraint=this.error=this.previous=this.edgeState=this.currentPoint=this.originalPoint=null;this.mouseDownCounter=0;this.first=null;this.fireEvent(new mxEventObject(mxEvent.RESET))};
- mxConnectionHandler.prototype.drawPreview=function(){this.updatePreview(null==this.error);this.shape.redraw()};mxConnectionHandler.prototype.updatePreview=function(a){this.shape.strokewidth=this.getEdgeWidth(a);this.shape.stroke=this.getEdgeColor(a)};mxConnectionHandler.prototype.getEdgeColor=function(a){return a?mxConstants.VALID_COLOR:mxConstants.INVALID_COLOR};mxConnectionHandler.prototype.getEdgeWidth=function(a){return a?3:1};
- mxConnectionHandler.prototype.connect=function(a,b,c,d){if(null!=b||this.isCreateTarget(c)||this.graph.allowDanglingEdges){var e=this.graph.getModel(),f=!1,g=null;e.beginUpdate();try{if(null!=a&&null==b&&!this.graph.isIgnoreTerminalEvent(c)&&this.isCreateTarget(c)&&(b=this.createTargetVertex(c,a),null!=b)){d=this.graph.getDropTarget([b],c,d);f=!0;if(null!=d&&this.graph.getModel().isEdge(d))d=this.graph.getDefaultParent();else{var k=this.graph.getView().getState(d);if(null!=k){var l=e.getGeometry(b);
- l.x-=k.origin.x;l.y-=k.origin.y}}this.graph.addCell(b,d)}var m=this.graph.getDefaultParent();null!=a&&null!=b&&e.getParent(a)==e.getParent(b)&&e.getParent(e.getParent(a))!=e.getRoot()&&(m=e.getParent(a),null!=a.geometry&&a.geometry.relative&&null!=b.geometry&&b.geometry.relative&&(m=e.getParent(m)));var n=k=null;null!=this.edgeState&&(k=this.edgeState.cell.value,n=this.edgeState.cell.style);g=this.insertEdge(m,null,k,a,b,n);if(null!=g){this.graph.setConnectionConstraint(g,a,!0,this.sourceConstraint);
- this.graph.setConnectionConstraint(g,b,!1,this.constraintHandler.currentConstraint);null!=this.edgeState&&e.setGeometry(g,this.edgeState.cell.geometry);e.getParent(a);if(this.isInsertBefore(g,a,b,c,d)){m=null;for(l=a;null!=l.parent&&null!=l.geometry&&l.geometry.relative&&l.parent!=g.parent;)l=this.graph.model.getParent(l);null!=l&&null!=l.parent&&l.parent==g.parent&&(m=l.parent.getIndex(l),l.parent.insert(g,m))}var p=e.getGeometry(g);null==p&&(p=new mxGeometry,p.relative=!0,e.setGeometry(g,p));if(null!=
- this.waypoints&&0<this.waypoints.length){var q=this.graph.view.scale,r=this.graph.view.translate;p.points=[];for(a=0;a<this.waypoints.length;a++){var t=this.waypoints[a];p.points.push(new mxPoint(t.x/q-r.x,t.y/q-r.y))}}if(null==b){var u=this.graph.view.translate,q=this.graph.view.scale,t=null!=this.originalPoint?new mxPoint(this.originalPoint.x/q-u.x,this.originalPoint.y/q-u.y):new mxPoint(this.currentPoint.x/q-u.x,this.currentPoint.y/q-u.y);t.x-=this.graph.panDx/this.graph.view.scale;t.y-=this.graph.panDy/
- this.graph.view.scale;p.setTerminalPoint(t,!1)}this.fireEvent(new mxEventObject(mxEvent.CONNECT,"cell",g,"terminal",b,"event",c,"target",d,"terminalInserted",f))}}catch(x){mxLog.show(),mxLog.debug(x.message)}finally{e.endUpdate()}this.select&&this.selectCells(g,f?b:null)}};mxConnectionHandler.prototype.selectCells=function(a,b){this.graph.setSelectionCell(a)};
- mxConnectionHandler.prototype.insertEdge=function(a,b,c,d,e,f){if(null==this.factoryMethod)return this.graph.insertEdge(a,b,c,d,e,f);b=this.createEdge(c,d,e,f);return this.graph.addEdge(b,a,d,e)};
- mxConnectionHandler.prototype.createTargetVertex=function(a,b){for(var c=this.graph.getCellGeometry(b);null!=c&&c.relative;)b=this.graph.getModel().getParent(b),c=this.graph.getCellGeometry(b);var d=this.graph.cloneCells([b])[0],c=this.graph.getModel().getGeometry(d);if(null!=c){var e=this.graph.view.translate,f=this.graph.view.scale,g=new mxPoint(this.currentPoint.x/f-e.x,this.currentPoint.y/f-e.y);c.x=Math.round(g.x-c.width/2-this.graph.panDx/f);c.y=Math.round(g.y-c.height/2-this.graph.panDy/f);
- g=this.getAlignmentTolerance();if(0<g){var k=this.graph.view.getState(b);if(null!=k){var l=k.x/f-e.x,e=k.y/f-e.y;Math.abs(l-c.x)<=g&&(c.x=Math.round(l));Math.abs(e-c.y)<=g&&(c.y=Math.round(e))}}}return d};mxConnectionHandler.prototype.getAlignmentTolerance=function(a){return this.graph.isGridEnabled()?this.graph.gridSize/2:this.graph.tolerance};
- mxConnectionHandler.prototype.createEdge=function(a,b,c,d){var e=null;null!=this.factoryMethod&&(e=this.factoryMethod(b,c,d));null==e&&(e=new mxCell(a||""),e.setEdge(!0),e.setStyle(d),a=new mxGeometry,a.relative=!0,e.setGeometry(a));return e};
- mxConnectionHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.marker&&(this.marker.destroy(),this.marker=null);null!=this.constraintHandler&&(this.constraintHandler.destroy(),this.constraintHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getView().removeListener(this.changeHandler),this.changeHandler=null);null!=this.drillHandler&&(this.graph.removeListener(this.drillHandler),
- this.graph.getView().removeListener(this.drillHandler),this.drillHandler=null);null!=this.escapeHandler&&(this.graph.removeListener(this.escapeHandler),this.escapeHandler=null)};
- function mxConstraintHandler(a){this.graph=a;this.resetHandler=mxUtils.bind(this,function(a,c){null!=this.currentFocus&&null==this.graph.view.getState(this.currentFocus.cell)?this.reset():this.redraw()});this.graph.model.addListener(mxEvent.CHANGE,this.resetHandler);this.graph.view.addListener(mxEvent.SCALE,this.resetHandler);this.graph.addListener(mxEvent.ROOT,this.resetHandler)}mxConstraintHandler.prototype.pointImage=new mxImage(mxClient.imageBasePath+"/point.gif",5,5);
- mxConstraintHandler.prototype.graph=null;mxConstraintHandler.prototype.enabled=!0;mxConstraintHandler.prototype.highlightColor=mxConstants.DEFAULT_VALID_COLOR;mxConstraintHandler.prototype.isEnabled=function(){return this.enabled};mxConstraintHandler.prototype.setEnabled=function(a){this.enabled=a};
- mxConstraintHandler.prototype.reset=function(){if(null!=this.focusIcons){for(var a=0;a<this.focusIcons.length;a++)this.focusIcons[a].destroy();this.focusIcons=null}null!=this.focusHighlight&&(this.focusHighlight.destroy(),this.focusHighlight=null);this.focusPoints=this.currentFocus=this.currentPoint=this.currentFocusArea=this.currentConstraint=null};mxConstraintHandler.prototype.getTolerance=function(a){return this.graph.getTolerance()};
- mxConstraintHandler.prototype.getImageForConstraint=function(a,b,c){return this.pointImage};mxConstraintHandler.prototype.isEventIgnored=function(a,b){return!1};mxConstraintHandler.prototype.isStateIgnored=function(a,b){return!1};mxConstraintHandler.prototype.destroyIcons=function(){if(null!=this.focusIcons){for(var a=0;a<this.focusIcons.length;a++)this.focusIcons[a].destroy();this.focusPoints=this.focusIcons=null}};
- mxConstraintHandler.prototype.destroyFocusHighlight=function(){null!=this.focusHighlight&&(this.focusHighlight.destroy(),this.focusHighlight=null)};mxConstraintHandler.prototype.isKeepFocusEvent=function(a){return mxEvent.isShiftDown(a.getEvent())};
- mxConstraintHandler.prototype.getCellForEvent=function(a,b){var c=a.getCell();null!=c||null==b||a.getGraphX()==b.x&&a.getGraphY()==b.y||(c=this.graph.getCellAt(b.x,b.y));if(null!=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(d)&&this.graph.isCellConnectable(d)&&(c=d)}return c};
- mxConstraintHandler.prototype.update=function(a,b,c,d){if(this.isEnabled()&&!this.isEventIgnored(a)){null==this.mouseleaveHandler&&null!=this.graph.container&&(this.mouseleaveHandler=mxUtils.bind(this,function(){this.reset()}),mxEvent.addListener(this.graph.container,"mouseleave",this.resetHandler));var e=this.getTolerance(a),f=null!=d?d.x:a.getGraphX(),g=null!=d?d.y:a.getGraphY(),f=new mxRectangle(f-e,g-e,2*e,2*e),e=new mxRectangle(a.getGraphX()-e,a.getGraphY()-e,2*e,2*e),k=this.graph.view.getState(this.getCellForEvent(a,
- d));this.isKeepFocusEvent(a)||null!=this.currentFocusArea&&null!=this.currentFocus&&null==k&&this.graph.getModel().isVertex(this.currentFocus.cell)&&mxUtils.intersects(this.currentFocusArea,e)||k==this.currentFocus||(this.currentFocus=this.currentFocusArea=null,this.setFocus(a,k,b));a=this.currentPoint=this.currentConstraint=null;if(null!=this.focusIcons&&null!=this.constraints&&(null==k||this.currentFocus==k))for(var g=e.getCenterX(),l=e.getCenterY(),m=0;m<this.focusIcons.length;m++){var n=g-this.focusIcons[m].bounds.getCenterX(),
- p=l-this.focusIcons[m].bounds.getCenterY(),n=n*n+p*p;if((this.intersects(this.focusIcons[m],e,b,c)||null!=d&&this.intersects(this.focusIcons[m],f,b,c))&&(null==a||n<a)){this.currentConstraint=this.constraints[m];this.currentPoint=this.focusPoints[m];a=n;n=this.focusIcons[m].bounds.clone();n.grow(mxConstants.HIGHLIGHT_SIZE);mxClient.IS_IE&&(n.grow(1),--n.width,--n.height);if(null==this.focusHighlight){p=this.createHighlightShape();p.dialect=this.graph.dialect==mxConstants.DIALECT_SVG?mxConstants.DIALECT_SVG:
- mxConstants.DIALECT_VML;p.pointerEvents=!1;p.init(this.graph.getView().getOverlayPane());this.focusHighlight=p;var q=mxUtils.bind(this,function(){return null!=this.currentFocus?this.currentFocus:k});mxEvent.redirectMouseEvents(p.node,this.graph,q)}this.focusHighlight.bounds=n;this.focusHighlight.redraw()}}null==this.currentConstraint&&this.destroyFocusHighlight()}else this.currentPoint=this.currentFocus=this.currentConstraint=null};
- mxConstraintHandler.prototype.redraw=function(){if(null!=this.currentFocus&&null!=this.constraints&&null!=this.focusIcons){var a=this.graph.view.getState(this.currentFocus.cell);this.currentFocus=a;this.currentFocusArea=new mxRectangle(a.x,a.y,a.width,a.height);for(var b=0;b<this.constraints.length;b++){var c=this.graph.getConnectionPoint(a,this.constraints[b]),d=this.getImageForConstraint(a,this.constraints[b],c),d=new mxRectangle(Math.round(c.x-d.width/2),Math.round(c.y-d.height/2),d.width,d.height);
- this.focusIcons[b].bounds=d;this.focusIcons[b].redraw();this.currentFocusArea.add(this.focusIcons[b].bounds);this.focusPoints[b]=c}}};
- mxConstraintHandler.prototype.setFocus=function(a,b,c){this.constraints=null!=b&&!this.isStateIgnored(b,c)&&this.graph.isCellConnectable(b.cell)?this.isEnabled()?this.graph.getAllConnectionConstraints(b,c)||[]:[]:null;if(null!=this.constraints){this.currentFocus=b;this.currentFocusArea=new mxRectangle(b.x,b.y,b.width,b.height);if(null!=this.focusIcons){for(c=0;c<this.focusIcons.length;c++)this.focusIcons[c].destroy();this.focusPoints=this.focusIcons=null}this.focusPoints=[];this.focusIcons=[];for(c=
- 0;c<this.constraints.length;c++){var d=this.graph.getConnectionPoint(b,this.constraints[c]),e=this.getImageForConstraint(b,this.constraints[c],d),f=e.src,e=new mxRectangle(Math.round(d.x-e.width/2),Math.round(d.y-e.height/2),e.width,e.height),f=new mxImageShape(e,f);f.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;f.preserveImageAspect=!1;f.init(this.graph.getView().getDecoratorPane());(mxClient.IS_QUIRKS||8==document.documentMode)&&mxEvent.addListener(f.node,
- "dragstart",function(a){mxEvent.consume(a);return!1});null!=f.node.previousSibling&&f.node.parentNode.insertBefore(f.node,f.node.parentNode.firstChild);e=mxUtils.bind(this,function(){return null!=this.currentFocus?this.currentFocus:b});f.redraw();mxEvent.redirectMouseEvents(f.node,this.graph,e);this.currentFocusArea.add(f.bounds);this.focusIcons.push(f);this.focusPoints.push(d)}this.currentFocusArea.grow(this.getTolerance(a))}else this.destroyIcons(),this.destroyFocusHighlight()};
- mxConstraintHandler.prototype.createHighlightShape=function(){var a=new mxRectangleShape(null,this.highlightColor,this.highlightColor,mxConstants.HIGHLIGHT_STROKEWIDTH);a.opacity=mxConstants.HIGHLIGHT_OPACITY;return a};mxConstraintHandler.prototype.intersects=function(a,b,c,d){return mxUtils.intersects(a.bounds,b)};
- mxConstraintHandler.prototype.destroy=function(){this.reset();null!=this.resetHandler&&(this.graph.model.removeListener(this.resetHandler),this.graph.view.removeListener(this.resetHandler),this.graph.removeListener(this.resetHandler),this.resetHandler=null);null!=this.mouseleaveHandler&&null!=this.graph.container&&(mxEvent.removeListener(this.graph.container,"mouseleave",this.mouseleaveHandler),this.mouseleaveHandler=null)};
- function mxRubberband(a){null!=a&&(this.graph=a,this.graph.addMouseListener(this),this.forceRubberbandHandler=mxUtils.bind(this,function(a,c){var b=c.getProperty("eventName"),e=c.getProperty("event");if(b==mxEvent.MOUSE_DOWN&&this.isForceRubberbandEvent(e)){var b=mxUtils.getOffset(this.graph.container),f=mxUtils.getScrollOrigin(this.graph.container);f.x-=b.x;f.y-=b.y;this.start(e.getX()+f.x,e.getY()+f.y);e.consume(!1)}}),this.graph.addListener(mxEvent.FIRE_MOUSE_EVENT,this.forceRubberbandHandler),
- this.panHandler=mxUtils.bind(this,function(){this.repaint()}),this.graph.addListener(mxEvent.PAN,this.panHandler),this.gestureHandler=mxUtils.bind(this,function(a,c){null!=this.first&&this.reset()}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler),mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})))}mxRubberband.prototype.defaultOpacity=20;mxRubberband.prototype.enabled=!0;mxRubberband.prototype.div=null;mxRubberband.prototype.sharedDiv=null;
- mxRubberband.prototype.currentX=0;mxRubberband.prototype.currentY=0;mxRubberband.prototype.isEnabled=function(){return this.enabled};mxRubberband.prototype.setEnabled=function(a){this.enabled=a};mxRubberband.prototype.isForceRubberbandEvent=function(a){return mxEvent.isAltDown(a.getEvent())};
- mxRubberband.prototype.mouseDown=function(a,b){if(!b.isConsumed()&&this.isEnabled()&&this.graph.isEnabled()&&null==b.getState()&&!mxEvent.isMultiTouchEvent(b.getEvent())){var c=mxUtils.getOffset(this.graph.container),d=mxUtils.getScrollOrigin(this.graph.container);d.x-=c.x;d.y-=c.y;this.start(b.getX()+d.x,b.getY()+d.y);b.consume(!1)}};
- mxRubberband.prototype.start=function(a,b){function c(a){a=new mxMouseEvent(a);var b=mxUtils.convertPoint(d,a.getX(),a.getY());a.graphX=b.x;a.graphY=b.y;return a}this.first=new mxPoint(a,b);var d=this.graph.container;this.dragHandler=mxUtils.bind(this,function(a){this.mouseMove(this.graph,c(a))});this.dropHandler=mxUtils.bind(this,function(a){this.mouseUp(this.graph,c(a))});mxClient.IS_FF&&mxEvent.addGestureListeners(document,null,this.dragHandler,this.dropHandler)};
- mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var d=b.getX()+c.x,c=b.getY()+c.y,e=this.first.x-d,f=this.first.y-c,g=this.graph.tolerance;if(null!=this.div||Math.abs(e)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(d,c),b.consume()}};
- mxRubberband.prototype.createShape=function(){null==this.sharedDiv&&(this.sharedDiv=document.createElement("div"),this.sharedDiv.className="mxRubberband",mxUtils.setOpacity(this.sharedDiv,this.defaultOpacity));this.graph.container.appendChild(this.sharedDiv);return this.sharedDiv};mxRubberband.prototype.isActive=function(a,b){return null!=this.div&&"none"!=this.div.style.display};mxRubberband.prototype.mouseUp=function(a,b){var c=this.isActive();this.reset();c&&(this.execute(b.getEvent()),b.consume())};
- mxRubberband.prototype.execute=function(a){var b=new mxRectangle(this.x,this.y,this.width,this.height);this.graph.selectRegion(b,a)};mxRubberband.prototype.reset=function(){null!=this.div&&this.div.parentNode.removeChild(this.div);mxEvent.removeGestureListeners(document,null,this.dragHandler,this.dropHandler);this.dropHandler=this.dragHandler=null;this.currentY=this.currentX=0;this.div=this.first=null};mxRubberband.prototype.update=function(a,b){this.currentX=a;this.currentY=b;this.repaint()};
- mxRubberband.prototype.repaint=function(){if(null!=this.div){var a=this.currentX-this.graph.panDx,b=this.currentY-this.graph.panDy;this.x=Math.min(this.first.x,a);this.y=Math.min(this.first.y,b);this.width=Math.max(this.first.x,a)-this.x;this.height=Math.max(this.first.y,b)-this.y;a=mxClient.IS_VML?this.graph.panDy:0;this.div.style.left=this.x+(mxClient.IS_VML?this.graph.panDx:0)+"px";this.div.style.top=this.y+a+"px";this.div.style.width=Math.max(1,this.width)+"px";this.div.style.height=Math.max(1,
- this.height)+"px"}};mxRubberband.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.graph.removeMouseListener(this),this.graph.removeListener(this.forceRubberbandHandler),this.graph.removeListener(this.panHandler),this.reset(),null!=this.sharedDiv&&(this.sharedDiv=null))};function mxHandle(a,b,c){this.graph=a.view.graph;this.state=a;this.cursor=null!=b?b:this.cursor;this.image=null!=c?c:this.image;this.init()}mxHandle.prototype.cursor="default";mxHandle.prototype.image=null;
- mxHandle.prototype.ignoreGrid=!1;mxHandle.prototype.getPosition=function(a){};mxHandle.prototype.setPosition=function(a,b,c){};mxHandle.prototype.execute=function(){};mxHandle.prototype.copyStyle=function(a){this.graph.setCellStyles(a,this.state.style[a],[this.state.cell])};
- mxHandle.prototype.processEvent=function(a){var b=this.graph.view.scale,c=this.graph.view.translate,c=new mxPoint(a.getGraphX()/b-c.x,a.getGraphY()/b-c.y);null!=this.shape&&null!=this.shape.bounds&&(c.x-=this.shape.bounds.width/b/4,c.y-=this.shape.bounds.height/b/4);var b=-mxUtils.toRadians(this.getRotation()),d=-mxUtils.toRadians(this.getTotalRotation())-b,c=this.flipPoint(this.rotatePoint(this.snapPoint(this.rotatePoint(c,b),this.ignoreGrid||!this.graph.isGridEnabledEvent(a.getEvent())),d));this.setPosition(this.state.getPaintBounds(),
- c,a);this.positionChanged();this.redraw()};mxHandle.prototype.positionChanged=function(){null!=this.state.text&&this.state.text.apply(this.state);null!=this.state.shape&&this.state.shape.apply(this.state);this.state.unscaledWidth=null;this.graph.cellRenderer.redraw(this.state,!0)};mxHandle.prototype.getRotation=function(){return null!=this.state.shape?this.state.shape.getRotation():0};
- mxHandle.prototype.getTotalRotation=function(){return null!=this.state.shape?this.state.shape.getShapeRotation():0};mxHandle.prototype.init=function(){var a=this.isHtmlRequired();null!=this.image?(this.shape=new mxImageShape(new mxRectangle(0,0,this.image.width,this.image.height),this.image.src),this.shape.preserveImageAspect=!1):this.shape=this.createShape(a);this.initShape(a)};
- mxHandle.prototype.createShape=function(a){a=new mxRectangle(0,0,mxConstants.HANDLE_SIZE,mxConstants.HANDLE_SIZE);return new mxRectangleShape(a,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};
- mxHandle.prototype.initShape=function(a){a&&this.shape.isHtmlAllowed()?(this.shape.dialect=mxConstants.DIALECT_STRICTHTML,this.shape.init(this.graph.container)):(this.shape.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,null!=this.cursor&&this.shape.init(this.graph.getView().getOverlayPane()));mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.shape.node.style.cursor=this.cursor};
- mxHandle.prototype.redraw=function(){if(null!=this.shape&&null!=this.state.shape){var a=this.getPosition(this.state.getPaintBounds());if(null!=a){var b=mxUtils.toRadians(this.getTotalRotation()),a=this.rotatePoint(this.flipPoint(a),b),b=this.graph.view.scale,c=this.graph.view.translate;this.shape.bounds.x=Math.floor((a.x+c.x)*b-this.shape.bounds.width/2);this.shape.bounds.y=Math.floor((a.y+c.y)*b-this.shape.bounds.height/2);this.shape.redraw()}}};
- mxHandle.prototype.isHtmlRequired=function(){return null!=this.state.text&&this.state.text.node.parentNode==this.graph.container};mxHandle.prototype.rotatePoint=function(a,b){var c=this.state.getCellBounds(),c=new mxPoint(c.getCenterX(),c.getCenterY());return mxUtils.getRotatedPoint(a,Math.cos(b),Math.sin(b),c)};
- mxHandle.prototype.flipPoint=function(a){if(null!=this.state.shape){var b=this.state.getCellBounds();this.state.shape.flipH&&(a.x=2*b.x+b.width-a.x);this.state.shape.flipV&&(a.y=2*b.y+b.height-a.y)}return a};mxHandle.prototype.snapPoint=function(a,b){b||(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));return a};mxHandle.prototype.setVisible=function(a){null!=this.shape&&null!=this.shape.node&&(this.shape.node.style.display=a?"":"none")};
- mxHandle.prototype.reset=function(){this.setVisible(!0);this.state.style=this.graph.getCellStyle(this.state.cell);this.positionChanged()};mxHandle.prototype.destroy=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null)};
- function mxVertexHandler(a){null!=a&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,c){this.livePreview&&null!=this.index&&(this.state.view.graph.cellRenderer.redraw(this.state,!0),this.state.view.invalidate(this.state.cell),this.state.invalid=!1,this.state.view.validate());this.reset()}),this.state.view.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxVertexHandler.prototype.graph=null;mxVertexHandler.prototype.state=null;mxVertexHandler.prototype.singleSizer=!1;
- mxVertexHandler.prototype.index=null;mxVertexHandler.prototype.allowHandleBoundsCheck=!0;mxVertexHandler.prototype.handleImage=null;mxVertexHandler.prototype.tolerance=0;mxVertexHandler.prototype.rotationEnabled=!1;mxVertexHandler.prototype.parentHighlightEnabled=!1;mxVertexHandler.prototype.rotationRaster=!0;mxVertexHandler.prototype.rotationCursor="crosshair";mxVertexHandler.prototype.livePreview=!1;mxVertexHandler.prototype.manageSizers=!1;mxVertexHandler.prototype.constrainGroupByChildren=!1;
- mxVertexHandler.prototype.rotationHandleVSpacing=-16;mxVertexHandler.prototype.horizontalOffset=0;mxVertexHandler.prototype.verticalOffset=0;
- mxVertexHandler.prototype.init=function(){this.graph=this.state.view.graph;this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectangle(this.selectionBounds.x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height);this.selectionBorder=this.createSelectionShape(this.bounds);this.selectionBorder.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG;this.selectionBorder.pointerEvents=!1;this.selectionBorder.rotation=
- Number(this.state.style[mxConstants.STYLE_ROTATION]||"0");this.selectionBorder.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(this.selectionBorder.node,this.graph,this.state);this.graph.isCellMovable(this.state.cell)&&this.selectionBorder.setCursor(mxConstants.CURSOR_MOVABLE_VERTEX);if(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells){var a=this.graph.isCellResizable(this.state.cell);this.sizers=[];if(a||this.graph.isLabelMovable(this.state.cell)&&
- 2<=this.state.width&&2<=this.state.height){var b=0;a&&(this.singleSizer||(this.sizers.push(this.createSizer("nw-resize",b++)),this.sizers.push(this.createSizer("n-resize",b++)),this.sizers.push(this.createSizer("ne-resize",b++)),this.sizers.push(this.createSizer("w-resize",b++)),this.sizers.push(this.createSizer("e-resize",b++)),this.sizers.push(this.createSizer("sw-resize",b++)),this.sizers.push(this.createSizer("s-resize",b++))),this.sizers.push(this.createSizer("se-resize",b++)));a=this.graph.model.getGeometry(this.state.cell);
- null==a||a.relative||this.graph.isSwimlane(this.state.cell)||!this.graph.isLabelMovable(this.state.cell)||(this.labelShape=this.createSizer(mxConstants.CURSOR_LABEL_HANDLE,mxEvent.LABEL_HANDLE,mxConstants.LABEL_HANDLE_SIZE,mxConstants.LABEL_HANDLE_FILLCOLOR),this.sizers.push(this.labelShape))}else this.graph.isCellMovable(this.state.cell)&&!this.graph.isCellResizable(this.state.cell)&&2>this.state.width&&2>this.state.height&&(this.labelShape=this.createSizer(mxConstants.CURSOR_MOVABLE_VERTEX,mxEvent.LABEL_HANDLE,
- null,mxConstants.LABEL_HANDLE_FILLCOLOR),this.sizers.push(this.labelShape))}this.isRotationHandleVisible()&&(this.rotationShape=this.createSizer(this.rotationCursor,mxEvent.ROTATION_HANDLE,mxConstants.HANDLE_SIZE+3,mxConstants.HANDLE_FILLCOLOR),this.sizers.push(this.rotationShape));this.customHandles=this.createCustomHandles();this.redraw();this.constrainGroupByChildren&&this.updateMinBounds()};
- mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)&&2<=this.state.width&&2<=this.state.height};mxVertexHandler.prototype.isConstrainedEvent=function(a){return mxEvent.isShiftDown(a.getEvent())||"fixed"==this.state.style[mxConstants.STYLE_ASPECT]};
- mxVertexHandler.prototype.isCenteredEvent=function(a,b){return!1};mxVertexHandler.prototype.createCustomHandles=function(){return null};
- mxVertexHandler.prototype.updateMinBounds=function(){var a=this.graph.getChildCells(this.state.cell);if(0<a.length&&(this.minBounds=this.graph.view.getBounds(a),null!=this.minBounds)){var a=this.state.view.scale,b=this.state.view.translate;this.minBounds.x-=this.state.x;this.minBounds.y-=this.state.y;this.minBounds.x/=a;this.minBounds.y/=a;this.minBounds.width/=a;this.minBounds.height/=a;this.x0=this.state.x/a-b.x;this.y0=this.state.y/a-b.y}};
- mxVertexHandler.prototype.getSelectionBounds=function(a){return new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))};mxVertexHandler.prototype.createParentHighlightShape=function(a){return this.createSelectionShape(a)};mxVertexHandler.prototype.createSelectionShape=function(a){a=new mxRectangleShape(a,null,this.getSelectionColor());a.strokewidth=this.getSelectionStrokeWidth();a.isDashed=this.isSelectionDashed();return a};
- mxVertexHandler.prototype.getSelectionColor=function(){return mxConstants.VERTEX_SELECTION_COLOR};mxVertexHandler.prototype.getSelectionStrokeWidth=function(){return mxConstants.VERTEX_SELECTION_STROKEWIDTH};mxVertexHandler.prototype.isSelectionDashed=function(){return mxConstants.VERTEX_SELECTION_DASHED};
- mxVertexHandler.prototype.createSizer=function(a,b,c,d){c=c||mxConstants.HANDLE_SIZE;c=new mxRectangle(0,0,c,c);d=this.createSizerShape(c,b,d);d.isHtmlAllowed()&&null!=this.state.text&&this.state.text.node.parentNode==this.graph.container?(--d.bounds.height,--d.bounds.width,d.dialect=mxConstants.DIALECT_STRICTHTML,d.init(this.graph.container)):(d.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,d.init(this.graph.getView().getOverlayPane()));
- mxEvent.redirectMouseEvents(d.node,this.graph,this.state);this.graph.isEnabled()&&d.setCursor(a);this.isSizerVisible(b)||(d.visible=!1);return d};mxVertexHandler.prototype.isSizerVisible=function(a){return!0};
- mxVertexHandler.prototype.createSizerShape=function(a,b,c){return null!=this.handleImage?(a=new mxRectangle(a.x,a.y,this.handleImage.width,this.handleImage.height),a=new mxImageShape(a,this.handleImage.src),a.preserveImageAspect=!1,a):b==mxEvent.ROTATION_HANDLE?new mxEllipse(a,c||mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR):new mxRectangleShape(a,c||mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};
- mxVertexHandler.prototype.moveSizerTo=function(a,b,c){null!=a&&(a.bounds.x=Math.floor(b-a.bounds.width/2),a.bounds.y=Math.floor(c-a.bounds.height/2),null!=a.node&&"none"!=a.node.style.display&&a.redraw())};
- mxVertexHandler.prototype.getHandleForEvent=function(a){function b(b){return null!=b&&(a.isSource(b)||null!=d&&mxUtils.intersects(b.bounds,d)&&"none"!=b.node.style.display&&"hidden"!=b.node.style.visibility)}var c=mxEvent.isMouseEvent(a.getEvent())?1:this.tolerance,d=this.allowHandleBoundsCheck&&(mxClient.IS_IE||0<c)?new mxRectangle(a.getGraphX()-c,a.getGraphY()-c,2*c,2*c):null;if(null!=this.customHandles&&this.isCustomHandleEvent(a))for(c=this.customHandles.length-1;0<=c;c--)if(b(this.customHandles[c].shape))return mxEvent.CUSTOM_HANDLE-
- c;if(b(this.rotationShape))return mxEvent.ROTATION_HANDLE;if(b(this.labelShape))return mxEvent.LABEL_HANDLE;if(null!=this.sizers)for(c=0;c<this.sizers.length;c++)if(b(this.sizers[c]))return c;return null};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!0};
- mxVertexHandler.prototype.mouseDown=function(a,b){var c=mxEvent.isMouseEvent(b.getEvent())?0:this.tolerance;!b.isConsumed()&&this.graph.isEnabled()&&(0<c||b.getState()==this.state)&&(c=this.getHandleForEvent(b),null!=c&&(this.start(b.getGraphX(),b.getGraphY(),c),b.consume()))};mxVertexHandler.prototype.isLivePreviewBorder=function(){return null!=this.state.shape&&null==this.state.shape.fill&&null==this.state.shape.stroke};
- mxVertexHandler.prototype.start=function(a,b,c){this.inTolerance=!0;this.childOffsetY=this.childOffsetX=0;this.index=c;this.startX=a;this.startY=b;a=this.state.view.graph.model;b=a.getParent(this.state.cell);this.state.view.currentRoot!=b&&(a.isVertex(b)||a.isEdge(b))&&(this.parentState=this.state.view.graph.view.getState(b));this.selectionBorder.node.style.display=c==mxEvent.ROTATION_HANDLE?"inline":"none";if(!this.livePreview||this.isLivePreviewBorder())this.preview=this.createSelectionShape(this.bounds),
- mxClient.IS_SVG&&0!=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0")||null==this.state.text||this.state.text.node.parentNode!=this.graph.container?(this.preview.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,this.preview.init(this.graph.view.getOverlayPane())):(this.preview.dialect=mxConstants.DIALECT_STRICTHTML,this.preview.init(this.graph.container));if(this.livePreview)for(this.hideSizers(),c==mxEvent.ROTATION_HANDLE?this.rotationShape.node.style.display=
- "":c==mxEvent.LABEL_HANDLE?this.labelShape.node.style.display="":null!=this.sizers&&null!=this.sizers[c]?this.sizers[c].node.style.display="":c<=mxEvent.CUSTOM_HANDLE&&null!=this.customHandles&&this.customHandles[mxEvent.CUSTOM_HANDLE-c].setVisible(!0),c=this.graph.getEdges(this.state.cell),this.edgeHandlers=[],a=0;a<c.length;a++)b=this.graph.selectionCellsHandler.getHandler(c[a]),null!=b&&this.edgeHandlers.push(b)};
- mxVertexHandler.prototype.setHandlesVisible=function(a){if(null!=this.sizers)for(var b=0;b<this.sizers.length;b++)this.sizers[b].node.style.display=a?"":"none";if(null!=this.customHandles)for(b=0;b<this.customHandles.length;b++)this.customHandles[b].setVisible(a)};mxVertexHandler.prototype.hideSizers=function(){this.setHandlesVisible(!1)};
- mxVertexHandler.prototype.checkTolerance=function(a){this.inTolerance&&null!=this.startX&&null!=this.startY&&(mxEvent.isMouseEvent(a.getEvent())||Math.abs(a.getGraphX()-this.startX)>this.graph.tolerance||Math.abs(a.getGraphY()-this.startY)>this.graph.tolerance)&&(this.inTolerance=!1)};mxVertexHandler.prototype.updateHint=function(a){};mxVertexHandler.prototype.removeHint=function(){};mxVertexHandler.prototype.roundAngle=function(a){return Math.round(10*a)/10};
- mxVertexHandler.prototype.roundLength=function(a){return Math.round(a)};
- mxVertexHandler.prototype.mouseMove=function(a,b){b.isConsumed()||null==this.index?this.graph.isMouseDown||null==this.getHandleForEvent(b)||b.consume(!1):(this.checkTolerance(b),this.inTolerance||(this.index<=mxEvent.CUSTOM_HANDLE?null!=this.customHandles&&(this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].processEvent(b),this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].active=!0):this.index==mxEvent.LABEL_HANDLE?this.moveLabel(b):this.index==mxEvent.ROTATION_HANDLE?this.rotateVertex(b):this.resizeVertex(b),
- this.updateHint(b)),b.consume())};mxVertexHandler.prototype.moveLabel=function(a){var b=new mxPoint(a.getGraphX(),a.getGraphY()),c=this.graph.view.translate,d=this.graph.view.scale;this.graph.isGridEnabledEvent(a.getEvent())&&(b.x=(this.graph.snap(b.x/d-c.x)+c.x)*d,b.y=(this.graph.snap(b.y/d-c.y)+c.y)*d);this.moveSizerTo(this.sizers[null!=this.rotationShape?this.sizers.length-2:this.sizers.length-1],b.x,b.y)};
- mxVertexHandler.prototype.rotateVertex=function(a){var b=new mxPoint(a.getGraphX(),a.getGraphY()),c=this.state.x+this.state.width/2-b.x,d=this.state.y+this.state.height/2-b.y;this.currentAlpha=0!=c?180*Math.atan(d/c)/Math.PI+90:0>d?180:0;0<c&&(this.currentAlpha-=180);this.rotationRaster&&this.graph.isGridEnabledEvent(a.getEvent())?(c=b.x-this.state.getCenterX(),d=b.y-this.state.getCenterY(),a=Math.max(1,5*Math.min(3,Math.max(0,Math.round(80/Math.abs(3*Math.abs(Math.sqrt(c*c+d*d)-20)))))),this.currentAlpha=
- Math.round(this.currentAlpha/a)*a):this.currentAlpha=this.roundAngle(this.currentAlpha);this.selectionBorder.rotation=this.currentAlpha;this.selectionBorder.redraw();this.livePreview&&this.redrawHandles()};
- mxVertexHandler.prototype.resizeVertex=function(a){var b=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),c=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),d=new mxPoint(a.getGraphX(),a.getGraphY()),e=this.graph.view.translate,f=this.graph.view.scale,g=Math.cos(-c),k=Math.sin(-c),l=d.x-this.startX,d=d.y-this.startY,m=k*l+g*d,l=g*l-k*d,d=m,g=this.graph.getCellGeometry(this.state.cell);this.unscaledBounds=this.union(g,l/f,d/f,this.index,this.graph.isGridEnabledEvent(a.getEvent()),
- 1,new mxPoint(0,0),this.isConstrainedEvent(a),this.isCenteredEvent(this.state,a));g.relative||(k=this.graph.getMaximumGraphBounds(),null!=k&&null!=this.parentState&&(k=mxRectangle.fromRectangle(k),k.x-=(this.parentState.x-e.x*f)/f,k.y-=(this.parentState.y-e.y*f)/f),this.graph.isConstrainChild(this.state.cell)&&(l=this.graph.getCellContainmentArea(this.state.cell),null!=l&&(d=this.graph.getOverlap(this.state.cell),0<d&&(l=mxRectangle.fromRectangle(l),l.x-=l.width*d,l.y-=l.height*d,l.width+=2*l.width*
- d,l.height+=2*l.height*d),null==k?k=l:(k=mxRectangle.fromRectangle(k),k.intersect(l)))),null!=k&&(this.unscaledBounds.x<k.x&&(this.unscaledBounds.width-=k.x-this.unscaledBounds.x,this.unscaledBounds.x=k.x),this.unscaledBounds.y<k.y&&(this.unscaledBounds.height-=k.y-this.unscaledBounds.y,this.unscaledBounds.y=k.y),this.unscaledBounds.x+this.unscaledBounds.width>k.x+k.width&&(this.unscaledBounds.width-=this.unscaledBounds.x+this.unscaledBounds.width-k.x-k.width),this.unscaledBounds.y+this.unscaledBounds.height>
- k.y+k.height&&(this.unscaledBounds.height-=this.unscaledBounds.y+this.unscaledBounds.height-k.y-k.height)));this.bounds=new mxRectangle((null!=this.parentState?this.parentState.x:e.x*f)+this.unscaledBounds.x*f,(null!=this.parentState?this.parentState.y:e.y*f)+this.unscaledBounds.y*f,this.unscaledBounds.width*f,this.unscaledBounds.height*f);g.relative&&null!=this.parentState&&(this.bounds.x+=this.state.x-this.parentState.x,this.bounds.y+=this.state.y-this.parentState.y);g=Math.cos(c);k=Math.sin(c);
- c=new mxPoint(this.bounds.getCenterX(),this.bounds.getCenterY());l=c.x-b.x;d=c.y-b.y;b=g*l-k*d-l;c=k*l+g*d-d;l=this.bounds.x-this.state.x;d=this.bounds.y-this.state.y;e=g*l-k*d;g=k*l+g*d;this.bounds.x+=b;this.bounds.y+=c;this.unscaledBounds.x=this.roundLength(this.unscaledBounds.x+b/f);this.unscaledBounds.y=this.roundLength(this.unscaledBounds.y+c/f);this.unscaledBounds.width=this.roundLength(this.unscaledBounds.width);this.unscaledBounds.height=this.roundLength(this.unscaledBounds.height);this.graph.isCellCollapsed(this.state.cell)||
- 0==b&&0==c?this.childOffsetY=this.childOffsetX=0:(this.childOffsetX=this.state.x-this.bounds.x+e,this.childOffsetY=this.state.y-this.bounds.y+g);this.livePreview&&this.updateLivePreview(a);null!=this.preview&&this.drawPreview()};
- mxVertexHandler.prototype.updateLivePreview=function(a){var b=this.graph.view.scale,c=this.graph.view.translate;a=this.state.clone();this.state.x=this.bounds.x;this.state.y=this.bounds.y;this.state.origin=new mxPoint(this.state.x/b-c.x,this.state.y/b-c.y);this.state.width=this.bounds.width;this.state.height=this.bounds.height;this.state.unscaledWidth=null;b=this.state.absoluteOffset;new mxPoint(b.x,b.y);this.state.absoluteOffset.x=0;this.state.absoluteOffset.y=0;b=this.graph.getCellGeometry(this.state.cell);
- null!=b&&(c=b.offset||this.EMPTY_POINT,null==c||b.relative||(this.state.absoluteOffset.x=this.state.view.scale*c.x,this.state.absoluteOffset.y=this.state.view.scale*c.y),this.state.view.updateVertexLabelOffset(this.state));this.state.view.graph.cellRenderer.redraw(this.state,!0);this.state.view.invalidate(this.state.cell);this.state.invalid=!1;this.state.view.validate();this.redrawHandles();this.state.setState(a)};
- mxVertexHandler.prototype.mouseUp=function(a,b){if(null!=this.index&&null!=this.state){var c=new mxPoint(b.getGraphX(),b.getGraphY());this.graph.getModel().beginUpdate();try{if(this.index<=mxEvent.CUSTOM_HANDLE)null!=this.customHandles&&(this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].active=!1,this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].execute());else if(this.index==mxEvent.ROTATION_HANDLE)if(null!=this.currentAlpha){var d=this.currentAlpha-(this.state.style[mxConstants.STYLE_ROTATION]||
- 0);0!=d&&this.rotateCell(this.state.cell,d)}else this.rotateClick();else{var e=this.graph.isGridEnabledEvent(b.getEvent()),f=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),g=Math.cos(-f),k=Math.sin(-f),l=c.x-this.startX,m=c.y-this.startY,c=k*l+g*m,l=g*l-k*m,m=c,n=this.graph.view.scale,p=this.isRecursiveResize(this.state,b);this.resizeCell(this.state.cell,this.roundLength(l/n),this.roundLength(m/n),this.index,e,this.isConstrainedEvent(b),p)}}finally{this.graph.getModel().endUpdate()}b.consume();
- this.reset()}};mxVertexHandler.prototype.isRecursiveResize=function(a,b){return this.graph.isRecursiveResize(this.state)};mxVertexHandler.prototype.rotateClick=function(){};
- mxVertexHandler.prototype.rotateCell=function(a,b,c){if(0!=b){var d=this.graph.getModel();if(d.isVertex(a)||d.isEdge(a)){if(!d.isEdge(a)){var e=this.graph.view.getState(a),e=null!=e?e.style:this.graph.getCellStyle(a);null!=e&&this.graph.setCellStyles(mxConstants.STYLE_ROTATION,(e[mxConstants.STYLE_ROTATION]||0)+b,[a])}e=this.graph.getCellGeometry(a);if(null!=e){var f=this.graph.getCellGeometry(c);null==f||d.isEdge(c)||(e=e.clone(),e.rotate(b,new mxPoint(f.width/2,f.height/2)),d.setGeometry(a,e));
- if(d.isVertex(a)&&!e.relative||d.isEdge(a))for(c=d.getChildCount(a),e=0;e<c;e++)this.rotateCell(d.getChildAt(a,e),b,a)}}}};
- mxVertexHandler.prototype.reset=function(){null!=this.sizers&&null!=this.index&&null!=this.sizers[this.index]&&"none"==this.sizers[this.index].node.style.display&&(this.sizers[this.index].node.style.display="");this.index=this.inTolerance=this.currentAlpha=null;null!=this.preview&&(this.preview.destroy(),this.preview=null);if(this.livePreview&&null!=this.sizers)for(var a=0;a<this.sizers.length;a++)null!=this.sizers[a]&&(this.sizers[a].node.style.display="");if(null!=this.customHandles)for(a=0;a<this.customHandles.length;a++)this.customHandles[a].active?
- (this.customHandles[a].active=!1,this.customHandles[a].reset()):this.customHandles[a].setVisible(!0);null!=this.selectionBorder&&(this.selectionBorder.node.style.display="inline",this.selectionBounds=this.getSelectionBounds(this.state),this.bounds=new mxRectangle(this.selectionBounds.x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height),this.drawPreview());this.removeHint();this.redrawHandles();this.unscaledBounds=this.edgeHandlers=null};
- mxVertexHandler.prototype.resizeCell=function(a,b,c,d,e,f,g){e=this.graph.model.getGeometry(a);null!=e&&(d==mxEvent.LABEL_HANDLE?(c=this.graph.view.scale,b=Math.round((this.labelShape.bounds.getCenterX()-this.startX)/c),c=Math.round((this.labelShape.bounds.getCenterY()-this.startY)/c),e=e.clone(),null==e.offset?e.offset=new mxPoint(b,c):(e.offset.x+=b,e.offset.y+=c),this.graph.model.setGeometry(a,e)):null!=this.unscaledBounds&&(c=this.graph.view.scale,0==this.childOffsetX&&0==this.childOffsetY||this.moveChildren(a,
- Math.round(this.childOffsetX/c),Math.round(this.childOffsetY/c)),this.graph.resizeCell(a,this.unscaledBounds,g)))};mxVertexHandler.prototype.moveChildren=function(a,b,c){for(var d=this.graph.getModel(),e=d.getChildCount(a),f=0;f<e;f++){var g=d.getChildAt(a,f),k=this.graph.getCellGeometry(g);null!=k&&(k=k.clone(),k.translate(b,c),d.setGeometry(g,k))}};
- mxVertexHandler.prototype.union=function(a,b,c,d,e,f,g,k,l){if(this.singleSizer)return d=a.x+a.width+b,g=a.y+a.height+c,e&&(d=this.graph.snap(d/f)*f,g=this.graph.snap(g/f)*f),f=new mxRectangle(a.x,a.y,0,0),f.add(new mxRectangle(d,g,0,0)),f;var m=a.width,n=a.height,p=a.x-g.x*f,q=p+m;a=a.y-g.y*f;var r=a+n,t=p+m/2,u=a+n/2;4<d?(r+=c,e&&(r=this.graph.snap(r/f)*f)):3>d&&(a+=c,e&&(a=this.graph.snap(a/f)*f));if(0==d||3==d||5==d)p+=b,e&&(p=this.graph.snap(p/f)*f);else if(2==d||4==d||7==d)q+=b,e&&(q=this.graph.snap(q/
- f)*f);e=q-p;c=r-a;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=k.width/k.height,1==d||2==d||7==d||6==d?e=c*k:c=e/k,0==d&&(p=q-e,a=r-c)));l&&(e+=e-m,c+=c-n,p+=t-(p+e/2),a+=u-(a+c/2));0>e&&(p+=e,e=Math.abs(e));0>c&&(a+=c,c=Math.abs(c));d=new mxRectangle(p+g.x*f,a+g.y*f,e,c);null!=this.minBounds&&(d.width=Math.max(d.width,this.minBounds.x*f+this.minBounds.width*f+Math.max(0,this.x0*f-d.x)),d.height=Math.max(d.height,this.minBounds.y*f+this.minBounds.height*f+Math.max(0,this.y0*f-d.y)));
- return d};mxVertexHandler.prototype.redraw=function(){this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectangle(this.selectionBounds.x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height);this.redrawHandles();this.drawPreview()};
- mxVertexHandler.prototype.getHandlePadding=function(){var a=new mxPoint(0,0),b=this.tolerance;null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]&&(this.bounds.width<2*this.sizers[0].bounds.width+2*b||this.bounds.height<2*this.sizers[0].bounds.height+2*b)&&(b/=2,a.x=this.sizers[0].bounds.width+b,a.y=this.sizers[0].bounds.height+b);return a};
- mxVertexHandler.prototype.redrawHandles=function(){var a=this.tolerance;this.verticalOffset=this.horizontalOffset=0;var b=this.bounds;if(null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]){if(null==this.index&&this.manageSizers&&8<=this.sizers.length){var c=this.getHandlePadding();this.horizontalOffset=c.x;this.verticalOffset=c.y;if(0!=this.horizontalOffset||0!=this.verticalOffset)b=new mxRectangle(b.x,b.y,b.width,b.height),b.x-=this.horizontalOffset/2,b.width+=this.horizontalOffset,b.y-=
- this.verticalOffset/2,b.height+=this.verticalOffset;8<=this.sizers.length&&(b.width<2*this.sizers[0].bounds.width+2*a||b.height<2*this.sizers[0].bounds.height+2*a?(this.sizers[0].node.style.display="none",this.sizers[2].node.style.display="none",this.sizers[5].node.style.display="none",this.sizers[7].node.style.display="none"):(this.sizers[0].node.style.display="",this.sizers[2].node.style.display="",this.sizers[5].node.style.display="",this.sizers[7].node.style.display=""))}a=b.x+b.width;c=b.y+b.height;
- if(this.singleSizer)this.moveSizerTo(this.sizers[0],a,c);else{var d=b.x+b.width/2,e=b.y+b.height/2;if(8<=this.sizers.length){var f="nw-resize n-resize ne-resize e-resize se-resize s-resize sw-resize w-resize".split(" "),g=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),k=Math.cos(g),l=Math.sin(g),g=Math.round(4*g/Math.PI),m=new mxPoint(b.getCenterX(),b.getCenterY()),n=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),k,l,m);this.moveSizerTo(this.sizers[0],n.x,n.y);this.sizers[0].setCursor(f[mxUtils.mod(0+
- g,f.length)]);n.x=d;n.y=b.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[1],n.x,n.y);this.sizers[1].setCursor(f[mxUtils.mod(1+g,f.length)]);n.x=a;n.y=b.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[2],n.x,n.y);this.sizers[2].setCursor(f[mxUtils.mod(2+g,f.length)]);n.x=b.x;n.y=e;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[3],n.x,n.y);this.sizers[3].setCursor(f[mxUtils.mod(7+g,f.length)]);n.x=a;n.y=e;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[4],
- n.x,n.y);this.sizers[4].setCursor(f[mxUtils.mod(3+g,f.length)]);n.x=b.x;n.y=c;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[5],n.x,n.y);this.sizers[5].setCursor(f[mxUtils.mod(6+g,f.length)]);n.x=d;n.y=c;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[6],n.x,n.y);this.sizers[6].setCursor(f[mxUtils.mod(5+g,f.length)]);n.x=a;n.y=c;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[7],n.x,n.y);this.sizers[7].setCursor(f[mxUtils.mod(4+g,f.length)]);this.moveSizerTo(this.sizers[8],
- d+this.state.absoluteOffset.x,e+this.state.absoluteOffset.y)}else 2<=this.state.width&&2<=this.state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.x,e+this.state.absoluteOffset.y):this.moveSizerTo(this.sizers[0],this.state.x,this.state.y)}}null!=this.rotationShape&&(g=mxUtils.toRadians(null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0"),k=Math.cos(g),l=Math.sin(g),m=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),n=mxUtils.getRotatedPoint(new mxPoint(b.x+
- b.width/2,b.y+this.rotationHandleVSpacing),k,l,m),null!=this.rotationShape.node&&this.moveSizerTo(this.rotationShape,n.x,n.y));null!=this.selectionBorder&&(this.selectionBorder.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0"));if(null!=this.edgeHandlers)for(b=0;b<this.edgeHandlers.length;b++)this.edgeHandlers[b].redraw();if(null!=this.customHandles)for(b=0;b<this.customHandles.length;b++)a=this.customHandles[b].shape.node.style.display,this.customHandles[b].redraw(),this.customHandles[b].shape.node.style.display=
- a;this.updateParentHighlight()};
- mxVertexHandler.prototype.updateParentHighlight=function(){if(null!=this.selectionBorder)if(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell);if(this.graph.model.isVertex(a)){var a=this.graph.view.getState(a),b=this.parentHighlight.bounds;null==a||b.x==a.x&&b.y==a.y&&b.width==a.width&&b.height==a.height||(this.parentHighlight.bounds=a,this.parentHighlight.redraw())}else this.parentHighlight.destroy(),this.parentHighlight=null}else this.parentHighlightEnabled&&(a=this.graph.model.getParent(this.state.cell),
- this.graph.model.isVertex(a)&&(a=this.graph.view.getState(a),null!=a&&(this.parentHighlight=this.createParentHighlightShape(a),this.parentHighlight.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,this.parentHighlight.pointerEvents=!1,this.parentHighlight.rotation=Number(a.style[mxConstants.STYLE_ROTATION]||"0"),this.parentHighlight.init(this.graph.getView().getOverlayPane()))))};
- mxVertexHandler.prototype.drawPreview=function(){null!=this.preview&&(this.preview.bounds=this.bounds,this.preview.node.parentNode==this.graph.container&&(this.preview.bounds.width=Math.max(0,this.preview.bounds.width-1),this.preview.bounds.height=Math.max(0,this.preview.bounds.height-1)),this.preview.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0"),this.preview.redraw());this.selectionBorder.bounds=this.bounds;this.selectionBorder.redraw();null!=this.parentHighlight&&this.parentHighlight.redraw()};
- mxVertexHandler.prototype.destroy=function(){null!=this.escapeHandler&&(this.state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.preview&&(this.preview.destroy(),this.preview=null);null!=this.parentHighlight&&(this.parentHighlight.destroy(),this.parentHighlight=null);null!=this.selectionBorder&&(this.selectionBorder.destroy(),this.selectionBorder=null);this.labelShape=null;this.removeHint();if(null!=this.sizers){for(var a=0;a<this.sizers.length;a++)this.sizers[a].destroy();
- this.sizers=null}if(null!=this.customHandles){for(a=0;a<this.customHandles.length;a++)this.customHandles[a].destroy();this.customHandles=null}};function mxEdgeHandler(a){null!=a&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,c){this.reset()}),this.state.view.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxEdgeHandler.prototype.graph=null;mxEdgeHandler.prototype.state=null;mxEdgeHandler.prototype.marker=null;mxEdgeHandler.prototype.constraintHandler=null;
- mxEdgeHandler.prototype.error=null;mxEdgeHandler.prototype.shape=null;mxEdgeHandler.prototype.bends=null;mxEdgeHandler.prototype.labelShape=null;mxEdgeHandler.prototype.cloneEnabled=!0;mxEdgeHandler.prototype.addEnabled=!1;mxEdgeHandler.prototype.removeEnabled=!1;mxEdgeHandler.prototype.dblClickRemoveEnabled=!1;mxEdgeHandler.prototype.mergeRemoveEnabled=!1;mxEdgeHandler.prototype.straightRemoveEnabled=!1;mxEdgeHandler.prototype.virtualBendsEnabled=!1;mxEdgeHandler.prototype.virtualBendOpacity=20;
- mxEdgeHandler.prototype.parentHighlightEnabled=!1;mxEdgeHandler.prototype.preferHtml=!1;mxEdgeHandler.prototype.allowHandleBoundsCheck=!0;mxEdgeHandler.prototype.snapToTerminals=!1;mxEdgeHandler.prototype.handleImage=null;mxEdgeHandler.prototype.tolerance=0;mxEdgeHandler.prototype.outlineConnect=!1;mxEdgeHandler.prototype.manageLabelHandle=!1;
- mxEdgeHandler.prototype.init=function(){this.graph=this.state.view.graph;this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(this.graph);this.points=[];this.abspoints=this.getSelectionPoints(this.state);this.shape=this.createSelectionShape(this.abspoints);this.shape.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;this.shape.init(this.graph.getView().getOverlayPane());this.shape.pointerEvents=!1;this.shape.setCursor(mxConstants.CURSOR_MOVABLE_EDGE);
- mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.preferHtml=null!=this.state.text&&this.state.text.node.parentNode==this.graph.container;if(!this.preferHtml){var a=this.state.getVisibleTerminalState(!0);null!=a&&(this.preferHtml=null!=a.text&&a.text.node.parentNode==this.graph.container);this.preferHtml||(a=this.state.getVisibleTerminalState(!1),null!=a&&(this.preferHtml=null!=a.text&&a.text.node.parentNode==this.graph.container))}this.parentHighlightEnabled&&(a=this.graph.model.getParent(this.state.cell),
- this.graph.model.isVertex(a)&&(a=this.graph.view.getState(a),null!=a&&(this.parentHighlight=this.createParentHighlightShape(a),this.parentHighlight.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,this.parentHighlight.pointerEvents=!1,this.parentHighlight.rotation=Number(a.style[mxConstants.STYLE_ROTATION]||"0"),this.parentHighlight.init(this.graph.getView().getOverlayPane()))));if(this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells||
- 0>=mxGraphHandler.prototype.maxCells)this.bends=this.createBends(),this.isVirtualBendsEnabled()&&(this.virtualBends=this.createVirtualBends());this.label=new mxPoint(this.state.absoluteOffset.x,this.state.absoluteOffset.y);this.labelShape=this.createLabelHandleShape();this.initBend(this.labelShape);this.labelShape.setCursor(mxConstants.CURSOR_LABEL_HANDLE);this.customHandles=this.createCustomHandles();this.redraw()};mxEdgeHandler.prototype.createCustomHandles=function(){return null};
- mxEdgeHandler.prototype.isVirtualBendsEnabled=function(a){return this.virtualBendsEnabled&&(null==this.state.style[mxConstants.STYLE_EDGE]||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.NONE||1==this.state.style[mxConstants.STYLE_NOEDGESTYLE])&&"arrow"!=mxUtils.getValue(this.state.style,mxConstants.STYLE_SHAPE,null)};mxEdgeHandler.prototype.isAddPointEvent=function(a){return mxEvent.isShiftDown(a)};mxEdgeHandler.prototype.isRemovePointEvent=function(a){return mxEvent.isShiftDown(a)};
- mxEdgeHandler.prototype.getSelectionPoints=function(a){return a.absolutePoints};mxEdgeHandler.prototype.createParentHighlightShape=function(a){a=new mxRectangleShape(a,null,this.getSelectionColor());a.strokewidth=this.getSelectionStrokeWidth();a.isDashed=this.isSelectionDashed();return a};mxEdgeHandler.prototype.createSelectionShape=function(a){a=new this.state.shape.constructor;a.outline=!0;a.apply(this.state);a.isDashed=this.isSelectionDashed();a.stroke=this.getSelectionColor();a.isShadow=!1;return a};
- mxEdgeHandler.prototype.getSelectionColor=function(){return mxConstants.EDGE_SELECTION_COLOR};mxEdgeHandler.prototype.getSelectionStrokeWidth=function(){return mxConstants.EDGE_SELECTION_STROKEWIDTH};mxEdgeHandler.prototype.isSelectionDashed=function(){return mxConstants.EDGE_SELECTION_DASHED};mxEdgeHandler.prototype.isConnectableCell=function(a){return!0};mxEdgeHandler.prototype.getCellAt=function(a,b){return this.outlineConnect?null:this.graph.getCellAt(a,b)};
- mxEdgeHandler.prototype.createMarker=function(){var a=new mxCellMarker(this.graph),b=this;a.getCell=function(a){var c=mxCellMarker.prototype.getCell.apply(this,arguments);c!=b.state.cell&&null!=c||null==b.currentPoint||(c=b.graph.getCellAt(b.currentPoint.x,b.currentPoint.y));if(null!=c&&!this.graph.isCellConnectable(c)){var e=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(e)&&this.graph.isCellConnectable(e)&&(c=e)}e=b.graph.getModel();if(this.graph.isSwimlane(c)&&null!=b.currentPoint&&
- this.graph.hitsSwimlaneContent(c,b.currentPoint.x,b.currentPoint.y)||!b.isConnectableCell(c)||c==b.state.cell||null!=c&&!b.graph.connectableEdges&&e.isEdge(c)||e.isAncestor(b.state.cell,c))c=null;this.graph.isCellConnectable(c)||(c=null);return c};a.isValidState=function(a){var c=b.graph.getModel(),c=b.graph.view.getTerminalPort(a,b.graph.view.getState(c.getTerminal(b.state.cell,!b.isSource)),!b.isSource),c=null!=c?c.cell:null;b.error=b.validateConnection(b.isSource?a.cell:c,b.isSource?c:a.cell);
- return null==b.error};return a};mxEdgeHandler.prototype.validateConnection=function(a,b){return this.graph.getEdgeValidationError(this.state.cell,a,b)};
- mxEdgeHandler.prototype.createBends=function(){for(var a=this.state.cell,b=[],c=0;c<this.abspoints.length;c++)if(this.isHandleVisible(c)){var d=c==this.abspoints.length-1,e=0==c||d;(e||this.graph.isCellBendable(a))&&mxUtils.bind(this,function(a){var d=this.createHandleShape(a);this.initBend(d,mxUtils.bind(this,mxUtils.bind(this,function(){this.dblClickRemoveEnabled&&this.removePoint(this.state,a)})));this.isHandleEnabled(c)&&d.setCursor(e?mxConstants.CURSOR_TERMINAL_HANDLE:mxConstants.CURSOR_BEND_HANDLE);
- b.push(d);e||(this.points.push(new mxPoint(0,0)),d.node.style.visibility="hidden")})(c)}return b};mxEdgeHandler.prototype.createVirtualBends=function(){var a=[];if(this.graph.isCellBendable(this.state.cell))for(var b=1;b<this.abspoints.length;b++)mxUtils.bind(this,function(b){this.initBend(b);b.setCursor(mxConstants.CURSOR_VIRTUAL_BEND_HANDLE);a.push(b)})(this.createHandleShape());return a};mxEdgeHandler.prototype.isHandleEnabled=function(a){return!0};
- mxEdgeHandler.prototype.isHandleVisible=function(a){var b=this.state.getVisibleTerminalState(!0),c=this.state.getVisibleTerminalState(!1),d=this.graph.getCellGeometry(this.state.cell);return(null!=d?this.graph.view.getEdgeStyle(this.state,d.points,b,c):null)!=mxEdgeStyle.EntityRelation||0==a||a==this.abspoints.length-1};
- mxEdgeHandler.prototype.createHandleShape=function(a){if(null!=this.handleImage)return a=new mxImageShape(new mxRectangle(0,0,this.handleImage.width,this.handleImage.height),this.handleImage.src),a.preserveImageAspect=!1,a;a=mxConstants.HANDLE_SIZE;this.preferHtml&&--a;return new mxRectangleShape(new mxRectangle(0,0,a,a),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};
- mxEdgeHandler.prototype.createLabelHandleShape=function(){if(null!=this.labelHandleImage){var a=new mxImageShape(new mxRectangle(0,0,this.labelHandleImage.width,this.labelHandleImage.height),this.labelHandleImage.src);a.preserveImageAspect=!1;return a}a=mxConstants.LABEL_HANDLE_SIZE;return new mxRectangleShape(new mxRectangle(0,0,a,a),mxConstants.LABEL_HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};
- mxEdgeHandler.prototype.initBend=function(a,b){this.preferHtml?(a.dialect=mxConstants.DIALECT_STRICTHTML,a.init(this.graph.container)):(a.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,a.init(this.graph.getView().getOverlayPane()));mxEvent.redirectMouseEvents(a.node,this.graph,this.state,null,null,null,b);(mxClient.IS_QUIRKS||8==document.documentMode)&&mxEvent.addListener(a.node,"dragstart",function(a){mxEvent.consume(a);return!1});mxClient.IS_TOUCH&&
- a.node.setAttribute("pointer-events","none")};
- mxEdgeHandler.prototype.getHandleForEvent=function(a){function b(b){if(null!=b&&"none"!=b.node.style.display&&"hidden"!=b.node.style.visibility&&(a.isSource(b)||null!=d&&mxUtils.intersects(b.bounds,d))){var c=a.getGraphX()-b.bounds.getCenterX();b=a.getGraphY()-b.bounds.getCenterY();c=c*c+b*b;if(null==e||c<=e)return e=c,!0}return!1}var c=mxEvent.isMouseEvent(a.getEvent())?1:this.tolerance,d=this.allowHandleBoundsCheck&&(mxClient.IS_IE||0<c)?new mxRectangle(a.getGraphX()-c,a.getGraphY()-c,2*c,2*c):
- null,e=null,c=null;if(null!=this.customHandles&&this.isCustomHandleEvent(a))for(var f=this.customHandles.length-1;0<=f;f--)if(b(this.customHandles[f].shape))return mxEvent.CUSTOM_HANDLE-f;if(a.isSource(this.state.text)||b(this.labelShape))c=mxEvent.LABEL_HANDLE;if(null!=this.bends)for(f=0;f<this.bends.length;f++)b(this.bends[f])&&(c=f);if(null!=this.virtualBends&&this.isAddVirtualBendEvent(a))for(f=0;f<this.virtualBends.length;f++)b(this.virtualBends[f])&&(c=mxEvent.VIRTUAL_HANDLE-f);return c};
- mxEdgeHandler.prototype.isAddVirtualBendEvent=function(a){return!0};mxEdgeHandler.prototype.isCustomHandleEvent=function(a){return!0};
- mxEdgeHandler.prototype.mouseDown=function(a,b){var c=this.getHandleForEvent(b);if(null!=this.bends&&null!=this.bends[c]){var d=this.bends[c].bounds;this.snapPoint=new mxPoint(d.getCenterX(),d.getCenterY())}if(this.addEnabled&&null==c&&this.isAddPointEvent(b.getEvent()))this.addPoint(this.state,b.getEvent()),b.consume();else if(null!=c&&!b.isConsumed()&&this.graph.isEnabled()){if(this.removeEnabled&&this.isRemovePointEvent(b.getEvent()))this.removePoint(this.state,c);else if(c!=mxEvent.LABEL_HANDLE||
- this.graph.isLabelMovable(b.getCell()))c<=mxEvent.VIRTUAL_HANDLE&&mxUtils.setOpacity(this.virtualBends[mxEvent.VIRTUAL_HANDLE-c].node,100),this.start(b.getX(),b.getY(),c);b.consume()}};
- mxEdgeHandler.prototype.start=function(a,b,c){this.startX=a;this.startY=b;this.isSource=null==this.bends?!1:0==c;this.isTarget=null==this.bends?!1:c==this.bends.length-1;this.isLabel=c==mxEvent.LABEL_HANDLE;if(this.isSource||this.isTarget){if(a=this.state.cell,b=this.graph.model.getTerminal(a,this.isSource),null==b&&this.graph.isTerminalPointMovable(a,this.isSource)||null!=b&&this.graph.isCellDisconnectable(a,b,this.isSource))this.index=c}else this.index=c;if(this.index<=mxEvent.CUSTOM_HANDLE&&this.index>
- mxEvent.VIRTUAL_HANDLE&&null!=this.customHandles)for(c=0;c<this.customHandles.length;c++)c!=mxEvent.CUSTOM_HANDLE-this.index&&this.customHandles[c].setVisible(!1)};mxEdgeHandler.prototype.clonePreviewState=function(a,b){return this.state.clone()};mxEdgeHandler.prototype.getSnapToTerminalTolerance=function(){return this.graph.gridSize*this.graph.view.scale/2};mxEdgeHandler.prototype.updateHint=function(a,b){};mxEdgeHandler.prototype.removeHint=function(){};mxEdgeHandler.prototype.roundLength=function(a){return Math.round(a)};
- mxEdgeHandler.prototype.isSnapToTerminalsEvent=function(a){return this.snapToTerminals&&!mxEvent.isAltDown(a.getEvent())};
- mxEdgeHandler.prototype.getPointForEvent=function(a){var b=this.graph.getView(),c=b.scale,d=new mxPoint(this.roundLength(a.getGraphX()/c)*c,this.roundLength(a.getGraphY()/c)*c),e=this.getSnapToTerminalTolerance(),f=!1,g=!1;if(0<e&&this.isSnapToTerminalsEvent(a)){var k=function(a){null!=a&&l.call(this,new mxPoint(b.getRoutingCenterX(a),b.getRoutingCenterY(a)))},l=function(a){if(null!=a){var b=a.x;Math.abs(d.x-b)<e&&(d.x=b,f=!0);a=a.y;Math.abs(d.y-a)<e&&(d.y=a,g=!0)}};k.call(this,this.state.getVisibleTerminalState(!0));
- k.call(this,this.state.getVisibleTerminalState(!1));if(null!=this.state.absolutePoints)for(k=0;k<this.state.absolutePoints.length;k++)l.call(this,this.state.absolutePoints[k])}this.graph.isGridEnabledEvent(a.getEvent())&&(a=b.translate,f||(d.x=(this.graph.snap(d.x/c-a.x)+a.x)*c),g||(d.y=(this.graph.snap(d.y/c-a.y)+a.y)*c));return d};
- mxEdgeHandler.prototype.getPreviewTerminalState=function(a){this.constraintHandler.update(a,this.isSource,!0,a.isSource(this.marker.highlight.shape)?null:this.currentPoint);if(null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint)return null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cell?"transparent"!=this.marker.highlight.shape.stroke&&(this.marker.highlight.shape.stroke="transparent",
- this.marker.highlight.repaint()):this.marker.markCell(this.constraintHandler.currentFocus.cell,"transparent"),a=this.graph.getModel(),a=this.graph.view.getTerminalPort(this.state,this.graph.view.getState(a.getTerminal(this.state.cell,!this.isSource)),!this.isSource),a=null!=a?a.cell:null,this.error=this.validateConnection(this.isSource?this.constraintHandler.currentFocus.cell:a,this.isSource?a:this.constraintHandler.currentFocus.cell),a=null,null==this.error?a=this.constraintHandler.currentFocus:
- this.constraintHandler.reset(),a;if(this.graph.isIgnoreTerminalEvent(a.getEvent()))return this.marker.reset(),null;this.marker.process(a);return this.marker.getValidState()};
- mxEdgeHandler.prototype.getPreviewPoints=function(a,b){var c=this.graph.getCellGeometry(this.state.cell),c=null!=c.points?c.points.slice():null,d=new mxPoint(a.x,a.y),e=null;if(this.isSource||this.isTarget)this.graph.resetEdgesOnConnect&&(c=null);else if(this.convertPoint(d,!1),null==c)c=[d];else{this.index<=mxEvent.VIRTUAL_HANDLE&&c.splice(mxEvent.VIRTUAL_HANDLE-this.index,0,d);if(!this.isSource&&!this.isTarget){for(var f=0;f<this.bends.length;f++)if(f!=this.index){var g=this.bends[f];null!=g&&mxUtils.contains(g.bounds,
- a.x,a.y)&&(this.index<=mxEvent.VIRTUAL_HANDLE?c.splice(mxEvent.VIRTUAL_HANDLE-this.index,1):c.splice(this.index-1,1),e=c)}if(null==e&&this.straightRemoveEnabled&&(null==b||!mxEvent.isAltDown(b.getEvent()))){f=this.graph.tolerance*this.graph.tolerance;g=this.state.absolutePoints.slice();g[this.index]=a;var k=this.state.getVisibleTerminalState(!0);if(null!=k){var l=this.graph.getConnectionConstraint(this.state,k,!0);if(null==l||null==this.graph.getConnectionPoint(k,l))g[0]=new mxPoint(k.view.getRoutingCenterX(k),
- k.view.getRoutingCenterY(k))}k=this.state.getVisibleTerminalState(!1);null!=k&&(l=this.graph.getConnectionConstraint(this.state,k,!1),null==l||null==this.graph.getConnectionPoint(k,l))&&(g[g.length-1]=new mxPoint(k.view.getRoutingCenterX(k),k.view.getRoutingCenterY(k)));l=this.index;0<l&&l<g.length-1&&mxUtils.ptSegDistSq(g[l-1].x,g[l-1].y,g[l+1].x,g[l+1].y,a.x,a.y)<f&&(c.splice(l-1,1),e=c)}}null==e&&this.index>mxEvent.VIRTUAL_HANDLE&&(c[this.index-1]=d)}return null!=e?e:c};
- mxEdgeHandler.prototype.isOutlineConnectEvent=function(a){var b=mxUtils.getOffset(this.graph.container),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f=this.currentPoint.x-this.graph.container.scrollLeft+b.x-((window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)),b=this.currentPoint.y-this.graph.container.scrollTop+b.y-((window.pageYOffset||e.scrollTop)-(e.clientTop||0));return this.outlineConnect&&!mxEvent.isShiftDown(a.getEvent())&&(a.isSource(this.marker.highlight.shape)||
- mxEvent.isAltDown(a.getEvent())&&null!=a.getState()||this.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=c)&&null==a.getState()&&this.marker.highlight.isHighlightAt(f,b))};
- mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d,e){var f=this.isSource?c:this.state.getVisibleTerminalState(!0),g=this.isTarget?c:this.state.getVisibleTerminalState(!1),k=this.graph.getConnectionConstraint(a,f,!0),l=this.graph.getConnectionConstraint(a,g,!1),m=this.constraintHandler.currentConstraint;null==m&&e&&(null!=c?(d.isSource(this.marker.highlight.shape)&&(b=new mxPoint(d.getGraphX(),d.getGraphY())),m=this.graph.getOutlineConstraint(b,c,d),this.constraintHandler.setFocus(d,c,this.isSource),
- this.constraintHandler.currentConstraint=m,this.constraintHandler.currentPoint=b):m=new mxConnectionConstraint);if(this.outlineConnect&&null!=this.marker.highlight&&null!=this.marker.highlight.shape){var n=this.graph.view.scale;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(this.marker.highlight.shape.stroke=e?mxConstants.OUTLINE_HIGHLIGHT_COLOR:"transparent",this.marker.highlight.shape.strokewidth=mxConstants.OUTLINE_HIGHLIGHT_STROKEWIDTH/n/n,this.marker.highlight.repaint()):
- this.marker.hasValidState()&&(this.marker.highlight.shape.stroke=this.marker.getValidState()==d.getState()?mxConstants.DEFAULT_VALID_COLOR:"transparent",this.marker.highlight.shape.strokewidth=mxConstants.HIGHLIGHT_STROKEWIDTH/n/n,this.marker.highlight.repaint())}this.isSource?k=m:this.isTarget&&(l=m);if(this.isSource||this.isTarget)null!=m&&null!=m.point?(a.style[this.isSource?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X]=m.point.x,a.style[this.isSource?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y]=
- m.point.y):(delete a.style[this.isSource?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X],delete a.style[this.isSource?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y]);a.setVisibleTerminalState(f,!0);a.setVisibleTerminalState(g,!1);this.isSource&&null==f||a.view.updateFixedTerminalPoint(a,f,!0,k);this.isTarget&&null==g||a.view.updateFixedTerminalPoint(a,g,!1,l);(this.isSource||this.isTarget)&&null==c&&(a.setAbsoluteTerminalPoint(b,this.isSource),null==this.marker.getMarkedState()&&(this.error=
- this.graph.allowDanglingEdges?null:""));a.view.updatePoints(a,this.points,f,g);a.view.updateFloatingTerminalPoints(a,f,g)};
- mxEdgeHandler.prototype.mouseMove=function(a,b){if(null!=this.index&&null!=this.marker){this.currentPoint=this.getPointForEvent(b);this.error=null;!this.graph.isIgnoreTerminalEvent(b.getEvent())&&mxEvent.isShiftDown(b.getEvent())&&null!=this.snapPoint&&(Math.abs(this.snapPoint.x-this.currentPoint.x)<Math.abs(this.snapPoint.y-this.currentPoint.y)?this.currentPoint.x=this.snapPoint.x:this.currentPoint.y=this.snapPoint.y);if(this.index<=mxEvent.CUSTOM_HANDLE&&this.index>mxEvent.VIRTUAL_HANDLE)null!=
- this.customHandles&&this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].processEvent(b);else if(this.isLabel)this.label.x=this.currentPoint.x,this.label.y=this.currentPoint.y;else{this.points=this.getPreviewPoints(this.currentPoint,b);var c=this.isSource||this.isTarget?this.getPreviewTerminalState(b):null;if(null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint)this.currentPoint=this.constraintHandler.currentPoint.clone();
- else if(this.outlineConnect){var d=this.isSource||this.isTarget?this.isOutlineConnectEvent(b):!1;d?c=this.marker.highlight.state:null!=c&&c!=b.getState()&&null!=this.marker.highlight.shape&&(this.marker.highlight.shape.stroke="transparent",this.marker.highlight.repaint(),c=null)}var e=this.clonePreviewState(this.currentPoint,null!=c?c.cell:null);this.updatePreviewState(e,this.currentPoint,c,b,d);this.setPreviewColor(null==this.error?this.marker.validColor:this.marker.invalidColor);this.abspoints=
- e.absolutePoints;this.active=!0}this.updateHint(b,this.currentPoint);this.drawPreview();mxEvent.consume(b.getEvent());b.consume()}else mxClient.IS_IE&&null!=this.getHandleForEvent(b)&&b.consume(!1)};
- mxEdgeHandler.prototype.mouseUp=function(a,b){if(null!=this.index&&null!=this.marker){var c=this.state.cell;if(b.getX()!=this.startX||b.getY()!=this.startY){var d=!this.graph.isIgnoreTerminalEvent(b.getEvent())&&this.graph.isCloneEvent(b.getEvent())&&this.cloneEnabled&&this.graph.isCellsCloneable();if(null!=this.error)0<this.error.length&&this.graph.validationAlert(this.error);else if(this.index<=mxEvent.CUSTOM_HANDLE&&this.index>mxEvent.VIRTUAL_HANDLE){if(null!=this.customHandles){d=this.graph.getModel();
- d.beginUpdate();try{this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].execute()}finally{d.endUpdate()}}}else if(this.isLabel)this.moveLabel(this.state,this.label.x,this.label.y);else if(this.isSource||this.isTarget){var e=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&(e=this.constraintHandler.currentFocus.cell);null==e&&this.marker.hasValidState()&&null!=this.marker.highlight&&null!=this.marker.highlight.shape&&"transparent"!=this.marker.highlight.shape.stroke&&
- "white"!=this.marker.highlight.shape.stroke&&(e=this.marker.validState.cell);if(null!=e)c=this.connect(c,e,this.isSource,d,b);else if(this.graph.isAllowDanglingEdges()){e=this.abspoints[this.isSource?0:this.abspoints.length-1];e.x=this.roundLength(e.x/this.graph.view.scale-this.graph.view.translate.x);e.y=this.roundLength(e.y/this.graph.view.scale-this.graph.view.translate.y);var f=this.graph.getView().getState(this.graph.getModel().getParent(c));null!=f&&(e.x-=f.origin.x,e.y-=f.origin.y);e.x-=this.graph.panDx/
- this.graph.view.scale;e.y-=this.graph.panDy/this.graph.view.scale;c=this.changeTerminalPoint(c,e,this.isSource,d)}}else this.active?c=this.changePoints(c,this.points,d):(this.graph.getView().invalidate(this.state.cell),this.graph.getView().validate(this.state.cell))}null!=this.marker&&(this.reset(),c!=this.state.cell&&this.graph.setSelectionCell(c));b.consume()}};
- mxEdgeHandler.prototype.reset=function(){this.snapPoint=this.points=this.label=this.index=this.error=null;this.isTarget=this.isSource=this.isLabel=this.active=!1;if(this.livePreview&&null!=this.sizers)for(var a=0;a<this.sizers.length;a++)null!=this.sizers[a]&&(this.sizers[a].node.style.display="");null!=this.marker&&this.marker.reset();null!=this.constraintHandler&&this.constraintHandler.reset();if(null!=this.customHandles)for(a=0;a<this.customHandles.length;a++)this.customHandles[a].reset();this.setPreviewColor(mxConstants.EDGE_SELECTION_COLOR);
- this.removeHint();this.redraw()};mxEdgeHandler.prototype.setPreviewColor=function(a){null!=this.shape&&(this.shape.stroke=a)};mxEdgeHandler.prototype.convertPoint=function(a,b){var c=this.graph.getView().getScale(),d=this.graph.getView().getTranslate();b&&(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));a.x=Math.round(a.x/c-d.x);a.y=Math.round(a.y/c-d.y);c=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell));null!=c&&(a.x-=c.origin.x,a.y-=c.origin.y);return a};
- mxEdgeHandler.prototype.moveLabel=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a.cell);if(null!=e){var f=this.graph.getView().scale,e=e.clone();if(e.relative){var g=this.graph.getView().getRelativePoint(a,b,c);e.x=Math.round(1E4*g.x)/1E4;e.y=Math.round(g.y);e.offset=new mxPoint(0,0);g=this.graph.view.getPoint(a,e);e.offset=new mxPoint(Math.round((b-g.x)/f),Math.round((c-g.y)/f))}else{var k=a.absolutePoints,g=k[0],k=k[k.length-1];null!=g&&null!=k&&(e.offset=new mxPoint(Math.round((b-
- (g.x+(k.x-g.x)/2))/f),Math.round((c-(g.y+(k.y-g.y)/2))/f)),e.x=0,e.y=0)}d.setGeometry(a.cell,e)}};mxEdgeHandler.prototype.connect=function(a,b,c,d,e){e=this.graph.getModel();var f=e.getParent(a);e.beginUpdate();try{if(d){var g=this.graph.cloneCells([a])[0];e.add(f,g,e.getChildCount(f));var k=e.getTerminal(a,!c);this.graph.connectCell(g,k,!c);a=g}var l=this.constraintHandler.currentConstraint;null==l&&(l=new mxConnectionConstraint);this.graph.connectCell(a,b,c,l)}finally{e.endUpdate()}return a};
- mxEdgeHandler.prototype.changeTerminalPoint=function(a,b,c,d){var e=this.graph.getModel();e.beginUpdate();try{if(d){var f=e.getParent(a),g=e.getTerminal(a,!c);a=this.graph.cloneCells([a])[0];e.add(f,a,e.getChildCount(f));e.setTerminal(a,g,!c)}var k=e.getGeometry(a);null!=k&&(k=k.clone(),k.setTerminalPoint(b,c),e.setGeometry(a,k),this.graph.connectCell(a,null,c,new mxConnectionConstraint))}finally{e.endUpdate()}return a};
- mxEdgeHandler.prototype.changePoints=function(a,b,c){var d=this.graph.getModel();d.beginUpdate();try{if(c){var e=d.getParent(a),f=d.getTerminal(a,!0),g=d.getTerminal(a,!1);a=this.graph.cloneCells([a])[0];d.add(e,a,d.getChildCount(e));d.setTerminal(a,f,!0);d.setTerminal(a,g,!1)}var k=d.getGeometry(a);null!=k&&(k=k.clone(),k.points=b,d.setGeometry(a,k))}finally{d.endUpdate()}return a};
- mxEdgeHandler.prototype.addPoint=function(a,b){var c=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(b),mxEvent.getClientY(b)),d=this.graph.isGridEnabledEvent(b);this.convertPoint(c,d);this.addPointAt(a,c.x,c.y);mxEvent.consume(b)};
- mxEdgeHandler.prototype.addPointAt=function(a,b,c){var d=this.graph.getCellGeometry(a.cell);b=new mxPoint(b,c);if(null!=d){var d=d.clone(),e=this.graph.view.translate;c=this.graph.view.scale;var e=new mxPoint(e.x*c,e.y*c),f=this.graph.model.getParent(this.state.cell);this.graph.model.isVertex(f)&&(e=this.graph.view.getState(f),e=new mxPoint(e.x,e.y));c=mxUtils.findNearestSegment(a,b.x*c+e.x,b.y*c+e.y);null==d.points?d.points=[b]:d.points.splice(c,0,b);this.graph.getModel().setGeometry(a.cell,d);this.refresh();
- this.redraw()}};mxEdgeHandler.prototype.removePoint=function(a,b){if(0<b&&b<this.abspoints.length-1){var c=this.graph.getCellGeometry(this.state.cell);null!=c&&null!=c.points&&(c=c.clone(),c.points.splice(b-1,1),this.graph.getModel().setGeometry(a.cell,c),this.refresh(),this.redraw())}};
- mxEdgeHandler.prototype.getHandleFillColor=function(a){a=0==a;var b=this.state.cell,c=this.graph.getModel().getTerminal(b,a),d=mxConstants.HANDLE_FILLCOLOR;null!=c&&!this.graph.isCellDisconnectable(b,c,a)||null==c&&!this.graph.isTerminalPointMovable(b,a)?d=mxConstants.LOCKED_HANDLE_FILLCOLOR:null!=c&&this.graph.isCellDisconnectable(b,c,a)&&(d=mxConstants.CONNECT_HANDLE_FILLCOLOR);return d};
- mxEdgeHandler.prototype.redraw=function(){this.abspoints=this.state.absolutePoints.slice();this.redrawHandles();var a=this.graph.getModel().getGeometry(this.state.cell).points;if(null!=this.bends&&0<this.bends.length&&null!=a){null==this.points&&(this.points=[]);for(var b=1;b<this.bends.length-1;b++)null!=this.bends[b]&&null!=this.abspoints[b]&&(this.points[b-1]=a[b-1])}this.drawPreview()};
- mxEdgeHandler.prototype.redrawHandles=function(){var a=this.state.cell,b=this.labelShape.bounds;this.label=new mxPoint(this.state.absoluteOffset.x,this.state.absoluteOffset.y);this.labelShape.bounds=new mxRectangle(Math.round(this.label.x-b.width/2),Math.round(this.label.y-b.height/2),b.width,b.height);b=this.graph.getLabel(a);this.labelShape.visible=null!=b&&0<b.length&&this.graph.isLabelMovable(a);if(null!=this.bends&&0<this.bends.length){var c=this.abspoints.length-1,a=this.abspoints[0],d=a.x,
- e=a.y,b=this.bends[0].bounds;this.bends[0].bounds=new mxRectangle(Math.floor(d-b.width/2),Math.floor(e-b.height/2),b.width,b.height);this.bends[0].fill=this.getHandleFillColor(0);this.bends[0].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[0].bounds);var c=this.abspoints[c],d=c.x,e=c.y,f=this.bends.length-1,b=this.bends[f].bounds;this.bends[f].bounds=new mxRectangle(Math.floor(d-b.width/2),Math.floor(e-b.height/2),b.width,b.height);this.bends[f].fill=this.getHandleFillColor(f);
- this.bends[f].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[f].bounds);this.redrawInnerBends(a,c)}if(null!=this.abspoints&&null!=this.virtualBends&&0<this.virtualBends.length)for(a=this.abspoints[0],c=0;c<this.virtualBends.length;c++)null!=this.virtualBends[c]&&null!=this.abspoints[c+1]&&(d=this.abspoints[c+1],b=this.virtualBends[c],b.bounds=new mxRectangle(Math.floor(a.x+(d.x-a.x)/2-b.bounds.width/2),Math.floor(a.y+(d.y-a.y)/2-b.bounds.height/2),b.bounds.width,b.bounds.height),
- b.redraw(),mxUtils.setOpacity(b.node,this.virtualBendOpacity),a=d,this.manageLabelHandle&&this.checkLabelHandle(b.bounds));null!=this.labelShape&&this.labelShape.redraw();if(null!=this.customHandles)for(c=0;c<this.customHandles.length;c++)this.customHandles[c].redraw()};
- mxEdgeHandler.prototype.setHandlesVisible=function(a){if(null!=this.bends)for(var b=0;b<this.bends.length;b++)this.bends[b].node.style.display=a?"":"none";if(null!=this.virtualBends)for(b=0;b<this.virtualBends.length;b++)this.virtualBends[b].node.style.display=a?"":"none";null!=this.labelShape&&(this.labelShape.node.style.display=a?"":"none");if(null!=this.customHandles)for(b=0;b<this.customHandles.length;b++)this.customHandles[b].setVisible(a)};
- mxEdgeHandler.prototype.redrawInnerBends=function(a,b){for(var c=1;c<this.bends.length-1;c++)if(null!=this.bends[c])if(null!=this.abspoints[c]){var d=this.abspoints[c].x,e=this.abspoints[c].y,f=this.bends[c].bounds;this.bends[c].node.style.visibility="visible";this.bends[c].bounds=new mxRectangle(Math.round(d-f.width/2),Math.round(e-f.height/2),f.width,f.height);this.manageLabelHandle?this.checkLabelHandle(this.bends[c].bounds):null==this.handleImage&&this.labelShape.visible&&mxUtils.intersects(this.bends[c].bounds,
- this.labelShape.bounds)&&(w=mxConstants.HANDLE_SIZE+3,h=mxConstants.HANDLE_SIZE+3,this.bends[c].bounds=new mxRectangle(Math.round(d-w/2),Math.round(e-h/2),w,h));this.bends[c].redraw()}else this.bends[c].destroy(),this.bends[c]=null};mxEdgeHandler.prototype.checkLabelHandle=function(a){if(null!=this.labelShape){var b=this.labelShape.bounds;mxUtils.intersects(a,b)&&(a.getCenterY()<b.getCenterY()?b.y=a.y+a.height:b.y=a.y-b.height)}};
- mxEdgeHandler.prototype.drawPreview=function(){if(this.isLabel){var a=this.labelShape.bounds,a=new mxRectangle(Math.round(this.label.x-a.width/2),Math.round(this.label.y-a.height/2),a.width,a.height);this.labelShape.bounds=a;this.labelShape.redraw()}else null!=this.shape&&(this.shape.apply(this.state),this.shape.points=this.abspoints,this.shape.scale=this.state.view.scale,this.shape.isDashed=this.isSelectionDashed(),this.shape.stroke=this.getSelectionColor(),this.shape.strokewidth=this.getSelectionStrokeWidth()/
- this.shape.scale/this.shape.scale,this.shape.isShadow=!1,this.shape.redraw());null!=this.parentHighlight&&this.parentHighlight.redraw()};
- mxEdgeHandler.prototype.refresh=function(){this.abspoints=this.getSelectionPoints(this.state);this.points=[];null!=this.shape&&(this.shape.points=this.abspoints);null!=this.bends&&(this.destroyBends(this.bends),this.bends=this.createBends());null!=this.virtualBends&&(this.destroyBends(this.virtualBends),this.virtualBends=this.createVirtualBends());null!=this.customHandles&&(this.destroyBends(this.customHandles),this.customHandles=this.createCustomHandles());null!=this.labelShape&&null!=this.labelShape.node&&
- null!=this.labelShape.node.parentNode&&this.labelShape.node.parentNode.appendChild(this.labelShape.node)};mxEdgeHandler.prototype.destroyBends=function(a){if(null!=a)for(var b=0;b<a.length;b++)null!=a[b]&&a[b].destroy()};
- mxEdgeHandler.prototype.destroy=function(){null!=this.escapeHandler&&(this.state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.marker&&(this.marker.destroy(),this.marker=null);null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.parentHighlight&&(this.parentHighlight.destroy(),this.parentHighlight=null);null!=this.labelShape&&(this.labelShape.destroy(),this.labelShape=null);null!=this.constraintHandler&&(this.constraintHandler.destroy(),this.constraintHandler=
- null);this.destroyBends(this.virtualBends);this.virtualBends=null;this.destroyBends(this.customHandles);this.customHandles=null;this.destroyBends(this.bends);this.bends=null;this.removeHint()};function mxElbowEdgeHandler(a){mxEdgeHandler.call(this,a)}mxUtils.extend(mxElbowEdgeHandler,mxEdgeHandler);mxElbowEdgeHandler.prototype.flipEnabled=!0;mxElbowEdgeHandler.prototype.doubleClickOrientationResource="none"!=mxClient.language?"doubleClickOrientation":"";
- mxElbowEdgeHandler.prototype.createBends=function(){var a=[],b=this.createHandleShape(0);this.initBend(b);b.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);a.push(b);a.push(this.createVirtualBend(mxUtils.bind(this,function(a){!mxEvent.isConsumed(a)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,a),mxEvent.consume(a))})));this.points.push(new mxPoint(0,0));b=this.createHandleShape(2);this.initBend(b);b.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);a.push(b);return a};
- mxElbowEdgeHandler.prototype.createVirtualBend=function(a){var b=this.createHandleShape();this.initBend(b,a);b.setCursor(this.getCursorForBend());this.graph.isCellBendable(this.state.cell)||(b.node.style.display="none");return b};
- mxElbowEdgeHandler.prototype.getCursorForBend=function(){return this.state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.TopToBottom||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.EDGESTYLE_TOPTOBOTTOM||(this.state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.ElbowConnector||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.EDGESTYLE_ELBOW)&&this.state.style[mxConstants.STYLE_ELBOW]==mxConstants.ELBOW_VERTICAL?"row-resize":"col-resize"};
- mxElbowEdgeHandler.prototype.getTooltipForNode=function(a){var b=null;null==this.bends||null==this.bends[1]||a!=this.bends[1].node&&a.parentNode!=this.bends[1].node||(b=this.doubleClickOrientationResource,b=mxResources.get(b)||b);return b};
- mxElbowEdgeHandler.prototype.convertPoint=function(a,b){var c=this.graph.getView().getScale(),d=this.graph.getView().getTranslate(),e=this.state.origin;b&&(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));a.x=Math.round(a.x/c-d.x-e.x);a.y=Math.round(a.y/c-d.y-e.y);return a};
- mxElbowEdgeHandler.prototype.redrawInnerBends=function(a,b){var c=this.graph.getModel().getGeometry(this.state.cell),d=this.state.absolutePoints,e=null;1<d.length?(a=d[1],b=d[d.length-2]):null!=c.points&&0<c.points.length&&(e=d[0]);e=null==e?new mxPoint(a.x+(b.x-a.x)/2,a.y+(b.y-a.y)/2):new mxPoint(this.graph.getView().scale*(e.x+this.graph.getView().translate.x+this.state.origin.x),this.graph.getView().scale*(e.y+this.graph.getView().translate.y+this.state.origin.y));d=this.bends[1].bounds;c=d.width;
- d=d.height;c=new mxRectangle(Math.round(e.x-c/2),Math.round(e.y-d/2),c,d);this.manageLabelHandle?this.checkLabelHandle(c):null==this.handleImage&&this.labelShape.visible&&mxUtils.intersects(c,this.labelShape.bounds)&&(c=mxConstants.HANDLE_SIZE+3,d=mxConstants.HANDLE_SIZE+3,c=new mxRectangle(Math.floor(e.x-c/2),Math.floor(e.y-d/2),c,d));this.bends[1].bounds=c;this.bends[1].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[1].bounds)};
- function mxEdgeSegmentHandler(a){mxEdgeHandler.call(this,a)}mxUtils.extend(mxEdgeSegmentHandler,mxElbowEdgeHandler);mxEdgeSegmentHandler.prototype.getCurrentPoints=function(){var a=this.state.absolutePoints;if(null!=a&&(2==a.length||3==a.length&&(a[0].x==a[1].x&&a[1].x==a[2].x||a[0].y==a[1].y&&a[1].y==a[2].y)))var b=a[0].x+(a[a.length-1].x-a[0].x)/2,c=a[0].y+(a[a.length-1].y-a[0].y)/2,a=[a[0],new mxPoint(b,c),new mxPoint(b,c),a[a.length-1]];return a};
- mxEdgeSegmentHandler.prototype.getPreviewPoints=function(a){if(this.isSource||this.isTarget)return mxElbowEdgeHandler.prototype.getPreviewPoints.apply(this,arguments);var b=this.getCurrentPoints(),c=this.convertPoint(b[0].clone(),!1);a=this.convertPoint(a.clone(),!1);for(var d=[],e=1;e<b.length;e++){var f=this.convertPoint(b[e].clone(),!1);e==this.index&&(0==Math.round(c.x-f.x)&&(c.x=a.x,f.x=a.x),0==Math.round(c.y-f.y)&&(c.y=a.y,f.y=a.y));e<b.length-1&&d.push(f);c=f}if(1==d.length){var b=this.state.getVisibleTerminalState(!0),
- c=this.state.getVisibleTerminalState(!1),f=this.state.view.getScale(),g=this.state.view.getTranslate(),e=d[0].x*f+g.x,f=d[0].y*f+g.y;if(null!=b&&mxUtils.contains(b,e,f)||null!=c&&mxUtils.contains(c,e,f))d=[a,a]}return d};
- mxEdgeSegmentHandler.prototype.updatePreviewState=function(a,b,c,d){mxEdgeHandler.prototype.updatePreviewState.apply(this,arguments);if(!this.isSource&&!this.isTarget){b=this.convertPoint(b.clone(),!1);for(var e=a.absolutePoints,f=e[0],g=e[1],k=[],l=2;l<e.length;l++){var m=e[l];0==Math.round(f.x-g.x)&&0==Math.round(g.x-m.x)||0==Math.round(f.y-g.y)&&0==Math.round(g.y-m.y)||k.push(this.convertPoint(g.clone(),!1));f=g;g=m}f=this.state.getVisibleTerminalState(!0);g=this.state.getVisibleTerminalState(!1);
- l=this.state.absolutePoints;if(0==k.length&&(0==Math.round(e[0].x-e[e.length-1].x)||0==Math.round(e[0].y-e[e.length-1].y)))k=[b,b];else if(5==e.length&&2==k.length&&null!=f&&null!=g&&null!=l&&0==Math.round(l[0].x-l[l.length-1].x)){var k=this.graph.getView(),l=k.getScale(),m=k.getTranslate(),e=k.getRoutingCenterY(f)/l-m.y,n=this.graph.getConnectionConstraint(a,f,!0);null!=n&&(n=this.graph.getConnectionPoint(f,n),null!=n&&(this.convertPoint(n,!1),e=n.y));k=k.getRoutingCenterY(g)/l-m.y;if(l=this.graph.getConnectionConstraint(a,
- g,!1))n=this.graph.getConnectionPoint(g,l),null!=n&&(this.convertPoint(n,!1),k=n.y);k=[new mxPoint(b.x,e),new mxPoint(b.x,k)]}this.points=k;a.view.updateFixedTerminalPoints(a,f,g);a.view.updatePoints(a,this.points,f,g);a.view.updateFloatingTerminalPoints(a,f,g)}};
- mxEdgeSegmentHandler.prototype.connect=function(a,b,c,d,e){for(var f=this.abspoints,g=f[0],k=f[1],l=[],m=2;m<f.length;m++){var n=f[m];0==Math.round(g.x-k.x)&&0==Math.round(k.x-n.x)||0==Math.round(g.y-k.y)&&0==Math.round(k.y-n.y)||l.push(this.convertPoint(k.clone(),!1));g=k;k=n}f=this.graph.getModel();f.beginUpdate();try{var p=f.getGeometry(a);null!=p&&(p=p.clone(),p.points=l,f.setGeometry(a,p));a=mxEdgeHandler.prototype.connect.apply(this,arguments)}finally{f.endUpdate()}return a};
- mxEdgeSegmentHandler.prototype.getTooltipForNode=function(a){return null};mxEdgeSegmentHandler.prototype.start=function(a,b,c){mxEdgeHandler.prototype.start.apply(this,arguments);null==this.bends[c]||this.isSource||this.isTarget||mxUtils.setOpacity(this.bends[c].node,100)};
- mxEdgeSegmentHandler.prototype.createBends=function(){var a=[],b=this.createHandleShape(0);this.initBend(b);b.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);a.push(b);var c=this.getCurrentPoints();if(this.graph.isCellBendable(this.state.cell)){null==this.points&&(this.points=[]);for(var d=0;d<c.length-1;d++){b=this.createVirtualBend();a.push(b);var e=0==Math.round(c[d].x-c[d+1].x);0==Math.round(c[d].y-c[d+1].y)&&d<c.length-2&&(e=0==Math.round(c[d].x-c[d+2].x));b.setCursor(e?"col-resize":"row-resize");
- this.points.push(new mxPoint(0,0))}}b=this.createHandleShape(c.length);this.initBend(b);b.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);a.push(b);return a};mxEdgeSegmentHandler.prototype.redraw=function(){this.refresh();mxEdgeHandler.prototype.redraw.apply(this,arguments)};
- mxEdgeSegmentHandler.prototype.redrawInnerBends=function(a,b){if(this.graph.isCellBendable(this.state.cell)){var c=this.getCurrentPoints();if(null!=c&&1<c.length){var d=!1;if(4==c.length&&0==Math.round(c[1].x-c[2].x)&&0==Math.round(c[1].y-c[2].y))if(d=!0,0==Math.round(c[0].y-c[c.length-1].y)){var e=c[0].x+(c[c.length-1].x-c[0].x)/2;c[1]=new mxPoint(e,c[1].y);c[2]=new mxPoint(e,c[2].y)}else e=c[0].y+(c[c.length-1].y-c[0].y)/2,c[1]=new mxPoint(c[1].x,e),c[2]=new mxPoint(c[2].x,e);for(e=0;e<c.length-
- 1;e++)if(null!=this.bends[e+1]){a=c[e];b=c[e+1];var f=new mxPoint(a.x+(b.x-a.x)/2,a.y+(b.y-a.y)/2),g=this.bends[e+1].bounds;this.bends[e+1].bounds=new mxRectangle(Math.floor(f.x-g.width/2),Math.floor(f.y-g.height/2),g.width,g.height);this.bends[e+1].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[e+1].bounds)}d&&(mxUtils.setOpacity(this.bends[1].node,this.virtualBendOpacity),mxUtils.setOpacity(this.bends[3].node,this.virtualBendOpacity))}}};
- function mxKeyHandler(a,b){null!=a&&(this.graph=a,this.target=b||document.documentElement,this.normalKeys=[],this.shiftKeys=[],this.controlKeys=[],this.controlShiftKeys=[],this.keydownHandler=mxUtils.bind(this,function(a){this.keyDown(a)}),mxEvent.addListener(this.target,"keydown",this.keydownHandler),mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})))}mxKeyHandler.prototype.graph=null;mxKeyHandler.prototype.target=null;
- mxKeyHandler.prototype.normalKeys=null;mxKeyHandler.prototype.shiftKeys=null;mxKeyHandler.prototype.controlKeys=null;mxKeyHandler.prototype.controlShiftKeys=null;mxKeyHandler.prototype.enabled=!0;mxKeyHandler.prototype.isEnabled=function(){return this.enabled};mxKeyHandler.prototype.setEnabled=function(a){this.enabled=a};mxKeyHandler.prototype.bindKey=function(a,b){this.normalKeys[a]=b};mxKeyHandler.prototype.bindShiftKey=function(a,b){this.shiftKeys[a]=b};
- mxKeyHandler.prototype.bindControlKey=function(a,b){this.controlKeys[a]=b};mxKeyHandler.prototype.bindControlShiftKey=function(a,b){this.controlShiftKeys[a]=b};mxKeyHandler.prototype.isControlDown=function(a){return mxEvent.isControlDown(a)};mxKeyHandler.prototype.getFunction=function(a){return null==a||mxEvent.isAltDown(a)?null:this.isControlDown(a)?mxEvent.isShiftDown(a)?this.controlShiftKeys[a.keyCode]:this.controlKeys[a.keyCode]:mxEvent.isShiftDown(a)?this.shiftKeys[a.keyCode]:this.normalKeys[a.keyCode]};
- mxKeyHandler.prototype.isGraphEvent=function(a){var b=mxEvent.getSource(a);return b==this.target||b.parentNode==this.target||null!=this.graph.cellEditor&&this.graph.cellEditor.isEventSource(a)?!0:mxUtils.isAncestorNode(this.graph.container,b)};mxKeyHandler.prototype.keyDown=function(a){if(this.isEnabledForEvent(a))if(27==a.keyCode)this.escape(a);else if(!this.isEventIgnored(a)){var b=this.getFunction(a);null!=b&&(b(a),mxEvent.consume(a))}};
- mxKeyHandler.prototype.isEnabledForEvent=function(a){return this.graph.isEnabled()&&!mxEvent.isConsumed(a)&&this.isGraphEvent(a)&&this.isEnabled()};mxKeyHandler.prototype.isEventIgnored=function(a){return this.graph.isEditing()};mxKeyHandler.prototype.escape=function(a){this.graph.isEscapeEnabled()&&this.graph.escape(a)};
- mxKeyHandler.prototype.destroy=function(){null!=this.target&&null!=this.keydownHandler&&(mxEvent.removeListener(this.target,"keydown",this.keydownHandler),this.keydownHandler=null);this.target=null};function mxTooltipHandler(a,b){null!=a&&(this.graph=a,this.delay=b||500,this.graph.addMouseListener(this))}mxTooltipHandler.prototype.zIndex=10005;mxTooltipHandler.prototype.graph=null;mxTooltipHandler.prototype.delay=null;mxTooltipHandler.prototype.ignoreTouchEvents=!0;
- mxTooltipHandler.prototype.hideOnHover=!1;mxTooltipHandler.prototype.destroyed=!1;mxTooltipHandler.prototype.enabled=!0;mxTooltipHandler.prototype.isEnabled=function(){return this.enabled};mxTooltipHandler.prototype.setEnabled=function(a){this.enabled=a};mxTooltipHandler.prototype.isHideOnHover=function(){return this.hideOnHover};mxTooltipHandler.prototype.setHideOnHover=function(a){this.hideOnHover=a};
- mxTooltipHandler.prototype.init=function(){null!=document.body&&(this.div=document.createElement("div"),this.div.className="mxTooltip",this.div.style.visibility="hidden",document.body.appendChild(this.div),mxEvent.addGestureListeners(this.div,mxUtils.bind(this,function(a){this.hideTooltip()})))};mxTooltipHandler.prototype.mouseDown=function(a,b){this.reset(b,!1);this.hideTooltip()};
- mxTooltipHandler.prototype.mouseMove=function(a,b){if(b.getX()!=this.lastX||b.getY()!=this.lastY)this.reset(b,!0),(this.isHideOnHover()||b.getState()!=this.state||b.getSource()!=this.node&&(!this.stateSource||null!=b.getState()&&this.stateSource==(b.isSource(b.getState().shape)||!b.isSource(b.getState().text))))&&this.hideTooltip();this.lastX=b.getX();this.lastY=b.getY()};mxTooltipHandler.prototype.mouseUp=function(a,b){this.reset(b,!0);this.hideTooltip()};
- mxTooltipHandler.prototype.resetTimer=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null)};
- mxTooltipHandler.prototype.reset=function(a,b){if(!this.ignoreTouchEvents||mxEvent.isMouseEvent(a.getEvent()))if(this.resetTimer(),b&&this.isEnabled()&&null!=a.getState()&&(null==this.div||"hidden"==this.div.style.visibility)){var c=a.getState(),d=a.getSource(),e=a.getX(),f=a.getY(),g=a.isSource(c.shape)||a.isSource(c.text);this.thread=window.setTimeout(mxUtils.bind(this,function(){if(!this.graph.isEditing()&&!this.graph.popupMenuHandler.isMenuShowing()&&!this.graph.isMouseDown){var a=this.graph.getTooltip(c,
- d,e,f);this.show(a,e,f);this.state=c;this.node=d;this.stateSource=g}}),this.delay)}};mxTooltipHandler.prototype.hide=function(){this.resetTimer();this.hideTooltip()};mxTooltipHandler.prototype.hideTooltip=function(){null!=this.div&&(this.div.style.visibility="hidden",this.div.innerHTML="")};
- mxTooltipHandler.prototype.show=function(a,b,c){if(!this.destroyed&&null!=a&&0<a.length){null==this.div&&this.init();var d=mxUtils.getScrollOrigin();this.div.style.zIndex=this.zIndex;this.div.style.left=b+d.x+"px";this.div.style.top=c+mxConstants.TOOLTIP_VERTICAL_OFFSET+d.y+"px";mxUtils.isNode(a)?(this.div.innerHTML="",this.div.appendChild(a)):this.div.innerHTML=a.replace(/\n/g,"<br>");this.div.style.visibility="";mxUtils.fit(this.div)}};
- mxTooltipHandler.prototype.destroy=function(){this.destroyed||(this.graph.removeMouseListener(this),mxEvent.release(this.div),null!=this.div&&null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.destroyed=!0,this.div=null)};function mxCellTracker(a,b,c){mxCellMarker.call(this,a,b);this.graph.addMouseListener(this);null!=c&&(this.getCell=c);mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()}))}mxUtils.extend(mxCellTracker,mxCellMarker);
- mxCellTracker.prototype.mouseDown=function(a,b){};mxCellTracker.prototype.mouseMove=function(a,b){this.isEnabled()&&this.process(b)};mxCellTracker.prototype.mouseUp=function(a,b){};mxCellTracker.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.graph.removeMouseListener(this),mxCellMarker.prototype.destroy.apply(this))};
- function mxCellHighlight(a,b,c,d){null!=a&&(this.graph=a,this.highlightColor=null!=b?b:mxConstants.DEFAULT_VALID_COLOR,this.strokeWidth=null!=c?c:mxConstants.HIGHLIGHT_STROKEWIDTH,this.dashed=null!=d?d:!1,this.opacity=mxConstants.HIGHLIGHT_OPACITY,this.repaintHandler=mxUtils.bind(this,function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);null==a?this.hide():(this.state=a,this.repaint())}}),this.graph.getView().addListener(mxEvent.SCALE,this.repaintHandler),this.graph.getView().addListener(mxEvent.TRANSLATE,
- this.repaintHandler),this.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler),this.graph.getModel().addListener(mxEvent.CHANGE,this.repaintHandler),this.resetHandler=mxUtils.bind(this,function(){this.hide()}),this.graph.getView().addListener(mxEvent.DOWN,this.resetHandler),this.graph.getView().addListener(mxEvent.UP,this.resetHandler))}mxCellHighlight.prototype.keepOnTop=!1;mxCellHighlight.prototype.graph=!0;mxCellHighlight.prototype.state=null;
- mxCellHighlight.prototype.spacing=2;mxCellHighlight.prototype.resetHandler=null;mxCellHighlight.prototype.setHighlightColor=function(a){this.highlightColor=a;null!=this.shape&&(this.shape.stroke=a)};mxCellHighlight.prototype.drawHighlight=function(){this.shape=this.createShape();this.repaint();this.keepOnTop||this.shape.node.parentNode.firstChild==this.shape.node||this.shape.node.parentNode.insertBefore(this.shape.node,this.shape.node.parentNode.firstChild)};
- mxCellHighlight.prototype.createShape=function(){var a=this.graph.cellRenderer.createShape(this.state);a.svgStrokeTolerance=this.graph.tolerance;a.points=this.state.absolutePoints;a.apply(this.state);a.stroke=this.highlightColor;a.opacity=this.opacity;a.isDashed=this.dashed;a.isShadow=!1;a.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG;a.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(a.node,this.graph,this.state);this.graph.dialect!=
- mxConstants.DIALECT_SVG?a.pointerEvents=!1:a.svgPointerEvents="stroke";return a};mxCellHighlight.prototype.getStrokeWidth=function(a){return this.strokeWidth};
- mxCellHighlight.prototype.repaint=function(){if(null!=this.state&&null!=this.shape){this.shape.scale=this.state.view.scale;this.graph.model.isEdge(this.state.cell)?(this.shape.strokewidth=this.getStrokeWidth(),this.shape.points=this.state.absolutePoints,this.shape.outline=!1):(this.shape.bounds=new mxRectangle(this.state.x-this.spacing,this.state.y-this.spacing,this.state.width+2*this.spacing,this.state.height+2*this.spacing),this.shape.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||
- "0"),this.shape.strokewidth=this.getStrokeWidth()/this.state.view.scale,this.shape.outline=!0);null!=this.state.shape&&this.shape.setCursor(this.state.shape.getCursor());if(mxClient.IS_QUIRKS||8==document.documentMode)"transparent"==this.shape.stroke?(this.shape.stroke="white",this.shape.opacity=1):this.shape.opacity=this.opacity;this.shape.redraw()}};mxCellHighlight.prototype.hide=function(){this.highlight(null)};
- mxCellHighlight.prototype.highlight=function(a){this.state!=a&&(null!=this.shape&&(this.shape.destroy(),this.shape=null),this.state=a,null!=this.state&&this.drawHighlight())};mxCellHighlight.prototype.isHighlightAt=function(a,b){var c=!1;if(null!=this.shape&&null!=document.elementFromPoint&&!mxClient.IS_QUIRKS)for(var d=document.elementFromPoint(a,b);null!=d;){if(d==this.shape.node){c=!0;break}d=d.parentNode}return c};
- mxCellHighlight.prototype.destroy=function(){this.graph.getView().removeListener(this.resetHandler);this.graph.getView().removeListener(this.repaintHandler);this.graph.getModel().removeListener(this.repaintHandler);null!=this.shape&&(this.shape.destroy(),this.shape=null)};
- function mxDefaultKeyHandler(a){if(null!=a){this.editor=a;this.handler=new mxKeyHandler(a.graph);var b=this.handler.escape;this.handler.escape=function(c){b.apply(this,arguments);a.hideProperties();a.fireEvent(new mxEventObject(mxEvent.ESCAPE,"event",c))}}}mxDefaultKeyHandler.prototype.editor=null;mxDefaultKeyHandler.prototype.handler=null;
- mxDefaultKeyHandler.prototype.bindAction=function(a,b,c){var d=mxUtils.bind(this,function(){this.editor.execute(b)});c?this.handler.bindControlKey(a,d):this.handler.bindKey(a,d)};mxDefaultKeyHandler.prototype.destroy=function(){this.handler.destroy();this.handler=null};function mxDefaultPopupMenu(a){this.config=a}mxDefaultPopupMenu.prototype.imageBasePath=null;mxDefaultPopupMenu.prototype.config=null;
- mxDefaultPopupMenu.prototype.createMenu=function(a,b,c,d){if(null!=this.config){var e=this.createConditions(a,c,d);this.addItems(a,b,c,d,e,this.config.firstChild,null)}};
- mxDefaultPopupMenu.prototype.addItems=function(a,b,c,d,e,f,g){for(var k=!1;null!=f;){if("add"==f.nodeName){var l=f.getAttribute("if");if(null==l||e[l]){var l=f.getAttribute("as"),l=mxResources.get(l)||l,m=mxUtils.eval(mxUtils.getTextContent(f)),n=f.getAttribute("action"),p=f.getAttribute("icon"),q=f.getAttribute("iconCls"),r=f.getAttribute("enabled-if"),r=null==r||e[r];k&&(b.addSeparator(g),k=!1);null!=p&&this.imageBasePath&&(p=this.imageBasePath+p);l=this.addAction(b,a,l,p,m,n,c,g,q,r);this.addItems(a,
- b,c,d,e,f.firstChild,l)}}else"separator"==f.nodeName&&(k=!0);f=f.nextSibling}};mxDefaultPopupMenu.prototype.addAction=function(a,b,c,d,e,f,g,k,l,m){return a.addItem(c,d,function(a){"function"==typeof e&&e.call(b,b,g,a);null!=f&&b.execute(f,g,a)},k,l,m)};
- mxDefaultPopupMenu.prototype.createConditions=function(a,b,c){var d=a.graph.getModel(),e=d.getChildCount(b),f=[];f.nocell=null==b;f.ncells=1<a.graph.getSelectionCount();f.notRoot=d.getRoot()!=d.getParent(a.graph.getDefaultParent());f.cell=null!=b;d=null!=b&&1==a.graph.getSelectionCount();f.nonEmpty=d&&0<e;f.expandable=d&&a.graph.isCellFoldable(b,!1);f.collapsable=d&&a.graph.isCellFoldable(b,!0);f.validRoot=d&&a.graph.isValidRoot(b);f.emptyValidRoot=f.validRoot&&0==e;f.swimlane=d&&a.graph.isSwimlane(b);
- e=this.config.getElementsByTagName("condition");for(d=0;d<e.length;d++){var g=mxUtils.eval(mxUtils.getTextContent(e[d])),k=e[d].getAttribute("name");null!=k&&"function"==typeof g&&(f[k]=g(a,b,c))}return f};function mxDefaultToolbar(a,b){this.editor=b;null!=a&&null!=b&&this.init(a)}mxDefaultToolbar.prototype.editor=null;mxDefaultToolbar.prototype.toolbar=null;mxDefaultToolbar.prototype.resetHandler=null;mxDefaultToolbar.prototype.spacing=4;mxDefaultToolbar.prototype.connectOnDrop=!1;
- mxDefaultToolbar.prototype.init=function(a){null!=a&&(this.toolbar=new mxToolbar(a),this.toolbar.addListener(mxEvent.SELECT,mxUtils.bind(this,function(a,c){var b=c.getProperty("function");this.editor.insertFunction=null!=b?mxUtils.bind(this,function(){b.apply(this,arguments);this.toolbar.resetMode()}):null})),this.resetHandler=mxUtils.bind(this,function(){null!=this.toolbar&&this.toolbar.resetMode(!0)}),this.editor.graph.addListener(mxEvent.DOUBLE_CLICK,this.resetHandler),this.editor.addListener(mxEvent.ESCAPE,
- this.resetHandler))};mxDefaultToolbar.prototype.addItem=function(a,b,c,d){var e=mxUtils.bind(this,function(){null!=c&&0<c.length&&this.editor.execute(c)});return this.toolbar.addItem(a,b,e,d)};mxDefaultToolbar.prototype.addSeparator=function(a){a=a||mxClient.imageBasePath+"/separator.gif";this.toolbar.addSeparator(a)};mxDefaultToolbar.prototype.addCombo=function(){return this.toolbar.addCombo()};mxDefaultToolbar.prototype.addActionCombo=function(a){return this.toolbar.addActionCombo(a)};
- mxDefaultToolbar.prototype.addActionOption=function(a,b,c){var d=mxUtils.bind(this,function(){this.editor.execute(c)});this.addOption(a,b,d)};mxDefaultToolbar.prototype.addOption=function(a,b,c){return this.toolbar.addOption(a,b,c)};mxDefaultToolbar.prototype.addMode=function(a,b,c,d,e){var f=mxUtils.bind(this,function(){this.editor.setMode(c);null!=e&&e(this.editor)});return this.toolbar.addSwitchMode(a,b,f,d)};
- mxDefaultToolbar.prototype.addPrototype=function(a,b,c,d,e,f){var g=mxUtils.bind(this,function(){return"function"==typeof c?c():null!=c?this.editor.graph.cloneCells([c])[0]:null}),k=mxUtils.bind(this,function(a,b){"function"==typeof e?e(this.editor,g(),a,b):this.drop(g(),a,b);this.toolbar.resetMode();mxEvent.consume(a)});a=this.toolbar.addMode(a,b,k,d,null,f);this.installDropHandler(a,function(a,b,c){k(b,c)});return a};
- mxDefaultToolbar.prototype.drop=function(a,b,c){var d=this.editor.graph,e=d.getModel();if(null!=c&&!e.isEdge(c)&&this.connectOnDrop&&d.isCellConnectable(c))this.connect(a,b,c);else{for(;null!=c&&!d.isValidDropTarget(c,[a],b);)c=e.getParent(c);this.insert(a,b,c)}};
- mxDefaultToolbar.prototype.insert=function(a,b,c){var d=this.editor.graph;if(d.canImportCell(a)){var e=mxEvent.getClientX(b),f=mxEvent.getClientY(b),e=mxUtils.convertPoint(d.container,e,f);return d.isSplitEnabled()&&d.isSplitTarget(c,[a],b)?d.splitEdge(c,[a],null,e.x,e.y):this.editor.addVertex(c,a,e.x,e.y)}return null};
- mxDefaultToolbar.prototype.connect=function(a,b,c){b=this.editor.graph;var d=b.getModel();if(null!=c&&b.isCellConnectable(a)&&b.isEdgeValid(null,c,a)){var e=null;d.beginUpdate();try{var f=d.getGeometry(c),g=d.getGeometry(a).clone();g.x=f.x+(f.width-g.width)/2;g.y=f.y+(f.height-g.height)/2;var k=this.spacing*b.gridSize,l=20*d.getDirectedEdgeCount(c,!0);this.editor.horizontalFlow?g.x+=(g.width+f.width)/2+k+l:g.y+=(g.height+f.height)/2+k+l;a.setGeometry(g);var m=d.getParent(c);b.addCell(a,m);b.constrainChild(a);
- e=this.editor.createEdge(c,a);if(null==d.getGeometry(e)){var n=new mxGeometry;n.relative=!0;d.setGeometry(e,n)}b.addEdge(e,m,c,a)}finally{d.endUpdate()}b.setSelectionCells([a,e]);b.scrollCellToVisible(a)}};
- mxDefaultToolbar.prototype.installDropHandler=function(a,b){var c=document.createElement("img");c.setAttribute("src",a.getAttribute("src"));var d=mxUtils.bind(this,function(e){c.style.width=2*a.offsetWidth+"px";c.style.height=2*a.offsetHeight+"px";mxUtils.makeDraggable(a,this.editor.graph,b,c);mxEvent.removeListener(c,"load",d)});mxClient.IS_IE?d():mxEvent.addListener(c,"load",d)};
- mxDefaultToolbar.prototype.destroy=function(){null!=this.resetHandler&&(this.editor.graph.removeListener("dblclick",this.resetHandler),this.editor.removeListener("escape",this.resetHandler),this.resetHandler=null);null!=this.toolbar&&(this.toolbar.destroy(),this.toolbar=null)};
- function mxEditor(a){this.actions=[];this.addActions();if(null!=document.body){this.cycleAttributeValues=[];this.popupHandler=new mxDefaultPopupMenu;this.undoManager=new mxUndoManager;this.graph=this.createGraph();this.toolbar=this.createToolbar();this.keyHandler=new mxDefaultKeyHandler(this);this.configure(a);this.graph.swimlaneIndicatorColorAttribute=this.cycleAttributeName;if(null!=this.onInit)this.onInit();mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()}))}}
- mxLoadResources&&mxResources.add(mxClient.basePath+"/resources/editor");mxEditor.prototype=new mxEventSource;mxEditor.prototype.constructor=mxEditor;mxEditor.prototype.askZoomResource="none"!=mxClient.language?"askZoom":"";mxEditor.prototype.lastSavedResource="none"!=mxClient.language?"lastSaved":"";mxEditor.prototype.currentFileResource="none"!=mxClient.language?"currentFile":"";mxEditor.prototype.propertiesResource="none"!=mxClient.language?"properties":"";
- mxEditor.prototype.tasksResource="none"!=mxClient.language?"tasks":"";mxEditor.prototype.helpResource="none"!=mxClient.language?"help":"";mxEditor.prototype.outlineResource="none"!=mxClient.language?"outline":"";mxEditor.prototype.outline=null;mxEditor.prototype.graph=null;mxEditor.prototype.graphRenderHint=null;mxEditor.prototype.toolbar=null;mxEditor.prototype.status=null;mxEditor.prototype.popupHandler=null;mxEditor.prototype.undoManager=null;mxEditor.prototype.keyHandler=null;
- mxEditor.prototype.actions=null;mxEditor.prototype.dblClickAction="edit";mxEditor.prototype.swimlaneRequired=!1;mxEditor.prototype.disableContextMenu=!0;mxEditor.prototype.insertFunction=null;mxEditor.prototype.forcedInserting=!1;mxEditor.prototype.templates=null;mxEditor.prototype.defaultEdge=null;mxEditor.prototype.defaultEdgeStyle=null;mxEditor.prototype.defaultGroup=null;mxEditor.prototype.groupBorderSize=null;mxEditor.prototype.filename=null;mxEditor.prototype.linefeed="
";
- mxEditor.prototype.postParameterName="xml";mxEditor.prototype.escapePostData=!0;mxEditor.prototype.urlPost=null;mxEditor.prototype.urlImage=null;mxEditor.prototype.horizontalFlow=!1;mxEditor.prototype.layoutDiagram=!1;mxEditor.prototype.swimlaneSpacing=0;mxEditor.prototype.maintainSwimlanes=!1;mxEditor.prototype.layoutSwimlanes=!1;mxEditor.prototype.cycleAttributeValues=null;mxEditor.prototype.cycleAttributeIndex=0;mxEditor.prototype.cycleAttributeName="fillColor";mxEditor.prototype.tasks=null;
- mxEditor.prototype.tasksWindowImage=null;mxEditor.prototype.tasksTop=20;mxEditor.prototype.help=null;mxEditor.prototype.helpWindowImage=null;mxEditor.prototype.urlHelp=null;mxEditor.prototype.helpWidth=300;mxEditor.prototype.helpHeight=260;mxEditor.prototype.propertiesWidth=240;mxEditor.prototype.propertiesHeight=null;mxEditor.prototype.movePropertiesDialog=!1;mxEditor.prototype.validating=!1;mxEditor.prototype.modified=!1;mxEditor.prototype.isModified=function(){return this.modified};
- mxEditor.prototype.setModified=function(a){this.modified=a};
- mxEditor.prototype.addActions=function(){this.addAction("save",function(a){a.save()});this.addAction("print",function(a){(new mxPrintPreview(a.graph,1)).open()});this.addAction("show",function(a){mxUtils.show(a.graph,null,10,10)});this.addAction("exportImage",function(a){var b=a.getUrlImage();if(null==b||mxClient.IS_LOCAL)a.execute("show");else{var c=mxUtils.getViewXml(a.graph,1),c=mxUtils.getXml(c,"\n");mxUtils.submit(b,a.postParameterName+"="+encodeURIComponent(c),document,"_blank")}});this.addAction("refresh",
- function(a){a.graph.refresh()});this.addAction("cut",function(a){a.graph.isEnabled()&&mxClipboard.cut(a.graph)});this.addAction("copy",function(a){a.graph.isEnabled()&&mxClipboard.copy(a.graph)});this.addAction("paste",function(a){a.graph.isEnabled()&&mxClipboard.paste(a.graph)});this.addAction("delete",function(a){a.graph.isEnabled()&&a.graph.removeCells()});this.addAction("group",function(a){a.graph.isEnabled()&&a.graph.setSelectionCell(a.groupCells())});this.addAction("ungroup",function(a){a.graph.isEnabled()&&
- a.graph.setSelectionCells(a.graph.ungroupCells())});this.addAction("removeFromParent",function(a){a.graph.isEnabled()&&a.graph.removeCellsFromParent()});this.addAction("undo",function(a){a.graph.isEnabled()&&a.undo()});this.addAction("redo",function(a){a.graph.isEnabled()&&a.redo()});this.addAction("zoomIn",function(a){a.graph.zoomIn()});this.addAction("zoomOut",function(a){a.graph.zoomOut()});this.addAction("actualSize",function(a){a.graph.zoomActual()});this.addAction("fit",function(a){a.graph.fit()});
- this.addAction("showProperties",function(a,b){a.showProperties(b)});this.addAction("selectAll",function(a){a.graph.isEnabled()&&a.graph.selectAll()});this.addAction("selectNone",function(a){a.graph.isEnabled()&&a.graph.clearSelection()});this.addAction("selectVertices",function(a){a.graph.isEnabled()&&a.graph.selectVertices()});this.addAction("selectEdges",function(a){a.graph.isEnabled()&&a.graph.selectEdges()});this.addAction("edit",function(a,b){a.graph.isEnabled()&&a.graph.isCellEditable(b)&&a.graph.startEditingAtCell(b)});
- this.addAction("toBack",function(a,b){a.graph.isEnabled()&&a.graph.orderCells(!0)});this.addAction("toFront",function(a,b){a.graph.isEnabled()&&a.graph.orderCells(!1)});this.addAction("enterGroup",function(a,b){a.graph.enterGroup(b)});this.addAction("exitGroup",function(a){a.graph.exitGroup()});this.addAction("home",function(a){a.graph.home()});this.addAction("selectPrevious",function(a){a.graph.isEnabled()&&a.graph.selectPreviousCell()});this.addAction("selectNext",function(a){a.graph.isEnabled()&&
- a.graph.selectNextCell()});this.addAction("selectParent",function(a){a.graph.isEnabled()&&a.graph.selectParentCell()});this.addAction("selectChild",function(a){a.graph.isEnabled()&&a.graph.selectChildCell()});this.addAction("collapse",function(a){a.graph.isEnabled()&&a.graph.foldCells(!0)});this.addAction("collapseAll",function(a){if(a.graph.isEnabled()){var b=a.graph.getChildVertices();a.graph.foldCells(!0,!1,b)}});this.addAction("expand",function(a){a.graph.isEnabled()&&a.graph.foldCells(!1)});
- this.addAction("expandAll",function(a){if(a.graph.isEnabled()){var b=a.graph.getChildVertices();a.graph.foldCells(!1,!1,b)}});this.addAction("bold",function(a){a.graph.isEnabled()&&a.graph.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_BOLD)});this.addAction("italic",function(a){a.graph.isEnabled()&&a.graph.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_ITALIC)});this.addAction("underline",function(a){a.graph.isEnabled()&&a.graph.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,
- mxConstants.FONT_UNDERLINE)});this.addAction("alignCellsLeft",function(a){a.graph.isEnabled()&&a.graph.alignCells(mxConstants.ALIGN_LEFT)});this.addAction("alignCellsCenter",function(a){a.graph.isEnabled()&&a.graph.alignCells(mxConstants.ALIGN_CENTER)});this.addAction("alignCellsRight",function(a){a.graph.isEnabled()&&a.graph.alignCells(mxConstants.ALIGN_RIGHT)});this.addAction("alignCellsTop",function(a){a.graph.isEnabled()&&a.graph.alignCells(mxConstants.ALIGN_TOP)});this.addAction("alignCellsMiddle",
- function(a){a.graph.isEnabled()&&a.graph.alignCells(mxConstants.ALIGN_MIDDLE)});this.addAction("alignCellsBottom",function(a){a.graph.isEnabled()&&a.graph.alignCells(mxConstants.ALIGN_BOTTOM)});this.addAction("alignFontLeft",function(a){a.graph.setCellStyles(mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT)});this.addAction("alignFontCenter",function(a){a.graph.isEnabled()&&a.graph.setCellStyles(mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER)});this.addAction("alignFontRight",function(a){a.graph.isEnabled()&&
- a.graph.setCellStyles(mxConstants.STYLE_ALIGN,mxConstants.ALIGN_RIGHT)});this.addAction("alignFontTop",function(a){a.graph.isEnabled()&&a.graph.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_TOP)});this.addAction("alignFontMiddle",function(a){a.graph.isEnabled()&&a.graph.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)});this.addAction("alignFontBottom",function(a){a.graph.isEnabled()&&a.graph.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_BOTTOM)});
- this.addAction("zoom",function(a){var b=100*a.graph.getView().scale,b=parseFloat(mxUtils.prompt(mxResources.get(a.askZoomResource)||a.askZoomResource,b))/100;isNaN(b)||a.graph.getView().setScale(b)});this.addAction("toggleTasks",function(a){null!=a.tasks?a.tasks.setVisible(!a.tasks.isVisible()):a.showTasks()});this.addAction("toggleHelp",function(a){null!=a.help?a.help.setVisible(!a.help.isVisible()):a.showHelp()});this.addAction("toggleOutline",function(a){null==a.outline?a.showOutline():a.outline.setVisible(!a.outline.isVisible())});
- this.addAction("toggleConsole",function(a){mxLog.setVisible(!mxLog.isVisible())})};mxEditor.prototype.configure=function(a){null!=a&&((new mxCodec(a.ownerDocument)).decode(a,this),this.resetHistory())};mxEditor.prototype.resetFirstTime=function(){document.cookie="mxgraph=seen; expires=Fri, 27 Jul 2001 02:47:11 UTC; path=/"};mxEditor.prototype.resetHistory=function(){this.lastSnapshot=(new Date).getTime();this.undoManager.clear();this.ignoredChanges=0;this.setModified(!1)};
- mxEditor.prototype.addAction=function(a,b){this.actions[a]=b};mxEditor.prototype.execute=function(a,b,c){var d=this.actions[a];if(null!=d)try{var e=arguments;e[0]=this;d.apply(this,e)}catch(f){throw mxUtils.error("Cannot execute "+a+": "+f.message,280,!0),f;}else mxUtils.error("Cannot find action "+a,280,!0)};mxEditor.prototype.addTemplate=function(a,b){this.templates[a]=b};mxEditor.prototype.getTemplate=function(a){return this.templates[a]};
- mxEditor.prototype.createGraph=function(){var a=new mxGraph(null,null,this.graphRenderHint);a.setTooltips(!0);a.setPanning(!0);this.installDblClickHandler(a);this.installUndoHandler(a);this.installDrillHandler(a);this.installChangeHandler(a);this.installInsertHandler(a);a.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(a,c,d){return this.createPopupMenu(a,c,d)});a.connectionHandler.factoryMethod=mxUtils.bind(this,function(a,c){return this.createEdge(a,c)});this.createSwimlaneManager(a);
- this.createLayoutManager(a);return a};mxEditor.prototype.createSwimlaneManager=function(a){a=new mxSwimlaneManager(a,!1);a.isHorizontal=mxUtils.bind(this,function(){return this.horizontalFlow});a.isEnabled=mxUtils.bind(this,function(){return this.maintainSwimlanes});return a};
- mxEditor.prototype.createLayoutManager=function(a){var b=new mxLayoutManager(a),c=this;b.getLayout=function(b){var d=null,f=c.graph.getModel();null!=f.getParent(b)&&(c.layoutSwimlanes&&a.isSwimlane(b)?(null==c.swimlaneLayout&&(c.swimlaneLayout=c.createSwimlaneLayout()),d=c.swimlaneLayout):c.layoutDiagram&&(a.isValidRoot(b)||null==f.getParent(f.getParent(b)))&&(null==c.diagramLayout&&(c.diagramLayout=c.createDiagramLayout()),d=c.diagramLayout));return d};return b};
- mxEditor.prototype.setGraphContainer=function(a){null==this.graph.container&&(this.graph.init(a),this.rubberband=new mxRubberband(this.graph),this.disableContextMenu&&mxEvent.disableContextMenu(a),mxClient.IS_QUIRKS&&new mxDivResizer(a))};mxEditor.prototype.installDblClickHandler=function(a){a.addListener(mxEvent.DOUBLE_CLICK,mxUtils.bind(this,function(b,c){var d=c.getProperty("cell");null!=d&&a.isEnabled()&&null!=this.dblClickAction&&(this.execute(this.dblClickAction,d),c.consume())}))};
- mxEditor.prototype.installUndoHandler=function(a){var b=mxUtils.bind(this,function(a,b){var c=b.getProperty("edit");this.undoManager.undoableEditHappened(c)});a.getModel().addListener(mxEvent.UNDO,b);a.getView().addListener(mxEvent.UNDO,b);b=function(b,d){var c=d.getProperty("edit").changes;a.setSelectionCells(a.getSelectionCellsForChanges(c))};this.undoManager.addListener(mxEvent.UNDO,b);this.undoManager.addListener(mxEvent.REDO,b)};
- mxEditor.prototype.installDrillHandler=function(a){var b=mxUtils.bind(this,function(a){this.fireEvent(new mxEventObject(mxEvent.ROOT))});a.getView().addListener(mxEvent.DOWN,b);a.getView().addListener(mxEvent.UP,b)};
- mxEditor.prototype.installChangeHandler=function(a){var b=mxUtils.bind(this,function(b,d){this.setModified(!0);1==this.validating&&a.validateGraph();for(var c=d.getProperty("edit").changes,f=0;f<c.length;f++){var g=c[f];if(g instanceof mxRootChange||g instanceof mxValueChange&&g.cell==this.graph.model.root||g instanceof mxCellAttributeChange&&g.cell==this.graph.model.root){this.fireEvent(new mxEventObject(mxEvent.ROOT));break}}});a.getModel().addListener(mxEvent.CHANGE,b)};
- mxEditor.prototype.installInsertHandler=function(a){var b=this;a.addMouseListener({mouseDown:function(a,d){null==b.insertFunction||d.isPopupTrigger()||!b.forcedInserting&&null!=d.getState()||(b.graph.clearSelection(),b.insertFunction(d.getEvent(),d.getCell()),this.isActive=!0,d.consume())},mouseMove:function(a,b){this.isActive&&b.consume()},mouseUp:function(a,b){this.isActive&&(this.isActive=!1,b.consume())}})};
- mxEditor.prototype.createDiagramLayout=function(){var a=this.graph.gridSize,b=new mxStackLayout(this.graph,!this.horizontalFlow,this.swimlaneSpacing,2*a,2*a);b.isVertexIgnored=function(a){return!b.graph.isSwimlane(a)};return b};mxEditor.prototype.createSwimlaneLayout=function(){return new mxCompactTreeLayout(this.graph,this.horizontalFlow)};mxEditor.prototype.createToolbar=function(){return new mxDefaultToolbar(null,this)};
- mxEditor.prototype.setToolbarContainer=function(a){this.toolbar.init(a);mxClient.IS_QUIRKS&&new mxDivResizer(a)};
- mxEditor.prototype.setStatusContainer=function(a){null==this.status&&(this.status=a,this.addListener(mxEvent.SAVE,mxUtils.bind(this,function(){var a=(new Date).toLocaleString();this.setStatus((mxResources.get(this.lastSavedResource)||this.lastSavedResource)+": "+a)})),this.addListener(mxEvent.OPEN,mxUtils.bind(this,function(){this.setStatus((mxResources.get(this.currentFileResource)||this.currentFileResource)+": "+this.filename)})),mxClient.IS_QUIRKS&&new mxDivResizer(a))};
- mxEditor.prototype.setStatus=function(a){null!=this.status&&null!=a&&(this.status.innerHTML=a)};mxEditor.prototype.setTitleContainer=function(a){this.addListener(mxEvent.ROOT,mxUtils.bind(this,function(b){a.innerHTML=this.getTitle()}));mxClient.IS_QUIRKS&&new mxDivResizer(a)};mxEditor.prototype.treeLayout=function(a,b){null!=a&&(new mxCompactTreeLayout(this.graph,b)).execute(a)};
- mxEditor.prototype.getTitle=function(){for(var a="",b=this.graph,c=b.getCurrentRoot();null!=c&&null!=b.getModel().getParent(b.getModel().getParent(c));)b.isValidRoot(c)&&(a=" > "+b.convertValueToString(c)+a),c=b.getModel().getParent(c);return this.getRootTitle()+a};mxEditor.prototype.getRootTitle=function(){var a=this.graph.getModel().getRoot();return this.graph.convertValueToString(a)};mxEditor.prototype.undo=function(){this.undoManager.undo()};mxEditor.prototype.redo=function(){this.undoManager.redo()};
- mxEditor.prototype.groupCells=function(){var a=null!=this.groupBorderSize?this.groupBorderSize:this.graph.gridSize;return this.graph.groupCells(this.createGroup(),a)};mxEditor.prototype.createGroup=function(){return this.graph.getModel().cloneCell(this.defaultGroup)};mxEditor.prototype.open=function(a){if(null!=a){var b=mxUtils.load(a).getXml();this.readGraphModel(b.documentElement);this.filename=a;this.fireEvent(new mxEventObject(mxEvent.OPEN,"filename",a))}};
- mxEditor.prototype.readGraphModel=function(a){(new mxCodec(a.ownerDocument)).decode(a,this.graph.getModel());this.resetHistory()};mxEditor.prototype.save=function(a,b){a=a||this.getUrlPost();if(null!=a&&0<a.length){var c=this.writeGraphModel(b);this.postDiagram(a,c);this.setModified(!1)}this.fireEvent(new mxEventObject(mxEvent.SAVE,"url",a))};
- mxEditor.prototype.postDiagram=function(a,b){this.escapePostData&&(b=encodeURIComponent(b));mxUtils.post(a,this.postParameterName+"="+b,mxUtils.bind(this,function(c){this.fireEvent(new mxEventObject(mxEvent.POST,"request",c,"url",a,"data",b))}))};mxEditor.prototype.writeGraphModel=function(a){a=null!=a?a:this.linefeed;var b=(new mxCodec).encode(this.graph.getModel());return mxUtils.getXml(b,a)};mxEditor.prototype.getUrlPost=function(){return this.urlPost};mxEditor.prototype.getUrlImage=function(){return this.urlImage};
- mxEditor.prototype.swapStyles=function(a,b){var c=this.graph.getStylesheet().styles[b];this.graph.getView().getStylesheet().putCellStyle(b,this.graph.getStylesheet().styles[a]);this.graph.getStylesheet().putCellStyle(a,c);this.graph.refresh()};
- mxEditor.prototype.showProperties=function(a){a=a||this.graph.getSelectionCell();null==a&&(a=this.graph.getCurrentRoot(),null==a&&(a=this.graph.getModel().getRoot()));if(null!=a){this.graph.stopEditing(!0);var b=mxUtils.getOffset(this.graph.container),c=b.x+10,b=b.y;if(null==this.properties||this.movePropertiesDialog){var d=this.graph.getCellBounds(a);null!=d&&(c+=d.x+Math.min(200,d.width),b+=d.y)}else c=this.properties.getX(),b=this.properties.getY();this.hideProperties();a=this.createProperties(a);
- null!=a&&(this.properties=new mxWindow(mxResources.get(this.propertiesResource)||this.propertiesResource,a,c,b,this.propertiesWidth,this.propertiesHeight,!1),this.properties.setVisible(!0))}};mxEditor.prototype.isPropertiesVisible=function(){return null!=this.properties};
- mxEditor.prototype.createProperties=function(a){var b=this.graph.getModel(),c=b.getValue(a);if(mxUtils.isNode(c)){var d=new mxForm("properties");d.addText("ID",a.getId()).setAttribute("readonly","true");var e=null,f=null,g=null,k=null,l=null;b.isVertex(a)&&(e=b.getGeometry(a),null!=e&&(f=d.addText("top",e.y),g=d.addText("left",e.x),k=d.addText("width",e.width),l=d.addText("height",e.height)));for(var m=b.getStyle(a),n=d.addText("Style",m||""),p=c.attributes,q=[],c=0;c<p.length;c++)q[c]=d.addTextarea(p[c].nodeName,
- p[c].value,"label"==p[c].nodeName?4:2);c=mxUtils.bind(this,function(){this.hideProperties();b.beginUpdate();try{null!=e&&(e=e.clone(),e.x=parseFloat(g.value),e.y=parseFloat(f.value),e.width=parseFloat(k.value),e.height=parseFloat(l.value),b.setGeometry(a,e));0<n.value.length?b.setStyle(a,n.value):b.setStyle(a,null);for(var c=0;c<p.length;c++){var d=new mxCellAttributeChange(a,p[c].nodeName,q[c].value);b.execute(d)}this.graph.isAutoSizeCell(a)&&this.graph.updateCellSize(a)}finally{b.endUpdate()}});
- m=mxUtils.bind(this,function(){this.hideProperties()});d.addButtons(c,m);return d.table}return null};mxEditor.prototype.hideProperties=function(){null!=this.properties&&(this.properties.destroy(),this.properties=null)};
- mxEditor.prototype.showTasks=function(){if(null==this.tasks){var a=document.createElement("div");a.style.padding="4px";a.style.paddingLeft="20px";var b=document.body.clientWidth,b=new mxWindow(mxResources.get(this.tasksResource)||this.tasksResource,a,b-220,this.tasksTop,200);b.setClosable(!0);b.destroyOnClose=!1;var c=mxUtils.bind(this,function(b){mxEvent.release(a);a.innerHTML="";this.createTasks(a)});this.graph.getModel().addListener(mxEvent.CHANGE,c);this.graph.getSelectionModel().addListener(mxEvent.CHANGE,
- c);this.graph.addListener(mxEvent.ROOT,c);null!=this.tasksWindowImage&&b.setImage(this.tasksWindowImage);this.tasks=b;this.createTasks(a)}this.tasks.setVisible(!0)};mxEditor.prototype.refreshTasks=function(a){null!=this.tasks&&(a=this.tasks.content,mxEvent.release(a),a.innerHTML="",this.createTasks(a))};mxEditor.prototype.createTasks=function(a){};
- mxEditor.prototype.showHelp=function(a){if(null==this.help){var b=document.createElement("iframe");b.setAttribute("src",mxResources.get("urlHelp")||this.urlHelp);b.setAttribute("height","100%");b.setAttribute("width","100%");b.setAttribute("frameBorder","0");b.style.backgroundColor="white";a=document.body.clientWidth;var c=document.body.clientHeight||document.documentElement.clientHeight,d=new mxWindow(mxResources.get(this.helpResource)||this.helpResource,b,(a-this.helpWidth)/2,(c-this.helpHeight)/
- 3,this.helpWidth,this.helpHeight);d.setMaximizable(!0);d.setClosable(!0);d.destroyOnClose=!1;d.setResizable(!0);null!=this.helpWindowImage&&d.setImage(this.helpWindowImage);mxClient.IS_NS&&(a=function(a){b.setAttribute("height",d.div.offsetHeight-26+"px")},d.addListener(mxEvent.RESIZE_END,a),d.addListener(mxEvent.MAXIMIZE,a),d.addListener(mxEvent.NORMALIZE,a),d.addListener(mxEvent.SHOW,a));this.help=d}this.help.setVisible(!0)};
- mxEditor.prototype.showOutline=function(){if(null==this.outline){var a=document.createElement("div");a.style.overflow="hidden";a.style.position="relative";a.style.width="100%";a.style.height="100%";a.style.background="white";a.style.cursor="move";8==document.documentMode&&(a.style.filter="progid:DXImageTransform.Microsoft.alpha(opacity=100)");var b=new mxWindow(mxResources.get(this.outlineResource)||this.outlineResource,a,600,480,200,200,!1),c=new mxOutline(this.graph,a);b.setClosable(!0);b.setResizable(!0);
- b.destroyOnClose=!1;b.addListener(mxEvent.RESIZE_END,function(){c.update()});this.outline=b;this.outline.outline=c}this.outline.setVisible(!0);this.outline.outline.update(!0)};mxEditor.prototype.setMode=function(a){"select"==a?(this.graph.panningHandler.useLeftButtonForPanning=!1,this.graph.setConnectable(!1)):"connect"==a?(this.graph.panningHandler.useLeftButtonForPanning=!1,this.graph.setConnectable(!0)):"pan"==a&&(this.graph.panningHandler.useLeftButtonForPanning=!0,this.graph.setConnectable(!1))};
- mxEditor.prototype.createPopupMenu=function(a,b,c){this.popupHandler.createMenu(this,a,b,c)};mxEditor.prototype.createEdge=function(a,b){var c;if(null!=this.defaultEdge)c=this.graph.getModel().cloneCell(this.defaultEdge);else{c=new mxCell("");c.setEdge(!0);var d=new mxGeometry;d.relative=!0;c.setGeometry(d)}d=this.getEdgeStyle();null!=d&&c.setStyle(d);return c};mxEditor.prototype.getEdgeStyle=function(){return this.defaultEdgeStyle};
- mxEditor.prototype.consumeCycleAttribute=function(a){return null!=this.cycleAttributeValues&&0<this.cycleAttributeValues.length&&this.graph.isSwimlane(a)?this.cycleAttributeValues[this.cycleAttributeIndex++%this.cycleAttributeValues.length]:null};mxEditor.prototype.cycleAttribute=function(a){if(null!=this.cycleAttributeName){var b=this.consumeCycleAttribute(a);null!=b&&a.setStyle(a.getStyle()+";"+this.cycleAttributeName+"="+b)}};
- mxEditor.prototype.addVertex=function(a,b,c,d){for(var e=this.graph.getModel();null!=a&&!this.graph.isValidDropTarget(a);)a=e.getParent(a);a=null!=a?a:this.graph.getSwimlaneAt(c,d);var f=this.graph.getView().scale,g=e.getGeometry(b),k=e.getGeometry(a);if(this.graph.isSwimlane(b)&&!this.graph.swimlaneNesting)a=null;else{if(null==a&&this.swimlaneRequired)return null;if(null!=a&&null!=k){var l=this.graph.getView().getState(a);if(null!=l){if(c-=l.origin.x*f,d-=l.origin.y*f,this.graph.isConstrainedMoving){var k=
- g.width,m=g.height,n=l.x+l.width;c+k>n&&(c-=c+k-n);n=l.y+l.height;d+m>n&&(d-=d+m-n)}}else null!=k&&(c-=k.x*f,d-=k.y*f)}}g=g.clone();g.x=this.graph.snap(c/f-this.graph.getView().translate.x-this.graph.gridSize/2);g.y=this.graph.snap(d/f-this.graph.getView().translate.y-this.graph.gridSize/2);b.setGeometry(g);null==a&&(a=this.graph.getDefaultParent());this.cycleAttribute(b);this.fireEvent(new mxEventObject(mxEvent.BEFORE_ADD_VERTEX,"vertex",b,"parent",a));e.beginUpdate();try{b=this.graph.addCell(b,
- a),null!=b&&(this.graph.constrainChild(b),this.fireEvent(new mxEventObject(mxEvent.ADD_VERTEX,"vertex",b)))}finally{e.endUpdate()}null!=b&&(this.graph.setSelectionCell(b),this.graph.scrollCellToVisible(b),this.fireEvent(new mxEventObject(mxEvent.AFTER_ADD_VERTEX,"vertex",b)));return b};
- mxEditor.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,null!=this.tasks&&this.tasks.destroy(),null!=this.outline&&this.outline.destroy(),null!=this.properties&&this.properties.destroy(),null!=this.keyHandler&&this.keyHandler.destroy(),null!=this.rubberband&&this.rubberband.destroy(),null!=this.toolbar&&this.toolbar.destroy(),null!=this.graph&&this.graph.destroy(),this.templates=this.status=null)};
- var mxCodecRegistry={codecs:[],aliases:[],register:function(a){if(null!=a){var b=a.getName();mxCodecRegistry.codecs[b]=a;var c=mxUtils.getFunctionName(a.template.constructor);c!=b&&mxCodecRegistry.addAlias(c,b)}return a},addAlias:function(a,b){mxCodecRegistry.aliases[a]=b},getCodec:function(a){var b=null;if(null!=a){var b=mxUtils.getFunctionName(a),c=mxCodecRegistry.aliases[b];null!=c&&(b=c);b=mxCodecRegistry.codecs[b];if(null==b)try{b=new mxObjectCodec(new a),mxCodecRegistry.register(b)}catch(d){}}return b}};
- function mxCodec(a){this.document=a||mxUtils.createXmlDocument();this.objects=[]}mxCodec.prototype.document=null;mxCodec.prototype.objects=null;mxCodec.prototype.elements=null;mxCodec.prototype.encodeDefaults=!1;mxCodec.prototype.putObject=function(a,b){return this.objects[a]=b};mxCodec.prototype.getObject=function(a){var b=null;null!=a&&(b=this.objects[a],null==b&&(b=this.lookup(a),null==b&&(a=this.getElementById(a),null!=a&&(b=this.decode(a)))));return b};mxCodec.prototype.lookup=function(a){return null};
- mxCodec.prototype.getElementById=function(a){if(null==this.elements){if(null==this.document.documentElement)throw Error("mxCodec constructor needs document parameter");this.elements={};this.addElement(this.document.documentElement)}return this.elements[a]};mxCodec.prototype.addElement=function(a){if(a.nodeType==mxConstants.NODETYPE_ELEMENT){var b=a.getAttribute("id");null!=b&&null==this.elements[b]&&(this.elements[b]=a)}for(a=a.firstChild;null!=a;)this.addElement(a),a=a.nextSibling};
- mxCodec.prototype.getId=function(a){var b=null;null!=a&&(b=this.reference(a),null==b&&a instanceof mxCell&&(b=a.getId(),null==b&&(b=mxCellPath.create(a),0==b.length&&(b="root"))));return b};mxCodec.prototype.reference=function(a){return null};mxCodec.prototype.encode=function(a){var b=null;if(null!=a&&null!=a.constructor){var c=mxCodecRegistry.getCodec(a.constructor);null!=c?b=c.encode(this,a):mxUtils.isNode(a)?b=mxUtils.importNode(this.document,a,!0):mxLog.warn("mxCodec.encode: No codec for "+mxUtils.getFunctionName(a.constructor))}return b};
- mxCodec.prototype.decode=function(a,b){var c=null;if(null!=a&&a.nodeType==mxConstants.NODETYPE_ELEMENT){c=null;try{c=window[a.nodeName]}catch(d){}c=mxCodecRegistry.getCodec(c);null!=c?c=c.decode(this,a,b):(c=a.cloneNode(!0),c.removeAttribute("as"))}return c};mxCodec.prototype.encodeCell=function(a,b,c){b.appendChild(this.encode(a));if(null==c||c){c=a.getChildCount();for(var d=0;d<c;d++)this.encodeCell(a.getChildAt(d),b)}};
- mxCodec.prototype.isCellCodec=function(a){return null!=a&&"function"==typeof a.isCellCodec?a.isCellCodec():!1};mxCodec.prototype.decodeCell=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&a.nodeType==mxConstants.NODETYPE_ELEMENT){c=mxCodecRegistry.getCodec(a.nodeName);if(!this.isCellCodec(c))for(var d=a.firstChild;null!=d&&!this.isCellCodec(c);)c=mxCodecRegistry.getCodec(d.nodeName),d=d.nextSibling;this.isCellCodec(c)||(c=mxCodecRegistry.getCodec(mxCell));c=c.decode(this,a);b&&this.insertIntoGraph(c)}return c};
- mxCodec.prototype.insertIntoGraph=function(a){var b=a.parent,c=a.getTerminal(!0),d=a.getTerminal(!1);a.setTerminal(null,!1);a.setTerminal(null,!0);a.parent=null;null!=b&&b.insert(a);null!=c&&c.insertEdge(a,!0);null!=d&&d.insertEdge(a,!1)};mxCodec.prototype.setAttribute=function(a,b,c){null!=b&&null!=c&&a.setAttribute(b,c)};
- function mxObjectCodec(a,b,c,d){this.template=a;this.exclude=null!=b?b:[];this.idrefs=null!=c?c:[];this.mapping=null!=d?d:[];this.reverse={};for(var e in this.mapping)this.reverse[this.mapping[e]]=e}mxObjectCodec.allowEval=!1;mxObjectCodec.prototype.template=null;mxObjectCodec.prototype.exclude=null;mxObjectCodec.prototype.idrefs=null;mxObjectCodec.prototype.mapping=null;mxObjectCodec.prototype.reverse=null;mxObjectCodec.prototype.getName=function(){return mxUtils.getFunctionName(this.template.constructor)};
- mxObjectCodec.prototype.cloneTemplate=function(){return new this.template.constructor};mxObjectCodec.prototype.getFieldName=function(a){if(null!=a){var b=this.reverse[a];null!=b&&(a=b)}return a};mxObjectCodec.prototype.getAttributeName=function(a){if(null!=a){var b=this.mapping[a];null!=b&&(a=b)}return a};mxObjectCodec.prototype.isExcluded=function(a,b,c,d){return b==mxObjectIdentity.FIELD_NAME||0<=mxUtils.indexOf(this.exclude,b)};
- mxObjectCodec.prototype.isReference=function(a,b,c,d){return 0<=mxUtils.indexOf(this.idrefs,b)};mxObjectCodec.prototype.encode=function(a,b){var c=a.document.createElement(this.getName());b=this.beforeEncode(a,b,c);this.encodeObject(a,b,c);return this.afterEncode(a,b,c)};mxObjectCodec.prototype.encodeObject=function(a,b,c){a.setAttribute(c,"id",a.getId(b));for(var d in b){var e=d,f=b[e];null==f||this.isExcluded(b,e,f,!0)||(mxUtils.isInteger(e)&&(e=null),this.encodeValue(a,b,e,f,c))}};
- mxObjectCodec.prototype.encodeValue=function(a,b,c,d,e){if(null!=d){if(this.isReference(b,c,d,!0)){var f=a.getId(d);if(null==f){mxLog.warn("mxObjectCodec.encode: No ID for "+this.getName()+"."+c+"="+d);return}d=f}f=this.template[c];if(null==c||a.encodeDefaults||f!=d)c=this.getAttributeName(c),this.writeAttribute(a,b,c,d,e)}};mxObjectCodec.prototype.writeAttribute=function(a,b,c,d,e){"object"!=typeof d?this.writePrimitiveAttribute(a,b,c,d,e):this.writeComplexAttribute(a,b,c,d,e)};
- mxObjectCodec.prototype.writePrimitiveAttribute=function(a,b,c,d,e){d=this.convertAttributeToXml(a,b,c,d,e);null==c?(b=a.document.createElement("add"),"function"==typeof d?b.appendChild(a.document.createTextNode(d)):a.setAttribute(b,"value",d),e.appendChild(b)):"function"!=typeof d&&a.setAttribute(e,c,d)};
- mxObjectCodec.prototype.writeComplexAttribute=function(a,b,c,d,e){a=a.encode(d);null!=a?(null!=c&&a.setAttribute("as",c),e.appendChild(a)):mxLog.warn("mxObjectCodec.encode: No node for "+this.getName()+"."+c+": "+d)};mxObjectCodec.prototype.convertAttributeToXml=function(a,b,c,d){this.isBooleanAttribute(a,b,c,d)&&(d=1==d?"1":"0");return d};mxObjectCodec.prototype.isBooleanAttribute=function(a,b,c,d){return"undefined"==typeof d.length&&(1==d||0==d)};
- mxObjectCodec.prototype.convertAttributeFromXml=function(a,b,c){var d=b.value;this.isNumericAttribute(a,b,c)&&(d=parseFloat(d));return d};mxObjectCodec.prototype.isNumericAttribute=function(a,b,c){return mxUtils.isNumeric(b.value)};mxObjectCodec.prototype.beforeEncode=function(a,b,c){return b};mxObjectCodec.prototype.afterEncode=function(a,b,c){return c};
- mxObjectCodec.prototype.decode=function(a,b,c){var d=b.getAttribute("id"),e=a.objects[d];null==e&&(e=c||this.cloneTemplate(),null!=d&&a.putObject(d,e));b=this.beforeDecode(a,b,e);this.decodeNode(a,b,e);return this.afterDecode(a,b,e)};mxObjectCodec.prototype.decodeNode=function(a,b,c){null!=b&&(this.decodeAttributes(a,b,c),this.decodeChildren(a,b,c))};mxObjectCodec.prototype.decodeAttributes=function(a,b,c){b=b.attributes;if(null!=b)for(var d=0;d<b.length;d++)this.decodeAttribute(a,b[d],c)};
- mxObjectCodec.prototype.isIgnoredAttribute=function(a,b,c){return"as"==b.nodeName||"id"==b.nodeName};mxObjectCodec.prototype.decodeAttribute=function(a,b,c){if(!this.isIgnoredAttribute(a,b,c)){var d=b.nodeName;b=this.convertAttributeFromXml(a,b,c);var e=this.getFieldName(d);if(this.isReference(c,e,b,!1)){a=a.getObject(b);if(null==a){mxLog.warn("mxObjectCodec.decode: No object for "+this.getName()+"."+d+"="+b);return}b=a}this.isExcluded(c,d,b,!1)||(c[d]=b)}};
- mxObjectCodec.prototype.decodeChildren=function(a,b,c){for(b=b.firstChild;null!=b;){var d=b.nextSibling;b.nodeType!=mxConstants.NODETYPE_ELEMENT||this.processInclude(a,b,c)||this.decodeChild(a,b,c);b=d}};
- mxObjectCodec.prototype.decodeChild=function(a,b,c){var d=this.getFieldName(b.getAttribute("as"));if(null==d||!this.isExcluded(c,d,b,!1)){var e=this.getFieldTemplate(c,d,b);"add"==b.nodeName?(a=b.getAttribute("value"),null==a&&mxObjectCodec.allowEval&&(a=mxUtils.eval(mxUtils.getTextContent(b)))):a=a.decode(b,e);this.addObjectValue(c,d,a,e)}};mxObjectCodec.prototype.getFieldTemplate=function(a,b,c){a=a[b];a instanceof Array&&0<a.length&&(a=null);return a};
- mxObjectCodec.prototype.addObjectValue=function(a,b,c,d){null!=c&&c!=d&&(null!=b&&0<b.length?a[b]=c:a.push(c))};mxObjectCodec.prototype.processInclude=function(a,b,c){if("include"==b.nodeName){b=b.getAttribute("name");if(null!=b)try{var d=mxUtils.load(b).getDocumentElement();null!=d&&a.decode(d,c)}catch(e){}return!0}return!1};mxObjectCodec.prototype.beforeDecode=function(a,b,c){return b};mxObjectCodec.prototype.afterDecode=function(a,b,c){return c};
- mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxCell,["children","edges","overlays","mxTransient"],["parent","source","target"]);a.isCellCodec=function(){return!0};a.isNumericAttribute=function(a,c,d){return"value"!==c.nodeName&&mxObjectCodec.prototype.isNumericAttribute.apply(this,arguments)};a.isExcluded=function(a,c,d,e){return mxObjectCodec.prototype.isExcluded.apply(this,arguments)||e&&"value"==c&&d.nodeType==mxConstants.NODETYPE_ELEMENT};a.afterEncode=function(a,c,d){if(null!=
- c.value&&c.value.nodeType==mxConstants.NODETYPE_ELEMENT){var b=d;d=mxUtils.importNode(a.document,c.value,!0);d.appendChild(b);a=b.getAttribute("id");d.setAttribute("id",a);b.removeAttribute("id")}return d};a.beforeDecode=function(a,c,d){var b=c.cloneNode(!0),f=this.getName();c.nodeName!=f?(b=c.getElementsByTagName(f)[0],null!=b&&b.parentNode==c?(mxUtils.removeWhitespace(b,!0),mxUtils.removeWhitespace(b,!1),b.parentNode.removeChild(b)):b=null,d.value=c.cloneNode(!0),c=d.value.getAttribute("id"),null!=
- c&&(d.setId(c),d.value.removeAttribute("id"))):d.setId(c.getAttribute("id"));if(null!=b)for(c=0;c<this.idrefs.length;c++){var f=this.idrefs[c],g=b.getAttribute(f);if(null!=g){b.removeAttribute(f);var k=a.objects[g]||a.lookup(g);null==k&&(g=a.getElementById(g),null!=g&&(k=(mxCodecRegistry.codecs[g.nodeName]||this).decode(a,g)));d[f]=k}}return b};return a}());
- mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxGraphModel);a.encodeObject=function(a,c,d){var b=a.document.createElement("root");a.encodeCell(c.getRoot(),b);d.appendChild(b)};a.decodeChild=function(a,c,d){"root"==c.nodeName?this.decodeRoot(a,c,d):mxObjectCodec.prototype.decodeChild.apply(this,arguments)};a.decodeRoot=function(a,c,d){var b=null;for(c=c.firstChild;null!=c;){var f=a.decodeCell(c);null!=f&&null==f.getParent()&&(b=f);c=c.nextSibling}null!=b&&d.setRoot(b)};return a}());
- mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxRootChange,["model","previous","root"]);a.afterEncode=function(a,c,d){a.encodeCell(c.root,d);return d};a.beforeDecode=function(a,c,d){if(null!=c.firstChild&&c.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT){c=c.cloneNode(!0);var b=c.firstChild;d.root=a.decodeCell(b,!1);d=b.nextSibling;b.parentNode.removeChild(b);for(b=d;null!=b;)d=b.nextSibling,a.decodeCell(b),b.parentNode.removeChild(b),b=d}return c};a.afterDecode=function(a,c,
- d){d.previous=d.root;return d};return a}());
- mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxChildChange,["model","child","previousIndex"],["parent","previous"]);a.isReference=function(a,c,d,e){return"child"!=c||null==a.previous&&e?0<=mxUtils.indexOf(this.idrefs,c):!0};a.afterEncode=function(a,c,d){this.isReference(c,"child",c.child,!0)?d.setAttribute("child",a.getId(c.child)):a.encodeCell(c.child,d);return d};a.beforeDecode=function(a,c,d){if(null!=c.firstChild&&c.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT){c=c.cloneNode(!0);
- var b=c.firstChild;d.child=a.decodeCell(b,!1);d=b.nextSibling;b.parentNode.removeChild(b);for(b=d;null!=b;){d=b.nextSibling;if(b.nodeType==mxConstants.NODETYPE_ELEMENT){var f=b.getAttribute("id");null==a.lookup(f)&&a.decodeCell(b)}b.parentNode.removeChild(b);b=d}}else b=c.getAttribute("child"),d.child=a.getObject(b);return c};a.afterDecode=function(a,c,d){d.child.parent=d.previous;d.previous=d.parent;d.previousIndex=d.index;return d};return a}());
- mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxTerminalChange,["model","previous"],["cell","terminal"]);a.afterDecode=function(a,c,d){d.previous=d.terminal;return d};return a}());var mxGenericChangeCodec=function(a,b){var c=new mxObjectCodec(a,["model","previous"],["cell"]);c.afterDecode=function(a,c,f){mxUtils.isNode(f.cell)&&(f.cell=a.decodeCell(f.cell,!1));f.previous=f[b];return f};return c};mxCodecRegistry.register(mxGenericChangeCodec(new mxValueChange,"value"));
- mxCodecRegistry.register(mxGenericChangeCodec(new mxStyleChange,"style"));mxCodecRegistry.register(mxGenericChangeCodec(new mxGeometryChange,"geometry"));mxCodecRegistry.register(mxGenericChangeCodec(new mxCollapseChange,"collapsed"));mxCodecRegistry.register(mxGenericChangeCodec(new mxVisibleChange,"visible"));mxCodecRegistry.register(mxGenericChangeCodec(new mxCellAttributeChange,"value"));mxCodecRegistry.register(function(){return new mxObjectCodec(new mxGraph,"graphListeners eventListeners view container cellRenderer editor selection".split(" "))}());
- mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxGraphView);a.encode=function(a,c){return this.encodeCell(a,c,c.graph.getModel().getRoot())};a.encodeCell=function(a,c,d){var b=c.graph.getModel(),f=c.getState(d),g=b.getParent(d);if(null==g||null!=f){var k=b.getChildCount(d),l=c.graph.getCellGeometry(d),m=null;g==b.getRoot()?m="layer":null==g?m="graph":b.isEdge(d)?m="edge":0<k&&null!=l?m="group":b.isVertex(d)&&(m="vertex");if(null!=m){var n=a.document.createElement(m);null!=c.graph.getLabel(d)&&
- (n.setAttribute("label",c.graph.getLabel(d)),c.graph.isHtmlLabel(d)&&n.setAttribute("html",!0));if(null==g){var p=c.getGraphBounds();null!=p&&(n.setAttribute("x",Math.round(p.x)),n.setAttribute("y",Math.round(p.y)),n.setAttribute("width",Math.round(p.width)),n.setAttribute("height",Math.round(p.height)));n.setAttribute("scale",c.scale)}else if(null!=f&&null!=l){for(p in f.style)g=f.style[p],"function"==typeof g&&"object"==typeof g&&(g=mxStyleRegistry.getName(g)),null!=g&&"function"!=typeof g&&"object"!=
- typeof g&&n.setAttribute(p,g);g=f.absolutePoints;if(null!=g&&0<g.length){l=Math.round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.length;p++)l+=" "+Math.round(g[p].x)+","+Math.round(g[p].y);n.setAttribute("points",l)}else n.setAttribute("x",Math.round(f.x)),n.setAttribute("y",Math.round(f.y)),n.setAttribute("width",Math.round(f.width)),n.setAttribute("height",Math.round(f.height));p=f.absoluteOffset;null!=p&&(0!=p.x&&n.setAttribute("dx",Math.round(p.x)),0!=p.y&&n.setAttribute("dy",Math.round(p.y)))}for(p=
- 0;p<k;p++)f=this.encodeCell(a,c,b.getChildAt(d,p)),null!=f&&n.appendChild(f)}}return n};return a}());
- var mxStylesheetCodec=mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxStylesheet);a.encode=function(a,c){var b=a.document.createElement(this.getName()),e;for(e in c.styles){var f=c.styles[e],g=a.document.createElement("add");if(null!=e){g.setAttribute("as",e);for(var k in f){var l=this.getStringValue(k,f[k]);if(null!=l){var m=a.document.createElement("add");m.setAttribute("value",l);m.setAttribute("as",k);g.appendChild(m)}}0<g.childNodes.length&&b.appendChild(g)}}return b};a.getStringValue=
- function(a,c){var b=typeof c;"function"==b?c=mxStyleRegistry.getName(style[j]):"object"==b&&(c=null);return c};a.decode=function(a,c,d){d=d||new this.template.constructor;var b=c.getAttribute("id");null!=b&&(a.objects[b]=d);for(c=c.firstChild;null!=c;){if(!this.processInclude(a,c,d)&&"add"==c.nodeName&&(b=c.getAttribute("as"),null!=b)){var f=c.getAttribute("extend"),g=null!=f?mxUtils.clone(d.styles[f]):null;null==g&&(null!=f&&mxLog.warn("mxStylesheetCodec.decode: stylesheet "+f+" not found to extend"),
- g={});for(f=c.firstChild;null!=f;){if(f.nodeType==mxConstants.NODETYPE_ELEMENT){var k=f.getAttribute("as");if("add"==f.nodeName){var l=mxUtils.getTextContent(f);null!=l&&0<l.length&&mxStylesheetCodec.allowEval?l=mxUtils.eval(l):(l=f.getAttribute("value"),mxUtils.isNumeric(l)&&(l=parseFloat(l)));null!=l&&(g[k]=l)}else"remove"==f.nodeName&&delete g[k]}f=f.nextSibling}d.putCellStyle(b,g)}c=c.nextSibling}return d};return a}());mxStylesheetCodec.allowEval=!0;
- mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxDefaultKeyHandler);a.encode=function(a,c){return null};a.decode=function(a,c,d){if(null!=d)for(c=c.firstChild;null!=c;){if(!this.processInclude(a,c,d)&&"add"==c.nodeName){var b=c.getAttribute("as"),f=c.getAttribute("action"),g=c.getAttribute("control");d.bindAction(b,f,g)}c=c.nextSibling}return d};return a}());
- var mxDefaultToolbarCodec=mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxDefaultToolbar);a.encode=function(a,c){return null};a.decode=function(a,c,d){if(null!=d){var b=d.editor;for(c=c.firstChild;null!=c;){if(c.nodeType==mxConstants.NODETYPE_ELEMENT&&!this.processInclude(a,c,d))if("separator"==c.nodeName)d.addSeparator();else if("br"==c.nodeName)d.toolbar.addBreak();else if("hr"==c.nodeName)d.toolbar.addLine();else if("add"==c.nodeName){var f=c.getAttribute("as"),f=mxResources.get(f)||
- f,g=c.getAttribute("icon"),k=c.getAttribute("pressedIcon"),l=c.getAttribute("action"),m=c.getAttribute("mode"),n=c.getAttribute("template"),p="0"!=c.getAttribute("toggle"),q=mxUtils.getTextContent(c),r=null;if(null!=l)r=d.addItem(f,g,l,k);else if(null!=m)var t=mxDefaultToolbarCodec.allowEval?mxUtils.eval(q):null,r=d.addMode(f,g,m,k,t);else if(null!=n||null!=q&&0<q.length)r=b.templates[n],n=c.getAttribute("style"),null!=r&&null!=n&&(r=b.graph.cloneCells([r])[0],r.setStyle(n)),n=null,null!=q&&0<q.length&&
- mxDefaultToolbarCodec.allowEval&&(n=mxUtils.eval(q)),r=d.addPrototype(f,g,r,k,n,p);else if(k=mxUtils.getChildNodes(c),0<k.length)if(null==g)for(n=d.addActionCombo(f),f=0;f<k.length;f++)p=k[f],"separator"==p.nodeName?d.addOption(n,"---"):"add"==p.nodeName&&(g=p.getAttribute("as"),p=p.getAttribute("action"),d.addActionOption(n,g,p));else{var u=null,x=d.addPrototype(f,g,function(){var a=b.templates[u.value];if(null!=a){var a=a.clone(),c=u.options[u.selectedIndex].cellStyle;null!=c&&a.setStyle(c);return a}mxLog.warn("Template "+
- a+" not found");return null},null,null,p),u=d.addCombo();mxEvent.addListener(u,"change",function(){d.toolbar.selectMode(x,function(a){a=mxUtils.convertPoint(b.graph.container,mxEvent.getClientX(a),mxEvent.getClientY(a));return b.addVertex(null,t(),a.x,a.y)});d.toolbar.noReset=!1});for(f=0;f<k.length;f++)p=k[f],"separator"==p.nodeName?d.addOption(u,"---"):"add"==p.nodeName&&(g=p.getAttribute("as"),q=p.getAttribute("template"),d.addOption(u,g,q||n).cellStyle=p.getAttribute("style"))}null!=r&&(n=c.getAttribute("id"),
- null!=n&&0<n.length&&r.setAttribute("id",n))}c=c.nextSibling}}return d};return a}());mxDefaultToolbarCodec.allowEval=!0;mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxDefaultPopupMenu);a.encode=function(a,c){return null};a.decode=function(a,c,d){var b=c.getElementsByTagName("include")[0];null!=b?this.processInclude(a,b,d):null!=d&&(d.config=c);return d};return a}());
- mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxEditor,"modified lastSnapshot ignoredChanges undoManager graphContainer toolbarContainer".split(" "));a.afterDecode=function(a,c,d){a=c.getAttribute("defaultEdge");null!=a&&(c.removeAttribute("defaultEdge"),d.defaultEdge=d.templates[a]);a=c.getAttribute("defaultGroup");null!=a&&(c.removeAttribute("defaultGroup"),d.defaultGroup=d.templates[a]);return d};a.decodeChild=function(a,c,d){if("Array"==c.nodeName){if("templates"==c.getAttribute("as")){this.decodeTemplates(a,
- c,d);return}}else if("ui"==c.nodeName){this.decodeUi(a,c,d);return}mxObjectCodec.prototype.decodeChild.apply(this,arguments)};a.decodeUi=function(a,c,d){for(a=c.firstChild;null!=a;){if("add"==a.nodeName){c=a.getAttribute("as");var b=a.getAttribute("element"),f=a.getAttribute("style");if(null!=b)b=document.getElementById(b),null!=b&&null!=f&&(b.style.cssText+=";"+f);else{var g=parseInt(a.getAttribute("x")),k=parseInt(a.getAttribute("y")),l=a.getAttribute("width"),m=a.getAttribute("height"),b=document.createElement("div");
- b.style.cssText=f;(new mxWindow(mxResources.get(c)||c,b,g,k,l,m,!1,!0)).setVisible(!0)}"graph"==c?d.setGraphContainer(b):"toolbar"==c?d.setToolbarContainer(b):"title"==c?d.setTitleContainer(b):"status"==c?d.setStatusContainer(b):"map"==c&&d.setMapContainer(b)}else"resource"==a.nodeName?mxResources.add(a.getAttribute("basename")):"stylesheet"==a.nodeName&&mxClient.link("stylesheet",a.getAttribute("name"));a=a.nextSibling}};a.decodeTemplates=function(a,c,d){null==d.templates&&(d.templates=[]);c=mxUtils.getChildNodes(c);
- for(var b=0;b<c.length;b++){for(var f=c[b].getAttribute("as"),g=c[b].firstChild;null!=g&&1!=g.nodeType;)g=g.nextSibling;null!=g&&(d.templates[f]=a.decodeCell(g))}};return a}());
- Editor=function(a,c,d,b){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.initStencilRegistry();this.graph=b||this.createGraph(c,d);this.undoManager=this.createUndoManager();this.status="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.pageCounter])+".xml"};this.getFilename=function(){return this.filename};this.setStatus=function(a){this.status=a;this.fireEvent(new mxEventObject("statusChanged"))};this.getStatus=function(){return this.status};
- this.graphChangeListener=function(a,b){var c=null!=b?b.getProperty("edit"):null;null!=c&&c.ignoreEdit||this.setModified(!0)};this.graph.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.graphChangeListener.apply(this,arguments)}));this.graph.resetViewOnRootChange=!1;this.init()};Editor.pageCounter=0;
- (function(){try{for(var a=window;null!=a.opener&&"undefined"!==typeof a.opener.Editor&&!isNaN(a.opener.Editor.pageCounter)&&a.opener!=a;)a=a.opener;null!=a&&(a.Editor.pageCounter++,Editor.pageCounter=a.Editor.pageCounter)}catch(c){}})();Editor.useLocalStorage="undefined"!=typeof Storage&&mxClient.IS_IOS;
- Editor.helpImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAXVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC5BxTwAAAAH3RSTlMAlUF8boNQIE0LBgOgkGlHNSwqFIx/dGVUOjApmV9ezNACSAAAAIVJREFUGNNtjNsOgzAMQ5NeoVcKDAZs+//PXLKI8YKlWvaRU7jXuFpb9qsbdK05XILUiE8JHQox1Pv3OgFUzf1AGqWqUg+QBwLF0YAeegBlCNgRWOpB5vUfTCmeoHQ/wNdy0jLH/cM+b+wLTw4n/7ACEmHVVy8h6qy8V7MNcGowWpsNbvUFcGUEdSi1s/oAAAAASUVORK5CYII=":IMAGE_PATH+
- "/help.png";
- Editor.checkmarkImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhFQAVAMQfAGxsbHx8fIqKioaGhvb29nJycvr6+sDAwJqamltbW5OTk+np6YGBgeTk5Ly8vJiYmP39/fLy8qWlpa6ursjIyOLi4vj4+N/f3+3t7fT09LCwsHZ2dubm5r6+vmZmZv///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OEY4NTZERTQ5QUFBMTFFMUE5MTVDOTM5MUZGMTE3M0QiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OEY4NTZERTU5QUFBMTFFMUE5MTVDOTM5MUZGMTE3M0QiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Rjg1NkRFMjlBQUExMUUxQTkxNUM5MzkxRkYxMTczRCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Rjg1NkRFMzlBQUExMUUxQTkxNUM5MzkxRkYxMTczRCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAB8ALAAAAAAVABUAAAVI4CeOZGmeaKqubKtylktSgCOLRyLd3+QJEJnh4VHcMoOfYQXQLBcBD4PA6ngGlIInEHEhPOANRkaIFhq8SuHCE1Hb8Lh8LgsBADs=":IMAGE_PATH+
- "/checkmark.gif";Editor.maximizeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABXRSTlMA758vX1Pw3BoAAABJSURBVAjXY8AJQkODGBhUQ0MhbAUGBiYY24CBgRnGFmZgMISwgwwDGRhEhVVBbAVmEQYGRwMmBjIAQi/CTIRd6G5AuA3dzYQBAHj0EFdHkvV4AAAAAElFTkSuQmCC";Editor.zoomOutImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAsLCxxcXEhISFgYGChjTUxAAAAAXRSTlMAQObYZgAAAEdJREFUCNdjIAMwCQrB2YKCggJQJqMwA7MglK1owMBgqABVApITgLJZXFxgbIQ4Qj3CHIT5ggoIe5kgNkM1KSDYKBKqxPkDAPo5BAZBE54hAAAAAElFTkSuQmCC";
- Editor.zoomInImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAsLCwhISFxcXFgYGBavKaoAAAAAXRSTlMAQObYZgAAAElJREFUCNdjIAMwCQrB2YKCggJQJqMIA4sglK3owMzgqABVwsDMwCgAZTMbG8PYCHGEeoQ5CPMFFRD2MkFshmpSQLBRJFSJ8wcAEqcEM2uhl2MAAAAASUVORK5CYII=";Editor.zoomFitImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAD1BMVEUAAAAAAAAwMDBwcHBgYGC1xl09AAAAAXRSTlMAQObYZgAAAEFJREFUCNdjIAMwCQrB2YKCggJQJqMwA7MglK1owMBgqABVApITwMdGqEeYgzBfUAFhLxPEZqgmBQQbRUKFOH8AAK5OA3lA+FFOAAAAAElFTkSuQmCC";
- Editor.layersImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAaVBMVEUAAAAgICAICAgdHR0PDw8WFhYICAgLCwsXFxcvLy8ODg4uLi4iIiIqKiokJCQYGBgKCgonJycFBQUCAgIqKiocHBwcHBwODg4eHh4cHBwnJycJCQkUFBQqKiojIyMuLi4ZGRkgICAEBATOWYXAAAAAGnRSTlMAD7+fnz8/H7/ff18/77+vr5+fn39/b28fH2xSoKsAAACQSURBVBjTrYxJEsMgDARZZMAY73sgCcn/HxnhKtnk7j6oRq0psfuoyndZ/SuODkHPLzfVT6KeyPePnJ7KrnkRjWMXTn4SMnN8mXe2SSM3ts8L/ZUxxrbAULSYJJULE0Iw9pjpenoICcgcX61mGgTgtCv9Be99pzCoDhNQWQnchD1mup5++CYGcoQexajZbfwAj/0MD8ZOaUgAAAAASUVORK5CYII=";
- Editor.previousImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABmJLR0QA/wD/AP+gvaeTAAAAh0lEQVQ4je3UsQnCUBCA4U8hpa1NsoEjpHQJS0dxADdwEMuMIJkgA1hYChbGQgMi+JC8q4L/AB/vDu7x74cWWEZhJU44RmA1zujR5GIbXF9YNrjD/Q0bDRY4fEBZ4P4LlgTnCbAf84pUM8/9hY08tMUtEoQ1LpEgrNBFglChFXR6Q6GfwwR6AGKJMF74Vtt3AAAAAElFTkSuQmCC";Editor.nextImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABmJLR0QA/wD/AP+gvaeTAAAAi0lEQVQ4jeXUIQ7CUAwA0MeGxWI2yylwnALJUdBcgYvM7QYLmjOQIAkIPmJZghiIvypoUtX0tfnJL38X5ZfaEgUeUcManFBHgS0SLlhHggk3bCPBhCf2keCQR8wjwYTDp6YiZxJmOU1jGw7vGALescuBxsArNlOwd/CM1VSM/ut1qCIw+uOwiMJ+OF4CQzBCXm3hyAAAAABJRU5ErkJggg==";
- Editor.zoomOutLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABJklEQVQ4y4WT2XaDMAxEvWD2nSSUNEnTJN3r//+9Sj7ILAY6L0ijC4ONYVZRpo6cByrz2YKSUGorGTpz71lPVHvT+avoB5wIkU/mxk8veceSuNoLg44IzziXjvpih72wKQnm8yc2UoiP/LAd8jQfe2Xf4Pq+2EyYIvv9wbzHHCgwxDdlBtWZOdqDfTCVgqpygQpsZaojVAVc9UjQxnAJDIBhiQv84tq3gMQCAVTxVoSibXJf8tMuc7e1TB/DCmejBNg/w1Y3c+AM5vv4w7xM59/oXamrHaLVqPQ+OTCnmMZxgz0SdL5zji0/ld6j88qGa5KIiBB6WeJGKfUKwSMKLuXgvl1TW0tm5R9UQL/efSDYsnzxD8CinhBsTTdugJatKpJwf8v+ADb8QmvW7AeAAAAAAElFTkSuQmCC";
- Editor.zoomInLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABKElEQVQ4y4WT6WKCMBCENwkBwn2oFKvWqr3L+79es4EkQIDOH2d3Pxk2ABiJlB8JCXjqw4LikHVGLHTm3nM3UeVN5690GBBN0GwyV/3kkrUQR+WeKnREeKpzaXWd77CmJiXGfPIEI4V4yQ9TIW/ntlcMBe731Vts9w5TWG8F5j3mQI4hvrKpdGeYA7CX9qAcl650gVJartxRuhyHVghF8idQAIbFLvCLu28BsQEC6aKtCK6Pyb3JT7PmbmtNH8Ny56CotD/2qOs5cJbuffxgXmCib+xddVU5RNOhkvvkhTlFehzVWCOh3++MYElOhfdovaImnRYVmqDdsuhNp1QrBBE6uGC2+3ZNjGdg5B94oD+9uyVgWT79BwAxEBTWdOu3bWBVgsn/N/AHUD9IC01Oe40AAAAASUVORK5CYII=";
- Editor.actualSizeLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABIUlEQVQ4y4WT2XqDIBCFBxDc9yTWNEnTJN3r+79eGT4BEbXnaubMr8dBBaM450dCQp4LWFAascGIRd48eB4cNYE7f6XjgGiCFs5c+dml6CFN6j1V6IQIlHPpdV/usKcmJcV88gQTRXjLD9Mhb+fWq8YG9/uCmTCFjeeDeY85UGKIUGUuqzN42kv7oCouq9oHamlzVR1lVfpAIu1QVRiW+sAv7r4FpAYIZZVsRXB9TP5Dfpo1d1trCgzz1iiptH/sUbdz4CzN9+mLeXHn3+hdddd4RDegsrvzwZwSs2GLPRJidAqCLTlVwaMPqpYMWjTWBB2WRW86pVkhSKyDK2bdt2tmagZG4sBD/evdLQHLEvQfAOKRoLCmG1FAB6uKmby+gz+REDn7O5+EwQAAAABJRU5ErkJggg==";
- Editor.printLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAXVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9RKvvlAAAAHnRSTlMAydnl77qbMLT093H7K4Nd4Ktn082+lYt5bkklEgP44nQSAAAApUlEQVQ4y73P2Q6DIBRF0cOgbRHHzhP//5m9mBAQKjG1cT0Yc7ITAMu1LNQgUZiQ2DYoNQ0sCQb6qgHAfRx48opq3J9AZ6xuF7uOew8Ik1OsCZRS2UAC9V+D9a+QZYxNA45YFQftPtSkATOhw7dAc0vPBwKWiIOjP0JZ0yMuQJ27g36DipOUsqRAM0dR8KD1/ILHaHSE/w8DIx09E3g/BTce6rHUB5sAPKvfF+JdAAAAAElFTkSuQmCC";
- Editor.layersLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAmVBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+/v7///+bnZkkAAAAMnRSTlMABPr8ByiD88KsTi/rvJb272mjeUA1CuPe1M/KjVxYHxMP6KZ0S9nYzGRGGRaznpGIbzaGUf0AAAHESURBVDjLbZLZYoIwEEVDgLCjbKIgAlqXqt3m/z+uNwu1rcyDhjl3ktnYL7OY254C0VX3yWFZfzDrOClbbgKxi0YDHjwl4jbnRkXxJS/C1YP3DbBhD1n7Ex4uaAqdVDb3yJ/4J/3nJD2to/ngQz/DfUvzMp4JJ5sSCaF5oXmemgQDfDxzbi+Kq4sU+vNcuAmx94JtyOP2DD4Epz2asWSCz4Z/4fECxyNj9zC9xNLHcdPEO+awDKeSaUu0W4twZQiO2hYVisTR3RCtK/c1X6t4xMEpiGqXqVntEBLolkZZsKY4QtwH6jzq67dEHlJysB1aNOD3XT7n1UkasQN59L4yC2RELMDSeCRtz3yV22Ub3ozIUTknYx8JWqDdQxbUes98cR2kZtUSveF/bAhcedwEWmlxIkpZUy4XOCb6VBjjxHvbwo/1lBAHHi2JCr0NI570QhyHq/DhJoE2lLgyA4RVe6KmZ47O/3b86MCP0HWa73A8/C3SUc5Qc1ajt6fgpXJ+RGpMvDSchepZDOOQRcZVIKcK90x2D7etqtI+56+u6n3sPriO6nfphitR4+O2m3EbM7lh3me1FM1o+LMI887rN+s3/wZdTFlpNVJiOAAAAABJRU5ErkJggg==";
- Editor.closeLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAUVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////8IN+deAAAAGnRSTlMAuvAIg/dDM/QlOeuFhj0S5s4vKgzjxJRQNiLSey0AAADNSURBVDjLfZLbEoMgDEQjRRRs1XqX///QNmOHJSnjPkHOGR7IEmeoGtJZstnwjqbRfIsmgEdtPCqe9Ynz7ZSc07rE2QiSc+qv8TvjRXA2PDUm3dpe82iJhOEUfxJJo3aCv+jKmRmH4lcCjCjeh9GWOdL/GZZkXH3PYYDrHBnfc4D/RVZf5sjoC1was+Y6HQxwaUxFvq/a0Pv343VCTxfBSRiB+ab3M3eiQZXmMNBJ3Y8pGRZtYQ7DgHMXJEdPLTaN/qBjzJOBc3nmNcbsA16bMR0oLqf+AAAAAElFTkSuQmCC";
- Editor.editLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAgMAAAAOFJJnAAAACVBMVEUAAAD///////9zeKVjAAAAAnRSTlMAgJsrThgAAABcSURBVBjThc6xDcAgDATAd8MQTEPW8TRUmYCGnzLRYyOlIV+dZFtvkICTFGqiJEzAG0/Uje9oL+e5Vu4F5yUYJxxqGKhQZ0eBvmgwYQLQaARKD1hbiPyDR0QOeAC31EyNe5X/kAAAAABJRU5ErkJggg==";Editor.previousLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAPFBMVEUAAAD////////////////////////////////////////////////////////////////////////////YSWgTAAAAE3RSTlMA7fci493c0MW8uJ6CZks4MxQHEZL6ewAAAFZJREFUOMvdkskRgDAMA4lDwg2B7b9XOlge/KKvdsa25KFb5XlRvxXC/DNBEv8IFNjBgGdDgXtFgTyhwDXiQAUHCvwa4Uv6mR6UR+1led2mVonvl+tML45qCQNQLIx7AAAAAElFTkSuQmCC";
- Editor.nextLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAPFBMVEUAAAD////////////////////////////////////////////////////////////////////////////YSWgTAAAAE3RSTlMA7fci493c0MW8uJ6CZks4MxQHEZL6ewAAAFRJREFUOMvd0skRgCAQBVEFwQ0V7fxzNQP6wI05v6pZ/kyj1b7FNgik2gQzzLcAwiUAigHOTwDHK4A1CmB5BJANJG1hQ9qafYcqFlZP3IFc9eVGrR+iIgkDQRUXIAAAAABJRU5ErkJggg==";mxUtils.extend(Editor,mxEventSource);Editor.prototype.originalNoForeignObject=mxClient.NO_FO;
- Editor.prototype.transparentImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhMAAwAIAAAP///wAAACH5BAEAAAAALAAAAAAwADAAAAIxhI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8egpAAA7":IMAGE_PATH+"/transparent.gif";Editor.prototype.extendCanvas=!0;Editor.prototype.chromeless=!1;Editor.prototype.cancelFirst=!0;Editor.prototype.enabled=!0;Editor.prototype.filename=null;Editor.prototype.modified=!1;Editor.prototype.autosave=!0;Editor.prototype.initialTopSpacing=0;Editor.prototype.appName=document.title;
- Editor.prototype.editBlankUrl=window.location.protocol+"//"+window.location.host+"/?client=1";Editor.prototype.editBlankFallbackUrl=window.location.protocol+"//"+window.location.host+"/?create=drawdata&splash=0";Editor.prototype.init=function(){};Editor.prototype.setAutosave=function(a){this.autosave=a;this.fireEvent(new mxEventObject("autosaveChanged"))};Editor.prototype.getEditBlankUrl=function(a,c){return(c?this.editBlankFallbackUrl:this.editBlankUrl)+a};
- Editor.prototype.editAsNew=function(a,c){var d=null!=c?"&title="+encodeURIComponent(c):"";if("undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.documentMode)){var b=null,e=mxUtils.bind(this,function(c){"ready"==c.data&&c.source==b&&(b.postMessage(a,"*"),mxEvent.removeListener(window,"message",e))});mxEvent.addListener(window,"message",e);b=window.open(this.getEditBlankUrl(d,!1))}else window.drawdata=a,window.open(this.getEditBlankUrl(d,!0))};
- Editor.prototype.createGraph=function(a,c){var d=new Graph(null,c,null,null,a);d.transparentBackground=!1;this.chromeless||(d.isBlankLink=function(a){return!this.isExternalProtocol(a)});return d};
- Editor.prototype.resetGraph=function(){this.graph.gridEnabled=!this.chromeless||"1"==urlParams.grid;this.graph.graphHandler.guidesEnabled=!0;this.graph.setTooltips(!0);this.graph.setConnectable(!0);this.graph.foldingEnabled=!0;this.graph.scrollbars=this.graph.defaultScrollbars;this.graph.pageVisible=this.graph.defaultPageVisible;this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;this.graph.background=this.graph.defaultGraphBackground;this.graph.pageScale=
- mxGraph.prototype.pageScale;this.graph.pageFormat=mxGraph.prototype.pageFormat;this.updateGraphComponents();this.graph.view.setScale(1)};
- Editor.prototype.readGraphState=function(a){this.graph.gridEnabled="0"!=a.getAttribute("grid")&&(!this.chromeless||"1"==urlParams.grid);this.graph.gridSize=parseFloat(a.getAttribute("gridSize"))||mxGraph.prototype.gridSize;this.graph.graphHandler.guidesEnabled="0"!=a.getAttribute("guides");this.graph.setTooltips("0"!=a.getAttribute("tooltips"));this.graph.setConnectable("0"!=a.getAttribute("connect"));this.graph.connectionArrowsEnabled="0"!=a.getAttribute("arrows");this.graph.foldingEnabled="0"!=
- a.getAttribute("fold");this.chromeless&&this.graph.foldingEnabled&&(this.graph.foldingEnabled="1"==urlParams.nav,this.graph.cellRenderer.forceControlClickHandler=this.graph.foldingEnabled);var c=a.getAttribute("pageScale");this.graph.pageScale=null!=c?c:mxGraph.prototype.pageScale;this.graph.lightbox?this.graph.pageVisible=!1:(c=a.getAttribute("page"),this.graph.pageVisible=null!=c?"0"!=c:this.graph.defaultPageVisible);this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=
- this.graph.pageBreaksVisible;var c=a.getAttribute("pageWidth"),d=a.getAttribute("pageHeight");null!=c&&null!=d&&(this.graph.pageFormat=new mxRectangle(0,0,parseFloat(c),parseFloat(d)));a=a.getAttribute("background");this.graph.background=null!=a&&0<a.length?a:this.graph.defaultGraphBackground};
- Editor.prototype.setGraphXml=function(a){if(null!=a){var c=new mxCodec(a.ownerDocument);if("mxGraphModel"==a.nodeName){this.graph.model.beginUpdate();try{this.graph.model.clear(),this.graph.view.scale=1,this.readGraphState(a),this.updateGraphComponents(),c.decode(a,this.graph.getModel())}finally{this.graph.model.endUpdate()}this.fireEvent(new mxEventObject("resetGraphView"))}else if("root"==a.nodeName){this.resetGraph();var d=c.document.createElement("mxGraphModel");d.appendChild(a);c.decode(d,this.graph.getModel());
- this.updateGraphComponents();this.fireEvent(new mxEventObject("resetGraphView"))}else throw{message:mxResources.get("cannotOpenFile"),node:a,toString:function(){return this.message}};}else this.resetGraph(),this.graph.model.clear(),this.fireEvent(new mxEventObject("resetGraphView"))};
- Editor.prototype.getGraphXml=function(a){a=(null!=a?a:1)?(new mxCodec(mxUtils.createXmlDocument())).encode(this.graph.getModel()):this.graph.encodeCells(mxUtils.sortCells(this.graph.model.getTopmostCells(this.graph.getSelectionCells())));if(0!=this.graph.view.translate.x||0!=this.graph.view.translate.y)a.setAttribute("dx",Math.round(100*this.graph.view.translate.x)/100),a.setAttribute("dy",Math.round(100*this.graph.view.translate.y)/100);a.setAttribute("grid",this.graph.isGridEnabled()?"1":"0");a.setAttribute("gridSize",
- this.graph.gridSize);a.setAttribute("guides",this.graph.graphHandler.guidesEnabled?"1":"0");a.setAttribute("tooltips",this.graph.tooltipHandler.isEnabled()?"1":"0");a.setAttribute("connect",this.graph.connectionHandler.isEnabled()?"1":"0");a.setAttribute("arrows",this.graph.connectionArrowsEnabled?"1":"0");a.setAttribute("fold",this.graph.foldingEnabled?"1":"0");a.setAttribute("page",this.graph.pageVisible?"1":"0");a.setAttribute("pageScale",this.graph.pageScale);a.setAttribute("pageWidth",this.graph.pageFormat.width);
- a.setAttribute("pageHeight",this.graph.pageFormat.height);null!=this.graph.background&&a.setAttribute("background",this.graph.background);return a};Editor.prototype.updateGraphComponents=function(){var a=this.graph;null!=a.container&&(a.view.validateBackground(),a.container.style.overflow=a.scrollbars?"auto":"hidden",this.fireEvent(new mxEventObject("updateGraphComponents")))};Editor.prototype.setModified=function(a){this.modified=a};Editor.prototype.setFilename=function(a){this.filename=a};
- Editor.prototype.createUndoManager=function(){var a=this.graph,c=new mxUndoManager;this.undoListener=function(a,d){c.undoableEditHappened(d.getProperty("edit"))};var d=mxUtils.bind(this,function(a,c){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,d);a.getView().addListener(mxEvent.UNDO,d);d=function(b,c){for(var d=a.getSelectionCellsForChanges(c.getProperty("edit").changes),e=a.getModel(),g=[],k=0;k<d.length;k++)(e.isVertex(d[k])||e.isEdge(d[k]))&&null!=a.view.getState(d[k])&&
- g.push(d[k]);a.setSelectionCells(g)};c.addListener(mxEvent.UNDO,d);c.addListener(mxEvent.REDO,d);return c};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};OpenFile.prototype.setData=function(){this.args=arguments;this.execute()};
- OpenFile.prototype.error=function(a){this.cancel(!0);mxUtils.alert(a)};OpenFile.prototype.execute=function(){null!=this.consumer&&null!=this.args&&(this.cancel(!1),this.consumer.apply(this,this.args))};OpenFile.prototype.cancel=function(a){null!=this.done&&this.done(null!=a?a:!0)};
- function Dialog(a,c,d,b,e,f,h){var g=0;mxClient.IS_VML&&(null==document.documentMode||8>document.documentMode)&&(g=80);d+=g;b+=g;var k=d,l=b,m=Math.max(document.body.clientHeight,document.documentElement.clientHeight),n=Math.max(1,Math.round((document.body.clientWidth-d-64)/2)),p=Math.max(1,Math.round((m-b-a.footerHeight)/3));mxClient.IS_QUIRKS||(c.style.maxHeight="100%");d=Math.min(d,document.body.scrollWidth-64);b>m-64&&(c.style.overflowY="auto");b=Math.min(b,m-64);0<a.dialogs.length&&(this.zIndex+=
- 2*a.dialogs.length);null==this.bg&&(this.bg=a.createDiv("background"),this.bg.style.position="absolute",this.bg.style.background="white",this.bg.style.height=m+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity),mxClient.IS_QUIRKS&&new mxDivResizer(this.bg));var q=mxUtils.getDocumentScrollOrigin(document);this.bg.style.left=q.x+"px";this.bg.style.top=q.y+"px";n+=q.x;p+=q.y;e&&document.body.appendChild(this.bg);var r=a.createDiv("geDialog");
- r.style.width=d+"px";r.style.height=b+"px";r.style.left=n+"px";r.style.top=p+"px";r.style.zIndex=this.zIndex;r.appendChild(c);document.body.appendChild(r);f&&(e=document.createElement("img"),e.setAttribute("src",Dialog.prototype.closeImage),e.setAttribute("title",mxResources.get("close")),e.className="geDialogClose",e.style.top=p+14+"px",e.style.left=n+d+38-g+"px",e.style.zIndex=this.zIndex,mxEvent.addListener(e,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),document.body.appendChild(e),
- this.dialogImg=e,mxEvent.addGestureListeners(this.bg,null,null,mxUtils.bind(this,function(b){a.hideDialog(!0)})));this.resizeListener=mxUtils.bind(this,function(){m=Math.max(document.body.clientHeight,document.documentElement.clientHeight);this.bg.style.height=m+"px";n=Math.max(1,Math.round((document.body.clientWidth-d-64)/2));p=Math.max(1,Math.round((m-b-a.footerHeight)/3));r.style.left=n+"px";r.style.top=p+"px";d=Math.min(k,document.body.scrollWidth-64);b=Math.min(l,m-64);r.style.width=d+"px";r.style.height=
- b+"px";c.style.overflowY=l>m-64?"auto":"";null!=this.dialogImg&&(this.dialogImg.style.top=p+14+"px",this.dialogImg.style.left=n+d+38-g+"px")});mxEvent.addListener(window,"resize",this.resizeListener);this.onDialogClose=h;this.container=r;a.editor.fireEvent(new mxEventObject("showDialog"))}Dialog.prototype.zIndex=mxPopupMenu.prototype.zIndex-1;
- Dialog.prototype.noColorImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkEzRDlBMUUwODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkEzRDlBMUUxODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTNEOUExREU4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTNEOUExREY4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xh3fmAAAABlBMVEX////MzMw46qqDAAAAGElEQVR42mJggAJGKGAYIIGBth8KAAIMAEUQAIElnLuQAAAAAElFTkSuQmCC":IMAGE_PATH+
- "/nocolor.png";Dialog.prototype.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEV7mr3///+wksspAAAAAnRSTlP/AOW3MEoAAAAdSURBVAgdY9jXwCDDwNDRwHCwgeExmASygSL7GgB12QiqNHZZIwAAAABJRU5ErkJggg==":IMAGE_PATH+"/close.png";
- Dialog.prototype.clearImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQAKAIABAMDAwP///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUIzOEM1NzI4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUIzOEM1NzM4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QjM4QzU3MDg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QjM4QzU3MTg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAAEALAAAAAANAAoAAAIXTGCJebD9jEOTqRlttXdrB32PJ2ncyRQAOw==":IMAGE_PATH+
- "/clear.gif";
- Dialog.prototype.lockedImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzdDMDZCODExNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzdDMDZCODIxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0MwNkI3RjE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozN0MwNkI4MDE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvqMCFYAAAAVUExURZmZmb+/v7KysqysrMzMzLGxsf///4g8N1cAAAAHdFJOU////////wAaSwNGAAAAPElEQVR42lTMQQ4AIQgEwUa0//9kTQirOweYOgDqAMbZUr10AGlAwx4/BJ2QJ4U0L5brYjovvpv32xZgAHZaATFtMbu4AAAAAElFTkSuQmCC":IMAGE_PATH+
- "/locked.png";
- Dialog.prototype.unlockedImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzdDMDZCN0QxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzdDMDZCN0UxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0MwNkI3QjE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozN0MwNkI3QzE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkKMpVwAAAAYUExURZmZmbKysr+/v6ysrOXl5czMzLGxsf///zHN5lwAAAAIdFJOU/////////8A3oO9WQAAADxJREFUeNpUzFESACAEBNBVsfe/cZJU+8Mzs8CIABCidtfGOndnYsT40HDSiCcbPdoJo10o9aI677cpwACRoAF3dFNlswAAAABJRU5ErkJggg==":IMAGE_PATH+
- "/unlocked.png";Dialog.prototype.bgOpacity=80;Dialog.prototype.close=function(a){null!=this.onDialogClose&&(this.onDialogClose(a),this.onDialogClose=null);null!=this.dialogImg&&(this.dialogImg.parentNode.removeChild(this.dialogImg),this.dialogImg=null);null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);mxEvent.removeListener(window,"resize",this.resizeListener);this.container.parentNode.removeChild(this.container)};var PrintDialog=function(a,c){this.create(a,c)};
- PrintDialog.prototype.create=function(a){function c(a){var b=g.checked||l.checked,c=parseInt(n.value)/100;isNaN(c)&&(c=1,n.value="100%");var c=.75*c,f=d.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,e=1/d.pageScale;if(b){var h=g.checked?1:parseInt(m.value);isNaN(h)||(e=mxUtils.getScaleForPageCount(h,d,f))}d.getGraphBounds();var k=h=0,f=mxRectangle.fromRectangle(f);f.width=Math.ceil(f.width*c);f.height=Math.ceil(f.height*c);e*=c;!b&&d.pageVisible?(c=d.getPageLayout(),h-=c.x*f.width,k-=c.y*f.height):
- b=!0;b=PrintDialog.createPrintPreview(d,e,f,0,h,k,b);b.open();a&&PrintDialog.printPreview(b)}var d=a.editor.graph,b,e,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var h=document.createElement("tbody");b=document.createElement("tr");var g=document.createElement("input");g.setAttribute("type","checkbox");e=document.createElement("td");e.setAttribute("colspan","2");e.style.fontSize="10pt";e.appendChild(g);var k=document.createElement("span");mxUtils.write(k," "+mxResources.get("fitPage"));
- e.appendChild(k);mxEvent.addListener(k,"click",function(a){g.checked=!g.checked;l.checked=!g.checked;mxEvent.consume(a)});mxEvent.addListener(g,"change",function(){l.checked=!g.checked});b.appendChild(e);h.appendChild(b);b=b.cloneNode(!1);var l=document.createElement("input");l.setAttribute("type","checkbox");e=document.createElement("td");e.style.fontSize="10pt";e.appendChild(l);k=document.createElement("span");mxUtils.write(k," "+mxResources.get("posterPrint")+":");e.appendChild(k);mxEvent.addListener(k,
- "click",function(a){l.checked=!l.checked;g.checked=!l.checked;mxEvent.consume(a)});b.appendChild(e);var m=document.createElement("input");m.setAttribute("value","1");m.setAttribute("type","number");m.setAttribute("min","1");m.setAttribute("size","4");m.setAttribute("disabled","disabled");m.style.width="50px";e=document.createElement("td");e.style.fontSize="10pt";e.appendChild(m);mxUtils.write(e," "+mxResources.get("pages")+" (max)");b.appendChild(e);h.appendChild(b);mxEvent.addListener(l,"change",
- function(){l.checked?m.removeAttribute("disabled"):m.setAttribute("disabled","disabled");g.checked=!l.checked});b=b.cloneNode(!1);e=document.createElement("td");mxUtils.write(e,mxResources.get("pageScale")+":");b.appendChild(e);e=document.createElement("td");var n=document.createElement("input");n.setAttribute("value","100 %");n.setAttribute("size","5");n.style.width="50px";e.appendChild(n);b.appendChild(e);h.appendChild(b);b=document.createElement("tr");e=document.createElement("td");e.colSpan=2;
- e.style.paddingTop="20px";e.setAttribute("align","right");k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&e.appendChild(k);if(PrintDialog.previewEnabled){var p=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();c(!1)});p.className="geBtn";e.appendChild(p)}p=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();c(!0)});p.className="geBtn gePrimaryBtn";e.appendChild(p);a.editor.cancelFirst||
- e.appendChild(k);b.appendChild(e);h.appendChild(b);f.appendChild(h);this.container=f};PrintDialog.printPreview=function(a){if(null!=a.wnd){var c=function(){a.wnd.focus();a.wnd.print();a.wnd.close()};mxClient.IS_GC?window.setTimeout(c,500):c()}};
- PrintDialog.createPrintPreview=function(a,c,d,b,e,f,h){c=new mxPrintPreview(a,c,d,b,e,f);c.title=mxResources.get("preview");c.printBackgroundImage=!0;c.autoOrigin=h;a=a.background;if(null==a||""==a||a==mxConstants.NONE)a="#ffffff";c.backgroundColor=a;var g=c.writeHead;c.writeHead=function(a){g.apply(this,arguments);a.writeln('<style type="text/css">');a.writeln("@media screen {");a.writeln(" body > div { padding:30px;box-sizing:content-box; }");a.writeln("}");a.writeln("</style>")};return c};
- PrintDialog.previewEnabled=!0;
- var PageSetupDialog=function(a){function c(){null==m||m==mxConstants.NONE?(l.style.backgroundColor="",l.style.backgroundImage="url('"+Dialog.prototype.noColorImage+"')"):(l.style.backgroundColor=m,l.style.backgroundImage="")}function d(){null==q?(p.removeAttribute("title"),p.style.fontSize="",p.innerHTML=mxResources.get("change")+"..."):(p.setAttribute("title",q.src),p.style.fontSize="11px",p.innerHTML=q.src.substring(0,42)+"...")}var b=a.editor.graph,e,f,h=document.createElement("table");h.style.width=
- "100%";h.style.height="100%";var g=document.createElement("tbody");e=document.createElement("tr");f=document.createElement("td");f.style.verticalAlign="top";f.style.fontSize="10pt";mxUtils.write(f,mxResources.get("paperSize")+":");e.appendChild(f);f=document.createElement("td");f.style.verticalAlign="top";f.style.fontSize="10pt";var k=PageSetupDialog.addPageFormatPanel(f,"pagesetupdialog",b.pageFormat);e.appendChild(f);g.appendChild(e);e=document.createElement("tr");f=document.createElement("td");
- mxUtils.write(f,mxResources.get("background")+":");e.appendChild(f);f=document.createElement("td");f.style.whiteSpace="nowrap";document.createElement("input").setAttribute("type","text");var l=document.createElement("button");l.style.width="18px";l.style.height="18px";l.style.marginRight="20px";l.style.backgroundPosition="center center";l.style.backgroundRepeat="no-repeat";var m=b.background;c();mxEvent.addListener(l,"click",function(b){a.pickColor(m||"none",function(a){m=a;c()});mxEvent.consume(b)});
- f.appendChild(l);mxUtils.write(f,mxResources.get("gridSize")+":");var n=document.createElement("input");n.setAttribute("type","number");n.setAttribute("min","0");n.style.width="40px";n.style.marginLeft="6px";n.value=b.getGridSize();f.appendChild(n);mxEvent.addListener(n,"change",function(){var a=parseInt(n.value);n.value=Math.max(1,isNaN(a)?b.getGridSize():a)});e.appendChild(f);g.appendChild(e);e=document.createElement("tr");f=document.createElement("td");mxUtils.write(f,mxResources.get("image")+
- ":");e.appendChild(f);f=document.createElement("td");var p=document.createElement("a");p.style.textDecoration="underline";p.style.cursor="pointer";p.style.color="#a0a0a0";var q=b.backgroundImage;mxEvent.addListener(p,"click",function(b){a.showBackgroundImageDialog(function(a){q=a;d()});mxEvent.consume(b)});d();f.appendChild(p);e.appendChild(f);g.appendChild(e);e=document.createElement("tr");f=document.createElement("td");f.colSpan=2;f.style.paddingTop="16px";f.setAttribute("align","right");var r=
- mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});r.className="geBtn";a.editor.cancelFirst&&f.appendChild(r);var t=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();b.gridSize!==n.value&&b.setGridSize(parseInt(n.value));var c=new ChangePageSetup(a,m,q,k.get());c.ignoreColor=b.background==m;c.ignoreImage=(null!=b.backgroundImage?b.backgroundImage.src:null)===(null!=q?q.src:null);b.pageFormat.width==c.previousFormat.width&&b.pageFormat.height==c.previousFormat.height&&
- c.ignoreColor&&c.ignoreImage||b.model.execute(c)});t.className="geBtn gePrimaryBtn";f.appendChild(t);a.editor.cancelFirst||f.appendChild(r);e.appendChild(f);g.appendChild(e);h.appendChild(g);this.container=h};
- PageSetupDialog.addPageFormatPanel=function(a,c,d,b){function e(a,b,c){if(c||n!=document.activeElement&&p!=document.activeElement){a=!1;for(b=0;b<r.length;b++)c=r[b],x?"custom"==c.key&&(g.value=c.key,x=!1):null!=c.format&&("a4"==c.key?826==d.width?(d=mxRectangle.fromRectangle(d),d.width=827):826==d.height&&(d=mxRectangle.fromRectangle(d),d.height=827):"a5"==c.key&&(584==d.width?(d=mxRectangle.fromRectangle(d),d.width=583):584==d.height&&(d=mxRectangle.fromRectangle(d),d.height=583)),d.width==c.format.width&&
- d.height==c.format.height?(g.value=c.key,f.setAttribute("checked","checked"),f.defaultChecked=!0,f.checked=!0,h.removeAttribute("checked"),h.defaultChecked=!1,h.checked=!1,a=!0):d.width==c.format.height&&d.height==c.format.width&&(g.value=c.key,f.removeAttribute("checked"),f.defaultChecked=!1,f.checked=!1,h.setAttribute("checked","checked"),h.defaultChecked=!0,a=h.checked=!0));a?(k.style.display="",m.style.display="none"):(n.value=d.width/100,p.value=d.height/100,v.setAttribute("selected","selected"),
- f.setAttribute("checked","checked"),f.defaultChecked=!0,k.style.display="none",m.style.display="")}}c="format-"+c;var f=document.createElement("input");f.setAttribute("name",c);f.setAttribute("type","radio");f.setAttribute("value","portrait");var h=document.createElement("input");h.setAttribute("name",c);h.setAttribute("type","radio");h.setAttribute("value","landscape");var g=document.createElement("select");g.style.marginBottom="8px";g.style.width="202px";var k=document.createElement("div");k.style.marginLeft=
- "4px";k.style.width="210px";k.style.height="24px";f.style.marginRight="6px";k.appendChild(f);c=document.createElement("span");c.style.maxWidth="100px";mxUtils.write(c,mxResources.get("portrait"));k.appendChild(c);h.style.marginLeft="10px";h.style.marginRight="6px";k.appendChild(h);var l=document.createElement("span");l.style.width="100px";mxUtils.write(l,mxResources.get("landscape"));k.appendChild(l);var m=document.createElement("div");m.style.marginLeft="4px";m.style.width="210px";m.style.height=
- "24px";var n=document.createElement("input");n.setAttribute("size","7");n.setAttribute("value",d.width);n.style.textAlign="right";m.appendChild(n);mxUtils.write(m," in x ");var p=document.createElement("input");p.setAttribute("size","7");p.setAttribute("value",d.height);p.style.textAlign="right";m.appendChild(p);mxUtils.write(m," in");k.style.display="none";m.style.display="none";for(var q={},r=PageSetupDialog.getFormats(),t=0;t<r.length;t++){var u=r[t];q[u.key]=u;var v=document.createElement("option");
- v.setAttribute("value",u.key);mxUtils.write(v,u.title);g.appendChild(v)}var x=!1;e();a.appendChild(g);mxUtils.br(a);a.appendChild(k);a.appendChild(m);var z=d,A=function(){var a=q[g.value];null!=a.format?(n.value=a.format.width/100,p.value=a.format.height/100,m.style.display="none",k.style.display=""):(k.style.display="none",m.style.display="");a=new mxRectangle(0,0,Math.floor(100*parseFloat(n.value)),Math.floor(100*parseFloat(p.value)));"custom"!=g.value&&h.checked&&(a=new mxRectangle(0,0,a.height,
- a.width));if(a.width!=z.width||a.height!=z.height)z=a,null!=b&&b(z)};mxEvent.addListener(c,"click",function(a){f.checked=!0;A();mxEvent.consume(a)});mxEvent.addListener(l,"click",function(a){h.checked=!0;A();mxEvent.consume(a)});mxEvent.addListener(n,"blur",A);mxEvent.addListener(n,"click",A);mxEvent.addListener(p,"blur",A);mxEvent.addListener(p,"click",A);mxEvent.addListener(h,"change",A);mxEvent.addListener(f,"change",A);mxEvent.addListener(g,"change",function(){x="custom"==g.value;A()});A();return{set:function(a){d=
- a;e(null,null,!0)},get:function(){return z},widthInput:n,heightInput:p}};
- PageSetupDialog.getFormats=function(){return[{key:"letter",title:'US-Letter (8,5" x 11")',format:mxConstants.PAGE_FORMAT_LETTER_PORTRAIT},{key:"legal",title:'US-Legal (8,5" x 14")',format:new mxRectangle(0,0,850,1400)},{key:"tabloid",title:"US-Tabloid (279 mm x 432 mm)",format:new mxRectangle(0,0,1100,1700)},{key:"a0",title:"A0 (841 mm x 1189 mm)",format:new mxRectangle(0,0,3300,4681)},{key:"a1",title:"A1 (594 mm x 841 mm)",format:new mxRectangle(0,0,2339,3300)},{key:"a2",title:"A2 (420 mm x 594 mm)",
- format:new mxRectangle(0,0,1654,2336)},{key:"a3",title:"A3 (297 mm x 420 mm)",format:new mxRectangle(0,0,1169,1654)},{key:"a4",title:"A4 (210 mm x 297 mm)",format:mxConstants.PAGE_FORMAT_A4_PORTRAIT},{key:"a5",title:"A5 (148 mm x 210 mm)",format:new mxRectangle(0,0,583,827)},{key:"a6",title:"A6 (105 mm x 148 mm)",format:new mxRectangle(0,0,413,583)},{key:"a7",title:"A7 (74 mm x 105 mm)",format:new mxRectangle(0,0,291,413)},{key:"custom",title:mxResources.get("custom"),format:null}]};
- (function(){mxGraphView.prototype.validateBackgroundPage=function(){var a=this.graph;if(null!=a.container&&!a.transparentBackground){if(a.pageVisible){var b=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var c=a.container.firstChild;null!=c&&c.nodeType!=mxConstants.NODETYPE_ELEMENT;)c=c.nextSibling;null!=c&&(this.backgroundPageShape=this.createBackgroundPageShape(b),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!mxClient.IS_QUIRKS,this.backgroundPageShape.dialect=
- mxConstants.DIALECT_STRICTHTML,this.backgroundPageShape.init(a.container),c.style.position="absolute",a.container.insertBefore(this.backgroundPageShape.node,c),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(b){a.dblClick(b)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(b){a.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b))}),
- mxUtils.bind(this,function(b){null!=a.tooltipHandler&&a.tooltipHandler.isHideOnHover()&&a.tooltipHandler.hide();a.isMouseDown&&!mxEvent.isConsumed(b)&&a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){a.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=b,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=
- null);this.validateBackgroundStyles()}};mxGraphView.prototype.validateBackgroundStyles=function(){var a=this.graph,b=null==a.background||a.background==mxConstants.NONE?"#ffffff":a.background,c=this.gridColor!=b.toLowerCase()?this.gridColor:"#ffffff",d="none",f="";if(a.isGridEnabled()){f=10;mxClient.IS_SVG?(d=unescape(encodeURIComponent(this.createSvgGrid(c))),d=window.btoa?btoa(d):Base64.encode(d,!0),d="url(data:image/svg+xml;base64,"+d+")",f=a.gridSize*this.scale*this.gridSteps):d="url("+this.gridImage+
- ")";var e=c=0;null!=a.view.backgroundPageShape&&(e=this.getBackgroundPageBounds(),c=1+e.x,e=1+e.y);f=-Math.round(f-mxUtils.mod(this.translate.x*this.scale-c,f))+"px "+-Math.round(f-mxUtils.mod(this.translate.y*this.scale-e,f))+"px"}c=a.view.canvas;null!=c.ownerSVGElement&&(c=c.ownerSVGElement);null!=a.view.backgroundPageShape?(a.view.backgroundPageShape.node.style.backgroundPosition=f,a.view.backgroundPageShape.node.style.backgroundImage=d,a.view.backgroundPageShape.node.style.backgroundColor=b,a.container.className=
- "geDiagramContainer geDiagramBackdrop",c.style.backgroundImage="none",c.style.backgroundColor=""):(a.container.className="geDiagramContainer",c.style.backgroundPosition=f,c.style.backgroundColor=b,c.style.backgroundImage=d)};mxGraphView.prototype.createSvgGrid=function(a){for(var b=this.graph.gridSize*this.scale;b<this.minGridSize;)b*=2;for(var c=this.gridSteps*b,d=[],f=1;f<this.gridSteps;f++){var e=f*b;d.push("M 0 "+e+" L "+c+" "+e+" M "+e+" 0 L "+e+" "+c)}return'<svg width="'+c+'" height="'+c+'" xmlns="'+
- mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+c+'" height="'+c+'" patternUnits="userSpaceOnUse"><path d="'+d.join(" ")+'" fill="none" stroke="'+a+'" opacity="0.2" stroke-width="1"/><path d="M '+c+" 0 L 0 0 0 "+c+'" fill="none" stroke="'+a+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(b,c){a.apply(this,arguments);if(null!=this.shiftPreview1){var d=this.view.canvas;null!=
- d.ownerSVGElement&&(d=d.ownerSVGElement);var f=this.gridSize*this.view.scale*this.view.gridSteps,f=-Math.round(f-mxUtils.mod(this.view.translate.x*this.view.scale+b,f))+"px "+-Math.round(f-mxUtils.mod(this.view.translate.y*this.view.scale+c,f))+"px";d.style.backgroundPosition=f}};mxGraph.prototype.updatePageBreaks=function(a,b,c){var d=this.view.scale,f=this.view.translate,e=this.pageFormat,h=d*this.pageScale,g=this.view.getBackgroundPageBounds();b=g.width;c=g.height;var k=new mxRectangle(d*f.x,d*
- f.y,e.width*h,e.height*h),l=(a=a&&Math.min(k.width,k.height)>this.minPageBreakDist)?Math.ceil(c/k.height)-1:0,v=a?Math.ceil(b/k.width)-1:0,x=g.x+b,z=g.y+c;null==this.horizontalPageBreaks&&0<l&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<v&&(this.verticalPageBreaks=[]);a=mxUtils.bind(this,function(a){if(null!=a){for(var b=a==this.horizontalPageBreaks?l:v,c=0;c<=b;c++){var d=a==this.horizontalPageBreaks?[new mxPoint(Math.round(g.x),Math.round(g.y+(c+1)*k.height)),new mxPoint(Math.round(x),
- Math.round(g.y+(c+1)*k.height))]:[new mxPoint(Math.round(g.x+(c+1)*k.width),Math.round(g.y)),new mxPoint(Math.round(g.x+(c+1)*k.width),Math.round(z))];null!=a[c]?(a[c].points=d,a[c].redraw()):(d=new mxPolyline(d,this.pageBreakColor),d.dialect=this.dialect,d.isDashed=this.pageBreakDashed,d.pointerEvents=!1,d.init(this.view.backgroundPane),d.redraw(),a[c]=d)}for(c=b;c<a.length;c++)a[c].destroy();a.splice(b,a.length-b)}});a(this.horizontalPageBreaks);a(this.verticalPageBreaks)};var c=mxGraphHandler.prototype.shouldRemoveCellsFromParent;
- mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(a,b,d){for(var f=0;f<b.length;f++)if(this.graph.getModel().isVertex(b[f])){var e=this.graph.getCellGeometry(b[f]);if(null!=e&&e.relative)return!1}return c.apply(this,arguments)};var d=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var a=d.apply(this,arguments);a.intersects=mxUtils.bind(this,function(b,c){return this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(a,arguments)});
- return a};mxGraphView.prototype.createBackgroundPageShape=function(a){return new mxRectangleShape(a,"#ffffff","#cacaca")};mxGraphView.prototype.getBackgroundPageBounds=function(){var a=this.getGraphBounds(),b=0<a.width?a.x/this.scale-this.translate.x:0,c=0<a.height?a.y/this.scale-this.translate.y:0,d=this.graph.pageFormat,f=this.graph.pageScale,e=d.width*f,d=d.height*f,f=Math.floor(Math.min(0,b)/e),h=Math.floor(Math.min(0,c)/d);return new mxRectangle(this.scale*(this.translate.x+f*e),this.scale*(this.translate.y+
- h*d),this.scale*(Math.ceil(Math.max(1,b+a.width/this.scale)/e)-f)*e,this.scale*(Math.ceil(Math.max(1,c+a.height/this.scale)/d)-h)*d)};var b=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(a,c){b.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=a+"px",this.view.backgroundPageShape.node.style.marginTop=c+"px")};var e=
- mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(a,b,c,d,f,h){var g=e.apply(this,arguments);null==h||h||mxEvent.addListener(g,"mousedown",function(a){mxEvent.consume(a)});return g};var f=mxGraphHandler.prototype.getInitialCellForEvent;mxGraphHandler.prototype.getInitialCellForEvent=function(a){var b=this.graph.getModel(),c=b.getParent(this.graph.getSelectionCell()),d=f.apply(this,arguments),e=b.getParent(d);if(null==c||c!=d&&c!=e)for(;!this.graph.isCellSelected(d)&&!this.graph.isCellSelected(e)&&
- b.isVertex(e)&&!this.graph.isContainer(e);)d=e,e=this.graph.getModel().getParent(d);return d};var h=mxGraphHandler.prototype.isDelayedSelection;mxGraphHandler.prototype.isDelayedSelection=function(a,b){var c=h.apply(this,arguments);if(!c)for(var d=this.graph.getModel(),f=d.getParent(a);null!=f;){if(this.graph.isCellSelected(f)&&d.isVertex(f)){c=!0;break}f=d.getParent(f)}return c};mxGraphHandler.prototype.selectDelayed=function(a){if(!this.graph.popupMenuHandler.isPopupTrigger(a)){var b=a.getCell();
- null==b&&(b=this.cell);var c=this.graph.view.getState(b);if(null==c||!a.isSource(c.control))for(var c=this.graph.getModel(),d=c.getParent(b);!this.graph.isCellSelected(d)&&c.isVertex(d);)b=d,d=c.getParent(b);this.graph.selectCellForEvent(b,a.getEvent())}};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(a){a=a.getCell();for(var b=this.graph.getModel(),c=b.getParent(a);b.isVertex(c)&&!this.graph.isContainer(c);)this.graph.isCellSelected(c)&&(a=c),c=b.getParent(c);return a}})();EditorUi=function(a,c,d){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=c||document.body;var b=this.editor.graph;b.lightbox=d;mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs=":(new Image).src=mxPopupMenu.prototype.submenuImage;mxClient.IS_SVG||null==mxConnectionHandler.prototype.connectImage||((new Image).src=mxConnectionHandler.prototype.connectImage.src);
- this.editor.chromeless&&(this.footerHeight=0,b.isEnabled=function(){return!1},b.panningHandler.isForcePanningEvent=function(a){return!mxEvent.isPopupTrigger(a.getEvent())});this.actions=new Actions(this);this.menus=this.createMenus();this.createDivs();this.createUi();this.refresh();c=mxUtils.bind(this,function(a){null==a&&(a=window.event);return this.isSelectionAllowed(a)||b.isEditing()});this.container==document.body&&(this.menubarContainer.onselectstart=c,this.menubarContainer.onmousedown=c,this.toolbarContainer.onselectstart=
- c,this.toolbarContainer.onmousedown=c,this.diagramContainer.onselectstart=c,this.diagramContainer.onmousedown=c,this.sidebarContainer.onselectstart=c,this.sidebarContainer.onmousedown=c,this.formatContainer.onselectstart=c,this.formatContainer.onmousedown=c,this.footerContainer.onselectstart=c,this.footerContainer.onmousedown=c,null!=this.tabContainer&&(this.tabContainer.onselectstart=c));this.editor.chromeless?b.panningHandler.usePopupTrigger=!1:mxClient.IS_IE&&("undefined"===typeof document.documentMode||
- 9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",c):this.diagramContainer.oncontextmenu=c;b.init(this.diagramContainer);this.hoverIcons=this.createHoverIcons();mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(a){var b=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(a)-b.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(a)-b.y-this.diagramContainer.clientHeight?this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):
- this.diagramContainer.removeAttribute("title")}));var e=!1,f=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(a,b){return e||f.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(a){32==a.which?(e=!0,this.hoverIcons.reset(),b.container.style.cursor="move",b.isEditing()||mxEvent.getSource(a)!=b.container||mxEvent.consume(a)):mxEvent.isConsumed(a)||27!=a.keyCode||this.hideDialog()});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,
- function(a){b.container.style.cursor="";e=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var h=b.panningHandler.isForcePanningEvent;b.panningHandler.isForcePanningEvent=function(a){return h.apply(this,arguments)||e||mxEvent.isMouseEvent(a.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(a.getEvent()))&&(!mxEvent.isControlDown(a.getEvent())&&mxEvent.isRightMouseButton(a.getEvent())||mxEvent.isMiddleMouseButton(a.getEvent()))};var g=b.cellEditor.isStopEditingEvent;b.cellEditor.isStopEditingEvent=
- function(a){return g.apply(this,arguments)||13==a.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a)||mxClient.IS_SF&&mxEvent.isShiftDown(a))};var k=!1,l=null,m=null,n=null,p=mxUtils.bind(this,function(){if(k!=b.cellEditor.isContentEditing()){for(var a=this.toolbar.container.firstChild,c=[];null!=a;){var d=a.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,a)&&(a.parentNode.removeChild(a),c.push(a));a=d}a=this.toolbar.fontMenu;d=this.toolbar.sizeMenu;
- if(null==n)this.toolbar.createTextToolbar();else{for(var f=0;f<n.length;f++)this.toolbar.container.appendChild(n[f]);this.toolbar.fontMenu=l;this.toolbar.sizeMenu=m}k=b.cellEditor.isContentEditing();l=a;m=d;n=c}}),q=this,r=b.cellEditor.startEditing;b.cellEditor.startEditing=function(){r.apply(this,arguments);p();if(b.cellEditor.isContentEditing()){var a=!1,c=function(){a||(a=!0,window.setTimeout(function(){for(var c=b.getSelectedElement();null!=c&&c.nodeType!=mxConstants.NODETYPE_ELEMENT;)c=c.parentNode;
- if(null!=c&&(c=mxUtils.getCurrentStyle(c),null!=c&&null!=q.toolbar)){var d=c.fontFamily;"'"==d.charAt(0)&&(d=d.substring(1));"'"==d.charAt(d.length-1)&&(d=d.substring(0,d.length-1));q.toolbar.setFontName(d);q.toolbar.setFontSize(parseInt(c.fontSize))}a=!1},0))};mxEvent.addListener(b.cellEditor.textarea,"input",c);mxEvent.addListener(b.cellEditor.textarea,"touchend",c);mxEvent.addListener(b.cellEditor.textarea,"mouseup",c);mxEvent.addListener(b.cellEditor.textarea,"keyup",c);c()}};var t=b.cellEditor.stopEditing;
- b.cellEditor.stopEditing=function(a,b){t.apply(this,arguments);p()};b.container.setAttribute("tabindex","0");b.container.style.cursor="default";if(window.self===window.top&&null!=b.container.parentNode)try{b.container.focus()}catch(w){}var u=b.fireMouseEvent;b.fireMouseEvent=function(a,b,c){a==mxEvent.MOUSE_DOWN&&this.container.focus();u.apply(this,arguments)};b.popupMenuHandler.autoExpand=!0;null!=this.menus&&(b.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(a,b,c){this.menus.createPopupMenu(a,
- b,c)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(a){b.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=function(){return keyHandler};var v="rounded shadow glass dashed dashPattern comic labelBackgroundColor".split(" "),x="shape edgeStyle curved rounded elbow comic".split(" ");this.setDefaultStyle=function(a){var c=b.view.getState(a);if(null!=c){a=a.clone();a.style="";a=b.getCellStyle(a);var d=[],f=[],e;for(e in c.style)a[e]!=c.style[e]&&
- (d.push(c.style[e]),f.push(e));e=b.getModel().getStyle(c.cell);for(var h=null!=e?e.split(";"):[],g=0;g<h.length;g++){var k=h[g],l=k.indexOf("=");0<=l&&(e=k.substring(0,l),k=k.substring(l+1),null!=a[e]&&"none"==k&&(d.push(k),f.push(e)))}b.getModel().isEdge(c.cell)?b.currentEdgeStyle={}:b.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",f,"values",d,"cells",[c.cell]))}};this.clearDefaultStyle=function(){b.currentEdgeStyle=b.defaultEdgeStyle;b.currentVertexStyle=b.defaultVertexStyle;
- this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};var z=["fontFamily","fontSize","fontColor"],A="edgeStyle startArrow startFill startSize endArrow endFill endSize jettySize orthogonalLoop".split(" "),E=["startArrow startFill startSize endArrow endFill endSize jettySize orthogonalLoop".split(" "),["strokeColor","strokeWidth"],["fillColor","gradientColor"],z,["align"],["html"]];for(a=0;a<E.length;a++)for(c=0;c<E[a].length;c++)v.push(E[a][c]);for(a=0;a<x.length;a++)0>
- mxUtils.indexOf(v,x[a])&&v.push(x[a]);var F=function(a,c){b.getModel().beginUpdate();try{if(c)for(var d=b.getModel().isEdge(g),f=d?b.currentEdgeStyle:b.currentVertexStyle,d=["fontSize","fontFamily","fontColor"],e=0;e<d.length;e++){var h=f[d[e]];null!=h&&b.setCellStyles(d[e],h,a)}else for(h=0;h<a.length;h++){for(var g=a[h],k=b.getModel().getStyle(g),l=null!=k?k.split(";"):[],m=v.slice(),e=0;e<l.length;e++){var n=l[e],D=n.indexOf("=");if(0<=D){var C=n.substring(0,D),y=mxUtils.indexOf(m,C);0<=y&&m.splice(y,
- 1);for(var p=0;p<E.length;p++){var Q=E[p];if(0<=mxUtils.indexOf(Q,C))for(var q=0;q<Q.length;q++){var r=mxUtils.indexOf(m,Q[q]);0<=r&&m.splice(r,1)}}}}f=(d=b.getModel().isEdge(g))?b.currentEdgeStyle:b.currentVertexStyle;for(e=0;e<m.length;e++){var C=m[e],t=f[C];null==t||"shape"==C&&!d||(!d||0>mxUtils.indexOf(x,C))&&b.setCellStyles(C,t,[g])}}}finally{b.getModel().endUpdate()}};b.addListener("cellsInserted",function(a,b){F(b.getProperty("cells"))});b.addListener("textInserted",function(a,b){F(b.getProperty("cells"),
- !0)});b.connectionHandler.addListener(mxEvent.CONNECT,function(a,b){var c=[b.getProperty("cell")];b.getProperty("terminalInserted")&&c.push(b.getProperty("terminal"));F(c)});this.addListener("styleChanged",mxUtils.bind(this,function(a,c){var d=c.getProperty("cells"),f=!1,e=!1;if(0<d.length)for(var h=0;h<d.length&&(f=b.getModel().isVertex(d[h])||f,!(e=b.getModel().isEdge(d[h])||e)||!f);h++);else e=f=!0;for(var d=c.getProperty("keys"),g=c.getProperty("values"),h=0;h<d.length;h++){var k=0<=mxUtils.indexOf(z,
- d[h]);if("strokeColor"!=d[h]||null!=g[h]&&"none"!=g[h])if(0<=mxUtils.indexOf(x,d[h]))e||0<=mxUtils.indexOf(A,d[h])?null==g[h]?delete b.currentEdgeStyle[d[h]]:b.currentEdgeStyle[d[h]]=g[h]:f&&0<=mxUtils.indexOf(v,d[h])&&(null==g[h]?delete b.currentVertexStyle[d[h]]:b.currentVertexStyle[d[h]]=g[h]);else if(0<=mxUtils.indexOf(v,d[h])){if(f||k)null==g[h]?delete b.currentVertexStyle[d[h]]:b.currentVertexStyle[d[h]]=g[h];if(e||k||0<=mxUtils.indexOf(A,d[h]))null==g[h]?delete b.currentEdgeStyle[d[h]]:b.currentEdgeStyle[d[h]]=
- g[h]}}null!=this.toolbar&&(this.toolbar.setFontName(b.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(b.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==b.currentEdgeStyle.edgeStyle&&"1"==b.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"==b.currentEdgeStyle.edgeStyle||"none"==b.currentEdgeStyle.edgeStyle||null==
- b.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==b.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==b.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==b.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==b.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==b.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),null!=this.toolbar.edgeShapeMenu&&
- (this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==b.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==b.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==b.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"),null!=this.toolbar.lineStartMenu&&(this.toolbar.lineStartMenu.getElementsByTagName("div")[0].className=this.getCssClassForMarker("start",b.currentEdgeStyle.shape,b.currentEdgeStyle[mxConstants.STYLE_STARTARROW],
- mxUtils.getValue(b.currentEdgeStyle,"startFill","1"))),null!=this.toolbar.lineEndMenu&&(this.toolbar.lineEndMenu.getElementsByTagName("div")[0].className=this.getCssClassForMarker("end",b.currentEdgeStyle.shape,b.currentEdgeStyle[mxConstants.STYLE_ENDARROW],mxUtils.getValue(b.currentEdgeStyle,"endFill","1"))))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var a=b.currentVertexStyle.fontFamily||"Helvetica",c=String(b.currentVertexStyle.fontSize||"12"),d=b.getView().getState(b.getSelectionCell());
- null!=d&&(a=d.style[mxConstants.STYLE_FONTFAMILY]||a,c=d.style[mxConstants.STYLE_FONTSIZE]||c,10<a.length&&(a=a.substring(0,8)+"..."));this.toolbar.setFontName(a);this.toolbar.setFontSize(c)}),b.getSelectionModel().addListener(mxEvent.CHANGE,a),b.getModel().addListener(mxEvent.CHANGE,a));b.addListener(mxEvent.CELLS_ADDED,function(a,c){var d=c.getProperty("cells"),f=c.getProperty("parent");b.getModel().isLayer(f)&&!b.isCellVisible(f)&&null!=d&&0<d.length&&b.getModel().setVisible(f,!0)});this.gestureHandler=
- mxUtils.bind(this,function(a){null!=this.currentMenu&&mxEvent.getSource(a)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);this.resizeHandler=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){this.refresh()}),0)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);
- mxClient.IS_IOS&&!window.navigator.standalone&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){b.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){b.view.validateBackground()}));b.addListener("gridSizeChanged",
- mxUtils.bind(this,function(){b.isGridEnabled()&&b.view.validateBackground()}));this.editor.resetGraph();this.init();this.open()};mxUtils.extend(EditorUi,mxEventSource);EditorUi.compactUi=!0;EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.menubarHeight=30;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.toolbarHeight=34;EditorUi.prototype.footerHeight=28;EditorUi.prototype.sidebarFooterHeight=34;
- EditorUi.prototype.editButtonLink=null;EditorUi.prototype.hsplitPosition=640>=screen.width?118:208;EditorUi.prototype.allowAnimation=!0;
- EditorUi.prototype.init=function(){var a=this.editor.graph;mxEvent.addListener(a.container,"keydown",mxUtils.bind(this,function(a){this.onKeyDown(a)}));mxEvent.addListener(a.container,"keypress",mxUtils.bind(this,function(a){this.onKeyPress(a)}));this.addUndoListener();this.addBeforeUnloadListener();a.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));a.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));
- var c=a.setDefaultParent,d=this;this.editor.graph.setDefaultParent=function(){c.apply(this,arguments);d.updateActionStates()};a.editLink=d.actions.get("editLink").funct;this.updateActionStates();this.initClipboard();this.initCanvas();null!=this.format&&this.format.init()};EditorUi.prototype.onKeyDown=function(a){var c=this.editor.graph;9==a.which&&c.isEnabled()&&!mxEvent.isAltDown(a)&&(c.isEditing()?c.stopEditing(!1):c.selectCell(!mxEvent.isShiftDown(a)),mxEvent.consume(a))};
- EditorUi.prototype.onKeyPress=function(a){var c=this.editor.graph;!this.isImmediateEditingEvent(a)||c.isEditing()||c.isSelectionEmpty()||0===a.which||mxEvent.isAltDown(a)||mxEvent.isControlDown(a)||mxEvent.isMetaDown(a)||(c.escape(),c.startEditing(),mxClient.IS_FF&&(c=c.cellEditor,c.textarea.innerHTML=String.fromCharCode(a.which),a=document.createRange(),a.selectNodeContents(c.textarea),a.collapse(!1),c=window.getSelection(),c.removeAllRanges(),c.addRange(a)))};
- EditorUi.prototype.isImmediateEditingEvent=function(a){return!0};
- EditorUi.prototype.getCssClassForMarker=function(a,c,d,b){return"flexArrow"==c?null!=d&&d!=mxConstants.NONE?"geSprite geSprite-"+a+"blocktrans":"geSprite geSprite-noarrow":d==mxConstants.ARROW_CLASSIC?"1"==b?"geSprite geSprite-"+a+"classic":"geSprite geSprite-"+a+"classictrans":d==mxConstants.ARROW_CLASSIC_THIN?"1"==b?"geSprite geSprite-"+a+"classicthin":"geSprite geSprite-"+a+"classicthintrans":d==mxConstants.ARROW_OPEN?"geSprite geSprite-"+a+"open":d==mxConstants.ARROW_OPEN_THIN?"geSprite geSprite-"+
- a+"openthin":d==mxConstants.ARROW_BLOCK?"1"==b?"geSprite geSprite-"+a+"block":"geSprite geSprite-"+a+"blocktrans":d==mxConstants.ARROW_BLOCK_THIN?"1"==b?"geSprite geSprite-"+a+"blockthin":"geSprite geSprite-"+a+"blockthintrans":d==mxConstants.ARROW_OVAL?"1"==b?"geSprite geSprite-"+a+"oval":"geSprite geSprite-"+a+"ovaltrans":d==mxConstants.ARROW_DIAMOND?"1"==b?"geSprite geSprite-"+a+"diamond":"geSprite geSprite-"+a+"diamondtrans":d==mxConstants.ARROW_DIAMOND_THIN?"1"==b?"geSprite geSprite-"+a+"thindiamond":
- "geSprite geSprite-"+a+"thindiamondtrans":"openAsync"==d?"geSprite geSprite-"+a+"openasync":"dash"==d?"geSprite geSprite-"+a+"dash":"cross"==d?"geSprite geSprite-"+a+"cross":"async"==d?"1"==b?"geSprite geSprite-"+a+"async":"geSprite geSprite-"+a+"asynctrans":"circle"==d||"circlePlus"==d?"1"==b||"circle"==d?"geSprite geSprite-"+a+"circle":"geSprite geSprite-"+a+"circleplus":"ERone"==d?"geSprite geSprite-"+a+"erone":"ERmandOne"==d?"geSprite geSprite-"+a+"eronetoone":"ERmany"==d?"geSprite geSprite-"+
- a+"ermany":"ERoneToMany"==d?"geSprite geSprite-"+a+"eronetomany":"ERzeroToOne"==d?"geSprite geSprite-"+a+"eroneopt":"ERzeroToMany"==d?"geSprite geSprite-"+a+"ermanyopt":"geSprite geSprite-noarrow"};EditorUi.prototype.createMenus=function(){return null};
- EditorUi.prototype.updatePasteActionStates=function(){var a=this.editor.graph,c=this.actions.get("paste"),d=this.actions.get("pasteHere");c.setEnabled(this.editor.graph.cellEditor.isContentEditing()||!mxClipboard.isEmpty()&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()));d.setEnabled(c.isEnabled())};
- EditorUi.prototype.initClipboard=function(){var a=this,c=mxClipboard.cut;mxClipboard.cut=function(b){b.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):c.apply(this,arguments);a.updatePasteActionStates()};var d=mxClipboard.copy;mxClipboard.copy=function(b){b.cellEditor.isContentEditing()?document.execCommand("copy",!1,null):d.apply(this,arguments);a.updatePasteActionStates()};var b=mxClipboard.paste;mxClipboard.paste=function(c){var d=null;c.cellEditor.isContentEditing()?document.execCommand("paste",
- !1,null):d=b.apply(this,arguments);a.updatePasteActionStates();return d};var e=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){e.apply(this,arguments);a.updatePasteActionStates()};var f=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(b,c){f.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};
- EditorUi.prototype.initCanvas=function(){var a=this.editor.graph,a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var a=this.graph.getPageLayout(),b=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*
- a.width*b.width,this.scale*a.height*b.height)};a.getPreferredPageSize=function(a,b,c){a=this.getPageLayout();b=this.getPageSize();return new mxRectangle(0,0,a.width*b.width,a.height*b.height)};var c=null;if(this.editor.chromeless){this.chromelessResize=c=mxUtils.bind(this,function(b,c){if(null!=a.container){var d=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),f=a.view.translate,e=a.view.scale,d=mxRectangle.fromRectangle(d);d.x=d.x/e-f.x;d.y=d.y/e-f.y;d.width/=e;d.height/=e;var f=
- a.container.scrollTop,h=a.container.scrollLeft,g=mxClient.IS_QUIRKS||8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)g+=3;var k=a.container.offsetWidth-g,l=b?Math.max(.3,Math.min(c||1,k/d.width)):e;a.view.scaleAndTranslate(l,Math.max((k-l*d.width)/2,0)/l-d.x,Math.max((a.container.offsetHeight-g-l*d.height)/4,0)/l-d.y);a.container.scrollTop=f*l/e;a.container.scrollLeft=h*l/e}});var d=mxUtils.bind(this,function(){c(!1)});mxEvent.addListener(window,"resize",d);this.destroyFunctions.push(function(){mxEvent.removeListener(window,
- "resize",d)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){c(!0)}));this.actions.get("zoomIn").funct=function(b){a.zoomIn();c(!1)};this.actions.get("zoomOut").funct=function(b){a.zoomOut();c(!1)};this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position="fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.backgroundColor=
- "#000000";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left="50%";mxClient.IS_VML||(mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"borderRadius","20px"),mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out"));var b=mxUtils.bind(this,function(){var b=mxUtils.getCurrentStyle(a.container);this.chromelessToolbar.style.bottom=(null!=b?parseInt(b["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):
- 20)+"px"});this.editor.addListener("resetGraphView",b);b();var e=0,b=mxUtils.bind(this,function(a,b,c){e++;var d=document.createElement("span");d.style.paddingLeft="8px";d.style.paddingRight="8px";d.style.cursor="pointer";mxEvent.addListener(d,"click",a);null!=c&&d.setAttribute("title",c);a=document.createElement("img");a.setAttribute("border","0");a.setAttribute("src",b);d.appendChild(a);this.chromelessToolbar.appendChild(d);return d}),f=b(mxUtils.bind(this,function(a){this.actions.get("previousPage").funct();
- mxEvent.consume(a)}),Editor.previousLargeImage,mxResources.get("previousPage")),h=document.createElement("div");h.style.display="inline-block";h.style.verticalAlign="top";h.style.fontFamily="Helvetica,Arial";h.style.marginTop="8px";h.style.color="#ffffff";this.chromelessToolbar.appendChild(h);var g=b(mxUtils.bind(this,function(a){this.actions.get("nextPage").funct();mxEvent.consume(a)}),Editor.nextLargeImage,mxResources.get("nextPage")),k=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&
- null!=this.currentPage&&(h.innerHTML="",mxUtils.write(h,mxUtils.indexOf(this.pages,this.currentPage)+1+" / "+this.pages.length))});f.style.paddingLeft="0px";f.style.paddingRight="4px";g.style.paddingLeft="4px";g.style.paddingRight="0px";var l=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(g.style.display="",f.style.display="",h.style.display="inline-block"):(g.style.display="none",f.style.display="none",h.style.display="none");k()});this.editor.addListener("resetGraphView",
- l);this.editor.addListener("pageSelected",k);b(mxUtils.bind(this,function(a){this.actions.get("zoomOut").funct();mxEvent.consume(a)}),Editor.zoomOutLargeImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");b(mxUtils.bind(this,function(a){this.actions.get("zoomIn").funct();mxEvent.consume(a)}),Editor.zoomInLargeImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");b(mxUtils.bind(this,function(b){a.lightbox?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),c(!1)):c(!0);mxEvent.consume(b)}),Editor.actualSizeLargeImage,
- mxResources.get("fit"));var m=null,n=null,p=mxUtils.bind(this,function(a){null!=m&&(window.clearTimeout(m),fadeThead=null);null!=n&&(window.clearTimeout(n),fadeThead2=null);m=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);m=null;n=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display="none";n=null}),600)}),a||200)}),q=mxUtils.bind(this,function(a){null!=m&&(window.clearTimeout(m),fadeThead=null);null!=n&&(window.clearTimeout(n),
- fadeThead2=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,a||30)});if("1"==urlParams.layers){this.layersDialog=null;var r=b(mxUtils.bind(this,function(b){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog();mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=
- null}));var c=r.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily="Helvetica,Arial";this.layersDialog.style.backgroundColor="#000000";this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.color="#ffffff";mxUtils.setOpacity(this.layersDialog,70);this.layersDialog.style.left=c.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+
- this.chromelessToolbar.offsetHeight+4+"px";c=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDialog.style.zIndex=c.zIndex;document.body.appendChild(this.layersDialog)}mxEvent.consume(b)}),Editor.layersLargeImage,mxResources.get("layers")),t=a.getModel();t.addListener(mxEvent.CHANGE,function(){r.style.display=1<t.getChildCount(t.root)?"":"none"})}b(mxUtils.bind(this,function(a){this.actions.get("print").funct();mxEvent.consume(a)}),Editor.printLargeImage,mxResources.get("print"));null!=
- this.editor.editButtonLink&&b(mxUtils.bind(this,function(a){"_blank"==this.editor.editButtonLink?this.editor.editAsNew(this.getEditBlankXml(),null,!0):window.open(this.editor.editButtonLink,"editWindow");mxEvent.consume(a)}),Editor.editLargeImage,mxResources.get("openInNewWindow"));!a.lightbox||"1"!=urlParams.close&&this.container==document.body||b(mxUtils.bind(this,function(a){"1"==urlParams.close?window.close():(this.destroy(),mxEvent.consume(a))}),Editor.closeLargeImage,mxResources.get("close")+
- " (Escape)");this.chromelessToolbar.style.display="none";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);this.addChromelessClickHandler();mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||(mxEvent.isShiftDown(a)||q(30),p())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(a){mxEvent.consume(a)});
- mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(a){mxEvent.isShiftDown(a)?p():q(100)}));mxEvent.addListener(this.chromelessToolbar,"mousemove",mxUtils.bind(this,function(a){mxEvent.isShiftDown(a)?p():q(100);mxEvent.consume(a)}));mxEvent.addListener(this.chromelessToolbar,"mouseleave",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||q(30)}));var u=a.getTolerance(),v=this;a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(b,c){this.startX=
- c.getGraphX();this.startY=c.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(a,b){},mouseUp:function(b,c){mxEvent.isTouchEvent(c.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<u&&Math.abs(this.scrollTop-a.container.scrollTop)<u&&Math.abs(this.startX-c.getGraphX())<u&&Math.abs(this.startY-c.getGraphY())<u&&(0<parseFloat(v.chromelessToolbar.style.opacity||0)?p():q(30))}})}else if(this.editor.extendCanvas){var x=a.view.validate;
- a.view.validate=function(){if(null!=this.graph.container&&mxUtils.hasScrollbars(this.graph.container)){var a=this.graph.getPagePadding(),b=this.graph.getPageSize();this.translate.x=a.x-(this.x0||0)*b.width;this.translate.y=a.y-(this.y0||0)*b.height}x.apply(this,arguments)};var z=a.sizeDidChange;a.sizeDidChange=function(){if(null!=this.container&&mxUtils.hasScrollbars(this.container)){var b=this.getPageLayout(),c=this.getPagePadding(),d=this.getPageSize(),f=Math.ceil(2*c.x+b.width*d.width),e=Math.ceil(2*
- c.y+b.height*d.height),h=a.minimumGraphSize;if(null==h||h.width!=f||h.height!=e)a.minimumGraphSize=new mxRectangle(0,0,f,e);f=c.x-b.x*d.width;c=c.y-b.y*d.height;this.autoTranslate||this.view.translate.x==f&&this.view.translate.y==c?z.apply(this,arguments):(this.autoTranslate=!0,this.view.x0=b.x,this.view.y0=b.y,b=a.view.translate.x,d=a.view.translate.y,a.view.setTranslate(f,c),a.container.scrollLeft+=Math.round((f-b)*a.view.scale),a.container.scrollTop+=Math.round((c-d)*a.view.scale),this.autoTranslate=
- !1)}}}a.updateZoomTimeout=null;a.cumulativeZoomFactor=1;var A=null;a.lazyZoom=function(b){null!=this.updateZoomTimeout&&window.clearTimeout(this.updateZoomTimeout);b?.15>this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor=(this.view.scale+.01)/this.view.scale:(this.cumulativeZoomFactor*=this.zoomFactor,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor=(this.view.scale-
- .01)/this.view.scale:(this.cumulativeZoomFactor/=this.zoomFactor,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale);this.cumulativeZoomFactor=Math.max(.01,Math.min(this.view.scale*this.cumulativeZoomFactor,160)/this.view.scale);this.updateZoomTimeout=window.setTimeout(mxUtils.bind(this,function(){this.zoom(this.cumulativeZoomFactor);null!=c&&c(!1);if(null!=A&&mxUtils.hasScrollbars(a.container)){var b=mxUtils.getOffset(a.container),d=a.container.offsetHeight/
- 2-A.y+b.y;a.container.scrollLeft-=(a.container.offsetWidth/2-A.x+b.x)*(this.cumulativeZoomFactor-1);a.container.scrollTop-=d*(this.cumulativeZoomFactor-1)}this.cumulativeZoomFactor=1;this.updateZoomTimeout=null}),20)};mxEvent.addMouseWheelListener(mxUtils.bind(this,function(b,c){if((mxEvent.isAltDown(b)||mxEvent.isControlDown(b)&&!mxClient.IS_MAC||a.panningHandler.isActive())&&(null==this.dialogs||0==this.dialogs.length))for(var d=mxEvent.getSource(b);null!=d;){if(d==a.container){A=new mxPoint(mxEvent.getClientX(b),
- mxEvent.getClientY(b));a.lazyZoom(c);mxEvent.consume(b);break}d=d.parentNode}}))};EditorUi.prototype.createTemporaryGraph=function(a){a=new Graph(document.createElement("div"),null,null,a);a.resetViewOnRootChange=!1;a.setConnectable(!1);a.gridEnabled=!1;a.autoScroll=!1;a.setTooltips(!1);a.setEnabled(!1);a.container.style.visibility="hidden";a.container.style.position="absolute";a.container.style.overflow="hidden";a.container.style.height="1px";a.container.style.width="1px";return a};
- EditorUi.prototype.addChromelessClickHandler=function(){var a=urlParams.highlight;null!=a&&0<a.length&&(a="#"+a);this.editor.graph.addClickHandler(a)};EditorUi.prototype.toggleFormatPanel=function(a){this.formatWidth=a||0<this.formatWidth?0:240;this.formatContainer.style.display=a||0<this.formatWidth?"":"none";this.refresh();this.format.refresh();this.fireEvent(new mxEventObject("formatWidthChanged"))};
- EditorUi.prototype.lightboxFit=function(){this.editor.graph.maxFitScale=2;this.editor.graph.fit(60);this.editor.graph.maxFitScale=null};EditorUi.prototype.isSelectionAllowed=function(a){return"SELECT"==mxEvent.getSource(a).nodeName||"INPUT"==mxEvent.getSource(a).nodeName&&mxUtils.isAncestorNode(this.formatContainer,mxEvent.getSource(a))};EditorUi.prototype.addBeforeUnloadListener=function(){window.onbeforeunload=mxUtils.bind(this,function(){if(!this.editor.chromeless)return this.onBeforeUnload()})};
- EditorUi.prototype.onBeforeUnload=function(){if(this.editor.modified)return mxResources.get("allChangesLost")};
- EditorUi.prototype.open=function(){try{null!=window.opener&&null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,c){try{var d=mxUtils.parseXml(a);this.editor.setGraphXml(d.documentElement);this.editor.setModified(!1);this.editor.undoManager.clear();null!=c&&(this.editor.setFilename(c),this.updateDocumentTitle())}catch(b){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+b.message)}}))}catch(a){}this.editor.graph.view.validate();this.editor.graph.sizeDidChange();
- this.editor.fireEvent(new mxEventObject("resetGraphView"))};EditorUi.prototype.setCurrentMenu=function(a,c){this.currentMenuElt=c;this.currentMenu=a};EditorUi.prototype.resetCurrentMenu=function(){this.currentMenu=this.currentMenuElt=null};EditorUi.prototype.hideCurrentMenu=function(a,c){null!=this.currentMenu&&(this.currentMenu.hideMenu(),this.resetCurrentMenu())};
- EditorUi.prototype.updateDocumentTitle=function(){var a=this.editor.getOrCreateFilename();null!=this.editor.appName&&(a+=" - "+this.editor.appName);document.title=a};EditorUi.prototype.createHoverIcons=function(){return new HoverIcons(this.editor.graph)};EditorUi.prototype.redo=function(){try{this.editor.graph.isEditing()?document.execCommand("redo",!1,null):this.editor.undoManager.redo()}catch(a){}};
- EditorUi.prototype.undo=function(){try{var a=this.editor.graph;if(a.isEditing()){var c=a.cellEditor.textarea.innerHTML;document.execCommand("undo",!1,null);c==a.cellEditor.textarea.innerHTML&&(a.stopEditing(!0),this.editor.undoManager.undo())}else this.editor.undoManager.undo()}catch(d){}};EditorUi.prototype.canRedo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canRedo()};EditorUi.prototype.canUndo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canUndo()};
- EditorUi.prototype.getEditBlankXml=function(){return mxUtils.getXml(this.getGraphXml())};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var c=0<a.indexOf("?")?1:0,d;for(d in urlParams)a=0==c?a+"?":a+"&",a+=d+"="+urlParams[d],c++;return a};
- EditorUi.prototype.setScrollbars=function(a){var c=this.editor.graph,d=c.container.style.overflow;c.scrollbars=a;this.editor.updateGraphComponents();d!=c.container.style.overflow&&("hidden"==c.container.style.overflow?(a=c.view.translate,c.view.setTranslate(a.x-c.container.scrollLeft/c.view.scale,a.y-c.container.scrollTop/c.view.scale),c.container.scrollLeft=0,c.container.scrollTop=0,c.minimumGraphSize=null,c.sizeDidChange()):(a=c.view.translate.x,d=c.view.translate.y,c.view.translate.x=0,c.view.translate.y=
- 0,c.sizeDidChange(),c.container.scrollLeft-=Math.round(a*c.view.scale),c.container.scrollTop-=Math.round(d*c.view.scale)));this.fireEvent(new mxEventObject("scrollbarsChanged"))};EditorUi.prototype.hasScrollbars=function(){return this.editor.graph.scrollbars};
- EditorUi.prototype.resetScrollbars=function(){var a=this.editor.graph;if(!this.editor.extendCanvas)a.container.scrollTop=0,a.container.scrollLeft=0,mxUtils.hasScrollbars(a.container)||a.view.setTranslate(0,0);else if(!this.editor.chromeless)if(mxUtils.hasScrollbars(a.container))if(a.pageVisible){var c=a.getPagePadding();a.container.scrollTop=Math.floor(c.y-this.editor.initialTopSpacing);a.container.scrollLeft=Math.floor(Math.min(c.x,(a.container.scrollWidth-a.container.clientWidth)/2));c=a.getGraphBounds();
- 0<c.width&&0<c.height&&(c.x>a.container.scrollLeft+.9*a.container.clientWidth&&(a.container.scrollLeft=Math.min(c.x+c.width-a.container.clientWidth,c.x-10)),c.y>a.container.scrollTop+.9*a.container.clientHeight&&(a.container.scrollTop=Math.min(c.y+c.height-a.container.clientHeight,c.y-10)))}else{var c=a.getGraphBounds(),d=Math.max(c.width,a.scrollTileSize.width*a.view.scale);a.container.scrollTop=Math.floor(Math.max(0,c.y-Math.max(20,(a.container.clientHeight-Math.max(c.height,a.scrollTileSize.height*
- a.view.scale))/4)));a.container.scrollLeft=Math.floor(Math.max(0,c.x-Math.max(0,(a.container.clientWidth-d)/2)))}else a.pageVisible?(c=a.view.getBackgroundPageBounds(),a.view.setTranslate(Math.floor(Math.max(0,(a.container.clientWidth-c.width)/2)-c.x),Math.floor(Math.max(0,(a.container.clientHeight-c.height)/2)-c.y))):(c=a.getGraphBounds(),a.view.setTranslate(Math.floor(Math.max(0,Math.max(0,(a.container.clientWidth-c.width)/2)-c.x)),Math.floor(Math.max(0,Math.max(20,(a.container.clientHeight-c.height)/
- 4))-c.y)))};
- EditorUi.prototype.setPageVisible=function(a){var c=this.editor.graph,d=mxUtils.hasScrollbars(c.container),b=0,e=0;d&&(b=c.view.translate.x*c.view.scale-c.container.scrollLeft,e=c.view.translate.y*c.view.scale-c.container.scrollTop);c.pageVisible=a;c.pageBreaksVisible=a;c.preferPageSize=a;c.view.validateBackground();d&&(a=c.getSelectionCells(),c.clearSelection(),c.setSelectionCells(a));c.sizeDidChange();d&&(c.container.scrollLeft=c.view.translate.x*c.view.scale-b,c.container.scrollTop=c.view.translate.y*
- c.view.scale-e);this.fireEvent(new mxEventObject("pageViewChanged"))};function ChangePageSetup(a,c,d,b){this.ui=a;this.previousColor=c;this.previousImage=d;this.previousFormat=b;this.ignoreImage=this.ignoreColor=!1}
- ChangePageSetup.prototype.execute=function(){var a=this.ui.editor.graph;if(!this.ignoreColor){var c=a.background;this.ui.setBackgroundColor(this.previousColor);this.previousColor=c}this.ignoreImage||(c=a.backgroundImage,this.ui.setBackgroundImage(this.previousImage),this.previousImage=c);null!=this.previousFormat&&(c=a.pageFormat,this.previousFormat.width!=c.width||this.previousFormat.height!=c.height)&&(this.ui.setPageFormat(this.previousFormat),this.previousFormat=c)};
- EditorUi.prototype.setBackgroundColor=function(a){this.editor.graph.background=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("backgroundColorChanged"))};EditorUi.prototype.setFoldingEnabled=function(a){this.editor.graph.foldingEnabled=a;this.editor.graph.view.revalidate();this.fireEvent(new mxEventObject("foldingEnabledChanged"))};
- EditorUi.prototype.setPageFormat=function(a){this.editor.graph.pageFormat=a;this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct();this.fireEvent(new mxEventObject("pageFormatChanged"))};EditorUi.prototype.setPageScale=function(a){this.editor.graph.pageScale=a;this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct();this.fireEvent(new mxEventObject("pageScaleChanged"))};
- EditorUi.prototype.setGridColor=function(a){this.editor.graph.view.gridColor=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("gridColorChanged"))};
- EditorUi.prototype.addUndoListener=function(){var a=this.actions.get("undo"),c=this.actions.get("redo"),d=this.editor.undoManager,b=mxUtils.bind(this,function(){a.setEnabled(this.canUndo());c.setEnabled(this.canRedo())});d.addListener(mxEvent.ADD,b);d.addListener(mxEvent.UNDO,b);d.addListener(mxEvent.REDO,b);d.addListener(mxEvent.CLEAR,b);var e=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){e.apply(this,arguments);b()};var f=this.editor.graph.cellEditor.stopEditing;
- this.editor.graph.cellEditor.stopEditing=function(a,c){f.apply(this,arguments);b()};b()};
- EditorUi.prototype.updateActionStates=function(){var a=this.editor.graph,c=!a.isSelectionEmpty(),d=!1,b=!1,e=a.getSelectionCells();if(null!=e)for(var f=0;f<e.length;f++){var h=e[f];a.getModel().isEdge(h)&&(b=!0);a.getModel().isVertex(h)&&(d=!0);if(b&&d)break}e="cut copy bold italic underline delete duplicate editStyle editTooltip editLink backgroundColor borderColor edit toFront toBack lockUnlock solid dashed dotted fillColor gradientColor shadow fontColor formattedText rounded toggleRounded sharp strokeColor".split(" ");for(f=
- 0;f<e.length;f++)this.actions.get(e[f]).setEnabled(c);this.actions.get("setAsDefaultStyle").setEnabled(1==a.getSelectionCount());this.actions.get("clearWaypoints").setEnabled(!a.isSelectionEmpty());this.actions.get("turn").setEnabled(!a.isSelectionEmpty());this.actions.get("curved").setEnabled(b);this.actions.get("rotation").setEnabled(d);this.actions.get("wordWrap").setEnabled(d);this.actions.get("autosize").setEnabled(d);this.actions.get("collapsible").setEnabled(d);b=d&&1==a.getSelectionCount();
- this.actions.get("group").setEnabled(1<a.getSelectionCount()||b&&!a.isContainer(a.getSelectionCell()));this.actions.get("ungroup").setEnabled(1==a.getSelectionCount()&&(0<a.getModel().getChildCount(a.getSelectionCell())||b&&a.isContainer(a.getSelectionCell())));this.actions.get("removeFromGroup").setEnabled(b&&a.getModel().isVertex(a.getModel().getParent(a.getSelectionCell())));a.view.getState(a.getSelectionCell());this.menus.get("navigation").setEnabled(c||null!=a.view.currentRoot);this.actions.get("collapsible").setEnabled(d&&
- 1==a.getSelectionCount()&&(a.isContainer(a.getSelectionCell())||0<a.model.getChildCount(a.getSelectionCell())));this.actions.get("home").setEnabled(null!=a.view.currentRoot);this.actions.get("exitGroup").setEnabled(null!=a.view.currentRoot);this.actions.get("enterGroup").setEnabled(1==a.getSelectionCount()&&a.isValidRoot(a.getSelectionCell()));c=1==a.getSelectionCount()&&a.isCellFoldable(a.getSelectionCell());this.actions.get("expand").setEnabled(c);this.actions.get("collapse").setEnabled(c);this.actions.get("editLink").setEnabled(1==
- a.getSelectionCount());this.actions.get("openLink").setEnabled(1==a.getSelectionCount()&&null!=a.getLinkForCell(a.getSelectionCell()));this.actions.get("guides").setEnabled(a.isEnabled());this.actions.get("grid").setEnabled(!this.editor.chromeless);c=a.isEnabled()&&!a.isCellLocked(a.getDefaultParent());this.menus.get("layout").setEnabled(c);this.menus.get("insert").setEnabled(c);this.menus.get("direction").setEnabled(c&&d);this.menus.get("align").setEnabled(c&&d&&1<a.getSelectionCount());this.menus.get("distribute").setEnabled(c&&
- d&&1<a.getSelectionCount());this.actions.get("selectVertices").setEnabled(c);this.actions.get("selectEdges").setEnabled(c);this.actions.get("selectAll").setEnabled(c);this.actions.get("selectNone").setEnabled(c);this.updatePasteActionStates()};
- EditorUi.prototype.refresh=function(a){a=null!=a?a:!0;var c=mxClient.IS_IE&&(null==document.documentMode||5==document.documentMode),d=this.container.clientWidth,b=this.container.clientHeight;this.container==document.body&&(d=document.body.clientWidth||document.documentElement.clientWidth,b=c?document.body.clientHeight||document.documentElement.clientHeight:document.documentElement.clientHeight);var e=0;mxClient.IS_IOS&&!window.navigator.standalone&&window.innerHeight!=document.documentElement.clientHeight&&
- (e=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var f=Math.max(0,Math.min(this.hsplitPosition,d-this.splitSize-20)),h=0;null!=this.menubar&&(this.menubarContainer.style.height=this.menubarHeight+"px",h+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",h+=this.toolbarHeight);0<h&&!mxClient.IS_QUIRKS&&(h+=1);var g=0;if(null!=this.sidebarFooterContainer){var k=
- this.footerHeight+e,g=Math.max(0,Math.min(b-h-k,this.sidebarFooterHeight));this.sidebarFooterContainer.style.width=f+"px";this.sidebarFooterContainer.style.height=g+"px";this.sidebarFooterContainer.style.bottom=k+"px"}k=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=h+"px";this.sidebarContainer.style.width=f+"px";this.formatContainer.style.top=h+"px";this.formatContainer.style.width=k+"px";this.formatContainer.style.display=null!=this.format?"":"none";this.diagramContainer.style.left=
- null!=this.hsplit.parentNode?f+this.splitSize+"px":"0px";this.diagramContainer.style.top=this.sidebarContainer.style.top;this.footerContainer.style.height=this.footerHeight+"px";this.hsplit.style.top=this.sidebarContainer.style.top;this.hsplit.style.bottom=this.footerHeight+e+"px";this.hsplit.style.left=f+"px";null!=this.tabContainer&&(this.tabContainer.style.left=this.diagramContainer.style.left);c?(this.menubarContainer.style.width=d+"px",this.toolbarContainer.style.width=this.menubarContainer.style.width,
- c=Math.max(0,b-this.footerHeight-this.menubarHeight-this.toolbarHeight),this.sidebarContainer.style.height=c-g+"px",this.formatContainer.style.height=c+"px",this.diagramContainer.style.width=null!=this.hsplit.parentNode?Math.max(0,d-f-this.splitSize-k)+"px":d+"px",this.footerContainer.style.width=this.menubarContainer.style.width,g=Math.max(0,b-this.footerHeight-this.menubarHeight-this.toolbarHeight),null!=this.tabContainer&&(this.tabContainer.style.width=this.diagramContainer.style.width,this.tabContainer.style.bottom=
- this.footerHeight+e+"px",g-=this.tabContainer.clientHeight),this.diagramContainer.style.height=g+"px",this.hsplit.style.height=g+"px"):(0<this.footerHeight&&(this.footerContainer.style.bottom=e+"px"),this.diagramContainer.style.right=k+"px",d=0,null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+e+"px",this.tabContainer.style.right=this.diagramContainer.style.right,d=this.tabContainer.clientHeight),this.sidebarContainer.style.bottom=this.footerHeight+g+e+"px",this.formatContainer.style.bottom=
- this.footerHeight+e+"px",this.diagramContainer.style.bottom=this.footerHeight+e+d+"px");a&&this.editor.graph.sizeDidChange()};EditorUi.prototype.createTabContainer=function(){return null};
- EditorUi.prototype.createDivs=function(){this.menubarContainer=this.createDiv("geMenubarContainer");this.toolbarContainer=this.createDiv("geToolbarContainer");this.sidebarContainer=this.createDiv("geSidebarContainer");this.formatContainer=this.createDiv("geSidebarContainer");this.diagramContainer=this.createDiv("geDiagramContainer");this.footerContainer=this.createDiv("geFooterContainer");this.hsplit=this.createDiv("geHsplit");this.hsplit.setAttribute("title",mxResources.get("collapseExpand"));this.menubarContainer.style.top=
- "0px";this.menubarContainer.style.left="0px";this.menubarContainer.style.right="0px";this.toolbarContainer.style.left="0px";this.toolbarContainer.style.right="0px";this.sidebarContainer.style.left="0px";this.formatContainer.style.right="0px";this.formatContainer.style.zIndex="1";this.diagramContainer.style.right=(null!=this.format?this.formatWidth:0)+"px";this.footerContainer.style.left="0px";this.footerContainer.style.right="0px";this.footerContainer.style.bottom="0px";this.footerContainer.style.zIndex=
- mxPopupMenu.prototype.zIndex-2;this.hsplit.style.width=this.splitSize+"px";this.formatContainer.style.backgroundColor="whiteSmoke";this.formatContainer.style.overflowX="hidden";this.formatContainer.style.overflowY="auto";this.formatContainer.style.fontSize="12px";if(this.sidebarFooterContainer=this.createSidebarFooterContainer())this.sidebarFooterContainer.style.left="0px";this.editor.chromeless||(this.tabContainer=this.createTabContainer())};EditorUi.prototype.createSidebarFooterContainer=function(){return null};
- EditorUi.prototype.createUi=function(){this.menubar=this.editor.chromeless?null:this.menus.createMenubar(this.createDiv("geMenubar"));null!=this.menubar&&this.menubarContainer.appendChild(this.menubar.container);null!=this.menubar&&(this.statusContainer=this.createStatusContainer(),this.editor.addListener("statusChanged",mxUtils.bind(this,function(){this.setStatusText(this.editor.getStatus())})),this.setStatusText(this.editor.getStatus()),this.menubar.container.appendChild(this.statusContainer),this.container.appendChild(this.menubarContainer));
- this.sidebar=this.editor.chromeless?null:this.createSidebar(this.sidebarContainer);null!=this.sidebar&&this.container.appendChild(this.sidebarContainer);this.format=this.editor.chromeless||!this.formatEnabled?null:this.createFormat(this.formatContainer);null!=this.format&&this.container.appendChild(this.formatContainer);var a=this.editor.chromeless?null:this.createFooter();null!=a&&(this.footerContainer.appendChild(a),this.container.appendChild(this.footerContainer));null!=this.sidebar&&this.sidebarFooterContainer&&
- this.container.appendChild(this.sidebarFooterContainer);this.container.appendChild(this.diagramContainer);null!=this.container&&null!=this.tabContainer&&this.container.appendChild(this.tabContainer);this.toolbar=this.editor.chromeless?null:this.createToolbar(this.createDiv("geToolbar"));null!=this.toolbar&&(this.toolbarContainer.appendChild(this.toolbar.container),this.container.appendChild(this.toolbarContainer));null!=this.sidebar&&(this.container.appendChild(this.hsplit),this.addSplitHandler(this.hsplit,
- !0,0,mxUtils.bind(this,function(a){this.hsplitPosition=a;this.refresh()})))};EditorUi.prototype.createStatusContainer=function(){var a=document.createElement("a");a.className="geItem geStatus";420>screen.width&&(a.style.maxWidth=Math.max(20,screen.width-320)+"px",a.style.overflow="hidden");return a};EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=a};EditorUi.prototype.createToolbar=function(a){return new Toolbar(this,a)};
- EditorUi.prototype.createSidebar=function(a){return new Sidebar(this,a)};EditorUi.prototype.createFormat=function(a){return new Format(this,a)};EditorUi.prototype.createFooter=function(){return this.createDiv("geFooter")};EditorUi.prototype.createDiv=function(a){var c=document.createElement("div");c.className=a;return c};
- EditorUi.prototype.addSplitHandler=function(a,c,d,b){function e(a){if(null!=h){var f=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a));b(Math.max(0,g+(c?f.x-h.x:h.y-f.y)-d));mxEvent.consume(a);g!=m()&&(k=!0,l=null)}}function f(a){e(a);h=g=null}var h=null,g=null,k=!0,l=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var m=mxUtils.bind(this,function(){var b=parseInt(c?a.style.left:a.style.bottom);c||(b=b+d-this.footerHeight);return b});mxEvent.addGestureListeners(a,function(a){h=new mxPoint(mxEvent.getClientX(a),
- mxEvent.getClientY(a));g=m();k=!1;mxEvent.consume(a)});mxEvent.addListener(a,"click",function(a){if(!k){var c=null!=l?l-d:0;l=m();b(c);mxEvent.consume(a)}});mxEvent.addGestureListeners(document,null,e,f);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,e,f)})};EditorUi.prototype.showDialog=function(a,c,d,b,e,f){this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,c,d,b,e,f);this.dialogs.push(this.dialog)};
- EditorUi.prototype.hideDialog=function(a){null!=this.dialogs&&0<this.dialogs.length&&(this.dialogs.pop().close(a),this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,null==this.dialog&&"hidden"!=this.editor.graph.container.style.visibility&&this.editor.graph.container.focus(),this.editor.fireEvent(new mxEventObject("hideDialog")))};
- EditorUi.prototype.pickColor=function(a,c){var d=this.editor.graph,b=d.cellEditor.saveSelection(),e=new ColorDialog(this,a||"none",function(a){d.cellEditor.restoreSelection(b);c(a)},function(){d.cellEditor.restoreSelection(b)});this.showDialog(e.container,220,430,!0,!1);e.init()};
- EditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:320,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null})};
- EditorUi.prototype.extractGraphModelFromHtml=function(a){var c=null;try{var d=a.indexOf("<mxGraphModel ");if(0<=d){var b=a.lastIndexOf("</mxGraphModel>");b>d&&(c=a.substring(d,b+21).replace(/>/g,">").replace(/</g,"<").replace(/\\"/g,'"').replace(/\n/g,""))}}catch(e){}return c};
- EditorUi.prototype.extractGraphModelFromEvent=function(a){var c=null,d=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(10==document.documentMode||11==document.documentMode?d=a.getData("Text"):(d=0<=mxUtils.indexOf(a.types,"text/html")?a.getData("text/html"):null,mxUtils.indexOf(a.types,null==d||0==d.length)&&(d=a.getData("text/plain"))),null!=d&&(d=this.editor.graph.zapGremlins(mxUtils.trim(d)),a=this.extractGraphModelFromHtml(d),null!=a&&(d=a))));null!=d&&this.isCompatibleString(d)&&
- (c=d);return c};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.saveFile=function(a){a||null==this.editor.filename?(a=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(a){this.save(a)}),null,mxUtils.bind(this,function(a){if(null!=a&&0<a.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(a.container,300,100,!0,!0),a.init()):this.save(this.editor.getOrCreateFilename())};
- EditorUi.prototype.save=function(a){if(null!=a){this.editor.graph.isEditing()&&this.editor.graph.stopEditing();var c=mxUtils.getXml(this.editor.getGraphXml());try{if(Editor.useLocalStorage){if(null!=localStorage.getItem(a)&&!mxUtils.confirm(mxResources.get("replaceIt",[a])))return;localStorage.setItem(a,c);this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("saved"))+" "+new Date)}else if(c.length<MAX_REQUEST_SIZE)(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(a)+"&xml="+encodeURIComponent(c))).simulate(document,
- "_blank");else{mxUtils.alert(mxResources.get("drawingTooLarge"));mxUtils.popup(c);return}this.editor.setModified(!1);this.editor.setFilename(a);this.updateDocumentTitle()}catch(d){this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("errorSavingFile")))}}};
- EditorUi.prototype.executeLayout=function(a,c,d){var b=this.editor.graph;if(b.isEnabled()){b.getModel().beginUpdate();try{a()}catch(e){throw e;}finally{this.allowAnimation&&c&&0>navigator.userAgent.indexOf("Camino")?(a=new mxMorphing(b),a.addListener(mxEvent.DONE,mxUtils.bind(this,function(){b.getModel().endUpdate();null!=d&&d()})),a.startAnimation()):(b.getModel().endUpdate(),null!=d&&d())}}};
- EditorUi.prototype.showImageDialog=function(a,c,d,b){b=this.editor.graph.cellEditor;var e=b.saveSelection(),f=mxUtils.prompt(a,c);b.restoreSelection(e);if(null!=f&&0<f.length){var h=new Image;h.onload=function(){d(f,h.width,h.height)};h.onerror=function(){d(null);mxUtils.alert(mxResources.get("fileNotFound"))};h.src=f}else d(null)};EditorUi.prototype.showLinkDialog=function(a,c,d){a=new LinkDialog(this,a,c,d);this.showDialog(a.container,420,90,!0,!0);a.init()};
- EditorUi.prototype.showBackgroundImageDialog=function(a){a=null!=a?a:mxUtils.bind(this,function(a){a=new ChangeGraphBackground(this,null,a);a.ignoreColor=!0;this.editor.graph.model.execute(a)});var c=mxUtils.prompt(mxResources.get("backgroundImage"),"");if(null!=c&&0<c.length){var d=new Image;d.onload=function(){a(new mxImage(c,d.width,d.height))};d.onerror=function(){a(null);mxUtils.alert(mxResources.get("fileNotFound"))};d.src=c}else a(null)};
- EditorUi.prototype.setBackgroundImage=function(a){this.editor.graph.setBackgroundImage(a);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(a,c,d){mxUtils.confirm(a)?null!=c&&c():null!=d&&d()};
- EditorUi.prototype.createOutline=function(a){var c=new mxOutline(this.editor.graph);c.border=20;mxEvent.addListener(window,"resize",function(){c.update()});this.addListener("pageFormatChanged",function(){c.update()});return c};
- EditorUi.prototype.createKeyHandler=function(a){function c(a,c,d){h.push(function(){if(!b.isSelectionEmpty()&&b.isEnabled())if(c=null!=c?c:1,d){b.getModel().beginUpdate();try{for(var f=b.getSelectionCells(),e=0;e<f.length;e++)if(b.getModel().isVertex(f[e])&&b.isCellResizable(f[e])){var h=b.getCellGeometry(f[e]);null!=h&&(h=h.clone(),37==a?h.width=Math.max(0,h.width-c):38==a?h.height=Math.max(0,h.height-c):39==a?h.width+=c:40==a&&(h.height+=c),b.getModel().setGeometry(f[e],h))}}finally{b.getModel().endUpdate()}}else f=
- b.getSelectionCell(),e=b.model.getParent(f),h=null,1==b.getSelectionCount()&&b.model.isVertex(f)&&null!=b.layoutManager&&!b.isCellLocked(f)&&(h=b.layoutManager.getLayout(e)),null!=h&&h.constructor==mxStackLayout?(h=e.getIndex(f),37==a||38==a?b.model.add(e,f,Math.max(0,h-1)):39!=a&&40!=a||b.model.add(e,f,Math.min(b.model.getChildCount(e),h+1))):(e=f=0,37==a?f=-c:38==a?e=-c:39==a?f=c:40==a&&(e=c),b.moveCells(b.getMovableCells(b.getSelectionCells()),f,e))});null!=g&&window.clearTimeout(g);g=window.setTimeout(function(){if(0<
- h.length){b.getModel().beginUpdate();try{for(var a=0;a<h.length;a++)h[a]();h=[]}finally{b.getModel().endUpdate()}b.scrollCellToVisible(b.getSelectionCell())}},200)}var d=this,b=this.editor.graph,e=new mxKeyHandler(b),f=e.isEventIgnored;e.isEventIgnored=function(a){return(!this.isControlDown(a)||mxEvent.isShiftDown(a)||90!=a.keyCode&&89!=a.keyCode&&188!=a.keyCode&&190!=a.keyCode&&85!=a.keyCode)&&(66!=a.keyCode&&73!=a.keyCode||!this.isControlDown(a)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&
- !mxClient.IS_SF)&&f.apply(this,arguments)};e.isEnabledForEvent=function(a){return!mxEvent.isConsumed(a)&&this.isGraphEvent(a)&&this.isEnabled()};e.isControlDown=function(a){return mxEvent.isControlDown(a)||mxClient.IS_MAC&&a.metaKey};var h=[],g=null,k={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},l=e.getFunction,m={67:this.actions.get("clearWaypoints")};mxKeyHandler.prototype.getFunction=function(a){if(b.isEnabled()){if(!b.isSelectionEmpty()&&
- mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){var f=m[a.keyCode];if(null!=f)return f.funct}if(9==a.keyCode&&mxEvent.isAltDown(a))return mxEvent.isShiftDown(a)?function(){b.selectParentCell()}:function(){b.selectChildCell()};if(null!=k[a.keyCode]&&!b.isSelectionEmpty())if(mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){if(b.model.isVertex(b.getSelectionCell()))return function(){var c=b.connectVertex(b.getSelectionCell(),k[a.keyCode],b.defaultEdgeLength,a,!0);null!=c&&0<c.length&&(1==c.length&&b.model.isEdge(c[0])?
- b.setSelectionCell(b.model.getTerminal(c[0],!1)):b.setSelectionCell(c[c.length-1]),null!=d.hoverIcons&&d.hoverIcons.update(b.view.getState(b.getSelectionCell())))}}else return this.isControlDown(a)?function(){c(a.keyCode,mxEvent.isShiftDown(a)?b.gridSize:null,!0)}:function(){c(a.keyCode,mxEvent.isShiftDown(a)?b.gridSize:null)}}return l.apply(this,arguments)};e.bindAction=mxUtils.bind(this,function(a,b,c,d){var f=this.actions.get(c);null!=f&&(c=function(){f.isEnabled()&&f.funct()},b?d?e.bindControlShiftKey(a,
- c):e.bindControlKey(a,c):d?e.bindShiftKey(a,c):e.bindKey(a,c))});var n=e.escape;e.escape=function(a){n.apply(this,arguments)};e.enter=function(){};e.bindControlShiftKey(36,function(){b.exitGroup()});e.bindControlShiftKey(35,function(){b.enterGroup()});e.bindKey(36,function(){b.home()});e.bindKey(35,function(){b.refresh()});e.bindAction(107,!0,"zoomIn");e.bindAction(109,!0,"zoomOut");e.bindAction(80,!0,"print");e.bindAction(79,!0,"outline",!0);e.bindAction(112,!1,"about");this.editor.chromeless||(e.bindControlKey(36,
- function(){b.isEnabled()&&b.foldCells(!0)}),e.bindControlKey(35,function(){b.isEnabled()&&b.foldCells(!1)}),e.bindControlKey(13,function(){b.isEnabled()&&b.setSelectionCells(b.duplicateCells(b.getSelectionCells(),!1))}),e.bindAction(8,!1,"delete"),e.bindAction(8,!0,"deleteAll"),e.bindAction(46,!1,"delete"),e.bindAction(46,!0,"deleteAll"),e.bindAction(72,!0,"resetView"),e.bindAction(72,!0,"fitWindow",!0),e.bindAction(74,!0,"fitPage"),e.bindAction(74,!0,"fitTwoPages",!0),e.bindAction(48,!0,"customZoom"),
- e.bindAction(82,!0,"turn"),e.bindAction(82,!0,"clearDefaultStyle",!0),e.bindAction(83,!0,"save"),e.bindAction(83,!0,"saveAs",!0),e.bindAction(65,!0,"selectAll"),e.bindAction(65,!0,"selectNone",!0),e.bindAction(73,!0,"selectVertices",!0),e.bindAction(69,!0,"selectEdges",!0),e.bindAction(69,!0,"editStyle"),e.bindAction(66,!0,"bold"),e.bindAction(66,!0,"toBack",!0),e.bindAction(70,!0,"toFront",!0),e.bindAction(68,!0,"duplicate"),e.bindAction(68,!0,"setAsDefaultStyle",!0),e.bindAction(90,!0,"undo"),e.bindAction(89,
- !0,"autosize",!0),e.bindAction(88,!0,"cut"),e.bindAction(67,!0,"copy"),e.bindAction(81,!0,"connectionArrows"),e.bindAction(81,!0,"connectionPoints",!0),e.bindAction(86,!0,"paste"),e.bindAction(71,!0,"group"),e.bindAction(77,!0,"editData"),e.bindAction(71,!0,"grid",!0),e.bindAction(73,!0,"italic"),e.bindAction(76,!0,"lockUnlock"),e.bindAction(76,!0,"layers",!0),e.bindAction(80,!0,"formatPanel",!0),e.bindAction(85,!0,"underline"),e.bindAction(85,!0,"ungroup",!0),e.bindAction(190,!0,"superscript"),e.bindAction(188,
- !0,"subscript"),e.bindKey(13,function(){b.isEnabled()&&b.startEditingAtCell()}),e.bindKey(113,function(){b.isEnabled()&&b.startEditingAtCell()}));mxClient.IS_WIN?e.bindAction(89,!0,"redo"):e.bindAction(90,!0,"redo",!0);return e};
- EditorUi.prototype.destroy=function(){null!=this.editor&&(this.editor.destroy(),this.editor=null);null!=this.menubar&&(this.menubar.destroy(),this.menubar=null);null!=this.toolbar&&(this.toolbar.destroy(),this.toolbar=null);null!=this.sidebar&&(this.sidebar.destroy(),this.sidebar=null);null!=this.keyHandler&&(this.keyHandler.destroy(),this.keyHandler=null);null!=this.keydownHandler&&(mxEvent.removeListener(document,"keydown",this.keydownHandler),this.keydownHandler=null);null!=this.keyupHandler&&
- (mxEvent.removeListener(document,"keyup",this.keyupHandler),this.keyupHandler=null);null!=this.resizeHandler&&(mxEvent.removeListener(window,"resize",this.resizeHandler),this.resizeHandler=null);null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null);null!=this.orientationChangeHandler&&(mxEvent.removeListener(window,"orientationchange",this.orientationChangeHandler),this.orientationChangeHandler=null);null!=this.scrollHandler&&(mxEvent.removeListener(window,
- "scroll",this.scrollHandler),this.scrollHandler=null);if(null!=this.destroyFunctions){for(var a=0;a<this.destroyFunctions.length;a++)this.destroyFunctions[a]();this.destroyFunctions=null}for(var c=[this.menubarContainer,this.toolbarContainer,this.sidebarContainer,this.formatContainer,this.diagramContainer,this.footerContainer,this.chromelessToolbar,this.hsplit,this.sidebarFooterContainer,this.layersDialog],a=0;a<c.length;a++)null!=c[a]&&null!=c[a].parentNode&&c[a].parentNode.removeChild(c[a])};function Sidebar(a,c){this.editorUi=a;this.container=c;this.palettes={};this.taglist={};this.showTooltips=!0;this.graph=a.createTemporaryGraph(this.editorUi.editor.graph.getStylesheet());this.graph.cellRenderer.antiAlias=!1;this.graph.foldingEnabled=!1;mxClient.IS_IE||mxClient.IS_IE11||(this.graph.container.style.display="none");document.body.appendChild(this.graph.container);this.pointerUpHandler=mxUtils.bind(this,function(){this.showTooltips=!0});mxEvent.addListener(document,mxClient.IS_POINTER?
- "pointerup":"mouseup",this.pointerUpHandler);this.pointerDownHandler=mxUtils.bind(this,function(){this.showTooltips=!1;this.hideTooltip()});mxEvent.addListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler);this.pointerMoveHandler=mxUtils.bind(this,function(a){for(a=mxEvent.getSource(a);null!=a;){if(a==this.currentElt)return;a=a.parentNode}this.hideTooltip()});mxEvent.addListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler);this.pointerOutHandler=
- mxUtils.bind(this,function(a){null==a.toElement&&null==a.relatedTarget&&this.hideTooltip()});mxEvent.addListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler);mxEvent.addListener(c,"scroll",mxUtils.bind(this,function(){this.showTooltips=!0}));this.init();mxClient.IS_SVG||((new Image).src=IMAGE_PATH+"/tooltip.png")}
- Sidebar.prototype.init=function(){var a=STENCIL_PATH;this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette(a);this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrows.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2");this.addUmlPalette(!1);this.addBpmnPalette(a,!1);this.addStencilPalette("flowchart","Flowchart",a+"/flowchart.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2");
- this.addImagePalette("clipart",mxResources.get("clipart"),a+"/clipart/","_128x128.png","Earth_globe Empty_Folder Full_Folder Gear Lock Software Virus Email Database Router_Icon iPad iMac Laptop MacBook Monitor_Tower Printer Server_Tower Workstation Firewall_02 Wireless_Router_N Credit_Card Piggy_Bank Graph Safe Shopping_Cart Suit1 Suit2 Suit3 Pilot1 Worker1 Soldier1 Doctor1 Tech1 Security1 Telesales1".split(" "),null,{Wireless_Router_N:"wireless router switch wap wifi access point wlan",Router_Icon:"router switch"})};
- Sidebar.prototype.collapsedImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNUQyRTJFNjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozNUQyRTJFNzZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MEUxNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MEUyNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhSMj6lrwAjcC1GyahV+dcZJgeIIFgA7":
- IMAGE_PATH+"/collapsed.gif";
- Sidebar.prototype.expandedImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxREY3NzBERjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxREY3NzBFMDZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MERENkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MERFNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7":IMAGE_PATH+
- "/expanded.gif";Sidebar.prototype.tooltipImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAbCAMAAAB7jU7LAAAACVBMVEX///+ZmZn///9Y2COLAAAAA3RSTlP//wDXyg1BAAAAOElEQVR42mXQMQ4AMAgDsWv//+iutcJmIQSk+9dJpVKpVCqVSqVSqZTdncWzF8/NeP7FkxWenPEDOnUBiL3jWx0AAAAASUVORK5CYII=":IMAGE_PATH+"/tooltip.png";
- Sidebar.prototype.searchImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAEaSURBVHjabNGxS5VxFIfxz71XaWuQUJCG/gCHhgTD9VpEETg4aMOlQRp0EoezObgcd220KQiXmpretTAHQRBdojlQEJyukPdt+b1ywfvAGc7wnHP4nlZd1yKijQW8xzNc4Su+ZOYfQ3T6/f4YNvEJYzjELXp4VVXVz263+7cR2niBxAFeZ2YPi3iHR/gYERPDwhpOsd6sz8x/mfkNG3iOlWFhFj8y89J9KvzGXER0GuEaD42mgwHqUtoljbcRsTBCeINpfM/MgZLKPpaxFxGbOCqDXmILN7hoJrTKH+axhxmcYRxP0MIDnOBDZv5q1XUNIuJxifJp+UNV7t7BFM6xeic0RMQ4Bpl5W/ol7GISx/eEUUTECrbx+f8A8xhiZht9zsgAAAAASUVORK5CYII=":IMAGE_PATH+
- "/search.png";Sidebar.prototype.enableTooltips=!0;Sidebar.prototype.tooltipBorder=16;Sidebar.prototype.tooltipDelay=300;Sidebar.prototype.dropTargetDelay=200;Sidebar.prototype.gearImage=STENCIL_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.thumbWidth=36;Sidebar.prototype.thumbHeight=36;Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1;Sidebar.prototype.thumbBorder=2;Sidebar.prototype.sidebarTitleSize=9;Sidebar.prototype.sidebarTitles=!1;Sidebar.prototype.tooltipTitles=!0;
- Sidebar.prototype.maxTooltipWidth=400;Sidebar.prototype.maxTooltipHeight=400;Sidebar.prototype.addStencilsToIndex=!0;Sidebar.prototype.defaultImageWidth=80;Sidebar.prototype.defaultImageHeight=80;
- Sidebar.prototype.showTooltip=function(a,c,d,b,e,f){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);var h=mxUtils.bind(this,function(){null==this.tooltip&&(this.tooltip=document.createElement("div"),this.tooltip.className="geSidebarTooltip",this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1,document.body.appendChild(this.tooltip),this.graph2=new Graph(this.tooltip,null,null,this.editorUi.editor.graph.getStylesheet()),
- this.graph2.resetViewOnRootChange=!1,this.graph2.foldingEnabled=!1,this.graph2.gridEnabled=!1,this.graph2.autoScroll=!1,this.graph2.setTooltips(!1),this.graph2.setConnectable(!1),this.graph2.setEnabled(!1),mxClient.IS_SVG||(this.graph2.view.canvas.style.position="relative"),this.tooltipImage=mxUtils.createImage(this.tooltipImage),this.tooltipImage.className="geSidebarTooltipImage",this.tooltipImage.style.zIndex=mxPopupMenu.prototype.zIndex-1,this.tooltipImage.style.position="absolute",this.tooltipImage.style.width=
- "14px",this.tooltipImage.style.height="27px",document.body.appendChild(this.tooltipImage));this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);this.graph2.view.scale=d>this.maxTooltipWidth||b>this.maxTooltipHeight?Math.round(100*Math.min(this.maxTooltipWidth/d,this.maxTooltipHeight/b))/100:1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==f||f;var h=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph2.addCells(c);
- mxClient.NO_FO=h;var k=this.graph2.getGraphBounds(),l=k.width+2*this.tooltipBorder+4,h=k.height+2*this.tooltipBorder;mxClient.IS_QUIRKS?(h+=4,this.tooltip.style.overflow="hidden"):this.tooltip.style.overflow="visible";this.tooltipImage.style.visibility="visible";this.tooltip.style.width=l+"px";this.tooltipTitles&&null!=e&&0<e.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTop="1px solid gray",this.tooltipTitle.style.textAlign="center",
- this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow="hidden",mxClient.IS_SVG||(this.tooltipTitle.style.position="absolute"),this.tooltipTitle.style.paddingTop="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerHTML="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,e),l=this.tooltipTitle.offsetHeight+10,h+=l,mxClient.IS_SVG?this.tooltipTitle.style.marginTop=2-l+"px":(h-=6,this.tooltipTitle.style.top=h-l+"px")):null!=this.tooltipTitle&&null!=
- this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");this.tooltip.style.height=h+"px";var l=-Math.round(k.x-this.tooltipBorder),k=-Math.round(k.y-this.tooltipBorder),m=this.container.clientWidth+this.editorUi.splitSize+3+this.editorUi.container.offsetLeft,n=Math.min(Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)-h-20,Math.max(0,this.editorUi.container.offsetTop+this.container.offsetTop+a.offsetTop-this.container.scrollTop-h/2+16));mxClient.IS_SVG?0!=
- l||0!=k?this.graph2.view.canvas.setAttribute("transform","translate("+l+","+k+")"):this.graph2.view.canvas.removeAttribute("transform"):(this.graph2.view.drawPane.style.left=l+"px",this.graph2.view.drawPane.style.top=k+"px");this.tooltip.style.position="absolute";this.tooltip.style.left=m+"px";this.tooltip.style.top=n+"px";this.tooltipImage.style.left=m-13+"px";this.tooltipImage.style.top=n+h/2-13+"px"});null!=this.tooltip&&"none"!=this.tooltip.style.display?h():this.thread=window.setTimeout(h,this.tooltipDelay);
- this.currentElt=a}};Sidebar.prototype.hideTooltip=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);null!=this.tooltip&&(this.tooltip.style.display="none",this.tooltipImage.style.visibility="hidden",this.currentElt=null)};Sidebar.prototype.addDataEntry=function(a,c,d,b,e){return this.addEntry(a,mxUtils.bind(this,function(){return this.createVertexTemplateFromData(e,c,d,b)}))};
- Sidebar.prototype.addEntry=function(a,c){if(null!=this.taglist&&null!=a&&0<a.length)for(var d=a.toLowerCase().replace(/[\/\,\(\)]/g," ").split(" "),b=mxUtils.bind(this,function(a){if(1<a.length){var b=this.taglist[a];"object"!==typeof b&&(b={entries:[],dict:new mxDictionary},this.taglist[a]=b);null==b.dict.get(c)&&(b.dict.put(c,c),b.entries.push(c))}}),e=0;e<d.length;e++){b(d[e]);var f=d[e].replace(/\.*\d*$/,"");f!=d[e]&&b(f)}return c};
- Sidebar.prototype.searchEntries=function(a,c,d,b,e){if(null!=this.taglist&&null!=a){var f=a.toLowerCase().split(" ");e=new mxDictionary;var h=(d+1)*c;a=[];for(var g=0,k=0;k<f.length;k++)if(0<f[k].length){var l=this.taglist[f[k]],m=new mxDictionary;if(null!=l){var n=l.entries;a=[];for(var p=0;p<n.length;p++)if(l=n[p],0==g==(null==e.get(l))&&(m.put(l,l),a.push(l),k==f.length-1&&a.length==h)){b(a.slice(d*c,h),h,!0,f);return}}else a=[];e=m;g++}e=a.length;b(a.slice(d*c,(d+1)*c),e,!1,f)}else b([],null,
- null,f)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var c=[],d={},b=0;b<a.length;b++)null==d[a[b]]&&(d[a[b]]="1",c.push(a[b]));return c.join(" ")}return null};Sidebar.prototype.cloneCell=function(a,c){var d=a.clone();null!=c&&(d.value=c);return d};
- Sidebar.prototype.addSearchPalette=function(a){var c=document.createElement("div");c.style.visibility="hidden";this.container.appendChild(c);var d=document.createElement("div");d.className="geSidebar";d.style.boxSizing="border-box";d.style.overflow="hidden";d.style.width="100%";d.style.padding="8px";d.style.paddingTop="14px";d.style.paddingBottom="0px";a||(d.style.display="none");var b=document.createElement("div");b.style.whiteSpace="nowrap";b.style.textOverflow="clip";b.style.paddingBottom="8px";
- b.style.cursor="default";var e=document.createElement("input");e.setAttribute("placeholder",mxResources.get("searchShapes"));e.setAttribute("type","text");e.style.fontSize="12px";e.style.overflow="hidden";e.style.boxSizing="border-box";e.style.border="solid 1px #d5d5d5";e.style.borderRadius="4px";e.style.width="100%";e.style.outline="none";e.style.padding="6px";b.appendChild(e);var f=document.createElement("img");f.setAttribute("src",Sidebar.prototype.searchImage);f.setAttribute("title",mxResources.get("search"));
- f.style.position="relative";f.style.left="-18px";mxClient.IS_QUIRKS?(e.style.height="28px",f.style.top="-4px"):f.style.top="1px";f.style.background="url('"+this.editorUi.editor.transparentImage+"')";var h;b.appendChild(f);d.appendChild(b);var g=document.createElement("center"),k=mxUtils.button(mxResources.get("moreResults"),function(){h()});k.style.display="none";k.style.lineHeight="normal";k.style.marginTop="4px";k.style.marginBottom="8px";g.style.paddingTop="4px";g.style.paddingBottom="8px";g.appendChild(k);
- d.appendChild(g);var l="",m=!1,n=!1,p=0,q={},r=12,t=mxUtils.bind(this,function(){m=!1;this.currentSearch=null;for(var a=d.firstChild;null!=a;){var c=a.nextSibling;a!=b&&a!=g&&a.parentNode.removeChild(a);a=c}});mxEvent.addListener(f,"click",function(){f.getAttribute("src")==Dialog.prototype.closeImage&&(f.setAttribute("src",Sidebar.prototype.searchImage),f.setAttribute("title",mxResources.get("search")),k.style.display="none",l=e.value="",t());e.focus()});h=mxUtils.bind(this,function(){r=4*Math.max(1,
- Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=e.value){if(null!=g.parentNode&&(l!=e.value&&(t(),l=e.value,q={},n=!1,p=0),!m&&!n)){k.setAttribute("disabled","true");k.style.display="";k.style.cursor="wait";k.innerHTML=mxResources.get("loading")+"...";m=!0;var a={};this.currentSearch=a;this.searchEntries(l,r,p,mxUtils.bind(this,function(b,c,f,e){if(this.currentSearch==a){b=null!=b?b:[];m=!1;p++;g.parentNode.removeChild(g);this.insertSearchHint(d,l,r,p,b,c,f,
- e);for(c=0;c<b.length;c++)e=b[c](),null==q[e.innerHTML]&&(q[e.innerHTML]="1",d.appendChild(b[c]()));f?(k.removeAttribute("disabled"),k.innerHTML=mxResources.get("moreResults")):(k.innerHTML=mxResources.get("reset"),k.style.display="none",n=!0);k.style.cursor="";d.appendChild(g)}}),mxUtils.bind(this,function(){k.style.cursor=""}))}}else t(),l=e.value="",q={},k.style.display="none",n=!1,e.focus()});mxEvent.addListener(e,"keydown",mxUtils.bind(this,function(a){13==a.keyCode&&h()}));mxEvent.addListener(e,
- "focus",function(){e.style.paddingRight=""});mxEvent.addListener(e,"blur",function(){e.style.paddingRight="20px"});e.style.paddingRight="20px";mxEvent.addListener(e,"keyup",mxUtils.bind(this,function(a){""==e.value?(f.setAttribute("src",Sidebar.prototype.searchImage),f.setAttribute("title",mxResources.get("search"))):(f.setAttribute("src",Dialog.prototype.closeImage),f.setAttribute("title",mxResources.get("reset")));""==e.value?(n=!0,k.style.display="none"):e.value!=l?(k.style.display="none",n=!1):
- m||(k.style.display=n?"none":"")}));mxEvent.addListener(e,"mousedown",function(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=!0});mxEvent.addListener(e,"selectstart",function(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=!0});a=document.createElement("div");a.appendChild(d);this.container.appendChild(a);this.palettes.search=[c,a]};
- Sidebar.prototype.insertSearchHint=function(a,c,d,b,e,f,h,g){0==e.length&&1==b&&(d=document.createElement("div"),d.className="geTitle",d.style.cssText="background-color:transparent;border-color:transparent;color:gray;padding:6px 0px 0px 0px !important;margin:4px 8px 4px 8px;text-align:center;cursor:default !important",mxUtils.write(d,mxResources.get("noResultsFor",[c])),a.appendChild(d))};
- Sidebar.prototype.addGeneralPalette=function(a){var c=[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;",120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;",40,20,"Text","Text",null,null,"text textbox textarea label"),
- this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;",190,120,"<h1>Heading</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>","Textbox",null,null,"text textbox textarea"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;",120,60,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=1;whiteSpace=wrap;html=1;",
- 120,60,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",120,80,"","Ellipse",null,null,"oval ellipse state"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;",120,80,"","Double Ellipse",null,null,"oval ellipse start end state double"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Square",null,null,"square"),this.createVertexTemplateEntry("shape=ext;double=1;whiteSpace=wrap;html=1;aspect=fixed;",
- 80,80,"","Double Square",null,null,"double square"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Circle",null,null,"circle"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Circle",null,null,"double circle"),this.createVertexTemplateEntry("shape=process;whiteSpace=wrap;html=1;",120,60,"","Process",null,null,"process task"),this.createVertexTemplateEntry("rhombus;whiteSpace=wrap;html=1;",80,
- 80,"","Diamond",null,null,"diamond rhombus if condition decision conditional question test"),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;",120,60,"","Parallelogram"),this.createVertexTemplateEntry("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;",120,80,"","Hexagon",null,null,"hexagon preparation"),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;",60,80,"","Triangle",null,null,"triangle logic inverter buffer"),
- this.createVertexTemplateEntry("shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;",60,80,"","Cylinder",null,null,"cylinder data database"),this.createVertexTemplateEntry("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80,"","Cloud",null,null,"cloud network"),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80,"","Document"),this.createVertexTemplateEntry("shape=internalStorage;whiteSpace=wrap;html=1;",80,80,"","Internal Storage"),this.createVertexTemplateEntry("shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;",
- 120,80,"","Cube"),this.createVertexTemplateEntry("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;",120,80,"","Step"),this.createVertexTemplateEntry("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;",120,60,"","Trapezoid"),this.createVertexTemplateEntry("shape=tape;whiteSpace=wrap;html=1;",120,100,"","Tape"),this.createVertexTemplateEntry("shape=note;whiteSpace=wrap;html=1;",80,100,"","Note"),this.createVertexTemplateEntry("shape=card;whiteSpace=wrap;html=1;",80,100,
- "","Card"),this.createVertexTemplateEntry("shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;",120,80,"","Callout"),this.createEdgeTemplateEntry("endArrow=none;dashed=1;html=1;",50,50,"","Dashed Line",null,"line lines connector connectors connection connections arrow arrows dashed undirected no"),this.createEdgeTemplateEntry("endArrow=none;html=1;",50,50,"","Line",null,"line lines connector connectors connection connections arrow arrows simple undirected plain blank no"),this.createEdgeTemplateEntry("endArrow=classic;startArrow=classic;html=1;",
- 50,50,"","Bidirectional Connector",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("endArrow=classic;html=1;",50,50,"","Directional Connector",null,"line lines connector connectors connection connections arrow arrows directional directed")];this.addPaletteFunctions("general",mxResources.get("general"),null!=a?a:!0,c)};
- Sidebar.prototype.addBasicPalette=function(a){this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2",null,null,null,null,[this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;top=0;fillColor=none;routingCenterY=0.5;",
- 120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=1;right=1;top=0;bottom=1;fillColor=none;routingCenterX=-0.5;",
- 120,60,"","Partial Rectangle"),this.createEdgeTemplateEntry("shape=filledEdge;rounded=0;fixDash=1;endArrow=none;strokeWidth=10;fillColor=#ffffff;edgeStyle=orthogonalEdgeStyle;",120,60,"","Filled Edge")])};
- Sidebar.prototype.addMiscPalette=function(a){var c=[this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;",100,40,"Title","Title",null,null,"text heading title"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ul><li>Value 1</li><li>Value 2</li><li>Value 3</li></ul>","Unordered List"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",
- 100,80,"<ol><li>Value 1</li><li>Value 2</li><li>Value 3</li></ol>","Ordered List"),this.createVertexTemplateEntry("text;html=1;strokeColor=#c0c0c0;fillColor=#ffffff;overflow=fill;rounded=0;",280,160,'<table border="1" width="100%" height="100%" cellpadding="4" style="width:100%;height:100%;border-collapse:collapse;"><tr style="background-color:#A7C942;color:#ffffff;border:1px solid #98bf21;"><th align="left">Title 1</th><th align="left">Title 2</th><th align="left">Title 3</th></tr><tr style="border:1px solid #98bf21;"><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr><tr style="background-color:#EAF2D3;border:1px solid #98bf21;"><td>Value 4</td><td>Value 5</td><td>Value 6</td></tr><tr style="border:1px solid #98bf21;"><td>Value 7</td><td>Value 8</td><td>Value 9</td></tr><tr style="background-color:#EAF2D3;border:1px solid #98bf21;"><td>Value 10</td><td>Value 11</td><td>Value 12</td></tr></table>',
- "Table 1"),this.createVertexTemplateEntry("text;html=1;strokeColor=#c0c0c0;fillColor=none;overflow=fill;",180,140,'<table border="0" width="100%" height="100%" style="width:100%;height:100%;border-collapse:collapse;"><tr><td align="center">Value 1</td><td align="center">Value 2</td><td align="center">Value 3</td></tr><tr><td align="center">Value 4</td><td align="center">Value 5</td><td align="center">Value 6</td></tr><tr><td align="center">Value 7</td><td align="center">Value 8</td><td align="center">Value 9</td></tr></table>',
- "Table 2"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;overflow=fill;",180,140,'<table border="1" width="100%" height="100%" style="width:100%;height:100%;border-collapse:collapse;"><tr><td align="center">Value 1</td><td align="center">Value 2</td><td align="center">Value 3</td></tr><tr><td align="center">Value 4</td><td align="center">Value 5</td><td align="center">Value 6</td></tr><tr><td align="center">Value 7</td><td align="center">Value 8</td><td align="center">Value 9</td></tr></table>',
- "Table 3"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;overflow=fill;",160,140,'<table border="1" width="100%" height="100%" cellpadding="4" style="width:100%;height:100%;border-collapse:collapse;"><tr><th align="center"><b>Title</b></th></tr><tr><td align="center">Section 1.1\nSection 1.2\nSection 1.3</td></tr><tr><td align="center">Section 2.1\nSection 2.2\nSection 2.3</td></tr></table>',"Table 4"),this.addEntry("link hyperlink",mxUtils.bind(this,function(){var a=
- new mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");a.vertex=!0;this.graph.setLinkForCell(a,"https://www.draw.io");return this.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Link")})),this.addEntry("timestamp date time text label",mxUtils.bind(this,function(){var a=new mxCell("%date{ddd mmm dd yyyy HH:MM:ss}%",new mxGeometry(0,0,160,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");
- a.vertex=!0;this.graph.setAttributeForCell(a,"placeholders","1");return this.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Timestamp")})),this.addEntry("variable placeholder metadata hello world text label",mxUtils.bind(this,function(){var a=new mxCell("%name% Text",new mxGeometry(0,0,80,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");a.vertex=!0;this.graph.setAttributeForCell(a,"placeholders","1");this.graph.setAttributeForCell(a,
- "name","Variable");return this.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Variable")})),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;html=1;",30,60,"Actor","Actor",!1,null,"user person human stickman"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;comic=1;strokeWidth=2;fontFamily=Comic Sans MS;fontStyle=1;",120,60,"RECTANGLE","Comic Rectangle",!0,null,"comic rectangle rect box text retro"),
- this.createVertexTemplateEntry("rhombus;html=1;align=center;whiteSpace=wrap;comic=1;strokeWidth=2;fontFamily=Comic Sans MS;fontStyle=1;",100,100,"DIAMOND","Comic Diamond",!0,null,"comic diamond rhombus if condition decision conditional question test retro"),this.createEdgeTemplateEntry("rounded=0;comic=1;strokeWidth=2;endArrow=blockThin;html=1;fontFamily=Comic Sans MS;fontStyle=1;",50,50,"","Comic Arrow"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;aspect=fixed;shape=isoRectangle;",150,
- 90,"","Isometric Square",!0,null,"rectangle rect box iso isometric"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;aspect=fixed;shape=isoCube;",90,100,"","Isometric Cube",!0,null,"cube box iso isometric"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;",50,100,"","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;elbow=vertical;",50,100,"","Isometric Edge 2"),this.createVertexTemplateEntry("line;strokeWidth=2;html=1;",
- 160,10,"","Horizontal Line"),this.createVertexTemplateEntry("line;strokeWidth=2;direction=south;html=1;",10,160,"","Vertical Line"),this.createVertexTemplateEntry("line;strokeWidth=4;html=1;perimeter=backbonePerimeter;points=[];outlineConnect=0;",160,10,"","Horizontal Backbone",!1,null,"backbone bus network"),this.createVertexTemplateEntry("line;strokeWidth=4;direction=south;html=1;perimeter=backbonePerimeter;points=[];outlineConnect=0;",10,160,"","Vertical Backbone",!1,null,"backbone bus network"),
- this.createVertexTemplateEntry("shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;",20,120,"","Curly Bracket"),this.createVertexTemplateEntry("shape=crossbar;whiteSpace=wrap;html=1;rounded=1;",120,20,"","Crossbar",!1,null,"crossbar distance measure dimension unit"),this.createVertexTemplateEntry("shape=image;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;imageAspect=1;aspect=fixed;image="+this.gearImage,52,61,"","Image (Fixed Aspect)",!1,null,"fixed image icon symbol"),
- this.createVertexTemplateEntry("shape=image;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;imageAspect=0;image="+this.gearImage,50,60,"","Image (Variable Aspect)",!1,null,"strechted image icon symbol"),this.createVertexTemplateEntry("icon;html=1;image="+this.gearImage,60,60,"Icon","Icon",!1,null,"icon image symbol"),this.createVertexTemplateEntry("label;whiteSpace=wrap;html=1;image="+this.gearImage,140,60,"Label","Label 1",null,null,"label image icon symbol"),this.createVertexTemplateEntry("label;whiteSpace=wrap;html=1;align=center;verticalAlign=bottom;spacingLeft=0;spacingBottom=4;imageAlign=center;imageVerticalAlign=top;image="+
- this.gearImage,120,80,"Label","Label 2",null,null,"label image icon symbol"),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;html=1;fillColor=#ffffff;",50,50,"","Directional Arrow",null,"line lines connector connectors connection connections arrow arrows directional directed"),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;startArrow=classic;html=1;fillColor=#ffffff;",50,50,"","Bidirectional Arrow",null,"line lines connector connectors connection connections arrow arrows bidirectional"),
- this.createEdgeTemplateEntry("edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;",50,50,"","Manual Line",null,"line lines connector connectors connection connections arrow arrows manual"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=horizontal;endArrow=classic;html=1;",50,50,"","Horizontal Elbow",null,"line lines connector connectors connection connections arrow arrows elbow horizontal"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=vertical;endArrow=classic;html=1;",
- 50,50,"","Vertical Elbow",null,"line lines connector connectors connection connections arrow arrows elbow vertical"),this.addEntry("curve",mxUtils.bind(this,function(){var a=new mxCell("",new mxGeometry(0,0,50,50),"curved=1;endArrow=classic;html=1;");a.geometry.setTerminalPoint(new mxPoint(0,50),!0);a.geometry.setTerminalPoint(new mxPoint(50,0),!1);a.geometry.points=[new mxPoint(50,50),new mxPoint(0,0)];a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],a.geometry.width,
- a.geometry.height,"Bidirectional Curve")})),this.createEdgeTemplateEntry("shape=link;html=1;",50,50,"","Link",null,"line lines connector connectors connection connections arrow arrows link")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=a?a:!0,c)};Sidebar.prototype.addAdvancedPalette=function(a){this.addPaletteFunctions("advanced",mxResources.get("advanced"),null!=a?a:!1,this.createAdvancedShapes())};
- Sidebar.prototype.createAdvancedShapes=function(){var a=this,c=new mxCell("List Item",new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");c.vertex=!0;return[this.createVertexTemplateEntry("shape=xor;whiteSpace=wrap;html=1;",60,80,"","Or",null,null,"logic or"),this.createVertexTemplateEntry("shape=or;whiteSpace=wrap;html=1;",60,80,"","And",null,null,
- "logic and"),this.createVertexTemplateEntry("shape=dataStorage;whiteSpace=wrap;html=1;",100,80,"","Data Storage"),this.createVertexTemplateEntry("shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;",80,80,"","Tape Data"),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;",80,80,"","Manual Input"),this.createVertexTemplateEntry("shape=loopLimit;whiteSpace=wrap;html=1;",100,80,"","Loop Limit"),this.createVertexTemplateEntry("shape=offPageConnector;whiteSpace=wrap;html=1;",
- 80,80,"","Off Page Connector"),this.createVertexTemplateEntry("shape=delay;whiteSpace=wrap;html=1;",80,40,"","Delay"),this.createVertexTemplateEntry("shape=display;whiteSpace=wrap;html=1;",80,40,"","Display"),this.createVertexTemplateEntry("shape=singleArrow;direction=west;whiteSpace=wrap;html=1;",100,60,"","Arrow Left"),this.createVertexTemplateEntry("shape=singleArrow;whiteSpace=wrap;html=1;",100,60,"","Arrow Right"),this.createVertexTemplateEntry("shape=singleArrow;direction=north;whiteSpace=wrap;html=1;",
- 60,100,"","Arrow Up"),this.createVertexTemplateEntry("shape=singleArrow;direction=south;whiteSpace=wrap;html=1;",60,100,"","Arrow Down"),this.createVertexTemplateEntry("shape=doubleArrow;whiteSpace=wrap;html=1;",100,60,"","Double Arrow"),this.createVertexTemplateEntry("shape=doubleArrow;direction=south;whiteSpace=wrap;html=1;",60,100,"","Double Arrow Vertical",null,null,"double arrow"),this.createVertexTemplateEntry("shape=actor;whiteSpace=wrap;html=1;",40,60,"","User",null,null,"user person human"),
- this.createVertexTemplateEntry("shape=cross;whiteSpace=wrap;html=1;",80,80,"","Cross"),this.createVertexTemplateEntry("shape=corner;whiteSpace=wrap;html=1;",80,80,"","Corner"),this.createVertexTemplateEntry("shape=tee;whiteSpace=wrap;html=1;",80,80,"","Tee"),this.createVertexTemplateEntry("shape=datastore;whiteSpace=wrap;html=1;",60,60,"","Data Store",null,null,"data store cylinder database"),this.createVertexTemplateEntry("shape=orEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;",80,80,
- "","Or",null,null,"or circle oval ellipse"),this.createVertexTemplateEntry("shape=sumEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;",80,80,"","Sum",null,null,"sum circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;",80,80,"","Ellipse with horizontal divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;line=vertical;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;",80,80,"","Ellipse with vertical divider",
- null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=sortShape;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;",80,80,"","Sort",null,null,"sort"),this.createVertexTemplateEntry("shape=collate;whiteSpace=wrap;html=1;",80,80,"","Collate",null,null,"collate"),this.createVertexTemplateEntry("shape=switch;whiteSpace=wrap;html=1;",60,60,"","Switch",null,null,"switch router"),this.createVertexTemplateEntry("shape=dimension;whiteSpace=wrap;html=1;align=center;points=[];verticalAlign=bottom;spacingBottom=-5;labelBackgroundColor=#ffffff",
- 100,40,"Label","Horizontal Dimension",null,null,"horizontal dimension measure distance unit"),this.createVertexTemplateEntry("shape=dimension;direction=north;whiteSpace=wrap;html=1;align=right;points=[];verticalAlign=middle;labelBackgroundColor=#ffffff",40,100,"Label","Vertical Dimension",null,null,"vertical dimension measure distance unit"),this.createVertexTemplateEntry("swimlane;",200,200,"Container","Container",null,null,"container swimlane lane pool"),this.addEntry("list",function(){var d=new mxCell("List",
- new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;");d.vertex=!0;d.insert(a.cloneCell(c,"Item 1"));d.insert(a.cloneCell(c,"Item 2"));d.insert(a.cloneCell(c,"Item 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"List")}),this.addEntry("list item entry value",function(){return a.createVertexTemplateFromCells([a.cloneCell(c,
- "List Item")],c.geometry.width,c.geometry.height,"List Item")})]};
- Sidebar.prototype.addUmlPalette=function(a){var c=this,d=new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");d.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");b.vertex=
- !0;var e=[this.createVertexTemplateEntry("html=1;",110,50,"Object","Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("html=1;",110,50,"«interface»<br><b>Name</b>","Interface",null,null,"uml static class interface object instance annotated annotation"),this.addEntry("uml static class object instance",function(){var a=new mxCell("Classname",new mxGeometry(0,0,160,90),"swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;");
- a.vertex=!0;a.insert(d.clone());a.insert(b.clone());a.insert(c.cloneCell(d,"+ method(type): type"));return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Class")}),this.addEntry("uml static class section subsection",function(){var a=new mxCell("Classname",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;");
- a.vertex=!0;a.insert(d.clone());a.insert(d.clone());a.insert(d.clone());return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Class 2")}),this.addEntry("uml static class item member method function variable field attribute label",function(){return c.createVertexTemplateFromCells([c.cloneCell(d,"+ item: attribute")],d.geometry.width,d.geometry.height,"Item 1")}),this.addEntry("uml static class item member method function variable field attribute label",function(){var a=new mxCell("item: attribute",
- new mxGeometry(0,0,120,d.geometry.height),"label;fontStyle=0;strokeColor=none;fillColor=none;align=left;verticalAlign=top;overflow=hidden;spacingLeft=28;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;imageWidth=16;imageHeight=16;image="+c.gearImage);a.vertex=!0;return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Item 2")}),this.addEntry("uml static class divider hline line separator",function(){return c.createVertexTemplateFromCells([b.clone()],
- b.geometry.width,b.geometry.height,"Divider")}),this.addEntry("uml static class spacer space gap separator",function(){var a=new mxCell("",new mxGeometry(0,0,20,14),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;fontStyle=1;verticalAlign=middle;spacingLeft=3;spacingRight=3;strokeColor=none;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;",
- 80,26,"Title","Title",null,null,"uml static class title label"),this.addEntry("uml static class component",function(){var a=new mxCell("«Annotation»<br/><b>Component</b>",new mxGeometry(0,0,180,90),"html=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(1,0,20,20),"shape=component;jettyWidth=8;jettyHeight=4;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-27,7);a.insert(b);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Component")}),
- this.addEntry("uml static class component",function(){var a=new mxCell('<p style="margin:0px;margin-top:6px;text-align:center;"><b>Component</b></p><hr/><p style="margin:0px;margin-left:8px;">+ Attribute1: Type<br/>+ Attribute2: Type</p>',new mxGeometry(0,0,180,90),"align=left;overflow=fill;html=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(1,0,20,20),"shape=component;jettyWidth=8;jettyHeight=4;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-24,4);a.insert(b);return c.createVertexTemplateFromCells([a],
- a.geometry.width,a.geometry.height,"Component with Attributes")}),this.createVertexTemplateEntry("verticalAlign=top;align=left;spacingTop=8;spacingLeft=2;spacingRight=12;shape=cube;size=10;direction=south;fontStyle=4;html=1;",180,120,"Block","Block",null,null,"uml static class block"),this.createVertexTemplateEntry("shape=component;align=left;spacingLeft=36;",120,60,"Module","Module",null,null,"uml static class module"),this.createVertexTemplateEntry("shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;",
- 70,50,"package","Package",null,null,"uml static class package"),this.createVertexTemplateEntry("verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;",160,90,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"><b>Object:Type</b></p><hr/><p style="margin:0px;margin-left:8px;">field1 = value1<br/>field2 = value2<br>field3 = value3</p>',"Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("verticalAlign=top;align=left;overflow=fill;html=1;",
- 180,90,'<div style="box-sizing:border-box;width:100%;background:#e4e4e4;padding:2px;">Tablename</div><table style="width:100%;font-size:1em;" cellpadding="2" cellspacing="0"><tr><td>PK</td><td>uniqueId</td></tr><tr><td>FK1</td><td>foreignKey</td></tr><tr><td></td><td>fieldname</td></tr></table>',"Entity",null,null,"er entity table"),this.addEntry("uml static class object instance",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1"/><div style="height:2px;"></div>',
- new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Class 3")}),this.addEntry("uml static class object instance",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1"/><div style="height:2px;"></div><hr size="1"/><div style="height:2px;"></div>',new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;");
- a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Class 4")}),this.addEntry("uml static class object instance",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;">+ field: Type</p><hr size="1"/><p style="margin:0px;margin-left:4px;">+ method(): Type</p>',new mxGeometry(0,0,160,90),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;");
- a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Class 5")}),this.addEntry("uml static class object instance",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><i><<Interface>></i><br/><b>Interface</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;">+ field1: Type<br/>+ field2: Type</p><hr size="1"/><p style="margin:0px;margin-left:4px;">+ method1(Type): Type<br/>+ method2(Type, Type): Type</p>',
- new mxGeometry(0,0,190,140),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Interface 2")}),this.createVertexTemplateEntry("shape=lollipop;direction=south;html=1;",30,10,"","Provided Interface",null,null,"uml static class provided interface"),this.createVertexTemplateEntry("shape=requires;direction=north;html=1;",30,20,"","Required Interface",null,null,"uml static class required interface"),
- this.createVertexTemplateEntry("shape=umlBoundary;whiteSpace=wrap;html=1;",100,80,"Boundary Object","Boundary Object",null,null,"uml boundary object"),this.createVertexTemplateEntry("ellipse;shape=umlEntity;whiteSpace=wrap;html=1;",80,80,"Entity Object","Entity Object",null,null,"uml entity object"),this.createVertexTemplateEntry("ellipse;shape=umlControl;whiteSpace=wrap;html=1;",70,80,"Control Object","Control Object",null,null,"uml control object"),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;html=1;",
- 30,60,"Actor","Actor",!1,null,"uml actor"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",140,70,"Use Case","Use Case",null,null,"uml use case usecase"),this.addEntry("uml activity state start",function(){var a=new mxCell("",new mxGeometry(0,0,30,30),"ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
- b.geometry.setTerminalPoint(new mxPoint(15,90),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],30,90,"Start")}),this.addEntry("uml activity state",function(){var a=new mxCell("Activity",new mxGeometry(0,0,120,40),"rounded=1;whiteSpace=wrap;html=1;arcSize=40;fillColor=#ffffc0;strokeColor=#ff0000;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");
- b.geometry.setTerminalPoint(new mxPoint(60,100),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],120,100,"Activity")}),this.addEntry("uml activity composite state",function(){var a=new mxCell("Composite State",new mxGeometry(0,0,160,60),"swimlane;html=1;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;");
- a.vertex=!0;var b=new mxCell("Subtitle",new mxGeometry(0,0,200,26),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;");b.vertex=!0;a.insert(b);b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");b.geometry.setTerminalPoint(new mxPoint(80,120),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,
- b],160,120,"Composite State")}),this.addEntry("uml activity condition",function(){var a=new mxCell("Condition",new mxGeometry(0,0,80,40),"rhombus;whiteSpace=wrap;html=1;fillColor=#ffffc0;strokeColor=#ff0000;");a.vertex=!0;var b=new mxCell("no",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");b.geometry.setTerminalPoint(new mxPoint(180,20),!1);b.geometry.relative=!0;b.geometry.x=-1;b.edge=!0;a.insertEdge(b,
- !0);var d=new mxCell("yes",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=top;endArrow=open;endSize=8;strokeColor=#ff0000;");d.geometry.setTerminalPoint(new mxPoint(40,100),!1);d.geometry.relative=!0;d.geometry.x=-1;d.edge=!0;a.insertEdge(d,!0);return c.createVertexTemplateFromCells([a,b,d],180,100,"Condition")}),this.addEntry("uml activity fork join",function(){var a=new mxCell("",new mxGeometry(0,0,200,10),"shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;");
- a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");b.geometry.setTerminalPoint(new mxPoint(100,80),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],200,80,"Fork/Join")}),this.createVertexTemplateEntry("ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000;",30,30,"","End",null,null,"uml activity state end"),this.createVertexTemplateEntry("shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;",
- 100,300,":Object","Lifeline",null,null,"uml sequence participant lifeline"),this.createVertexTemplateEntry("shape=umlLifeline;participant=umlActor;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;verticalAlign=top;spacingTop=36;labelBackgroundColor=#ffffff;outlineConnect=0;",20,300,"","Actor Lifeline",null,null,"uml sequence participant lifeline actor"),this.createVertexTemplateEntry("shape=umlLifeline;participant=umlBoundary;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;verticalAlign=top;spacingTop=36;labelBackgroundColor=#ffffff;outlineConnect=0;",
- 50,300,"","Boundary Lifeline",null,null,"uml sequence participant lifeline boundary"),this.createVertexTemplateEntry("shape=umlLifeline;participant=umlEntity;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;verticalAlign=top;spacingTop=36;labelBackgroundColor=#ffffff;outlineConnect=0;",40,300,"","Entity Lifeline",null,null,"uml sequence participant lifeline entity"),this.createVertexTemplateEntry("shape=umlLifeline;participant=umlControl;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;verticalAlign=top;spacingTop=36;labelBackgroundColor=#ffffff;outlineConnect=0;",
- 40,300,"","Control Lifeline",null,null,"uml sequence participant lifeline control"),this.createVertexTemplateEntry("shape=umlFrame;whiteSpace=wrap;html=1;",300,200,"frame","Frame",null,null,"uml sequence frame"),this.createVertexTemplateEntry("shape=umlDestroy;whiteSpace=wrap;html=1;strokeWidth=3;",30,30,"","Destruction",null,null,"uml sequence destruction destroy"),this.createVertexTemplateEntry("shape=note;whiteSpace=wrap;html=1;size=14;verticalAlign=top;align=left;spacingTop=-6;",100,70,"Note",
- "Note",null,null,"uml note"),this.addEntry("uml sequence invoke invocation call activation",function(){var a=new mxCell("",new mxGeometry(0,0,10,80),"html=1;points=[];perimeter=orthogonalPerimeter;");a.vertex=!0;var b=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=oval;endArrow=block;startSize=8;");b.geometry.setTerminalPoint(new mxPoint(-60,0),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return c.createVertexTemplateFromCells([a,b],10,80,"Found Message")}),
- this.addEntry("uml sequence invoke call delegation synchronous invocation activation",function(){var a=new mxCell("",new mxGeometry(0,0,10,80),"html=1;points=[];perimeter=orthogonalPerimeter;");a.vertex=!0;var b=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;");b.geometry.setTerminalPoint(new mxPoint(-70,0),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);var d=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;exitX=0;exitY=0.95;");
- d.geometry.setTerminalPoint(new mxPoint(-70,76),!1);d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);return c.createVertexTemplateFromCells([a,b,d],10,80,"Synchronous Invocation")}),this.addEntry("uml sequence self call recursion delegation activation",function(){var a=new mxCell("",new mxGeometry(0,20,10,40),"html=1;points=[];perimeter=orthogonalPerimeter;");a.vertex=!0;var b=new mxCell("self call",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;");
- b.geometry.setTerminalPoint(new mxPoint(5,0),!0);b.geometry.points=[new mxPoint(30,0)];b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return c.createVertexTemplateFromCells([a,b],10,60,"Self Call")}),this.addEntry("uml sequence invoke call delegation callback activation",function(){return c.createVertexTemplateFromData("xZRNT8MwDIZ/Ta6oaymD47rBTkiTuMAxW6wmIm0q19s6fj1OE3V0Y2iCA4dK8euP2I+riGxedUuUjX52CqzIHkU2R+conKpuDtaKNDFKZAuRpgl/In264J303qSRCDVdk5CGhJ20WwhKEFo62ChoqritxURkReNMTa2X80LkC68AmgoIkEWHpF3pamlXR7WIFwASdBeb7KXY4RIc5+KBQ/ZGkY4RYY5Egyl1zLqLmmyDXQ6Zx4n5EIf+HkB2BmAjrV3LzftPIPw4hgNn1pQ1a2tH5Cp2QK1miG7vNeu4iJe4pdeY2BtvbCQDGlAljMCQxBJotJ8rWCFYSWY3LvUdmZi68rvkkLiU6QnL1m1xAzHoBOdw61WEb88II9AW67/ydQ2wq1Cy1aAGvOrFfPh6997qDA3g+dxzv3nIL6MPU/8T+kMw8+m4QPgdfrEJNo8PSQj/+s58Ag==",
- 10,60,"Callback")}),this.createVertexTemplateEntry("html=1;points=[];perimeter=orthogonalPerimeter;",10,80,"","Activation",null,null,"uml sequence activation"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;startArrow=oval;startFill=1;endArrow=block;startSize=8;",60,0,"dispatch","Found Message 1",null,"uml sequence message call invoke dispatch"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;startArrow=circle;startFill=1;endArrow=open;startSize=6;endSize=8;",80,0,"dispatch",
- "Found Message 2",null,"uml sequence message call invoke dispatch"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;endArrow=block;",80,0,"dispatch","Message",null,"uml sequence message call invoke dispatch"),this.addEntry("uml sequence return message",function(){var a=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;");a.geometry.setTerminalPoint(new mxPoint(80,0),!0);a.geometry.setTerminalPoint(new mxPoint(0,0),!1);a.geometry.relative=
- !0;a.edge=!0;return c.createEdgeTemplateFromCells([a],80,0,"Return")}),this.addEntry("uml relation",function(){var a=new mxCell("name",new mxGeometry(0,0,0,0),"endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.edge=!0;var b=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;labelBackgroundColor=#ffffff;fontSize=10;");
- b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],160,0,"Relation 1")}),this.addEntry("uml association",function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("parent",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;labelBackgroundColor=#ffffff;fontSize=10;");
- b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("child",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=#ffffff;fontSize=10;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],160,0,"Association 1")}),this.addEntry("uml aggregation",function(){var a=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");
- a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.geometry.y=3;a.edge=!0;return c.createEdgeTemplateFromCells([a],160,0,"Aggregation 1")}),this.addEntry("uml composition",function(){var a=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");a.geometry.setTerminalPoint(new mxPoint(0,
- 0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.geometry.y=3;a.edge=!0;return c.createEdgeTemplateFromCells([a],160,0,"Composition 1")}),this.addEntry("uml relation",function(){var a=new mxCell("Relation",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=
- !0;a.edge=!0;var b=new mxCell("0..n",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=#ffffff;fontSize=10;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=#ffffff;fontSize=10;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],160,0,"Relation 2")}),this.createEdgeTemplateEntry("endArrow=open;endSize=12;dashed=1;html=1;",
- 160,0,"Use","Dependency",null,"uml dependency use"),this.createEdgeTemplateEntry("endArrow=block;endSize=16;endFill=0;html=1;",160,0,"Extends","Generalization",null,"uml generalization extend"),this.createEdgeTemplateEntry("endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;",160,0,"","Association 2",null,"uml association"),this.createEdgeTemplateEntry("endArrow=open;startArrow=circlePlus;endFill=0;startFill=0;endSize=8;html=1;",160,0,"","Inner Class",null,"inner class"),this.createEdgeTemplateEntry("endArrow=open;startArrow=cross;endFill=0;startFill=0;endSize=8;startSize=10;html=1;",
- 160,0,"","Terminate",null,"terminate"),this.createEdgeTemplateEntry("endArrow=block;dashed=1;endFill=0;endSize=12;html=1;",160,0,"","Implementation",null,"realization implementation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=0;endSize=24;html=1;",160,0,"","Aggregation 2",null,"aggregation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=1;endSize=24;html=1;",160,0,"","Composition 2",null,"composition"),this.createEdgeTemplateEntry("endArrow=open;endFill=1;endSize=12;html=1;",
- 160,0,"","Association 3",null,"association")];this.addPaletteFunctions("uml",mxResources.get("uml"),a||!1,e)};
- Sidebar.prototype.addBpmnPalette=function(a,c){var d=this,b=[this.createVertexTemplateEntry("shape=ext;rounded=1;html=1;whiteSpace=wrap;",120,80,"Task","Process",null,null,"bpmn task process"),this.createVertexTemplateEntry("shape=ext;rounded=1;html=1;whiteSpace=wrap;double=1;",120,80,"Transaction","Transaction",null,null,"bpmn transaction"),this.createVertexTemplateEntry("shape=ext;rounded=1;html=1;whiteSpace=wrap;dashed=1;dashPattern=1 4;",120,80,"Event\nSub-Process","Event Sub-Process",null,null,
- "bpmn event subprocess sub process sub-process"),this.createVertexTemplateEntry("shape=ext;rounded=1;html=1;whiteSpace=wrap;strokeWidth=3;",120,80,"Call Activity","Call Activity",null,null,"bpmn call activity"),this.addEntry("bpmn subprocess sub process sub-process",function(){var a=new mxCell("Sub-Process",new mxGeometry(0,0,120,80),"html=1;whiteSpace=wrap;rounded=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(.5,1,14,14),"html=1;shape=plus;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=
- new mxPoint(-7,-14);a.insert(b);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Sub-Process")}),this.addEntry(this.getTagsForStencil("mxgraph.bpmn","loop","subprocess sub process sub-process looped").join(" "),function(){var a=new mxCell("Looped\nSub-Process",new mxGeometry(0,0,120,80),"html=1;whiteSpace=wrap;rounded=1");a.vertex=!0;var b=new mxCell("",new mxGeometry(.5,1,14,14),"html=1;shape=mxgraph.bpmn.loop;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=
- new mxPoint(-15,-14);a.insert(b);b=new mxCell("",new mxGeometry(.5,1,14,14),"html=1;shape=plus;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(1,-14);a.insert(b);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Looped Sub-Process")}),this.addEntry("bpmn receive task",function(){var a=new mxCell("Receive",new mxGeometry(0,0,120,80),"html=1;whiteSpace=wrap;rounded=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,20,14),"html=1;shape=message;");
- b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(7,7);a.insert(b);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Receive Task")}),this.addEntry(this.getTagsForStencil("mxgraph.bpmn","user_task").join(" "),function(){var a=new mxCell("User",new mxGeometry(0,0,120,80),"html=1;whiteSpace=wrap;rounded=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,14,14),"html=1;shape=mxgraph.bpmn.user_task;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=
- new mxPoint(7,7);a.insert(b);b=new mxCell("",new mxGeometry(.5,1,14,14),"html=1;shape=plus;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-7,-14);a.insert(b);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"User Task")}),this.addEntry(this.getTagsForStencil("mxgraph.bpmn","timer_start","attached").join(" "),function(){var a=new mxCell("Process",new mxGeometry(0,0,120,80),"html=1;whiteSpace=wrap;rounded=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(1,
- 1,30,30),"shape=mxgraph.bpmn.timer_start;perimeter=ellipsePerimeter;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-40,-15);a.insert(b);return d.createVertexTemplateFromCells([a],120,95,"Attached Timer Event 1")}),this.addEntry(this.getTagsForStencil("mxgraph.bpmn","timer_start","attached").join(" "),function(){var a=new mxCell("Process",new mxGeometry(0,0,120,80),"html=1;whiteSpace=wrap;rounded=1;");
- a.vertex=!0;var b=new mxCell("",new mxGeometry(1,0,30,30),"shape=mxgraph.bpmn.timer_start;perimeter=ellipsePerimeter;html=1;labelPosition=right;labelBackgroundColor=#ffffff;align=left;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-15,10);a.insert(b);return d.createVertexTemplateFromCells([a],135,80,"Attached Timer Event 2")}),this.createVertexTemplateEntry("swimlane;html=1;horizontal=0;startSize=20;",320,240,"Pool","Pool",null,null,"bpmn pool"),this.createVertexTemplateEntry("swimlane;html=1;horizontal=0;swimlaneFillColor=white;swimlaneLine=0;",
- 300,120,"Lane","Lane",null,null,"bpmn lane"),this.createVertexTemplateEntry("shape=hexagon;html=1;whiteSpace=wrap;perimeter=hexagonPerimeter;",60,50,"","Conversation",null,null,"bpmn conversation"),this.createVertexTemplateEntry("shape=hexagon;html=1;whiteSpace=wrap;perimeter=hexagonPerimeter;strokeWidth=4",60,50,"","Call Conversation",null,null,"bpmn call conversation"),this.addEntry("bpmn subconversation sub conversation sub-conversation",function(){var a=new mxCell("",new mxGeometry(0,0,60,50),
- "shape=hexagon;whiteSpace=wrap;html=1;perimeter=hexagonPerimeter;");a.vertex=!0;var b=new mxCell("",new mxGeometry(.5,1,14,14),"html=1;shape=plus;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-7,-14);a.insert(b);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Sub-Conversation")}),this.addEntry("bpmn data object",function(){var a=new mxCell("",new mxGeometry(0,0,40,60),"shape=note;whiteSpace=wrap;size=16;html=1;");a.vertex=!0;var b=new mxCell("",
- new mxGeometry(0,0,14,14),"html=1;shape=singleArrow;arrowWidth=0.4;arrowSize=0.4;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(2,2);a.insert(b);b=new mxCell("",new mxGeometry(.5,1,14,14),"html=1;whiteSpace=wrap;shape=parallelMarker;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-7,-14);a.insert(b);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Data Object")}),this.createVertexTemplateEntry("shape=datastore;whiteSpace=wrap;html=1;",
- 60,60,"","Data Store",null,null,"bpmn data store"),this.createVertexTemplateEntry("shape=plus;html=1;",14,14,"","Sub-Process Marker",null,null,"bpmn subprocess sub process sub-process marker"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.loop;html=1;",14,14,"","Loop Marker",null,null,"bpmn loop marker"),this.createVertexTemplateEntry("shape=parallelMarker;html=1;",14,14,"","Parallel MI Marker",null,null,"bpmn parallel mi marker"),this.createVertexTemplateEntry("shape=parallelMarker;direction=south;html=1;",
- 14,14,"","Sequential MI Marker",null,null,"bpmn sequential mi marker"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.ad_hoc;fillColor=#000000;html=1;",14,14,"","Ad Hoc Marker",null,null,"bpmn ad hoc marker"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.compensation;html=1;",14,14,"","Compensation Marker",null,null,"bpmn compensation marker"),this.createVertexTemplateEntry("shape=message;whiteSpace=wrap;html=1;fillColor=#000000;strokeColor=#ffffff;strokeWidth=2;",40,30,"","Send Task",null,
- null,"bpmn send task"),this.createVertexTemplateEntry("shape=message;whiteSpace=wrap;html=1;",40,30,"","Receive Task",null,null,"bpmn receive task"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.user_task;html=1;",14,14,"","User Task",null,null,this.getTagsForStencil("mxgraph.bpmn","user_task").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.bpmn.manual_task;html=1;",14,14,"","Manual Task",null,null,this.getTagsForStencil("mxgraph.bpmn","user_task").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.bpmn.business_rule_task;html=1;",
- 14,14,"","Business Rule Task",null,null,this.getTagsForStencil("mxgraph.bpmn","business_rule_task").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.bpmn.service_task;html=1;",14,14,"","Service Task",null,null,this.getTagsForStencil("mxgraph.bpmn","service_task").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.bpmn.script_task;html=1;",14,14,"","Script Task",null,null,this.getTagsForStencil("mxgraph.bpmn","script_task").join(" ")),this.createEdgeTemplateEntry("endArrow=block;endFill=1;endSize=6;html=1;",
- 100,0,"","Sequence Flow",null,"bpmn sequence flow"),this.createEdgeTemplateEntry("startArrow=dash;startSize=8;endArrow=block;endFill=1;endSize=6;html=1;",100,0,"","Default Flow",null,"bpmn default flow"),this.createEdgeTemplateEntry("startArrow=diamondThin;startFill=0;startSize=14;endArrow=block;endFill=1;endSize=6;html=1;",100,0,"","Conditional Flow",null,"bpmn conditional flow"),this.createEdgeTemplateEntry("startArrow=oval;startFill=0;startSize=7;endArrow=block;endFill=0;endSize=10;dashed=1;html=1;",
- 100,0,"","Message Flow 1",null,"bpmn message flow"),this.addEntry("bpmn message flow",function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"startArrow=oval;startFill=0;startSize=7;endArrow=block;endFill=0;endSize=10;dashed=1;html=1;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(100,0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("",new mxGeometry(0,0,20,14),"shape=message;html=1;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;b.geometry.offset=
- new mxPoint(-10,-7);a.insert(b);return d.createEdgeTemplateFromCells([a],100,0,"Message Flow 2")}),this.createEdgeTemplateEntry("shape=link;html=1;",100,0,"","Link",null,"bpmn link")];this.addPaletteFunctions("bpmn","BPMN "+mxResources.get("general"),!1,b)};Sidebar.prototype.createTitle=function(a){var c=document.createElement("a");c.setAttribute("href","javascript:void(0);");c.setAttribute("title",mxResources.get("sidebarTooltip"));c.className="geTitle";mxUtils.write(c,a);return c};
- Sidebar.prototype.createThumb=function(a,c,d,b,e,f,h,g,k){this.graph.labelsVisible=null==f||f;f=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.view.scaleAndTranslate(1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();g=Math.floor(100*Math.min((c-2*this.thumbBorder)/a.width,(d-2*this.thumbBorder)/a.height))/100;this.graph.view.scaleAndTranslate(g,Math.floor((c-a.width*g)/2/g-a.x),Math.floor((d-a.height*g)/2/g-a.y));this.graph.dialect!=mxConstants.DIALECT_SVG||
- mxClient.NO_FO?(g=this.graph.container.cloneNode(!1),g.innerHTML=this.graph.container.innerHTML):g=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();mxClient.NO_FO=f;mxClient.IS_IE6&&(b.style.backgroundImage="url("+this.editorUi.editor.transparentImage+")");g.style.position="relative";g.style.overflow="hidden";g.style.cursor="move";g.style.left=this.thumbBorder+"px";g.style.top=this.thumbBorder+"px";g.style.width=c+"px";g.style.height=d+"px";g.style.visibility=
- "";g.style.minWidth="";g.style.minHeight="";b.appendChild(g);this.sidebarTitles&&null!=e&&0!=h&&(b.style.height=this.thumbHeight+(mxClient.IS_QUIRKS?2*this.thumbPadding+2:0)+this.sidebarTitleSize+8+"px",c=document.createElement("div"),c.style.fontSize=this.sidebarTitleSize+"px",c.style.color="#303030",c.style.textAlign="center",c.style.whiteSpace="nowrap",mxClient.IS_IE&&(c.style.height=this.sidebarTitleSize+12+"px"),c.style.paddingTop="4px",mxUtils.write(c,e),b.appendChild(c));return a};
- Sidebar.prototype.createItem=function(a,c,d,b,e,f,h){var g=document.createElement("a");g.setAttribute("href","javascript:void(0);");g.className="geItem";g.style.overflow="hidden";var k=mxClient.IS_QUIRKS?8+2*this.thumbPadding:2*this.thumbBorder;g.style.width=this.thumbWidth+k+"px";g.style.height=this.thumbHeight+k+"px";g.style.padding=this.thumbPadding+"px";mxClient.IS_IE6&&(g.style.border="none");mxEvent.addListener(g,"click",function(a){mxEvent.consume(a)});this.createThumb(a,this.thumbWidth,this.thumbHeight,
- g,c,d,b,e,f);var l=new mxRectangle(0,0,e,f);1<a.length||a[0].vertex?(b=this.createDragSource(g,this.createDropHandler(a,!0,h,l),this.createDragPreview(e,f),a,l),this.addClickHandler(g,b,a),b.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):null!=a[0]&&a[0].edge&&(b=this.createDragSource(g,this.createDropHandler(a,!1,h,l),this.createDragPreview(e,f),a,l),this.addClickHandler(g,b,a));mxClient.IS_IOS||mxEvent.addGestureListeners(g,null,mxUtils.bind(this,
- function(b){mxEvent.isMouseEvent(b)&&this.showTooltip(g,a,l.width,l.height,c,d)}));return g};
- Sidebar.prototype.updateShapes=function(a,c){var d=this.editorUi.editor.graph,b=d.getCellStyle(a),e=[];d.model.beginUpdate();try{for(var f=d.getModel().getStyle(a),h="shadow dashed dashPattern fontFamily fontSize fontColor align startFill startSize endFill endSize strokeColor strokeWidth fillColor gradientColor html part noEdgeStyle edgeStyle elbow childLayout".split(" "),g=0;g<c.length;g++){var k=c[g];if(d.getModel().isVertex(k)==d.getModel().isVertex(a)||d.getModel().isEdge(k)==d.getModel().isEdge(a)){var l=
- d.view.getState(k),m=null!=l?l.style:d.getCellStyle(c[g]);d.getModel().setStyle(k,f);if(null!=l&&"1"==mxUtils.getValue(l.style,"composite","0"))for(var n=d.model.getChildCount(k);0<=n;n--)d.model.remove(d.model.getChildAt(k,n));if(null!=m)for("umlLifeline"==m[mxConstants.STYLE_SHAPE]&&"umlLifeline"!=b[mxConstants.STYLE_SHAPE]&&(d.setCellStyles(mxConstants.STYLE_SHAPE,"umlLifeline",[k]),d.setCellStyles("participant",b[mxConstants.STYLE_SHAPE],[k])),n=0;n<h.length;n++){var p=m[h[n]];null!=p&&d.setCellStyles(h[n],
- p,[k])}e.push(k)}}}finally{d.model.endUpdate()}return e};
- Sidebar.prototype.createDropHandler=function(a,c,d,b){d=null!=d?d:!0;return mxUtils.bind(this,function(e,f,h,g,k){if(e.isEnabled()){a=e.getImportableCells(a);if(0<a.length){e.stopEditing();var l=null==h||mxEvent.isAltDown(f)?!1:e.isValidDropTarget(h,a,f),m=null;null==h||l||(h=null);if(!e.isCellLocked(h||e.getDefaultParent())){e.model.beginUpdate();try{g=Math.round(g);k=Math.round(k);if(c&&e.isSplitTarget(h,a,f)){var n=e.cloneCells(a);e.splitEdge(h,n,null,g-b.width/2,k-b.height/2);m=n}else 0<a.length&&
- (m=e.importCells(a,g,k,h));if(null!=e.layoutManager){var p=e.layoutManager.getLayout(h);if(null!=p){var q=e.view.scale,r=e.view.translate,t=(g+r.x)*q,u=(k+r.y)*q;for(h=0;h<m.length;h++)p.moveCell(m[h],t,u)}}d&&e.fireEvent(new mxEventObject("cellsInserted","cells",m))}finally{e.model.endUpdate()}null!=m&&0<m.length&&(e.scrollCellToVisible(m[0]),e.setSelectionCells(m))}}mxEvent.consume(f)}})};
- Sidebar.prototype.createDragPreview=function(a,c){var d=document.createElement("div");d.style.border="1px dashed black";d.style.width=a+"px";d.style.height=c+"px";return d};
- Sidebar.prototype.dropAndConnect=function(a,c,d,b){var e=this.getDropAndConnectGeometry(a,c[b],d,c),f=[];if(null!=e){var h=this.editorUi.editor.graph;h.model.beginUpdate();try{var g=h.getCellGeometry(a),k=h.getCellGeometry(c[b]),l=h.model.getParent(a),m=!0;if(null!=h.layoutManager){var n=h.layoutManager.getLayout(l);if(null!=n&&n.constructor==mxStackLayout&&(m=!1,f=h.view.getState(l),null!=f)){var p=new mxPoint(f.x/h.view.scale-h.view.translate.x,f.y/h.view.scale-h.view.translate.y);e.x+=p.x;e.y+=
- p.y;var q=e.getTerminalPoint(!1);null!=q&&(q.x+=p.x,q.y+=p.y)}}var r=k.x,t=k.y;h.model.isEdge(c[b])&&(t=r=0);var u=h.model.isEdge(a)||null!=g&&!g.relative&&m,f=c=h.importCells(c,e.x-(u?r:0),e.y-(u?t:0),u?l:null);if(h.model.isEdge(a))h.model.setTerminal(a,c[b],d==mxConstants.DIRECTION_NORTH);else if(h.model.isEdge(c[b])){h.model.setTerminal(c[b],a,!0);var v=h.getCellGeometry(c[b]);v.points=null;if(null!=v.getTerminalPoint(!1))v.setTerminalPoint(e.getTerminalPoint(!1),!1);else if(u&&h.model.isVertex(l)){var x=
- h.view.getState(l),p=new mxPoint(x.x/h.view.scale-h.view.translate.x,x.y/h.view.scale-h.view.translate.y);h.cellsMoved(c,p.x,p.y,null,null,!0)}}else k=h.getCellGeometry(c[b]),r=e.x-Math.round(k.x),t=e.y-Math.round(k.y),e.x=Math.round(k.x),e.y=Math.round(k.y),h.model.setGeometry(c[b],e),h.cellsMoved(c,r,t,null,null,!0),f=c.slice(),c.push(h.insertEdge(null,null,"",a,c[b],h.createCurrentEdgeStyle()));h.fireEvent(new mxEventObject("cellsInserted","cells",c))}finally{h.model.endUpdate()}}return f};
- Sidebar.prototype.getDropAndConnectGeometry=function(a,c,d,b){var e=this.editorUi.editor.graph,f=e.view,h=1<b.length,g=e.getCellGeometry(a);b=e.getCellGeometry(c);null!=g&&null!=b&&(b=b.clone(),e.model.isEdge(a)?(a=e.view.getState(a),g=a.absolutePoints,c=g[0],e=g[g.length-1],d==mxConstants.DIRECTION_NORTH?(b.x=c.x/f.scale-f.translate.x-b.width/2,b.y=c.y/f.scale-f.translate.y-b.height/2):(b.x=e.x/f.scale-f.translate.x-b.width/2,b.y=e.y/f.scale-f.translate.y-b.height/2)):(g.relative&&(a=e.view.getState(a),
- g=g.clone(),g.x=(a.x-f.translate.x)/f.scale,g.y=(a.y-f.translate.y)/f.scale),f=e.defaultEdgeLength,e.model.isEdge(c)&&null!=b.getTerminalPoint(!0)&&null!=b.getTerminalPoint(!1)?(c=b.getTerminalPoint(!0),e=b.getTerminalPoint(!1),f=e.x-c.x,c=e.y-c.y,f=Math.sqrt(f*f+c*c),b.x=g.getCenterX(),b.y=g.getCenterY(),b.width=1,b.height=1,d==mxConstants.DIRECTION_NORTH?(b.height=f,b.y=g.y-f,b.setTerminalPoint(new mxPoint(b.x,b.y),!1)):d==mxConstants.DIRECTION_EAST?(b.width=f,b.x=g.x+g.width,b.setTerminalPoint(new mxPoint(b.x+
- b.width,b.y),!1)):d==mxConstants.DIRECTION_SOUTH?(b.height=f,b.y=g.y+g.height,b.setTerminalPoint(new mxPoint(b.x,b.y+b.height),!1)):d==mxConstants.DIRECTION_WEST&&(b.width=f,b.x=g.x-f,b.setTerminalPoint(new mxPoint(b.x,b.y),!1))):(!h&&45<b.width&&45<b.height&&45<g.width&&45<g.height&&(b.width*=g.height/b.height,b.height=g.height),b.x=g.x+g.width/2-b.width/2,b.y=g.y+g.height/2-b.height/2,d==mxConstants.DIRECTION_NORTH?b.y=b.y-g.height/2-b.height/2-f:d==mxConstants.DIRECTION_EAST?b.x=b.x+g.width/2+
- b.width/2+f:d==mxConstants.DIRECTION_SOUTH?b.y=b.y+g.height/2+b.height/2+f:d==mxConstants.DIRECTION_WEST&&(b.x=b.x-g.width/2-b.width/2-f),e.model.isEdge(c)&&null!=b.getTerminalPoint(!0)&&null!=c.getTerminal(!1)&&(g=e.getCellGeometry(c.getTerminal(!1)),null!=g&&(d==mxConstants.DIRECTION_NORTH?(b.x-=g.getCenterX(),b.y-=g.getCenterY()+g.height/2):d==mxConstants.DIRECTION_EAST?(b.x-=g.getCenterX()-g.width/2,b.y-=g.getCenterY()):d==mxConstants.DIRECTION_SOUTH?(b.x-=g.getCenterX(),b.y-=g.getCenterY()-g.height/
- 2):d==mxConstants.DIRECTION_WEST&&(b.x-=g.getCenterX()+g.width/2,b.y-=g.getCenterY()))))));return b};
- Sidebar.prototype.createDragSource=function(a,c,d,b,e){function f(a,b){var c;mxClient.IS_IE&&!mxClient.IS_SVG?(mxClient.IS_IE6&&"CSS1Compat"!=document.compatMode?(c=document.createElement(mxClient.VML_PREFIX+":image"),c.setAttribute("src",a.src),c.style.borderStyle="none"):(c=document.createElement("div"),c.style.backgroundImage="url("+a.src+")",c.style.backgroundPosition="center",c.style.backgroundRepeat="no-repeat"),c.style.width=a.width+4+"px",c.style.height=a.height+4+"px",c.style.display=mxClient.IS_QUIRKS?
- "inline":"inline-block"):(c=mxUtils.createImage(a.src),c.style.width=a.width+"px",c.style.height=a.height+"px");null!=b&&c.setAttribute("title",b);mxUtils.setOpacity(c,a==this.refreshTarget?30:20);c.style.position="absolute";c.style.cursor="crosshair";return c}function h(a,b,c,d){null!=d.parentNode&&(mxUtils.contains(c,a,b)?(mxUtils.setOpacity(d,100),B=d):mxUtils.setOpacity(d,d==w?30:20));return c}for(var g=this.editorUi,k=g.editor.graph,l=null,m=null,n=this,p=0;p<b.length&&(null==m&&this.editorUi.editor.graph.model.isVertex(b[p])?
- m=p:null==l&&this.editorUi.editor.graph.model.isEdge(b[p])&&null==this.editorUi.editor.graph.model.getTerminal(b[p],!0)&&(l=p),null==m||null==l);p++);var q=mxUtils.makeDraggable(a,this.editorUi.editor.graph,mxUtils.bind(this,function(a,d,f,e,h){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=b&&null!=v&&B==w){var g=a.isCellSelected(v.cell)?a.getSelectionCells():[v.cell],g=this.updateShapes(a.model.isEdge(v.cell)?b[0]:b[m],g);a.setSelectionCells(g)}else null!=b&&null!=B&&null!=
- t&&B!=w?(g=a.model.isEdge(t.cell)||null==l?m:l,a.setSelectionCells(this.dropAndConnect(t.cell,b,G,g))):c.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(a.view.getState(a.getSelectionCell()))}),d,0,0,this.editorUi.editor.graph.autoscroll,!0,!0);this.editorUi.editor.graph.addListener(mxEvent.ESCAPE,function(a,b){q.isActive()&&q.reset()});var r=q.mouseDown;q.mouseDown=function(a){mxEvent.isPopupTrigger(a)||mxEvent.isMultiTouchEvent(a)||(k.stopEditing(),r.apply(this,
- arguments))};var t=null,u=null,v=null,x=!1,z=f(this.triangleUp,mxResources.get("connect")),A=f(this.triangleRight,mxResources.get("connect")),E=f(this.triangleDown,mxResources.get("connect")),F=f(this.triangleLeft,mxResources.get("connect")),w=f(this.refreshTarget,mxResources.get("replace")),J=null,K=f(this.roundDrop),I=f(this.roundDrop),G=mxConstants.DIRECTION_NORTH,B=null,N=q.createPreviewElement;q.createPreviewElement=function(a){var b=N.apply(this,arguments);mxClient.IS_SVG&&(b.style.pointerEvents=
- "none");this.previewElementWidth=b.style.width;this.previewElementHeight=b.style.height;return b};var M=q.dragEnter;q.dragEnter=function(a,b){null!=g.hoverIcons&&g.hoverIcons.setDisplay("none");M.apply(this,arguments)};var P=q.dragExit;q.dragExit=function(a,b){null!=g.hoverIcons&&g.hoverIcons.setDisplay("");P.apply(this,arguments)};q.dragOver=function(a,c){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=B&&this.currentGuide.hide();if(null!=this.previewElement){var d=
- a.view;if(null!=v&&B==w)this.previewElement.style.display=a.model.isEdge(v.cell)?"none":"",this.previewElement.style.left=v.x+"px",this.previewElement.style.top=v.y+"px",this.previewElement.style.width=v.width+"px",this.previewElement.style.height=v.height+"px";else if(null!=t&&null!=B){var f=a.model.isEdge(t.cell)||null==l?m:l,h=n.getDropAndConnectGeometry(t.cell,b[f],G,b),g=a.model.isEdge(t.cell)?null:a.getCellGeometry(t.cell),k=a.getCellGeometry(b[f]),D=a.model.getParent(t.cell),y=d.translate.x*
- d.scale,C=d.translate.y*d.scale;null!=g&&!g.relative&&a.model.isVertex(D)&&(C=d.getState(D),y=C.x,C=C.y);g=k.x;k=k.y;a.model.isEdge(b[f])&&(k=g=0);this.previewElement.style.left=(h.x-g)*d.scale+y+"px";this.previewElement.style.top=(h.y-k)*d.scale+C+"px";1==b.length&&(this.previewElement.style.width=h.width*d.scale+"px",this.previewElement.style.height=h.height*d.scale+"px");this.previewElement.style.display=""}else null!=q.currentHighlight.state&&a.model.isEdge(q.currentHighlight.state.cell)?(this.previewElement.style.left=
- Math.round(parseInt(this.previewElement.style.left)-e.width*d.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-e.height*d.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="")}};var O=(new Date).getTime(),H=0,D=null,C=this.editorUi.editor.graph.getCellStyle(b[0]);q.getDropTarget=mxUtils.bind(this,function(a,c,d,f){var e=mxEvent.isAltDown(f)||
- null==b?null:a.getCellAt(c,d);if(null!=e&&!this.graph.isCellConnectable(e)){var g=this.graph.getModel().getParent(e);this.graph.getModel().isVertex(g)&&this.graph.isCellConnectable(g)&&(e=g)}a.isCellLocked(e)&&(e=null);var k=a.view.getState(e),g=B=null;D!=k?(D=k,O=(new Date).getTime(),H=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=k&&(this.updateThread=window.setTimeout(function(){null==B&&(D=k,q.getDropTarget(a,c,d,f))},this.dropTargetDelay+10))):H=(new Date).getTime()-
- O;if(2500>H&&null!=k&&!mxEvent.isShiftDown(f)&&(mxUtils.getValue(k.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(C,mxConstants.STYLE_SHAPE)&&mxUtils.getValue(k.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||"image"==mxUtils.getValue(C,mxConstants.STYLE_SHAPE)||1500<H||a.model.isEdge(k.cell))&&H>this.dropTargetDelay&&(a.model.isVertex(k.cell)&&null!=m||a.model.isEdge(k.cell)&&a.model.isEdge(b[0]))){v=k;var l=a.model.isEdge(k.cell)?a.view.getPoint(k):new mxPoint(k.getCenterX(),
- k.getCenterY()),l=new mxRectangle(l.x-this.refreshTarget.width/2,l.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);w.style.left=Math.floor(l.x)+"px";w.style.top=Math.floor(l.y)+"px";null==J&&(a.container.appendChild(w),J=w.parentNode);h(c,d,l,w)}else null==v||!mxUtils.contains(v,c,d)||1500<H&&!mxEvent.isShiftDown(f)?(v=null,null!=J&&(w.parentNode.removeChild(w),J=null)):null!=v&&null!=J&&(l=a.model.isEdge(v.cell)?a.view.getPoint(v):new mxPoint(v.getCenterX(),v.getCenterY()),
- l=new mxRectangle(l.x-this.refreshTarget.width/2,l.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height),h(c,d,l,w));if(x&&null!=t&&!mxEvent.isAltDown(f)&&null==B){g=mxRectangle.fromRectangle(t);if(a.model.isEdge(t.cell)){var y=t.absolutePoints;null!=K.parentNode&&(l=y[0],g.add(h(c,d,new mxRectangle(l.x-this.roundDrop.width/2,l.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),K)));null!=I.parentNode&&(y=y[y.length-1],g.add(h(c,d,new mxRectangle(y.x-
- this.roundDrop.width/2,y.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),I)))}else l=mxRectangle.fromRectangle(t),null!=t.shape&&null!=t.shape.boundingBox&&(l=mxRectangle.fromRectangle(t.shape.boundingBox)),l.grow(this.graph.tolerance),l.grow(HoverIcons.prototype.arrowSpacing),y=this.graph.selectionCellsHandler.getHandler(t.cell),null!=y&&(l.x-=y.horizontalOffset/2,l.y-=y.verticalOffset/2,l.width+=y.horizontalOffset,l.height+=y.verticalOffset,null!=y.rotationShape&&null!=y.rotationShape.node&&
- "hidden"!=y.rotationShape.node.style.visibility&&"none"!=y.rotationShape.node.style.display&&null!=y.rotationShape.boundingBox&&l.add(y.rotationShape.boundingBox)),g.add(h(c,d,new mxRectangle(t.getCenterX()-this.triangleUp.width/2,l.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),z)),g.add(h(c,d,new mxRectangle(l.x+l.width,t.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),A)),g.add(h(c,d,new mxRectangle(t.getCenterX()-this.triangleDown.width/
- 2,l.y+l.height,this.triangleDown.width,this.triangleDown.height),E)),g.add(h(c,d,new mxRectangle(l.x-this.triangleLeft.width,t.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),F));null!=g&&g.grow(10)}G=mxConstants.DIRECTION_NORTH;B==A?G=mxConstants.DIRECTION_EAST:B==E||B==I?G=mxConstants.DIRECTION_SOUTH:B==F&&(G=mxConstants.DIRECTION_WEST);null!=v&&B==w&&(k=v);l=(null==m||a.isCellConnectable(b[m]))&&(a.model.isEdge(e)&&null!=m||a.model.isVertex(e)&&a.isCellConnectable(e));
- if(null!=t&&5E3<=H||t!=k&&(null==g||!mxUtils.contains(g,c,d)||500<H&&null==B&&l))if(x=!1,t=5E3>H&&H>this.dropTargetDelay||a.model.isEdge(e)?k:null,null!=t&&l){g=[K,I,z,A,E,F];for(l=0;l<g.length;l++)null!=g[l].parentNode&&g[l].parentNode.removeChild(g[l]);a.model.isEdge(e)?(y=k.absolutePoints,null!=y&&(l=y[0],y=y[y.length-1],g=a.tolerance,new mxRectangle(c-g,d-g,2*g,2*g),K.style.left=Math.floor(l.x-this.roundDrop.width/2)+"px",K.style.top=Math.floor(l.y-this.roundDrop.height/2)+"px",I.style.left=Math.floor(y.x-
- this.roundDrop.width/2)+"px",I.style.top=Math.floor(y.y-this.roundDrop.height/2)+"px",null==a.model.getTerminal(e,!0)&&a.container.appendChild(K),null==a.model.getTerminal(e,!1)&&a.container.appendChild(I))):(l=mxRectangle.fromRectangle(k),null!=k.shape&&null!=k.shape.boundingBox&&(l=mxRectangle.fromRectangle(k.shape.boundingBox)),l.grow(this.graph.tolerance),l.grow(HoverIcons.prototype.arrowSpacing),y=this.graph.selectionCellsHandler.getHandler(k.cell),null!=y&&(l.x-=y.horizontalOffset/2,l.y-=y.verticalOffset/
- 2,l.width+=y.horizontalOffset,l.height+=y.verticalOffset,null!=y.rotationShape&&null!=y.rotationShape.node&&"hidden"!=y.rotationShape.node.style.visibility&&"none"!=y.rotationShape.node.style.display&&null!=y.rotationShape.boundingBox&&l.add(y.rotationShape.boundingBox)),z.style.left=Math.floor(k.getCenterX()-this.triangleUp.width/2)+"px",z.style.top=Math.floor(l.y-this.triangleUp.height)+"px",A.style.left=Math.floor(l.x+l.width)+"px",A.style.top=Math.floor(k.getCenterY()-this.triangleRight.height/
- 2)+"px",E.style.left=z.style.left,E.style.top=Math.floor(l.y+l.height)+"px",F.style.left=Math.floor(l.x-this.triangleLeft.width)+"px",F.style.top=A.style.top,"eastwest"!=k.style.portConstraint&&(a.container.appendChild(z),a.container.appendChild(E)),a.container.appendChild(A),a.container.appendChild(F));null!=k&&(u=a.selectionCellsHandler.getHandler(k.cell),null!=u&&null!=u.setHandlesVisible&&u.setHandlesVisible(!1));x=!0}else for(g=[K,I,z,A,E,F],l=0;l<g.length;l++)null!=g[l].parentNode&&g[l].parentNode.removeChild(g[l]);
- x||null==u||u.setHandlesVisible(!0);e=mxEvent.isAltDown(f)&&!mxEvent.isShiftDown(f)||null!=v&&B==w?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);g=a.getModel();if(null!=e&&(null!=B||!a.isSplitTarget(e,b,f))){for(;null!=e&&!a.isValidDropTarget(e,b,f)&&g.isVertex(g.getParent(e));)e=g.getParent(e);if(a.view.currentRoot==e||!a.isValidRoot(e)&&0==a.getModel().getChildCount(e)||a.isCellLocked(e)||g.isEdge(e))e=null}return e});q.stopDrag=function(){mxDragSource.prototype.stopDrag.apply(this,
- arguments);for(var a=[K,I,w,z,A,E,F],b=0;b<a.length;b++)null!=a[b].parentNode&&a[b].parentNode.removeChild(a[b]);null!=t&&null!=u&&u.reset();B=J=v=t=u=null};return q};
- Sidebar.prototype.itemClicked=function(a,c,d,b){b=this.editorUi.editor.graph;if(mxEvent.isAltDown(d)){if(1==b.getSelectionCount()&&b.model.isVertex(b.getSelectionCell())){c=null;for(var e=0;e<a.length&&null==c;e++)b.model.isVertex(a[e])&&(c=e);null!=c&&(b.setSelectionCells(this.dropAndConnect(b.getSelectionCell(),a,mxEvent.isMetaDown(d)||mxEvent.isControlDown(d)?mxEvent.isShiftDown(d)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(d)?mxConstants.DIRECTION_EAST:mxConstants.DIRECTION_SOUTH,
- c)),b.scrollCellToVisible(b.getSelectionCell()))}}else mxEvent.isShiftDown(d)?b.isSelectionEmpty()||(this.updateShapes(a[0],b.getSelectionCells()),b.scrollCellToVisible(b.getSelectionCell())):(a=b.getFreeInsertPoint(),c.drop(b,d,null,a.x,a.y),null!=this.editorUi.hoverIcons&&(mxEvent.isTouchEvent(d)||mxEvent.isPenEvent(d))&&this.editorUi.hoverIcons.update(b.view.getState(b.getSelectionCell())))};
- Sidebar.prototype.addClickHandler=function(a,c,d){var b=this.editorUi.editor.graph,e=c.mouseUp,f=null;mxEvent.addGestureListeners(a,function(a){f=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a))});c.mouseUp=mxUtils.bind(this,function(h){if(!mxEvent.isPopupTrigger(h)&&null==this.currentGraph&&null!=f){var g=b.tolerance;Math.abs(f.x-mxEvent.getClientX(h))<=g&&Math.abs(f.y-mxEvent.getClientY(h))<=g&&this.itemClicked(d,c,h,a)}e.apply(c,arguments);f=null;this.currentElt=a})};
- Sidebar.prototype.createVertexTemplateEntry=function(a,c,d,b,e,f,h,g){g=null!=g&&0<g.length?g:e.toLowerCase();return this.addEntry(g,mxUtils.bind(this,function(){return this.createVertexTemplate(a,c,d,b,e,f,h)}))};Sidebar.prototype.createVertexTemplate=function(a,c,d,b,e,f,h,g){a=[new mxCell(null!=b?b:"",new mxGeometry(0,0,c,d),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,c,d,e,f,h,g)};
- Sidebar.prototype.createVertexTemplateFromData=function(a,c,d,b,e,f,h){a=mxUtils.parseXml(this.graph.decompress(a));var g=new mxCodec(a),k=new mxGraphModel;g.decode(a.documentElement,k);a=this.graph.cloneCells(k.root.getChildAt(0).children);return this.createVertexTemplateFromCells(a,c,d,b,e,f,h)};Sidebar.prototype.createVertexTemplateFromCells=function(a,c,d,b,e,f,h){return this.createItem(a,b,e,f,c,d,h)};
- Sidebar.prototype.createEdgeTemplateEntry=function(a,c,d,b,e,f,h,g){h=null!=h&&0<h.length?h:e.toLowerCase();return this.addEntry(h,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,c,d,b,e,f,g)}))};
- Sidebar.prototype.createEdgeTemplate=function(a,c,d,b,e,f,h){a=new mxCell(null!=b?b:"",new mxGeometry(0,0,c,d),a);a.geometry.setTerminalPoint(new mxPoint(0,d),!0);a.geometry.setTerminalPoint(new mxPoint(c,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],c,d,e,f,h)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,c,d,b,e,f){return this.createItem(a,b,e,!0,c,d,f)};
- Sidebar.prototype.addPaletteFunctions=function(a,c,d,b){this.addPalette(a,c,d,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};
- Sidebar.prototype.addPalette=function(a,c,d,b){c=this.createTitle(c);this.container.appendChild(c);var e=document.createElement("div");e.className="geSidebar";mxClient.IS_POINTER&&(e.style.touchAction="none");mxEvent.addListener(e,"mousemove",mxUtils.bind(this,function(a){mxEvent.getSource(a)==e?e.setAttribute("title",mxResources.get("sidebarTooltip")):e.removeAttribute("title")}));d?(b(e),b=null):e.style.display="none";this.addFoldingHandler(c,e,b);d=document.createElement("div");d.appendChild(e);
- this.container.appendChild(d);null!=a&&(this.palettes[a]=[c,d]);return e};
- Sidebar.prototype.addFoldingHandler=function(a,c,d){var b=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==c.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="0% 50%";mxEvent.addListener(a,"click",mxUtils.bind(this,function(e){if("none"==c.style.display){if(b)c.style.display="block";else if(b=!0,null!=d){a.style.cursor="wait";var f=a.innerHTML;a.innerHTML=mxResources.get("loading")+
- "...";window.setTimeout(function(){var b=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;d(c);mxClient.NO_FO=b;c.style.display="block";a.style.cursor="";a.innerHTML=f},0)}else c.style.display="block";a.style.backgroundImage="url('"+this.expandedImage+"')"}else a.style.backgroundImage="url('"+this.collapsedImage+"')",c.style.display="none";mxEvent.consume(e)}))};
- Sidebar.prototype.removePalette=function(a){var c=this.palettes[a];if(null!=c){this.palettes[a]=null;for(a=0;a<c.length;a++)this.container.removeChild(c[a]);return!0}return!1};
- Sidebar.prototype.addImagePalette=function(a,c,d,b,e,f,h){for(var g=[],k=0;k<e.length;k++)mxUtils.bind(this,function(a,c,e){if(null==e){e=a.lastIndexOf("/");var f=a.lastIndexOf(".");e=a.substring(0<=e?e+1:0,0<=f?f:a.length).replace(/[-_]/g," ")}g.push(this.createVertexTemplateEntry("image;html=1;labelBackgroundColor=#ffffff;image="+d+a+b,this.defaultImageWidth,this.defaultImageHeight,"",c,null!=c,null,this.filterTags(e)))})(e[k],null!=f?f[k]:null,null!=h?h[e[k]]:null);this.addPaletteFunctions(a,c,
- !1,g)};Sidebar.prototype.getTagsForStencil=function(a,c,d){a=a.split(".");for(var b=1;b<a.length;b++)a[b]=a[b].replace(/_/g," ");a.push(c.replace(/_/g," "));null!=d&&a.push(d);return a.slice(1,a.length)};
- Sidebar.prototype.addStencilPalette=function(a,c,d,b,e,f,h,g,k){h=null!=h?h:1;if(this.addStencilsToIndex){var l=[];if(null!=k)for(var m=0;m<k.length;m++)l.push(k[m]);mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(a,c,d,f,k){if(null==e||0>mxUtils.indexOf(e,c)){d=this.getTagsForStencil(a,c);var m=null!=g?g[c]:null;null!=m&&d.push(m);l.push(this.createVertexTemplateEntry("shape="+a+c.toLowerCase()+b,Math.round(f*h),Math.round(k*h),"",c.replace(/_/g," "),null,null,this.filterTags(d.join(" "))))}}),
- !0,!0);this.addPaletteFunctions(a,c,!1,l)}else this.addPalette(a,c,!1,mxUtils.bind(this,function(a){null==b&&(b="");null!=f&&f.call(this,a);if(null!=k)for(var c=0;c<k.length;c++)k[c](a);mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(c,d,f,g,k){(null==e||0>mxUtils.indexOf(e,d))&&a.appendChild(this.createVertexTemplate("shape="+c+d.toLowerCase()+b,Math.round(g*h),Math.round(k*h),"",d.replace(/_/g," "),!0))}),!0)}))};
- Sidebar.prototype.destroy=function(){null!=this.graph&&(null!=this.graph.container&&null!=this.graph.container.parentNode&&this.graph.container.parentNode.removeChild(this.graph.container),this.graph.destroy(),this.graph=null);null!=this.pointerUpHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),this.pointerUpHandler=null);null!=this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),
- this.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};"undefined"!==typeof html4&&(html4.ATTRIBS["a::target"]=0,html4.ATTRIBS["source::src"]=0,html4.ATTRIBS["video::src"]=0);mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxGraph.prototype.pageBreakColor="#c0c0c0";mxGraph.prototype.pageScale=1;
- (function(){try{if(null!=navigator&&null!=navigator.language){var a=navigator.language.toLowerCase();mxGraph.prototype.pageFormat="en-us"===a||"en-ca"===a||"es-mx"===a?mxConstants.PAGE_FORMAT_LETTER_PORTRAIT:mxConstants.PAGE_FORMAT_A4_PORTRAIT}}catch(c){}})();mxText.prototype.baseSpacingTop=5;mxText.prototype.baseSpacingBottom=1;mxGraphModel.prototype.ignoreRelativeEdgeParent=!1;
- mxGraphView.prototype.gridImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=":IMAGE_PATH+"/grid.gif";mxGraphView.prototype.gridSteps=4;mxGraphView.prototype.minGridSize=4;mxGraphView.prototype.gridColor="#e0e0e0";mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";
- Graph=function(a,c,d,b,e){mxGraph.call(this,a,c,d,b);this.themes=e||this.defaultThemes;this.currentEdgeStyle=this.defaultEdgeStyle;this.currentVertexStyle=this.defaultVertexStyle;a=this.baseUrl;c=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<c&&(c=a.indexOf("/",c+2),0<c&&(this.domainUrl=a.substring(0,c)),c=a.lastIndexOf("/"),0<c&&(this.domainPathUrl=a.substring(0,c+1)));this.isHtmlLabel=function(a){var b=this.view.getState(a);a=null!=b?b.style:this.getCellStyle(a);return"1"==a.html||"wrap"==
- a[mxConstants.STYLE_WHITE_SPACE]};if(this.edgeMode){var f=null,h=null,g=null,k=null,l=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b){if("mouseDown"==b.getProperty("eventName")&&this.isEnabled()){var c=b.getProperty("event");if(!mxEvent.isControlDown(c.getEvent())&&!mxEvent.isShiftDown(c.getEvent())){var d=c.getState();null!=d&&this.model.isEdge(d.cell)&&(f=new mxPoint(c.getGraphX(),c.getGraphY()),l=this.isCellSelected(d.cell),g=d,h=c,null!=d.text&&null!=d.text.boundingBox&&
- mxUtils.contains(d.text.boundingBox,c.getGraphX(),c.getGraphY())?k=mxEvent.LABEL_HANDLE:(d=this.selectionCellsHandler.getHandler(d.cell),null!=d&&null!=d.bends&&0<d.bends.length&&(k=d.getHandleForEvent(c))))}}}));this.addMouseListener({mouseDown:function(a,b){},mouseMove:mxUtils.bind(this,function(a,b){var c=this.selectionCellsHandler.handlers.map,d;for(d in c)if(null!=c[d].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isControlDown(b.getEvent())&&!mxEvent.isShiftDown(b.getEvent())&&
- !mxEvent.isAltDown(b.getEvent()))if(d=this.tolerance,null!=f&&null!=g&&null!=h){if(c=g,Math.abs(f.x-b.getGraphX())>d*this.view.scale||Math.abs(f.y-b.getGraphY())>d*this.view.scale){this.isCellSelected(c.cell)||this.setSelectionCell(c.cell);var e=this.selectionCellsHandler.getHandler(c.cell);if(null!=e&&null!=e.bends&&0<e.bends.length){var m=e.getHandleForEvent(h),n=this.view.getEdgeStyle(c);d=n==mxEdgeStyle.EntityRelation;l||k!=mxEvent.LABEL_HANDLE||(m=k);if(d&&0!=m&&m!=e.bends.length-1&&m!=mxEvent.LABEL_HANDLE)!d||
- null==c.visibleSourceState&&null==c.visibleTargetState||(this.graphHandler.reset(),b.consume());else if(m==mxEvent.LABEL_HANDLE||0==m||null!=c.visibleSourceState||m==e.bends.length-1||null!=c.visibleTargetState)d||m==mxEvent.LABEL_HANDLE||(d=c.absolutePoints,null!=d&&(null==n&&null==m||n==mxEdgeStyle.OrthConnector)&&(m=k,null==m&&(m=new mxRectangle(f.x,f.y),m.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(m,d[0].x,d[0].y)?m=0:mxUtils.contains(m,d[d.length-1].x,d[d.length-1].y)?
- m=e.bends.length-1:null!=n&&(2==d.length||3==d.length&&(0==Math.round(d[0].x-d[1].x)&&0==Math.round(d[1].x-d[2].x)||0==Math.round(d[0].y-d[1].y)&&0==Math.round(d[1].y-d[2].y)))?m=2:(m=mxUtils.findNearestSegment(c,f.x,f.y),m=null==n?mxEvent.VIRTUAL_HANDLE-m:m+1))),null==m&&(m=mxEvent.VIRTUAL_HANDLE)),e.start(b.getGraphX(),b.getGraphX(),m),k=f=h=g=null,l=!1,b.consume(),this.graphHandler.reset()}}}else if(c=b.getState(),null!=c&&this.model.isEdge(c.cell)){e=null;d=c.absolutePoints;if(null!=d)if(m=new mxRectangle(b.getGraphX(),
- b.getGraphY()),m.grow(mxEdgeHandler.prototype.handleImage.width/2),null!=c.text&&null!=c.text.boundingBox&&mxUtils.contains(c.text.boundingBox,b.getGraphX(),b.getGraphY()))e="move";else if(mxUtils.contains(m,d[0].x,d[0].y)||mxUtils.contains(m,d[d.length-1].x,d[d.length-1].y))e="pointer";else if(null!=c.visibleSourceState||null!=c.visibleTargetState)n=this.view.getEdgeStyle(c),e="crosshair",n!=mxEdgeStyle.EntityRelation&&this.isOrthogonal(c)&&(n=mxUtils.findNearestSegment(c,b.getGraphX(),b.getGraphY()),
- n<d.length-1&&0<=n&&(e=0==Math.round(d[n].x-d[n+1].x)?"col-resize":"row-resize"));null!=e&&c.setCursor(e)}}),mouseUp:mxUtils.bind(this,function(a,b){k=f=h=g=null})})}this.cellRenderer.getLabelValue=function(a){var b=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);a.view.graph.isHtmlLabel(a.cell)&&(b=1!=a.style.html?mxUtils.htmlEntities(b,!1):a.view.graph.sanitizeHtml(b));return b};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);this.setPanning(!0);
- this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(a,b){return!1};this.alternateEdgeStyle="vertical";null==b&&this.loadStylesheet();var m=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=
- function(){var a=m.apply(this,arguments);if(this.graph.pageVisible){for(var b=[],c=this.graph.pageFormat,d=this.graph.pageScale,e=c.width*d,c=c.height*d,d=this.graph.view.translate,f=this.graph.view.scale,h=this.graph.getPageLayout(),g=0;g<h.width;g++)b.push(new mxRectangle(((h.x+g)*e+d.x)*f,(h.y*c+d.y)*f,e*f,c*f));for(g=0;g<h.height;g++)b.push(new mxRectangle((h.x*e+d.x)*f,((h.y+g)*c+d.y)*f,e*f,c*f));a=b.concat(a)}return a};mxDragSource.prototype.dragElementZIndex=mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=
- function(a,b){return null==a.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=function(a){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};this.graphHandler.getCells=function(a){for(var b=mxGraphHandler.prototype.getCells.apply(this,arguments),c=[],d=0;d<b.length;d++){var e=this.graph.view.getState(b[d]),e=null!=e?e.style:this.graph.getCellStyle(b[d]);
- "1"==mxUtils.getValue(e,"part","0")?(e=this.graph.model.getParent(b[d]),this.graph.model.isVertex(e)&&0>mxUtils.indexOf(b,e)&&c.push(e)):c.push(b[d])}return c};this.connectionHandler.createTargetVertex=function(a,b){var c=this.graph.view.getState(b),c=null!=c?c.style:this.graph.getCellStyle(b);mxUtils.getValue(c,"part",!1)&&(c=this.graph.model.getParent(b),this.graph.model.isVertex(c)&&(b=c));return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};var n=new mxRubberband(this);
- this.getRubberband=function(){return n};var p=(new Date).getTime(),q=0,r=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var a=this.currentState;r.apply(this,arguments);a!=this.currentState?(p=(new Date).getTime(),q=0):q=(new Date).getTime()-p};var t=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(a){return null!=this.currentState&&a.getState()==this.currentState&&2E3<q||(null==this.currentState||"0"!=mxUtils.getValue(this.currentState.style,
- "outlineConnect","1"))&&t.apply(this,arguments)};var u=this.isToggleEvent;this.isToggleEvent=function(a){return u.apply(this,arguments)||mxEvent.isShiftDown(a)};var v=n.isForceRubberbandEvent;n.isForceRubberbandEvent=function(a){return v.apply(this,arguments)||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==a.getState()&&mxEvent.isTouchEvent(a.getEvent())};var x=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&
- (x=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=x)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(a){return mxEvent.isMouseEvent(a.getEvent())};var z=this.click;this.click=function(a){if(this.isEnabled()||a.isConsumed())return z.apply(this,arguments);var b=a.getCell();null!=b&&(b=this.getLinkForCell(b),null!=b&&window.open(b))};
- var A=this.getCursorForCell;this.getCursorForCell=function(a){if(this.isEnabled())return A.apply(this,arguments);if(null!=this.getLinkForCell(a))return"pointer"};this.selectRegion=function(a,b){var c=this.getAllCells(a.x,a.y,a.width,a.height);this.selectCellsForEvent(c,b);return c};this.getAllCells=function(a,b,c,d,e,f){f=null!=f?f:[];if(0<c||0<d){var h=this.getModel(),g=a+c,k=b+d;null==e&&(e=this.getCurrentRoot(),null==e&&(e=h.getRoot()));if(null!=e)for(var l=h.getChildCount(e),D=0;D<l;D++){var m=
- h.getChildAt(e,D),y=this.view.getState(m);if(null!=y&&this.isCellVisible(m)&&"1"!=mxUtils.getValue(y.style,"locked","0")){var n=mxUtils.getValue(y.style,mxConstants.STYLE_ROTATION)||0;0!=n&&(y=mxUtils.getBoundingBox(y,n));(h.isEdge(m)||h.isVertex(m))&&y.x>=a&&y.y+y.height<=k&&y.y>=b&&y.x+y.width<=g&&f.push(m);this.getAllCells(a,b,c,d,m,f)}}}return f};var E=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(a,b,c){return this.graph.isCellSelected(a)?
- !1:E.apply(this,arguments)};this.isCellLocked=function(a){for(a=this.view.getState(a);null!=a;){if("1"==mxUtils.getValue(a.style,"locked","0"))return!0;a=this.view.getState(this.model.getParent(a.cell))}return!1};var F=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b){if("mouseDown"==b.getProperty("eventName")){var c=b.getProperty("event").getState();F=null==c||this.isSelectionEmpty()||this.isCellSelected(c.cell)?null:this.getSelectionCells()}}));this.addListener(mxEvent.TAP_AND_HOLD,
- mxUtils.bind(this,function(a,b){if(!mxEvent.isMultiTouchEvent(b)){var c=b.getProperty("event"),d=b.getProperty("cell");null==d?(c=mxUtils.convertPoint(this.container,mxEvent.getClientX(c),mxEvent.getClientY(c)),n.start(c.x,c.y)):null!=F?this.addSelectionCells(F):1<this.getSelectionCount()&&this.isCellSelected(d)&&this.removeSelectionCell(d);F=null;b.consume()}}));this.connectionHandler.selectCells=function(a,b){this.graph.setSelectionCell(b||a)};this.connectionHandler.constraintHandler.isStateIgnored=
- function(a,b){return b&&a.view.graph.isCellSelected(a.cell)};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var a=this.connectionHandler.constraintHandler;null!=a.currentFocus&&a.isStateIgnored(a.currentFocus,!0)&&(a.currentFocus=null,a.constraints=null,a.destroyIcons());a.destroyFocusHighlight()}));Graph.touchStyle&&this.initTouch();var w=this.updateMouseEvent;this.updateMouseEvent=function(a){a=w.apply(this,arguments);this.isCellLocked(a.getCell())&&(a.state=null);return a}}};
- Graph.touchStyle=mxClient.IS_TOUCH||mxClient.IS_FF&&mxClient.IS_WIN||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints||null==window.urlParams||"1"==urlParams.touch;Graph.fileSupport=null!=window.File&&null!=window.FileReader&&null!=window.FileList&&(null==window.urlParams||"0"!=urlParams.filesupport);mxUtils.extend(Graph,mxGraph);Graph.prototype.minFitScale=null;Graph.prototype.maxFitScale=null;Graph.prototype.linkPolicy="frame"==urlParams.target?"blank":urlParams.target||"auto";
- Graph.prototype.linkTarget="frame"==urlParams.target?"_self":"_blank";Graph.prototype.defaultScrollbars=!mxClient.IS_IOS;Graph.prototype.defaultPageVisible=!0;Graph.prototype.lightbox=!1;Graph.prototype.defaultGraphBackground="#ffffff";Graph.prototype.scrollTileSize=new mxRectangle(0,0,400,400);Graph.prototype.transparentBackground=!0;Graph.prototype.defaultEdgeLength=80;Graph.prototype.edgeMode=!1;Graph.prototype.connectionArrowsEnabled=!0;
- Graph.prototype.placeholderPattern=RegExp("%(date{.*}|[^%^{^}]+)%","g");Graph.prototype.absoluteUrlPattern=/^(?:[a-z]+:)?\/\//i;Graph.prototype.defaultThemeName="default";Graph.prototype.defaultThemes={};Graph.prototype.baseUrl=(window!=window.top?document.referrer:document.location.toString()).split("#")[0];
- Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(a,d){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var b=a.view.graph.tolerance,c=!0,f=null,h=mxUtils.bind(this,function(a){c=!0;f=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a))}),g=mxUtils.bind(this,function(a){c=c&&null!=f&&Math.abs(f.x-mxEvent.getClientX(a))<b&&Math.abs(f.y-mxEvent.getClientY(a))<b}),k=mxUtils.bind(this,function(b){if(c)for(var e=mxEvent.getSource(b);null!=
- e&&e!=d.node;){if("a"==e.nodeName.toLowerCase()){a.view.graph.labelLinkClicked(a,e,b);break}e=e.parentNode}});mxEvent.addGestureListeners(d.node,h,g,k);mxEvent.addListener(d.node,"click",function(a){mxEvent.consume(a)})};this.initLayoutManager()};
- Graph.prototype.labelLinkClicked=function(a,c,d){c=c.getAttribute("href");if(null!=c&&!this.isPageLink(c)){var b=a.view.graph.isBlankLink(c)?a.view.graph.linkTarget:"_top";c=a.view.graph.getAbsoluteUrl(c);"_self"==b&&window!=window.top?window.location.href=c:c.substring(0,this.baseUrl.length)==this.baseUrl&&"#"==c.charAt(this.baseUrl.length)&&"_top"==b&&window==window.top?window.location.hash=c.split("#")[1]:window.open(c,b);mxEvent.consume(d)}};
- Graph.prototype.initLayoutManager=function(){this.layoutManager=new mxLayoutManager(this);this.layoutManager.getLayout=function(a){var c=this.graph.view.getState(a);a=null!=c?c.style:this.graph.getCellStyle(a);return"stackLayout"==a.childLayout?(c=new mxStackLayout(this.graph,!0),c.resizeParentMax="1"==mxUtils.getValue(a,"resizeParentMax","1"),c.horizontal="1"==mxUtils.getValue(a,"horizontalStack","1"),c.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),c.resizeLast="1"==mxUtils.getValue(a,
- "resizeLast","0"),c.marginLeft=a.marginLeft||0,c.marginRight=a.marginRight||0,c.marginTop=a.marginTop||0,c.marginBottom=a.marginBottom||0,c.fill=!0,c):"treeLayout"==a.childLayout?(c=new mxCompactTreeLayout(this.graph),c.horizontal="1"==mxUtils.getValue(a,"horizontalTree","1"),c.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),c.groupPadding=mxUtils.getValue(a,"parentPadding",20),c.levelDistance=mxUtils.getValue(a,"treeLevelDistance",30),c.maintainParentLocation=!0,c.edgeRouting=!1,c.resetEdges=
- !1,c):"flowLayout"==a.childLayout?(c=new mxHierarchicalLayout(this.graph,mxUtils.getValue(a,"flowOrientation",mxConstants.DIRECTION_EAST)),c.resizeParent="1"==mxUtils.getValue(a,"resizeParent","1"),c.parentBorder=mxUtils.getValue(a,"parentPadding",20),c.maintainParentLocation=!0,c.intraCellSpacing=mxUtils.getValue(a,"intraCellSpacing",mxHierarchicalLayout.prototype.intraCellSpacing),c.interRankCellSpacing=mxUtils.getValue(a,"interRankCellSpacing",mxHierarchicalLayout.prototype.interRankCellSpacing),
- c.interHierarchySpacing=mxUtils.getValue(a,"interHierarchySpacing",mxHierarchicalLayout.prototype.interHierarchySpacing),c.parallelEdgeSpacing=mxUtils.getValue(a,"parallelEdgeSpacing",mxHierarchicalLayout.prototype.parallelEdgeSpacing),c):null}};Graph.prototype.getPageSize=function(){return this.pageVisible?new mxRectangle(0,0,this.pageFormat.width*this.pageScale,this.pageFormat.height*this.pageScale):this.scrollTileSize};
- Graph.prototype.getPageLayout=function(){var a=this.getPageSize(),c=this.getGraphBounds();if(0==c.width||0==c.height)return new mxRectangle(0,0,1,1);var d=Math.ceil(c.x/this.view.scale-this.view.translate.x),b=Math.ceil(c.y/this.view.scale-this.view.translate.y),e=Math.floor(d/a.width),f=Math.floor(b/a.height);return new mxRectangle(e,f,Math.ceil((d+Math.floor(c.width/this.view.scale))/a.width)-e,Math.ceil((b+Math.floor(c.height/this.view.scale))/a.height)-f)};
- Graph.prototype.sanitizeHtml=function(a,c){return html_sanitize(a,function(a){return null!=a&&"javascript:"!==a.toString().toLowerCase().substring(0,11)?a:null},function(a){return a})};Graph.prototype.updatePlaceholders=function(){var a=!1,c;for(c in this.model.cells){var d=this.model.cells[c];this.isReplacePlaceholders(d)&&(this.view.invalidate(d,!1,!1),a=!0)}a&&this.view.validate()};Graph.prototype.isReplacePlaceholders=function(a){return null!=a.value&&"object"==typeof a.value&&"1"==a.value.getAttribute("placeholders")};
- Graph.prototype.isTransparentClickEvent=function(a){return mxEvent.isAltDown(a)};Graph.prototype.isIgnoreTerminalEvent=function(a){return mxEvent.isShiftDown(a)&&mxEvent.isControlDown(a)};Graph.prototype.isSplitTarget=function(a,c,d){return!mxEvent.isAltDown(d)&&!mxEvent.isShiftDown(d)&&mxGraph.prototype.isSplitTarget.apply(this,arguments)};
- Graph.prototype.getLabel=function(a){var c=mxGraph.prototype.getLabel.apply(this,arguments);null!=c&&this.isReplacePlaceholders(a)&&null==a.getAttribute("placeholder")&&(c=this.replacePlaceholders(a,c));return c};Graph.prototype.isLabelMovable=function(a){var c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);return!this.isCellLocked(a)&&(this.model.isEdge(a)&&this.edgeLabelsMovable||this.model.isVertex(a)&&(this.vertexLabelsMovable||"1"==mxUtils.getValue(c,"labelMovable","0")))};
- Graph.prototype.setGridSize=function(a){this.gridSize=a;this.fireEvent(new mxEventObject("gridSizeChanged"))};Graph.prototype.getGlobalVariable=function(a){var c=null;"date"==a?c=(new Date).toLocaleDateString():"time"==a?c=(new Date).toLocaleTimeString():"timestamp"==a?c=(new Date).toLocaleString():"date{"==a.substring(0,5)&&(a=a.substring(5,a.length-1),c=this.formatDate(new Date,a));return c};
- Graph.prototype.formatDate=function(a,c,d){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",
- shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var b=this.dateFormatCache,e=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,f=/[^-+\dA-Z]/g,h=function(a,b){a=String(a);for(b=b||2;a.length<b;)a="0"+a;return a};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)||
- /\d/.test(a)||(c=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");c=String(b.masks[c]||c||b.masks["default"]);"UTC:"==c.slice(0,4)&&(c=c.slice(4),d=!0);var g=d?"getUTC":"get",k=a[g+"Date"](),l=a[g+"Day"](),m=a[g+"Month"](),n=a[g+"FullYear"](),p=a[g+"Hours"](),q=a[g+"Minutes"](),r=a[g+"Seconds"](),g=a[g+"Milliseconds"](),t=d?0:a.getTimezoneOffset(),u={d:k,dd:h(k),ddd:b.i18n.dayNames[l],dddd:b.i18n.dayNames[l+7],m:m+1,mm:h(m+1),mmm:b.i18n.monthNames[m],mmmm:b.i18n.monthNames[m+
- 12],yy:String(n).slice(2),yyyy:n,h:p%12||12,hh:h(p%12||12),H:p,HH:h(p),M:q,MM:h(q),s:r,ss:h(r),l:h(g,3),L:h(99<g?Math.round(g/10):g),t:12>p?"a":"p",tt:12>p?"am":"pm",T:12>p?"A":"P",TT:12>p?"AM":"PM",Z:d?"UTC":(String(a).match(e)||[""]).pop().replace(f,""),o:(0<t?"-":"+")+h(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4),S:["th","st","nd","rd"][3<k%10?0:(10!=k%100-k%10)*k%10]};return c.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(a){return a in u?u[a]:a.slice(1,
- a.length-1)})};
- Graph.prototype.createLayersDialog=function(){var a=document.createElement("div");a.style.position="absolute";for(var c=this.getModel(),d=c.getChildCount(c.root),b=0;b<d;b++)(function(b){var d=document.createElement("div");d.style.overflow="hidden";d.style.textOverflow="ellipsis";d.style.padding="2px";d.style.whiteSpace="nowrap";var e=document.createElement("input");e.setAttribute("type","checkbox");c.isVisible(b)&&(e.setAttribute("checked","checked"),e.defaultChecked=!0);d.appendChild(e);var g=b.value||
- mxResources.get("background")||"Background";d.setAttribute("title",g);mxUtils.write(d,g);a.appendChild(d);mxEvent.addListener(e,"click",function(){null!=e.getAttribute("checked")?e.removeAttribute("checked"):e.setAttribute("checked","checked");c.setVisible(b,e.checked)})})(c.getChildAt(c.root,b));return a};
- Graph.prototype.replacePlaceholders=function(a,c){for(var d=[],b=0;match=this.placeholderPattern.exec(c);){var e=match[0];if(2<e.length&&"%label%"!=e&&"%tooltip%"!=e){var f=null;if(match.index>b&&"%"==c.charAt(match.index-1))f=e.substring(1);else{var h=e.substring(1,e.length-1);if(0>h.indexOf("{"))for(var g=a;null==f&&null!=g;)null!=g.value&&"object"==typeof g.value&&(f=g.hasAttribute(h)?null!=g.getAttribute(h)?g.getAttribute(h):"":null),g=this.model.getParent(g);null==f&&(f=this.getGlobalVariable(h))}d.push(c.substring(b,
- match.index)+(null!=f?f:e));b=match.index+e.length}}d.push(c.substring(b));return d.join("")};Graph.prototype.selectCellsForConnectVertex=function(a,c,d){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),null!=d&&(mxEvent.isTouchEvent(c)?d.update(d.getState(this.view.getState(a[1]))):d.reset()),this.scrollCellToVisible(a[1])):this.setSelectionCells(a)};
- Graph.prototype.connectVertex=function(a,c,d,b,e,f){f=f?f:!1;var h=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(a.geometry.x,a.geometry.y);c==mxConstants.DIRECTION_NORTH?(h.x+=a.geometry.width/2,h.y-=d):c==mxConstants.DIRECTION_SOUTH?(h.x+=a.geometry.width/2,h.y+=a.geometry.height+d):(h.x=c==mxConstants.DIRECTION_WEST?h.x-d:h.x+(a.geometry.width+d),h.y+=a.geometry.height/2);d=this.view.getState(this.model.getParent(a));
- var g=this.view.scale,k=this.view.translate,l=k.x*g,k=k.y*g;this.model.isVertex(d.cell)&&(l=d.x,k=d.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(h.x+=a.parent.geometry.x,h.y+=a.parent.geometry.y);f=f||mxEvent.isControlDown(b)&&!e?null:this.getCellAt(l+h.x*g,k+h.y*g);this.model.isAncestor(f,a)&&(f=null);for(d=f;null!=d;){if(this.isCellLocked(d)){f=null;break}d=this.model.getParent(d)}null!=f&&(d=this.view.getState(a),g=this.view.getState(f),null!=d&&null!=g&&mxUtils.intersects(d,g)&&(f=
- null));if(e=!mxEvent.isShiftDown(b)||e)c==mxConstants.DIRECTION_NORTH?h.y-=a.geometry.height/2:c==mxConstants.DIRECTION_SOUTH?h.y+=a.geometry.height/2:h.x=c==mxConstants.DIRECTION_WEST?h.x-a.geometry.width/2:h.x+a.geometry.width/2;null==f||this.isCellConnectable(f)||(d=this.getModel().getParent(f),this.getModel().isVertex(d)&&this.isCellConnectable(d)&&(f=d));if(f==a||this.model.isEdge(f)||!this.isCellConnectable(f))f=null;d=[];this.model.beginUpdate();try{g=f;if(null==g&&e){for(var l=a,m=this.getCellGeometry(a);null!=
- m&&m.relative;)l=this.getModel().getParent(l),m=this.getCellGeometry(l);var n=this.view.getState(l),p=null!=n?n.style:this.getCellStyle(l);if(mxUtils.getValue(p,"part",!1)){var q=this.model.getParent(l);this.model.isVertex(q)&&(l=q)}g=this.duplicateCells([l],!1)[0];m=this.getCellGeometry(g);null!=m&&(m.x=h.x-m.width/2,m.y=h.y-m.height/2)}m=null;null!=this.layoutManager&&(m=this.layoutManager.getLayout(this.model.getParent(a)));var r=mxEvent.isControlDown(b)&&e||null==f&&null!=m&&m.constructor==mxStackLayout?
- null:this.insertEdge(this.model.getParent(a),null,"",a,g,this.createCurrentEdgeStyle());if(null!=r&&this.connectionHandler.insertBeforeSource){var t=null;for(b=a;null!=b.parent&&null!=b.geometry&&b.geometry.relative&&b.parent!=r.parent;)b=this.model.getParent(b);null!=b&&null!=b.parent&&b.parent==r.parent&&(t=b.parent.getIndex(b),b.parent.insert(r,t))}null==f&&null!=g&&null!=m&&null!=a.parent&&m.constructor==mxStackLayout&&c==mxConstants.DIRECTION_WEST&&(t=a.parent.getIndex(a),a.parent.insert(g,t));
- null!=r&&d.push(r);null==f&&null!=g&&d.push(g);null==g&&null!=r&&r.geometry.setTerminalPoint(h,!1);null!=r&&this.fireEvent(new mxEventObject("cellsInserted","cells",[r]))}finally{this.model.endUpdate()}return d};
- Graph.prototype.getIndexableText=function(){var a=document.createElement("div"),c=[],d,b;for(b in this.model.cells)if(d=this.model.cells[b],this.model.isVertex(d)||this.model.isEdge(d))this.isHtmlLabel(d)?(a.innerHTML=this.getLabel(d),d=mxUtils.extractTextWithWhitespace([a])):d=this.getLabel(d),d=mxUtils.trim(d.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")),0<d.length&&c.push(d);return c.join(" ")};
- Graph.prototype.convertValueToString=function(a){if(null!=a.value&&"object"==typeof a.value){if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder")){for(var c=a.getAttribute("placeholder"),d=a,b=null;null==b&&null!=d;)null!=d.value&&"object"==typeof d.value&&(b=d.hasAttribute(c)?null!=d.getAttribute(c)?d.getAttribute(c):"":null),d=this.model.getParent(d);return b||""}return a.value.getAttribute("label")}return mxGraph.prototype.convertValueToString.apply(this,arguments)};
- Graph.prototype.getLinkForCell=function(a){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),null!=a&&"javascript:"===a.toLowerCase().substring(0,11)&&(a=a.substring(11)),a):null};
- Graph.prototype.getCellStyle=function(a){var c=mxGraph.prototype.getCellStyle.apply(this,arguments);if(null!=a&&null!=this.layoutManager){var d=this.model.getParent(a);this.model.isVertex(d)&&this.isCellCollapsed(a)&&(d=this.layoutManager.getLayout(d),null!=d&&d.constructor==mxStackLayout&&(c[mxConstants.STYLE_HORIZONTAL]=!d.horizontal))}return c};
- Graph.prototype.updateAlternateBounds=function(a,c,d){if(null!=a&&null!=c&&null!=this.layoutManager&&null!=c.alternateBounds){var b=this.layoutManager.getLayout(this.model.getParent(a));null!=b&&b.constructor==mxStackLayout&&(b.horizontal?c.alternateBounds.height=0:c.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.isMoveCellsEvent=function(a){return mxEvent.isShiftDown(a)};
- Graph.prototype.foldCells=function(a,c,d,b,e){c=null!=c?c:!1;null==d&&(d=this.getFoldableCells(this.getSelectionCells(),a));if(null!=d){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var f=0;f<d.length;f++){var h=this.view.getState(d[f]),g=this.getCellGeometry(d[f]);if(null!=h&&null!=g){var k=Math.round(g.width-h.width/this.view.scale),l=Math.round(g.height-h.height/this.view.scale);if(0!=l||0!=k){var m=this.model.getParent(d[f]),n=this.layoutManager.getLayout(m);
- null==n?null!=e&&this.isMoveCellsEvent(e)&&this.moveSiblings(h,m,k,l):null!=e&&mxEvent.isAltDown(e)||n.constructor!=mxStackLayout||n.resizeLast||this.resizeParentStacks(m,n,k,l)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(d)}};
- Graph.prototype.moveSiblings=function(a,c,d,b){this.model.beginUpdate();try{var e=this.getCellsBeyond(a.x,a.y,c,!0,!0);for(c=0;c<e.length;c++)if(e[c]!=a.cell){var f=this.view.getState(e[c]),h=this.getCellGeometry(e[c]);null!=f&&null!=h&&(h=h.clone(),h.translate(Math.round(d*Math.max(0,Math.min(1,(f.x-a.x)/a.width))),Math.round(b*Math.max(0,Math.min(1,(f.y-a.y)/a.height)))),this.model.setGeometry(e[c],h))}}finally{this.model.endUpdate()}};
- Graph.prototype.resizeParentStacks=function(a,c,d,b){if(null!=this.layoutManager&&null!=c&&c.constructor==mxStackLayout&&!c.resizeLast){this.model.beginUpdate();try{for(var e=c.horizontal;null!=a&&null!=c&&c.constructor==mxStackLayout&&c.horizontal==e&&!c.resizeLast;){var f=this.getCellGeometry(a),h=this.view.getState(a);null!=h&&null!=f&&(f=f.clone(),c.horizontal?f.width+=d+Math.min(0,h.width/this.view.scale-f.width):f.height+=b+Math.min(0,h.height/this.view.scale-f.height),this.model.setGeometry(a,
- f));a=this.model.getParent(a);c=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);return this.isSwimlane(a)?"0"!=c.container:"1"==c.container};Graph.prototype.isCellConnectable=function(a){var c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);return null!=c.connectable?"0"!=c.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments)};
- Graph.prototype.selectAll=function(a){a=a||this.getDefaultParent();this.isCellLocked(a)||mxGraph.prototype.selectAll.apply(this,arguments)};Graph.prototype.selectCells=function(a,c,d){d=d||this.getDefaultParent();this.isCellLocked(d)||mxGraph.prototype.selectCells.apply(this,arguments)};Graph.prototype.getSwimlaneAt=function(a,c,d){d=d||this.getDefaultParent();return this.isCellLocked(d)?null:mxGraph.prototype.getSwimlaneAt.apply(this,arguments)};
- Graph.prototype.isCellFoldable=function(a){var c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);return this.foldingEnabled&&!this.isCellLocked(a)&&(this.isContainer(a)&&"0"!=c.collapsible||!this.isContainer(a)&&"1"==c.collapsible)};Graph.prototype.reset=function(){this.isEditing()&&this.stopEditing(!0);this.escape();this.isSelectionEmpty()||this.clearSelection()};
- Graph.prototype.zoom=function(a,c){a=Math.max(.01,Math.min(this.view.scale*a,160))/this.view.scale;mxGraph.prototype.zoom.apply(this,arguments)};Graph.prototype.zoomIn=function(){.15>this.view.scale?this.zoom((this.view.scale+.01)/this.view.scale):this.zoom(Math.round(this.view.scale*this.zoomFactor*20)/20/this.view.scale)};Graph.prototype.zoomOut=function(){.15>=this.view.scale?this.zoom((this.view.scale-.01)/this.view.scale):this.zoom(Math.round(1/this.zoomFactor*this.view.scale*20)/20/this.view.scale)};
- Graph.prototype.getTooltipForCell=function(a){var c="";if(mxUtils.isNode(a.value)){var d=a.value.getAttribute("tooltip");if(null!=d)null!=d&&this.isReplacePlaceholders(a)&&(d=this.replacePlaceholders(a,d)),c=this.sanitizeHtml(d);else{d=["label","tooltip","placeholders","placeholder"];a=a.value.attributes;var b=[];this.isEnabled()&&d.push("link");for(var e=0;e<a.length;e++)0>mxUtils.indexOf(d,a[e].nodeName)&&0<a[e].nodeValue.length&&b.push({name:a[e].nodeName,value:a[e].nodeValue});b.sort(function(a,
- b){return a.name<b.name?-1:a.name>b.name?1:0});for(e=0;e<b.length;e++)c+=("link"!=b[e].name?b[e].name+":":"")+mxUtils.htmlEntities(b[e].value)+"\n";0<c.length&&(c=c.substring(0,c.length-1))}}return c};Graph.prototype.stringToBytes=function(a){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=a.charCodeAt(d);return c};Graph.prototype.bytesToString=function(a){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=String.fromCharCode(a[d]);return c.join("")};
- Graph.prototype.compress=function(a){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=this.bytesToString(pako.deflateRaw(encodeURIComponent(a)));return window.btoa?btoa(a):Base64.encode(a,!0)};Graph.prototype.decompress=function(a){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=window.atob?atob(a):Base64.decode(a,!0);return this.zapGremlins(decodeURIComponent(this.bytesToString(pako.inflateRaw(a))))};
- Graph.prototype.zapGremlins=function(a){for(var c=[],d=0;d<a.length;d++){var b=a.charCodeAt(d);(32<=b||9==b||10==b||13==b)&&c.push(a.charAt(d))}return c.join("")};HoverIcons=function(a){this.graph=a;this.init()};HoverIcons.prototype.arrowSpacing=6;HoverIcons.prototype.updateDelay=500;HoverIcons.prototype.activationDelay=140;HoverIcons.prototype.currentState=null;HoverIcons.prototype.activeArrow=null;HoverIcons.prototype.inactiveOpacity=15;HoverIcons.prototype.checkCollisions=!0;
- HoverIcons.prototype.triangleUp=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAOCAYAAAAxDQxDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0ZBN0E3M0U5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0ZBN0E3M0Y5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3RkE3QTczQzk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3RkE3QTczRDk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj625P8AAACySURBVHjaYmRY956BROABxF+A+AgpmpjIsGQjEO8CYidaWeQHtYQNiDmBeAspljGRYMlqqCUwALPMg1oWhWCxBNmyjVCHUGQRyJKlOCyBATaoQ/zItSgciFcQsATdshBSLYqC+oSZhMTCBnVYFLEWgRQuItESGGCG6o0iZFECBZagW5aAyyKQxBwKLUG2bD4Qp6FblAyVoIYlyGAmzDIWKGMmA+0AyGw2RjIKVbIAQIABAFJRHSSk2rPoAAAAAElFTkSuQmCC":
- IMAGE_PATH+"/triangle-up.png",26,14);
- HoverIcons.prototype.triangleRight=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAYAAACHD21cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NThDQzc5RTU5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NThDQzc5RTY5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1OENDNzlFMzk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1OENDNzlFNDk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrHdKTUAAADDSURBVHjanNTBCgFRFIfxMeTZyEKkiBSRxbwREZGiNFZKWSnvY6OUUv6n7ilZaL459XVXv6a5c+cWovQeaSZqFoGJwzpVozzQZq4GeSDCv7AYcJ9Cx0vVpdDxWrUpdLxVLQr/4jjDBpYDblDoeKdqFDpOHRP4jSsU2rzVg8KnqqpbDFFdXck7vlRTXciuOjqT72ioo07k5Nju9dSRnFVHB/J3GBqqPf0fx2pDbwBDK3Ln2MdN1CLraSiFNcn6JJ+PAAMAbnMl1tyDPD8AAAAASUVORK5CYII=":IMAGE_PATH+
- "/triangle-right.png",14,26);
- HoverIcons.prototype.triangleDown=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAOCAYAAAAxDQxDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NThDQzc5RTk5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NThDQzc5RUE5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1OENDNzlFNzk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1OENDNzlFODk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv9xyy0AAADESURBVHjaYmRY956BHoAJiHOA+D+NcRrIoilAnEVDz6QD8SwWKGc6EP8F4plUtiQRiBfAgg4GZkEl/lLBgr/IlqBbxACViKPQMgxLQIAFi8JlUHoREDOTYUkckhkMuHyEbFkEEP8i0ZJobJbgswgE1gBxKJGW/YI6bCW+fIQPbCLCsl9Qn6whlGEZiLDMH4i/47AklJAlxFoEAjuA2AfNMpglm4gtgogF+5As+wX15SZiNbOQmHxBlrkBMQ/Ul0QDgAADAC8qRII7g4RyAAAAAElFTkSuQmCC":IMAGE_PATH+
- "/triangle-down.png",26,14);
- HoverIcons.prototype.triangleLeft=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAYAAACHD21cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0ZBN0E3M0E5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0ZBN0E3M0I5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1OENDNzlFQjk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1OENDNzlFQzk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pi1fu2cAAADXSURBVHjalNTRB8JQFMfxVROxPyl6iuipRJFS2kv/TU89lY0piyw9pP6r3iP6He7Ndd3de87haxMfd+1ua0TVOxLOCuVNIdqiHZ1I4AbtUUsC6fIO6jzhwoWB/hOCU5Tpy+PCCTq5kA+OfKgODlGJ2r7/YMMBqkLIhn0uMmEP3VGH+zQQ7KKnBGmY+O6eD77QGH2kkOYhxeZdJTzjYnsfb2jOwbHjt6s6ltJHTmNa+SuFNBe0rMOh9/GM1i7M+QIUKLVxzNy2XB0zyYomTqUr6jnqLfoJMADoxSMHt6pxsAAAAABJRU5ErkJggg==":IMAGE_PATH+
- "/triangle-left.png",14,26);
- HoverIcons.prototype.roundDrop=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTgxRjYzRTU1MDRFMTFFNEExQ0VFNDQwNDhGNzg2RDkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTgxRjYzRTY1MDRFMTFFNEExQ0VFNDQwNDhGNzg2RDkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFODFGNjNFMzUwNEUxMUU0QTFDRUU0NDA0OEY3ODZEOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFODFGNjNFNDUwNEUxMUU0QTFDRUU0NDA0OEY3ODZEOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuJ657wAAAE0SURBVHjaYvz//z8DPQATA50AC4zBuP4DLjXaQOwMxJZArAfE8lDxh0B8CYiPA/FeIL6KTfP/QAFUi7AABSBOAOJoIFbBIq8FxRFAfAeIlwLxAiB+gNdHaMABiIuB2IfIkAE5pB6IjYG4F4gPEBNHIEtaSLAEGfhA9ToQskgB6hNrCuLdGmqGAj6LEsj0CTafJeCySBsa8dQC0VAzMSxyxpG6yAUqUDMxLLKkQT61xGaRHg0s0sNmkTwNLJKne1mHbNFDGpj/EJtFl2hg0SVsFh2ngUXHsVm0F1oKUwvcgZqJYdFVaFFPLbAUuY5CT3Wg+mQLFSzZAjULZ6H6AFqfHKXAkqNQMx4Qqo9AlVYNmT7bAtV7gNga9gDURWfxVOXoEY+3KmeENbdo3ThhHHbtOoAAAwDmEETshQ0fBAAAAABJRU5ErkJggg==":IMAGE_PATH+
- "/round-drop.png",26,26);
- HoverIcons.prototype.refreshTarget=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDQxNERDRTU1QjY1MTFFNDkzNTRFQTVEMTdGMTdBQjciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDQxNERDRTY1QjY1MTFFNDkzNTRFQTVEMTdGMTdBQjciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NDE0RENFMzVCNjUxMUU0OTM1NEVBNUQxN0YxN0FCNyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NDE0RENFNDVCNjUxMUU0OTM1NEVBNUQxN0YxN0FCNyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsvuX50AAANaSURBVHja7FjRZ1tRGD9ZJ1NCyIQSwrivI4Q8hCpjlFDyFEoYfSp9Ko1QWnmo0If+BSXkIfo0QirTMUpeGo2EPfWllFYjZMLKLDJn53d3biU337m5J223bPbxk5t7v+/c3/2+73znO8fDOWezKM/YjMpz68Lj8ejY+QTeCCwLxOS9qPxtyN+6wAeBTwJ31CCO0cJDjXBGBN4LfIepSwykTUT1bgpuib0SONIgo8KRHOtRiCFcvUcgZeGrHPNBxLIyFPyRgTGz0xLbegJCdmzpElue5KlAIMDX19d5uVzm5+fnfDAYmMA17uEZdOx2Yvb/sHlu2S0xwymn5ufneTab5b1ej08S6EAXNrDd2dnhiUTim21MvMtwQ6yiIrWwsMDPzs64rsBmf3/fvM7n89TYlUnEllSkQqEQv7q64g+Vk5MTVXosORErU0Zer5f0FEIlw2N6MxwO82QyaXql2+2SxDqdjopYWUUsqEp45IldqtWq6UWVh/1+P7+8vCTJ4QMUJSRIEXuneoH96w8PDyeWAnhSJfCqwm6NIlaklFdXV0cGhRcQ2mlJQXK5nMq2YPEZbnteU1U2lUqN/D84OGD9fl+5fgnSrFarsUwmw0qlEru4uBjTicViTk3Cr27HSnxR+Doyz0ZE1CAWiUTusbu7y9rttlZv5fP5WDQavYfIMba4uEipfhF8XtqJoZXx/uH+sC/4vPg7OljZZQbsCmLtYzc3N6zRaJhotVrmfx0xDINtbm6athYUeXpHdbBNaqZUKpWxWXV7e2vex+xaWVnhc3NzjrPUXgexyCt0m67LBV7uJMITjqRE4o8tZeg8FPpFitgapYxiOC0poFgsji1jKNo6BZZckrAGUtJsNk1vqAihCBcKhTE7hNWhqw2qFnGy5UFOUYJVIJ1OjzSE+BCEilon0URavRmBqnbbQ00AXbm+vnZc9O1tj72OnQoc2+cwygRkb2+P1et17ZoEm3g87lRmjgWZ00kbXkNuse6/Bu2wlegIxfb2tuvWGroO4bO2c4bbzUh60mxDXm1sbJhhxkQYnhS4h2fUZoRAWnf7lv8N27f8P7Xhnekjgpk+VKGOoQbsiY+hhhtF3YO7twIJ+ULvUGv+GQ2fQEvWxI/THNx5/p/BaspPAQYAqStgiSQwCDoAAAAASUVORK5CYII=":IMAGE_PATH+
- "/refresh.png",38,38);
- HoverIcons.prototype.init=function(){this.arrowUp=this.createArrow(this.triangleUp,mxResources.get("plusTooltip"));this.arrowRight=this.createArrow(this.triangleRight,mxResources.get("plusTooltip"));this.arrowDown=this.createArrow(this.triangleDown,mxResources.get("plusTooltip"));this.arrowLeft=this.createArrow(this.triangleLeft,mxResources.get("plusTooltip"));this.elts=[this.arrowUp,this.arrowRight,this.arrowDown,this.arrowLeft];this.repaintHandler=mxUtils.bind(this,function(){this.repaint()});this.graph.selectionModel.addListener(mxEvent.CHANGE,
- this.repaintHandler);this.graph.model.addListener(mxEvent.CHANGE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE,this.repaintHandler);this.graph.view.addListener(mxEvent.DOWN,this.repaintHandler);this.graph.view.addListener(mxEvent.UP,this.repaintHandler);this.graph.addListener(mxEvent.ROOT,this.repaintHandler);this.graph.addListener(mxEvent.ESCAPE,
- mxUtils.bind(this,function(){this.mouseDownPoint=null}));mxEvent.addListener(this.graph.container,"mouseleave",mxUtils.bind(this,function(a){null!=a.relatedTarget&&mxEvent.getSource(a)==this.graph.container&&this.setDisplay("none")}));var a=this.graph.click;this.graph.click=mxUtils.bind(this,function(c){a.apply(this.graph,arguments);null==this.currentState||this.graph.isCellSelected(this.currentState.cell)||!mxEvent.isTouchEvent(c.getEvent())||this.graph.model.isVertex(c.getCell())||this.reset()});
- var c=!1;this.graph.addMouseListener({mouseDown:mxUtils.bind(this,function(a,b){c=!1;var d=b.getEvent();if(this.isResetEvent(d))this.reset();else if(!this.isActive()){var f=this.getState(b.getState());null==f&&mxEvent.isTouchEvent(d)||this.update(f)}this.setDisplay("none")}),mouseMove:mxUtils.bind(this,function(a,b){var d=b.getEvent();this.isResetEvent(d)?this.reset():this.graph.isMouseDown||mxEvent.isTouchEvent(d)||this.update(this.getState(b.getState()),b.getGraphX(),b.getGraphY());null!=this.graph.connectionHandler&&
- null!=this.graph.connectionHandler.shape&&(c=!0)}),mouseUp:mxUtils.bind(this,function(a,b){var d=b.getEvent();this.isResetEvent(d)?this.reset():this.isActive()&&null!=this.mouseDownPoint&&Math.abs(b.getGraphX()-this.mouseDownPoint.x)<this.graph.tolerance&&Math.abs(b.getGraphY()-this.mouseDownPoint.y)<this.graph.tolerance?c||this.click(this.currentState,this.getDirection(),b):this.isActive()?1==this.graph.getSelectionCount()&&this.graph.model.isEdge(this.graph.getSelectionCell())?this.reset():this.update(this.getState(this.graph.view.getState(this.graph.getCellAt(b.getGraphX(),
- b.getGraphY())))):mxEvent.isTouchEvent(d)||null!=this.bbox&&mxUtils.contains(this.bbox,b.getGraphX(),b.getGraphY())?(this.setDisplay(""),this.repaint()):mxEvent.isTouchEvent(d)||this.reset();c=!1;this.resetActiveArrow()})})};HoverIcons.prototype.isResetEvent=function(a,c){return mxEvent.isAltDown(a)||null==this.activeArrow&&mxEvent.isShiftDown(a)||mxEvent.isMetaDown(a)||mxEvent.isPopupTrigger(a)&&!mxEvent.isControlDown(a)};
- HoverIcons.prototype.createArrow=function(a,c){var d=null;mxClient.IS_IE&&!mxClient.IS_SVG?(mxClient.IS_IE6&&"CSS1Compat"!=document.compatMode?(d=document.createElement(mxClient.VML_PREFIX+":image"),d.setAttribute("src",a.src),d.style.borderStyle="none"):(d=document.createElement("div"),d.style.backgroundImage="url("+a.src+")",d.style.backgroundPosition="center",d.style.backgroundRepeat="no-repeat"),d.style.width=a.width+4+"px",d.style.height=a.height+4+"px",d.style.display=mxClient.IS_QUIRKS?"inline":
- "inline-block"):(d=mxUtils.createImage(a.src),d.style.width=a.width+"px",d.style.height=a.height+"px");null!=c&&d.setAttribute("title",c);d.style.position="absolute";d.style.cursor="crosshair";mxEvent.addGestureListeners(d,mxUtils.bind(this,function(a){null==this.currentState||this.isResetEvent(a)||(this.mouseDownPoint=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(a),mxEvent.getClientY(a)),this.drag(a,this.mouseDownPoint.x,this.mouseDownPoint.y),this.activeArrow=d,this.setDisplay("none"),
- mxEvent.consume(a))}));mxEvent.redirectMouseEvents(d,this.graph,this.currentState);mxEvent.addListener(d,"mouseenter",mxUtils.bind(this,function(a){mxEvent.isMouseEvent(a)&&(null!=this.activeArrow&&this.activeArrow!=d&&mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.graph.connectionHandler.constraintHandler.reset(),mxUtils.setOpacity(d,100),this.activeArrow=d)}));mxEvent.addListener(d,"mouseleave",mxUtils.bind(this,function(a){this.graph.isMouseDown||this.resetActiveArrow()}));return d};
- HoverIcons.prototype.resetActiveArrow=function(){null!=this.activeArrow&&(mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.activeArrow=null)};HoverIcons.prototype.getDirection=function(){var a=mxConstants.DIRECTION_EAST;this.activeArrow==this.arrowUp?a=mxConstants.DIRECTION_NORTH:this.activeArrow==this.arrowDown?a=mxConstants.DIRECTION_SOUTH:this.activeArrow==this.arrowLeft&&(a=mxConstants.DIRECTION_WEST);return a};
- HoverIcons.prototype.visitNodes=function(a){for(var c=0;c<this.elts.length;c++)null!=this.elts[c]&&a(this.elts[c])};HoverIcons.prototype.removeNodes=function(){this.visitNodes(function(a){null!=a.parentNode&&a.parentNode.removeChild(a)})};HoverIcons.prototype.setDisplay=function(a){this.visitNodes(function(c){c.style.display=a})};HoverIcons.prototype.isActive=function(){return null!=this.activeArrow&&null!=this.currentState};
- HoverIcons.prototype.drag=function(a,c,d){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);null!=this.currentState&&(this.graph.connectionHandler.start(this.currentState,c,d),this.graph.isMouseTrigger=mxEvent.isMouseEvent(a),this.graph.isMouseDown=!0,a=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=a&&a.setHandlesVisible(!1))};HoverIcons.prototype.getStateAt=function(a,c,d){return this.graph.view.getState(this.graph.getCellAt(c,d))};
- HoverIcons.prototype.click=function(a,c,d){var b=d.getEvent(),e=d.getGraphX(),f=d.getGraphY(),e=this.getStateAt(a,e,f);null==e||!this.graph.model.isEdge(e.cell)||mxEvent.isControlDown(b)||e.getVisibleTerminalState(!0)!=a&&e.getVisibleTerminalState(!1)!=a?null!=a&&(a=this.graph.connectVertex(a.cell,c,this.graph.defaultEdgeLength,b),this.graph.selectCellsForConnectVertex(a,b,this),2==a.length&&this.graph.model.isVertex(a[1])?(this.graph.setSelectionCell(a[1]),mxEvent.isTouchEvent(b)?this.update(this.getState(this.graph.view.getState(a[1]))):
- this.reset(),this.graph.scrollCellToVisible(a[1])):this.graph.setSelectionCells(a)):(this.graph.setSelectionCell(e.cell),this.reset());d.consume()};HoverIcons.prototype.reset=function(a){null!=a&&!a||null==this.updateThread||window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null};
- HoverIcons.prototype.repaint=function(){this.bbox=null;if(null!=this.currentState){this.currentState=this.getState(this.currentState);if(null!=this.currentState&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentState.cell)){var a=mxRectangle.fromRectangle(this.currentState);null!=this.currentState.shape&&null!=this.currentState.shape.boundingBox&&(a=mxRectangle.fromRectangle(this.currentState.shape.boundingBox));a.grow(this.graph.tolerance);a.grow(this.arrowSpacing);
- var c=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);null!=c&&(a.x-=c.horizontalOffset/2,a.y-=c.verticalOffset/2,a.width+=c.horizontalOffset,a.height+=c.verticalOffset,null!=c.rotationShape&&null!=c.rotationShape.node&&"hidden"!=c.rotationShape.node.style.visibility&&"none"!=c.rotationShape.node.style.display&&null!=c.rotationShape.boundingBox&&a.add(c.rotationShape.boundingBox));this.arrowUp.style.left=Math.round(this.currentState.getCenterX()-this.triangleUp.width/2)+"px";this.arrowUp.style.top=
- Math.round(a.y-this.triangleUp.height)+"px";mxUtils.setOpacity(this.arrowUp,this.inactiveOpacity);this.arrowRight.style.left=Math.round(a.x+a.width)+"px";this.arrowRight.style.top=Math.round(this.currentState.getCenterY()-this.triangleRight.height/2)+"px";mxUtils.setOpacity(this.arrowRight,this.inactiveOpacity);this.arrowDown.style.left=this.arrowUp.style.left;this.arrowDown.style.top=Math.round(a.y+a.height)+"px";mxUtils.setOpacity(this.arrowDown,this.inactiveOpacity);this.arrowLeft.style.left=Math.round(a.x-
- this.triangleLeft.width)+"px";this.arrowLeft.style.top=this.arrowRight.style.top;mxUtils.setOpacity(this.arrowLeft,this.inactiveOpacity);if(this.checkCollisions){var c=this.graph.getCellAt(a.x+a.width+this.triangleRight.width/2,this.currentState.getCenterY()),d=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),b=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2),a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/
- 2);null!=c&&c==d&&d==b&&b==a&&(a=b=d=c=null);var e=this.graph.getCellGeometry(this.currentState.cell),f=mxUtils.bind(this,function(a,b){var c=this.graph.model.isVertex(a)&&this.graph.getCellGeometry(a);null!=a&&!this.graph.model.isAncestor(a,this.currentState.cell)&&(null==c||null==e||c.height<6*e.height&&c.width<6*e.width)?b.style.visibility="hidden":b.style.visibility="visible"});f(c,this.arrowRight);f(d,this.arrowLeft);f(b,this.arrowUp);f(a,this.arrowDown)}else this.arrowLeft.style.visibility=
- "visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),this.arrowRight.setAttribute("title",mxResources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResources.get("plusTooltip")),this.arrowDown.setAttribute("title",mxResources.get("plusTooltip"))):(this.arrowLeft.removeAttribute("title"),this.arrowRight.removeAttribute("title"),
- this.arrowUp.removeAttribute("title"),this.arrowDown.removeAttribute("title"))}else this.reset();null!=this.currentState&&(this.bbox=this.computeBoundingBox(),null!=this.bbox&&this.bbox.grow(10))}};HoverIcons.prototype.computeBoundingBox=function(){var a=this.graph.model.isEdge(this.currentState.cell)?null:mxRectangle.fromRectangle(this.currentState);this.visitNodes(function(c){null!=c.parentNode&&(c=new mxRectangle(c.offsetLeft,c.offsetTop,c.offsetWidth,c.offsetHeight),null==a?a=c:a.add(c))});return a};
- HoverIcons.prototype.getState=function(a){if(null!=a){a=a.cell;if(this.graph.getModel().isVertex(a)&&!this.graph.isCellConnectable(a)){var c=this.graph.getModel().getParent(a);this.graph.getModel().isVertex(c)&&this.graph.isCellConnectable(c)&&(a=c)}if(this.graph.isCellLocked(a)||this.graph.model.isEdge(a))a=null;a=this.graph.view.getState(a)}return a};
- HoverIcons.prototype.update=function(a,c,d){if(this.graph.connectionArrowsEnabled){var b=null;this.prev!=a||this.isActive()?(this.startTime=(new Date).getTime(),this.prev=a,b=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=a&&(this.updateThread=window.setTimeout(mxUtils.bind(this,function(){this.isActive()||this.graph.isMouseDown||this.graph.panningHandler.isActive()||(this.prev=a,this.update(a,c,d))}),this.updateDelay+10))):null!=this.startTime&&(b=(new Date).getTime()-this.startTime);
- this.setDisplay("");null!=this.currentState&&this.currentState!=a&&b<this.activationDelay&&null!=this.bbox&&!mxUtils.contains(this.bbox,c,d)?this.reset(!1):(null!=this.currentState||b>this.activationDelay)&&this.currentState!=a&&(b>this.updateDelay&&null!=a||null==this.bbox||null==c||null==d||!mxUtils.contains(this.bbox,c,d))&&(null!=a&&this.graph.isEnabled()?(this.removeNodes(),this.setCurrentState(a),this.repaint(),this.graph.connectionHandler.constraintHandler.currentFocus!=a&&this.graph.connectionHandler.constraintHandler.reset()):
- this.reset())}else this.reset()};HoverIcons.prototype.setCurrentState=function(a){"eastwest"!=a.style.portConstraint&&(this.graph.container.appendChild(this.arrowUp),this.graph.container.appendChild(this.arrowDown));this.graph.container.appendChild(this.arrowRight);this.graph.container.appendChild(this.arrowLeft);this.currentState=a};
- (function(){var a=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=function(b,c,d,h){if(null==c||null==b||"1"!=c.style.snapToPoint&&"1"!=b.style.snapToPoint)a.apply(this,arguments);else{c=this.getTerminalPort(b,c,h);var e=this.getNextPoint(b,d,h),f=this.graph.isOrthogonal(b),l=mxUtils.toRadians(Number(c.style[mxConstants.STYLE_ROTATION]||"0")),m=new mxPoint(c.getCenterX(),c.getCenterY());if(0!=l)var n=Math.cos(-l),p=Math.sin(-l),e=mxUtils.getRotatedPoint(e,
- n,p,m);n=parseFloat(b.style[mxConstants.STYLE_PERIMETER_SPACING]||0);n+=parseFloat(b.style[h?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);e=this.getPerimeterPoint(c,e,0==l&&f,n);0!=l&&(n=Math.cos(l),p=Math.sin(l),e=mxUtils.getRotatedPoint(e,n,p,m));b.setAbsoluteTerminalPoint(this.snapToAnchorPoint(b,c,d,h,e),h)}};mxGraphView.prototype.snapToAnchorPoint=function(a,c,d,h,g){if(null!=c&&null!=a){a=this.graph.getAllConnectionConstraints(c);h=d=null;for(var b=
- 0;b<a.length;b++){var e=this.graph.getConnectionPoint(c,a[b]);if(null!=e){var f=(e.x-g.x)*(e.x-g.x)+(e.y-g.y)*(e.y-g.y);if(null==h||f<h)d=e,h=f}}null!=d&&(g=d)}return g};var c=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(a,d,f){var b=c.apply(this,arguments);"1"==a.getAttribute("placeholders")&&null!=f.state&&(b=f.state.view.graph.replacePlaceholders(f.state.cell,b));return b};var d=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=
- function(a){if(null!=a.style&&"undefined"!==typeof pako){var b=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);if(null!=b&&"stencil("==b.substring(0,8))try{var c=b.substring(8,b.length-1),h=mxUtils.parseXml(a.view.graph.decompress(c));return new mxShape(new mxStencil(h.documentElement))}catch(g){null!=window.console&&console.log("Error in shape: "+g)}}return d.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.packages=[];
- mxStencilRegistry.getStencil=function(a){var c=mxStencilRegistry.stencils[a];if(null==c&&null==mxCellRenderer.prototype.defaultShapes[a]&&mxStencilRegistry.dynamicLoading){var d=mxStencilRegistry.getBasenameForStencil(a);if(null!=d){c=mxStencilRegistry.libraries[d];if(null!=c){if(null==mxStencilRegistry.packages[d])for(mxStencilRegistry.packages[d]=1,d=0;d<c.length;d++){var b=c[d];if(".xml"==b.toLowerCase().substring(b.length-4,b.length))mxStencilRegistry.loadStencilSet(b,null);else if(".js"==b.toLowerCase().substring(b.length-
- 3,b.length))try{var e=mxUtils.load(b);null!=e&&200<=e.getStatus()&&299>=e.getStatus()&&eval.call(window,e.getText())}catch(f){null!=window.console&&console.log("error in getStencil:",b,f)}}}else d=d.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+d+".xml",null);c=mxStencilRegistry.stencils[a]}}return c};mxStencilRegistry.getBasenameForStencil=function(a){var c=null;if(null!=a&&(a=a.split("."),0<a.length&&"mxgraph"==a[0]))for(var c=a[1],d=2;d<a.length-1;d++)c+="/"+a[d];return c};
- mxStencilRegistry.loadStencilSet=function(a,c,d,b){var e=mxStencilRegistry.packages[a];if(null!=d&&d||null==e){var f=!1;if(null==e)try{if(b){var h=mxUtils.get(a,mxUtils.bind(this,function(b){200<=b.getStatus()&&299>=b.getStatus()&&(e=b.getXml(),mxStencilRegistry.packages[a]=e,f=!0,null!=e&&null!=e.documentElement&&mxStencilRegistry.parseStencilSet(e.documentElement,c,f))}));return}h=mxUtils.load(a);e=h.getXml();mxStencilRegistry.packages[a]=e;f=!0}catch(g){null!=window.console&&console.log("error in loadStencilSet:",
- a,g)}null!=e&&null!=e.documentElement&&mxStencilRegistry.parseStencilSet(e.documentElement,c,f)}};mxStencilRegistry.parseStencilSets=function(a){for(var c=0;c<a.length;c++)mxStencilRegistry.parseStencilSet(mxUtils.parseXml(a[c]).documentElement)};
- mxStencilRegistry.parseStencilSet=function(a,c,d){if("stencils"==a.nodeName)for(var b=a.firstChild;null!=b;)"shapes"==b.nodeName&&mxStencilRegistry.parseStencilSet(b,c,d),b=b.nextSibling;else{d=null!=d?d:!0;var b=a.firstChild,e="";a=a.getAttribute("name");for(null!=a&&(e=a+".");null!=b;){if(b.nodeType==mxConstants.NODETYPE_ELEMENT&&(a=b.getAttribute("name"),null!=a)){var e=e.toLowerCase(),f=a.replace(/ /g,"_");d&&mxStencilRegistry.addStencil(e+f.toLowerCase(),new mxStencil(b));if(null!=c){var h=b.getAttribute("w"),
- g=b.getAttribute("h"),h=null==h?80:parseInt(h,10),g=null==g?80:parseInt(g,10);c(e,f,a,h,g)}}b=b.nextSibling}}};
- "undefined"!=typeof mxVertexHandler&&function(){function a(){var a=document.createElement("div");a.className="geHint";a.style.whiteSpace="nowrap";a.style.position="absolute";return a}mxConstants.HANDLE_FILLCOLOR="#99ccff";mxConstants.HANDLE_STROKECOLOR="#0088cf";mxConstants.VERTEX_SELECTION_COLOR="#00a8ff";mxConstants.OUTLINE_COLOR="#00a8ff";mxConstants.OUTLINE_HANDLE_FILLCOLOR="#99ccff";mxConstants.OUTLINE_HANDLE_STROKECOLOR="#00a8ff";mxConstants.CONNECT_HANDLE_FILLCOLOR="#cee7ff";mxConstants.EDGE_SELECTION_COLOR=
- "#00a8ff";mxConstants.DEFAULT_VALID_COLOR="#00a8ff";mxConstants.LABEL_HANDLE_FILLCOLOR="#cee7ff";mxConstants.GUIDE_COLOR="#0088cf";mxConstants.HIGHLIGHT_OPACITY=30;mxConstants.HIGHLIGHT_SIZE=8;mxEdgeHandler.prototype.snapToTerminals=!0;mxGraphHandler.prototype.guidesEnabled=!0;mxGuide.prototype.isEnabledForEvent=function(a){return!mxEvent.isAltDown(a)};var c=mxConnectionHandler.prototype.isCreateTarget;mxConnectionHandler.prototype.isCreateTarget=function(a){return mxEvent.isControlDown(a)||c.apply(this,
- arguments)};mxConstraintHandler.prototype.createHighlightShape=function(){var a=new mxEllipse(null,this.highlightColor,this.highlightColor,0);a.opacity=mxConstants.HIGHLIGHT_OPACITY;return a};mxConnectionHandler.prototype.livePreview=!0;mxConnectionHandler.prototype.cursor="crosshair";mxConnectionHandler.prototype.createEdgeState=function(a){a=this.graph.createCurrentEdgeStyle();a=this.graph.createEdge(null,null,null,null,null,a);a=new mxCellState(this.graph.view,a,this.graph.getCellStyle(a));for(var b in this.graph.currentEdgeStyle)a.style[b]=
- this.graph.currentEdgeStyle[b];return a};var d=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.createShape=function(){var a=d.apply(this,arguments);a.isDashed="1"==this.graph.currentEdgeStyle[mxConstants.STYLE_DASHED];return a};mxConnectionHandler.prototype.updatePreview=function(a){};var b=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var a=b.apply(this,arguments),c=a.getCell;a.getCell=mxUtils.bind(this,function(a){var b=
- c.apply(this,arguments);this.error=null;return b});return a};Graph.prototype.defaultVertexStyle={};Graph.prototype.defaultEdgeStyle={edgeStyle:"orthogonalEdgeStyle",rounded:"0",jettySize:"auto",orthogonalLoop:"1"};Graph.prototype.createCurrentEdgeStyle=function(){var a="edgeStyle="+(this.currentEdgeStyle.edgeStyle||"none")+";";null!=this.currentEdgeStyle.shape&&(a+="shape="+this.currentEdgeStyle.shape+";");null!=this.currentEdgeStyle.curved&&(a+="curved="+this.currentEdgeStyle.curved+";");null!=this.currentEdgeStyle.rounded&&
- (a+="rounded="+this.currentEdgeStyle.rounded+";");null!=this.currentEdgeStyle.comic&&(a+="comic="+this.currentEdgeStyle.comic+";");"elbowEdgeStyle"==this.currentEdgeStyle.edgeStyle&&null!=this.currentEdgeStyle.elbow&&(a+="elbow="+this.currentEdgeStyle.elbow+";");return a=null!=this.currentEdgeStyle.html?a+("html="+this.currentEdgeStyle.html+";"):a+"html=1;"};Graph.prototype.getPagePadding=function(){return new mxPoint(0,0)};Graph.prototype.loadStylesheet=function(){var a=null!=this.themes?this.themes[this.defaultThemeName]:
- mxStyleRegistry.dynamicLoading?mxUtils.load(STYLE_PATH+"/default.xml").getDocumentElement():null;null!=a&&(new mxCodec(a.ownerDocument)).decode(a,this.getStylesheet())};Graph.prototype.getAllConnectionConstraints=function(a,b){if(null!=a){var c=mxUtils.getValue(a.style,"points",null);if(null!=c){var d=[];try{for(var e=JSON.parse(c),c=0;c<e.length;c++){var f=e[c];d.push(new mxConnectionConstraint(new mxPoint(f[0],f[1]),2<f.length?"0"!=f[2]:!0))}}catch(T){}return d}if(null!=a.shape)if(null!=a.shape.stencil){if(null!=
- a.shape.stencil)return a.shape.stencil.constraints}else if(null!=a.shape.constraints)return a.shape.constraints}return null};Graph.prototype.flipEdge=function(a){if(null!=a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);null!=b&&(b=mxUtils.getValue(b,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL)==mxConstants.ELBOW_HORIZONTAL?mxConstants.ELBOW_VERTICAL:mxConstants.ELBOW_HORIZONTAL,this.setCellStyles(mxConstants.STYLE_ELBOW,b,[a]))}};Graph.prototype.isValidRoot=function(a){for(var b=
- this.model.getChildCount(a),c=0,d=0;d<b;d++){var e=this.model.getChildAt(a,d);this.model.isVertex(e)&&(e=this.getCellGeometry(e),null==e||e.relative||c++)}return 0<c||this.isContainer(a)};Graph.prototype.isValidDropTarget=function(a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return"1"!=mxUtils.getValue(b,"part","0")&&(this.isContainer(a)||mxGraph.prototype.isValidDropTarget.apply(this,arguments)&&"0"!=mxUtils.getValue(b,"dropTarget","1"))};Graph.prototype.createGroupCell=
- function(){var a=mxGraph.prototype.createGroupCell.apply(this,arguments);a.setStyle("group");return a};Graph.prototype.isExtendParentsOnAdd=function(a){var b=mxGraph.prototype.isExtendParentsOnAdd.apply(this,arguments);if(b&&null!=a&&null!=this.layoutManager){var c=this.model.getParent(a);null!=c&&(c=this.layoutManager.getLayout(c),null!=c&&c.constructor==mxStackLayout&&(b=!1))}return b};Graph.prototype.getPreferredSizeForCell=function(a){var b=mxGraph.prototype.getPreferredSizeForCell.apply(this,
- arguments);null!=b&&(b.width+=10,b.height+=4,this.gridEnabled&&(b.width=this.snap(b.width),b.height=this.snap(b.height)));return b};Graph.prototype.turnShapes=function(a){var b=this.getModel(),c=[];b.beginUpdate();try{for(var d=0;d<a.length;d++){var e=a[d];if(b.isEdge(e)){var f=b.getTerminal(e,!0),h=b.getTerminal(e,!1);b.setTerminal(e,h,!0);b.setTerminal(e,f,!1);var g=b.getGeometry(e);if(null!=g){g=g.clone();null!=g.points&&g.points.reverse();var k=g.getTerminalPoint(!0),l=g.getTerminalPoint(!1);
- g.setTerminalPoint(k,!1);g.setTerminalPoint(l,!0);b.setGeometry(e,g);var m=this.view.getState(e),D=this.view.getState(f),n=this.view.getState(h);if(null!=m){var p=null!=D?this.getConnectionConstraint(m,D,!0):null,q=null!=n?this.getConnectionConstraint(m,n,!1):null;this.setConnectionConstraint(e,f,!0,q);this.setConnectionConstraint(e,h,!1,p)}c.push(e)}}else if(b.isVertex(e)&&(g=this.getCellGeometry(e),null!=g)){g=g.clone();g.x+=g.width/2-g.height/2;g.y+=g.height/2-g.width/2;var r=g.width;g.width=g.height;
- g.height=r;b.setGeometry(e,g);var t=this.view.getState(e);if(null!=t){var u=t.style[mxConstants.STYLE_DIRECTION]||"east";"east"==u?u="south":"south"==u?u="west":"west"==u?u="north":"north"==u&&(u="east");this.setCellStyles(mxConstants.STYLE_DIRECTION,u,[e])}c.push(e)}}}finally{b.endUpdate()}return c};Graph.prototype.processChange=function(a){mxGraph.prototype.processChange.apply(this,arguments);if(a instanceof mxValueChange&&null!=a.cell.value&&"object"==typeof a.cell.value){var b=this.model.getDescendants(a.cell);
- if(0<b.length)for(var c=0;c<b.length;c++)this.isReplacePlaceholders(b[c])&&this.view.invalidate(b[c],!1,!1)}};Graph.prototype.cellLabelChanged=function(a,b,c){b=this.zapGremlins(b);this.model.beginUpdate();try{if(null!=a.value&&"object"==typeof a.value){if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder"))for(var d=a.getAttribute("placeholder"),e=a;null!=e;){if(e==this.model.getRoot()||null!=e.value&&"object"==typeof e.value&&e.hasAttribute(d)){this.setAttributeForCell(e,d,b);break}e=
- this.model.getParent(e)}var f=a.value.cloneNode(!0);f.setAttribute("label",b);b=f}mxGraph.prototype.cellLabelChanged.apply(this,arguments)}finally{this.model.endUpdate()}};Graph.prototype.removeCellsAfterUngroup=function(a){for(var b=[],c=0;c<a.length;c++)if(this.isCellDeletable(a[c])){var d=this.view.getState(a[c]);if(null!=d){var e=mxUtils.getValue(d.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),d=mxUtils.getValue(d.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);e==mxConstants.NONE&&
- d==mxConstants.NONE&&b.push(a[c])}}a=b;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(a,b){this.setAttributeForCell(a,"link",b)};Graph.prototype.setTooltipForCell=function(a,b){this.setAttributeForCell(a,"tooltip",b)};Graph.prototype.setAttributeForCell=function(a,b,c){var d;null!=a.value&&"object"==typeof a.value?d=a.value.cloneNode(!0):(d=mxUtils.createXmlDocument().createElement("UserObject"),d.setAttribute("label",a.value||""));null!=c&&
- 0<c.length?d.setAttribute(b,c):d.removeAttribute(b);this.model.setValue(a,d)};Graph.prototype.getDropTarget=function(a,b,c,d){this.getModel();if(mxEvent.isAltDown(b))return null;for(var e=0;e<a.length;e++)if(this.model.isEdge(this.model.getParent(a[e])))return null;return mxGraph.prototype.getDropTarget.apply(this,arguments)};Graph.prototype.click=function(a){mxGraph.prototype.click.call(this,a);this.firstClickState=a.getState();this.firstClickSource=a.getSource()};Graph.prototype.dblClick=function(a,
- b){if(this.isEnabled()){var c=mxUtils.convertPoint(this.container,mxEvent.getClientX(a),mxEvent.getClientY(a));if(null!=a&&!this.model.isVertex(b)){var d=this.model.isEdge(b)?this.view.getState(b):null,e=mxEvent.getSource(a);this.firstClickState!=d||this.firstClickSource!=e||null!=d&&null!=d.text&&null!=d.text.node&&(mxUtils.contains(d.text.boundingBox,c.x,c.y)||mxUtils.isAncestorNode(d.text.node,mxEvent.getSource(a)))||(null!=d||this.isCellLocked(this.getDefaultParent()))&&(null==d||this.isCellLocked(d.cell))||
- !(null!=d||mxClient.IS_VML&&e==this.view.getCanvas()||mxClient.IS_SVG&&e==this.view.getCanvas().ownerSVGElement)||(b=this.addText(c.x,c.y,d))}mxGraph.prototype.dblClick.call(this,a,b)}};Graph.prototype.getInsertPoint=function(){var a=this.getGridSize(),b=this.container.scrollLeft/this.view.scale-this.view.translate.x,c=this.container.scrollTop/this.view.scale-this.view.translate.y;if(this.pageVisible)var d=this.getPageLayout(),e=this.getPageSize(),b=Math.max(b,d.x*e.width),c=Math.max(c,d.y*e.height);
- return new mxPoint(this.snap(b+a),this.snap(c+a))};Graph.prototype.getFreeInsertPoint=function(){var a=this.view,b=this.getGraphBounds(),c=this.getInsertPoint(),d=this.snap(Math.round(Math.max(c.x,b.x/a.scale-a.translate.x+(0==b.width?this.gridSize:0)))),a=this.snap(Math.round(Math.max(c.y,(b.y+b.height)/a.scale-a.translate.y+(0==b.height?1:2)*this.gridSize)));return new mxPoint(d,a)};Graph.prototype.isMouseInsertPoint=function(){return!1};Graph.prototype.addText=function(a,b,c){var d=new mxCell;
- d.value="Text";d.style="text;html=1;resizable=0;points=[];";d.geometry=new mxGeometry(0,0,0,0);d.vertex=!0;if(null!=c){d.style+="align=center;verticalAlign=middle;labelBackgroundColor=#ffffff;";d.geometry.relative=!0;d.connectable=!1;var e=this.view.getRelativePoint(c,a,b);d.geometry.x=Math.round(1E4*e.x)/1E4;d.geometry.y=Math.round(e.y);d.geometry.offset=new mxPoint(0,0);var e=this.view.getPoint(c,d.geometry),f=this.view.scale;d.geometry.offset=new mxPoint(Math.round((a-e.x)/f),Math.round((b-e.y)/
- f))}else d.style+="autosize=1;align=left;verticalAlign=top;spacingTop=-4;",e=this.view.translate,d.geometry.width=40,d.geometry.height=20,d.geometry.x=Math.round(a/this.view.scale)-e.x,d.geometry.y=Math.round(b/this.view.scale)-e.y;this.getModel().beginUpdate();try{this.addCells([d],null!=c?c.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[d])),this.autoSizeCell(d)}finally{this.getModel().endUpdate()}return d};Graph.prototype.getAbsoluteUrl=function(a){null!=a&&this.isRelativeUrl(a)&&
- (a="#"==a.charAt(0)?this.baseUrl+a:"/"==a.charAt(0)?this.domainUrl+a:this.domainPathUrl+a);return a};Graph.prototype.isExternalProtocol=function(a){return"mailto:"===a.substring(0,7)};Graph.prototype.isBlankLink=function(a){return!this.isExternalProtocol(a)&&("blank"===this.linkPolicy||"self"!==this.linkPolicy&&!this.isRelativeUrl(a)&&a.substring(0,this.domainUrl.length)!==this.domainUrl)};Graph.prototype.isRelativeUrl=function(a){return null!=a&&!this.absoluteUrlPattern.test(a)&&"data:"!==a.substring(0,
- 5)&&!this.isExternalProtocol(a)};Graph.prototype.addClickHandler=function(a,b,c){var d=mxUtils.bind(this,function(){var a=this.container.getElementsByTagName("a");if(null!=a)for(var c=0;c<a.length;c++){var d=this.getAbsoluteUrl(a[c].getAttribute("href"));null!=d&&(a[c].setAttribute("href",d),null!=b&&mxEvent.addGestureListeners(a[c],null,null,b))}});this.model.addListener(mxEvent.CHANGE,d);d();var e=this.container.style.cursor,f=this.getTolerance(),g=this,h={currentState:null,currentLink:null,highlight:null!=
- a&&""!=a&&a!=mxConstants.NONE?new mxCellHighlight(g,a,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(a){a=g.view.getState(a.getCell());a!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=a,null!=this.currentState&&this.activate(this.currentState))},mouseDown:function(a,b){this.startX=b.getGraphX();this.startY=b.getGraphY();this.scrollLeft=g.container.scrollLeft;this.scrollTop=g.container.scrollTop;null==this.currentLink&&"auto"==g.container.style.overflow&&
- (g.container.style.cursor="move");this.updateCurrentState(b)},mouseMove:function(a,b){if(g.isMouseDown){if(null!=this.currentLink){var c=Math.abs(this.startX-b.getGraphX()),d=Math.abs(this.startY-b.getGraphY());(c>f||d>f)&&this.clear()}}else"a"==b.getSource().nodeName.toLowerCase()?this.clear():(null==this.currentState||b.getState()!=this.currentState&&null!=b.getState()||!g.intersects(this.currentState,b.getGraphX(),b.getGraphY()))&&this.updateCurrentState(b)},mouseUp:function(a,d){if("a"!=d.getSource().nodeName.toLowerCase()&&
- Math.abs(this.scrollLeft-g.container.scrollLeft)<f&&Math.abs(this.scrollTop-g.container.scrollTop)<f&&(null==d.getState()||!d.isSource(d.getState().control))&&(mxEvent.isLeftMouseButton(d.getEvent())||mxEvent.isTouchEvent(d.getEvent())))if(null!=this.currentLink){var e=g.isBlankLink(this.currentLink);"data:"!==this.currentLink.substring(0,5)&&e||null==b||b(d.getEvent(),this.currentLink);mxEvent.isConsumed(d.getEvent())||(e=e?g.linkTarget:"_top","_self"==e&&window!=window.top?window.location.href=
- this.currentLink:this.currentLink.substring(0,g.baseUrl.length)==g.baseUrl&&"#"==this.currentLink.charAt(g.baseUrl.length)&&"_top"==e&&window==window.top?window.location.hash=this.currentLink.split("#")[1]:window.open(this.currentLink,e),d.consume())}else null!=c&&!d.isConsumed()&&Math.abs(this.scrollLeft-g.container.scrollLeft)<f&&Math.abs(this.scrollTop-g.container.scrollTop)<f&&Math.abs(this.startX-d.getGraphX())<f&&Math.abs(this.startY-d.getGraphY())<f&&c(d.getEvent());this.clear()},activate:function(a){this.currentLink=
- g.getAbsoluteUrl(g.getLinkForCell(a.cell));null!=this.currentLink&&(g.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(a))},clear:function(){null!=g.container&&(g.container.style.cursor=e);this.currentLink=this.currentState=null;null!=this.highlight&&this.highlight.hide()}};g.click=function(a){};g.addMouseListener(h);mxEvent.addListener(document,"mouseleave",function(a){h.clear()})};Graph.prototype.duplicateCells=function(a,b){a=null!=a?a:this.getSelectionCells();b=
- null!=b?b:!0;a=this.model.getTopmostCells(a);var c=this.getModel(),d=this.gridSize,e=[];c.beginUpdate();try{for(var f=this.cloneCells(a,!1),g=0;g<a.length;g++){var h=c.getParent(a[g]),k=this.moveCells([f[g]],d,d,!1,h)[0];e.push(k);if(b)c.add(h,f[g]);else{var l=h.getIndex(a[g]);c.add(h,f[g],l+1)}}}finally{c.endUpdate()}return e};Graph.prototype.insertImage=function(a,b,c){if(null!=a){for(var d=this.cellEditor.textarea.getElementsByTagName("img"),e=[],f=0;f<d.length;f++)e.push(d[f]);document.execCommand("insertimage",
- !1,a);a=this.cellEditor.textarea.getElementsByTagName("img");if(a.length==e.length+1)for(f=a.length-1;0<=f;f--)if(0==f||a[f]!=e[f-1]){a[f].setAttribute("width",b);a[f].setAttribute("height",c);break}}};Graph.prototype.insertLink=function(a){0==a.length?document.execCommand("unlink",!1):document.execCommand("createlink",!1,mxUtils.trim(a))};Graph.prototype.isCellResizable=function(a){var b=mxGraph.prototype.isCellResizable.apply(this,arguments),c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);
- return b||"0"!=mxUtils.getValue(c,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==c[mxConstants.STYLE_WHITE_SPACE]};Graph.prototype.distributeCells=function(a,b){null==b&&(b=this.getSelectionCells());if(null!=b&&1<b.length){for(var c=[],d=null,e=null,f=0;f<b.length;f++)if(this.getModel().isVertex(b[f])){var g=this.view.getState(b[f]);if(null!=g){var h=a?g.getCenterX():g.getCenterY(),d=null!=d?Math.max(d,h):h,e=null!=e?Math.min(e,h):h;c.push(g)}}if(2<c.length){c.sort(function(b,c){return a?b.x-c.x:b.y-c.y});
- g=this.view.translate;h=this.view.scale;e=e/h-(a?g.x:g.y);d=d/h-(a?g.x:g.y);this.getModel().beginUpdate();try{for(var k=(d-e)/(c.length-1),d=e,f=1;f<c.length-1;f++){var l=this.view.getState(this.model.getParent(c[f].cell)),m=this.getCellGeometry(c[f].cell),d=d+k;null!=m&&null!=l&&(m=m.clone(),a?m.x=Math.round(d-m.width/2)-l.origin.x:m.y=Math.round(d-m.height/2)-l.origin.y,this.getModel().setGeometry(c[f].cell,m))}}finally{this.getModel().endUpdate()}}}return b};Graph.prototype.isCloneEvent=function(a){return mxClient.IS_MAC&&
- mxEvent.isMetaDown(a)||mxEvent.isControlDown(a)};Graph.prototype.encodeCells=function(a){for(var b=this.cloneCells(a),c=new mxDictionary,d=0;d<a.length;d++)c.put(a[d],!0);for(d=0;d<b.length;d++){var e=this.view.getState(a[d]);if(null!=e){var f=this.getCellGeometry(b[d]);null==f||!f.relative||this.model.isEdge(a[d])||c.get(this.model.getParent(a[d]))||(f.relative=!1,f.x=e.x/e.view.scale-e.view.translate.x,f.y=e.y/e.view.scale-e.view.translate.y)}}c=new mxCodec;e=new mxGraphModel;f=e.getChildAt(e.getRoot(),
- 0);for(d=0;d<a.length;d++)e.add(f,b[d]);return c.encode(e)};Graph.prototype.createSvgImageExport=function(){var a=new mxImageExport;a.getLinkForCellState=mxUtils.bind(this,function(a,b){return this.getLinkForCell(a.cell)});return a};Graph.prototype.getSvg=function(a,b,c,d,e,f,g){b=null!=b?b:1;c=null!=c?c:0;e=null!=e?e:!0;f=null!=f?f:!0;g=null!=g?g:!0;var h=f||d?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells());if(null==h)throw Error(mxResources.get("drawingEmpty"));var k=this.view.scale,
- l=mxUtils.createXmlDocument();d=null!=l.createElementNS?l.createElementNS(mxConstants.NS_SVG,"svg"):l.createElement("svg");null!=a&&(null!=d.style?d.style.backgroundColor=a:d.setAttribute("style","background-color:"+a));null==l.createElementNS?(d.setAttribute("xmlns",mxConstants.NS_SVG),d.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);a=b/k;d.setAttribute("width",Math.max(1,Math.ceil(h.width*a)+2*c)+"px");d.setAttribute("height",
- Math.max(1,Math.ceil(h.height*a)+2*c)+"px");d.setAttribute("version","1.1");var m=d;e&&(m=null!=l.createElementNS?l.createElementNS(mxConstants.NS_SVG,"g"):l.createElement("g"),m.setAttribute("transform","translate(0.5,0.5)"),d.appendChild(m));l.appendChild(d);l=this.createSvgCanvas(m);l.foOffset=e?-.5:0;l.textOffset=e?-.5:0;l.imageOffset=e?-.5:0;l.translate(Math.floor((c/b-h.x)/k),Math.floor((c/b-h.y)/k));var n=l.createAlternateContent;l.createAlternateContent=function(a,b,c,d,e,f,g,h,k,l,m,y,D){var p=
- this.state;if(null!=this.foAltText&&(0==d||0!=p.fontSize&&f.length<5*d/p.fontSize)){var q=this.createElement("text");q.setAttribute("x",Math.round(d/2));q.setAttribute("y",Math.round((e+p.fontSize)/2));q.setAttribute("fill",p.fontColor||"black");q.setAttribute("text-anchor","middle");q.setAttribute("font-size",Math.round(p.fontSize)+"px");q.setAttribute("font-family",p.fontFamily);(p.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&q.setAttribute("font-weight","bold");(p.fontStyle&mxConstants.FONT_ITALIC)==
- mxConstants.FONT_ITALIC&&q.setAttribute("font-style","italic");(p.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&q.setAttribute("text-decoration","underline");mxUtils.write(q,f);return q}return n.apply(this,arguments)};c=this.backgroundImage;null!=c&&(e=k/b,b=this.view.translate,e=new mxRectangle(b.x*e,b.y*e,c.width*e,c.height*e),mxUtils.intersects(h,e)&&l.image(b.x,b.y,c.width,c.height,c.src,!0));l.scale(a);l.textEnabled=g;g=this.createSvgImageExport();var y=g.drawCellState;g.drawCellState=
- function(a,b){(f||a.view.graph.isCellSelected(a.cell))&&y.apply(this,arguments)};g.drawState(this.getView().getState(this.model.root),l);return d};Graph.prototype.createSvgCanvas=function(a){return new mxSvgCanvas2D(a)};Graph.prototype.getSelectedElement=function(){var a=null;if(window.getSelection){var b=window.getSelection();b.getRangeAt&&b.rangeCount&&(a=b.getRangeAt(0).commonAncestorContainer)}else document.selection&&(a=document.selection.createRange().parentElement());return a};Graph.prototype.getParentByName=
- function(a,b,c){for(;null!=a&&a.nodeName!=b;){if(a==c)return null;a=a.parentNode}return a};Graph.prototype.selectNode=function(a){var b=null;if(window.getSelection){if(b=window.getSelection(),b.getRangeAt&&b.rangeCount){var c=document.createRange();c.selectNode(a);b.removeAllRanges();b.addRange(c)}}else(b=document.selection)&&"Control"!=b.type&&(a=b.createRange(),a.collapse(!0),c=b.createRange(),c.setEndPoint("StartToStart",a),c.select())};Graph.prototype.insertRow=function(a,b){for(var c=a.tBodies[0],
- d=0<c.rows.length?c.rows[0].cells.length:1,c=c.insertRow(b),e=0;e<d;e++)mxUtils.br(c.insertCell(-1));return c.cells[0]};Graph.prototype.deleteRow=function(a,b){a.tBodies[0].deleteRow(b)};Graph.prototype.insertColumn=function(a,b){var c=a.tHead;if(null!=c)for(var d=0;d<c.rows.length;d++){var e=document.createElement("th");c.rows[d].appendChild(e);mxUtils.br(e)}c=a.tBodies[0];for(d=0;d<c.rows.length;d++)e=c.rows[d].insertCell(b),mxUtils.br(e);return c.rows[0].cells[0<=b?b:c.rows[0].cells.length-1]};
- Graph.prototype.deleteColumn=function(a,b){if(0<=b)for(var c=a.tBodies[0].rows,d=0;d<c.length;d++)c[d].cells.length>b&&c[d].deleteCell(b)};Graph.prototype.pasteHtmlAtCaret=function(a){var b;if(window.getSelection){if(b=window.getSelection(),b.getRangeAt&&b.rangeCount){b=b.getRangeAt(0);b.deleteContents();var c=document.createElement("div");c.innerHTML=a;a=document.createDocumentFragment();for(var d;d=c.firstChild;)lastNode=a.appendChild(d);b.insertNode(a)}}else(b=document.selection)&&"Control"!=b.type&&
- b.createRange().pasteHTML(a)};Graph.prototype.createLinkForHint=function(a,b){var c=document.createElement("a");c.setAttribute("href",this.getAbsoluteUrl(a));c.setAttribute("title",a);null!=this.linkTarget&&c.setAttribute("target",this.linkTarget);60<b.length&&(b=b.substring(0,36)+"..."+b.substring(b.length-20));mxUtils.write(c,b);return c};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,
- function(a,b){this.popupMenuHandler.hideMenu()});var a=this.updateMouseEvent;this.updateMouseEvent=function(b){b=a.apply(this,arguments);if(mxEvent.isTouchEvent(b.getEvent())&&null==b.getState()){var c=this.getCellAt(b.graphX,b.graphY);null!=c&&this.isSwimlane(c)&&this.hitsSwimlaneContent(c,b.graphX,b.graphY)||(b.state=this.view.getState(c),null!=b.state&&null!=b.state.shape&&(this.container.style.cursor=b.state.shape.node.style.cursor))}null==b.getState()&&this.isEnabled()&&(this.container.style.cursor=
- "default");return b};var b=!1,c=!1,d=!1,e=this.fireMouseEvent;this.fireMouseEvent=function(a,f,g){a==mxEvent.MOUSE_DOWN&&(f=this.updateMouseEvent(f),b=this.isCellSelected(f.getCell()),c=this.isSelectionEmpty(),d=this.popupMenuHandler.isMenuShowing());e.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(a,e){this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==e.getState()||!e.isSource(e.getState().control))&&(this.popupMenuHandler.popupTrigger||
- !d&&!mxEvent.isMouseEvent(e.getEvent())&&(c&&null==e.getCell()&&this.isSelectionEmpty()||b&&this.isCellSelected(e.getCell())));mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,arguments)})};mxCellEditor.prototype.isContentEditing=function(){var a=this.graph.view.getState(this.editingCell);return null!=a&&1==a.style.html};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){if(sel=window.getSelection(),sel.getRangeAt&&sel.rangeCount){for(var a=[],b=0,c=sel.rangeCount;b<
- c;++b)a.push(sel.getRangeAt(b));return a}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(a){try{if(a)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var b=0,c=a.length;b<c;++b)sel.addRange(a[b])}else document.selection&&a.select&&a.select()}catch(S){}};var e=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(a){null!=
- a.text&&(a.text.replaceLinefeeds="0"!=mxUtils.getValue(a.style,"nl2Br","1"));e.apply(this,arguments)};var f=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(a,b){this.isKeepFocusEvent(a)||!mxEvent.isAltDown(a.getEvent())?f.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(a){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var h=mxCellEditor.prototype.startEditing;
- mxCellEditor.prototype.startEditing=function(a,b){h.apply(this,arguments);var c=this.graph.view.getState(a);this.textarea.className=null!=c&&1==c.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(a);var c=this.graph.getModel().getParent(a),d=this.graph.getCellGeometry(a);this.graph.getModel().isEdge(c)&&null!=d&&d.relative||this.graph.getModel().isEdge(a)?mxClient.IS_QUIRKS?this.textarea.style.border=
- "gray dotted 1px":this.textarea.style.outline=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_FF&&mxClient.IS_WIN?"gray dotted 1px":"":mxClient.IS_QUIRKS&&(this.textarea.style.outline="none",this.textarea.style.border="")};var g=mxCellEditor.prototype.installListeners;mxCellEditor.prototype.installListeners=function(a){function b(a,c){c.originalNode=a;a=a.firstChild;for(var d=c.firstChild;null!=a&&null!=d;)b(a,d),a=a.nextSibling,d=d.nextSibling;return c}function c(a,b){if(null!=a)if(b.originalNode!=
- a)d(a);else for(a=a.firstChild,b=b.firstChild;null!=a;){var e=a.nextSibling;null==b?d(a):(c(a,b),b=b.nextSibling);a=e}}function d(a){for(var b=a.firstChild;null!=b;){var c=b.nextSibling;d(b);b=c}1==a.nodeType&&("BR"===a.nodeName||null!=a.firstChild)||3==a.nodeType&&0!=mxUtils.trim(mxUtils.getTextContent(a)).length?(3==a.nodeType&&mxUtils.setTextContent(a,mxUtils.getTextContent(a).replace(/\n|\r/g,"")),1==a.nodeType&&(a.removeAttribute("style"),a.removeAttribute("class"),a.removeAttribute("width"),
- a.removeAttribute("cellpadding"),a.removeAttribute("cellspacing"),a.removeAttribute("border"))):a.parentNode.removeChild(a)}g.apply(this,arguments);mxClient.IS_QUIRKS||7===document.documentMode||8===document.documentMode||mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(a){var d=b(this.textarea,this.textarea.cloneNode(!0));window.setTimeout(mxUtils.bind(this,function(){c(this.textarea,d)}),0)}))};mxCellEditor.prototype.toggleViewMode=function(){var a=this.graph.view.getState(this.editingCell),
- b=null!=a&&"0"!=mxUtils.getValue(a.style,"nl2Br","1"),c=this.saveSelection();if(this.codeViewMode){h=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<h.length&&"\n"==h.charAt(h.length-1)&&(h=h.substring(0,h.length-1));h=this.graph.sanitizeHtml(b?h.replace(/\n/g,"<br/>"):h,!0);this.textarea.className="mxCellEditor geContentEditable";var d=mxUtils.getValue(a.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),b=mxUtils.getValue(a.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),
- e=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,g=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,a=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEIGHT)+
- "px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.textDecoration=a?"underline":"";this.textarea.style.fontWeight=f?"bold":"normal";this.textarea.style.fontStyle=g?"italic":"";this.textarea.style.fontFamily=b;this.textarea.style.textAlign=e;this.textarea.style.padding="0px";this.textarea.innerHTML!=h&&(this.textarea.innerHTML=h,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));
- this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerHTML="");var h=mxUtils.htmlEntities(this.textarea.innerHTML);mxClient.IS_QUIRKS||8==document.documentMode||(h=mxUtils.replaceTrailingNewlines(h,"<div><br></div>"));h=this.graph.sanitizeHtml(b?h.replace(/\n/g,"").replace(/<br\s*.?>/g,"<br>"):h,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var d=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=
- mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.padding="2px";this.textarea.innerHTML!=h&&(this.textarea.innerHTML=h);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&
- this.restoreSelection(this.switchSelectionState);this.switchSelectionState=c;this.resize()};var k=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(a,b){if(null!=this.textarea)if(a=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=a){var c=a.view.scale;this.bounds=mxRectangle.fromRectangle(a);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*c;this.bounds.height=60*c;var d=null!=a.text?a.text.margin:null;null==d&&(d=mxUtils.getAlignmentAsPoint(mxUtils.getValue(a.style,
- mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=d.x*this.bounds.width;this.bounds.y+=d.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/c)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/c)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/c)+(this.textarea.offsetHeight-
- this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*c);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/c)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*c);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxClient.IS_VML?this.textarea.style.zoom=c:mxUtils.setPrefixedStyle(this.textarea.style,
- "transform","scale("+c+","+c+")")}else this.textarea.style.height="",this.textarea.style.overflow="",k.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(a,b){if("0"==mxUtils.getValue(a.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var c=this.graph.getEditingValue(a.cell,b);"1"==mxUtils.getValue(a.style,"nl2Br","1")&&(c=c.replace(/\n/g,"<br/>"));return c=this.graph.sanitizeHtml(c,!0)};
- mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(a){if("0"==mxUtils.getValue(a.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var b=this.graph.sanitizeHtml(this.textarea.innerHTML,!0);return b="1"==mxUtils.getValue(a.style,"nl2Br","1")?b.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"):b.replace(/\r\n/g,"").replace(/\n/g,"")};var l=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(a){this.codeViewMode&&
- this.toggleViewMode();l.apply(this,arguments);try{this.graph.container.focus()}catch(C){}};var m=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(a,b){this.graph.getModel().beginUpdate();try{if(m.apply(this,arguments),this.graph.isCellDeletable(a.cell)){var c=mxUtils.getValue(a.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),d=mxUtils.getValue(a.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);""==b&&c==mxConstants.NONE&&d==mxConstants.NONE&&this.graph.removeCells([a.cell],
- !1)}}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(a){var b=null;if(this.graph.getModel().isEdge(a.cell)||this.graph.getModel().isEdge(this.graph.getModel().getParent(a.cell)))b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null),b==mxConstants.NONE&&(b=null);return b};mxCellEditor.prototype.getMinimumSize=function(a){var b=this.graph.getView().scale;return new mxRectangle(0,0,null==a.text?30:a.text.size*b+20,30)};var n=mxGraphHandler.prototype.moveCells;
- mxGraphHandler.prototype.moveCells=function(a,b,c,d,e,f){mxEvent.isAltDown(f)&&(e=null);n.apply(this,arguments)};mxGraphHandler.prototype.updateHint=function(b){if(null!=this.shape){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var c=this.graph.view.translate,d=this.graph.view.scale;b=this.roundLength((this.bounds.x+this.currentDx)/d-c.x);c=this.roundLength((this.bounds.y+this.currentDy)/d-c.y);this.hint.innerHTML=b+", "+c;this.hint.style.left=this.shape.bounds.x+Math.round((this.shape.bounds.width-
- this.hint.clientWidth)/2)+"px";this.hint.style.top=this.shape.bounds.y+this.shape.bounds.height+12+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(this.hint.parentNode.removeChild(this.hint),this.hint=null)};mxVertexHandler.prototype.isRecursiveResize=function(a,b){return!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cell)&&!mxEvent.isControlDown(b.getEvent())&&!this.graph.isCellCollapsed(a.cell)&&"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==
- mxUtils.getValue(a.style,"childLayout",null)};mxVertexHandler.prototype.isCenteredEvent=function(a,b){return!(!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cell)&&!this.graph.isCellCollapsed(a.cell)&&"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==mxUtils.getValue(a.style,"childLayout",null))&&mxEvent.isControlDown(b.getEvent())||mxEvent.isMetaDown(b.getEvent())};var p=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var a=
- new mxPoint(0,0),b=this.tolerance;this.graph.cellEditor.getEditingCell()==this.state.cell&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(b/=2,a.x=this.sizers[0].bounds.width+b,a.y=this.sizers[0].bounds.height+b):a=p.apply(this,arguments);return a};mxVertexHandler.prototype.updateHint=function(b){this.index!=mxEvent.LABEL_HANDLE&&(null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint)),this.index==mxEvent.ROTATION_HANDLE?this.hint.innerHTML=this.currentAlpha+
- "°":(b=this.state.view.scale,this.hint.innerHTML=this.roundLength(this.bounds.width/b)+" x "+this.roundLength(this.bounds.height/b)),b=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0"),null==b&&(b=this.bounds),this.hint.style.left=b.x+Math.round((b.width-this.hint.clientWidth)/2)+"px",this.hint.style.top=b.y+b.height+12+"px")};mxVertexHandler.prototype.removeHint=mxGraphHandler.prototype.removeHint;mxEdgeHandler.prototype.updateHint=
- function(b,c){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var d=this.graph.view.translate,e=this.graph.view.scale,f=this.roundLength(c.x/e-d.x),d=this.roundLength(c.y/e-d.y);this.hint.innerHTML=f+", "+d;this.hint.style.visibility="visible";if(this.isSource||this.isTarget)null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(f=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*f.x)+"%, "+
- Math.round(100*f.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(b.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(b.getGraphY(),c.y)+this.state.view.graph.gridSize+"px";null!=this.hideEdgeHintThread&&window.clearTimeout(this.hideEdgeHintThread);this.hideEdgeHintThread=window.setTimeout(mxUtils.bind(this,function(){null!=this.hint&&(this.hint.style.visibility="hidden")}),500)};mxEdgeHandler.prototype.removeHint=mxGraphHandler.prototype.removeHint;
- HoverIcons.prototype.mainHandle=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAACXBIWXMAAAsTAAALEwEAmpwYAAABLUlEQVQ4y61US4rCQBBNeojiRrLSnbMOWWU3V1FPouARcgc9hyLOCSSbYZw5gRCIkM9KbevJaycS4zCOBY+iq6pf1y+xrNtiE6oEY/tVzMUXgSNoCJrUDu3qHpldutwSuIKOoEvt0m7I7DoCvNj2fb8XRdEojuN5lmVraJxhh59xFSLFF9phGL7lef6hRb63R73aHM8aAjv8JHJ47yqLlud5r0VRbHa51sPZQVuT/QU4ww4/4ljaJRubrC5SxouD6TWBQV/sEIkbs0eOIVGssSO1L5D6LQID+BHHZjdMSYpj7KZpun7/uk8CP5rNqTXLJP/OpNyTMWruP9CTP08nCILKdCp7gkCzJ8vPnz2BvW5PKhuLjJBykiQLaWIEjTP3o3Zjn/LtPO0rfvh/cgKu7z6wtPPltQAAAABJRU5ErkJggg==":
- IMAGE_PATH+"/handle-main.png",17,17);HoverIcons.prototype.fixedHandle=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NkE1NkU4Njk2QjI1MTFFNEFDMjFGQTcyODkzNTc3NkYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NkE1NkU4NkE2QjI1MTFFNEFDMjFGQTcyODkzNTc3NkYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2QTU2RTg2NzZCMjUxMUU0QUMyMUZBNzI4OTM1Nzc2RiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2QTU2RTg2ODZCMjUxMUU0QUMyMUZBNzI4OTM1Nzc2RiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pmuk6K8AAAGBSURBVHjarFRBSsNQEM3/atNs6qLowixcKELoqjuXoqfQeoF6BMEj9BCC1YIXcCGlV8hGLNZlBKWlCk1JSs13Xvw/nca6UDrwmMzMy8tk/iTCWmwi52Eq53+QeWwg2bXSSNi1WiRibgRWCTahwEQmhJgw1WJGML2BC6wQnEqlsuH7fr3f7zdHo9EdPGLkUdc8mX8TJNYIpUajsR+G4YMie3pNVKebpB6GPOrgab7kr5F24Hne9ng87r6HStUuP5V1Mc2AGHnUwWMdCck6sVut1onjOHtnt4nV7M0fAuI65VEnXk3PTFq5Eyi4rnvUe1PW9fO3QOdUzvkbyqNOvEM2dMEHK2zbLr98zJ5+cJWkAvDGUC8Wi2X28Gww6bnHcTzYWp+JGAHTCQz1KIoGfFckCyZBELR3N4V1vCOyTrhHHnXw9N5kQn8+nWq1Onc6C/cERLMn7cfZniD/257wbjDxEjqiDT0fDof3tLE+PGK9HyXNy7pYyrez9K/43/+TLwEGAMb7AY6w980DAAAAAElFTkSuQmCC":
- IMAGE_PATH+"/handle-fixed.png",17,17);HoverIcons.prototype.terminalHandle=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MEMzRUVERTk2NzU1MTFFNTg5NjNEMjREQ0FFNENFQzgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MEMzRUVERUE2NzU1MTFFNTg5NjNEMjREQ0FFNENFQzgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowQzNFRURFNzY3NTUxMUU1ODk2M0QyNERDQUU0Q0VDOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowQzNFRURFODY3NTUxMUU1ODk2M0QyNERDQUU0Q0VDOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Poj8AGUAAAF6SURBVHjarFTBSsNAEM2u2jSXeCh6sAcPilB6ys2j6Fdo/YH6CYKf0I8QrBb8AQ9S+gu5iMV6jKC0VCEJTalZ54VNnMR4ULrwmJ2Zt5PZmdkIo3yJgsRSBfmDzPUUku2VRsz2qixIehBYJZiECgsyJ0SEhQ6WBkwO8AArBKvZbG64rtsej8dd3/fvIKHDDr/myeJNYFgj2J1OZz8IggdF6+k1VoNhnEgs2OEHT/Mlv0aSQaPR2A7DcPgeKNW6/FTGxSIDdNjhB49lJCTLxOz1eieWZe2d3cZGd5RvAvQ22eEnXkvXTBqFDlTq9frR6E0Z18+qtO83ZIefeIes6IIXVpimWXv5yB8cnMqcDn+1Wq2xj2eFSfoeRdFkaz0f5OAqzunwz2azCZ8VyZS553n93U1hHO+I0uvADj94em6yQH/ujuM4ue6UzgmI6Zz0H7/nBPbf5oRng4rbyIgm9Hw6nd7TxLqQ0PV82JqXZbGUt7P0V/zv/8mXAAMASSz1f9Cd7ycAAAAASUVORK5CYII=":
- IMAGE_PATH+"/handle-terminal.png",17,17);HoverIcons.prototype.secondaryHandle=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MEJBMUVERjNEMkZDMTFFM0I0Qzc5RkE1RTc2NjI0OUIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MEJBMUVERjREMkZDMTFFM0I0Qzc5RkE1RTc2NjI0OUIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowQkExRURGMUQyRkMxMUUzQjRDNzlGQTVFNzY2MjQ5QiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowQkExRURGMkQyRkMxMUUzQjRDNzlGQTVFNzY2MjQ5QiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvXDOj4AAAFqSURBVHjarFTNToNAEN5FLeiBmDRe7MGLF4IXbp71KapP4CPoO/QdvKiv4ME0PkAvJI2J0SueIHgAAk3b7XxkwSlgE38mmSwz8+3HsPMtUnSbbKww1VhbYB5XbrBnpX3JnlUXSbURvk1ukvcYyYy8IJ9rsoqw3MAJtsh3Xdc98H3/KgzDuyRJHrEiRh51jTOaX4LEDrk9Go1O0zR9UWTL9E0to+dyhSGPOnAab/DPKDtwHOcoy7LXz1SpxeRSzW9F7YiRRx041pGsSMC6Ty1f442LycUawRfRsOyIcDfA632ST6A3GAzOVfYu1PS+c+5q+iBQJ9wZO3TJD1aaptkX+YfYaFS3LKvPXl4fTDn3oigiYR1uJqF6nucR14rBglkQBGO5dyzkybBbxpRHHTitm5rox9PxPK81nZZOAKx1Eo5rnSD/nU54NzhxGx1hjHEcP5FifayItT5sjVvTyJ/vzr/f4l//T1YCDAC4VAdLL1OIRAAAAABJRU5ErkJggg==":
- IMAGE_PATH+"/handle-secondary.png",17,17);HoverIcons.prototype.rotationHandle=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAVCAYAAACkCdXRAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAA6ZJREFUeNqM001IY1cUB/D/fYmm2sbR2lC1zYlgoRG6MpEyBlpxM9iFIGKFIm3s0lCKjOByhCLZCFqLBF1YFVJdSRbdFHRhBbULtRuFVBTzYRpJgo2mY5OX5N9Fo2TG+eiFA/dd3vvd8+65ByTxshARTdf1JySp6/oTEdFe9T5eg5lIcnBwkCSZyWS+exX40oyur68/KxaLf5Okw+H4X+A9JBaLfUySZ2dnnJqaosPhIAACeC34DJRKpb7IZrMcHx+nwWCgUopGo/EOKwf9fn/1CzERUevr6+9ls1mOjIwQAH0+H4PBIKPR6D2ofAQCgToRUeVYJUkuLy8TANfW1kiS8/PzCy84Mw4MDBAAZ2dnmc/nub+/X0MSEBF1cHDwMJVKsaGhgV6vl+l0mqOjo1+KyKfl1dze3l4NBoM/PZ+diFSLiIKIGBOJxA9bW1sEwNXVVSaTyQMRaRaRxrOzs+9J8ujoaE5EPhQRq67rcZ/PRwD0+/3Udf03EdEgIqZisZibnJykwWDg4eEhd3Z2xkXELCJvPpdBrYjUiEhL+Xo4HH4sIhUaAKNSqiIcDsNkMqG+vh6RSOQQQM7tdhsAQCkFAHC73UUATxcWFqypVApmsxnDw8OwWq2TADQNgAYAFosF+XweyWQSdru9BUBxcXFRB/4rEgDcPouIIx6P4+bmBi0tLSCpAzBqAIqnp6c/dnZ2IpfLYXNzE62traMADACKNputpr+/v8lms9UAKAAwiMjXe3t7KBQKqKurQy6Xi6K0i2l6evpROp1mbW0t29vbGY/Hb8/IVIqq2zlJXl1dsaOjg2azmefn5wwEAl+JSBVExCgi75PkzMwMlVJsbGxkIpFgPp8PX15ePopEIs3JZPITXdf/iEajbGpqolKKExMT1HWdHo/nIxGpgIgoEXnQ3d39kCTHxsYIgC6Xi3NzcwyHw8xkMozFYlxaWmJbWxuVUuzt7WUul6PX6/1cRN4WEe2uA0SkaWVl5XGpRVhdXU0A1DSNlZWVdz3qdDrZ09PDWCzG4+Pjn0XEWvp9KJKw2WwKwBsA3gHQHAqFfr24uMDGxgZ2d3cRiUQAAHa7HU6nE319fTg5Ofmlq6vrGwB/AngaCoWK6rbsNptNA1AJoA7Aux6Pp3NoaMhjsVg+QNmIRqO/u1yubwFEASRKUAEA7rASqABUAKgC8KAUb5XWCOAfAFcA/gJwDSB7C93DylCtdM8qABhLc5TumV6KQigUeubjfwcAHkQJ94ndWeYAAAAASUVORK5CYII=":
- IMAGE_PATH+"/handle-rotate.png",19,21);mxVertexHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxVertexHandler.prototype.secondaryHandleImage=HoverIcons.prototype.secondaryHandle;mxEdgeHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxEdgeHandler.prototype.terminalHandleImage=HoverIcons.prototype.terminalHandle;mxEdgeHandler.prototype.fixedHandleImage=HoverIcons.prototype.fixedHandle;mxEdgeHandler.prototype.labelHandleImage=HoverIcons.prototype.secondaryHandle;mxOutline.prototype.sizerImage=
- HoverIcons.prototype.mainHandle;null!=window.Sidebar&&(Sidebar.prototype.triangleUp=HoverIcons.prototype.triangleUp,Sidebar.prototype.triangleRight=HoverIcons.prototype.triangleRight,Sidebar.prototype.triangleDown=HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prototype.triangleLeft,Sidebar.prototype.refreshTarget=HoverIcons.prototype.refreshTarget,Sidebar.prototype.roundDrop=HoverIcons.prototype.roundDrop);mxClient.IS_SVG||((new Image).src=HoverIcons.prototype.mainHandle.src,
- (new Image).src=HoverIcons.prototype.fixedHandle.src,(new Image).src=HoverIcons.prototype.terminalHandle.src,(new Image).src=HoverIcons.prototype.secondaryHandle.src,(new Image).src=HoverIcons.prototype.rotationHandle.src,(new Image).src=HoverIcons.prototype.triangleUp.src,(new Image).src=HoverIcons.prototype.triangleRight.src,(new Image).src=HoverIcons.prototype.triangleDown.src,(new Image).src=HoverIcons.prototype.triangleLeft.src,(new Image).src=HoverIcons.prototype.refreshTarget.src,(new Image).src=
- HoverIcons.prototype.roundDrop.src);mxVertexHandler.prototype.rotationEnabled=!0;mxVertexHandler.prototype.manageSizers=!0;mxVertexHandler.prototype.livePreview=!0;mxRubberband.prototype.defaultOpacity=30;mxConnectionHandler.prototype.outlineConnect=!0;mxCellHighlight.prototype.keepOnTop=!0;mxVertexHandler.prototype.parentHighlightEnabled=!0;mxVertexHandler.prototype.rotationHandleVSpacing=-20;mxEdgeHandler.prototype.parentHighlightEnabled=!0;mxEdgeHandler.prototype.dblClickRemoveEnabled=!0;mxEdgeHandler.prototype.straightRemoveEnabled=
- !0;mxEdgeHandler.prototype.virtualBendsEnabled=!0;mxEdgeHandler.prototype.mergeRemoveEnabled=!0;mxEdgeHandler.prototype.manageLabelHandle=!0;mxEdgeHandler.prototype.outlineConnect=!0;mxEdgeHandler.prototype.isAddVirtualBendEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};mxEdgeHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=
- 18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-24,mxConstraintHandler.prototype.getTolerance=function(a){return mxEvent.isMouseEvent(a.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return null==a.getState()&&!mxEvent.isMouseEvent(b)||mxEvent.isPopupTrigger(b)&&(null==a.getState()||mxEvent.isControlDown(b)||mxEvent.isShiftDown(b))};
- var q=mxGraphHandler.prototype.mouseDown;mxGraphHandler.prototype.mouseDown=function(a,b){q.apply(this,arguments);mxEvent.isTouchEvent(b.getEvent())&&this.graph.isCellSelected(b.getCell())&&1<this.graph.getSelectionCount()&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return mxEvent.isLeftMouseButton(b)&&(this.useLeftButtonForPanning&&null==a.getState()||mxEvent.isControlDown(b)&&!mxEvent.isShiftDown(b))||this.usePopupTrigger&&mxEvent.isPopupTrigger(b)};
- mxRubberband.prototype.isSpaceEvent=function(a){return this.graph.isEnabled()&&!this.graph.isCellLocked(this.graph.getDefaultParent())&&mxEvent.isControlDown(a.getEvent())&&mxEvent.isShiftDown(a.getEvent())};mxRubberband.prototype.mouseUp=function(a,b){var c=null!=this.div&&"none"!=this.div.style.display,d=null,e=null,f=null,g=null;null!=this.first&&null!=this.currentX&&null!=this.currentY&&(d=this.first.x,e=this.first.y,f=(this.currentX-d)/this.graph.view.scale,g=(this.currentY-e)/this.graph.view.scale,
- mxEvent.isAltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g),this.graph.isGridEnabled()||(Math.abs(f)<this.graph.tolerance&&(f=0),Math.abs(g)<this.graph.tolerance&&(g=0))));this.reset();if(c){if(mxEvent.isAltDown(b.getEvent())&&this.graph.isToggleEvent(b.getEvent())){var f=new mxRectangle(this.x,this.y,this.width,this.height),h=this.graph.getCells(f.x,f.y,f.width,f.height);this.graph.removeSelectionCells(h)}else if(this.isSpaceEvent(b)){this.graph.model.beginUpdate();try{for(h=this.graph.getCellsBeyond(d,
- e,this.graph.getDefaultParent(),!0,!0),c=0;c<h.length;c++)if(this.graph.isCellMovable(h[c])){var k=this.graph.view.getState(h[c]),l=this.graph.getCellGeometry(h[c]);null!=k&&null!=l&&(l=l.clone(),l.translate(f,g),this.graph.model.setGeometry(h[c],l))}}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(f,b.getEvent());b.consume()}};mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.getScrollOrigin(this.graph.container),
- d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var d=b.getX()+c.x,c=b.getY()+c.y,e=this.first.x-d,f=this.first.y-c,g=this.graph.tolerance;if(null!=this.div||Math.abs(e)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(d,c),this.isSpaceEvent(b)?(d=this.x+this.width,c=this.y+this.height,e=this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(this.width=this.graph.snap(this.width/e)*e,this.height=this.graph.snap(this.height/e)*e,this.graph.isGridEnabled()||
- (this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=d-this.width),this.y<this.first.y&&(this.y=c-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",
- null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&
- (this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),b.consume()}};var r=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);r.apply(this,arguments)};var t=(new Date).getTime(),u=0,v=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d){v.apply(this,arguments);c!=this.currentTerminalState?(t=(new Date).getTime(),
- u=0):u=(new Date).getTime()-t;this.currentTerminalState=c};var x=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&&2E3<u||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&x.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};mxEdgeHandler.prototype.createHandleShape=
- function(a,b){var c=null!=a&&0==a,d=this.state.getVisibleTerminalState(c),e=null!=a&&(0==a||a>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state,d,c):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):null)?this.fixedHandleImage:null!=e&&null!=d?this.terminalHandleImage:this.handleImage;if(null!=c)return c=new mxImageShape(new mxRectangle(0,0,c.width,c.height),c.src),c.preserveImageAspect=
- !1,c;c=mxConstants.HANDLE_SIZE;this.preferHtml&&--c;return new mxRectangleShape(new mxRectangle(0,0,c,c),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var z=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(a,b,c){this.handleImage=b==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:b==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return z.apply(this,arguments)};var A=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=
- function(a){if(null!=a&&1==a.length){var b=this.graph.getModel(),c=b.getParent(a[0]),d=this.graph.getCellGeometry(a[0]);if(b.isEdge(c)&&null!=d&&d.relative&&(b=this.graph.view.getState(a[0]),null!=b&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox))return mxRectangle.fromRectangle(b.text.boundingBox)}return A.apply(this,arguments)};var E=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(a){var b=this.graph.getModel(),c=b.getParent(a.cell),
- d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox?(b=a.text.unrotatedBoundingBox||a.text.boundingBox,new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Math.round(b.height))):E.apply(this,arguments)};var F=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(a,b){var c=this.graph.getModel(),d=c.getParent(this.state.cell),e=this.graph.getCellGeometry(this.state.cell);
- (this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!c.isEdge(d)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&F.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=function(){this.state.view.graph.turnShapes([this.state.cell])};
- var w=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(a,b){w.apply(this,arguments);null!=this.graph.graphHandler.first&&null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none")};var J=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(a,b){J.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":
- "none")};var K=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){K.apply(this,arguments);var a=!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var b=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<
- this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,function(a,c){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(a,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(a,b){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,
- this.editingHandler);var c=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(c);null!=c&&(a=!0);a&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(b){null==b||1<this.graph.getSelectionCount()?null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null):null!=b&&(null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="4px 10px 6px 10px",this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter=
- "",this.updateLinkHint(b),this.graph.container.appendChild(this.linkHint)),b=this.graph.createLinkForHint(b,b),this.linkHint.innerHTML="",this.linkHint.appendChild(b),this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(b=document.createElement("img"),b.setAttribute("src",IMAGE_PATH+"/edit.gif"),b.setAttribute("title",mxResources.get("editLink")),b.setAttribute("width","11"),b.setAttribute("height","11"),b.style.marginLeft="10px",b.style.marginBottom="-1px",b.style.cursor="pointer",this.linkHint.appendChild(b),
- mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(a)}))))};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var I=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){I.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var a=mxUtils.bind(this,function(){null!=this.linkHint&&
- (this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(b,c){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(b,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a();this.redrawHandles()});
- this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var b=this.graph.getLinkForCell(this.state.cell);null!=b&&(this.updateLinkHint(b),this.redrawHandles())};var G=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){G.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var B=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){B.apply(this);
- if(null!=this.state&&null!=this.linkHint){var a=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),b=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),a=mxUtils.getBoundingBox(b,this.state.style[mxConstants.STYLE_ROTATION]||"0",a),b=null!=a?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==a&&(a=this.state);this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=
- Math.round(a.y+a.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var N=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=function(){N.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var M=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){M.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),
- this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var P=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(P.apply(this),null!=this.state&&
- null!=this.linkHint)){var a=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(a=new mxRectangle(a.x,a.y,a.width,a.height),a.add(this.state.text.bounds));this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+6+this.state.view.graph.tolerance)+"px"}};var O=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){O.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};
- var H=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){H.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null)}}();(function(){function a(){mxCylinder.call(this)}function c(){mxActor.call(this)}function d(){mxCylinder.call(this)}function b(){mxCylinder.call(this)}function e(){mxCylinder.call(this)}function f(){mxActor.call(this)}function h(){mxCylinder.call(this)}function g(){mxActor.call(this)}function k(){mxActor.call(this)}function l(){mxActor.call(this)}function m(){mxActor.call(this)}function n(){mxActor.call(this)}function p(){mxActor.call(this)}function q(){mxActor.call(this)}function r(a,b){this.canvas=
- a;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=b;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,r.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,r.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,r.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,r.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;
- this.canvas.curveTo=mxUtils.bind(this,r.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,r.prototype.arcTo)}function t(){mxRectangleShape.call(this)}function u(){mxActor.call(this)}function v(){mxActor.call(this)}function x(){mxActor.call(this)}function z(){mxRectangleShape.call(this)}function A(){mxRectangleShape.call(this)}function E(){mxCylinder.call(this)}function F(){mxShape.call(this)}function w(){mxShape.call(this)}function J(){mxEllipse.call(this)}
- function K(){mxShape.call(this)}function I(){mxShape.call(this)}function G(){mxRectangleShape.call(this)}function B(){mxShape.call(this)}function N(){mxShape.call(this)}function M(){mxShape.call(this)}function P(){mxCylinder.call(this)}function O(){mxDoubleEllipse.call(this)}function H(){mxDoubleEllipse.call(this)}function D(){mxArrowConnector.call(this);this.spacing=0}function C(){mxArrowConnector.call(this);this.spacing=0}function y(){mxActor.call(this)}function S(){mxRectangleShape.call(this)}
- function Q(){mxActor.call(this)}function Z(){mxActor.call(this)}function T(){mxActor.call(this)}function U(){mxActor.call(this)}function ha(){mxActor.call(this)}function aa(){mxActor.call(this)}function ia(){mxActor.call(this)}function ja(){mxActor.call(this)}function W(){mxActor.call(this)}function X(){mxActor.call(this)}function ba(){mxEllipse.call(this)}function ca(){mxEllipse.call(this)}function da(){mxEllipse.call(this)}function ea(){mxRhombus.call(this)}function oa(){mxEllipse.call(this)}function V(){mxEllipse.call(this)}
- function ka(){mxEllipse.call(this)}function R(){mxEllipse.call(this)}function ua(){mxActor.call(this)}function pa(){mxActor.call(this)}function qa(){mxActor.call(this)}function la(){mxConnector.call(this)}function Ca(a,b,c,d,e,f,g,h,k,l){g+=k;var ma=d.clone();d.x-=e*(2*g+k);d.y-=f*(2*g+k);e*=g+k;f*=g+k;return function(){a.ellipse(ma.x-e-g,ma.y-f-g,2*g,2*g);l?a.fillAndStroke():a.stroke()}}mxUtils.extend(a,mxCylinder);a.prototype.size=20;a.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.max(0,Math.min(d,
- Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f?(a.moveTo(b,e),a.lineTo(b,b),a.lineTo(0,0),a.moveTo(b,b),a.lineTo(d,b)):(a.moveTo(0,0),a.lineTo(d-b,0),a.lineTo(d,b),a.lineTo(d,e),a.lineTo(b,e),a.lineTo(0,e-b),a.lineTo(0,0),a.close());a.end()};a.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)?(a=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(a,a,0,0)):null};mxCellRenderer.prototype.defaultShapes.cube=
- a;var ya=Math.tan(mxUtils.toRadians(30)),na=(.5-ya)/2;mxUtils.extend(c,mxActor);c.prototype.size=20;c.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/ya);a.translate((d-b)/2,(e-b)/2+b/4);a.moveTo(0,.25*b);a.lineTo(.5*b,b*na);a.lineTo(b,.25*b);a.lineTo(.5*b,(.5-na)*b);a.lineTo(0,.25*b);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.isoRectangle=c;mxUtils.extend(d,mxCylinder);d.prototype.size=20;d.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(d,e/(.5+ya));f?(a.moveTo(0,.25*
- b),a.lineTo(.5*b,(.5-na)*b),a.lineTo(b,.25*b),a.moveTo(.5*b,(.5-na)*b),a.lineTo(.5*b,(1-na)*b)):(a.translate((d-b)/2,(e-b)/2),a.moveTo(0,.25*b),a.lineTo(.5*b,b*na),a.lineTo(b,.25*b),a.lineTo(b,.75*b),a.lineTo(.5*b,(1-na)*b),a.lineTo(0,.75*b),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.isoCube=d;mxUtils.extend(b,mxCylinder);b.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(e/2,Math.round(e/8)+this.strokewidth-1);if(f&&null!=this.fill||!f&&null==this.fill)a.moveTo(0,b),a.curveTo(0,
- 2*b,d,2*b,d,b),f||(a.stroke(),a.begin()),a.translate(0,b/2),a.moveTo(0,b),a.curveTo(0,2*b,d,2*b,d,b),f||(a.stroke(),a.begin()),a.translate(0,b/2),a.moveTo(0,b),a.curveTo(0,2*b,d,2*b,d,b),f||(a.stroke(),a.begin()),a.translate(0,-b);f||(a.moveTo(0,b),a.curveTo(0,-b/3,d,-b/3,d,b),a.lineTo(d,e-b),a.curveTo(d,e+b/3,0,e+b/3,0,e-b),a.close())};b.prototype.getLabelMargins=function(a){return new mxRectangle(0,2.5*Math.min(a.height/2,Math.round(a.height/8)+this.strokewidth-1)*this.scale,0,0)};mxCellRenderer.prototype.defaultShapes.datastore=
- b;mxUtils.extend(e,mxCylinder);e.prototype.size=30;e.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f?(a.moveTo(d-b,0),a.lineTo(d-b,b),a.lineTo(d,b)):(a.moveTo(0,0),a.lineTo(d-b,0),a.lineTo(d,b),a.lineTo(d,e),a.lineTo(0,e),a.lineTo(0,0),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.note=e;mxUtils.extend(f,mxActor);f.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(0,0);a.quadTo(d/2,.5*e,d,0);
- a.quadTo(.5*d,e/2,d,e);a.quadTo(d/2,.5*e,0,e);a.quadTo(.5*d,e/2,0,0);a.end()};mxCellRenderer.prototype.defaultShapes["switch"]=f;mxUtils.extend(h,mxCylinder);h.prototype.tabWidth=60;h.prototype.tabHeight=20;h.prototype.tabPosition="right";h.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var g=mxUtils.getValue(this.style,
- "tabPosition",this.tabPosition);f?"left"==g?(a.moveTo(0,c),a.lineTo(b,c)):(a.moveTo(d-b,c),a.lineTo(d,c)):("left"==g?(a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(d,c)):(a.moveTo(0,c),a.lineTo(d-b,c),a.lineTo(d-b,0),a.lineTo(d,0)),a.lineTo(d,e),a.lineTo(0,e),a.lineTo(0,c),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.folder=h;mxUtils.extend(g,mxActor);g.prototype.size=30;g.prototype.redrawPath=function(a,b,c,d,e){b=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,
- "size",this.size)))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(b,0),new mxPoint(d,0),new mxPoint(d,e),new mxPoint(0,e),new mxPoint(0,b)],this.isRounded,c,!0);a.end()};mxCellRenderer.prototype.defaultShapes.card=g;mxUtils.extend(k,mxActor);k.prototype.size=.4;k.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,b/2);a.quadTo(d/4,1.4*b,d/2,b/
- 2);a.quadTo(3*d/4,b*(1-1.4),d,b/2);a.lineTo(d,e-b/2);a.quadTo(3*d/4,e-1.4*b,d/2,e-b/2);a.quadTo(d/4,e-b*(1-1.4),0,e-b/2);a.lineTo(0,b/2);a.close();a.end()};k.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var b=mxUtils.getValue(this.style,"size",this.size),c=a.width,d=a.height;if(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return b*=d,new mxRectangle(a.x,a.y+b,c,d-2*b);b*=c;return new mxRectangle(a.x+
- b,a.y,c-2*b,d)}return a};mxCellRenderer.prototype.defaultShapes.tape=k;mxUtils.extend(l,mxActor);l.prototype.size=.3;l.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*a.height):null};l.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,0);a.lineTo(d,0);a.lineTo(d,e-b/2);a.quadTo(3*d/4,e-1.4*
- b,d/2,e-b/2);a.quadTo(d/4,e-b*(1-1.4),0,e-b/2);a.lineTo(0,b/2);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.document=l;mxCylinder.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,Math.min(this.maxHeight*this.scale,.3*a.height),0,0):null};mxUtils.extend(m,mxActor);m.prototype.size=.2;m.prototype.redrawPath=function(a,b,c,d,e){b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,
- mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,e),new mxPoint(b,0),new mxPoint(d,0),new mxPoint(d-b,e)],this.isRounded,c,!0);a.end()};mxCellRenderer.prototype.defaultShapes.parallelogram=m;mxUtils.extend(n,mxActor);n.prototype.size=.2;n.prototype.redrawPath=function(a,b,c,d,e){b=d*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,
- [new mxPoint(0,e),new mxPoint(b,0),new mxPoint(d-b,0),new mxPoint(d,e)],this.isRounded,c,!0)};mxCellRenderer.prototype.defaultShapes.trapezoid=n;mxUtils.extend(p,mxActor);p.prototype.size=.5;p.prototype.redrawPath=function(a,b,c,d,e){a.setFillColor(null);b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(d,0),new mxPoint(b,0),new mxPoint(b,e/2),new mxPoint(0,
- e/2),new mxPoint(b,e/2),new mxPoint(b,e),new mxPoint(d,e)],this.isRounded,c,!1);a.end()};mxCellRenderer.prototype.defaultShapes.curlyBracket=p;mxUtils.extend(q,mxActor);q.prototype.redrawPath=function(a,b,c,d,e){a.setStrokeWidth(1);a.setFillColor(this.stroke);b=d/5;a.rect(0,0,b,e);a.fillAndStroke();a.rect(2*b,0,b,e);a.fillAndStroke();a.rect(4*b,0,b,e);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes.parallelMarker=q;r.prototype.moveTo=function(a,b){this.originalMoveTo.apply(this.canvas,arguments);
- this.lastX=a;this.lastY=b;this.firstX=a;this.firstY=b};r.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};r.prototype.quadTo=function(a,b,c,d){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=d};r.prototype.curveTo=function(a,b,c,d,e,f){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=e;this.lastY=f};r.prototype.arcTo=
- function(a,b,c,d,e,f,g){this.originalArcTo.apply(this.canvas,arguments);this.lastX=f;this.lastY=g};r.prototype.lineTo=function(a,b){if(null!=this.lastX&&null!=this.lastY){var c=function(a){return"number"===typeof a?a?0>a?-1:1:a===a?0:NaN:NaN},d=Math.abs(a-this.lastX),e=Math.abs(b-this.lastY),f=Math.sqrt(d*d+e*e);if(2>f){this.originalLineTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=b;return}var g=Math.round(f/10),h=this.defaultVariation;5>g&&(g=5,h/=3);for(var ma=c(a-this.lastX)*d/g,c=c(b-
- this.lastY)*e/g,d=d/f,e=e/f,f=0;f<g;f++){var k=(Math.random()-.5)*h;this.originalLineTo.call(this.canvas,ma*f+this.lastX-k*e,c*f+this.lastY-k*d)}this.originalLineTo.call(this.canvas,a,b)}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=b};r.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=
- this.originalArcTo};var Ga=mxShape.prototype.paint;mxShape.prototype.defaultJiggle=1.5;mxShape.prototype.paint=function(a){null!=this.style&&"0"!=mxUtils.getValue(this.style,"comic","0")&&null==a.handHiggle&&(a.handJiggle=new r(a,mxUtils.getValue(this.style,"jiggle",this.defaultJiggle)));Ga.apply(this,arguments);null!=a.handJiggle&&(a.handJiggle.destroy(),delete a.handJiggle)};mxRhombus.prototype.defaultJiggle=2;var Ha=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=
- function(){return(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0"))&&Ha.apply(this,arguments)};var Ia=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(a,b,c,d,e){if(null==a.handJiggle)Ia.apply(this,arguments);else{var f=!0;null!=this.style&&(f="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(f||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)f||null!=this.fill&&this.fill!=
- mxConstants.NONE||(a.pointerEvents=!1),a.begin(),this.isRounded?(f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.min(d*f,e*f),a.moveTo(b+f,c),a.lineTo(b+d-f,c),a.quadTo(b+d,c,b+d,c+f),a.lineTo(b+d,c+e-f),a.quadTo(b+d,c+e,b+d-f,c+e),a.lineTo(b+f,c+e),a.quadTo(b,c+e,b,c+e-f),a.lineTo(b,c+f),a.quadTo(b,c,b+f,c)):(a.moveTo(b,c),a.lineTo(b+d,c),a.lineTo(b+d,c+e),a.lineTo(b,c+e),a.lineTo(b,c)),a.close(),a.end(),a.fillAndStroke()}};var Ja=mxRectangleShape.prototype.paintForeground;
- mxRectangleShape.prototype.paintForeground=function(a,b,c,d,e){null==a.handJiggle&&Ja.apply(this,arguments)};mxUtils.extend(t,mxRectangleShape);t.prototype.size=.1;t.prototype.isHtmlAllowed=function(){return!1};t.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var b=a.width,c=a.height;a=new mxRectangle(a.x,a.y,b,c);var d=b*Math.max(0,
- Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var e=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,d=Math.max(d,Math.min(b*e,c*e));a.x+=d;a.width-=2*d}return a};t.prototype.paintForeground=function(a,b,c,d,e){var f=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/
- 100,f=Math.max(f,Math.min(d*g,e*g));a.begin();a.moveTo(b+f,c);a.lineTo(b+f,c+e);a.moveTo(b+d-f,c);a.lineTo(b+d-f,c+e);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.prototype.defaultShapes.process=t;mxUtils.extend(u,mxHexagon);u.prototype.size=30;u.prototype.position=.5;u.prototype.position2=.5;u.prototype.base=20;u.prototype.getLabelMargins=function(){return new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};
- u.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var f=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),g=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2)))),h=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(a,
- [new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,e-c),new mxPoint(Math.min(d,f+h),e-c),new mxPoint(g,e),new mxPoint(Math.max(0,f),e-c),new mxPoint(0,e-c)],this.isRounded,b,!0,[4])};mxCellRenderer.prototype.defaultShapes.callout=u;mxUtils.extend(v,mxActor);v.prototype.size=.2;v.prototype.redrawPath=function(a,b,c,d,e){b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,
- [new mxPoint(0,0),new mxPoint(d-b,0),new mxPoint(d,e/2),new mxPoint(d-b,e),new mxPoint(0,e),new mxPoint(b,e/2)],this.isRounded,c,!0);a.end()};mxCellRenderer.prototype.defaultShapes.step=v;mxUtils.extend(x,mxHexagon);x.prototype.size=.25;x.prototype.redrawPath=function(a,b,c,d,e){b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(b,0),new mxPoint(d-b,
- 0),new mxPoint(d,.5*e),new mxPoint(d-b,e),new mxPoint(b,e),new mxPoint(0,.5*e)],this.isRounded,c,!0)};mxCellRenderer.prototype.defaultShapes.hexagon=x;mxUtils.extend(z,mxRectangleShape);z.prototype.isHtmlAllowed=function(){return!1};z.prototype.paintForeground=function(a,b,c,d,e){var f=Math.min(d/5,e/5)+1;a.begin();a.moveTo(b+d/2,c+f);a.lineTo(b+d/2,c+e-f);a.moveTo(b+f,c+e/2);a.lineTo(b+d-f,c+e/2);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.prototype.defaultShapes.plus=
- z;var Da=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(a){if(1==this.style["double"]){var b=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(a.x+b,a.y+b,a.width-2*b,a.height-2*b)}return a};mxRhombus.prototype.paintVertexShape=function(a,b,c,d,e){Da.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var f=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||
- 0);b+=f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&(a.setShadow(!1),Da.apply(this,[a,b,c,d,e]))}};mxUtils.extend(A,mxRectangleShape);A.prototype.isHtmlAllowed=function(){return!1};A.prototype.getLabelBounds=function(a){if(1==this.style["double"]){var b=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(a.x+b,a.y+b,a.width-2*b,a.height-2*b)}return a};A.prototype.paintForeground=function(a,b,c,d,e){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var f=
- Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);b+=f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}a.setDashed(!1);var f=0,g;do{g=mxCellRenderer.prototype.defaultShapes[this.style["symbol"+f]];if(null!=g){var h=this.style["symbol"+f+"Align"],ma=this.style["symbol"+f+"VerticalAlign"],k=this.style["symbol"+f+"Width"],l=this.style["symbol"+f+"Height"],m=this.style["symbol"+f+"Spacing"]||0,za=this.style["symbol"+f+"VSpacing"]||
- m,Y=this.style["symbol"+f+"ArcSpacing"];null!=Y&&(Y*=this.getArcSize(d+this.strokewidth,e+this.strokewidth),m+=Y,za+=Y);var Y=b,ra=c,Y=h==mxConstants.ALIGN_CENTER?Y+(d-k)/2:h==mxConstants.ALIGN_RIGHT?Y+(d-k-m):Y+m,ra=ma==mxConstants.ALIGN_MIDDLE?ra+(e-l)/2:ma==mxConstants.ALIGN_BOTTOM?ra+(e-l-za):ra+za;a.save();h=new g;h.style=this.style;g.prototype.paintVertexShape.call(h,a,Y,ra,k,l);a.restore()}f++}while(null!=g)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.prototype.defaultShapes.ext=
- A;mxUtils.extend(E,mxCylinder);E.prototype.redrawPath=function(a,b,c,d,e,f){f?(a.moveTo(0,0),a.lineTo(d/2,e/2),a.lineTo(d,0),a.end()):(a.moveTo(0,0),a.lineTo(d,0),a.lineTo(d,e),a.lineTo(0,e),a.close())};mxCellRenderer.prototype.defaultShapes.message=E;mxUtils.extend(F,mxShape);F.prototype.paintBackground=function(a,b,c,d,e){a.translate(b,c);a.ellipse(d/4,0,d/2,e/4);a.fillAndStroke();a.begin();a.moveTo(d/2,e/4);a.lineTo(d/2,2*e/3);a.moveTo(d/2,e/3);a.lineTo(0,e/3);a.moveTo(d/2,e/3);a.lineTo(d,e/3);
- a.moveTo(d/2,2*e/3);a.lineTo(0,e);a.moveTo(d/2,2*e/3);a.lineTo(d,e);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.umlActor=F;mxUtils.extend(w,mxShape);w.prototype.getLabelMargins=function(a){return new mxRectangle(a.width/6,0,0,0)};w.prototype.paintBackground=function(a,b,c,d,e){a.translate(b,c);a.begin();a.moveTo(0,e/4);a.lineTo(0,3*e/4);a.end();a.stroke();a.begin();a.moveTo(0,e/2);a.lineTo(d/6,e/2);a.end();a.stroke();a.ellipse(d/6,0,5*d/6,e);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes.umlBoundary=
- w;mxUtils.extend(J,mxEllipse);J.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b+d/8,c+e);a.lineTo(b+7*d/8,c+e);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.umlEntity=J;mxUtils.extend(K,mxShape);K.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);a.begin();a.moveTo(d,0);a.lineTo(0,e);a.moveTo(0,0);a.lineTo(d,e);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.umlDestroy=K;mxUtils.extend(I,
- mxShape);I.prototype.getLabelBounds=function(a){return new mxRectangle(a.x,a.y+a.height/8,a.width,7*a.height/8)};I.prototype.paintBackground=function(a,b,c,d,e){a.translate(b,c);a.begin();a.moveTo(3*d/8,e/8*1.1);a.lineTo(5*d/8,0);a.end();a.stroke();a.ellipse(0,e/8,d,7*e/8);a.fillAndStroke()};I.prototype.paintForeground=function(a,b,c,d,e){a.begin();a.moveTo(3*d/8,e/8*1.1);a.lineTo(5*d/8,e/4);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.umlControl=I;mxUtils.extend(G,mxRectangleShape);
- G.prototype.size=40;G.prototype.isHtmlAllowed=function(){return!1};G.prototype.getLabelBounds=function(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(a.x,a.y,a.width,b)};G.prototype.paintBackground=function(a,b,c,d,e){var f=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),g=mxUtils.getValue(this.style,"participant");null==g||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,
- a,b,c,d,f):(g=this.state.view.graph.cellRenderer.getShape(g),null!=g&&g!=G&&(g=new g,g.apply(this.state),a.save(),g.paintVertexShape(a,b,c,d,f),a.restore()));f<e&&(a.setDashed(!0),a.begin(),a.moveTo(b+d/2,c+f),a.lineTo(b+d/2,c+e),a.end(),a.stroke())};G.prototype.paintForeground=function(a,b,c,d,e){var f=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,a,b,c,d,Math.min(e,f))};mxCellRenderer.prototype.defaultShapes.umlLifeline=
- G;mxUtils.extend(B,mxShape);B.prototype.width=60;B.prototype.height=30;B.prototype.corner=10;B.prototype.getLabelMargins=function(a){return new mxRectangle(0,0,a.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),a.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};B.prototype.paintBackground=function(a,b,c,d,e){var f=this.corner,g=Math.min(d,Math.max(f,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),h=Math.min(e,Math.max(1.5*
- f,parseFloat(mxUtils.getValue(this.style,"height",this.height))));a.begin();a.moveTo(b,c);a.lineTo(b+g,c);a.lineTo(b+g,c+Math.max(0,h-1.5*f));a.lineTo(b+Math.max(0,g-f),c+h);a.lineTo(b,c+h);a.close();a.fillAndStroke();a.begin();a.moveTo(b+g,c);a.lineTo(b+d,c);a.lineTo(b+d,c+e);a.lineTo(b,c+e);a.lineTo(b,c+h);a.stroke()};mxCellRenderer.prototype.defaultShapes.umlFrame=B;mxPerimeter.LifelinePerimeter=function(a,b,c,d){d=G.prototype.size;null!=b&&(d=mxUtils.getValue(b.style,"size",d)*b.view.scale);b=
- parseFloat(b.style[mxConstants.STYLE_STROKEWIDTH]||1)*b.view.scale/2-1;c.x<a.getCenterX()&&(b=-1*(b+1));return new mxPoint(a.getCenterX()+b,Math.min(a.y+a.height,Math.max(a.y+d,c.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(a,b,c,d){d=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(a,b,c,
- d){d=parseFloat(b.style[mxConstants.STYLE_STROKEWIDTH]||1)*b.view.scale/2-1;null!=b.style.backboneSize&&(d+=parseFloat(b.style.backboneSize)*b.view.scale/2-1);if("south"==b.style[mxConstants.STYLE_DIRECTION]||"north"==b.style[mxConstants.STYLE_DIRECTION])return c.x<a.getCenterX()&&(d=-1*(d+1)),new mxPoint(a.getCenterX()+d,Math.min(a.y+a.height,Math.max(a.y,c.y)));c.y<a.getCenterY()&&(d=-1*(d+1));return new mxPoint(Math.min(a.x+a.width,Math.max(a.x,c.x)),a.getCenterY()+d)};mxStyleRegistry.putValue("backbonePerimeter",
- mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=function(a,b,c,d){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(a,new mxRectangle(0,0,0,Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(b.style,"size",u.prototype.size))*b.view.scale))),b.style),b,c,d)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(a,b,c,d){var e=m.prototype.size;null!=b&&(e=mxUtils.getValue(b.style,"size",e));var f=a.x,g=a.y,
- h=a.width,k=a.height;b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH?(e=k*Math.max(0,Math.min(1,e)),g=[new mxPoint(f,g),new mxPoint(f+h,g+e),new mxPoint(f+h,g+k),new mxPoint(f,g+k-e),new mxPoint(f,g)]):(e=h*Math.max(0,Math.min(1,e)),g=[new mxPoint(f+e,g),new mxPoint(f+h,g),new mxPoint(f+h-e,g+k),new mxPoint(f,g+k),new mxPoint(f+e,g)]);k=a.getCenterX();a=a.getCenterY();
- a=new mxPoint(k,a);d&&(c.x<f||c.x>f+h?a.y=c.y:a.x=c.x);return mxUtils.getPerimeterPoint(g,a,c)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(a,b,c,d){var e=n.prototype.size;null!=b&&(e=mxUtils.getValue(b.style,"size",e));var f=a.x,g=a.y,h=a.width,k=a.height;b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_EAST?(e=h*Math.max(0,
- Math.min(1,e)),g=[new mxPoint(f+e,g),new mxPoint(f+h-e,g),new mxPoint(f+h,g+k),new mxPoint(f,g+k),new mxPoint(f+e,g)]):b==mxConstants.DIRECTION_WEST?(e=h*Math.max(0,Math.min(1,e)),g=[new mxPoint(f,g),new mxPoint(f+h,g),new mxPoint(f+h-e,g+k),new mxPoint(f+e,g+k),new mxPoint(f,g)]):b==mxConstants.DIRECTION_NORTH?(e=k*Math.max(0,Math.min(1,e)),g=[new mxPoint(f,g+e),new mxPoint(f+h,g),new mxPoint(f+h,g+k),new mxPoint(f,g+k-e),new mxPoint(f,g+e)]):(e=k*Math.max(0,Math.min(1,e)),g=[new mxPoint(f,g),new mxPoint(f+
- h,g+e),new mxPoint(f+h,g+k-e),new mxPoint(f,g+k),new mxPoint(f,g)]);k=a.getCenterX();a=a.getCenterY();a=new mxPoint(k,a);d&&(c.x<f||c.x>f+h?a.y=c.y:a.x=c.x);return mxUtils.getPerimeterPoint(g,a,c)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(a,b,c,d){var e=v.prototype.size;null!=b&&(e=mxUtils.getValue(b.style,"size",e));var f=a.x,g=a.y,h=a.width,k=a.height,l=a.getCenterX();a=a.getCenterY();b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,
- mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_EAST?(e=h*Math.max(0,Math.min(1,e)),g=[new mxPoint(f,g),new mxPoint(f+h-e,g),new mxPoint(f+h,a),new mxPoint(f+h-e,g+k),new mxPoint(f,g+k),new mxPoint(f+e,a),new mxPoint(f,g)]):b==mxConstants.DIRECTION_WEST?(e=h*Math.max(0,Math.min(1,e)),g=[new mxPoint(f+e,g),new mxPoint(f+h,g),new mxPoint(f+h-e,a),new mxPoint(f+h,g+k),new mxPoint(f+e,g+k),new mxPoint(f,a),new mxPoint(f+e,g)]):b==mxConstants.DIRECTION_NORTH?(e=k*Math.max(0,
- Math.min(1,e)),g=[new mxPoint(f,g+e),new mxPoint(l,g),new mxPoint(f+h,g+e),new mxPoint(f+h,g+k),new mxPoint(l,g+k-e),new mxPoint(f,g+k),new mxPoint(f,g+e)]):(e=k*Math.max(0,Math.min(1,e)),g=[new mxPoint(f,g),new mxPoint(l,g+e),new mxPoint(f+h,g),new mxPoint(f+h,g+k-e),new mxPoint(l,g+k),new mxPoint(f,g+k-e),new mxPoint(f,g)]);l=new mxPoint(l,a);d&&(c.x<f||c.x>f+h?l.y=c.y:l.x=c.x);return mxUtils.getPerimeterPoint(g,l,c)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=
- function(a,b,c,d){var e=x.prototype.size;null!=b&&(e=mxUtils.getValue(b.style,"size",e));var f=a.x,g=a.y,h=a.width,k=a.height,l=a.getCenterX();a=a.getCenterY();b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH?(e=k*Math.max(0,Math.min(1,e)),g=[new mxPoint(l,g),new mxPoint(f+h,g+e),new mxPoint(f+h,g+k-e),new mxPoint(l,g+k),new mxPoint(f,g+k-e),new mxPoint(f,g+e),new mxPoint(l,
- g)]):(e=h*Math.max(0,Math.min(1,e)),g=[new mxPoint(f+e,g),new mxPoint(f+h-e,g),new mxPoint(f+h,a),new mxPoint(f+h-e,g+k),new mxPoint(f+e,g+k),new mxPoint(f,a),new mxPoint(f+e,g)]);l=new mxPoint(l,a);d&&(c.x<f||c.x>f+h?l.y=c.y:l.x=c.x);return mxUtils.getPerimeterPoint(g,l,c)};mxStyleRegistry.putValue("hexagonPerimeter2",mxPerimeter.HexagonPerimeter2);mxUtils.extend(N,mxShape);N.prototype.size=10;N.prototype.paintBackground=function(a,b,c,d,e){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size));
- a.translate(b,c);a.ellipse((d-f)/2,0,f,f);a.fillAndStroke();a.begin();a.moveTo(d/2,f);a.lineTo(d/2,e);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.lollipop=N;mxUtils.extend(M,mxShape);M.prototype.size=10;M.prototype.inset=2;M.prototype.paintBackground=function(a,b,c,d,e){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size)),g=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;a.translate(b,c);a.begin();a.moveTo(d/2,f+g);a.lineTo(d/2,e);a.end();a.stroke();
- a.begin();a.moveTo((d-f)/2-g,f/2);a.quadTo((d-f)/2-g,f+g,d/2,f+g);a.quadTo((d+f)/2+g,f+g,(d+f)/2+g,f/2);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.requires=M;mxUtils.extend(P,mxCylinder);P.prototype.jettyWidth=32;P.prototype.jettyHeight=12;P.prototype.redrawPath=function(a,b,c,d,e,f){var g=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));b=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));c=g/2;var g=c+g/2,h=.3*e-b/2,k=.7*e-b/2;f?(a.moveTo(c,
- h),a.lineTo(g,h),a.lineTo(g,h+b),a.lineTo(c,h+b),a.moveTo(c,k),a.lineTo(g,k),a.lineTo(g,k+b),a.lineTo(c,k+b)):(a.moveTo(c,0),a.lineTo(d,0),a.lineTo(d,e),a.lineTo(c,e),a.lineTo(c,k+b),a.lineTo(0,k+b),a.lineTo(0,k),a.lineTo(c,k),a.lineTo(c,h+b),a.lineTo(0,h+b),a.lineTo(0,h),a.lineTo(c,h),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.component=P;mxUtils.extend(O,mxDoubleEllipse);O.prototype.outerStroke=!0;O.prototype.paintVertexShape=function(a,b,c,d,e){var f=Math.min(4,Math.min(d/5,e/5));
- 0<d&&0<e&&(a.ellipse(b+f,c+f,d-2*f,e-2*f),a.fillAndStroke());a.setShadow(!1);this.outerStroke&&(a.ellipse(b,c,d,e),a.stroke())};mxCellRenderer.prototype.defaultShapes.endState=O;mxUtils.extend(H,O);H.prototype.outerStroke=!1;mxCellRenderer.prototype.defaultShapes.startState=H;mxUtils.extend(D,mxArrowConnector);D.prototype.defaultWidth=4;D.prototype.isOpenEnded=function(){return!0};D.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-
- 1)};D.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.prototype.defaultShapes.link=D;mxUtils.extend(C,mxArrowConnector);C.prototype.defaultWidth=10;C.prototype.defaultArrowWidth=20;C.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};C.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};C.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,
- "width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.prototype.defaultShapes.flexArrow=C;mxUtils.extend(y,mxActor);y.prototype.size=30;y.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,e),new mxPoint(0,b),new mxPoint(d,0),new mxPoint(d,e)],this.isRounded,c,!0);a.end()};mxCellRenderer.prototype.defaultShapes.manualInput=
- y;mxUtils.extend(S,mxRectangleShape);S.prototype.dx=20;S.prototype.dy=20;S.prototype.isHtmlAllowed=function(){return!1};S.prototype.paintForeground=function(a,b,c,d,e){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var f=0;if(this.isRounded)var g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.max(f,Math.min(d*g,e*g));g=Math.max(f,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));f=Math.max(f,Math.min(e,
- parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.begin();a.moveTo(b,c+f);a.lineTo(b+d,c+f);a.end();a.stroke();a.begin();a.moveTo(b+g,c);a.lineTo(b+g,c+e);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.internalStorage=S;mxUtils.extend(Q,mxActor);Q.prototype.dx=20;Q.prototype.dy=20;Q.prototype.redrawPath=function(a,b,c,d,e){b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));
- parseFloat(mxUtils.getValue(this.style,"size",this.size));var f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,c),new mxPoint(b,c),new mxPoint(b,e),new mxPoint(0,e)],this.isRounded,f,!0);a.end()};mxCellRenderer.prototype.defaultShapes.corner=Q;mxUtils.extend(Z,mxActor);Z.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(0,0);a.lineTo(0,e);a.end();a.moveTo(d,0);a.lineTo(d,e);a.end();a.moveTo(0,e/2);
- a.lineTo(d,e/2);a.end()};mxCellRenderer.prototype.defaultShapes.crossbar=Z;mxUtils.extend(T,mxActor);T.prototype.dx=20;T.prototype.dy=20;T.prototype.redrawPath=function(a,b,c,d,e){b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,
- [new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,c),new mxPoint((d+b)/2,c),new mxPoint((d+b)/2,e),new mxPoint((d-b)/2,e),new mxPoint((d-b)/2,c),new mxPoint(0,c)],this.isRounded,f,!0);a.end()};mxCellRenderer.prototype.defaultShapes.tee=T;mxUtils.extend(U,mxActor);U.prototype.arrowWidth=.3;U.prototype.arrowSize=.2;U.prototype.redrawPath=function(a,b,c,d,e){var f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
- "arrowSize",this.arrowSize))));c=(e-f)/2;var f=c+f,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,c),new mxPoint(d-b,c),new mxPoint(d-b,0),new mxPoint(d,e/2),new mxPoint(d-b,e),new mxPoint(d-b,f),new mxPoint(0,f)],this.isRounded,g,!0);a.end()};mxCellRenderer.prototype.defaultShapes.singleArrow=U;mxUtils.extend(ha,mxActor);ha.prototype.redrawPath=function(a,b,c,d,e){var f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
- "arrowWidth",U.prototype.arrowWidth))));b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",U.prototype.arrowSize))));c=(e-f)/2;var f=c+f,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,e/2),new mxPoint(b,0),new mxPoint(b,c),new mxPoint(d-b,c),new mxPoint(d-b,0),new mxPoint(d,e/2),new mxPoint(d-b,e),new mxPoint(d-b,f),new mxPoint(b,f),new mxPoint(b,e)],this.isRounded,g,!0);a.end()};mxCellRenderer.prototype.defaultShapes.doubleArrow=
- ha;mxUtils.extend(aa,mxActor);aa.prototype.size=.1;aa.prototype.redrawPath=function(a,b,c,d,e){b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(b,0);a.lineTo(d,0);a.quadTo(d-2*b,e/2,d,e);a.lineTo(b,e);a.quadTo(b-2*b,e/2,b,0);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.dataStorage=aa;mxUtils.extend(ia,mxActor);ia.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(0,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,0,e);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.or=
- ia;mxUtils.extend(ja,mxActor);ja.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(0,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,0,e);a.quadTo(d/2,e/2,0,0);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.xor=ja;mxUtils.extend(W,mxActor);W.prototype.size=20;W.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d/2,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(b,
- 0),new mxPoint(d-b,0),new mxPoint(d,.8*b),new mxPoint(d,e),new mxPoint(0,e),new mxPoint(0,.8*b)],this.isRounded,c,!0);a.end()};mxCellRenderer.prototype.defaultShapes.loopLimit=W;mxUtils.extend(X,mxActor);X.prototype.size=.375;X.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,
- e-b),new mxPoint(d/2,e),new mxPoint(0,e-b)],this.isRounded,c,!0);a.end()};mxCellRenderer.prototype.defaultShapes.offPageConnector=X;mxUtils.extend(ba,mxEllipse);ba.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b+d/2,c+e);a.lineTo(b+d,c+e);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.tapeData=ba;mxUtils.extend(ca,mxEllipse);ca.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,
- arguments);a.setShadow(!1);a.begin();a.moveTo(b,c+e/2);a.lineTo(b+d,c+e/2);a.end();a.stroke();a.begin();a.moveTo(b+d/2,c);a.lineTo(b+d/2,c+e);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.orEllipse=ca;mxUtils.extend(da,mxEllipse);da.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(b+.145*d,c+.145*e);a.lineTo(b+.855*d,c+.855*e);a.end();a.stroke();a.begin();a.moveTo(b+.855*d,c+.145*e);a.lineTo(b+
- .145*d,c+.855*e);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.sumEllipse=da;mxUtils.extend(ea,mxRhombus);ea.prototype.paintVertexShape=function(a,b,c,d,e){mxRhombus.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(b,c+e/2);a.lineTo(b+d,c+e/2);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.sortShape=ea;mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=function(a,b,c,d,e){a.begin();a.moveTo(b,c);a.lineTo(b+d,c);a.lineTo(b+d/2,c+e/
- 2);a.close();a.fillAndStroke();a.begin();a.moveTo(b,c+e);a.lineTo(b+d,c+e);a.lineTo(b+d/2,c+e/2);a.close();a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes.collate=oa;mxUtils.extend(V,mxEllipse);V.prototype.paintVertexShape=function(a,b,c,d,e){var f=c+e-5;a.begin();a.moveTo(b,c);a.lineTo(b,c+e);a.moveTo(b,f);a.lineTo(b+10,f-5);a.moveTo(b,f);a.lineTo(b+10,f+5);a.moveTo(b,f);a.lineTo(b+d,f);a.moveTo(b+d,c);a.lineTo(b+d,c+e);a.moveTo(b+d,f);a.lineTo(b+d-10,f-5);a.moveTo(b+d,f);a.lineTo(b+d-
- 10,f+5);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.dimension=V;mxUtils.extend(ka,mxEllipse);ka.prototype.paintVertexShape=function(a,b,c,d,e){this.outline||a.setStrokeColor(null);mxRectangleShape.prototype.paintBackground.apply(this,arguments);null!=this.style&&(a.setStrokeColor(this.stroke),a.rect(b,c,d,e),a.fill(),"1"==mxUtils.getValue(this.style,"top","1")&&(a.begin(),a.moveTo(b,c),a.lineTo(b+d,c),a.end(),a.stroke()),"1"==mxUtils.getValue(this.style,"right","1")&&(a.begin(),a.moveTo(b+
- d,c),a.lineTo(b+d,c+e),a.end(),a.stroke()),"1"==mxUtils.getValue(this.style,"bottom","1")&&(a.begin(),a.moveTo(b+d,c+e),a.lineTo(b,c+e),a.end(),a.stroke()),"1"==mxUtils.getValue(this.style,"left","1")&&(a.begin(),a.moveTo(b,c+e),a.lineTo(b,c),a.end(),a.stroke()))};mxCellRenderer.prototype.defaultShapes.partialRectangle=ka;mxUtils.extend(R,mxEllipse);R.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();"vertical"==mxUtils.getValue(this.style,
- "line")?(a.moveTo(b+d/2,c),a.lineTo(b+d/2,c+e)):(a.moveTo(b,c+e/2),a.lineTo(b+d,c+e/2));a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.lineEllipse=R;mxUtils.extend(ua,mxActor);ua.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/2);a.moveTo(0,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(0,e);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.delay=ua;mxUtils.extend(pa,mxActor);pa.prototype.size=.2;pa.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(e,
- d);var f=Math.max(0,Math.min(b,b*parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=(e-f)/2;c=b+f;var g=(d-f)/2,f=g+f;a.moveTo(0,b);a.lineTo(g,b);a.lineTo(g,0);a.lineTo(f,0);a.lineTo(f,b);a.lineTo(d,b);a.lineTo(d,c);a.lineTo(f,c);a.lineTo(f,e);a.lineTo(g,e);a.lineTo(g,c);a.lineTo(0,c);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.cross=pa;mxUtils.extend(qa,mxActor);qa.prototype.size=.25;qa.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/2);c=Math.min(d-b,Math.max(0,
- parseFloat(mxUtils.getValue(this.style,"size",this.size)))*d);a.moveTo(0,e/2);a.lineTo(c,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(c,e);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.display=qa;mxUtils.extend(la,mxConnector);la.prototype.origPaintEdgeShape=la.prototype.paintEdgeShape;la.prototype.paintEdgeShape=function(a,b,c){var d=a.state.dashed,e=a.state.fixDash;la.prototype.origPaintEdgeShape.apply(this,arguments);if(3<=a.state.strokeWidth){var f=mxUtils.getValue(this.style,
- "fillColor",null);null!=f&&(a.setStrokeColor(f),a.setStrokeWidth(a.state.strokeWidth-2),a.setDashed(d,e),la.prototype.origPaintEdgeShape.apply(this,arguments))}};mxCellRenderer.prototype.defaultShapes.filledEdge=la;mxMarker.addMarker("dash",function(a,b,c,d,e,f,g,h,k,l){var m=e*(g+k+1),n=f*(g+k+1);return function(){a.begin();a.moveTo(d.x-m/2-n/2,d.y-n/2+m/2);a.lineTo(d.x+n/2-3*m/2,d.y-3*n/2-m/2);a.stroke()}});mxMarker.addMarker("cross",function(a,b,c,d,e,f,g,h,k,l){var m=e*(g+k+1),n=f*(g+k+1);return function(){a.begin();
- a.moveTo(d.x-m/2-n/2,d.y-n/2+m/2);a.lineTo(d.x+n/2-3*m/2,d.y-3*n/2-m/2);a.moveTo(d.x-m/2+n/2,d.y-n/2-m/2);a.lineTo(d.x-n/2-3*m/2,d.y-3*n/2+m/2);a.stroke()}});mxMarker.addMarker("circle",Ca);mxMarker.addMarker("circlePlus",function(a,b,c,d,e,f,g,h,k,l){var m=d.clone(),n=Ca.apply(this,arguments),p=e*(g+2*k),q=f*(g+2*k);return function(){n.apply(this,arguments);a.begin();a.moveTo(m.x-e*k,m.y-f*k);a.lineTo(m.x-2*p+e*k,m.y-2*q+f*k);a.moveTo(m.x-p-q+f*k,m.y-q+p-e*k);a.lineTo(m.x+q-p-f*k,m.y-q-p+e*k);a.stroke()}});
- mxMarker.addMarker("async",function(a,b,c,d,e,f,g,h,k,l){b=e*k*1.118;c=f*k*1.118;e*=g+k;f*=g+k;var m=d.clone();m.x-=b;m.y-=c;d.x+=1*-e-b;d.y+=1*-f-c;return function(){a.begin();a.moveTo(m.x,m.y);h?a.lineTo(m.x-e-f/2,m.y-f+e/2):a.lineTo(m.x+f/2-e,m.y-f-e/2);a.lineTo(m.x-e,m.y-f);a.close();l?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(b,c,d,e,f,g,h,k,l,m){f*=h+l;g*=h+l;var n=e.clone();return function(){b.begin();b.moveTo(n.x,n.y);k?b.lineTo(n.x-
- f-g/a,n.y-g+f/a):b.lineTo(n.x+g/a-f,n.y-g-f/a);b.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var Ea=function(a,b,c){return sa(a,["width"],b,function(b,d,e,f,g){g=a.shape.getEdgeWidth()*a.view.scale+c;return new mxPoint(f.x+d*b/4+e*g/2,f.y+e*b/4-d*g/2)},function(b,d,e,f,g,h){b=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));a.style.width=Math.round(2*b)/a.view.scale-c})},sa=function(a,b,c,d,e){var f=a.absolutePoints,g=f.length-1,h=a.view.translate,k=a.view.scale,l=c?f[0]:f[g],
- m=c?f[1]:f[g-1],n=m.x-l.x,p=m.y-l.y,q=Math.sqrt(n*n+p*p);return L(a,b,function(a){a=d.call(this,q,n/q,p/q,l,m);return new mxPoint(a.x/k-h.x,a.y/k-h.y)},function(a,b,c){a=Math.sqrt(n*n+p*p);b.x=(b.x+h.x)*k;b.y=(b.y+h.y)*k;e.call(this,a,n/a,p/a,l,m,b,c)})},ga=function(a){return function(b){return[L(b,["arrowWidth","arrowSize"],function(b){var c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",U.prototype.arrowWidth))),d=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",
- U.prototype.arrowSize)));return new mxPoint(b.x+(1-d)*b.width,b.y+(1-c)*b.height/2)},function(b,c){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(b.y+b.height/2-c.y)/b.height*2));this.state.style.arrowSize=Math.max(0,Math.min(a,(b.x+b.width-c.x)/b.width))})]}},Aa=function(a,b,c){return function(d){var e=[L(d,["size"],function(c){var d=Math.max(0,Math.min(c.width,Math.min(c.height,parseFloat(mxUtils.getValue(this.state.style,"size",b)))))*a;return new mxPoint(c.x+d,c.y+d)},function(b,c){this.state.style.size=
- Math.round(Math.max(0,Math.min(Math.min(b.width,c.x-b.x),Math.min(b.height,c.y-b.y)))/a)})];c&&mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push(fa(d));return e}},va=function(a,b,c,d){c=null!=c?c:1;return function(e){var f=[L(e,["size"],function(b){var c=parseFloat(mxUtils.getValue(this.state.style,"size",a));return new mxPoint(b.x+c*b.width,b.getCenterY())},function(a,b){this.state.style.size=Math.max(0,Math.min(c,(b.x-a.x)/a.width))},null,d)];b&&mxUtils.getValue(e.style,mxConstants.STYLE_ROUNDED,
- !1)&&f.push(fa(e));return f}},Fa=function(a){return function(b){var c=[L(b,["size"],function(b){var c=Math.max(0,Math.min(a,parseFloat(mxUtils.getValue(this.state.style,"size",n.prototype.size))));return new mxPoint(b.x+c*b.width*.75,b.y+b.height/4)},function(b,c){this.state.style.size=Math.max(0,Math.min(a,(c.x-b.x)/(.75*b.width)))},null,!0)];mxUtils.getValue(b.style,mxConstants.STYLE_ROUNDED,!1)&&c.push(fa(b));return c}},ta=function(){return function(a){var b=[];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,
- !1)&&b.push(fa(a));return b}},fa=function(a,b){return L(a,[mxConstants.STYLE_ARCSIZE],function(c){var d=Math.max(0,parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(c.x+c.width-Math.min(Math.max(c.width/2,c.height/2),Math.min(c.width,c.height)*d),c.y+(null!=b?b:c.height/8))},function(a,b,c){this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(a.width-b.x+a.x)/Math.min(a.width,a.height))))})},
- L=function(a,b,c,d,e,f){var g=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);g.execute=function(){for(var a=0;a<b.length;a++)this.copyStyle(b[a])};g.getPosition=c;g.setPosition=d;g.ignoreGrid=null!=e?e:!0;if(f){var h=g.positionChanged;g.positionChanged=function(){h.apply(this,arguments);a.view.invalidate(this.state.cell);a.view.validate()}}return g},Ba={link:function(a){return[Ea(a,!0,10),Ea(a,!1,10)]},flexArrow:function(a){var b=a.view.graph.gridSize/a.view.scale,c=[];mxUtils.getValue(a.style,
- mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(c.push(sa(a,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,
- f.y,g.x,g.y,h.x,h.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*c)/a.view.scale;mxEvent.isControlDown(k.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(k.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<b/6&&(a.style[mxConstants.STYLE_STARTSIZE]=
- a.style[mxConstants.STYLE_ENDSIZE])})),c.push(sa(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getStartArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,
- g.y,h.x,h.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.startWidth=Math.max(0,Math.round(2*c)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(k.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE],a.style.endWidth=a.style.startWidth);mxEvent.isAltDown(k.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<
- b/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(a.style.startWidth)-parseFloat(a.style.endWidth))<b&&(a.style.startWidth=a.style.endWidth))})));mxUtils.getValue(a.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(c.push(sa(a,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(b,c,d,e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/
- 5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*a.view.scale)-d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)+c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*c)/a.view.scale;mxEvent.isControlDown(k.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]);
- mxEvent.isAltDown(k.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<b/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE])})),c.push(sa(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(b,c,d,e,f){b=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+
- c*(f+a.shape.strokewidth*a.view.scale)-d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)+c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.endWidth=Math.max(0,Math.round(2*c)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(k.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE],
- a.style.startWidth=a.style.endWidth);mxEvent.isAltDown(k.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<b/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(a.style.endWidth)-parseFloat(a.style.startWidth))<b&&(a.style.endWidth=a.style.startWidth))})));return c},swimlane:function(a){var b=[L(a,[mxConstants.STYLE_STARTSIZE],function(b){var c=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE,
- mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(b.getCenterX(),b.y+Math.max(0,Math.min(b.height,c))):new mxPoint(b.x+Math.max(0,Math.min(b.width,c)),b.getCenterY())},function(b,c){a.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(b.height,c.y-b.y))):Math.round(Math.max(0,Math.min(b.width,c.x-b.x)))})];if(mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED)){var c=
- parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));b.push(fa(a,c/2))}return b},label:ta(),ext:ta(),rectangle:ta(),triangle:ta(),rhombus:ta(),umlLifeline:function(a){return[L(a,["size"],function(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"size",G.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},umlFrame:function(a){return[L(a,
- ["width","height"],function(a){var b=Math.max(B.prototype.corner,Math.min(a.width,mxUtils.getValue(this.state.style,"width",B.prototype.width))),c=Math.max(1.5*B.prototype.corner,Math.min(a.height,mxUtils.getValue(this.state.style,"height",B.prototype.height)));return new mxPoint(a.x+b,a.y+c)},function(a,b){this.state.style.width=Math.round(Math.max(B.prototype.corner,Math.min(a.width,b.x-a.x)));this.state.style.height=Math.round(Math.max(1.5*B.prototype.corner,Math.min(a.height,b.y-a.y)))},!1)]},
- process:function(a){var b=[L(a,["size"],function(a){var b=Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.state.style,"size",t.prototype.size))));return new mxPoint(a.x+a.width*b,a.y+a.height/4)},function(a,b){this.state.style.size=Math.max(0,Math.min(.5,(b.x-a.x)/a.width))})];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(fa(a));return b},cross:function(a){return[L(a,["size"],function(a){var b=Math.min(a.width,a.height),b=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
- "size",pa.prototype.size)))*b/2;return new mxPoint(a.getCenterX()-b,a.getCenterY()-b)},function(a,b){var c=Math.min(a.width,a.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,a.getCenterY()-b.y)/c*2,Math.max(0,a.getCenterX()-b.x)/c*2)))})]},note:function(a){return[L(a,["size"],function(a){var b=Math.max(0,Math.min(a.width,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"size",e.prototype.size)))));return new mxPoint(a.x+a.width-b,a.y+b)},function(a,b){this.state.style.size=
- Math.round(Math.max(0,Math.min(Math.min(a.width,a.x+a.width-b.x),Math.min(a.height,b.y-a.y))))})]},manualInput:function(a){var b=[L(a,["size"],function(a){var b=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"size",y.prototype.size)));return new mxPoint(a.x+a.width/4,a.y+3*b/4)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.min(a.height,4*(b.y-a.y)/3)))})];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(fa(a));return b},dataStorage:function(a){return[L(a,
- ["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",aa.prototype.size))));return new mxPoint(a.x+(1-b)*a.width,a.getCenterY())},function(a,b){this.state.style.size=Math.max(0,Math.min(1,(a.x+a.width-b.x)/a.width))})]},callout:function(a){var b=[L(a,["size","position"],function(a){var b=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"size",u.prototype.size))),c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",u.prototype.position)));
- mxUtils.getValue(this.state.style,"base",u.prototype.base);return new mxPoint(a.x+c*a.width,a.y+a.height-b)},function(a,b){mxUtils.getValue(this.state.style,"base",u.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(a.height,a.y+a.height-b.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(b.x-a.x)/a.width)))/100}),L(a,["position2"],function(a){var b=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",u.prototype.position2)));return new mxPoint(a.x+
- b*a.width,a.y+a.height)},function(a,b){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(b.x-a.x)/a.width)))/100}),L(a,["base"],function(a){var b=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"size",u.prototype.size))),c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",u.prototype.position))),d=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"base",u.prototype.base)));return new mxPoint(a.x+Math.min(a.width,c*a.width+d),a.y+a.height-
- b)},function(a,b){var c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",u.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(a.width,b.x-a.x-c*a.width)))})];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(fa(a));return b},internalStorage:function(a){var b=[L(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",S.prototype.dx))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"dy",
- S.prototype.dy)));return new mxPoint(a.x+b,a.y+c)},function(a,b){this.state.style.dx=Math.round(Math.max(0,Math.min(a.width,b.x-a.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))})];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(fa(a));return b},corner:function(a){return[L(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",Q.prototype.dx))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"dy",
- Q.prototype.dy)));return new mxPoint(a.x+b,a.y+c)},function(a,b){this.state.style.dx=Math.round(Math.max(0,Math.min(a.width,b.x-a.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))})]},tee:function(a){return[L(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",T.prototype.dx))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"dy",T.prototype.dy)));return new mxPoint(a.x+(a.width+b)/2,a.y+c)},function(a,b){this.state.style.dx=
- Math.round(Math.max(0,2*Math.min(a.width/2,b.x-a.x-a.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))})]},singleArrow:ga(1),doubleArrow:ga(.5),folder:function(a){return[L(a,["tabWidth","tabHeight"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"tabWidth",h.prototype.tabWidth))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"tabHeight",h.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",h.prototype.tabPosition)==
- mxConstants.ALIGN_RIGHT&&(b=a.width-b);return new mxPoint(a.x+b,a.y+c)},function(a,b){var c=Math.max(0,Math.min(a.width,b.x-a.x));mxUtils.getValue(this.state.style,"tabPosition",h.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(c=a.width-c);this.state.style.tabWidth=Math.round(c);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))})]},document:function(a){return[L(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",l.prototype.size))));
- return new mxPoint(a.x+3*a.width/4,a.y+(1-b)*a.height)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,(a.y+a.height-b.y)/a.height))})]},tape:function(a){return[L(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b*a.height/2)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,(b.y-a.y)/a.height*2))})]},offPageConnector:function(a){return[L(a,["size"],function(a){var b=
- Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",X.prototype.size))));return new mxPoint(a.getCenterX(),a.y+(1-b)*a.height)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,(a.y+a.height-b.y)/a.height))})]},step:va(v.prototype.size,!0,null,!0),hexagon:va(x.prototype.size,!0,.5,!0),curlyBracket:va(p.prototype.size,!1),display:va(qa.prototype.size,!1),cube:Aa(1,a.prototype.size,!1),card:Aa(.5,g.prototype.size,!0),loopLimit:Aa(.5,W.prototype.size,!0),trapezoid:Fa(.5),
- parallelogram:Fa(1)};Graph.createHandle=L;Graph.handleFactory=Ba;mxVertexHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()&&this.graph.isCellRotatable(this.state.cell)){var a=this.state.style.shape;null==this.state.view.graph.cellRenderer.defaultShapes[a]&&null==mxStencilRegistry.getStencil(a)&&(a=mxConstants.SHAPE_RECTANGLE);a=Ba[a];if(null!=a)return a(this.state)}return null};mxEdgeHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()){var a=
- this.state.style.shape;null==this.state.view.graph.cellRenderer.defaultShapes[a]&&null==mxStencilRegistry.getStencil(a)&&(a=mxConstants.SHAPE_CONNECTOR);a=Ba[a];if(null!=a)return a(this.state)}return null}}else Graph.createHandle=function(){},Graph.handleFactory={};var wa=new mxPoint(1,0),xa=new mxPoint(1,0),ga=mxUtils.toRadians(-30),wa=mxUtils.getRotatedPoint(wa,Math.cos(ga),Math.sin(ga)),ga=mxUtils.toRadians(-150),xa=mxUtils.getRotatedPoint(xa,Math.cos(ga),Math.sin(ga));mxEdgeStyle.IsometricConnector=
- function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,h=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null==h&&null!=b&&(h=new mxPoint(b.getCenterX(),b.getCenterY()));null==g&&null!=c&&(g=new mxPoint(c.getCenterX(),c.getCenterY()));var k=wa.x,l=wa.y,m=xa.x,n=xa.y,p="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=h){a=function(a,b,c){a-=q.x;var d=b-q.y;b=(n*a-m*d)/(k*n-l*m);a=(l*a-k*d)/(l*m-k*n);p?(c&&(q=new mxPoint(q.x+
- k*b,q.y+l*b),e.push(q)),q=new mxPoint(q.x+m*a,q.y+n*a)):(c&&(q=new mxPoint(q.x+m*a,q.y+n*a),e.push(q)),q=new mxPoint(q.x+k*b,q.y+l*b));e.push(q)};var q=h;null==d&&(d=new mxPoint(h.x+(g.x-h.x)/2,h.y+(g.y-h.y)/2));a(d.x,d.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Ka=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,b){if(b==mxEdgeStyle.IsometricConnector){var c=new mxElbowEdgeHandler(a);c.snapToTerminals=!1;return c}return Ka.apply(this,
- arguments)};c.prototype.constraints=[];d.prototype.constraints=[];u.prototype.constraints=[];mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,
- .5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,
- 1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;z.prototype.constraints=mxRectangleShape.prototype.constraints;e.prototype.constraints=mxRectangleShape.prototype.constraints;g.prototype.constraints=mxRectangleShape.prototype.constraints;
- a.prototype.constraints=mxRectangleShape.prototype.constraints;h.prototype.constraints=mxRectangleShape.prototype.constraints;S.prototype.constraints=mxRectangleShape.prototype.constraints;aa.prototype.constraints=mxRectangleShape.prototype.constraints;ba.prototype.constraints=mxEllipse.prototype.constraints;ca.prototype.constraints=mxEllipse.prototype.constraints;da.prototype.constraints=mxEllipse.prototype.constraints;R.prototype.constraints=mxEllipse.prototype.constraints;y.prototype.constraints=
- mxRectangleShape.prototype.constraints;ua.prototype.constraints=mxRectangleShape.prototype.constraints;qa.prototype.constraints=mxRectangleShape.prototype.constraints;W.prototype.constraints=mxRectangleShape.prototype.constraints;X.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,
- .3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];F.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,
- 0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];P.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,
- .3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,
- .5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];f.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,
- 0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];k.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,
- .5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];v.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(.1,
- .25),!0),new mxConnectionConstraint(new mxPoint(.2,.5),!0),new mxConnectionConstraint(new mxPoint(.1,.75),!0),new mxConnectionConstraint(new mxPoint(.9,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(.9,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];N.prototype.constraints=
- [new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,
- 1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(.125,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(.125,.75),!0),new mxConnectionConstraint(new mxPoint(.875,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,
- .5),!0),new mxConnectionConstraint(new mxPoint(.875,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,
- .77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];m.prototype.constraints=mxRectangleShape.prototype.constraints;n.prototype.constraints=mxRectangleShape.prototype.constraints;l.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,
- 0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;T.prototype.constraints=null;Q.prototype.constraints=null;Z.prototype.constraints=
- [new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];U.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
- .5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ha.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];G.prototype.constraints=null;ia.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
- .25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];ja.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,
- .1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)]})();function Actions(a){this.editorUi=a;this.actions={};this.init()}
- Actions.prototype.init=function(){function a(a){b.escape();var c=b.getDeletableCells(b.getSelectionCells());if(null!=c&&0<c.length){var d=b.model.getParents(c);b.removeCells(c,a);if(null!=d){a=[];for(c=0;c<d.length;c++)b.model.contains(d[c])&&(b.model.isVertex(d[c])||b.model.isEdge(d[c]))&&a.push(d[c]);b.setSelectionCells(a)}}}var c=this.editorUi,d=c.editor,b=d.graph,e=function(){return Action.prototype.isEnabled.apply(this,arguments)&&b.isEnabled()};this.addAction("new...",function(){window.open(c.getUrl())});
- this.addAction("open...",function(){window.openNew=!0;window.openKey="open";c.openFile()});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){c.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var c=mxUtils.parseXml(a),e=new mxGraphModel;(new mxCodec(c)).decode(c.documentElement,e);var f=e.getChildren(e.getChildAt(e.getRoot(),0));d.graph.setSelectionCells(d.graph.importCells(f))}catch(n){mxUtils.alert(mxResources.get("invalidOrMissingFile")+
- ": "+n.message)}}));c.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=null})}).isEnabled=e;this.addAction("save",function(){c.saveFile(!1)},null,null,"Ctrl+S").isEnabled=e;this.addAction("saveAs...",function(){c.saveFile(!0)},null,null,"Ctrl+Shift+S").isEnabled=e;this.addAction("export...",function(){c.showDialog((new ExportDialog(c)).container,300,230,!0,!0)});this.addAction("editDiagram...",function(){var a=new EditDiagramDialog(c);c.showDialog(a.container,620,
- 420,!0,!1);a.init()});this.addAction("pageSetup...",function(){c.showDialog((new PageSetupDialog(c)).container,320,220,!0,!0)}).isEnabled=e;this.addAction("print...",function(){c.showDialog((new PrintDialog(c)).container,300,180,!0,!0)},null,"sprite-print","Ctrl+P");this.addAction("preview",function(){mxUtils.show(b,null,10,10)});this.addAction("undo",function(){c.undo()},null,"sprite-undo","Ctrl+Z");this.addAction("redo",function(){c.redo()},null,"sprite-redo",mxClient.IS_WIN?"Ctrl+Y":"Ctrl+Shift+Z");
- this.addAction("cut",function(){mxClipboard.cut(b)},null,"sprite-cut","Ctrl+X");this.addAction("copy",function(){mxClipboard.copy(b)},null,"sprite-copy","Ctrl+C");this.addAction("paste",function(){b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&mxClipboard.paste(b)},!1,"sprite-paste","Ctrl+V");this.addAction("pasteHere",function(a){if(b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())){b.getModel().beginUpdate();try{var c=mxClipboard.paste(b);if(null!=c){var d=b.getBoundingBoxFromGeometry(c);
- if(null!=d){var e=b.view.translate,f=b.view.scale,h=e.y,p=Math.round(b.snap(b.popupMenuHandler.triggerX/f-e.x)),q=Math.round(b.snap(b.popupMenuHandler.triggerY/f-h));b.cellsMoved(c,p-d.x,q-d.y)}}}finally{b.getModel().endUpdate()}}});this.addAction("delete",function(b){a(null!=b&&mxEvent.isShiftDown(b))},null,null,"Delete");this.addAction("deleteAll",function(){a(!0)},null,null,"Ctrl+Delete");this.addAction("duplicate",function(){b.setSelectionCells(b.duplicateCells())},null,null,"Ctrl+D");this.put("turn",
- new Action(mxResources.get("turn")+" / "+mxResources.get("reverse"),function(){b.turnShapes(b.getSelectionCells())},null,null,"Ctrl+R"));this.addAction("selectVertices",function(){b.selectVertices()},null,null,"Ctrl+Shift+I");this.addAction("selectEdges",function(){b.selectEdges()},null,null,"Ctrl+Shift+E");this.addAction("selectAll",function(){b.selectAll(null,!0)},null,null,"Ctrl+A");this.addAction("selectNone",function(){b.clearSelection()},null,null,"Ctrl+Shift+A");this.addAction("lockUnlock",
- function(){if(!b.isSelectionEmpty()){b.getModel().beginUpdate();try{var a=b.isCellMovable(b.getSelectionCell())?1:0;b.toggleCellStyles(mxConstants.STYLE_MOVABLE,a);b.toggleCellStyles(mxConstants.STYLE_RESIZABLE,a);b.toggleCellStyles(mxConstants.STYLE_ROTATABLE,a);b.toggleCellStyles(mxConstants.STYLE_DELETABLE,a);b.toggleCellStyles(mxConstants.STYLE_EDITABLE,a);b.toggleCellStyles("connectable",a)}finally{b.getModel().endUpdate()}}},null,null,"Ctrl+L");this.addAction("home",function(){b.home()},null,
- null,"Home");this.addAction("exitGroup",function(){b.exitGroup()},null,null,"Ctrl+Shift+Page Up");this.addAction("enterGroup",function(){b.enterGroup()},null,null,"Ctrl+Shift+Page Down");this.addAction("expand",function(){b.foldCells(!1)},null,null,"Ctrl+Page Down");this.addAction("collapse",function(){b.foldCells(!0)},null,null,"Ctrl+Page Up");this.addAction("toFront",function(){b.orderCells(!1)},null,null,"Ctrl+Shift+F");this.addAction("toBack",function(){b.orderCells(!0)},null,null,"Ctrl+Shift+B");
- this.addAction("group",function(){1==b.getSelectionCount()?b.setCellStyles("container","1"):b.setSelectionCell(b.groupCells(null,0))},null,null,"Ctrl+G");this.addAction("ungroup",function(){1==b.getSelectionCount()&&0==b.getModel().getChildCount(b.getSelectionCell())?b.setCellStyles("container","0"):b.setSelectionCells(b.ungroupCells())},null,null,"Ctrl+Shift+U");this.addAction("removeFromGroup",function(){b.removeCellsFromParent()});this.addAction("edit",function(){b.isEnabled()&&b.startEditingAtCell()},
- null,null,"F2/Enter");this.addAction("editData...",function(){var a=b.getSelectionCell()||b.getModel().getRoot();null!=a&&(a=new EditDataDialog(c,a),c.showDialog(a.container,320,320,!0,!1),a.init())},null,null,"Ctrl+M");this.addAction("editTooltip...",function(){var a=c.editor.graph;if(a.isEnabled()&&!a.isSelectionEmpty()){var b=a.getSelectionCell(),d="";if(mxUtils.isNode(b.value)){var e=b.value.getAttribute("tooltip");null!=e&&(d=e)}d=new TextareaDialog(c,mxResources.get("editTooltip")+":",d,function(c){a.setTooltipForCell(b,
- c)});c.showDialog(d.container,320,200,!0,!0);d.init()}});this.addAction("openLink",function(){var a=b.getLinkForCell(b.getSelectionCell());null!=a&&window.open(a)});this.addAction("editLink...",function(){var a=c.editor.graph;if(a.isEnabled()&&!a.isSelectionEmpty()){var b=a.getSelectionCell(),d=a.getLinkForCell(b)||"";c.showLinkDialog(d,mxResources.get("apply"),function(c){c=mxUtils.trim(c);a.setLinkForCell(b,0<c.length?c:null)})}});this.addAction("insertLink...",function(){if(b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())){var a=
- new LinkDialog(c,"",mxResources.get("insert"),function(a,c){a=mxUtils.trim(a);if(0<a.length){var d=a.substring(a.lastIndexOf("/")+1),e=null;null!=c&&0<c.length&&(e=c[0].iconUrl,d=c[0].name||c[0].type,d=d.charAt(0).toUpperCase()+d.substring(1),30<d.length&&(d=d.substring(0,30)+"..."));var f=b.getFreeInsertPoint(),d=new mxCell(d,new mxGeometry(f.x,f.y,100,40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=e?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+
- e:"spacing=10;"));d.vertex=!0;b.setLinkForCell(d,a);b.cellSizeUpdated(d,!0);b.setSelectionCell(b.addCell(d));b.scrollCellToVisible(b.getSelectionCell())}});c.showDialog(a.container,420,90,!0,!0);a.init()}}).isEnabled=e;this.addAction("link...",mxUtils.bind(this,function(){var a=c.editor.graph;if(a.isEnabled())if(a.cellEditor.isContentEditing()){var b=a.getParentByName(a.getSelectedElement(),"A",a.cellEditor.textarea),d="";null!=b&&(d=b.getAttribute("href")||"");var e=a.cellEditor.saveSelection();
- c.showLinkDialog(d,mxResources.get("apply"),mxUtils.bind(this,function(b){a.cellEditor.restoreSelection(e);null!=b&&a.insertLink(b)}))}else a.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=e;this.addAction("autosize",function(){var a=b.getSelectionCells();if(null!=a){b.getModel().beginUpdate();try{for(var c=0;c<a.length;c++){var d=a[c];if(b.getModel().getChildCount(d))b.updateGroupBounds([d],20);else{var e=b.view.getState(d),f=b.getCellGeometry(d);b.getModel().isVertex(d)&&
- null!=e&&null!=e.text&&null!=f&&b.isWrapping(d)?(f=f.clone(),f.height=e.text.boundingBox.height/b.view.scale,b.getModel().setGeometry(d,f)):b.updateCellSize(d)}}}finally{b.getModel().endUpdate()}}},null,null,"Ctrl+Shift+Y");this.addAction("formattedText",function(){var a=b.getView().getState(b.getSelectionCell());if(null!=a){var d="1";b.stopEditing();b.getModel().beginUpdate();try{if("1"==a.style.html){var d=null,e=b.convertValueToString(a.cell);"0"!=mxUtils.getValue(a.style,"nl2Br","1")&&(e=e.replace(/\n/g,
- "").replace(/<br\s*.?>/g,"\n"));var f=document.createElement("div");f.innerHTML=e;e=mxUtils.extractTextWithWhitespace(f.childNodes);b.cellLabelChanged(a.cell,e)}else e=mxUtils.htmlEntities(b.convertValueToString(a.cell),!1),"0"!=mxUtils.getValue(a.style,"nl2Br","1")&&(e=e.replace(/\n/g,"<br/>")),b.cellLabelChanged(a.cell,b.sanitizeHtml(e));b.setCellStyles("html",d);c.fireEvent(new mxEventObject("styleChanged","keys",["html"],"values",[null!=d?d:"0"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}}});
- this.addAction("wordWrap",function(){var a=b.getView().getState(b.getSelectionCell()),c="wrap";b.stopEditing();null!=a&&"wrap"==a.style[mxConstants.STYLE_WHITE_SPACE]&&(c=null);b.setCellStyles(mxConstants.STYLE_WHITE_SPACE,c)});this.addAction("rotation",function(){var a="0",d=b.getView().getState(b.getSelectionCell());null!=d&&(a=d.style[mxConstants.STYLE_ROTATION]||a);a=new FilenameDialog(c,a,mxResources.get("apply"),function(a){null!=a&&0<a.length&&b.setCellStyles(mxConstants.STYLE_ROTATION,a)},
- mxResources.get("enterValue")+" ("+mxResources.get("rotation")+" 0-360)");c.showDialog(a.container,300,80,!0,!0);a.init()});this.addAction("resetView",function(){b.zoomTo(1);c.resetScrollbars()},null,null,"Ctrl+H");this.addAction("zoomIn",function(a){b.zoomIn()},null,null,"Ctrl + (Numpad) / Alt+Mousewheel");this.addAction("zoomOut",function(a){b.zoomOut()},null,null,"Ctrl - (Numpad) / Alt+Mousewheel");this.addAction("fitWindow",function(){b.fit()},null,null,"Ctrl+Shift+H");this.addAction("fitPage",
- mxUtils.bind(this,function(){b.pageVisible||this.get("pageView").funct();var a=b.pageFormat,c=b.pageScale;b.zoomTo(Math.floor(20*Math.min((b.container.clientWidth-10)/a.width/c,(b.container.clientHeight-10)/a.height/c))/20);mxUtils.hasScrollbars(b.container)&&(a=b.getPagePadding(),b.container.scrollTop=a.y*b.view.scale,b.container.scrollLeft=Math.min(a.x*b.view.scale,(b.container.scrollWidth-b.container.clientWidth)/2))}),null,null,"Ctrl+J");this.addAction("fitTwoPages",mxUtils.bind(this,function(){b.pageVisible||
- this.get("pageView").funct();var a=b.pageFormat,c=b.pageScale;b.zoomTo(Math.floor(20*Math.min((b.container.clientWidth-10)/(2*a.width)/c,(b.container.clientHeight-10)/a.height/c))/20);mxUtils.hasScrollbars(b.container)&&(a=b.getPagePadding(),b.container.scrollTop=Math.min(a.y,(b.container.scrollHeight-b.container.clientHeight)/2),b.container.scrollLeft=Math.min(a.x,(b.container.scrollWidth-b.container.clientWidth)/2))}),null,null,"Ctrl+Shift+J");this.addAction("fitPageWidth",mxUtils.bind(this,function(){b.pageVisible||
- this.get("pageView").funct();b.zoomTo(Math.floor(20*(b.container.clientWidth-10)/b.pageFormat.width/b.pageScale)/20);if(mxUtils.hasScrollbars(b.container)){var a=b.getPagePadding();b.container.scrollLeft=Math.min(a.x*b.view.scale,(b.container.scrollWidth-b.container.clientWidth)/2)}}));this.put("customZoom",new Action(mxResources.get("custom")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.editorUi,parseInt(100*b.getView().getScale()),mxResources.get("apply"),mxUtils.bind(this,function(a){a=
- parseInt(a);!isNaN(a)&&0<a&&b.zoomTo(a/100)}),mxResources.get("zoom")+" (%)");this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}),null,null,"Ctrl+0"));this.addAction("pageScale...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.editorUi,parseInt(100*b.pageScale),mxResources.get("apply"),mxUtils.bind(this,function(a){a=parseInt(a);!isNaN(a)&&0<a&&c.setPageScale(a/100)}),mxResources.get("pageScale")+" (%)");this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}));var f=null,
- f=this.addAction("grid",function(){b.setGridEnabled(!b.isGridEnabled());c.fireEvent(new mxEventObject("gridEnabledChanged"))},null,null,"Ctrl+Shift+G");f.setToggleAction(!0);f.setSelectedCallback(function(){return b.isGridEnabled()});f.setEnabled(!1);f=this.addAction("guides",function(){b.graphHandler.guidesEnabled=!b.graphHandler.guidesEnabled;c.fireEvent(new mxEventObject("guidesEnabledChanged"))});f.setToggleAction(!0);f.setSelectedCallback(function(){return b.graphHandler.guidesEnabled});f.setEnabled(!1);
- f=this.addAction("tooltips",function(){b.tooltipHandler.setEnabled(!b.tooltipHandler.isEnabled())});f.setToggleAction(!0);f.setSelectedCallback(function(){return b.tooltipHandler.isEnabled()});f=this.addAction("collapseExpand",function(){c.setFoldingEnabled(!b.foldingEnabled)});f.setToggleAction(!0);f.setSelectedCallback(function(){return b.foldingEnabled});f.isEnabled=e;f=this.addAction("scrollbars",function(){c.setScrollbars(!c.hasScrollbars())});f.setToggleAction(!0);f.setSelectedCallback(function(){return b.scrollbars});
- f=this.addAction("pageView",mxUtils.bind(this,function(){c.setPageVisible(!b.pageVisible)}));f.setToggleAction(!0);f.setSelectedCallback(function(){return b.pageVisible});f=this.addAction("connectionArrows",function(){b.connectionArrowsEnabled=!b.connectionArrowsEnabled;c.fireEvent(new mxEventObject("connectionArrowsChanged"))},null,null,"Ctrl+Q");f.setToggleAction(!0);f.setSelectedCallback(function(){return b.connectionArrowsEnabled});f=this.addAction("connectionPoints",function(){b.setConnectable(!b.connectionHandler.isEnabled());
- c.fireEvent(new mxEventObject("connectionPointsChanged"))},null,null,"Ctrl+Shift+Q");f.setToggleAction(!0);f.setSelectedCallback(function(){return b.connectionHandler.isEnabled()});f=this.addAction("copyConnect",function(){b.connectionHandler.setCreateTarget(!b.connectionHandler.isCreateTarget());c.fireEvent(new mxEventObject("copyConnectChanged"))});f.setToggleAction(!0);f.setSelectedCallback(function(){return b.connectionHandler.isCreateTarget()});f.isEnabled=e;f=this.addAction("autosave",function(){c.editor.setAutosave(!c.editor.autosave)});
- f.setToggleAction(!0);f.setSelectedCallback(function(){return c.editor.autosave});f.isEnabled=e;f.visible=!1;this.addAction("help",function(){var a="";mxResources.isLanguageSupported(mxClient.language)&&(a="_"+mxClient.language);window.open(RESOURCES_PATH+"/help"+a+".html")});this.put("about",new Action(mxResources.get("about")+" Graph Editor...",function(){c.showDialog((new AboutDialog(c)).container,320,280,!0,!0)},null,null,"F1"));f=mxUtils.bind(this,function(a,c,d,e){return this.addAction(a,function(){null!=
- d&&b.cellEditor.isContentEditing()?d():(b.stopEditing(!1),b.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,c))},null,null,e)});f("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},"Ctrl+B");f("italic",mxConstants.FONT_ITALIC,function(){document.execCommand("italic",!1,null)},"Ctrl+I");f("underline",mxConstants.FONT_UNDERLINE,function(){document.execCommand("underline",!1,null)},"Ctrl+U");this.addAction("fontColor...",function(){c.menus.pickColor(mxConstants.STYLE_FONTCOLOR,
- "forecolor","000000")});this.addAction("strokeColor...",function(){c.menus.pickColor(mxConstants.STYLE_STROKECOLOR)});this.addAction("fillColor...",function(){c.menus.pickColor(mxConstants.STYLE_FILLCOLOR)});this.addAction("gradientColor...",function(){c.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR)});this.addAction("backgroundColor...",function(){c.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"backcolor")});this.addAction("borderColor...",function(){c.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR)});
- this.addAction("vertical",function(){c.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,!0)});this.addAction("shadow",function(){c.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_DASHED,null),b.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});
- this.addAction("dashed",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_DASHED,"1"),b.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("dotted",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_DASHED,"1"),b.setCellStyles(mxConstants.STYLE_DASH_PATTERN,
- "1 4"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1","1 4"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("sharp",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),b.setCellStyles(mxConstants.STYLE_CURVED,"0"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","0"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});
- this.addAction("rounded",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_ROUNDED,"1"),b.setCellStyles(mxConstants.STYLE_CURVED,"0"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["1","0"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("toggleRounded",function(){if(!b.isSelectionEmpty()&&b.isEnabled()){b.getModel().beginUpdate();try{var a=b.getSelectionCells(),d=b.view.getState(a[0]),
- e=null!=d?d.style:b.getCellStyle(a[0]),f="1"==mxUtils.getValue(e,mxConstants.STYLE_ROUNDED,"0")?"0":"1";b.setCellStyles(mxConstants.STYLE_ROUNDED,f);b.setCellStyles(mxConstants.STYLE_CURVED,null);c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",[f,"0"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}}});this.addAction("curved",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),b.setCellStyles(mxConstants.STYLE_CURVED,
- "1"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","1"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("collapsible",function(){var a=b.view.getState(b.getSelectionCell()),d="1";null!=a&&null!=b.getFoldingImage(a)&&(d="0");b.setCellStyles("collapsible",d);c.fireEvent(new mxEventObject("styleChanged","keys",["collapsible"],"values",[d],"cells",b.getSelectionCells()))});this.addAction("editStyle...",
- mxUtils.bind(this,function(){var a=b.getSelectionCells();if(null!=a&&0<a.length){var c=b.getModel(),c=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",c.getStyle(a[0])||"",function(c){null!=c&&b.setCellStyle(mxUtils.trim(c),a)},null,null,400,220);this.editorUi.showDialog(c.container,420,300,!0,!0);c.init()}}),null,null,"Ctrl+E");this.addAction("setAsDefaultStyle",function(){b.isEnabled()&&!b.isSelectionEmpty()&&c.setDefaultStyle(b.getSelectionCell())},null,null,"Ctrl+Shift+D");this.addAction("clearDefaultStyle",
- function(){b.isEnabled()&&c.clearDefaultStyle()},null,null,"Ctrl+Shift+R");this.addAction("addWaypoint",function(){var a=b.getSelectionCell();if(null!=a&&b.getModel().isEdge(a)){var c=d.graph.selectionCellsHandler.getHandler(a);if(c instanceof mxEdgeHandler){for(var e=b.view.translate,f=b.view.scale,m=e.x,e=e.y,a=b.getModel().getParent(a),n=b.getCellGeometry(a);b.getModel().isVertex(a)&&null!=n;)m+=n.x,e+=n.y,a=b.getModel().getParent(a),n=b.getCellGeometry(a);m=Math.round(b.snap(b.popupMenuHandler.triggerX/
- f-m));f=Math.round(b.snap(b.popupMenuHandler.triggerY/f-e));c.addPointAt(c.state,m,f)}}});this.addAction("removeWaypoint",function(){var a=c.actions.get("removeWaypoint");null!=a.handler&&a.handler.removePoint(a.handler.state,a.index)});this.addAction("clearWaypoints",function(){var a=b.getSelectionCells();if(null!=a){a=b.addAllEdges(a);b.getModel().beginUpdate();try{for(var c=0;c<a.length;c++){var d=a[c];if(b.getModel().isEdge(d)){var e=b.getCellGeometry(d);null!=e&&(e=e.clone(),e.points=null,b.getModel().setGeometry(d,
- e))}}}finally{b.getModel().endUpdate()}}},null,null,"Alt+Shift+C");f=this.addAction("subscript",mxUtils.bind(this,function(){b.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,"Ctrl+,");f=this.addAction("superscript",mxUtils.bind(this,function(){b.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,"Ctrl+.");this.addAction("image...",function(){if(b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())){var a=mxResources.get("image")+
- " ("+mxResources.get("url")+"):",d=b.getView().getState(b.getSelectionCell()),e="";null!=d&&(e=d.style[mxConstants.STYLE_IMAGE]||e);var f=b.cellEditor.saveSelection();c.showImageDialog(a,e,function(a,c,d){if(b.cellEditor.isContentEditing())b.cellEditor.restoreSelection(f),b.insertImage(a,c,d);else{var e=b.getSelectionCells();if(null!=a){var g=null;b.getModel().beginUpdate();try{if(0==e.length)var h=b.getFreeInsertPoint(),g=e=[b.insertVertex(b.getDefaultParent(),null,"",h.x,h.y,c,d,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];
- b.setCellStyles(mxConstants.STYLE_IMAGE,a,e);var k=b.view.getState(e[0]),l=null!=k?k.style:b.getCellStyle(e[0]);"image"!=l[mxConstants.STYLE_SHAPE]&&"label"!=l[mxConstants.STYLE_SHAPE]&&b.setCellStyles(mxConstants.STYLE_SHAPE,"image",e);if(1==b.getSelectionCount()&&null!=c&&null!=d){var m=e[0],n=b.getModel().getGeometry(m);null!=n&&(n=n.clone(),n.width=c,n.height=d,b.getModel().setGeometry(m,n))}}finally{b.getModel().endUpdate()}null!=g&&(b.setSelectionCells(g),b.scrollCellToVisible(g[0]))}}},b.cellEditor.isContentEditing(),
- !b.cellEditor.isContentEditing())}}).isEnabled=e;this.addAction("insertImage...",function(){b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&(b.clearSelection(),c.actions.get("image").funct())}).isEnabled=e;f=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(c,document.body.offsetWidth-280,120,220,180),this.layersWindow.window.addListener("show",function(){c.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.addListener("hide",
- function(){c.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.setVisible(!0),c.fireEvent(new mxEventObject("layers"))):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,"Ctrl+Shift+L");f.setToggleAction(!0);f.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));f=this.addAction("formatPanel",mxUtils.bind(this,function(){c.toggleFormatPanel()}),null,null,"Ctrl+Shift+P");f.setToggleAction(!0);
- f.setSelectedCallback(mxUtils.bind(this,function(){return 0<c.formatWidth}));f=this.addAction("outline",mxUtils.bind(this,function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(c,document.body.offsetWidth-260,100,180,180),this.outlineWindow.window.addListener("show",function(){c.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.addListener("hide",function(){c.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),c.fireEvent(new mxEventObject("outline"))):
- this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible());c.fireEvent(new mxEventObject("outline"))}),null,null,"Ctrl+Shift+O");f.setToggleAction(!0);f.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.outlineWindow&&this.outlineWindow.window.isVisible()}))};Actions.prototype.addAction=function(a,c,d,b,e){var f;"..."==a.substring(a.length-3)?(a=a.substring(0,a.length-3),f=mxResources.get(a)+"..."):f=mxResources.get(a);return this.put(a,new Action(f,c,d,b,e))};
- Actions.prototype.put=function(a,c){return this.actions[a]=c};Actions.prototype.get=function(a){return this.actions[a]};function Action(a,c,d,b,e){mxEventSource.call(this);this.label=a;this.funct=c;this.enabled=null!=d?d:!0;this.iconCls=b;this.shortcut=e;this.visible=!0}mxUtils.extend(Action,mxEventSource);Action.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};Action.prototype.isEnabled=function(){return this.enabled};
- Action.prototype.setToggleAction=function(a){this.toggleAction=a};Action.prototype.setSelectedCallback=function(a){this.selectedCallback=a};Action.prototype.isSelected=function(){return this.selectedCallback()};Menus=function(a){this.editorUi=a;this.menus={};this.init();mxClient.IS_SVG||((new Image).src=this.checkmarkImage)};Menus.prototype.defaultFont="Helvetica";Menus.prototype.defaultFontSize="12";Menus.prototype.defaultMenuItems="file edit view arrange extras help".split(" ");Menus.prototype.defaultFonts="Helvetica;Verdana;Times New Roman;Garamond;Comic Sans MS;Courier New;Georgia;Lucida Console;Tahoma".split(";");
- Menus.prototype.init=function(){var a=this.editorUi.editor.graph,c=mxUtils.bind(a,a.isEnabled);this.customFonts=[];this.customFontSizes=[];this.put("fontFamily",new Menu(mxUtils.bind(this,function(a,b){for(var c=mxUtils.bind(this,function(c){this.styleChange(a,c,[mxConstants.STYLE_FONTFAMILY],[c],null,b,function(){document.execCommand("fontname",!1,c)}).firstChild.nextSibling.style.fontFamily=c}),d=0;d<this.defaultFonts.length;d++)c(this.defaultFonts[d]);a.addSeparator(b);if(0<this.customFonts.length){for(d=
- 0;d<this.customFonts.length;d++)c(this.customFonts[d]);a.addSeparator(b);a.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[]}),b);a.addSeparator(b)}this.promptChange(a,mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,b,!0,mxUtils.bind(this,function(a){this.customFonts.push(a)}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(c,b){function d(d,e){return c.addItem(d,null,mxUtils.bind(this,function(){a.cellEditor.textarea.focus();
- document.execCommand("formatBlock",!1,"<"+e+">")}),b)}d(mxResources.get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0px;">'+mxResources.get("heading")+" 1</h1>";d("","h2").firstChild.nextSibling.innerHTML='<h2 style="margin:0px;">'+mxResources.get("heading")+" 2</h2>";d("","h3").firstChild.nextSibling.innerHTML='<h3 style="margin:0px;">'+mxResources.get("heading")+" 3</h3>";d("","h4").firstChild.nextSibling.innerHTML='<h4 style="margin:0px;">'+mxResources.get("heading")+
- " 4</h4>";d("","h5").firstChild.nextSibling.innerHTML='<h5 style="margin:0px;">'+mxResources.get("heading")+" 5</h5>";d("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mxResources.get("heading")+" 6</h6>";d("","pre").firstChild.nextSibling.innerHTML='<pre style="margin:0px;">'+mxResources.get("formatted")+"</pre>";d("","blockquote").firstChild.nextSibling.innerHTML='<blockquote style="margin-top:0px;margin-bottom:0px;">'+mxResources.get("blockquote")+"</blockquote>"})));this.put("fontSize",
- new Menu(mxUtils.bind(this,function(c,b){for(var d=[6,8,9,10,11,12,14,18,24,36,48,72],f=mxUtils.bind(this,function(d){this.styleChange(c,d,[mxConstants.STYLE_FONTSIZE],[d],null,b,function(){document.execCommand("fontSize",!1,"3");for(var b=a.cellEditor.textarea.getElementsByTagName("font"),c=0;c<b.length;c++)if("3"==b[c].getAttribute("size")){b[c].removeAttribute("size");b[c].style.fontSize=d+"px";break}})}),h=0;h<d.length;h++)f(d[h]);c.addSeparator(b);if(0<this.customFontSizes.length){for(h=0;h<
- this.customFontSizes.length;h++)f(this.customFontSizes[h]);c.addSeparator(b);c.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),b);c.addSeparator(b)}this.promptChange(c,mxResources.get("custom")+"...","(pt)","12",mxConstants.STYLE_FONTSIZE,b,!0,mxUtils.bind(this,function(a){this.customFontSizes.push(a)}))})));this.put("direction",new Menu(mxUtils.bind(this,function(c,b){c.addItem(mxResources.get("flipH"),null,function(){a.toggleCellStyles(mxConstants.STYLE_FLIPH,
- !1)},b);c.addItem(mxResources.get("flipV"),null,function(){a.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},b);this.addMenuItems(c,["-","rotation"],b)})));this.put("align",new Menu(mxUtils.bind(this,function(c,b){c.addItem(mxResources.get("leftAlign"),null,function(){a.alignCells(mxConstants.ALIGN_LEFT)},b);c.addItem(mxResources.get("center"),null,function(){a.alignCells(mxConstants.ALIGN_CENTER)},b);c.addItem(mxResources.get("rightAlign"),null,function(){a.alignCells(mxConstants.ALIGN_RIGHT)},b);
- c.addSeparator(b);c.addItem(mxResources.get("topAlign"),null,function(){a.alignCells(mxConstants.ALIGN_TOP)},b);c.addItem(mxResources.get("middle"),null,function(){a.alignCells(mxConstants.ALIGN_MIDDLE)},b);c.addItem(mxResources.get("bottomAlign"),null,function(){a.alignCells(mxConstants.ALIGN_BOTTOM)},b)})));this.put("distribute",new Menu(mxUtils.bind(this,function(c,b){c.addItem(mxResources.get("horizontal"),null,function(){a.distributeCells(!0)},b);c.addItem(mxResources.get("vertical"),null,function(){a.distributeCells(!1)},
- b)})));this.put("layout",new Menu(mxUtils.bind(this,function(c,b){var d=mxUtils.bind(this,function(a,b){var c=new FilenameDialog(this.editorUi,a,mxResources.get("apply"),function(a){b(parseFloat(a))},mxResources.get("spacing"));this.editorUi.showDialog(c.container,300,80,!0,!0);c.init()});c.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){var b=new mxHierarchicalLayout(a,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var c=a.getSelectionCells();b.execute(a.getDefaultParent(),
- 0==c.length?null:c)},!0)}),b);c.addItem(mxResources.get("verticalFlow"),null,mxUtils.bind(this,function(){var b=new mxHierarchicalLayout(a,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var c=a.getSelectionCells();b.execute(a.getDefaultParent(),0==c.length?null:c)},!0)}),b);c.addSeparator(b);c.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var b=a.getSelectionCell(),c=null;null==b||0==a.getModel().getChildCount(b)?0==a.getModel().getEdgeCount(b)&&
- (c=a.findTreeRoots(a.getDefaultParent())):c=a.findTreeRoots(b);null!=c&&0<c.length&&(b=c[0]);if(null!=b){var e=new mxCompactTreeLayout(a,!0);e.edgeRouting=!1;e.levelDistance=30;d(e.levelDistance,mxUtils.bind(this,function(c){e.levelDistance=c;this.editorUi.executeLayout(function(){e.execute(a.getDefaultParent(),b)},!0)}))}}),b);c.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var b=a.getSelectionCell(),c=null;null==b||0==a.getModel().getChildCount(b)?0==a.getModel().getEdgeCount(b)&&
- (c=a.findTreeRoots(a.getDefaultParent())):c=a.findTreeRoots(b);null!=c&&0<c.length&&(b=c[0]);if(null!=b){var e=new mxCompactTreeLayout(a,!1);e.edgeRouting=!1;e.levelDistance=30;d(e.levelDistance,mxUtils.bind(this,function(c){e.levelDistance=c;this.editorUi.executeLayout(function(){e.execute(a.getDefaultParent(),b)},!0)}))}}),b);c.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var b=a.getSelectionCell(),c=null;null==b||0==a.getModel().getChildCount(b)?0==a.getModel().getEdgeCount(b)&&
- (c=a.findTreeRoots(a.getDefaultParent())):c=a.findTreeRoots(b);null!=c&&0<c.length&&(b=c[0]);if(null!=b){var e=new mxRadialTreeLayout(a,!1);e.levelDistance=80;e.autoRadius=!0;d(e.levelDistance,mxUtils.bind(this,function(c){e.levelDistance=c;this.editorUi.executeLayout(function(){e.execute(a.getDefaultParent(),b);a.isSelectionEmpty()||(b=a.getModel().getParent(b),a.getModel().isVertex(b)&&a.updateGroupBounds([b],2*a.gridSize,!0))},!0)}))}}),b);c.addSeparator(b);c.addItem(mxResources.get("organic"),
- null,mxUtils.bind(this,function(){var b=new mxFastOrganicLayout(a);d(b.forceConstant,mxUtils.bind(this,function(c){b.forceConstant=c;this.editorUi.executeLayout(function(){var c=a.getSelectionCell();if(null==c||0==a.getModel().getChildCount(c))c=a.getDefaultParent();b.execute(c);a.getModel().isVertex(c)&&a.updateGroupBounds([c],2*a.gridSize,!0)},!0)}))}),b);c.addItem(mxResources.get("circle"),null,mxUtils.bind(this,function(){var b=new mxCircleLayout(a);this.editorUi.executeLayout(function(){var c=
- a.getSelectionCell();if(null==c||0==a.getModel().getChildCount(c))c=a.getDefaultParent();b.execute(c);a.getModel().isVertex(c)&&a.updateGroupBounds([c],2*a.gridSize,!0)},!0)}),b)})));this.put("navigation",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),b)})));this.put("arrange",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["toFront","toBack","-"],b);this.addSubmenu("direction",a,b);this.addMenuItems(a,
- ["turn","-"],b);this.addSubmenu("align",a,b);this.addSubmenu("distribute",a,b);a.addSeparator(b);this.addSubmenu("navigation",a,b);this.addSubmenu("insert",a,b);this.addSubmenu("layout",a,b);this.addMenuItems(a,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),b)}))).isEnabled=c;this.put("insert",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["insertLink","insertImage"],b)})));this.put("view",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,(null!=this.editorUi.format?
- ["formatPanel"]:[]).concat("outline layers - pageView pageScale - scrollbars tooltips - grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),b))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(a,b){null!=this.editorUi.format&&this.addMenuItems(a,["formatPanel"],b);this.addMenuItems(a,["outline","layers"],b)})));this.put("viewZoom",new Menu(mxUtils.bind(this,function(c,b){this.addMenuItems(c,["resetView","-"],b);for(var d=[.25,.5,.75,1,1.25,1.5,2,3,4],
- f=0;f<d.length;f++)(function(d){c.addItem(100*d+"%",null,function(){a.zoomTo(d)},b)})(d[f]);this.addMenuItems(c,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),b)})));this.put("file",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"new open - save saveAs - import export - pageSetup print".split(" "),b)})));this.put("edit",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"undo redo - cut copy paste delete - duplicate - editData editTooltip editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));
- this.put("extras",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["help","-","about"])})))};Menus.prototype.put=function(a,c){return this.menus[a]=c};Menus.prototype.get=function(a){return this.menus[a]};
- Menus.prototype.addSubmenu=function(a,c,d){var b=this.get(a).isEnabled();if(c.showDisabled||b)d=c.addItem(mxResources.get(a),null,null,d,null,b),this.addMenu(a,c,d)};Menus.prototype.addMenu=function(a,c,d){var b=this.get(a);null!=b&&(c.showDisabled||b.isEnabled())&&this.get(a).execute(c,d)};
- Menus.prototype.addInsertTableItem=function(a){function c(a,b){for(var c=["<table>"],d=0;d<a;d++){c.push("<tr>");for(var e=0;e<b;e++)c.push("<td><br></td>");c.push("</tr>")}c.push("</table>");return c.join("")}var d=this.editorUi.editor.graph;a=a.addItem("",null,mxUtils.bind(this,function(a){var b=d.getParentByName(mxEvent.getSource(a),"TD");if(null!=b){var e=d.getParentByName(b,"TR"),f=d.cellEditor.textarea.getElementsByTagName("table");a=[];for(var h=0;h<f.length;h++)a.push(f[h]);d.container.focus();
- d.pasteHtmlAtCaret(c(e.sectionRowIndex+1,b.cellIndex+1));b=d.cellEditor.textarea.getElementsByTagName("table");if(b.length==a.length+1)for(h=b.length-1;0<=h;h--)if(0==h||b[h]!=a[h-1]){d.selectNode(b[h].rows[0].cells[0]);break}}}));var b='<img src="'+mxClient.imageBasePath+'/transparent.gif" width="16" height="16"/>';a.firstChild.innerHTML="";var e=function(a,c){var d=document.createElement("table");d.setAttribute("border","1");d.style.borderCollapse="collapse";mxClient.IS_QUIRKS||d.setAttribute("cellPadding",
- "8");for(var e=0;e<a;e++)for(var f=d.insertRow(e),g=0;g<c;g++){var h=f.insertCell(-1);mxClient.IS_QUIRKS&&(h.innerHTML=b)}return d}(5,5);a.firstChild.appendChild(e);var f=document.createElement("div");f.style.padding="4px";f.style.fontSize=Menus.prototype.defaultFontSize+"px";f.innerHTML="1x1";a.firstChild.appendChild(f);mxEvent.addListener(e,"mouseover",function(a){var c=d.getParentByName(mxEvent.getSource(a),"TD");if(null!=c){for(var h=d.getParentByName(c,"TR"),l=Math.min(20,h.sectionRowIndex+2),
- m=Math.min(20,c.cellIndex+2),n=e.rows.length;n<l;n++)for(var p=e.insertRow(n),q=0;q<e.rows[0].cells.length;q++){var r=p.insertCell(-1);mxClient.IS_QUIRKS&&(r.innerHTML=b)}for(n=0;n<e.rows.length;n++)for(p=e.rows[n],q=p.cells.length;q<m;q++)r=p.insertCell(-1),mxClient.IS_QUIRKS&&(r.innerHTML=b);f.innerHTML=c.cellIndex+1+"x"+(h.sectionRowIndex+1);for(l=0;l<e.rows.length;l++)for(m=e.rows[l],n=0;n<m.cells.length;n++)m.cells[n].style.backgroundColor=l<=h.sectionRowIndex&&n<=c.cellIndex?"blue":"white";
- mxEvent.consume(a)}})};
- Menus.prototype.edgeStyleChange=function(a,c,d,b,e,f,h){return a.addItem(c,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph;a.stopEditing(!1);a.getModel().beginUpdate();try{for(var c=a.getSelectionCells(),e=[],f=0;f<c.length;f++){var n=c[f];if(a.getModel().isEdge(n)){if(h){var p=a.getCellGeometry(n);null!=p&&(p=p.clone(),p.points=null,a.getModel().setGeometry(n,p))}for(var q=0;q<d.length;q++)a.setCellStyles(d[q],b[q],[n]);e.push(n)}}this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",
- d,"values",b,"cells",e))}finally{a.getModel().endUpdate()}}),f,e)};Menus.prototype.styleChange=function(a,c,d,b,e,f,h){var g=this.createStyleChangeFunction(d,b);return a.addItem(c,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph;null!=h&&a.cellEditor.isContentEditing()?h():g()}),f,e)};
- Menus.prototype.createStyleChangeFunction=function(a,c){return mxUtils.bind(this,function(){var d=this.editorUi.editor.graph;d.stopEditing(!1);d.getModel().beginUpdate();try{for(var b=0;b<a.length;b++)d.setCellStyles(a[b],c[b]);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",a,"values",c,"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}})};
- Menus.prototype.promptChange=function(a,c,d,b,e,f,h,g,k){return a.addItem(c,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph,c=b,f=a.getView().getState(a.getSelectionCell());null!=f&&(c=f.style[e]||c);c=new FilenameDialog(this.editorUi,c,mxResources.get("apply"),mxUtils.bind(this,function(b){if(null!=b&&0<b.length){a.getModel().beginUpdate();try{a.stopEditing(!1),a.setCellStyles(e,b)}finally{a.getModel().endUpdate()}null!=g&&g(b)}}),mxResources.get("enterValue")+(0<d.length?" "+
- d:""));this.editorUi.showDialog(c.container,300,80,!0,!0);c.init()}),f,k,h)};
- Menus.prototype.pickColor=function(a,c,d){var b=this.editorUi.editor.graph;if(null!=c&&b.cellEditor.isContentEditing()){var e=b.cellEditor.saveSelection();a=new ColorDialog(this.editorUi,d||"000000",mxUtils.bind(this,function(a){b.cellEditor.restoreSelection(e);document.execCommand(c,!1,a!=mxConstants.NONE?a:"transparent")}),function(){b.cellEditor.restoreSelection(e)});this.editorUi.showDialog(a.container,220,430,!0,!0);a.init()}else{null==this.colorDialog&&(this.colorDialog=new ColorDialog(this.editorUi));
- this.colorDialog.currentColorKey=a;d=b.getView().getState(b.getSelectionCell());var f="none";null!=d&&(f=d.style[a]||f);"none"==f?(f="ffffff",this.colorDialog.picker.fromString("ffffff"),this.colorDialog.colorInput.value="none"):this.colorDialog.picker.fromString(f);this.editorUi.showDialog(this.colorDialog.container,220,430,!0,!0);this.colorDialog.init()}};
- Menus.prototype.toggleStyle=function(a,c){var d=this.editorUi.editor.graph,b=d.toggleCellStyles(a,c);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[a],"values",[b],"cells",d.getSelectionCells()))};
- Menus.prototype.addMenuItem=function(a,c,d,b,e){var f=this.editorUi.actions.get(c);return null!=f&&(a.showDisabled||f.isEnabled())&&f.visible?(c=a.addItem(f.label,null,function(){f.funct(b)},d,e,f.isEnabled()),f.toggleAction&&f.isSelected()&&a.addCheckmark(c,Editor.checkmarkImage),this.addShortcut(c,f),c):null};
- Menus.prototype.addShortcut=function(a,c){if(null!=c.shortcut){var d=a.firstChild.nextSibling.nextSibling,b=document.createElement("span");b.style.color="gray";mxUtils.write(b,c.shortcut);d.appendChild(b)}};Menus.prototype.addMenuItems=function(a,c,d,b,e){for(var f=0;f<c.length;f++)"-"==c[f]?a.addSeparator(d):this.addMenuItem(a,c[f],d,b,null!=e?e[f]:null)};
- Menus.prototype.createPopupMenu=function(a,c,d){var b=this.editorUi.editor.graph;a.smartSeparators=!0;b.isSelectionEmpty()?this.addMenuItems(a,["undo","redo","-","pasteHere"],null,d):this.addMenuItems(a,"delete - cut copy - duplicate".split(" "),null,d);if(b.isSelectionEmpty())this.addMenuItems(a,["-","selectVertices","selectEdges","-","selectAll"],null,d);else{1==b.getSelectionCount()&&this.addMenuItems(a,["setAsDefaultStyle"],null,d);a.addSeparator();c=b.getSelectionCell();var e=b.view.getState(c);
- if(null!=e){var f=!1;this.addMenuItems(a,["toFront","toBack","-"],null,d);if(b.getModel().isEdge(c)&&"entityRelationEdgeStyle"!=mxUtils.getValue(e.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(e.style,mxConstants.STYLE_SHAPE,null)){var f=b.selectionCellsHandler.getHandler(c),h=!1;if(f instanceof mxEdgeHandler&&null!=f.bends&&2<f.bends.length){var h=f.getHandleForEvent(b.updateMouseEvent(new mxMouseEvent(d))),g=this.editorUi.actions.get("removeWaypoint");g.handler=f;g.index=h;h=0<h&&
- h<f.bends.length-1}this.addMenuItems(a,["-",h?"removeWaypoint":"addWaypoint"],null,d);f=b.getModel().getGeometry(c);f=null!=f&&null!=f.points&&0<f.points.length}1==b.getSelectionCount()&&(f||b.getModel().isVertex(c)&&0<b.getModel().getEdgeCount(c))&&this.addMenuItems(a,["clearWaypoints"],null,d);1<b.getSelectionCount()?(a.addSeparator(),this.addMenuItems(a,["group"],null,d)):1==b.getSelectionCount()&&!b.getModel().isEdge(c)&&!b.isSwimlane(c)&&0<b.getModel().getChildCount(c)&&(a.addSeparator(),this.addMenuItems(a,
- ["ungroup"],null,d));1==b.getSelectionCount()&&(a.addSeparator(),this.addMenuItems(a,["edit","-","editData","editLink"],null,d),b.getModel().isVertex(c)&&null!=mxUtils.getValue(e.style,mxConstants.STYLE_IMAGE,null)&&(a.addSeparator(),this.addMenuItem(a,"image",null,d).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"..."))}}};
- Menus.prototype.createMenubar=function(a){for(var c=new Menubar(this.editorUi,a),d=this.defaultMenuItems,b=0;b<d.length;b++)mxUtils.bind(this,function(a){var e=c.addMenu(mxResources.get(d[b]),mxUtils.bind(this,function(){a.funct.apply(this,arguments)}));this.menuCreated(a,e)})(this.get(d[b]));return c};
- Menus.prototype.menuCreated=function(a,c){null!=c&&a.addListener("stateChanged",function(){(c.enabled=a.enabled)?(c.className="geItem",8==document.documentMode&&(c.style.color="")):(c.className="geItem mxDisabled",8==document.documentMode&&(c.style.color="#c3c3c3"))})};function Menubar(a,c){this.editorUi=a;this.container=c}Menubar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};
- Menubar.prototype.addMenu=function(a,c){var d=document.createElement("a");d.setAttribute("href","javascript:void(0);");d.className="geItem";mxUtils.write(d,a);this.addMenuHandler(d,c);this.container.appendChild(d);return d};
- Menubar.prototype.addMenuHandler=function(a,c){if(null!=c){var d=!0,b=mxUtils.bind(this,function(b){if(d&&null==a.enabled||a.enabled){this.editorUi.editor.graph.popupMenuHandler.hideMenu();var e=new mxPopupMenu(c);e.div.className+=" geMenubarMenu";e.smartSeparators=!0;e.showDisabled=!0;e.autoExpand=!0;e.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(e,arguments);this.editorUi.resetCurrentMenu();e.destroy()});var h=mxUtils.getOffset(a);e.popup(h.x,h.y+a.offsetHeight,null,
- b);this.editorUi.setCurrentMenu(e,a)}mxEvent.consume(b)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(c){null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&(this.editorUi.hideCurrentMenu(),b(c))}));mxEvent.addListener(a,"mousedown",mxUtils.bind(this,function(){d=this.currentElt!=a}));mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){b(a);d=!0}))}};Menubar.prototype.destroy=function(){};
- function Menu(a,c){mxEventSource.call(this);this.funct=a;this.enabled=null!=c?c:!0}mxUtils.extend(Menu,mxEventSource);Menu.prototype.isEnabled=function(){return this.enabled};Menu.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};Menu.prototype.execute=function(a,c){this.funct(a,c)};EditorUi.prototype.createMenus=function(){return new Menus(this)};Format=function(a,c){this.editorUi=a;this.container=c};Format.prototype.labelIndex=0;Format.prototype.currentIndex=0;
- Format.prototype.init=function(){var a=this.editorUi.editor.graph;this.update=mxUtils.bind(this,function(a,d){this.clearSelectionState();this.refresh()});a.getSelectionModel().addListener(mxEvent.CHANGE,this.update);a.addListener(mxEvent.EDITING_STARTED,this.update);a.addListener(mxEvent.EDITING_STOPPED,this.update);a.getModel().addListener(mxEvent.CHANGE,this.update);a.addListener(mxEvent.ROOT,mxUtils.bind(this,function(){this.refresh()}));this.refresh()};
- Format.prototype.clearSelectionState=function(){this.selectionState=null};Format.prototype.getSelectionState=function(){null==this.selectionState&&(this.selectionState=this.createSelectionState());return this.selectionState};Format.prototype.createSelectionState=function(){for(var a=this.editorUi.editor.graph.getSelectionCells(),c=this.initSelectionState(),d=0;d<a.length;d++)this.updateSelectionStateForCell(c,a[d],a);return c};
- Format.prototype.initSelectionState=function(){return{vertices:[],edges:[],x:null,y:null,width:null,height:null,style:{},containsImage:!1,containsLabel:!1,fill:!0,glass:!0,rounded:!0,comic:!0,autoSize:!1,image:!0,shadow:!0}};
- Format.prototype.updateSelectionStateForCell=function(a,c,d){d=this.editorUi.editor.graph;if(d.getModel().isVertex(c)){a.vertices.push(c);var b=d.getCellGeometry(c);if(null!=b&&(0<b.width?null==a.width?a.width=b.width:a.width!=b.width&&(a.width=""):a.containsLabel=!0,0<b.height?null==a.height?a.height=b.height:a.height!=b.height&&(a.height=""):a.containsLabel=!0,!b.relative||null!=b.offset)){var e=b.relative?b.offset.x:b.x,b=b.relative?b.offset.y:b.y;null==a.x?a.x=e:a.x!=e&&(a.x="");null==a.y?a.y=
- b:a.y!=b&&(a.y="")}}else d.getModel().isEdge(c)&&a.edges.push(c);c=d.view.getState(c);if(null!=c){a.autoSize=a.autoSize||this.isAutoSizeState(c);a.glass=a.glass&&this.isGlassState(c);a.rounded=a.rounded&&this.isRoundedState(c);a.comic=a.comic&&this.isComicState(c);a.image=a.image&&this.isImageState(c);a.shadow=a.shadow&&this.isShadowState(c);a.fill=a.fill&&this.isFillState(c);d=mxUtils.getValue(c.style,mxConstants.STYLE_SHAPE,null);a.containsImage=a.containsImage||"image"==d;for(var f in c.style)d=
- c.style[f],null!=d&&(null==a.style[f]?a.style[f]=d:a.style[f]!=d&&(a.style[f]=""))}};Format.prototype.isFillState=function(a){return a.view.graph.model.isVertex(a.cell)||"arrow"==mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null)||"filledEdge"==mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null)||"flexArrow"==mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null)};
- Format.prototype.isGlassState=function(a){a=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);return"label"==a||"rectangle"==a||"internalStorage"==a||"ext"==a||"umlLifeline"==a||"swimlane"==a||"process"==a};
- Format.prototype.isRoundedState=function(a){a=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);return"label"==a||"rectangle"==a||"internalStorage"==a||"corner"==a||"parallelogram"==a||"swimlane"==a||"triangle"==a||"trapezoid"==a||"ext"==a||"step"==a||"tee"==a||"process"==a||"link"==a||"rhombus"==a||"offPageConnector"==a||"loopLimit"==a||"hexagon"==a||"manualInput"==a||"curlyBracket"==a||"singleArrow"==a||"callout"==a||"doubleArrow"==a||"flexArrow"==a||"card"==a||"umlLifeline"==a};
- Format.prototype.isComicState=function(a){a=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);return 0<=mxUtils.indexOf("label rectangle internalStorage corner parallelogram note collate swimlane triangle trapezoid ext step tee process link rhombus offPageConnector loopLimit hexagon manualInput singleArrow doubleArrow flexArrow filledEdge card umlLifeline connector folder component sortShape cross umlFrame cube isoCube isoRectangle partialRectangle".split(" "),a)};
- Format.prototype.isAutoSizeState=function(a){return"1"==mxUtils.getValue(a.style,mxConstants.STYLE_AUTOSIZE,null)};Format.prototype.isImageState=function(a){a=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);return"label"==a||"image"==a};Format.prototype.isShadowState=function(a){return"image"!=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null)};
- Format.prototype.clear=function(){this.container.innerHTML="";if(null!=this.panels)for(var a=0;a<this.panels.length;a++)this.panels[a].destroy();this.panels=[]};
- Format.prototype.refresh=function(){if("0px"!=this.container.style.width){this.clear();var a=this.editorUi,c=a.editor.graph,d=document.createElement("div");d.style.whiteSpace="nowrap";d.style.color="rgb(112, 112, 112)";d.style.textAlign="left";d.style.cursor="default";var b=document.createElement("div");b.style.border="1px solid #c0c0c0";b.style.borderWidth="0px 0px 1px 0px";b.style.textAlign="center";b.style.fontWeight="bold";b.style.overflow="hidden";b.style.display=mxClient.IS_QUIRKS?"inline":
- "inline-block";b.style.paddingTop="8px";b.style.height=mxClient.IS_QUIRKS?"34px":"25px";b.style.width="100%";this.container.appendChild(d);if(c.isSelectionEmpty())mxUtils.write(b,mxResources.get("diagram")),c=document.createElement("img"),c.setAttribute("border","0"),c.setAttribute("src",Dialog.prototype.closeImage),c.setAttribute("title",mxResources.get("hide")),c.style.position="absolute",c.style.display="block",c.style.right="0px",c.style.top="8px",c.style.cursor="pointer",c.style.marginTop="1px",
- c.style.marginRight="17px",c.style.border="1px solid transparent",c.style.padding="1px",c.style.opacity=.5,b.appendChild(c),mxEvent.addListener(c,"click",function(){a.actions.get("formatPanel").funct()}),d.appendChild(b),this.panels.push(new DiagramFormatPanel(this,a,d));else if(c.isEditing())mxUtils.write(b,mxResources.get("text")),d.appendChild(b),this.panels.push(new TextFormatPanel(this,a,d));else{var e=this.getSelectionState().containsLabel,f=null,h=null,c=mxUtils.bind(this,function(a,b,c){var d=
- mxUtils.bind(this,function(d){f!=a&&(e?this.labelIndex=c:this.currentIndex=c,null!=f&&(f.style.backgroundColor="#d7d7d7",f.style.borderBottomWidth="1px"),f=a,f.style.backgroundColor="",f.style.borderBottomWidth="0px",h!=b&&(null!=h&&(h.style.display="none"),h=b,h.style.display=""))});mxEvent.addListener(a,"click",d);c==(e?this.labelIndex:this.currentIndex)&&d()}),g=0;b.style.backgroundColor="#d7d7d7";b.style.borderLeftWidth="1px";b.style.width=e?"50%":"33.3%";b.style.width=e?"50%":"33.3%";var k=b.cloneNode(!1),
- l=k.cloneNode(!1);k.style.backgroundColor="#d7d7d7";l.style.backgroundColor="#d7d7d7";if(e)k.style.borderLeftWidth="0px";else{b.style.borderLeftWidth="0px";mxUtils.write(b,mxResources.get("style"));d.appendChild(b);var m=d.cloneNode(!1);m.style.display="none";this.panels.push(new StyleFormatPanel(this,a,m));this.container.appendChild(m);c(b,m,g++)}mxUtils.write(k,mxResources.get("text"));d.appendChild(k);b=d.cloneNode(!1);b.style.display="none";this.panels.push(new TextFormatPanel(this,a,b));this.container.appendChild(b);
- mxUtils.write(l,mxResources.get("arrange"));d.appendChild(l);d=d.cloneNode(!1);d.style.display="none";this.panels.push(new ArrangePanel(this,a,d));this.container.appendChild(d);c(k,b,g++);c(l,d,g++)}}};BaseFormatPanel=function(a,c,d){this.format=a;this.editorUi=c;this.container=d;this.listeners=[]};
- BaseFormatPanel.prototype.getSelectionState=function(){for(var a=this.editorUi.editor.graph,c=a.getSelectionCells(),d=null,b=0;b<c.length;b++){var e=a.view.getState(c[b]);if(null!=e&&(e=mxUtils.getValue(e.style,mxConstants.STYLE_SHAPE,null),null!=e))if(null==d)d=e;else if(d!=e)return null}return d};
- BaseFormatPanel.prototype.installInputHandler=function(a,c,d,b,e,f,h,g){f=null!=f?f:"";g=null!=g?g:!1;var k=this.editorUi,l=k.editor.graph;b=null!=b?b:1;e=null!=e?e:999;var m=null,n=!1,p=mxUtils.bind(this,function(p){var q=g?parseFloat(a.value):parseInt(a.value);isNaN(q)||c!=mxConstants.STYLE_ROTATION||(q=mxUtils.mod(Math.round(100*q),36E3)/100);q=Math.min(e,Math.max(b,isNaN(q)?d:q));if(l.cellEditor.isContentEditing()&&h)n||(n=!0,null!=m&&(l.cellEditor.restoreSelection(m),m=null),h(q),a.value=q+f,
- n=!1);else if(q!=mxUtils.getValue(this.format.getSelectionState().style,c,d)){l.isEditing()&&l.stopEditing(!0);l.getModel().beginUpdate();try{if(l.setCellStyles(c,q,l.getSelectionCells()),c==mxConstants.STYLE_FONTSIZE)for(var t=l.getSelectionCells(),u=0;u<t.length;u++){var v=t[u];if(l.isHtmlLabel(v)){var x=document.createElement("div");x.innerHTML=l.convertValueToString(v);for(var z=x.getElementsByTagName("font"),A=0;A<z.length;A++)z[A].removeAttribute("size"),z[A].style.fontSize=q+"px";l.cellLabelChanged(v,
- x.innerHTML)}}}finally{l.getModel().endUpdate()}k.fireEvent(new mxEventObject("styleChanged","keys",[c],"values",[q],"cells",l.getSelectionCells()))}a.value=q+f;mxEvent.consume(p)});h&&l.cellEditor.isContentEditing()&&(mxEvent.addListener(a,"mousedown",function(){m=l.cellEditor.saveSelection()}),mxEvent.addListener(a,"touchstart",function(){m=l.cellEditor.saveSelection()}));mxEvent.addListener(a,"change",p);mxEvent.addListener(a,"blur",p);return p};
- BaseFormatPanel.prototype.createPanel=function(){var a=document.createElement("div");a.style.padding="12px 0px 12px 18px";a.style.borderBottom="1px solid #c0c0c0";return a};BaseFormatPanel.prototype.createTitle=function(a){var c=document.createElement("div");c.style.padding="0px 0px 6px 0px";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.width="200px";c.style.fontWeight="bold";mxUtils.write(c,a);return c};
- BaseFormatPanel.prototype.createStepper=function(a,c,d,b,e,f){d=null!=d?d:1;b=null!=b?b:8;if(mxClient.IS_QUIRKS)b-=2;else if(mxClient.IS_MT||8<=document.documentMode)b+=1;var h=document.createElement("div");mxUtils.setPrefixedStyle(h.style,"borderRadius","3px");h.style.border="1px solid rgb(192, 192, 192)";h.style.position="absolute";var g=document.createElement("div");g.style.borderBottom="1px solid rgb(192, 192, 192)";g.style.position="relative";g.style.height=b+"px";g.style.width="10px";g.className=
- "geBtnUp";h.appendChild(g);var k=g.cloneNode(!1);k.style.border="none";k.style.height=b+"px";k.className="geBtnDown";h.appendChild(k);mxEvent.addListener(k,"click",function(b){""==a.value&&(a.value=f||"2");var e=parseInt(a.value);isNaN(e)||(a.value=e-d,null!=c&&c(b));mxEvent.consume(b)});mxEvent.addListener(g,"click",function(b){""==a.value&&(a.value=f||"0");var e=parseInt(a.value);isNaN(e)||(a.value=e+d,null!=c&&c(b));mxEvent.consume(b)});if(e){var l=null;mxEvent.addGestureListeners(h,function(a){if(mxClient.IS_QUIRKS||
- 8==document.documentMode)l=document.selection.createRange();mxEvent.consume(a)},null,function(a){if(null!=l){try{l.select()}catch(n){}l=null;mxEvent.consume(a)}})}return h};
- BaseFormatPanel.prototype.createOption=function(a,c,d,b){var e=document.createElement("div");e.style.padding="6px 0px 1px 0px";e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.width="200px";e.style.height=mxClient.IS_QUIRKS?"27px":"18px";var f=document.createElement("input");f.setAttribute("type","checkbox");f.style.margin="0px 6px 0px 0px";e.appendChild(f);var h=document.createElement("span");mxUtils.write(h,a);e.appendChild(h);var g=!1,k=c(),l=function(a){g||(g=!0,a?(f.setAttribute("checked",
- "checked"),f.defaultChecked=!0,f.checked=!0):(f.removeAttribute("checked"),f.defaultChecked=!1,f.checked=!1),k!=a&&(k=a,c()!=k&&d(k)),g=!1)};mxEvent.addListener(e,"click",function(a){a=mxEvent.getSource(a);if(a==e||a==h)f.checked=!f.checked;l(f.checked)});l(k);null!=b&&(b.install(l),this.listeners.push(b));return e};
- BaseFormatPanel.prototype.createCellOption=function(a,c,d,b,e,f,h,g){b=null!=b?"null"==b?null:b:"1";e=null!=e?"null"==e?null:e:"0";var k=this.editorUi,l=k.editor.graph;return this.createOption(a,function(){var a=l.view.getState(l.getSelectionCell());return null!=a?mxUtils.getValue(a.style,c,d)!=e:null},function(a){g&&l.stopEditing();if(null!=h)h.funct();else{l.getModel().beginUpdate();try{a=a?b:e,l.setCellStyles(c,a,l.getSelectionCells()),null!=f&&f(l.getSelectionCells(),a),k.fireEvent(new mxEventObject("styleChanged",
- "keys",[c],"values",[a],"cells",l.getSelectionCells()))}finally{l.getModel().endUpdate()}}},{install:function(a){this.listener=function(){var b=l.view.getState(l.getSelectionCell());null!=b&&a(mxUtils.getValue(b.style,c,d)!=e)};l.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){l.getModel().removeListener(this.listener)}})};
- BaseFormatPanel.prototype.createColorOption=function(a,c,d,b,e,f,h){var g=document.createElement("div");g.style.padding="6px 0px 1px 0px";g.style.whiteSpace="nowrap";g.style.overflow="hidden";g.style.width="200px";g.style.height=mxClient.IS_QUIRKS?"27px":"18px";var k=document.createElement("input");k.setAttribute("type","checkbox");k.style.margin="0px 6px 0px 0px";h||g.appendChild(k);var l=document.createElement("span");mxUtils.write(l,a);g.appendChild(l);var m=!1,n=c(),p=null,q=function(a,e){if(!m){m=
- !0;p.innerHTML='<div style="width:'+(mxClient.IS_QUIRKS?"30":"36")+"px;height:12px;margin:3px;border:1px solid black;background-color:"+(null!=a&&a!=mxConstants.NONE?a:b)+';"></div>';if(mxClient.IS_MT||mxClient.IS_QUIRKS||8==document.documentMode)p.firstChild.style.margin="0px";null!=a&&a!=mxConstants.NONE?(k.setAttribute("checked","checked"),k.defaultChecked=!0,k.checked=!0):(k.removeAttribute("checked"),k.defaultChecked=!1,k.checked=!1);p.style.display=k.checked||h?"":"none";null!=f&&f(a);e||!h&&
- n==a||(n=a,(h||c()!=n)&&d(n));m=!1}},p=mxUtils.button("",mxUtils.bind(this,function(a){this.editorUi.pickColor(n,q);mxEvent.consume(a)}));p.style.position="absolute";p.style.marginTop="-4px";p.style.right=mxClient.IS_QUIRKS?"0px":"20px";p.style.height="22px";p.className="geColorBtn";p.style.display=k.checked||h?"":"none";g.appendChild(p);mxEvent.addListener(g,"click",function(a){a=mxEvent.getSource(a);if(a==k||"INPUT"!=a.nodeName)a!=k&&(k.checked=!k.checked),k.checked||null==n||n==mxConstants.NONE||
- b==mxConstants.NONE||(b=n),q(k.checked?b:mxConstants.NONE)});q(n,!0);null!=e&&(e.install(q),this.listeners.push(e));return g};
- BaseFormatPanel.prototype.createCellColorOption=function(a,c,d,b,e){var f=this.editorUi,h=f.editor.graph;return this.createColorOption(a,function(){var a=h.view.getState(h.getSelectionCell());return null!=a?mxUtils.getValue(a.style,c,null):null},function(a){h.getModel().beginUpdate();try{null!=e&&e(a),h.setCellStyles(c,a,h.getSelectionCells()),f.fireEvent(new mxEventObject("styleChanged","keys",[c],"values",[a],"cells",h.getSelectionCells()))}finally{h.getModel().endUpdate()}},d||mxConstants.NONE,
- {install:function(a){this.listener=function(){var b=h.view.getState(h.getSelectionCell());null!=b&&a(mxUtils.getValue(b.style,c,null))};h.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){h.getModel().removeListener(this.listener)}},b)};
- BaseFormatPanel.prototype.addArrow=function(a,c){c=null!=c?c:10;var d=document.createElement("div");d.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";d.style.padding="6px";d.style.paddingRight="4px";var b=10-c;2==b?d.style.paddingTop="6px":0<b?d.style.paddingTop=6-b+"px":d.style.marginTop="-2px";d.style.height=c+"px";d.style.borderLeft="1px solid #a0a0a0";d.innerHTML='<img border="0" src="'+(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUeNpidHB2ZyAGsACxDRBPIKCuA6TwCBB/h2rABu4A8SYmKCcXiP/iUFgAxL9gCi8A8SwsirZCMQMTkmANEH9E4v+CmsaArvAdyNFI/FlQ92EoBIE+qCRIUz168DBgsU4OqhinQpgHMABAgAEALY4XLIsJ20oAAAAASUVORK5CYII=":
- IMAGE_PATH+"/dropdown.png")+'" style="margin-bottom:4px;">';mxUtils.setOpacity(d,70);b=a.getElementsByTagName("div")[0];null!=b&&(b.style.paddingRight="6px",b.style.marginLeft="4px",b.style.marginTop="-1px",b.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",mxUtils.setOpacity(b,60));mxUtils.setOpacity(a,100);a.style.border="1px solid #a0a0a0";a.style.backgroundColor="white";a.style.backgroundImage="none";a.style.width="auto";a.className+=" geColorBtn";mxUtils.setPrefixedStyle(a.style,"borderRadius",
- "3px");a.appendChild(d);return b};BaseFormatPanel.prototype.addUnitInput=function(a,c,d,b,e,f,h,g){h=null!=h?h:0;c=document.createElement("input");c.style.position="absolute";c.style.textAlign="right";c.style.marginTop="-2px";c.style.right=d+12+"px";c.style.width=b+"px";a.appendChild(c);b=this.createStepper(c,e,f,null,g);b.style.marginTop=h-2+"px";b.style.right=d+"px";a.appendChild(b);return c};
- BaseFormatPanel.prototype.createRelativeOption=function(a,c,d,b,e){function f(a){if(null!=b)b(k);else{var d=parseInt(k.value),d=Math.min(100,Math.max(0,isNaN(d)?100:d)),e=h.view.getState(h.getSelectionCell());null!=e&&d!=mxUtils.getValue(e.style,c,100)&&(100==d&&(d=null),h.setCellStyles(c,d,h.getSelectionCells()));k.value=(null!=d?d:"100")+" %"}mxEvent.consume(a)}d=null!=d?d:44;var h=this.editorUi.editor.graph,g=this.createPanel();g.style.paddingTop="10px";g.style.paddingBottom="10px";mxUtils.write(g,
- a);g.style.fontWeight="bold";var k=this.addUnitInput(g,"%",20,d,f,10,-15,null!=b);if(null!=c){var l=mxUtils.bind(this,function(a,b,d){if(d||k!=document.activeElement)a=this.format.getSelectionState(),a=parseInt(mxUtils.getValue(a.style,c,100)),k.value=isNaN(a)?"":a+" %"});mxEvent.addListener(k,"keydown",function(a){13==a.keyCode?(h.container.focus(),mxEvent.consume(a)):27==a.keyCode&&(l(null,null,!0),h.container.focus(),mxEvent.consume(a))});h.getModel().addListener(mxEvent.CHANGE,l);this.listeners.push({destroy:function(){h.getModel().removeListener(l)}});
- l()}mxEvent.addListener(k,"blur",f);mxEvent.addListener(k,"change",f);null!=e&&e(k);return g};BaseFormatPanel.prototype.addLabel=function(a,c,d,b){b=null!=b?b:61;var e=document.createElement("div");mxUtils.write(e,c);e.style.position="absolute";e.style.right=d+"px";e.style.width=b+"px";e.style.marginTop="6px";e.style.textAlign="center";a.appendChild(e)};
- BaseFormatPanel.prototype.addKeyHandler=function(a,c){mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(a){13==a.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(a)):27==a.keyCode&&(null!=c&&c(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(a))}))};
- BaseFormatPanel.prototype.styleButtons=function(a){for(var c=0;c<a.length;c++)mxUtils.setPrefixedStyle(a[c].style,"borderRadius","3px"),mxUtils.setOpacity(a[c],100),a[c].style.border="1px solid #a0a0a0",a[c].style.padding="4px",a[c].style.paddingTop="3px",a[c].style.paddingRight="1px",a[c].style.margin="1px",a[c].style.width="24px",a[c].style.height="20px",a[c].className+=" geColorBtn"};
- BaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var a=0;a<this.listeners.length;a++)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);
- ArrangePanel.prototype.init=function(){var a=this.format.getSelectionState();this.container.appendChild(this.addLayerOps(this.createPanel()));this.addGeometry(this.container);this.addEdgeGeometry(this.container);a.containsLabel&&0!=a.edges.length||this.container.appendChild(this.addAngle(this.createPanel()));a.containsLabel||0!=a.edges.length||this.container.appendChild(this.addFlip(this.createPanel()));1<a.vertices.length&&(this.container.appendChild(this.addAlign(this.createPanel())),this.container.appendChild(this.addDistribute(this.createPanel())));
- this.container.appendChild(this.addGroupOps(this.createPanel()))};
- ArrangePanel.prototype.addLayerOps=function(a){var c=this.editorUi,d=mxUtils.button(mxResources.get("toFront"),function(a){c.actions.get("toFront").funct()});d.setAttribute("title",mxResources.get("toFront")+" ("+this.editorUi.actions.get("toFront").shortcut+")");d.style.width="100px";d.style.marginRight="2px";a.appendChild(d);d=mxUtils.button(mxResources.get("toBack"),function(a){c.actions.get("toBack").funct()});d.setAttribute("title",mxResources.get("toBack")+" ("+this.editorUi.actions.get("toBack").shortcut+
- ")");d.style.width="100px";a.appendChild(d);return a};
- ArrangePanel.prototype.addGroupOps=function(a){var c=this.editorUi,d=c.editor.graph,b=d.getSelectionCell();this.format.getSelectionState();var e=0;a.style.paddingTop="8px";a.style.paddingBottom="6px";1<d.getSelectionCount()?(btn=mxUtils.button(mxResources.get("group"),function(a){c.actions.get("group").funct()}),btn.setAttribute("title",mxResources.get("group")+" ("+this.editorUi.actions.get("group").shortcut+")"),btn.style.width="202px",btn.style.marginBottom="2px",a.appendChild(btn),e++):1==d.getSelectionCount()&&
- !d.getModel().isEdge(b)&&!d.isSwimlane(b)&&0<d.getModel().getChildCount(b)&&(btn=mxUtils.button(mxResources.get("ungroup"),function(a){c.actions.get("ungroup").funct()}),btn.setAttribute("title",mxResources.get("ungroup")+" ("+this.editorUi.actions.get("ungroup").shortcut+")"),btn.style.width="202px",btn.style.marginBottom="2px",a.appendChild(btn),e++);1==d.getSelectionCount()&&d.getModel().isVertex(b)&&d.getModel().isVertex(d.getModel().getParent(b))?(0<e&&mxUtils.br(a),btn=mxUtils.button(mxResources.get("removeFromGroup"),
- function(a){c.actions.get("removeFromGroup").funct()}),btn.setAttribute("title",mxResources.get("removeFromGroup")),btn.style.width="202px",btn.style.marginBottom="2px",a.appendChild(btn),e++):0<d.getSelectionCount()&&(0<e&&mxUtils.br(a),btn=mxUtils.button(mxResources.get("clearWaypoints"),mxUtils.bind(this,function(a){this.editorUi.actions.get("clearWaypoints").funct()})),btn.setAttribute("title",mxResources.get("clearWaypoints")+" ("+this.editorUi.actions.get("clearWaypoints").shortcut+")"),btn.style.width=
- "202px",btn.style.marginBottom="2px",a.appendChild(btn),e++);1==d.getSelectionCount()&&(0<e&&mxUtils.br(a),btn=mxUtils.button(mxResources.get("editData"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editData").funct()})),btn.setAttribute("title",mxResources.get("editData")+" ("+this.editorUi.actions.get("editData").shortcut+")"),btn.style.width="100px",btn.style.marginBottom="2px",a.appendChild(btn),e++,btn=mxUtils.button(mxResources.get("editLink"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editLink").funct()})),
- btn.setAttribute("title",mxResources.get("editLink")),btn.style.width="100px",btn.style.marginLeft="2px",btn.style.marginBottom="2px",a.appendChild(btn),e++);0==e&&(a.style.display="none");return a};
- ArrangePanel.prototype.addAlign=function(a){var c=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="12px";a.appendChild(this.createTitle(mxResources.get("align")));var d=document.createElement("div");d.style.position="relative";d.style.paddingLeft="0px";d.style.borderWidth="0px";d.className="geToolbarContainer";mxClient.IS_QUIRKS&&(a.style.height="60px");var b=this.editorUi.toolbar.addButton("geSprite-alignleft",mxResources.get("left"),function(){c.alignCells(mxConstants.ALIGN_LEFT)},
- d),e=this.editorUi.toolbar.addButton("geSprite-aligncenter",mxResources.get("center"),function(){c.alignCells(mxConstants.ALIGN_CENTER)},d),f=this.editorUi.toolbar.addButton("geSprite-alignright",mxResources.get("right"),function(){c.alignCells(mxConstants.ALIGN_RIGHT)},d),h=this.editorUi.toolbar.addButton("geSprite-aligntop",mxResources.get("top"),function(){c.alignCells(mxConstants.ALIGN_TOP)},d),g=this.editorUi.toolbar.addButton("geSprite-alignmiddle",mxResources.get("middle"),function(){c.alignCells(mxConstants.ALIGN_MIDDLE)},
- d),k=this.editorUi.toolbar.addButton("geSprite-alignbottom",mxResources.get("bottom"),function(){c.alignCells(mxConstants.ALIGN_BOTTOM)},d);this.styleButtons([b,e,f,h,g,k]);f.style.marginRight="6px";a.appendChild(d);return a};
- ArrangePanel.prototype.addFlip=function(a){var c=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="10px";var d=document.createElement("div");d.style.marginTop="2px";d.style.marginBottom="8px";d.style.fontWeight="bold";mxUtils.write(d,mxResources.get("flip"));a.appendChild(d);d=mxUtils.button(mxResources.get("horizontal"),function(a){c.toggleCellStyles(mxConstants.STYLE_FLIPH,!1)});d.setAttribute("title",mxResources.get("horizontal"));d.style.width="100px";d.style.marginRight=
- "2px";a.appendChild(d);d=mxUtils.button(mxResources.get("vertical"),function(a){c.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)});d.setAttribute("title",mxResources.get("vertical"));d.style.width="100px";a.appendChild(d);return a};
- ArrangePanel.prototype.addDistribute=function(a){var c=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="12px";a.appendChild(this.createTitle(mxResources.get("distribute")));var d=mxUtils.button(mxResources.get("horizontal"),function(a){c.distributeCells(!0)});d.setAttribute("title",mxResources.get("horizontal"));d.style.width="100px";d.style.marginRight="2px";a.appendChild(d);d=mxUtils.button(mxResources.get("vertical"),function(a){c.distributeCells(!1)});d.setAttribute("title",
- mxResources.get("vertical"));d.style.width="100px";a.appendChild(d);return a};
- ArrangePanel.prototype.addAngle=function(a){var c=this.editorUi,d=c.editor.graph,b=this.format.getSelectionState();a.style.paddingBottom="8px";var e=document.createElement("div");e.style.position="absolute";e.style.width="70px";e.style.marginTop="0px";e.style.fontWeight="bold";var f=null,h=null,g=null;0==b.edges.length?(mxUtils.write(e,mxResources.get("angle")),a.appendChild(e),f=this.addUnitInput(a,"°",20,44,function(){h.apply(this,arguments)}),mxUtils.br(a),a.style.paddingTop="10px"):a.style.paddingTop=
- "8px";b.containsLabel||(e=mxResources.get("reverse"),0<b.vertices.length&&0<b.edges.length?e=mxResources.get("turn")+" / "+e:0<b.vertices.length&&(e=mxResources.get("turn")),g=mxUtils.button(e,function(a){c.actions.get("turn").funct()}),g.setAttribute("title",e+" ("+this.editorUi.actions.get("turn").shortcut+")"),g.style.width="202px",a.appendChild(g),null!=f&&(g.style.marginTop="8px"));if(null!=f){var k=mxUtils.bind(this,function(a,c,d){if(d||document.activeElement!=f)b=this.format.getSelectionState(),
- a=parseFloat(mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION,0)),f.value=isNaN(a)?"":a+"°"}),h=this.installInputHandler(f,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(f,k);d.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){d.getModel().removeListener(k)}});k()}return a};
- ArrangePanel.prototype.addGeometry=function(a){var c=this.editorUi,d=c.editor.graph,b=this.format.getSelectionState(),e=this.createPanel();e.style.paddingBottom="8px";var f=document.createElement("div");f.style.position="absolute";f.style.width="50px";f.style.marginTop="0px";f.style.fontWeight="bold";mxUtils.write(f,mxResources.get("size"));e.appendChild(f);var h,g,k,l,m=this.addUnitInput(e,"pt",84,44,function(){h.apply(this,arguments)}),n=this.addUnitInput(e,"pt",20,44,function(){g.apply(this,arguments)}),
- p=document.createElement("div");p.className="geSprite geSprite-fit";p.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.get("autosize").shortcut+")");p.style.position="relative";p.style.cursor="pointer";p.style.marginTop="-3px";p.style.border="0px";p.style.left="52px";mxUtils.setOpacity(p,50);mxEvent.addListener(p,"mouseenter",function(){mxUtils.setOpacity(p,100)});mxEvent.addListener(p,"mouseleave",function(){mxUtils.setOpacity(p,50)});mxEvent.addListener(p,"click",function(){c.actions.get("autosize").funct()});
- e.appendChild(p);this.addLabel(e,mxResources.get("width"),84);this.addLabel(e,mxResources.get("height"),20);mxUtils.br(e);f=document.createElement("div");f.style.paddingTop="8px";f.style.paddingRight="20px";f.style.whiteSpace="nowrap";f.style.textAlign="right";var q=this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");q.style.width="100%";f.appendChild(q);e.appendChild(f);this.addKeyHandler(m,v);this.addKeyHandler(n,v);h=this.addGeometryHandler(m,
- function(a,b){0<a.width&&(a.width=Math.max(1,b))});g=this.addGeometryHandler(n,function(a,b){0<a.height&&(a.height=Math.max(1,b))});a.appendChild(e);var r=this.createPanel();r.style.paddingBottom="30px";f=document.createElement("div");f.style.position="absolute";f.style.width="70px";f.style.marginTop="0px";f.style.fontWeight="bold";mxUtils.write(f,mxResources.get("position"));r.appendChild(f);var t=this.addUnitInput(r,"pt",84,44,function(){k.apply(this,arguments)}),u=this.addUnitInput(r,"pt",20,44,
- function(){l.apply(this,arguments)});mxUtils.br(r);this.addLabel(r,mxResources.get("left"),84);this.addLabel(r,mxResources.get("top"),20);var v=mxUtils.bind(this,function(a,c,f){b=this.format.getSelectionState();if(b.containsLabel||b.vertices.length!=d.getSelectionCount()||null==b.width||null==b.height)e.style.display="none";else{e.style.display="";if(f||document.activeElement!=m)m.value=b.width+(""==b.width?"":" pt");if(f||document.activeElement!=n)n.value=b.height+(""==b.height?"":" pt")}if(b.vertices.length==
- d.getSelectionCount()&&null!=b.x&&null!=b.y){r.style.display="";if(f||document.activeElement!=t)t.value=b.x+(""==b.x?"":" pt");if(f||document.activeElement!=u)u.value=b.y+(""==b.y?"":" pt")}else r.style.display="none"});this.addKeyHandler(t,v);this.addKeyHandler(u,v);d.getModel().addListener(mxEvent.CHANGE,v);this.listeners.push({destroy:function(){d.getModel().removeListener(v)}});v();k=this.addGeometryHandler(t,function(a,b){a.relative?a.offset.x=b:a.x=b});l=this.addGeometryHandler(u,function(a,
- b){a.relative?a.offset.y=b:a.y=b});a.appendChild(r)};
- ArrangePanel.prototype.addGeometryHandler=function(a,c){function d(d){if(""!=a.value){var f=parseFloat(a.value);if(f!=e){b.getModel().beginUpdate();try{for(var g=b.getSelectionCells(),k=0;k<g.length;k++)if(b.getModel().isVertex(g[k])){var l=b.getCellGeometry(g[k]);null!=l&&(l=l.clone(),c(l,f),b.getModel().setGeometry(g[k],l))}}finally{b.getModel().endUpdate()}e=f;a.value=f+" pt"}else isNaN(f)&&(a.value=e+" pt")}mxEvent.consume(d)}var b=this.editorUi.editor.graph,e=null;mxEvent.addListener(a,"blur",
- d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){e=a.value});return d};
- ArrangePanel.prototype.addEdgeGeometry=function(a){function c(a){var c=parseInt(g.value),c=Math.min(999,Math.max(1,isNaN(c)?1:c));c!=mxUtils.getValue(e.style,"width",mxCellRenderer.prototype.defaultShapes.flexArrow.prototype.defaultWidth)&&(b.setCellStyles("width",c,b.getSelectionCells()),d.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[c],"cells",b.getSelectionCells())));g.value=c+" pt";mxEvent.consume(a)}var d=this.editorUi,b=d.editor.graph,e=this.format.getSelectionState(),
- f=this.createPanel(),h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("width"));f.appendChild(h);var g=this.addUnitInput(f,"pt",20,44,function(){c.apply(this,arguments)});mxUtils.br(f);this.addKeyHandler(g,k);mxEvent.addListener(g,"blur",c);mxEvent.addListener(g,"change",c);a.appendChild(f);var k=mxUtils.bind(this,function(a,b,c){e=this.format.getSelectionState();if("link"==e.style.shape||
- "flexArrow"==e.style.shape){if(f.style.display="",c||document.activeElement!=g)a=mxUtils.getValue(e.style,"width",mxCellRenderer.prototype.defaultShapes.flexArrow.prototype.defaultWidth),g.value=a+" pt"}else f.style.display="none"});b.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){b.getModel().removeListener(k)}});k()};TextFormatPanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);
- TextFormatPanel.prototype.init=function(){this.container.style.borderBottom="none";this.addFont(this.container)};
- TextFormatPanel.prototype.addFont=function(a){function c(a,b){mxClient.IS_IE&&(mxClient.IS_QUIRKS||10>document.documentMode)?a.style.filter=b?"progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#c5ecff', EndColorStr='#87d4fb', GradientType=0)":"":a.style.backgroundImage=b?"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var d=this.editorUi,b=d.editor.graph,e=this.format.getSelectionState(),f=this.createTitle(mxResources.get("font"));f.style.paddingLeft="18px";f.style.paddingTop="10px";f.style.paddingBottom=
- "6px";a.appendChild(f);f=this.createPanel();f.style.paddingTop="2px";f.style.paddingBottom="2px";f.style.position="relative";f.style.marginLeft="-2px";f.style.borderWidth="0px";f.className="geToolbarContainer";mxClient.IS_QUIRKS&&(f.style.display="block");if(b.cellEditor.isContentEditing()){var h=f.cloneNode(),g=this.editorUi.toolbar.addMenu(mxResources.get("style"),mxResources.get("style"),!0,"formatBlock",h);g.style.color="rgb(112, 112, 112)";g.style.whiteSpace="nowrap";g.style.overflow="hidden";
- g.style.margin="0px";this.addArrow(g);g.style.width="192px";g.style.height="15px";g=g.getElementsByTagName("div")[0];g.style.cssFloat="right";a.appendChild(h)}a.appendChild(f);h=this.createPanel();h.style.marginTop="8px";h.style.borderTop="1px solid #c0c0c0";h.style.paddingTop="6px";h.style.paddingBottom="6px";var k=this.editorUi.toolbar.addMenu("Helvetica",mxResources.get("fontFamily"),!0,"fontFamily",f);k.style.color="rgb(112, 112, 112)";k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.margin=
- "0px";this.addArrow(k);k.style.width="192px";k.style.height="15px";mxClient.IS_FF&&(k.getElementsByTagName("div")[0].style.marginTop="-18px");g=f.cloneNode(!1);g.style.marginLeft="-3px";var l=this.editorUi.toolbar.addItems(["bold","italic","underline"],g,!0);l[0].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");l[1].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");l[2].setAttribute("title",mxResources.get("underline")+
- " ("+this.editorUi.actions.get("underline").shortcut+")");var m=this.editorUi.toolbar.addItems(["vertical"],g,!0)[0];mxClient.IS_QUIRKS&&mxUtils.br(a);a.appendChild(g);this.styleButtons(l);this.styleButtons([m]);var n=f.cloneNode(!1);n.style.marginLeft="-3px";n.style.paddingBottom="0px";var p=this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),b.cellEditor.isContentEditing()?function(){document.execCommand("justifyleft",!1,null)}:this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],
- [mxConstants.ALIGN_LEFT]),n),q=this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),b.cellEditor.isContentEditing()?function(){document.execCommand("justifycenter",!1,null)}:this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER]),n),r=this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),b.cellEditor.isContentEditing()?function(){document.execCommand("justifyright",!1,null)}:this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],
- [mxConstants.ALIGN_RIGHT]),n);this.styleButtons([p,q,r]);if(b.cellEditor.isContentEditing()){var t=this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},g);this.styleButtons([t])}var u=this.editorUi.toolbar.addButton("geSprite-top",mxResources.get("top"),this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP]),n),v=this.editorUi.toolbar.addButton("geSprite-middle",
- mxResources.get("middle"),this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE]),n),x=this.editorUi.toolbar.addButton("geSprite-bottom",mxResources.get("bottom"),this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM]),n);this.styleButtons([u,v,x]);mxClient.IS_QUIRKS&&mxUtils.br(a);a.appendChild(n);var z,A,E,F,w,J,K;b.cellEditor.isContentEditing()?(u.style.display="none",v.style.display="none",
- x.style.display="none",m.style.display="none",E=this.editorUi.toolbar.addButton("geSprite-justifyfull",null,function(){document.execCommand("justifyfull",!1,null)},n),this.styleButtons([E,z=this.editorUi.toolbar.addButton("geSprite-subscript",mxResources.get("subscript")+" (Ctrl+,)",function(){document.execCommand("subscript",!1,null)},n),A=this.editorUi.toolbar.addButton("geSprite-superscript",mxResources.get("superscript")+" (Ctrl+.)",function(){document.execCommand("superscript",!1,null)},n)]),
- E.style.marginRight="9px",t=n.cloneNode(!1),t.style.paddingTop="4px",n=[this.editorUi.toolbar.addButton("geSprite-orderedlist",mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},t),this.editorUi.toolbar.addButton("geSprite-unorderedlist",mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},t),this.editorUi.toolbar.addButton("geSprite-outdent",mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",
- !1,null)},t),this.editorUi.toolbar.addButton("geSprite-indent",mxResources.get("increaseIndent"),function(){document.execCommand("indent",!1,null)},t),this.editorUi.toolbar.addButton("geSprite-code",mxResources.get("html"),function(){b.cellEditor.toggleViewMode()},t)],this.styleButtons(n),n[n.length-1].style.marginLeft="9px",mxClient.IS_QUIRKS&&(mxUtils.br(a),t.style.height="40"),a.appendChild(t)):(l[2].style.marginRight="9px",r.style.marginRight="9px");n=f.cloneNode(!1);n.style.marginLeft="0px";
- n.style.paddingTop="8px";n.style.paddingBottom="4px";n.style.fontWeight="normal";mxUtils.write(n,mxResources.get("position"));var I=document.createElement("select");I.style.position="absolute";I.style.right="20px";I.style.width="97px";I.style.marginTop="-2px";for(var G="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" "),B={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP,
- mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM],topRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM],left:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE],center:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE],right:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE],bottomLeft:[mxConstants.ALIGN_LEFT,
- mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]},t=0;t<G.length;t++){var N=document.createElement("option");N.setAttribute("value",G[t]);mxUtils.write(N,mxResources.get(G[t]));I.appendChild(N)}n.appendChild(I);G=f.cloneNode(!1);G.style.marginLeft="0px";G.style.paddingTop=
- "4px";G.style.paddingBottom="4px";G.style.fontWeight="normal";mxUtils.write(G,mxResources.get("writingDirection"));var M=document.createElement("select");M.style.position="absolute";M.style.right="20px";M.style.width="97px";M.style.marginTop="-2px";for(var N=["automatic","leftToRight","rightToLeft"],P={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,rightToLeft:mxConstants.TEXT_DIRECTION_RTL},t=0;t<N.length;t++){var O=document.createElement("option");O.setAttribute("value",N[t]);mxUtils.write(O,
- mxResources.get(N[t]));M.appendChild(O)}G.appendChild(M);b.isEditing()||(a.appendChild(n),mxEvent.addListener(I,"change",function(a){b.getModel().beginUpdate();try{var c=B[I.value];null!=c&&(b.setCellStyles(mxConstants.STYLE_LABEL_POSITION,c[0],b.getSelectionCells()),b.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,c[1],b.getSelectionCells()),b.setCellStyles(mxConstants.STYLE_ALIGN,c[2],b.getSelectionCells()),b.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,c[3],b.getSelectionCells()))}finally{b.getModel().endUpdate()}mxEvent.consume(a)}),
- a.appendChild(G),mxEvent.addListener(M,"change",function(a){b.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,P[M.value],b.getSelectionCells());mxEvent.consume(a)}));var H=document.createElement("input");H.style.textAlign="right";H.style.marginTop="4px";mxClient.IS_QUIRKS||(H.style.position="absolute",H.style.right="32px");H.style.width="46px";H.style.height=mxClient.IS_QUIRKS?"21px":"17px";g.appendChild(H);var D=null,n=this.installInputHandler(H,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,
- 1,999," pt",function(a){D=a;document.execCommand("fontSize",!1,"4");a=b.cellEditor.textarea.getElementsByTagName("font");for(var c=0;c<a.length;c++)if("4"==a[c].getAttribute("size")){a[c].removeAttribute("size");a[c].style.fontSize=D+"px";window.setTimeout(function(){H.value=D+" pt";D=null},0);break}},!0),n=this.createStepper(H,n,1,10,!0,Menus.prototype.defaultFontSize);n.style.display=H.style.display;n.style.marginTop="4px";mxClient.IS_QUIRKS||(n.style.right="20px");g.appendChild(n);g=k.getElementsByTagName("div")[0];
- g.style.cssFloat="right";var C=null,y="#ffffff",S=null,Q="#000000",Z=b.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("backgroundColor"),function(){return y},function(a){document.execCommand("backcolor",!1,a!=mxConstants.NONE?a:"transparent")},"#ffffff",{install:function(a){C=a},destroy:function(){C=null}},null,!0):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"#ffffff");Z.style.fontWeight="bold";var T=this.createCellColorOption(mxResources.get("borderColor"),
- mxConstants.STYLE_LABEL_BORDERCOLOR,"#000000");T.style.fontWeight="bold";g=b.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return Q},function(a){document.execCommand("forecolor",!1,a!=mxConstants.NONE?a:"transparent")},"#000000",{install:function(a){S=a},destroy:function(){S=null}},null,!0):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,"#000000",function(a){Z.style.display=null==a||a==mxConstants.NONE?"none":"";T.style.display=
- Z.style.display},function(a){null==a||a==mxConstants.NONE?b.setCellStyles(mxConstants.STYLE_NOLABEL,"1",b.getSelectionCells()):b.setCellStyles(mxConstants.STYLE_NOLABEL,null,b.getSelectionCells())});g.style.fontWeight="bold";h.appendChild(g);h.appendChild(Z);b.cellEditor.isContentEditing()||h.appendChild(T);a.appendChild(h);h=this.createPanel();h.style.paddingTop="2px";h.style.paddingBottom="4px";g=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",
- null,null,!0);g.style.fontWeight="bold";e.containsLabel||e.autoSize||0!=e.edges.length||h.appendChild(g);g=this.createCellOption(mxResources.get("formattedText"),"html","0",null,null,null,d.actions.get("formattedText"));g.style.fontWeight="bold";h.appendChild(g);g=this.createPanel();g.style.paddingTop="10px";g.style.paddingBottom="28px";g.style.fontWeight="normal";n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";n.style.fontWeight="bold";mxUtils.write(n,
- mxResources.get("spacing"));g.appendChild(n);var U,ha,aa,ia,ja,W=this.addUnitInput(g,"pt",91,44,function(){U.apply(this,arguments)}),X=this.addUnitInput(g,"pt",20,44,function(){ha.apply(this,arguments)});mxUtils.br(g);this.addLabel(g,mxResources.get("top"),91);this.addLabel(g,mxResources.get("global"),20);mxUtils.br(g);mxUtils.br(g);var ba=this.addUnitInput(g,"pt",162,44,function(){aa.apply(this,arguments)}),ca=this.addUnitInput(g,"pt",91,44,function(){ia.apply(this,arguments)}),da=this.addUnitInput(g,
- "pt",20,44,function(){ja.apply(this,arguments)});mxUtils.br(g);this.addLabel(g,mxResources.get("left"),162);this.addLabel(g,mxResources.get("bottom"),91);this.addLabel(g,mxResources.get("right"),20);if(b.cellEditor.isContentEditing()){var ea=null,oa=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(a){var c=""==a.value?120:parseInt(a.value),c=Math.max(0,isNaN(c)?120:c);null!=ea&&(b.cellEditor.restoreSelection(ea),ea=null);for(var d=b.getSelectedElement();null!=
- d&&d.nodeType!=mxConstants.NODETYPE_ELEMENT;)d=d.parentNode;null!=d&&d==b.cellEditor.textarea&&null!=b.cellEditor.textarea.firstChild&&("P"!=b.cellEditor.textarea.firstChild.nodeName&&(b.cellEditor.textarea.innerHTML="<p>"+b.cellEditor.textarea.innerHTML+"</p>"),d=b.cellEditor.textarea.firstChild);null!=d&&d!=b.cellEditor.textarea&&(d.style.lineHeight=c+"%");a.value=c+" %"},function(a){oa=a;mxEvent.addListener(a,"mousedown",function(){ea=b.cellEditor.saveSelection()});mxEvent.addListener(a,"touchstart",
- function(){ea=b.cellEditor.saveSelection()});a.value="120 %"}));h=f.cloneNode(!1);h.style.paddingLeft="0px";g=this.editorUi.toolbar.addItems(["link","image"],h,!0);n=[this.editorUi.toolbar.addButton("geSprite-horizontalrule",mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1,null)},h),this.editorUi.toolbar.addMenuFunctionInContainer(h,"geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.addInsertTableItem(a)}))];
- this.styleButtons(g);this.styleButtons(n);g=this.createPanel();g.style.paddingTop="10px";g.style.paddingBottom="10px";g.appendChild(this.createTitle(mxResources.get("insert")));g.appendChild(h);a.appendChild(g);mxClient.IS_QUIRKS&&(g.style.height="70");g=f.cloneNode(!1);g.style.paddingLeft="0px";n=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),function(){try{null!=w&&b.selectNode(b.insertColumn(w,null!=J?J.cellIndex:0))}catch(R){alert(R)}},g),
- this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),function(){try{null!=w&&b.selectNode(b.insertColumn(w,null!=J?J.cellIndex+1:-1))}catch(R){alert(R)}},g),this.editorUi.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),function(){try{null!=w&&null!=J&&b.deleteColumn(w,J.cellIndex)}catch(R){alert(R)}},g),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),function(){try{null!=w&&null!=K&&
- b.selectNode(b.insertRow(w,K.sectionRowIndex))}catch(R){alert(R)}},g),this.editorUi.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),function(){try{null!=w&&null!=K&&b.selectNode(b.insertRow(w,K.sectionRowIndex+1))}catch(R){alert(R)}},g),this.editorUi.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),function(){try{null!=w&&null!=K&&b.deleteRow(w,K.sectionRowIndex)}catch(R){alert(R)}},g)];this.styleButtons(n);n[2].style.marginRight="9px";h=this.createPanel();
- h.style.paddingTop="10px";h.style.paddingBottom="10px";h.appendChild(this.createTitle(mxResources.get("table")));h.appendChild(g);mxClient.IS_QUIRKS&&(mxUtils.br(a),h.style.height="70");f=f.cloneNode(!1);f.style.paddingLeft="0px";n=[this.editorUi.toolbar.addButton("geSprite-strokecolor",mxResources.get("borderColor"),mxUtils.bind(this,function(){if(null!=w){var a=w.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+
- ("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){null==a||a==mxConstants.NONE?(w.removeAttribute("border"),w.style.border="",w.style.borderCollapse=""):(w.setAttribute("border","1"),w.style.border="1px solid "+a,w.style.borderCollapse="collapse")})}}),f),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),mxUtils.bind(this,function(){if(null!=w){var a=w.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,
- function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){w.style.backgroundColor=null==a||a==mxConstants.NONE?"":a})}}),f),this.editorUi.toolbar.addButton("geSprite-fit",mxResources.get("spacing"),function(){if(null!=w){var a=w.getAttribute("cellPadding")||0,a=new FilenameDialog(d,a,mxResources.get("apply"),mxUtils.bind(this,function(a){null!=a&&0<a.length?w.setAttribute("cellPadding",
- a):w.removeAttribute("cellPadding")}),mxResources.get("spacing"));d.showDialog(a.container,300,80,!0,!0);a.init()}},f),this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),function(){null!=w&&w.setAttribute("align","left")},f),this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),function(){null!=w&&w.setAttribute("align","center")},f),this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),function(){null!=w&&w.setAttribute("align","right")},
- f)];this.styleButtons(n);n[2].style.marginRight="9px";mxClient.IS_QUIRKS&&(mxUtils.br(h),mxUtils.br(h));h.appendChild(f);a.appendChild(h);F=h}else a.appendChild(h),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(g);var V=mxUtils.bind(this,function(a,b,d){e=this.format.getSelectionState();a=mxUtils.getValue(e.style,mxConstants.STYLE_FONTSTYLE,0);c(l[0],(a&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);c(l[1],(a&mxConstants.FONT_ITALIC)==
- mxConstants.FONT_ITALIC);c(l[2],(a&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);k.firstChild.nodeValue=mxUtils.htmlEntities(mxUtils.getValue(e.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));c(m,"0"==mxUtils.getValue(e.style,mxConstants.STYLE_HORIZONTAL,"1"));if(d||document.activeElement!=H)a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),H.value=isNaN(a)?"":a+" pt";a=mxUtils.getValue(e.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);
- c(p,a==mxConstants.ALIGN_LEFT);c(q,a==mxConstants.ALIGN_CENTER);c(r,a==mxConstants.ALIGN_RIGHT);a=mxUtils.getValue(e.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);c(u,a==mxConstants.ALIGN_TOP);c(v,a==mxConstants.ALIGN_MIDDLE);c(x,a==mxConstants.ALIGN_BOTTOM);a=mxUtils.getValue(e.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);b=mxUtils.getValue(e.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);I.value=a==mxConstants.ALIGN_LEFT&&b==mxConstants.ALIGN_TOP?
- "topLeft":a==mxConstants.ALIGN_CENTER&&b==mxConstants.ALIGN_TOP?"top":a==mxConstants.ALIGN_RIGHT&&b==mxConstants.ALIGN_TOP?"topRight":a==mxConstants.ALIGN_LEFT&&b==mxConstants.ALIGN_BOTTOM?"bottomLeft":a==mxConstants.ALIGN_CENTER&&b==mxConstants.ALIGN_BOTTOM?"bottom":a==mxConstants.ALIGN_RIGHT&&b==mxConstants.ALIGN_BOTTOM?"bottomRight":a==mxConstants.ALIGN_LEFT?"left":a==mxConstants.ALIGN_RIGHT?"right":"center";a=mxUtils.getValue(e.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);
- a==mxConstants.TEXT_DIRECTION_RTL?M.value="rightToLeft":a==mxConstants.TEXT_DIRECTION_LTR?M.value="leftToRight":a==mxConstants.TEXT_DIRECTION_AUTO&&(M.value="automatic");if(d||document.activeElement!=X)a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_SPACING,2)),X.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=W)a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_SPACING_TOP,0)),W.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=da)a=parseFloat(mxUtils.getValue(e.style,
- mxConstants.STYLE_SPACING_RIGHT,0)),da.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=ca)a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_SPACING_BOTTOM,0)),ca.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=ba)a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_SPACING_LEFT,0)),ba.value=isNaN(a)?"":a+" pt"});ha=this.installInputHandler(X,mxConstants.STYLE_SPACING,2,-999,999," pt");U=this.installInputHandler(W,mxConstants.STYLE_SPACING_TOP,0,-999,999," pt");ja=this.installInputHandler(da,
- mxConstants.STYLE_SPACING_RIGHT,0,-999,999," pt");ia=this.installInputHandler(ca,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999," pt");aa=this.installInputHandler(ba,mxConstants.STYLE_SPACING_LEFT,0,-999,999," pt");this.addKeyHandler(H,V);this.addKeyHandler(X,V);this.addKeyHandler(W,V);this.addKeyHandler(da,V);this.addKeyHandler(ca,V);this.addKeyHandler(ba,V);b.getModel().addListener(mxEvent.CHANGE,V);this.listeners.push({destroy:function(){b.getModel().removeListener(V)}});V();if(b.cellEditor.isContentEditing()){var ka=
- !1,f=function(){ka||(ka=!0,window.setTimeout(function(){for(var a=b.getSelectedElement();null!=a&&a.nodeType!=mxConstants.NODETYPE_ELEMENT;)a=a.parentNode;if(null!=a){a==b.cellEditor.textarea&&1==b.cellEditor.textarea.children.length&&b.cellEditor.textarea.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&(a=b.cellEditor.textarea.firstChild);var d=mxUtils.getCurrentStyle(a);if(null!=d){c(l[0],"bold"==d.fontWeight||null!=b.getParentByName(a,"B",b.cellEditor.textarea));c(l[1],"italic"==d.fontStyle||
- null!=b.getParentByName(a,"I",b.cellEditor.textarea));c(l[2],null!=b.getParentByName(a,"U",b.cellEditor.textarea));c(p,"left"==d.textAlign);c(q,"center"==d.textAlign);c(r,"right"==d.textAlign);c(E,"justify"==d.textAlign);c(A,null!=b.getParentByName(a,"SUP",b.cellEditor.textarea));c(z,null!=b.getParentByName(a,"SUB",b.cellEditor.textarea));w=b.getParentByName(a,"TABLE",b.cellEditor.textarea);K=null==w?null:b.getParentByName(a,"TR",w);J=null==w?null:b.getParentByName(a,"TD",w);F.style.display=null!=
- w?"":"none";if(document.activeElement!=H){"FONT"==a.nodeName&&"4"==a.getAttribute("size")&&null!=D?(a.removeAttribute("size"),a.style.fontSize=D+"px",D=null):H.value=parseFloat(d.fontSize)+" pt";var a=a.style.lineHeight||d.lineHeight,e=parseFloat(a);"px"==a.substring(a.length-2)&&(e/=parseFloat(d.fontSize));"%"!=a.substring(a.length-1)&&(e*=100);oa.value=e+" %"}a=d.color.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+
- ("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});e=d.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});null!=S&&(Q="#"==a.charAt(0)?a:"#000000",S(Q,!0));null!=C&&(y="#"==e.charAt(0)?e:null,C(y,!0));null!=k.firstChild&&(d=d.fontFamily,"'"==d.charAt(0)&&(d=d.substring(1)),"'"==d.charAt(d.length-
- 1)&&(d=d.substring(0,d.length-1)),'"'==d.charAt(0)&&(d=d.substring(1)),'"'==d.charAt(d.length-1)&&(d=d.substring(0,d.length-1)),k.firstChild.nodeValue=d)}}ka=!1},0))};mxEvent.addListener(b.cellEditor.textarea,"input",f);mxEvent.addListener(b.cellEditor.textarea,"touchend",f);mxEvent.addListener(b.cellEditor.textarea,"mouseup",f);mxEvent.addListener(b.cellEditor.textarea,"keyup",f);this.listeners.push({destroy:function(){}});f()}return a};
- StyleFormatPanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);
- StyleFormatPanel.prototype.init=function(){var a=this.format.getSelectionState();a.containsImage&&"image"!=a.style.shape||this.container.appendChild(this.addFill(this.createPanel()));this.container.appendChild(this.addStroke(this.createPanel()));a=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY,41);a.style.paddingTop="8px";a.style.paddingBottom="8px";this.container.appendChild(a);this.container.appendChild(this.addEffects(this.createPanel()));a=this.addEditOps(this.createPanel());
- null!=a.firstChild&&mxUtils.br(a);this.container.appendChild(this.addStyleOps(a))};
- StyleFormatPanel.prototype.addEditOps=function(a){var c=this.format.getSelectionState(),d=null;1==this.editorUi.editor.graph.getSelectionCount()&&(d=mxUtils.button(mxResources.get("editStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editStyle").funct()})),d.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").shortcut+")"),d.style.width="202px",d.style.marginBottom="2px",a.appendChild(d));c.image&&(c=mxUtils.button(mxResources.get("editImage"),
- mxUtils.bind(this,function(a){this.editorUi.actions.get("image").funct()})),c.setAttribute("title",mxResources.get("editImage")),c.style.marginBottom="2px",null==d?c.style.width="202px":(d.style.width="100px",c.style.width="100px",c.style.marginLeft="2px"),a.appendChild(c));return a};
- StyleFormatPanel.prototype.addFill=function(a){var c=this.editorUi.editor.graph,d=this.format.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";var b=document.createElement("select");b.style.position="absolute";b.style.marginTop="-2px";b.style.right=mxClient.IS_QUIRKS?"52px":"72px";b.style.width="70px";mxEvent.addListener(b,"click",function(a){mxEvent.consume(a)});var e=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"#ffffff",function(a){b.style.display=
- null==a||a==mxConstants.NONE?"none":""}),f="image"==d.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.STYLE_FILLCOLOR,h=this.createCellColorOption(mxResources.get("fill"),f,"#ffffff");h.style.fontWeight="bold";f=mxUtils.getValue(d.style,f,null);e.style.display=null!=f&&f!=mxConstants.NONE&&d.fill&&"image"!=d.style.shape?"":"none";for(var f=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST],g=0;g<f.length;g++){var k=document.createElement("option");
- k.setAttribute("value",f[g]);mxUtils.write(k,mxResources.get(f[g]));b.appendChild(k)}e.appendChild(b);var l=mxUtils.bind(this,function(){d=this.format.getSelectionState();var c=mxUtils.getValue(d.style,mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH);""==c&&(c=mxConstants.DIRECTION_SOUTH);b.value=c;a.style.display=d.fill?"":"none";c=mxUtils.getValue(d.style,mxConstants.STYLE_FILLCOLOR,null);e.style.display=!d.fill||d.containsImage||null==c||c==mxConstants.NONE||"filledEdge"==d.style.shape?
- "none":""});c.getModel().addListener(mxEvent.CHANGE,l);this.listeners.push({destroy:function(){c.getModel().removeListener(l)}});l();mxEvent.addListener(b,"change",function(a){c.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,b.value,c.getSelectionCells());mxEvent.consume(a)});a.appendChild(h);a.appendChild(e);"swimlane"==d.style.shape&&a.appendChild(this.createCellColorOption(mxResources.get("laneColor"),"swimlaneFillColor","#ffffff"));return a};
- StyleFormatPanel.prototype.addStroke=function(a){function c(a){var c=parseInt(u.value),c=Math.min(999,Math.max(1,isNaN(c)?1:c));c!=mxUtils.getValue(f.style,mxConstants.STYLE_STROKEWIDTH,1)&&(e.setCellStyles(mxConstants.STYLE_STROKEWIDTH,c,e.getSelectionCells()),b.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[c],"cells",e.getSelectionCells())));u.value=c+" pt";mxEvent.consume(a)}function d(a){var c=parseInt(v.value),c=Math.min(999,Math.max(1,isNaN(c)?1:
- c));c!=mxUtils.getValue(f.style,mxConstants.STYLE_STROKEWIDTH,1)&&(e.setCellStyles(mxConstants.STYLE_STROKEWIDTH,c,e.getSelectionCells()),b.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[c],"cells",e.getSelectionCells())));v.value=c+" pt";mxEvent.consume(a)}var b=this.editorUi,e=b.editor.graph,f=this.format.getSelectionState();a.style.paddingTop="4px";a.style.paddingBottom="4px";a.style.whiteSpace="normal";var h=document.createElement("div");h.style.fontWeight=
- "bold";var g=document.createElement("select");g.style.position="absolute";g.style.marginTop="-2px";g.style.right="72px";g.style.width="80px";for(var k=["sharp","rounded","curved"],l=0;l<k.length;l++){var m=document.createElement("option");m.setAttribute("value",k[l]);mxUtils.write(m,mxResources.get(k[l]));g.appendChild(m)}mxEvent.addListener(g,"change",function(a){e.getModel().beginUpdate();try{var c=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],d=["0",null];"rounded"==g.value?d=["1",null]:
- "curved"==g.value&&(d=[null,"1"]);for(var f=0;f<c.length;f++)e.setCellStyles(c[f],d[f],e.getSelectionCells());b.fireEvent(new mxEventObject("styleChanged","keys",c,"values",d,"cells",e.getSelectionCells()))}finally{e.getModel().endUpdate()}mxEvent.consume(a)});mxEvent.addListener(g,"click",function(a){mxEvent.consume(a)});var n="image"==f.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR,k=this.createCellColorOption(mxResources.get("line"),n,"#000000");k.appendChild(g);h.appendChild(k);
- var p=h.cloneNode(!1);p.style.fontWeight="normal";p.style.whiteSpace="nowrap";p.style.position="relative";p.style.paddingLeft="16px";p.style.marginBottom="2px";p.style.marginTop="2px";p.className="geToolbarContainer";var q=mxUtils.bind(this,function(a,b,c,d,e){a=this.editorUi.menus.styleChange(a,"",d,e,"geIcon",null);d=document.createElement("div");d.style.width=b+"px";d.style.height="1px";d.style.borderBottom="1px "+c+" black";d.style.paddingTop="6px";a.firstChild.firstChild.style.padding="0px 4px 0px 4px";
- a.firstChild.firstChild.style.width=b+"px";a.firstChild.firstChild.appendChild(d);return a}),l=this.editorUi.toolbar.addMenuFunctionInContainer(p,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(a){q(a,75,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));q(a,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed"));q(a,75,
- "dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");q(a,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");q(a,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")})),r=p.cloneNode(!1),t=this.editorUi.toolbar.addMenuFunctionInContainer(r,"geSprite-connection",
- mxResources.get("connection"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",
- mxResources.get("link"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),
- m=this.editorUi.toolbar.addMenuFunctionInContainer(r,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(a){q(a,33,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));q(a,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed"));q(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",
- mxResources.get("dotted")+" (1)");q(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");q(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")})),k=p.cloneNode(!1),u=document.createElement("input");u.style.textAlign="right";u.style.marginTop="2px";u.style.width="41px";u.setAttribute("title",mxResources.get("linewidth"));p.appendChild(u);
- var v=u.cloneNode(!0);r.appendChild(v);var x=this.createStepper(u,c,1,9);x.style.display=u.style.display;x.style.marginTop="2px";p.appendChild(x);var z=this.createStepper(v,d,1,9);z.style.display=v.style.display;z.style.marginTop="2px";r.appendChild(z);mxClient.IS_QUIRKS?(u.style.height="17px",v.style.height="17px"):(u.style.position="absolute",u.style.right="32px",u.style.height="15px",x.style.right="20px",v.style.position="absolute",v.style.right="32px",v.style.height="15px",z.style.right="20px");
- mxEvent.addListener(u,"blur",c);mxEvent.addListener(u,"change",c);mxEvent.addListener(v,"blur",d);mxEvent.addListener(v,"change",d);mxClient.IS_QUIRKS&&(mxUtils.br(k),mxUtils.br(k));var A=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(a){"arrow"!=f.style.shape&&(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",
- null,!0).setAttribute("title",mxResources.get("straight")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",
- null,!0).setAttribute("title",mxResources.get("simple")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",
- null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),"connector"==f.style.shape&&this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,
- mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation")))})),E=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-startclassic",
- mxResources.get("linestart"),!1,mxUtils.bind(this,function(a){if("connector"==f.style.shape||"flexArrow"==f.style.shape){var b=this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.NONE,0],"geIcon",null,!1);b.setAttribute("title",mxResources.get("none"));b.firstChild.firstChild.innerHTML='<font style="font-size:10px;">'+mxUtils.htmlEntities(mxResources.get("none"))+"</font>";"connector"==f.style.shape?(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
- "startFill"],[mxConstants.ARROW_CLASSIC,1],"geIcon geSprite geSprite-startclassic",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,1],"geIcon geSprite geSprite-startclassicthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN,0],"geIcon geSprite geSprite-startopen",null,!1).setAttribute("title",mxResources.get("openArrow")),
- this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN_THIN,0],"geIcon geSprite geSprite-startopenthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["openAsync",0],"geIcon geSprite geSprite-startopenasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,1],"geIcon geSprite geSprite-startblock",null,!1).setAttribute("title",mxResources.get("block")),
- this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,1],"geIcon geSprite geSprite-startblockthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",1],"geIcon geSprite geSprite-startasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,1],"geIcon geSprite geSprite-startoval",null,!1).setAttribute("title",mxResources.get("oval")),
- this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND,1],"geIcon geSprite geSprite-startdiamond",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,1],"geIcon geSprite geSprite-startthindiamond",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
- "startFill"],[mxConstants.ARROW_CLASSIC,0],"geIcon geSprite geSprite-startclassictrans",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,0],"geIcon geSprite geSprite-startclassicthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,0],"geIcon geSprite geSprite-startblocktrans",null,!1).setAttribute("title",
- mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,0],"geIcon geSprite geSprite-startblockthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",0],"geIcon geSprite geSprite-startasynctrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,0],"geIcon geSprite geSprite-startovaltrans",null,
- !1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND,0],"geIcon geSprite geSprite-startdiamondtrans",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,0],"geIcon geSprite geSprite-startthindiamondtrans",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,
- "",[mxConstants.STYLE_STARTARROW,"startFill"],["dash",0],"geIcon geSprite geSprite-startdash",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["cross",0],"geIcon geSprite geSprite-startcross",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circlePlus",0],"geIcon geSprite geSprite-startcircleplus",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circle",1],"geIcon geSprite geSprite-startcircle",
- null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERone",0],"geIcon geSprite geSprite-starterone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmandOne",0],"geIcon geSprite geSprite-starteronetoone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmany",0],"geIcon geSprite geSprite-startermany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
- "startFill"],["ERoneToMany",0],"geIcon geSprite geSprite-starteronetomany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToOne",1],"geIcon geSprite geSprite-starteroneopt",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToMany",1],"geIcon geSprite geSprite-startermanyopt",null,!1)):this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-startblocktrans",
- null,!1).setAttribute("title",mxResources.get("block"))}})),F=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-endclassic",mxResources.get("lineend"),!1,mxUtils.bind(this,function(a){if("connector"==f.style.shape||"flexArrow"==f.style.shape){var b=this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon",null,!1);b.setAttribute("title",mxResources.get("none"));b.firstChild.firstChild.innerHTML='<font style="font-size:10px;">'+mxUtils.htmlEntities(mxResources.get("none"))+
- "</font>";"connector"==f.style.shape?(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,1],"geIcon geSprite geSprite-endclassic",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,1],"geIcon geSprite geSprite-endclassicthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN,
- 0],"geIcon geSprite geSprite-endopen",null,!1).setAttribute("title",mxResources.get("openArrow")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN_THIN,0],"geIcon geSprite geSprite-endopenthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["openAsync",0],"geIcon geSprite geSprite-endopenasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,
- 1],"geIcon geSprite geSprite-endblock",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,1],"geIcon geSprite geSprite-endblockthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",1],"geIcon geSprite geSprite-endasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,1],
- "geIcon geSprite geSprite-endoval",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,1],"geIcon geSprite geSprite-enddiamond",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,1],"geIcon geSprite geSprite-endthindiamond",null,!1).setAttribute("title",mxResources.get("diamondThin")),
- this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,0],"geIcon geSprite geSprite-endclassictrans",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,0],"geIcon geSprite geSprite-endclassicthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,0],"geIcon geSprite geSprite-endblocktrans",
- null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,0],"geIcon geSprite geSprite-endblockthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",0],"geIcon geSprite geSprite-endasynctrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,0],"geIcon geSprite geSprite-endovaltrans",
- null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,0],"geIcon geSprite geSprite-enddiamondtrans",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,0],"geIcon geSprite geSprite-endthindiamondtrans",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,
- "",[mxConstants.STYLE_ENDARROW,"endFill"],["dash",0],"geIcon geSprite geSprite-enddash",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["cross",0],"geIcon geSprite geSprite-endcross",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circlePlus",0],"geIcon geSprite geSprite-endcircleplus",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circle",1],"geIcon geSprite geSprite-endcircle",
- null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERone",0],"geIcon geSprite geSprite-enderone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmandOne",0],"geIcon geSprite geSprite-enderonetoone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmany",0],"geIcon geSprite geSprite-endermany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],
- ["ERoneToMany",0],"geIcon geSprite geSprite-enderonetomany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToOne",1],"geIcon geSprite geSprite-enderoneopt",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",1],"geIcon geSprite geSprite-endermanyopt",null,!1)):this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-endblocktrans",
- null,!1).setAttribute("title",mxResources.get("block"))}}));this.addArrow(t,8);this.addArrow(A);this.addArrow(E);this.addArrow(F);x=this.addArrow(l,9);x.className="geIcon";x.style.width="84px";z=this.addArrow(m,9);z.className="geIcon";z.style.width="22px";var w=document.createElement("div");w.style.width="85px";w.style.height="1px";w.style.borderBottom="1px solid black";w.style.marginBottom="9px";x.appendChild(w);var J=document.createElement("div");J.style.width="23px";J.style.height="1px";J.style.borderBottom=
- "1px solid black";J.style.marginBottom="9px";z.appendChild(J);l.style.height="15px";m.style.height="15px";t.style.height="15px";A.style.height="17px";E.style.marginLeft="3px";E.style.height="17px";F.style.marginLeft="3px";F.style.height="17px";a.appendChild(h);a.appendChild(r);a.appendChild(p);l=p.cloneNode(!1);l.style.paddingBottom="6px";l.style.paddingTop="4px";l.style.fontWeight="normal";m=document.createElement("div");m.style.position="absolute";m.style.marginLeft="3px";m.style.marginBottom="12px";
- m.style.marginTop="2px";m.style.fontWeight="normal";m.style.width="76px";mxUtils.write(m,mxResources.get("lineend"));l.appendChild(m);var K,I,G=this.addUnitInput(l,"pt",74,33,function(){K.apply(this,arguments)}),B=this.addUnitInput(l,"pt",20,33,function(){I.apply(this,arguments)});mxUtils.br(l);x=document.createElement("div");x.style.height="8px";l.appendChild(x);m=m.cloneNode(!1);mxUtils.write(m,mxResources.get("linestart"));l.appendChild(m);var N,M,P=this.addUnitInput(l,"pt",74,33,function(){N.apply(this,
- arguments)}),O=this.addUnitInput(l,"pt",20,33,function(){M.apply(this,arguments)});mxUtils.br(l);this.addLabel(l,mxResources.get("spacing"),74,50);this.addLabel(l,mxResources.get("size"),20,50);mxUtils.br(l);h=h.cloneNode(!1);h.style.fontWeight="normal";h.style.position="relative";h.style.paddingLeft="16px";h.style.marginBottom="2px";h.style.marginTop="6px";h.style.borderWidth="0px";h.style.paddingBottom="18px";m=document.createElement("div");m.style.position="absolute";m.style.marginLeft="3px";m.style.marginBottom=
- "12px";m.style.marginTop="1px";m.style.fontWeight="normal";m.style.width="120px";mxUtils.write(m,mxResources.get("perimeter"));h.appendChild(m);var H,D=this.addUnitInput(h,"pt",20,41,function(){H.apply(this,arguments)});f.edges.length==e.getSelectionCount()?(a.appendChild(k),mxClient.IS_QUIRKS&&(mxUtils.br(a),mxUtils.br(a)),a.appendChild(l)):f.vertices.length==e.getSelectionCount()&&(mxClient.IS_QUIRKS&&mxUtils.br(a),a.appendChild(h));var C=mxUtils.bind(this,function(a,c,d){function h(a,c,d,e){d=
- d.getElementsByTagName("div")[0];d.className=b.getCssClassForMarker(e,f.style.shape,a,c);"geSprite geSprite-noarrow"==d.className&&(d.innerHTML=mxUtils.htmlEntities(mxResources.get("none")),d.style.backgroundImage="none",d.style.verticalAlign="top",d.style.marginTop="5px",d.style.fontSize="10px",d.nextSibling.style.marginTop="0px");return d}f=this.format.getSelectionState();mxUtils.getValue(f.style,n,null);if(d||document.activeElement!=u)a=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_STROKEWIDTH,
- 1)),u.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=v)a=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_STROKEWIDTH,1)),v.value=isNaN(a)?"":a+" pt";g.style.visibility="connector"==f.style.shape||"filledEdge"==f.style.shape?"":"hidden";"1"==mxUtils.getValue(f.style,mxConstants.STYLE_CURVED,null)?g.value="curved":"1"==mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,null)&&(g.value="rounded");"1"==mxUtils.getValue(f.style,mxConstants.STYLE_DASHED,null)?null==mxUtils.getValue(f.style,
- mxConstants.STYLE_DASH_PATTERN,null)?w.style.borderBottom="1px dashed black":w.style.borderBottom="1px dotted black":w.style.borderBottom="1px solid black";J.style.borderBottom=w.style.borderBottom;a=A.getElementsByTagName("div")[0];c=mxUtils.getValue(f.style,mxConstants.STYLE_EDGE,null);"1"==mxUtils.getValue(f.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(c=null);"orthogonalEdgeStyle"==c&&"1"==mxUtils.getValue(f.style,mxConstants.STYLE_CURVED,null)?a.className="geSprite geSprite-curved":a.className=
- "straight"==c||"none"==c||null==c?"geSprite geSprite-straight":"entityRelationEdgeStyle"==c?"geSprite geSprite-entity":"elbowEdgeStyle"==c?"geSprite "+("vertical"==mxUtils.getValue(f.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isometricEdgeStyle"==c?"geSprite "+("vertical"==mxUtils.getValue(f.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalisometric":"geSprite-horizontalisometric"):"geSprite geSprite-orthogonal";t.getElementsByTagName("div")[0].className=
- "link"==f.style.shape?"geSprite geSprite-linkedge":"flexArrow"==f.style.shape?"geSprite geSprite-arrow":"arrow"==f.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection";f.edges.length==e.getSelectionCount()?(r.style.display="",p.style.display="none"):(r.style.display="none",p.style.display="");a=h(mxUtils.getValue(f.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(f.style,"startFill","1"),E,"start");c=h(mxUtils.getValue(f.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(f.style,
- "endFill","1"),F,"end");"arrow"==f.style.shape?(a.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-endblocktrans"):"link"==f.style.shape&&(a.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-noarrow");mxUtils.setOpacity(A,"arrow"==f.style.shape?30:100);"connector"!=f.style.shape&&"flexArrow"!=f.style.shape?(mxUtils.setOpacity(E,30),mxUtils.setOpacity(F,30)):(mxUtils.setOpacity(E,100),mxUtils.setOpacity(F,100));if(d||document.activeElement!=O)a=parseInt(mxUtils.getValue(f.style,
- mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),O.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=P)a=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),P.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=B)a=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),B.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=P)a=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),
- G.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=D)a=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_PERIMETER_SPACING,0)),D.value=isNaN(a)?"":a+" pt"});M=this.installInputHandler(O,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");N=this.installInputHandler(P,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999," pt");I=this.installInputHandler(B,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");K=this.installInputHandler(G,mxConstants.STYLE_TARGET_PERIMETER_SPACING,
- 0,-999,999," pt");H=this.installInputHandler(D,mxConstants.STYLE_PERIMETER_SPACING,0,0,999," pt");this.addKeyHandler(u,C);this.addKeyHandler(O,C);this.addKeyHandler(P,C);this.addKeyHandler(B,C);this.addKeyHandler(G,C);this.addKeyHandler(D,C);e.getModel().addListener(mxEvent.CHANGE,C);this.listeners.push({destroy:function(){e.getModel().removeListener(C)}});C();return a};
- StyleFormatPanel.prototype.addEffects=function(a){var c=this.editorUi.editor.graph,d=this.format.getSelectionState();a.style.paddingTop="0px";a.style.paddingBottom="2px";var b=document.createElement("table");mxClient.IS_QUIRKS&&(b.style.fontSize="1em");b.style.width="100%";b.style.fontWeight="bold";b.style.paddingRight="20px";var e=document.createElement("tbody"),f=document.createElement("tr");f.style.padding="0px";var h=document.createElement("td");h.style.padding="0px";h.style.width="50%";h.setAttribute("valign",
- "top");var g=h.cloneNode(!0);g.style.paddingLeft="8px";f.appendChild(h);f.appendChild(g);e.appendChild(f);b.appendChild(e);a.appendChild(b);var k=h,l=0,m=mxUtils.bind(this,function(a,b,c){a=this.createCellOption(a,b,c);a.style.width="100%";k.appendChild(a);k=k==h?g:h;l++}),n=mxUtils.bind(this,function(b,c,e){d=this.format.getSelectionState();h.innerHTML="";g.innerHTML="";k=h;d.rounded&&m(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);"swimlane"==d.style.shape&&m(mxResources.get("divider"),
- "swimlaneLine",1);d.containsImage||m(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);d.glass&&m(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);d.comic&&m(mxResources.get("comic"),"comic",0);0==l&&(a.style.display="none")});c.getModel().addListener(mxEvent.CHANGE,n);this.listeners.push({destroy:function(){c.getModel().removeListener(n)}});n();return a};
- StyleFormatPanel.prototype.addStyleOps=function(a){a.style.paddingTop="10px";a.style.paddingBottom="10px";var c=mxUtils.button(mxResources.get("setAsDefaultStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("setAsDefaultStyle").funct()}));c.setAttribute("title",mxResources.get("setAsDefaultStyle")+" ("+this.editorUi.actions.get("setAsDefaultStyle").shortcut+")");c.style.width="202px";a.appendChild(c);return a};DiagramFormatPanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};
- mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.prototype.showBackgroundImageOption=!0;DiagramFormatPanel.prototype.init=function(){var a=this.editorUi.editor.graph;this.container.appendChild(this.addView(this.createPanel()));a.isEnabled()&&(this.container.appendChild(this.addOptions(this.createPanel())),this.container.appendChild(this.addPaperSize(this.createPanel())),this.container.appendChild(this.addStyleOps(this.createPanel())))};
- DiagramFormatPanel.prototype.addView=function(a){var c=this.editorUi,d=c.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);if(d.isEnabled()){a.appendChild(this.createOption(mxResources.get("guides"),function(){return d.graphHandler.guidesEnabled},function(a){c.actions.get("guides").funct()},{install:function(a){this.listener=function(){a(d.graphHandler.guidesEnabled)};c.addListener("guidesEnabledChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}}));
- a.appendChild(this.createOption(mxResources.get("pageView"),function(){return d.pageVisible},function(a){c.actions.get("pageView").funct()},{install:function(a){this.listener=function(){a(d.pageVisible)};c.addListener("pageViewChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}}));var b=this.createColorOption(mxResources.get("background"),function(){return d.background},function(a){a=new ChangePageSetup(c,a);a.ignoreImage=!0;d.model.execute(a)},"#ffffff",{install:function(a){this.listener=
- function(){a(d.background)};c.addListener("backgroundColorChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}});if(this.showBackgroundImageOption){var e=mxUtils.button(mxResources.get("image"),function(a){c.showBackgroundImageDialog();mxEvent.consume(a)});e.style.position="absolute";e.className="geColorBtn";e.style.marginTop="-4px";e.style.paddingBottom=11==document.documentMode||mxClient.IS_MT?"0px":"2px";e.style.height="22px";e.style.right=mxClient.IS_QUIRKS?"52px":"72px";
- e.style.width="56px";b.appendChild(e)}a.appendChild(b)}return a};
- DiagramFormatPanel.prototype.addOptions=function(a){var c=this.editorUi,d=c.editor.graph;a.appendChild(this.createTitle(mxResources.get("options")));d.isEnabled()&&(a.appendChild(this.createOption(mxResources.get("connectionArrows"),function(){return d.connectionArrowsEnabled},function(a){c.actions.get("connectionArrows").funct()},{install:function(a){this.listener=function(){a(d.connectionArrowsEnabled)};c.addListener("connectionArrowsChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}})),
- a.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){return d.connectionHandler.isEnabled()},function(a){c.actions.get("connectionPoints").funct()},{install:function(a){this.listener=function(){a(d.connectionHandler.isEnabled())};c.addListener("connectionPointsChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}})));return a};
- DiagramFormatPanel.prototype.addGridOption=function(a){function c(a){var c=parseInt(e.value),c=Math.max(1,isNaN(c)?10:c);c!=b.getGridSize()&&b.setGridSize(c);e.value=c+" pt";mxEvent.consume(a)}var d=this.editorUi,b=d.editor.graph,e=document.createElement("input");e.style.position="absolute";e.style.textAlign="right";e.style.width="38px";e.value=b.getGridSize()+" pt";var f=this.createStepper(e,c);e.style.display=b.isGridEnabled()?"":"none";f.style.display=e.style.display;mxEvent.addListener(e,"keydown",
- function(a){13==a.keyCode?(b.container.focus(),mxEvent.consume(a)):27==a.keyCode&&(e.value=b.getGridSize(),b.container.focus(),mxEvent.consume(a))});mxEvent.addListener(e,"blur",c);mxEvent.addListener(e,"change",c);if(mxClient.IS_SVG){e.style.marginTop="-2px";e.style.right="84px";f.style.marginTop="-16px";f.style.right="72px";var h=this.createColorOption(mxResources.get("grid"),function(){var a=b.view.gridColor;return b.isGridEnabled()?a:null},function(a){a==mxConstants.NONE?(b.setGridEnabled(!1),
- d.fireEvent(new mxEventObject("gridEnabledChanged"))):(b.setGridEnabled(!0),d.setGridColor(a));e.style.display=b.isGridEnabled()?"":"none";f.style.display=e.style.display},"#e0e0e0",{install:function(a){this.listener=function(){a(b.isGridEnabled()?b.view.gridColor:null)};d.addListener("gridColorChanged",this.listener);d.addListener("gridEnabledChanged",this.listener)},destroy:function(){d.removeListener(this.listener)}});h.appendChild(e);h.appendChild(f);a.appendChild(h)}else e.style.marginTop="2px",
- e.style.right="32px",f.style.marginTop="2px",f.style.right="20px",a.appendChild(e),a.appendChild(f),a.appendChild(this.createOption(mxResources.get("grid"),function(){return b.isGridEnabled()},function(a){b.setGridEnabled(a);b.isGridEnabled()&&(b.view.gridColor="#e0e0e0");d.fireEvent(new mxEventObject("gridEnabledChanged"))},{install:function(a){this.listener=function(){e.style.display=b.isGridEnabled()?"":"none";f.style.display=e.style.display;a(b.isGridEnabled())};d.addListener("gridEnabledChanged",
- this.listener)},destroy:function(){d.removeListener(this.listener)}}))};DiagramFormatPanel.prototype.addDocumentProperties=function(a){a.appendChild(this.createTitle(mxResources.get("options")));return a};
- DiagramFormatPanel.prototype.addPaperSize=function(a){var c=this.editorUi,d=c.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var b=PageSetupDialog.addPageFormatPanel(a,"formatpanel",d.pageFormat,function(a){if(null==d.pageFormat||d.pageFormat.width!=a.width||d.pageFormat.height!=a.height)a=new ChangePageSetup(c,null,null,a),a.ignoreColor=!0,a.ignoreImage=!0,d.model.execute(a)});this.addKeyHandler(b.widthInput,function(){b.set(d.pageFormat)});-this.addKeyHandler(b.heightInput,
- function(){b.set(d.pageFormat)});var e=function(){b.set(d.pageFormat)};c.addListener("pageFormatChanged",e);this.listeners.push({destroy:function(){c.removeListener(e)}});d.getModel().addListener(mxEvent.CHANGE,e);this.listeners.push({destroy:function(){d.getModel().removeListener(e)}});return a};
- DiagramFormatPanel.prototype.addStyleOps=function(a){var c=mxUtils.button(mxResources.get("editData"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editData").funct()}));c.setAttribute("title",mxResources.get("editData")+" ("+this.editorUi.actions.get("editData").shortcut+")");c.style.width="202px";c.style.marginBottom="2px";a.appendChild(c);mxUtils.br(a);c=mxUtils.button(mxResources.get("clearDefaultStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("clearDefaultStyle").funct()}));
- c.setAttribute("title",mxResources.get("clearDefaultStyle")+" ("+this.editorUi.actions.get("clearDefaultStyle").shortcut+")");c.style.width="202px";a.appendChild(c);return a};DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};function Toolbar(a,c){this.editorUi=a;this.container=c;this.staticElements=[];this.init();this.gestureHandler=mxUtils.bind(this,function(a){null!=this.editorUi.currentMenu&&mxEvent.getSource(a)!=this.editorUi.currentMenu.div&&this.hideMenu()});mxEvent.addGestureListeners(document,this.gestureHandler)}
- Toolbar.prototype.dropdownImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQANAIABAHt7e////yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCREM1NkJFMjE0NEMxMUU1ODk1Q0M5MjQ0MTA4QjNDMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCREM1NkJFMzE0NEMxMUU1ODk1Q0M5MjQ0MTA4QjNDMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkQzOUMzMjZCMTQ0QjExRTU4OTVDQzkyNDQxMDhCM0MxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkQzOUMzMjZDMTQ0QjExRTU4OTVDQzkyNDQxMDhCM0MxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7":IMAGE_PATH+
- "/dropdown.gif";Toolbar.prototype.dropdownImageHtml='<img border="0" style="position:absolute;right:4px;top:'+(EditorUi.compactUi?6:8)+'px;" src="'+Toolbar.prototype.dropdownImage+'" valign="middle"/>';Toolbar.prototype.selectedBackground="#d0d0d0";Toolbar.prototype.unselectedBackground="none";Toolbar.prototype.staticElements=null;
- Toolbar.prototype.init=function(){var a=screen.width,a=a-(740<screen.height?56:0);if(700<=a){var c=this.addMenu("",mxResources.get("view")+" ("+mxResources.get("panTooltip")+")",!0,"viewPanels",null,!0);this.addDropDownArrow(c,"geSprite-formatpanel",38,50,-4,-3,36,-8);this.addSeparator()}var d=this.addMenu("",mxResources.get("zoom")+" (Alt+Mousewheel)",!0,"viewZoom",null,!0);d.showDisabled=!0;d.style.whiteSpace="nowrap";d.style.position="relative";d.style.overflow="hidden";d.style.width=EditorUi.compactUi?
- mxClient.IS_QUIRKS?"58px":"50px":mxClient.IS_QUIRKS?"62px":"36px";420<=a&&(this.addSeparator(),c=this.addItems(["zoomIn","zoomOut"]),c[0].setAttribute("title",mxResources.get("zoomIn")+" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),c[1].setAttribute("title",mxResources.get("zoomOut")+" ("+this.editorUi.actions.get("zoomOut").shortcut+")"));this.updateZoom=mxUtils.bind(this,function(){d.innerHTML=Math.round(100*this.editorUi.editor.graph.view.scale)+"%"+this.dropdownImageHtml;EditorUi.compactUi&&
- (d.getElementsByTagName("img")[0].style.right="1px",d.getElementsByTagName("img")[0].style.top="5px")});this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE,this.updateZoom);this.editorUi.editor.addListener("resetGraphView",this.updateZoom);c=this.addItems(["-","undo","redo"]);c[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");c[2].setAttribute("title",mxResources.get("redo")+" ("+this.editorUi.actions.get("redo").shortcut+")");320<=a&&
- (c=this.addItems(["-","delete"]),c[1].setAttribute("title",mxResources.get("delete")+" ("+this.editorUi.actions.get("delete").shortcut+")"));550<=a&&this.addItems(["-","toFront","toBack"]);740<=a&&(this.addItems(["-","fillColor"]),780<=a&&(this.addItems(["strokeColor"]),820<=a&&this.addItems(["shadow"])));400<=a&&(this.addSeparator(),440<=a&&(this.edgeShapeMenu=this.addMenuFunction("",mxResources.get("connection"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_SHAPE,
- "width"],[null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_SHAPE,"width"],["link",null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_SHAPE,"width"],["flexArrow",null],"geIcon geSprite geSprite-arrow",null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.edgeStyleChange(a,
- "",[mxConstants.STYLE_SHAPE,"width"],["arrow",null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),this.addDropDownArrow(this.edgeShapeMenu,"geSprite-connection",44,50,0,0,22,-4)),this.edgeStyleMenu=this.addMenuFunction("geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",
- null,!0).setAttribute("title",mxResources.get("straight"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",
- null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",
- null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,
- mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation"))})),this.addDropDownArrow(this.edgeStyleMenu,"geSprite-orthogonal",44,50,0,0,22,-4));this.addSeparator();
- a=this.addMenu("",mxResources.get("insert")+" ("+mxResources.get("doubleClickTooltip")+")",!0,"insert",null,!0);this.addDropDownArrow(a,"geSprite-plus",38,48,-4,-3,36,-8)};
- Toolbar.prototype.addDropDownArrow=function(a,c,d,b,e,f,h,g){e=EditorUi.compactUi?e:g;a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.position="relative";a.innerHTML='<div class="geSprite '+c+'" style="margin-left:'+e+"px;margin-top:"+f+'px;"></div>'+this.dropdownImageHtml;a.style.width=mxClient.IS_QUIRKS?b+"px":b-(null!=h?h:32)+"px";mxClient.IS_QUIRKS&&(a.style.height=EditorUi.compactUi?"24px":"26px");EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left="24px",a.getElementsByTagName("img")[0].style.top=
- "5px",a.style.width=mxClient.IS_QUIRKS?d+"px":d-10+"px")};Toolbar.prototype.setFontName=function(a){null!=this.fontMenu&&(this.fontMenu.innerHTML='<div style="width:60px;overflow:hidden;display:inline-block;">'+mxUtils.htmlEntities(a)+"</div>"+this.dropdownImageHtml)};Toolbar.prototype.setFontSize=function(a){null!=this.sizeMenu&&(this.sizeMenu.innerHTML='<div style="width:24px;overflow:hidden;display:inline-block;">'+a+"</div>"+this.dropdownImageHtml)};
- Toolbar.prototype.createTextToolbar=function(){var a=this.editorUi.editor.graph,c=this.addMenu("",mxResources.get("style"),!0,"formatBlock");c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML=mxResources.get("style")+this.dropdownImageHtml;EditorUi.compactUi&&(c.style.paddingRight="18px",c.getElementsByTagName("img")[0].style.right="1px",c.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.fontMenu=this.addMenu("",mxResources.get("fontFamily"),
- !0,"fontFamily");this.fontMenu.style.position="relative";this.fontMenu.style.whiteSpace="nowrap";this.fontMenu.style.overflow="hidden";this.fontMenu.style.width=mxClient.IS_QUIRKS?"80px":"60px";this.setFontName(Menus.prototype.defaultFont);EditorUi.compactUi&&(this.fontMenu.style.paddingRight="18px",this.fontMenu.getElementsByTagName("img")[0].style.right="1px",this.fontMenu.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.sizeMenu=this.addMenu(Menus.prototype.defaultFontSize,
- mxResources.get("fontSize"),!0,"fontSize");this.sizeMenu.style.position="relative";this.sizeMenu.style.whiteSpace="nowrap";this.sizeMenu.style.overflow="hidden";this.sizeMenu.style.width=mxClient.IS_QUIRKS?"44px":"24px";this.setFontSize(Menus.prototype.defaultFontSize);EditorUi.compactUi&&(this.sizeMenu.style.paddingRight="18px",this.sizeMenu.getElementsByTagName("img")[0].style.right="1px",this.sizeMenu.getElementsByTagName("img")[0].style.top="5px");c=this.addItems("- undo redo - bold italic underline".split(" "));
- c[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");c[2].setAttribute("title",mxResources.get("redo")+" ("+this.editorUi.actions.get("redo").shortcut+")");c[4].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");c[5].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");c[6].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+
- ")");c=this.addMenuFunction("",mxResources.get("align"),!1,mxUtils.bind(this,function(a){d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyleft",!1,null)}),null,"geIcon geSprite geSprite-left");d.setAttribute("title",mxResources.get("left"));d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifycenter",!1,null)}),null,"geIcon geSprite geSprite-center");d.setAttribute("title",mxResources.get("center"));d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyright",
- !1,null)}),null,"geIcon geSprite geSprite-right");d.setAttribute("title",mxResources.get("right"));d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyfull",!1,null)}),null,"geIcon geSprite geSprite-justifyfull");d.setAttribute("title",mxResources.get("justifyfull"));d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}),null,"geIcon geSprite geSprite-orderedlist");d.setAttribute("title",mxResources.get("numberedList"));d=a.addItem("",
- null,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}),null,"geIcon geSprite geSprite-unorderedlist");d.setAttribute("title",mxResources.get("bulletedList"));d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}),null,"geIcon geSprite geSprite-outdent");d.setAttribute("title",mxResources.get("decreaseIndent"));d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("indent",!1,null)}),null,"geIcon geSprite geSprite-indent");
- d.setAttribute("title",mxResources.get("increaseIndent"))}));c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML='<div class="geSprite geSprite-left" style="margin-left:-2px;"></div>'+this.dropdownImageHtml;c.style.width=mxClient.IS_QUIRKS?"50px":"30px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="22px",c.getElementsByTagName("img")[0].style.top="5px");c=this.addMenuFunction("",mxResources.get("format"),!1,mxUtils.bind(this,function(a){d=
- a.addItem("",null,this.editorUi.actions.get("subscript").funct,null,"geIcon geSprite geSprite-subscript");d.setAttribute("title",mxResources.get("subscript")+" (Ctrl+,)");d=a.addItem("",null,this.editorUi.actions.get("superscript").funct,null,"geIcon geSprite geSprite-superscript");d.setAttribute("title",mxResources.get("superscript")+" (Ctrl+.)");d=a.addItem("",null,this.editorUi.actions.get("fontColor").funct,null,"geIcon geSprite geSprite-fontcolor");d.setAttribute("title",mxResources.get("fontColor"));
- d=a.addItem("",null,this.editorUi.actions.get("backgroundColor").funct,null,"geIcon geSprite geSprite-fontbackground");d.setAttribute("title",mxResources.get("backgroundColor"));d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}),null,"geIcon geSprite geSprite-removeformat");d.setAttribute("title",mxResources.get("removeFormat"))}));c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML='<div class="geSprite geSprite-dots" style="margin-left:-2px;"></div>'+
- this.dropdownImageHtml;c.style.width=mxClient.IS_QUIRKS?"50px":"30px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="22px",c.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.addButton("geIcon geSprite geSprite-code",mxResources.get("html"),function(){a.cellEditor.toggleViewMode();0<a.cellEditor.textarea.innerHTML.length&&(" "!=a.cellEditor.textarea.innerHTML||!a.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",
- !1,null)})});this.addSeparator();c=this.addMenuFunction("",mxResources.get("insert"),!0,mxUtils.bind(this,function(a){a.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));a.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));a.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",!1,null)}))}));
- c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.position="relative";c.innerHTML='<div class="geSprite geSprite-plus" style="margin-left:-4px;margin-top:-3px;"></div>'+this.dropdownImageHtml;c.style.width=mxClient.IS_QUIRKS?"36px":"16px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="24px",c.getElementsByTagName("img")[0].style.top="5px",c.style.width=mxClient.IS_QUIRKS?"50px":"30px");this.addSeparator();var d=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),
- !1,mxUtils.bind(this,function(b){var c=a.getSelectedElement(),d=a.getParentByName(c,"TD",a.cellEditor.text2),h=a.getParentByName(c,"TR",a.cellEditor.text2);if(null==h)this.editorUi.menus.addInsertTableItem(b);else{var g=a.getParentByName(h,"TABLE",a.cellEditor.text2),c=b.addItem("",null,mxUtils.bind(this,function(){try{a.selectNode(a.insertColumn(g,null!=d?d.cellIndex:0))}catch(k){mxUtils.alert(mxResources.get("error")+": "+k.message)}}),null,"geIcon geSprite geSprite-insertcolumnbefore");c.setAttribute("title",
- mxResources.get("insertColumnBefore"));c=b.addItem("",null,mxUtils.bind(this,function(){try{a.selectNode(a.insertColumn(g,null!=d?d.cellIndex+1:-1))}catch(k){mxUtils.alert(mxResources.get("error")+": "+k.message)}}),null,"geIcon geSprite geSprite-insertcolumnafter");c.setAttribute("title",mxResources.get("insertColumnAfter"));c=b.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=d)try{a.deleteColumn(g,d.cellIndex)}catch(k){mxUtils.alert(mxResources.get("error")+": "+k.message)}}),
- null,"geIcon geSprite geSprite-deletecolumn");c.setAttribute("title",mxResources.get("deleteColumn"));c=b.addItem("",null,mxUtils.bind(this,function(){try{a.selectNode(a.insertRow(g,h.sectionRowIndex))}catch(k){mxUtils.alert(mxResources.get("error")+": "+k.message)}}),null,"geIcon geSprite geSprite-insertrowbefore");c.setAttribute("title",mxResources.get("insertRowBefore"));c=b.addItem("",null,mxUtils.bind(this,function(){try{a.selectNode(a.insertRow(g,h.sectionRowIndex+1))}catch(k){mxUtils.alert(mxResources.get("error")+
- ": "+k.message)}}),null,"geIcon geSprite geSprite-insertrowafter");c.setAttribute("title",mxResources.get("insertRowAfter"));c=b.addItem("",null,mxUtils.bind(this,function(){try{a.deleteRow(g,h.sectionRowIndex)}catch(k){mxUtils.alert(mxResources.get("error")+": "+k.message)}}),null,"geIcon geSprite geSprite-deleterow");c.setAttribute("title",mxResources.get("deleteRow"));c=b.addItem("",null,mxUtils.bind(this,function(){var a=g.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,
- function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){null==a||a==mxConstants.NONE?(g.removeAttribute("border"),g.style.border="",g.style.borderCollapse=""):(g.setAttribute("border","1"),g.style.border="1px solid "+a,g.style.borderCollapse="collapse")})}),null,"geIcon geSprite geSprite-strokecolor");c.setAttribute("title",mxResources.get("borderColor"));c=b.addItem("",
- null,mxUtils.bind(this,function(){var a=g.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){g.style.backgroundColor=null==a||a==mxConstants.NONE?"":a})}),null,"geIcon geSprite geSprite-fillcolor");c.setAttribute("title",mxResources.get("backgroundColor"));c=b.addItem("",null,mxUtils.bind(this,
- function(){var a=g.getAttribute("cellPadding")||0,a=new FilenameDialog(this.editorUi,a,mxResources.get("apply"),mxUtils.bind(this,function(a){null!=a&&0<a.length?g.setAttribute("cellPadding",a):g.removeAttribute("cellPadding")}),mxResources.get("spacing"));this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}),null,"geIcon geSprite geSprite-fit");c.setAttribute("title",mxResources.get("spacing"));c=b.addItem("",null,mxUtils.bind(this,function(){g.setAttribute("align","left")}),null,"geIcon geSprite geSprite-left");
- c.setAttribute("title",mxResources.get("left"));c=b.addItem("",null,mxUtils.bind(this,function(){g.setAttribute("align","center")}),null,"geIcon geSprite geSprite-center");c.setAttribute("title",mxResources.get("center"));c=b.addItem("",null,mxUtils.bind(this,function(){g.setAttribute("align","right")}),null,"geIcon geSprite geSprite-right");c.setAttribute("title",mxResources.get("right"))}}));d.style.position="relative";d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.innerHTML='<div class="geSprite geSprite-table" style="margin-left:-2px;"></div>'+
- this.dropdownImageHtml;d.style.width=mxClient.IS_QUIRKS?"50px":"30px";EditorUi.compactUi&&(d.getElementsByTagName("img")[0].style.left="22px",d.getElementsByTagName("img")[0].style.top="5px")};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Toolbar.prototype.addMenu=function(a,c,d,b,e,f){var h=this.editorUi.menus.get(b),g=this.addMenuFunction(a,c,d,function(){h.funct.apply(h,arguments)},e,f);h.addListener("stateChanged",function(){g.setEnabled(h.enabled)});return g};
- Toolbar.prototype.addMenuFunction=function(a,c,d,b,e,f){return this.addMenuFunctionInContainer(null!=e?e:this.container,a,c,d,b,f)};Toolbar.prototype.addMenuFunctionInContainer=function(a,c,d,b,e,f){c=b?this.createLabel(c):this.createButton(c);this.initElement(c,d);this.addMenuHandler(c,b,e,f);a.appendChild(c);return c};Toolbar.prototype.addSeparator=function(a){a=null!=a?a:this.container;var c=document.createElement("div");c.className="geSeparator";a.appendChild(c);return c};
- Toolbar.prototype.addItems=function(a,c,d){for(var b=[],e=0;e<a.length;e++){var f=a[e];"-"==f?b.push(this.addSeparator(c)):b.push(this.addItem("geSprite-"+f.toLowerCase(),f,c,d))}return b};Toolbar.prototype.addItem=function(a,c,d,b){var e=this.editorUi.actions.get(c),f=null;null!=e&&(c=e.label,null!=e.shortcut&&(c+=" ("+e.shortcut+")"),f=this.addButton(a,c,e.funct,d),b||(f.setEnabled(e.enabled),e.addListener("stateChanged",function(){f.setEnabled(e.enabled)})));return f};
- Toolbar.prototype.addButton=function(a,c,d,b){a=this.createButton(a);b=null!=b?b:this.container;this.initElement(a,c);this.addClickHandler(a,d);b.appendChild(a);return a};Toolbar.prototype.initElement=function(a,c){null!=c&&a.setAttribute("title",c);this.addEnabledState(a)};Toolbar.prototype.addEnabledState=function(a){var c=a.className;a.setEnabled=function(d){a.enabled=d;a.className=d?c:c+" mxDisabled"};a.setEnabled(!0)};
- Toolbar.prototype.addClickHandler=function(a,c){null!=c&&(mxEvent.addListener(a,"click",function(d){a.enabled&&c(d);mxEvent.consume(d)}),null!=document.documentMode&&9<=document.documentMode&&mxEvent.addListener(a,"mousedown",function(a){a.preventDefault()}))};Toolbar.prototype.createButton=function(a){var c=document.createElement("a");c.setAttribute("href","javascript:void(0);");c.className="geButton";var d=document.createElement("div");null!=a&&(d.className="geSprite "+a);c.appendChild(d);return c};
- Toolbar.prototype.createLabel=function(a,c){var d=document.createElement("a");d.setAttribute("href","javascript:void(0);");d.className="geLabel";mxUtils.write(d,a);return d};
- Toolbar.prototype.addMenuHandler=function(a,c,d,b){if(null!=d){var e=this.editorUi.editor.graph,f=null,h=!0;mxEvent.addListener(a,"click",mxUtils.bind(this,function(g){if(h&&(null==a.enabled||a.enabled)){e.popupMenuHandler.hideMenu();f=new mxPopupMenu(d);f.div.className+=" geToolbarMenu";f.showDisabled=b;f.labels=c;f.autoExpand=!0;var k=mxUtils.getOffset(a);f.popup(k.x,k.y+a.offsetHeight,null,g);this.editorUi.setCurrentMenu(f,a);!c&&f.div.scrollHeight>f.div.clientHeight&&(f.div.style.width="40px");
- f.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(f,arguments);this.editorUi.resetCurrentMenu();f.destroy()});f.addListener(mxEvent.EVENT_HIDE,mxUtils.bind(this,function(){this.currentElt=null}))}h=!0;mxEvent.consume(g)}));mxEvent.addListener(a,"mousedown",mxUtils.bind(this,function(b){h=this.currentElt!=a;null!=document.documentMode&&9<=document.documentMode&&b.preventDefault()}))}};
- Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.frameBorder="0";var c=mxClient.IS_VML&&(null==document.documentMode||8>document.documentMode)?20:0;a.setAttribute("width",(Editor.useLocalStorage?640:320)+c+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+c+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=
- function(a,c,d,b){function e(){var a=f(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);a.style.marginBottom="8px";return a}function f(a,b,c,d){b=null!=b?b:12;var f=document.createElement("table");f.style.borderCollapse="collapse";f.setAttribute("cellspacing","0");f.style.marginBottom="20px";f.style.cellSpacing="0px";var k=document.createElement("tbody");f.appendChild(k);for(var m=a.length/b,n=0;n<m;n++){for(var p=document.createElement("tr"),q=0;q<b;q++)(function(a){var b=
- document.createElement("td");b.style.border="1px solid black";b.style.padding="0px";b.style.width="16px";b.style.height="16px";null==a&&(a=c);"none"==a?b.style.background="url('"+Dialog.prototype.noColorImage+"')":b.style.backgroundColor="#"+a;p.appendChild(b);null!=a&&(b.style.cursor="pointer",mxEvent.addListener(b,"click",function(){"none"==a?(g.fromString("ffffff"),h.value="none"):g.fromString(a)}))})(a[n*b+q]);k.appendChild(p)}d&&(a=document.createElement("td"),a.setAttribute("title",mxResources.get("reset")),
- a.style.border="1px solid black",a.style.padding="0px",a.style.width="16px",a.style.height="16px",a.style.backgroundImage="url('"+Dialog.prototype.closeImage+"')",a.style.backgroundPosition="center center",a.style.backgroundRepeat="no-repeat",a.style.cursor="pointer",p.appendChild(a),mxEvent.addListener(a,"click",function(){ColorDialog.resetRecentColors();f.parentNode.replaceChild(e(),f)}));l.appendChild(f);return f}this.editorUi=a;var h=document.createElement("input");h.style.marginBottom="10px";
- h.style.width="216px";mxClient.IS_IE&&(h.style.marginTop="10px",document.body.appendChild(h));this.init=function(){mxClient.IS_TOUCH||h.focus()};var g=new jscolor.color(h);g.pickerOnfocus=!1;g.showPicker();var k=document.createElement("div");jscolor.picker.box.style.position="relative";jscolor.picker.box.style.width="230px";jscolor.picker.box.style.height="100px";jscolor.picker.box.style.paddingBottom="10px";k.appendChild(jscolor.picker.box);var l=document.createElement("center");k.appendChild(h);
- mxUtils.br(k);e();var m=f(this.presetColors);m.style.marginBottom="8px";m=f(this.defaultColors);m.style.marginBottom="16px";k.appendChild(l);m=document.createElement("div");m.style.textAlign="right";m.style.whiteSpace="nowrap";var n=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=b&&b()});n.className="geBtn";a.editor.cancelFirst&&m.appendChild(n);var p=null!=d?d:this.createApplyFunction();d=mxUtils.button(mxResources.get("apply"),function(){var b=h.value;ColorDialog.addRecentColor(b,
- 12);"none"!=b&&"#"!=b.charAt(0)&&(b="#"+b);p(b);a.hideDialog()});d.className="geBtn gePrimaryBtn";m.appendChild(d);a.editor.cancelFirst||m.appendChild(n);null!=c&&("none"==c?(g.fromString("ffffff"),h.value="none"):g.fromString(c));k.appendChild(m);this.picker=g;this.colorInput=h;mxEvent.addListener(k,"keydown",function(c){27==c.keyCode&&(a.hideDialog(),null!=b&&b(),mxEvent.consume(c))});this.container=k};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");
- ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");
- ColorDialog.prototype.createApplyFunction=function(){return mxUtils.bind(this,function(a){var c=this.editorUi.editor.graph;c.getModel().beginUpdate();try{c.setCellStyles(this.currentColorKey,a),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[this.currentColorKey],"values",[a],"cells",c.getSelectionCells()))}finally{c.getModel().endUpdate()}})};ColorDialog.recentColors=[];
- ColorDialog.addRecentColor=function(a,c){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,a),ColorDialog.recentColors.length>=c&&ColorDialog.recentColors.pop())};ColorDialog.resetRecentColors=function(){ColorDialog.recentColors=[]};
- var AboutDialog=function(a){var c=document.createElement("div");c.setAttribute("align","center");var d=document.createElement("h3");mxUtils.write(d,mxResources.get("about")+" GraphEditor");c.appendChild(d);d=document.createElement("img");d.style.border="0px";d.setAttribute("width","176");d.setAttribute("width","151");d.setAttribute("src",IMAGE_PATH+"/logo.png");c.appendChild(d);mxUtils.br(c);mxUtils.write(c,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(c);d=document.createElement("a");d.setAttribute("href",
- "http://www.jgraph.com/");d.setAttribute("target","_blank");mxUtils.write(d,"www.jgraph.com");c.appendChild(d);mxUtils.br(c);mxUtils.br(c);d=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});d.className="geBtn gePrimaryBtn";c.appendChild(d);this.container=c},FilenameDialog=function(a,c,d,b,e,f,h,g,k,l){k=null!=k?k:!0;var m,n,p=document.createElement("table"),q=document.createElement("tbody");p.style.marginTop="8px";m=document.createElement("tr");n=document.createElement("td");n.style.whiteSpace=
- "nowrap";n.style.fontSize="10pt";n.style.width="120px";mxUtils.write(n,(e||mxResources.get("filename"))+":");m.appendChild(n);var r=document.createElement("input");r.setAttribute("value",c||"");r.style.marginLeft="4px";r.style.width="180px";var t=mxUtils.button(d,function(){if(null==f||f(r.value))k&&a.hideDialog(),b(r.value)});t.className="geBtn gePrimaryBtn";this.init=function(){if(null!=e||null==h)if(r.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?r.select():document.execCommand("selectAll",
- !1,null),Graph.fileSupport){var a=p.parentNode,b=null;mxEvent.addListener(a,"dragleave",function(a){null!=b&&(b.style.backgroundColor="",b=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(a,"dragover",mxUtils.bind(this,function(a){null==b&&(!mxClient.IS_IE||10<document.documentMode)&&(b=r,b.style.backgroundColor="#ebf2f9");a.stopPropagation();a.preventDefault()}));mxEvent.addListener(a,"drop",mxUtils.bind(this,function(a){null!=b&&(b.style.backgroundColor="",b=null);0<=mxUtils.indexOf(a.dataTransfer.types,
- "text/uri-list")&&(r.value=decodeURIComponent(a.dataTransfer.getData("text/uri-list")),t.click());a.stopPropagation();a.preventDefault()}))}};n=document.createElement("td");n.appendChild(r);m.appendChild(n);null==e&&null!=h||q.appendChild(m);null!=h&&(m=document.createElement("tr"),n=document.createElement("td"),n.colSpan=2,n.appendChild(h),m.appendChild(n),q.appendChild(m));m=document.createElement("tr");n=document.createElement("td");n.colSpan=2;n.style.paddingTop="20px";n.style.whiteSpace="nowrap";
- n.setAttribute("align","right");c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=l&&l()});c.className="geBtn";a.editor.cancelFirst&&n.appendChild(c);null!=g&&(d=mxUtils.button(mxResources.get("help"),function(){window.open(g)}),d.className="geBtn",n.appendChild(d));mxEvent.addListener(r,"keypress",function(a){13==a.keyCode&&t.click()});n.appendChild(t);a.editor.cancelFirst||n.appendChild(c);m.appendChild(n);q.appendChild(m);p.appendChild(q);this.container=p},TextareaDialog=
- function(a,c,d,b,e,f,h,g,k,l,m,n){h=null!=h?h:300;g=null!=g?g:120;l=null!=l?l:!1;var p,q,r=document.createElement("table"),t=document.createElement("tbody");p=document.createElement("tr");q=document.createElement("td");q.style.fontSize="10pt";q.style.width="100px";mxUtils.write(q,c);p.appendChild(q);t.appendChild(p);p=document.createElement("tr");q=document.createElement("td");var u=document.createElement("textarea");m&&u.setAttribute("wrap","off");u.setAttribute("spellcheck","false");u.setAttribute("autocorrect",
- "off");u.setAttribute("autocomplete","off");u.setAttribute("autocapitalize","off");mxUtils.write(u,d||"");u.style.resize="none";u.style.width=h+"px";u.style.height=g+"px";this.textarea=u;this.init=function(){u.focus();u.scrollTop=0};q.appendChild(u);p.appendChild(q);t.appendChild(p);p=document.createElement("tr");q=document.createElement("td");q.style.paddingTop="14px";q.style.whiteSpace="nowrap";q.setAttribute("align","right");c=mxUtils.button(f||mxResources.get("cancel"),function(){a.hideDialog();
- null!=e&&e()});c.className="geBtn";a.editor.cancelFirst&&q.appendChild(c);null!=k&&k(q);null!=b&&(k=mxUtils.button(n||mxResources.get("apply"),function(){l||a.hideDialog();b(u.value)}),k.className="geBtn gePrimaryBtn",q.appendChild(k));a.editor.cancelFirst||q.appendChild(c);p.appendChild(q);t.appendChild(p);r.appendChild(t);this.container=r},EditDiagramDialog=function(a){var c=document.createElement("div");c.style.textAlign="right";var d=document.createElement("textarea");d.setAttribute("wrap","off");
- d.setAttribute("spellcheck","false");d.setAttribute("autocorrect","off");d.setAttribute("autocomplete","off");d.setAttribute("autocapitalize","off");d.style.overflow="auto";d.style.resize="none";d.style.width="600px";d.style.height="370px";d.style.marginBottom="16px";d.value=mxUtils.getPrettyXml(a.editor.getGraphXml());c.appendChild(d);this.init=function(){d.focus()};Graph.fileSupport&&(d.addEventListener("dragover",function(a){a.stopPropagation();a.preventDefault()},!1),d.addEventListener("drop",
- function(b){b.stopPropagation();b.preventDefault();if(0<b.dataTransfer.files.length){b=b.dataTransfer.files[0];var c=new FileReader;c.onload=function(a){d.value=a.target.result};c.readAsText(b)}else d.value=a.extractGraphModelFromEvent(b)},!1));var b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});b.className="geBtn";a.editor.cancelFirst&&c.appendChild(b);var e=document.createElement("select");e.style.width="180px";e.className="geBtn";if(a.editor.graph.isEnabled()){var f=document.createElement("option");
- f.setAttribute("value","replace");mxUtils.write(f,mxResources.get("replaceExistingDrawing"));e.appendChild(f)}f=document.createElement("option");f.setAttribute("value","new");mxUtils.write(f,mxResources.get("openInNewWindow"));EditDiagramDialog.showNewWindowOption&&e.appendChild(f);a.editor.graph.isEnabled()&&(f=document.createElement("option"),f.setAttribute("value","import"),mxUtils.write(f,mxResources.get("addToExistingDrawing")),e.appendChild(f));c.appendChild(e);f=mxUtils.button(mxResources.get("ok"),
- function(){var b=a.editor.graph.zapGremlins(mxUtils.trim(d.value)),c=null;if("new"==e.value)window.openFile=new OpenFile(function(){a.hideDialog();window.openFile=null}),window.openFile.setData(b,null),window.open(a.getUrl());else if("replace"==e.value){a.editor.graph.model.beginUpdate();try{a.editor.setGraphXml(mxUtils.parseXml(b).documentElement),a.hideDialog()}catch(n){c=n}finally{a.editor.graph.model.endUpdate()}}else if("import"==e.value){a.editor.graph.model.beginUpdate();try{var f=mxUtils.parseXml(b),
- l=new mxGraphModel;(new mxCodec(f)).decode(f.documentElement,l);var m=l.getChildren(l.getChildAt(l.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(m));a.hideDialog()}catch(n){c=n}finally{a.editor.graph.model.endUpdate()}}null!=c&&mxUtils.alert(c.message)});f.className="geBtn gePrimaryBtn";c.appendChild(f);a.editor.cancelFirst||c.appendChild(b);this.container=c};EditDiagramDialog.showNewWindowOption=!0;
- var ExportDialog=function(a){function c(){var a=m.value,b=a.lastIndexOf(".");m.value=0<b?a.substring(0,b+1)+n.value:a+"."+n.value;"xml"===n.value?(p.setAttribute("disabled","true"),q.setAttribute("disabled","true"),r.setAttribute("disabled","true"),u.setAttribute("disabled","true")):(p.removeAttribute("disabled"),q.removeAttribute("disabled"),r.removeAttribute("disabled"),u.removeAttribute("disabled"));"png"===n.value||"svg"===n.value?t.removeAttribute("disabled"):t.setAttribute("disabled","disabled")}
- function d(){q.style.backgroundColor=q.value*r.value>MAX_AREA||0>=q.value?"red":"";r.style.backgroundColor=q.value*r.value>MAX_AREA||0>=r.value?"red":""}var b=a.editor.graph,e=b.getGraphBounds(),f=b.view.scale,h=Math.ceil(e.width/f),g=Math.ceil(e.height/f),k,f=document.createElement("table"),l=document.createElement("tbody");f.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");e=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";k.style.width="100px";mxUtils.write(k,
- mxResources.get("filename")+":");e.appendChild(k);var m=document.createElement("input");m.setAttribute("value",a.editor.getOrCreateFilename());m.style.width="180px";k=document.createElement("td");k.appendChild(m);e.appendChild(k);l.appendChild(e);e=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("format")+":");e.appendChild(k);var n=document.createElement("select");n.style.width="180px";k=document.createElement("option");k.setAttribute("value",
- "png");mxUtils.write(k,mxResources.get("formatPng"));n.appendChild(k);k=document.createElement("option");ExportDialog.showGifOption&&(k.setAttribute("value","gif"),mxUtils.write(k,mxResources.get("formatGif")),n.appendChild(k));k=document.createElement("option");k.setAttribute("value","jpg");mxUtils.write(k,mxResources.get("formatJpg"));n.appendChild(k);k=document.createElement("option");k.setAttribute("value","pdf");mxUtils.write(k,mxResources.get("formatPdf"));n.appendChild(k);k=document.createElement("option");
- k.setAttribute("value","svg");mxUtils.write(k,mxResources.get("formatSvg"));n.appendChild(k);ExportDialog.showXmlOption&&(k=document.createElement("option"),k.setAttribute("value","xml"),mxUtils.write(k,mxResources.get("formatXml")),n.appendChild(k));k=document.createElement("td");k.appendChild(n);e.appendChild(k);l.appendChild(e);e=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("zoom")+" (%):");e.appendChild(k);var p=document.createElement("input");
- p.setAttribute("type","number");p.setAttribute("value","100");p.style.width="180px";k=document.createElement("td");k.appendChild(p);e.appendChild(k);l.appendChild(e);e=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("width")+":");e.appendChild(k);var q=document.createElement("input");q.setAttribute("value",h);q.style.width="180px";k=document.createElement("td");k.appendChild(q);e.appendChild(k);l.appendChild(e);e=document.createElement("tr");
- k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("height")+":");e.appendChild(k);var r=document.createElement("input");r.setAttribute("value",g);r.style.width="180px";k=document.createElement("td");k.appendChild(r);e.appendChild(k);l.appendChild(e);e=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("background")+":");e.appendChild(k);var t=document.createElement("input");t.setAttribute("type",
- "checkbox");t.checked=null==b.background||b.background==mxConstants.NONE;k=document.createElement("td");k.appendChild(t);mxUtils.write(k,mxResources.get("transparent"));e.appendChild(k);l.appendChild(e);e=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("borderWidth")+":");e.appendChild(k);var u=document.createElement("input");u.setAttribute("type","number");u.setAttribute("value",ExportDialog.lastBorderValue);u.style.width="180px";
- k=document.createElement("td");k.appendChild(u);e.appendChild(k);l.appendChild(e);f.appendChild(l);mxEvent.addListener(n,"change",c);c();mxEvent.addListener(p,"change",function(){var a=Math.max(0,parseFloat(p.value)||100)/100;p.value=parseFloat((100*a).toFixed(2));0<h?(q.value=Math.floor(h*a),r.value=Math.floor(g*a)):(p.value="100",q.value=h,r.value=g);d()});mxEvent.addListener(q,"change",function(){var a=parseInt(q.value)/h;0<a?(p.value=parseFloat((100*a).toFixed(2)),r.value=Math.floor(g*a)):(p.value=
- "100",q.value=h,r.value=g);d()});mxEvent.addListener(r,"change",function(){var a=parseInt(r.value)/g;0<a?(p.value=parseFloat((100*a).toFixed(2)),q.value=Math.floor(h*a)):(p.value="100",q.value=h,r.value=g);d()});e=document.createElement("tr");k=document.createElement("td");k.setAttribute("align","right");k.style.paddingTop="22px";k.colSpan=2;var v=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(p.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var c=
- m.value,d=n.value,e=Math.max(0,parseFloat(p.value)||100)/100,f=Math.max(0,parseInt(u.value)),g=b.background;if(("svg"==d||"png"==d)&&t.checked)g=null;else if(null==g||g==mxConstants.NONE)g="#ffffff";ExportDialog.lastBorderValue=f;ExportDialog.exportFile(a,c,d,g,e,f)}}));v.className="geBtn gePrimaryBtn";var x=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});x.className="geBtn";a.editor.cancelFirst?(k.appendChild(x),k.appendChild(v)):(k.appendChild(v),k.appendChild(x));e.appendChild(k);
- l.appendChild(e);f.appendChild(l);this.container=f};ExportDialog.lastBorderValue=0;ExportDialog.showGifOption=!0;ExportDialog.showXmlOption=!0;
- ExportDialog.exportFile=function(a,c,d,b,e,f){var h=a.editor.graph;if("xml"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),c,d);else if("svg"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(h.getSvg(b,e,f)),c,d);else{var g=h.getGraphBounds(),k=mxUtils.createXmlDocument(),l=k.createElement("output");k.appendChild(l);k=new mxXmlCanvas2D(l);k.translate(Math.floor((f/e-g.x)/h.view.scale),Math.floor((f/e-g.y)/h.view.scale));k.scale(e/h.view.scale);(new mxImageExport).drawState(h.getView().getState(h.model.root),
- k);l="xml="+encodeURIComponent(mxUtils.getXml(l));k=Math.ceil(g.width*e/h.view.scale+2*f);e=Math.ceil(g.height*e/h.view.scale+2*f);l.length<=MAX_REQUEST_SIZE&&k*e<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+d+"&filename="+encodeURIComponent(c)+"&bg="+(null!=b?b:"none")+"&w="+k+"&h="+e+"&"+l)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};
- ExportDialog.saveLocalFile=function(a,c,d,b){c.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponent(c)+"&filename="+encodeURIComponent(d)+"&format="+b)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge")),mxUtils.popup(xml))};
- var EditDataDialog=function(a,c){function d(){0<t.value.length?u.removeAttribute("disabled"):u.setAttribute("disabled","disabled")}var b=document.createElement("div"),e=a.editor.graph;b.style.height="310px";b.style.overflow="auto";var f=e.getModel().getValue(c);if(!mxUtils.isNode(f)){var h=mxUtils.createXmlDocument().createElement("object");h.setAttribute("label",f||"");f=h}var g=new mxForm("properties");g.table.style.width="100%";g.table.style.paddingRight="20px";for(var h=f.attributes,k=[],l=[],
- m=0,n=function(a,b){a.parentNode.style.marginRight="12px";var c=document.createElement("a"),d=mxUtils.createImage(Dialog.prototype.closeImage);d.style.height="9px";d.style.fontSize="9px";d.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";c.className="geButton";c.setAttribute("title",mxResources.get("delete"));c.style.margin="0px";c.style.width="14px";c.style.height="14px";c.style.fontSize="14px";c.style.cursor="pointer";c.style.marginLeft="6px";c.appendChild(d);d=function(a){return function(){for(var b=
- 0,c=0;c<k.length;c++){if(k[c]==a){l[c]=null;g.table.deleteRow(b);break}null!=l[c]&&b++}}}(b);mxEvent.addListener(c,"click",d);a.parentNode.style.whiteSpace="nowrap";a.parentNode.appendChild(c)},p=function(a,b,c){k[a]=b;l[a]=g.addTextarea(k[m]+":",c,2);l[a].style.width="100%";n(l[a],b)},q=[],r=0;r<h.length;r++)"label"!=h[r].nodeName&&"placeholders"!=h[r].nodeName&&q.push({name:h[r].nodeName,value:h[r].nodeValue});q.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0});for(r=0;r<q.length;r++)p(m,
- q[r].name,q[r].value),m++;b.appendChild(g.table);h=document.createElement("div");h.style.whiteSpace="nowrap";h.style.marginTop="6px";var t=document.createElement("input");t.setAttribute("placeholder",mxResources.get("enterPropertyName"));t.setAttribute("type","text");t.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"18":"22");t.style.marginLeft="2px";h.appendChild(t);b.appendChild(h);var u=mxUtils.button(mxResources.get("addProperty"),function(){var a=t.value;if(0<a.length&&"label"!=a&&"placeholders"!=
- a&&0>a.indexOf(":"))try{var b=mxUtils.indexOf(k,a);if(0<=b&&null!=l[b])l[b].focus();else{f.cloneNode(!1).setAttribute(a,"");0<=b&&(k.splice(b,1),l.splice(b,1));k.push(a);var c=g.addTextarea(a+":","",2);c.style.width="100%";l.push(c);n(c,a);c.focus()}t.value=""}catch(F){mxUtils.alert(F)}else mxUtils.alert(mxResources.get("invalidName"))});this.init=function(){0<l.length?l[0].focus():t.focus()};u.setAttribute("disabled","disabled");u.style.marginLeft="10px";u.style.width="144px";h.appendChild(u);h=
- mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});h.className="geBtn";p=mxUtils.button(mxResources.get("apply"),function(){try{a.hideDialog.apply(a,arguments);f=f.cloneNode(!0);for(var b=!1,d=0;d<k.length;d++)null==l[d]?f.removeAttribute(k[d]):(f.setAttribute(k[d],l[d].value),b=b||"placeholder"==k[d]&&"1"==f.getAttribute("placeholders"));b&&f.removeAttribute("label");e.getModel().setValue(c,f)}catch(E){mxUtils.alert(E)}});p.className="geBtn gePrimaryBtn";mxEvent.addListener(t,
- "keyup",d);mxEvent.addListener(t,"change",d);q=document.createElement("div");q.style.marginTop="18px";q.style.textAlign="right";if(a.editor.graph.getModel().isVertex(c)||a.editor.graph.getModel().isEdge(c)){r=document.createElement("span");r.style.marginRight="10px";var v=document.createElement("input");v.setAttribute("type","checkbox");v.style.marginRight="6px";"1"==f.getAttribute("placeholders")&&(v.setAttribute("checked","checked"),v.defaultChecked=!0);mxEvent.addListener(v,"click",function(){"1"==
- f.getAttribute("placeholders")?f.removeAttribute("placeholders"):f.setAttribute("placeholders","1")});r.appendChild(v);mxUtils.write(r,mxResources.get("placeholders"));if(null!=EditDataDialog.placeholderHelpLink){v=document.createElement("a");v.setAttribute("href",EditDataDialog.placeholderHelpLink);v.setAttribute("title",mxResources.get("help"));v.setAttribute("target","_blank");v.style.marginLeft="10px";v.style.cursor="help";var x=document.createElement("img");x.setAttribute("border","0");x.setAttribute("valign",
- "middle");x.style.marginTop=mxClient.IS_IE11?"0px":"-4px";x.setAttribute("src",Editor.helpImage);v.appendChild(x);r.appendChild(v)}q.appendChild(r)}a.editor.cancelFirst?(q.appendChild(h),q.appendChild(p)):(q.appendChild(p),q.appendChild(h));b.appendChild(q);this.container=b};EditDataDialog.placeholderHelpLink=null;
- var LinkDialog=function(a,c,d,b){var e=document.createElement("div");mxUtils.write(e,mxResources.get("editLink")+":");var f=document.createElement("div");f.className="geTitle";f.style.backgroundColor="transparent";f.style.borderColor="transparent";f.style.whiteSpace="nowrap";f.style.textOverflow="clip";f.style.cursor="default";mxClient.IS_VML||(f.style.paddingRight="20px");var h=document.createElement("input");h.setAttribute("value",c);h.setAttribute("placeholder","http://www.example.com/");h.setAttribute("type",
- "text");h.style.marginTop="6px";h.style.width="400px";h.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="100% 50%";h.style.paddingRight="14px";c=document.createElement("div");c.setAttribute("title",mxResources.get("reset"));c.style.position="relative";c.style.left="-16px";c.style.width="12px";c.style.height="14px";c.style.cursor="pointer";c.style.display=mxClient.IS_VML?"inline":"inline-block";c.style.top=(mxClient.IS_VML?
- 0:3)+"px";c.style.background="url("+IMAGE_PATH+"/transparent.gif)";mxEvent.addListener(c,"click",function(){h.value="";h.focus()});f.appendChild(h);f.appendChild(c);e.appendChild(f);this.init=function(){h.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?h.select():document.execCommand("selectAll",!1,null)};f=document.createElement("div");f.style.marginTop="18px";f.style.textAlign="right";mxEvent.addListener(h,"keypress",function(c){13==c.keyCode&&(a.hideDialog(),b(h.value))});
- c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});c.className="geBtn";a.editor.cancelFirst&&f.appendChild(c);d=mxUtils.button(d,function(){a.hideDialog();b(h.value)});d.className="geBtn gePrimaryBtn";f.appendChild(d);a.editor.cancelFirst||f.appendChild(c);e.appendChild(f);this.container=e},OutlineWindow=function(a,c,d,b,e){function f(){k.outline.pageScale=h.pageScale;k.outline.pageFormat=h.pageFormat;k.outline.pageVisible=h.pageVisible;k.outline.background=h.background;var a=
- mxUtils.getCurrentStyle(h.container);g.style.backgroundColor=a.backgroundColor;null!=h.view.backgroundPageShape&&null!=k.outline.view.backgroundPageShape&&(k.outline.view.backgroundPageShape.fill=h.view.backgroundPageShape.fill);k.outline.refresh()}var h=a.editor.graph,g=document.createElement("div");g.style.position="absolute";g.style.width="100%";g.style.height="100%";g.style.border="1px solid whiteSmoke";g.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),g,c,d,b,e,!0,
- !0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.setLocation=function(a,b){var c=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,
- arguments)};mxEvent.addListener(window,"resize",mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)}));var k=a.createOutline(this.window);this.window.addListener(mxEvent.RESIZE,mxUtils.bind(this,function(){k.update(!1);k.outline.sizeDidChange()}));this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){k.suspended=!1;k.outline.refresh();k.update()}));this.window.addListener(mxEvent.HIDE,mxUtils.bind(this,function(){k.suspended=!0}));this.window.addListener(mxEvent.NORMALIZE,
- mxUtils.bind(this,function(){k.suspended=!1;k.update()}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){k.suspended=!0}));var l=k.createGraph;k.createGraph=function(a){var b=l.apply(this,arguments);b.gridEnabled=!1;b.pageScale=h.pageScale;b.pageFormat=h.pageFormat;b.background=h.background;b.pageVisible=h.pageVisible;var c=mxUtils.getCurrentStyle(h.container);g.style.backgroundColor=c.backgroundColor;return b};k.init(g);a.editor.addListener("resetGraphView",f);a.addListener("pageFormatChanged",
- f);a.addListener("backgroundColorChanged",f);a.addListener("backgroundImageChanged",f);a.addListener("pageViewChanged",function(){f();k.update(!0)});if(k.outline.dialect==mxConstants.DIALECT_SVG){var m=a.actions.get("zoomIn"),n=a.actions.get("zoomOut");mxEvent.addMouseWheelListener(function(a,b){for(var c=!1,d=mxEvent.getSource(a);null!=d;){if(d==k.outline.view.canvas.ownerSVGElement){c=!0;break}d=d.parentNode}c&&(b?m.funct():n.funct(),mxEvent.consume(a))})}},LayersWindow=function(a,c,d,b,e){function f(b){if(g.isEnabled()&&
- null!=b){var c=new FilenameDialog(a,b.value||mxResources.get("background"),mxResources.get("rename"),mxUtils.bind(this,function(a){null!=a&&g.getModel().setValue(b,a)}),mxResources.get("enterName"));a.showDialog(c.container,300,100,!0,!0);c.init()}}function h(){function a(a,b,c,d){var e=document.createElement("div");e.className="geToolbarContainer";e.style.overflow="hidden";e.style.position="relative";e.style.padding="4px";e.style.height="22px";e.style.display="block";e.style.backgroundColor="whiteSmoke";
- e.style.borderWidth="0px 0px 1px 0px";e.style.borderColor="#c3c3c3";e.style.borderStyle="solid";e.style.whiteSpace="nowrap";var k=document.createElement("div");k.style.display="inline-block";k.style.width="100%";k.style.textOverflow="ellipsis";k.style.overflow="hidden";mxEvent.addListener(e,"dragover",function(b){b.dataTransfer.dropEffect="move";p=a;b.stopPropagation();b.preventDefault()});mxEvent.addListener(e,"dragstart",function(a){n=e;mxClient.IS_FF&&a.dataTransfer.setData("Text","<layer/>")});
- mxEvent.addListener(e,"dragend",function(a){null!=n&&null!=p&&g.addCell(c,g.model.root,p);p=n=null;a.stopPropagation();a.preventDefault()});var l=document.createElement("img");l.setAttribute("draggable","false");l.setAttribute("align","top");l.setAttribute("border","0");l.style.cursor="pointer";l.style.padding="4px";l.setAttribute("title",mxResources.get("lockUnlock"));var t=g.view.getState(c),u=null!=t?t.style:g.getCellStyle(c);"1"==mxUtils.getValue(u,"locked","0")?l.setAttribute("src",Dialog.prototype.lockedImage):
- l.setAttribute("src",Dialog.prototype.unlockedImage);mxEvent.addListener(l,"click",function(a){if(g.isEnabled()){var b=null;g.getModel().beginUpdate();try{b="1"==mxUtils.getValue(u,"locked","0")?null:"1",g.setCellStyles("locked",b,[c])}finally{g.getModel().endUpdate()}"1"==b&&g.removeSelectionCells(g.getModel().getDescendants(c));mxEvent.consume(a)}});k.appendChild(l);l=document.createElement("input");l.setAttribute("type","checkbox");l.setAttribute("title",mxResources.get("hideIt",[c.value||mxResources.get("background")]));
- l.style.marginLeft="4px";l.style.marginRight="6px";l.style.marginTop="4px";k.appendChild(l);g.isEnabled()||l.setAttribute("disabled","disabled");g.model.isVisible(c)&&(l.setAttribute("checked","checked"),l.defaultChecked=!0);mxEvent.addListener(l,"click",function(a){g.isEnabled()&&(g.model.setVisible(c,!g.model.isVisible(c)),mxEvent.consume(a))});mxUtils.write(k,b);e.appendChild(k);if(g.isEnabled()){if(mxClient.IS_TOUCH||mxClient.IS_POINTER||mxClient.IS_VML||mxClient.IS_IE&&10>document.documentMode)b=
- document.createElement("div"),b.style.display="block",b.style.textAlign="right",b.style.whiteSpace="nowrap",b.style.position="absolute",b.style.right="6px",b.style.top="6px",0<a&&(k=document.createElement("a"),k.setAttribute("title",mxResources.get("toBack")),k.className="geButton",k.style.cssFloat="none",k.innerHTML="▼",k.style.width="14px",k.style.height="14px",k.style.fontSize="14px",k.style.margin="0px",k.style.marginTop="-1px",b.appendChild(k),mxEvent.addListener(k,"click",function(b){g.isEnabled()&&
- g.addCell(c,g.model.root,a-1);mxEvent.consume(b)})),0<=a&&a<q-1&&(k=document.createElement("a"),k.setAttribute("title",mxResources.get("toFront")),k.className="geButton",k.style.cssFloat="none",k.innerHTML="▲",k.style.width="14px",k.style.height="14px",k.style.fontSize="14px",k.style.margin="0px",k.style.marginTop="-1px",b.appendChild(k),mxEvent.addListener(k,"click",function(b){g.isEnabled()&&g.addCell(c,g.model.root,a+1);mxEvent.consume(b)})),e.appendChild(b);mxClient.IS_SVG&&(!mxClient.IS_IE||
- 10<=document.documentMode)&&(e.setAttribute("draggable","true"),e.style.cursor="move")}mxEvent.addListener(e,"dblclick",function(a){var b=mxEvent.getSource(a).nodeName;"INPUT"!=b&&"IMG"!=b&&(f(c),mxEvent.consume(a))});g.getDefaultParent()==c?(e.style.background="#e6eff8",e.style.fontWeight="bold",r=c):mxEvent.addListener(e,"click",function(a){g.isEnabled()&&(g.setDefaultParent(d),g.view.setCurrentRoot(null),h())});m.appendChild(e)}q=g.model.getChildCount(g.model.root);m.innerHTML="";for(var b=q-1;0<=
- b;b--)mxUtils.bind(this,function(c){a(b,c.value||mxResources.get("background"),c,c)})(g.model.getChildAt(g.model.root,b));u.setAttribute("title",mxResources.get("removeIt",[r.value||mxResources.get("background")]));v.setAttribute("title",mxResources.get("moveSelectionTo",[r.value||mxResources.get("background")]));z.setAttribute("title",mxResources.get("duplicateIt",[r.value||mxResources.get("background")]));x.setAttribute("title",mxResources.get("renameIt",[r.value||mxResources.get("background")]));
- g.isSelectionEmpty()&&(v.className="geButton mxDisabled")}var g=a.editor.graph,k=document.createElement("div");k.style.userSelect="none";k.style.background="whiteSmoke";k.style.border="1px solid whiteSmoke";k.style.height="100%";k.style.marginBottom="10px";k.style.overflow="auto";var l=EditorUi.compactUi?"26px":"30px",m=document.createElement("div");m.style.backgroundColor="#e5e5e5";m.style.position="absolute";m.style.overflow="auto";m.style.left="0px";m.style.right="0px";m.style.top="0px";m.style.bottom=
- parseInt(l)+7+"px";k.appendChild(m);var n=null,p=null;mxEvent.addListener(k,"dragover",function(a){a.dataTransfer.dropEffect="move";p=0;a.stopPropagation();a.preventDefault()});mxEvent.addListener(k,"drop",function(a){a.stopPropagation();a.preventDefault()});var q=null,r=null,t=document.createElement("div");t.className="geToolbarContainer";t.style.position="absolute";t.style.bottom="0px";t.style.left="0px";t.style.right="0px";t.style.height=l;t.style.overflow="hidden";t.style.padding=EditorUi.compactUi?
- "4px 0px 3px 0px":"1px";t.style.backgroundColor="whiteSmoke";t.style.borderWidth="1px 0px 0px 0px";t.style.borderColor="#c3c3c3";t.style.borderStyle="solid";t.style.display="block";t.style.whiteSpace="nowrap";mxClient.IS_QUIRKS&&(t.style.filter="none");l=document.createElement("a");l.className="geButton";mxClient.IS_QUIRKS&&(l.style.filter="none");var u=l.cloneNode();u.innerHTML='<div class="geSprite geSprite-delete" style="display:inline-block;"></div>';mxEvent.addListener(u,"click",function(a){if(g.isEnabled()){g.model.beginUpdate();
- try{var b=g.model.root.getIndex(r);g.removeCells([r],!1);0==g.model.getChildCount(g.model.root)?(g.model.add(g.model.root,new mxCell),g.setDefaultParent(null)):0<b&&b<=g.model.getChildCount(g.model.root)?g.setDefaultParent(g.model.getChildAt(g.model.root,b-1)):g.setDefaultParent(null)}finally{g.model.endUpdate()}}mxEvent.consume(a)});g.isEnabled()||(u.className="geButton mxDisabled");t.appendChild(u);var v=l.cloneNode();v.innerHTML='<div class="geSprite geSprite-insert" style="display:inline-block;"></div>';
- mxEvent.addListener(v,"click",function(a){g.isEnabled()&&!g.isSelectionEmpty()&&g.moveCells(g.getSelectionCells(),0,0,!1,r)});t.appendChild(v);var x=l.cloneNode();x.innerHTML='<div class="geSprite geSprite-dots" style="display:inline-block;"></div>';x.setAttribute("title",mxResources.get("rename"));mxEvent.addListener(x,"click",function(a){g.isEnabled()&&f(r);mxEvent.consume(a)});g.isEnabled()||(x.className="geButton mxDisabled");t.appendChild(x);var z=l.cloneNode();z.innerHTML='<div class="geSprite geSprite-duplicate" style="display:inline-block;"></div>';
- mxEvent.addListener(z,"click",function(a){if(g.isEnabled()){a=null;g.model.beginUpdate();try{a=g.cloneCells([r])[0],a.value=mxResources.get("untitledLayer"),a.setVisible(!0),a=g.addCell(a,g.model.root),g.setDefaultParent(a)}finally{g.model.endUpdate()}null==a||g.isCellLocked(a)||g.selectAll(a)}});g.isEnabled()||(z.className="geButton mxDisabled");t.appendChild(z);l=l.cloneNode();l.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';l.setAttribute("title",mxResources.get("addLayer"));
- mxEvent.addListener(l,"click",function(a){if(g.isEnabled()){g.model.beginUpdate();try{var b=g.addCell(new mxCell(mxResources.get("untitledLayer")),g.model.root);g.setDefaultParent(b)}finally{g.model.endUpdate()}}mxEvent.consume(a)});g.isEnabled()||(l.className="geButton mxDisabled");t.appendChild(l);k.appendChild(t);h();g.model.addListener(mxEvent.CHANGE,function(){h()});g.selectionModel.addListener(mxEvent.CHANGE,function(){g.isSelectionEmpty()?v.className="geButton mxDisabled":v.className="geButton"});
- this.window=new mxWindow(mxResources.get("layers"),k,c,d,b,e,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.refreshLayers=h;this.window.setLocation=function(a,b){var c=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-this.table.clientWidth));b=Math.max(0,
- Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};mxEvent.addListener(window,"resize",mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)}))};
- (function(){Sidebar.prototype.tagIndex="5V1dV+M6sv01rDvngax0oLvveYQEaGaAziE0PW8sxVYSDbblI9uk6V9/VVWS7ST+kB0zL3etbmIn3ltlfZRKUqkU/rpRLN6MmFJym5yM/8QL/Xnw7yLceXQ03fA3JaOTyfjCQCKZehvu66tErCMW6J9E1M4jlJcFTJWIPP1VIKK1ixj/zML4VBRiTMaf9HOKx8G7/lwy71V/ZJEv8Vv8cKea9KW646tU41nk678/4tK7SZVu5FpC9oz/TDPVnkEPJlsn4wVma1lEnVemGByy6q+M+SXkSmaQ6Vv27gJeBDzyOQDMu1ma5FVEEVBEtuokgQhdyZ62Uv/9qWWoYPRltgx4A3U970/hc6BnIuD+kdI+KbGTcelGce6ec4evOBl/k0r8llGKtWBTvulF98xVKjzEvxWXDVS/M8VHF57Hk0TDpzpxJQGScC9TIoX3euXvVV/UcWWpDFkqsCYyfaM/1ly36vGfgVhv0oiasyfh7ypgyaaBaKHl5/nThqb5VeAvZEigXx8k0AolJJUkVjo7jGBOHFOm29Se3FZin6VsyRL42V+2U90z9crTOGAeIEK8Q1UCnMlGxk4CLWb/gsflKt0y/MLnbzyQccgjaIivAjgTT/Gtr4Quf9cXXWRLjRKxyRwvkBko75hHnjisPzUkP/kyESnHtwoAtQ7kkrehL7UyzUAtLrh6E5g7Nnn9iYo2SWW8ZVr1QYsTIW8gE+ll5kHWQlXGdr/Qug1Zl/RDe2O4FL+fWPBaiJSUZGoDT6HRYT3DN9Gdgy4agY3Q59gj+iIOdAOB/MmYYlHKqYp5PMLaFHMVirSSG2XYySnnZrGHNW19JdaZoiYxGV8LbGq+9DKsT0APT3Sk1ldzXaZszQvOpfzlkndUYodytAPDOEuxuocyEqlUmM+Jbm6HevkAq0sAW8+MB9BmQJs+8HQr1Wup3G2zL6uCetJZjXKofV7J+FLnUUWtxZyLTYa20FzpV1GxEgnVdxH4JOgyS0QECr4F3z3nEUHWUQfUjUi/ZUv7tjqTGaCkl0q6Wou0Ef9tdhslUBAn9Xq4GshZkG6gTmx0m8EqvuGoYzb4iwMYdDnVMcpbS2QM3TYB3mM0Sp71/0fuSVPf7lmki1d10DN3LE6x0/CKut+GuddVgGpRyFCtc/sZYS/Cm9FySdUj3sgIPlOZeZvWNAm1o0uTXH81UO3zZEEqQDkwD5q37t+zdAOqNe/RS/aJ6Tdi5purBt73xV930PiLapT8HTTXqz2Kh7JloQ26bIlVOtAl6dIY9uBPMhbeCdgtu/ZLJeEe1XdduTSPrpc6v9+TlIf64jakMpeQ9RumQFVr3YiV3vcb+eZyy9Viw4Ogl1p+nM2xmofSyNSdYgHjnSzA6m26fu+wTKtwYM30S1LXTkxPsYp0qp+nbu8yg271r4xnWM3/hoseBI+8qttygmLlSfLhZtmsS7CZUd1Kds295iT2m4dTh7aH0qLgF2QqGo5qVVdLtHiPvIp2mdDXinvvXtBgGhLRI4/1sJs09z5TqY6sRCNVqlU+2qxPDNuRuxm20MqLmqNOO3CqHRqxEGEclC3jNtATkMOLhFZpOynrH5FAc3UlcKRsbJHvy/9wD8iylUSFJHhrrfmRYBPaZCGDZ2Mu6QXolr3prFf16OdvsxOjqyqUVPXzVEngw+g2Qrur8WehCxWnqu71sE9gv/QWnrSalK00WglxllLFX+VXVaxv1TMae7yFcRrlV2059PNiNr2+wdxh60gmKamJ7trRDvIm4xsecYXqxI7z6sQ5pICWKDHp6jFiEyjpgtLioL1lU6MmSu3VHZm0QtcI1RVNeKNzGAFJgWOKBdVznGCrFreM/HKITETdyKkM/N9DIDf2cRv0kkURtlU9wqmbZi0/PyWLbc1lyFPVML+0A1ISRx9xkOHMcnWTLiNmB8o4kjikjlm8b+zuQa+bh2qVmG/Gis+HAYE2zZHj9dAqLgPvJXahkWNuP0g0zcIlzrGtpFoK369Qp4fI78Vsse53lGDRGrMlOTTcK/GLUGcjKBk0xzyUesPi+L0VaKqwwAyJsZa1QTJg91Gn6b9BZebsYZ4EWlt2PIafME3WhvvJUC5Te5e2Njdi/n1Ck0qQDos8HmD1qimQAitlmqT6ctQuZDXuvnbYFeZDs2aGrHO/ahjiEB4oTQTESnp0FepuPqhLWeNGFz7OU3sdshlglzYxrUSzgBfmUpPpU8LfSSohuypUtyJVgTLzrapCYpy/3+DL1HLo4Th1tUbgDZjTrfLmYw6DMgpLG2I0PG/UXEiQW/NOdmUJieZWIW7X2uGxpS6pFOc56RJq59+ZiCutggPcaHoJq215aQnIhaXijIqAeoxY7hd6Pc9k/OvTeBi2SZ1U2lbpyNMkVUe2s1qpcEWpG5OW6/NQdOd1ghkTpgtRg1wd2O6nlP+f9Z8vZxfwynOo0yIS1pbu8OYu/Ocu/NVvUEv/5QzTGH+Y/OUEhn0BCXOdv2nZeStgGca+Qv6L7k7ply5yV/GeD8QLo1fUJVis52OdLdW54KDcdgnh5SdDsZ1NSMYB+OZKdzeemUTU5L0JH3kifOr+pplSdm3E9EwTKCDlNXeHjlznnbgWmcIlpZ0X/QQUdT2COw2+VZ0Kd6fBVlGvct2JMGdqdWQlzxMsG9Lo4HwchpO8t1pWzpe2cgxAAVrpeJrPA7zNF9SNx/N87cjBBXSnvLwsp4dPfK3sokXMwDiMauCrQEoVB2i9Bey9fj1h7/HRJWrVmXWaWeIi7ipTkTAdgiPDQphRZj22Bi7lq0fTbl2h0w0Tqg9OxgJ1nM/N6pIbiuZFE7liXfNo+vgERvfzSXkOrzSvVyFHBcuMJ6842apogGJHR51E2SWhBdl+REqP2OxKZIIDgS1TvqL5thqqCp6rgOvhBuYDTzwWmGsXEa71wwPk6zVcaZ47FkIjrJ6EqIZWLa7GMGIMmfmrW7EkNyArDMx8JmnhXlRB+321oo7PVnGvtapXsMwFw7kK/T2OSkWUpKp6+rYKrf/QRJeC6XD9w7ZpIF8CKtBcndvXI4uwewNXTBbHgYD5lo7YSR8sXymxhuVQrDNd4QtSB57RDp0K6Mm0O58nzb3DPoRyycB6JGn8MI7Anx2JPz8S/7kvXgpa79KqQ9HSTcBQ/4Dq0CotVVIe+nbu0/xkKWrPqZS05LyFLzx75yLJzx01EPRQJJW0vr5Ab1tYrMEaHdBdYnvoZrEA9Gg9ZohAmVtHhi359DlmAzyd92ievajkqEH/qHu+GnJYvo0JiMiv9m2vyT6h9WtStVreDrmUaYqylUmW9stWHl2ZhEr0QArLCm8gZwSuUij6ur3sc1PQFH7uT92evohejWaqqiltuElXXLmm/j+A3FjIVhsDuAQF1ydoG5BfGf87K1xIBdNpVK4S5xSjiyiSqXUn+oTtLzTmgdat7X4fNUyTY5imMgjIJXajR7XrgFU4I1Yj9z1PktyDoh1a69DRhEJPs9MSNoQvnJbIC5I5i82MfOy0OrWPXxSlbhwbwJ6vXeg7gIOHiil9HgQiTuwsYHWjr8NPeuOloiEoiV5XaDXoLAyNw1gWeda9L4NqX7NyvM/wpG3jZMXLa0aqbhGSsAFn0UuozURaL35jQQYGiTYcOKvsWCqRo2sRiYS26NxI6cPaVypx9ktnQdhXoNENLhtzM0/kZ3aeyLjHkczYqnhzu9ph/Z6liSi5G+P6TyFokoHR3FRfd9ie9YiCNrGY5SezVumCvRCoMEGUr5BFNCpS1oeBfqvWtnoQpKSAWhFK3EnQpJrNw+T0/cv401zY3LzE1TG/bT23nQQGnZGvh73YYAcmnIx/bsw2i+oq1JX6WLqFriXpUPlYSTZEfrYSf1BG9KKdg180DntLtdt48jVOf1iCvzLhveoeWqIBnV8syacIb5f7q8qNJMaS60e0sM8le6A9vkYOrShobmsmEhgugo691r1yQrtqXCtFI4+uD6aMOhRWwTjHybOe4lhwLxn0ANpM+Z2Yib+G2aAcpGvuSvAABIZafAJ2Et22IcEVW4us6wfq+C6S7kDBQsCcas+wbYINImS/0R7YcrQGi10FbJvU4Ua6m3mxj9J+pQVnCqd2rEttYr9oSL+eB7bmXeu/IU+ZTzZPf+Ir4x9kPrpAF1cLSNL6C1tPo2LHhSPNww7N3t7JPmyTMb3VZPywRzZoIt+enuYfnYbdoTEY6187mW23DfShmYyLPT4DEf5l0UfT/bwu08B8uRnq9mGCZWRP+GSoDsZpvH57U5ppvhet7F6MNzSYt1dTGkgx8LsuqYaeVNrCuL+tIwxz53URloZcHchRr/00+20P07A7cftJPgO3BzSObqMkNTPyh4nQhoxi6C+Kh7umeGXIdYrzyrTE4d5rV+7GdziaNakWdy8rutDfP+5Q6uGXHqZnFasiznRQXfSQERvNwMTfZtcLB/4N88lR1Bd6tC6Wmg837JK1nNA2OOekn+dT/fCb2WwBbrLizezlPixWZ8bSBMBkfKP5KGDE8MncwhpdhPvfPzKZR2kWM4anfp4/4AqMtort1M9HJXJkDjXvPK59fDR7j1goZ+Ci5eNlH6zuA1JT24fiScpErMTelfGWWtwxQgHFjjzCtuJuPPlabFdZTK9hI4CU1LD5pjsLmKV+V7LRWsksxg1IcNHhDR5nYFYqnRg0I1Y7DGhmMD12qaM7njEng/2Y6I//yONAG9BDsy/0hb98H4T2Hv7QJtJBMyPfgD54Nn9XzMNV9SGpaSsqKq/cRu6MBdc0PRqMupDoGiLfYQUGNXqIARPglobh11LlMYfykB2l7wahxgrlvX5sEk9cZ8huDzRQKtakbzDk+1FCsCUTpGAQ6tuLe/08bUXGeA7Ms1uV8of6M2tpff8UM/Pjklg8LY7ij2R0alrmSxLrke4KNjZKlWGvuIKL9jaT+K844epjECUbNApnkPOgUeM/X3eCrRwyjB44eY2kUW34pDKElvowWzyKrfPim8g6prYrSdGFbPU290OwgmbZRoHEXmVmBwR7emHQ9K589FG7k96B/hk0nQWuRNKy6Ee92NUl1NrCPFkWAbhqXT7dWLX8EYuTjUw/LIFnGWQh/wD6BXjF5f1UsZTtMB/UxgtxO0xUsg9OYDJGlyEbzSFpS1HaoA990z06HU8knhzZKFZAVIpoVV/L92CjS6WtHnxx8r5FZ4xmPbZPYSMdQGbmEnRmuZ+BSxs5k2zBqQJpskiklWy1PIuQ4XrcZbGXdyOzpNmGIhLrhZhgucX6peINVyxIRreX0Gvda5tspRiF2Sk8FlPjIwyemeTOGHtHJCIiCOR0sTgfj3fTib1jX+DJSDoQaa0feE+++5K/Z4mSnEGL3N11JS8SdE9HeEra2FrFD0fVEJwXKwldJ25PbrDKdG6T+y2FbhlOcDth5Q1LnHvED0S48Kx/2FCEsd33NxRhFplVkqLAB2obiywGV+ucayDaPBLSTg7QOnlfSrsfbDAhf+w3rmPInvWoA13OtB5XbLiypwg8lxB5eMgqVVuZanqbKm6MWRxY9lBCxLhk9Gl8cwW+HVN5dYJRLrKWiYZmurNPX2FH4z9mJNcfpaWJPG5yYKpu6aZ3cv+m5HAb00cnVgRBzXdi39v8OjrjroXiW7JZiggXhh5ecLu4/2OIdA7Ih+C0URSHz/MioFee56VEdMY8L6Zn4/H4j64J+jq/IUgmzp+b6y6wEYxlgxIykG1Rnohhky3pFde0sAJNcHzJEg7bJCks5iZrXimpI5rC90ezHIe2hvdxLPtLT+vGRajDkGp7CYT67+hf/B0KezcseyPicb7Q//TPKq5zGD7AVEZwdULma3qeVjJ2S57b61YwSp+Hph8BE1dXDgpQOjcGb+4p2SrbAdM3KdPcbjaf3VnymLd5WP3beUk+j7fsaqrn9TkFJPQrFsNcGBZy1fn98ihC1q+7DaDQ1oZqouwycRukFLu3dNmOgkittj46JoQQiBge6qE3zdklpmeydmfxSwdGCKWYi9Gw3aQOW5ZhVeZyJcFB35Yvc2AIX5xYT8lmDuyBqGnbgCttmK3uIAKaf9iKlahB3CBCP+hRsMARW0IkMy8dzS7A6PXFWtBxF0yb1JJOhojg6IqKWFkNZDzMIFCirvAwwaIr7K+WkNhVLLocKNmlbjNx2x6lKob77NeplWVXkmbJ2kgP6LoxmMDQJnrgRQixmXBHdhgHEO11GMbJcYxPF0YqWeLWYzXYy6PrBOx6MQuYNYk40E8+lv7so+hhS5RdIZybEIxJ7RrQAY/HYuYJYxPmN93Ro2mOpaLKnJtIDclkCBLIdnpKBu809V/B2YEQ9rFnzXF120k+DyHVvWn16MhY4oLxfZEUdGfgX8JJf4YhBSXl2riksJ0fl+Yc48rnacYyEc5p+kJbKDRMIc8YJ5TJ09OQexsW4VeTUzoFaZFHC9vWOfu40N3JzE/yubPiqi/fPEs25XHeA/R8EazqB3igGIZaadjY2JH9+y67VkgNe3SbuSkWPY1MtR4aXPYK/r7SC+6df/o6upieXkyJMbcictOiI9GslqgwW9z5ZkOSYUybzp1tCT0ZXwoa49uuqi/bZWEsrawB1RVvovH2ws8u9jK2wqZ0J6uoPkfyHdSigq/G1G2hFKsVV/nu8OOqwlXkqfcYV+Ujr4MSNvBv4piSv5N90S+6GISHsyroG8kqHFXr0GiLkSlkrztjR7cWaQxpYQKduHV8lTxnA/F8PoaHds5r9cvtqwllZuaP5Jr04rKxrai0aiNdteNB6XEtitG9YVy6dGx/u3UO7+rqXgt8BIeZbHRmSDrxBfxX7ozPnDnQxIkSZtd4ALvjNdHoOktsECndRI7iwMLi3LlRVZLgaGiZyIC7t85KovOjpLkNggwW7MwhRJdZAPMhwn4LrDY4HH4u6YFOaWCQOcp6yyXKyXaX2jBOBmREmsMMILbD/OiTDw8ch6gm5l5rEsfQm0o6QBIyWfE0gbKjyxM4p6UhNEcFdjSjpRyY14cFqO+L6ytY9Xg42RmGgd0b7Qfb70kNm9lKo61e1DnZ7XQgYXcZB5UR1hDw/AxdgV+HFHW+R3ysxA+nFlYqrk8nDQPyXoyTwRnPBmc8H5zx8+CMX45hnNeVde1ESC/GyeCMZ4Mzng/O+Hlwxi/9GaEI+vYPk8F1Qg3jETqhhvEInVDDeIROqGE8QifUMB6hEyaD64QaxiN0Qg3jETqhhvEInVDDeIROqGHsoxNknMoXM58ZCS8ZfcX127U5iH2Wh61O+Fvt8V59WXNf/tm8lILPPRGSP8XhGV1Oqf1Z8w6RqHUU6Eu6+womgePf4O5qtjcK46FI7Xmfh4sMHUgnA5MC1SnzUnR9wVj7UwjOkHgUfiQwR7Tlnl8wxY6ztXuTfE6pfddfnHoyi8mDDH4v7vqVK1Li6qZIaAYNHtn5oh/xfCNTabM1hpvqbK7le9GjQwwIhWPQ3eXYDmuvceC9BMz3uYIjmnUBfc/SOLNRNdvOdnYimvQmGkCW3lLAHouXRLcBs6wtjQtO6YtjuEY3T9+L5tDeEMz8W5rhMRpytYKbzbsytdA52dubqe2n7RkdmJbhR7+g1HxX4u/+fiahyYcn9IBud7c3l8V7JVmwm9pSxJIO16tsuv3SmvwX0zr7L6Z1/rFpzR/m/7Xy2knrg8trJ60PLq+dtD64vEBF2cjozv119wQmH5jArfXCwy1oVdqmnlFxyjr09OTdev1ErHWH/JLkcYfpqh98hCu2C8vAYC3RTAF75tSxHqSzEqk5mQOXy4dknXwI69lArM8YbPtNBmlb7O4GDlzfPZpj0p0k3cA+LbApXyhkLjoaNZ1d40BB1qnx4LbGaaVDdyVfrm6SOuXjit+Ztvhn5XTSf1wnqVpoJwPQzqul7TrsbqHsMyOyZW8c1qjRj9lcN2KFTL6OQInikrRX6yS+//ToApuTp3ibs0IZg4FVMCYjRjJIRUgRfEIR+U3L1iWOS4pZo3iMDlXOmK3ZLat01ZcZaXk4OMWRAEbHyQbdepby8BD7ShA1JGaiyXR7SylfMSnZdCJ3BQxEKyITQKzeRvfFMlYJvjKn3KVSBlWvWQOdsoBHvomT7l4dphsME+CLxMuSuvNoKoG79cfmsANQhrpFYVgNXzSPEXdQaKTQuBCnSsyR43ownoqKMwoqSTDc2X/YG3NN1pw20RyYrxLIjY+CrnKyRXeUYcWhIJ6MnRuXhWGHVFDELGnyJNkh2OKMnw11g4Ygd622V/bY+cn4H1dhnL7j7ss8brDizK2Jl3lM2GFgyqJKhjqSd7TIMX64iWZRLOk3nS1T4rgOWLLZceFwTf1aBqRfpFqzSPx2LnkCGte1ljM3dmDKaNXIxFtn+wc41SBvWIalAw242V4ogwI6tnGtP2t3cB6gvnE6eWjDtSVdtxPoECVRszSFIjnA3JXcTA6dXOigrHLNaKWLMDhbOXaomxw2eFN+ylHr5p9d9CuOxmLmGzVbeTBsNVa+klvSjTkTqSZcfA3+3kSKz1svt42yCP7eRpFjPepdikOenMHJjgyGxwFdjlPyJskyh+TpZEut1OQ6EnkQdyXa+IozQvPFCzdBJG2YyE/Ii/6HPnXBRNJ0uWmmlq08CcyoPgu+5XRoBzo61vWBMqbth22kb6Bj8RyhXGExPDHH+QUfJHYtekSFORtmCfouAkUgKs6QOyD4rm2dKD8L7M7E1dLGLK49KZlHcKjM+SpG3MZEGyx4hVFZh1IcnZ+9vQx0MDOq6cQb80Ba44HuJMQjz7vdleIJncQXc6z1iqfK4e0fi+cLipzVkYIe6y/Eopxp1fm6n58eur+vuTmvpZJ1Q2EGs9i8j1OeLvRQISZVOKX+Z5k5V++F7oTNWW0p6RITC84nS6kNrkcM+b7oxu3jh9AUc0JVO2XWgmS8LaJxtljmNQwHAxZfsZqzfA/hGTZVbKaOtlcVjTndDjV3w2Elhzh5MDZwwylt6Hm4CV33De8U3XYpnPv5H3HnavmDgt3AYbLMhv5gnlv3lkckbNf/u83PgdQsSMuMuoOKyNBV4J8soGhI1LbM8NwBJ66h7y1t+W6BYdiHqT0vsDhC0AlmZix3gmrStI6LSYccnQd0hCJtYU/oc4Fc/YrJWLGg1pJAmDnLt0tKd7rWGv1o8zUxh0e5ETzarPB5q0d+CWVsoi6iLuyZYf/4JpX4DU0mgKFhzXlhDjzP0Ga8niw42wdtd8MrzPIaUDe9jhhUL035tEYAnVM4Yj5s/RIJ8dccDVqB88zUEW3lzqeRHHAKxmbB6EEPPU+1HfV2sjO5507QBwvHclIoEjydTFtegtsjbu1nO0sxrWQuXVAwowseJnbKxVy6QPVzGUm9zNIUp160/j6hKMPgQ6Z/hwalvzSWRkjftNAaNZfgfq0LU2Pi3CDuSPCNNFBX/A03PRrO1PIUNZfpqk5aOqdKQjMYtaZAMSBsFkZXCFwOYUtYqG2JVRXjYYixMOe0Fhu88o5CSRNpm0drEXGudhtwmWkyHNWIwZ5Os7JjryE/U6F7s0qrrAI7urBIrfOmSibJ6SVnIYYAgztQFFXn0TqwXcMi+OllwPDA1znz/QCn6xri2N4UlHHMtCrUbcG5HRVgDPokVhlNExR37UAZxnAooglbkd91AdLa8IUwEQsKhk6rxPukU/sSuDOnxDsZn+r/T5laCjzNdqbHl+SdqdrWpPbSeDl9EYns+N4qSzYQZ26ta6qJU4zfnZTPBcMf7SfFPCKcG+doCt+gJQJZe2OTgvDBNok9wlqBda7QLCpe4Od70xAGMNQWi1YJ7yYbfRZKqNGVWfkDcaVpGhfTP/pUiCbKGVK6L8KX+TDcNBtGth2uPkKtOLcT3XjVWqS0ldtxU3cJMLoTf2cCD2MlnBb4UkjcNEt231I0x/Qgsnyktcp9dFsggdy+JDxKrB9j5NLUNpylL/wXLEGv6XXzmxOcOk/zC3eW0bX4Rb7AqWJmt+ZTtuSwR/gbME3GV6VU0mzZrlL2kzjggZ5G4smcmNQfQxJfw/jEL94CFMY1iwZNYz+vepP/gIzfsLgscO9s77VzHYChrgJYn/DC8fHRbXR6Rz3Oo9QjF3Cwvzd4EQVt/vuVRAuwg7zuRGRQlYiOxePknteJIiMPcPh0e1j3tj7OIxmIXzGptINKOFpEVmeYm9bEEl2/9Nu9mN6YDoSxvWYz9A2Oh8axD125AkYzmS1xpgwCcCqOu4ifmF0qS5mggacnILxwy2tbTsRjc362whzHdbQsureQMv1jCKJSPkH02qE4oR8DSqlHkuHApI9Srj6AUn/A2HJgod/0YNIfkotq4mDlPxPaePWHzNUdRpL2QyrENQswYMaQlIG0kTMGy449ziOKTzHv1cQjtSGipyxlwTuuw9rRbh4a7Ww8GeuPFU2bwNazDd8GPCX3G++VfDMGSuvTsWl1BYHbLB24s8bTzSIaNOQn/b2HS5wxM79X40csgk14OI0Rme14qcwUrRLTVVj+sZlmhIEVZnJtzi1bCt9v2RBJ+JWUfk3SrbjRlGFQ30J3kY8OLR0t8d6J55ph2V6TLCFvcaIpIR95krJMschu0lo1cLQSTLoRkOeOR8uwuRtPyH3hkaWxkUl8GHKulkXnJ27WvMNjMzx9A7GTxO+mGMk1TLcYXfk3s3OLonTfjWkhPQqA5hyXvIboaTaD6gWrBHuxn3NvcZ+zlXlmP2z2Hq9ub5nmvGIK8zyGyDUYrFW33tY6Z8D/zHTh0BkbFr7Gste1UcGI+L2CsJrqnlEczzt6Ad0AmN/sTrkHR/v2eDG48jL1PggVueokeoAdBKJlGWsH+cDjNKPQ58cKMQ8y9Pw/mmjBzL7F45kiuV0F7BWe3DYtBFRh8Vgf3MiUtiyrVeAmPXFnPXHnnXE/tBrNBqnIz/xYIqdw+oeA0TXX3SkWruyEuydUR4ytDybNTrhJZ9xPfCXTT/J+2EkXbMJWHI8Y2LDfVSZVHQKsmW5mTIHTHVVIzp5g165p7Q0+tXXX2jMknoA5kJHugSXONIDwQcUpVhXQWCo6hxEuSp8OKAgrKdGA1WZtGJLwsaxdd61g+Bd7Z7j9RG7NSrckL1MWybrACTsEj3juzTJgZkEjPwdH5T+0Z5+l2prU96VxQj+foN8RbOAh++CNb4TXbkoa/IIJGu5hiom+a5ue3oNHwkztQRQNmZDxk69WFodopeAmBZricENBDbXHI5zqA8dVG3vjTZvdLqaC5XjVPbLOTWWKKcnvO3BEWECK1hkSe1e+bgx9uEtma6zdatal1pbAE3dwyr1N7Wk0VcZjA8veYXB0RmRYOkBy99jFtDiUrpbTfX3+APq4gMOCYAkI2oCgQKVkfSVwNAHqoyaCp/ztTXE0nD7TCJ4cAz47Bnx+DPhzFzDscoR6WGrQb9ycJgGn2HYjGF2gr3iR9XjdVYwyy2QQlrNBWM4HYfk8CMuXQVi+9me5xHDCWMjZMsCKkj/Ri2oyHNXZcFTnQ1BNWR68Ww/mHLy+G1gmg7CcDcJyfiQLHNeYqgw9JVcCp5DsbReaG4V7TSbjpwptVlNgraQLWo295AGaUPpuSZcdecySE1Mh+QLBJ87PO1p0+3SKiWiohmfJBml6lmyQxqfJwgHfMhzuJaF6kmBHVC5LMxmG5mwYmvNhaD4PQ/NlGJqv3WmMAVSzCFAHGZFz7WT8cHWCx8qkm1NOe27xhjfuv61m+pkzbXnBZK67MC1ApkRmhUx400Omxc+cyciBNx1kumTrNQ0GgsxeOUPVEl1xFrSdZMOE8lriye0SQOiGyfgCu4uFzN70aLTEByEdktJl2nh6xA4zbSXx3ksePCcYI85tkcCwXAX8zXh3BGLV4cVwZzB5AdvtWo5InC+aM2Xmi7rMOBmGudnq6dksqDzRrBoLGY8zRpTrXXL8R6zHpIK8YuzF3r//Aw==";
- Sidebar.prototype.searchFileUrl="search.xml";Sidebar.prototype.gearImage=GRAPH_IMAGE_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.libAliases={aws2:"aws3"};Sidebar.prototype.defaultEntries="general;images;uml;er;bpmn;flowchart;basic;arrows2";Sidebar.prototype.signs="Animals Food Healthcare Nature People Safety Science Sports Tech Transportation Travel".split(" ");Sidebar.prototype.gcp="Cards;Big Data;Compute;Developer Tools;Extras;Identity and Security;Machine Learning;Management Tools;Networking;Storage Databases".split(";");
- Sidebar.prototype.rack="General APC Cisco Dell F5 HP IBM Oracle".split(" ");Sidebar.prototype.pids="Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";");Sidebar.prototype.cisco="Buildings;Computers and Peripherals;Controllers and Modules;Directors;Hubs and Gateways;Misc;Modems and Phones;People;Routers;Security;Servers;Storage;Switches;Wireless".split(";");
- Sidebar.prototype.sysml="Model Elements;Blocks;Ports and Flows;Constraint Blocks;Activities;Interactions;State Machines;Use Cases;Allocations;Requirements;Profiles;Stereotypes".split(";");Sidebar.prototype.eip="Message Construction;Message Routing;Message Transformation;Messaging Channels;Messaging Endpoints;Messaging Systems;System Management".split(";");Sidebar.prototype.gmdl="Bottom Navigation;Bottom Sheets;Buttons;Cards;Chips;Dialogs;Dividers;Grid Lists;Icons;Lists;Menus;Misc;Pickers;Selection Controls;Sliders;Steppers;Tabs;Text Fields".split(";");
- Sidebar.prototype.aws2="Analytics;Application Services;Compute;Database;Developer Tools;Enterprise Applications;Game Development;General;Internet of Things;Management Tools;Mobile Services;Networking;On-Demand Workforce;SDKs;Security and Identity;Storage and Content Delivery;Groups".split(";");Sidebar.prototype.aws3="Analytics;Application Services;Artificial Intelligence;Business Productivity;Compute;Database;Desktop and App Streaming;Developer Tools;Game Development;General;Groups;Internet of Things;Management Tools;Messaging;Migration;Mobile Services;Networking and Content Delivery;On Demand Workforce;SDKs;Security Identity and Compliance;Storage".split(";");
- Sidebar.prototype.office="Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.veeam=["2D","3D"];Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");Sidebar.prototype.electrical="LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments RotMech Transmission".split(" ");
- Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"search"},{id:"er"},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},{id:"flowchart"},{id:"basic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"mscae",prefix:"mscae",libs:"Cloud;Enterprise;General;Intune;Other;System Center;Deprecated".split(";")},{id:"bpmn",prefix:"bpmn",libs:["","Gateways","Events"]},
- {id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},{id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},
- {id:"signs",prefix:"signs",libs:Sidebar.prototype.signs},{id:"gcp",prefix:"gcp",libs:Sidebar.prototype.gcp},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack},{id:"electrical",prefix:"electrical",libs:Sidebar.prototype.electrical},{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"aws3",prefix:"aws3",libs:Sidebar.prototype.aws3},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"office",prefix:"office",libs:Sidebar.prototype.office},
- {id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.insertSearchHint;
- Sidebar.prototype.insertSearchHint=function(c,b,d,e,u,l,q,m){if(null!=m&&1==e){var f=null;if(0<=mxUtils.indexOf(m,"text"))f="Double click anywhere in the diagram to insert text.";else for(var g="line lines arrow arrows connect connection connections connector connectors curve curves link links directed directional bidirectional".split(" "),h=0;h<g.length;h++)if(0<=mxUtils.indexOf(m,g[h])){f="Need help with connections?";break}if(null!=f&&!this.hideSearchHint){var p=document.createElement("a");p.setAttribute("href",
- "https://youtu.be/Z0D96ZikMkc");p.setAttribute("target","_blank");p.className="geTitle";p.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;";mxUtils.write(p,f);f=document.createElement("img");f.setAttribute("src",Dialog.prototype.closeImage);f.setAttribute("title",mxResources.get("hide"));f.className="geDialogClose";f.style.position="relative";f.style.cursor=
- "default";f.style.top="1px";f.style.right="0px";mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){p.parentNode.removeChild(p);this.hideSearchHint=!0;mxEvent.consume(a)}));p.appendChild(f);c.appendChild(p);this.hideSearchHint=!0}}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(a,c){this.showPalettes(a,c)};Sidebar.prototype.togglePalette=function(a){this.showPalette(a)};Sidebar.prototype.showPalettes=function(a,c,b){for(var d=0;d<c.length;d++)this.showPalette(a+c[d],b)};
- Sidebar.prototype.showPalette=function(a,c){var b=this.palettes[a];if(null!=b)for(var d=null!=c?c?"block":"none":"none"==b[0].style.display?"block":"none",e=0;e<b.length;e++)b[e].style.display=d};Sidebar.prototype.isEntryVisible=function(a){for(var c=0;c<this.configuration.length;c++)if(this.configuration[c].id==a){var b=this.palettes[null!=this.configuration[c].libs?(this.configuration[c].prefix||"")+this.configuration[c].libs[0]:a];if(null!=b)return"none"!=b[0].style.display}return!1};Sidebar.prototype.showEntries=
- function(a,c,b){this.libs=null!=a&&(b||0<a.length)?a:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):mxSettings.getLibraries();b=this.libs.split(";");for(var d=0;d<b.length;d++)b[d]=this.libAliases[b[d]]||b[d];for(d=0;d<this.configuration.length;d++)"search"!=this.configuration[d].id&&this.showPalettes(this.configuration[d].prefix||"",this.configuration[d].libs||[this.configuration[d].id],0<=mxUtils.indexOf(b,this.configuration[d].id));c&&(mxSettings.setLibraries(a),
- mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.png"},{title:mxResources.get("flowchart"),id:"flowchart",
- image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:"Atlassian",id:"atlassian",image:IMAGE_PATH+"/sidebar-atlassian.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},
- {title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:mxResources.get("aws"),id:"aws3",image:IMAGE_PATH+"/sidebar-aws3.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise",id:"mscae",image:IMAGE_PATH+
- "/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Citrix",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Google Cloud Platform",id:"gcp",image:IMAGE_PATH+"/sidebar-gcp.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"Veeam",id:"veeam",image:IMAGE_PATH+
- "/sidebar-veeam.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"}]},
- {title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),
- id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:"Web Icons",id:"webicons",image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=this.editorUi.isOffline();this.shapetags={};if(null!=this.tagIndex)for(var a=this.editorUi.editor.graph.decompress(this.tagIndex).split("\n"),c=0;c<a.length;c++)if(null!=a[c]){var b=a[c].split("\t");if(1<b.length){var d=b[0].toLowerCase().replace(" ","_"),b=mxUtils.trim(b.slice(1,
- b.length).join(" ").toLowerCase());0<b.length&&(this.shapetags[d]=b)}}this.initPalettes();this.editorUi.isOffline()||mxUtils.get(this.searchFileUrl,mxUtils.bind(this,function(a){a=a.getDocumentElement();if(null!=a){a=a.getElementsByTagName("shape");for(var c=0;c<a.length;c++){var b=a[c].getAttribute("style"),d=this.extractShapeStyle(b);if(null!=b&&null!=d){var e=d.lastIndexOf(".");if(0<e){var f=d.substring(0,e),d=d.substring(e+1,d.length),e=this.getTagsForStencil(f,d,a[c].getAttribute("tags"));if(null!=
- e){var g=b.indexOf(";"),b="shape="+f+"."+d.toLowerCase()+";"+(0>g?"":b.substring(g+1));this.createVertexTemplateEntry(b,parseInt(a[c].getAttribute("w")),parseInt(a[c].getAttribute("h")),"",d.replace(/_/g," "),null,null,this.filterTags(e.join(" ")))}}}}}}))};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(a,c,b){var d=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==c.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+
- "')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="0% 50%";var e=document.createElement("button");e.style.marginLeft="4px";mxUtils.write(e,"Save");mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){if("BUTTON"==mxEvent.getSource(f).nodeName){var g=a.cloneNode(!0);g.style.backgroundImage="";g.style.textDecoration="none";g.style.fontWeight="bold";g.style.fontSize="14px";g.style.color="rgb(80, 80, 80)";g.style.width="456px";g.style.backgroundColor="#ffffff";g.style.paddingLeft=
- "6px";f=g.getElementsByTagName("button")[0];f.parentNode.removeChild(f);f=c.cloneNode(!0);f.style.backgroundColor="#ffffff";f.style.borderColor="transparent";f.style.width="456px";g='<!DOCTYPE html><html><head><link rel="stylesheet" type="text/css" href="https://www.draw.io/styles/grapheditor.css"></head><body style="background:#ffffff;font-family:Helvetica,Arial;">'+g.outerHTML+f.outerHTML+"</body></html>";f.style.position="absolute";window.document.body.appendChild(f);var h=f.clientHeight+18;f.parentNode.removeChild(f);
- (new mxXmlRequest(EXPORT_URL,"w=456&h="+h+"&html="+encodeURIComponent(this.editorUi.editor.graph.compress(g)))).simulate(document,"_blank")}else{if("none"==c.style.display){if(d)a.appendChild(e);else if(d=!0,null!=b){null!=e.parentNode&&e.parentNode.removeChild(e);a.style.cursor="wait";var p=a.innerHTML;a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){b(c);a.style.cursor="";a.innerHTML=p;a.appendChild(e)},0)}else a.appendChild(e);a.style.backgroundImage="url('"+this.expandedImage+
- "')";c.style.display="block"}else a.style.backgroundImage="url('"+this.collapsedImage+"')",c.style.display="none",null!=e.parentNode&&e.parentNode.removeChild(e);mxEvent.consume(f)}}))});Sidebar.prototype.extractShapeStyle=function(a){if(null!=a&&"shape="==a.substring(0,6)){var c=a.indexOf(";");0>c&&(c=a.length);return a.substring(6,c)}return null};var b=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(a,c,d){var e=b.apply(this,arguments);null!=this.shapetags&&(a=a.toLowerCase(),
- c=c.toLowerCase(),null!=this.shapetags[a]&&e.push(this.shapetags[a]),c=a+"."+c,null!=this.shapetags[c]&&e.push(this.shapetags[c]));return e};Sidebar.prototype.initPalettes=function(){var a=GRAPH_IMAGE_PATH,c=STENCIL_PATH,b=this.signs,d=this.gcp,e=this.rack,l=this.pids,q=this.cisco,m=this.sysml,n=this.eip,k=this.gmdl;"1"==urlParams.createindex&&(mxLog.show(),mxLog.textarea.value="");this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addUmlPalette(!1);
- this.addErPalette();this.addBasicPalette();this.addFlowchartPalette();this.addNetworkPalette();this.addAzurePalette();this.addCitrixPalette();this.addMSCAEPalette();this.addBpmnPalette(c,!1);this.addAWS3Palette();this.addAWS3DPalette();this.addLeanMappingPalette();this.addIos7Palette();this.addIosPalette();this.addAndroidPalette();this.addMockupPalette();this.addElectricalPalette();this.addOfficePalette();this.addVeeamPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),c+"/arrows.xml",
- ";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=2;strokeColor=#000000;");this.addArrows2Palette();this.addImagePalette("computer","Clipart / Computer",a+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),
- "Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));this.addImagePalette("finance","Clipart / Finance",a+"/lib/clip_art/finance/",
- "_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.addImagePalette("clipart","Clipart / Various",a+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "),
- "Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.addImagePalette("networking","Clipart / Networking",a+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "),
- "Bridge;Certificate;Certificate Off;Cloud;Cloud Computer;Cloud Computer Private;Cloud Rack;Cloud Rack Private;Cloud Server;Cloud Server Private;Cloud Storage;Concentrator;Email;Firewall 1;Firewall 2;Firewall;Camera;Modem;Power Distribution Unit;Print Server;Print Server Wireless;Repeater;Router;Router Icon;Switch;UPS;Wireless Router;Wireless Router N".split(";"),{Wireless_Router:"wireless router switch wap wifi access point wlan",Wireless_Router_N:"wireless router switch wap wifi access point wlan",
- Router:"router switch",Router_Icon:"router switch"});this.addImagePalette("people","Clipart / People",a+"/lib/clip_art/people/","_128x128.png","Suit_Man Suit_Man_Black Suit_Man_Blue Suit_Man_Green Suit_Man_Green_Black Suit_Woman Suit_Woman_Black Suit_Woman_Blue Suit_Woman_Green Suit_Woman_Green_Black Construction_Worker_Man Construction_Worker_Man_Black Construction_Worker_Woman Construction_Worker_Woman_Black Doctor_Man Doctor_Man_Black Doctor_Woman Doctor_Woman_Black Farmer_Man Farmer_Man_Black Farmer_Woman Farmer_Woman_Black Nurse_Man Nurse_Man_Black Nurse_Woman Nurse_Woman_Black Military_Officer Military_Officer_Black Military_Officer_Woman Military_Officer_Woman_Black Pilot_Man Pilot_Man_Black Pilot_Woman Pilot_Woman_Black Scientist_Man Scientist_Man_Black Scientist_Woman Scientist_Woman_Black Security_Man Security_Man_Black Security_Woman Security_Woman_Black Tech_Man Tech_Man_Black Telesales_Man Telesales_Man_Black Telesales_Woman Telesales_Woman_Black Waiter Waiter_Black Waiter_Woman Waiter_Woman_Black Worker_Black Worker_Man Worker_Woman Worker_Woman_Black".split(" "));
- this.addImagePalette("telco","Clipart / Telecommunication",a+"/lib/clip_art/telecommunication/","_128x128.png","BlackBerry Cellphone HTC_smartphone iPhone Palm_Treo Signal_tower_off Signal_tower_on".split(" "),"BlackBerry;Cellphone;HTC smartphone;iPhone;Palm Treo;Signaltower off;Signaltower on".split(";"));for(a=0;a<b.length;a++)this.addStencilPalette("signs"+b[a],"Signs / "+b[a],c+"/signs/"+b[a].toLowerCase()+".xml",";html=1;fillColor=#000000;strokeColor=none;verticalLabelPosition=bottom;verticalAlign=top;align=center;");
- for(a=0;a<d.length;a++)"cards"===d[a].toLowerCase()?this.addGoogleCloudPlatformCardsPalette():this.addStencilPalette("gcp"+d[a],"GCP / "+d[a],c+"/gcp/"+d[a].toLowerCase().replace(/ /g,"_")+".xml",";html=1;fillColor=#4387FD;gradientColor=#4683EA;strokeColor=none;verticalLabelPosition=bottom;verticalAlign=top;align=center;");for(a=0;a<e.length;a++)"general"===e[a].toLowerCase()?this.addRackGeneralPalette():"f5"===e[a].toLowerCase()?this.addRackF5Palette():this.addStencilPalette("rack"+e[a],"Rack / "+
- e[a],c+"/rack/"+e[a].toLowerCase()+".xml",";html=1;labelPosition=right;align=left;spacingLeft=15;dashed=0;shadow=0;fillColor=#ffffff;");for(a=0;a<l.length;a++)"Instruments"==l[a]?this.addPidInstrumentsPalette():"Misc"==l[a]?this.addPidMiscPalette():"Valves"==l[a]?this.addPidValvesPalette():"Compressors"==l[a]?this.addPidCompressorsPalette():"Engines"==l[a]?this.addPidEnginesPalette():"Filters"==l[a]?this.addPidFiltersPalette():"Flow Sensors"==l[a]?this.addPidFlowSensorsPalette():"Piping"==l[a]?this.addPidPipingPalette():
- this.addStencilPalette("pid"+l[a],"Proc. Eng. / "+l[a],c+"/pid/"+l[a].toLowerCase().replace(" ","_")+".xml",";html=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;");for(a=0;a<m.length;a++)"Model Elements"==m[a]?this.addSysMLModelElementsPalette():"Blocks"==m[a]?this.addSysMLBlocksPalette():"Ports and Flows"==m[a]?this.addSysMLPortsAndFlowsPalette():"Constraint Blocks"==m[a]?this.addSysMLConstraintBlocksPalette():"Activities"==
- m[a]?this.addSysMLActivitiesPalette():"Interactions"==m[a]?this.addSysMLInteractionsPalette():"State Machines"==m[a]?this.addSysMLStateMachinesPalette():"Use Cases"==m[a]?this.addSysMLUseCasesPalette():"Allocations"==m[a]?this.addSysMLAllocationsPalette():"Requirements"==m[a]?this.addSysMLRequirementsPalette():"Profiles"==m[a]?this.addSysMLProfilesPalette():"Stereotypes"==m[a]&&this.addSysMLStereotypesPalette();for(a=0;a<n.length;a++)"Message Construction"==n[a]?this.addEipMessageConstructionPalette():
- "Message Routing"==n[a]?this.addEipMessageRoutingPalette():"Message Transformation"==n[a]?this.addEipMessageTransformationPalette():"Messaging Channels"==n[a]?this.addEipMessagingChannelsPalette():"Messaging Endpoints"==n[a]?this.addEipMessagingEndpointsPalette():"Messaging Systems"==n[a]?this.addEipMessagingSystemsPalette():"System Management"==n[a]&&this.addEipSystemManagementPalette();for(a=0;a<q.length;a++)this.addStencilPalette("cisco"+q[a],"Cisco / "+q[a],c+"/cisco/"+q[a].toLowerCase().replace(/ /g,
- "_")+".xml",";html=1;dashed=0;fillColor=#036897;strokeColor=#ffffff;strokeWidth=2;verticalLabelPosition=bottom;verticalAlign=top",null,null,1.6);this.addFloorplanPalette();this.addAtlassianPalette();this.addBootstrapPalette();for(a=0;a<k.length;a++)"Bottom Navigation"==k[a]?this.addGMDLBottomNavigationPalette():"Bottom Sheets"==k[a]?this.addGMDLBottomSheetsPalette():"Buttons"==k[a]?this.addGMDLButtonsPalette():"Cards"==k[a]?this.addGMDLCardsPalette():"Chips"==k[a]?this.addGMDLChipsPalette():"Dialogs"==
- k[a]?this.addGMDLDialogsPalette():"Dividers"==k[a]?this.addGMDLDividersPalette():"Grid Lists"==k[a]?this.addGMDLGridListsPalette():"Icons"==k[a]?this.addGMDLIconsPalette():"Lists"==k[a]?this.addGMDLListsPalette():"Menus"==k[a]?this.addGMDLMenusPalette():"Misc"==k[a]?this.addGMDLMiscPalette():"Pickers"==k[a]?this.addGMDLPickersPalette():"Selection Controls"==k[a]?this.addGMDLSelectionControlsPalette():"Sliders"==k[a]?this.addGMDLSlidersPalette():"Steppers"==k[a]?this.addGMDLSteppersPalette():"Tabs"==
- k[a]?this.addGMDLTabsPalette():"Text Fields"==k[a]&&this.addGMDLTextFieldsPalette();this.addCabinetsPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addWebIconsPalette();this.addWebLogosPalette();this.showEntries()};if("1"==urlParams.createindex){var d=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(a,c,b,e,u,l,q,m){d.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(b,mxUtils.bind(this,function(a,c,b,d,f){if(null==u||0>mxUtils.indexOf(u,
- c))b=null!=m?m[c]:null,mxLog.debug('<shape style="shape='+a+c+e+'" w="'+Math.round(d*q)+'" h="'+Math.round(f*q)+'"'+(null!=b?' tags="'+b+'"':"")+"/>")}),!0)}}var c=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(a,b,d,e,u){var f=e;if(EditorUi.enableLogging&&!this.editorUi.isOffline()&&0==d)try{(new Image).src=(null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"")+"/log?severity=CONFIG&msg=shapesearch:"+encodeURIComponent(a)+"&v="+encodeURIComponent(EditorUi.VERSION)}catch(q){}e=
- mxUtils.bind(this,function(c,e,g,h){!this.editorUi.isOffline()&&c.length<=b/4?(g=d-Math.ceil((e-b/4)/b),mxUtils.get(ICONSEARCH_PATH+"?v=2&q="+encodeURIComponent(a)+"&p="+g+"&c="+b,mxUtils.bind(this,function(a){try{if(200<=a.getStatus()&&299>=a.getStatus())try{var g=JSON.parse(a.getText());if(null==g||null==g.icons)f(c,e,!1,h),this.editorUi.handleError(g);else{for(a=0;a<g.icons.length;a++){for(var p=g.icons[a].raster_sizes,l=p.length-1;0<l&&128<p[l].size;)l--;var k=p[l].size,m=p[l].formats[0].preview_url;
- null!=k&&null!=m&&mxUtils.bind(this,function(a,b){c.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+b,a,a,"")}))})(k,m)}f(c,(d-1)*b+c.length,g.icons.length==b,h)}}catch(y){f(c,e,!1,h),this.editorUi.handleError(y)}else f(c,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch(y){f(c,e,!1,h),this.editorUi.handleError(y)}},
- function(){f(c,e,!1,h)}))):f(c,e,g||!this.editorUi.isOffline(),h)});c.apply(this,arguments)};var e=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(a,c,b){var d=this.editorUi.editor.graph,f=!1;if(null!=a&&1==d.getSelectionCount()&&d.getModel().isVertex(a[0])){var g=d.cloneCells(a)[0];if(d.getModel().isEdge(d.getSelectionCell())&&null==d.getModel().getTerminal(d.getSelectionCell(),!1)&&d.getModel().isVertex(g)){d.getModel().beginUpdate();try{var h=d.view.getState(d.getSelectionCell());
- if(null!=h){var m=d.view.translate,n=d.view.scale,k=h.absolutePoints[h.absolutePoints.length-1];g.geometry.x=k.x/n-m.x-g.geometry.width/2;g.geometry.y=k.y/n-m.y-g.geometry.height/2}d.addCell(g);d.getModel().setTerminal(d.getSelectionCell(),g,!1)}finally{d.getModel().endUpdate()}d.scrollCellToVisible(g);d.setSelectionCell(g);f=!0}}f||e.apply(this,arguments)}})();(function(){var a=Sidebar.prototype.createAdvancedShapes;Sidebar.prototype.createAdvancedShapes=function(){var b=a.apply(this,arguments),d=this,c=new mxCell("Vertical Flow Layout",new mxGeometry(0,0,270,280),"swimlane;html=1;startSize=20;horizontal=1;childLayout=flowLayout;flowOrientation=north;resizable=0;interRankCellSpacing=50;");c.vertex=!0;var e=new mxCell("Start",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");e.vertex=!0;c.insert(e);var f=new mxCell("Task",new mxGeometry(20,20,100,
- 40),"whiteSpace=wrap;html=1;");f.vertex=!0;c.insert(f);var g=new mxCell("",new mxGeometry(0,0,0,0),"html=1;curved=1;");g.geometry.relative=!0;g.edge=!0;e.insertEdge(g,!0);f.insertEdge(g,!1);c.insert(g);var h=new mxCell("Task",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");h.vertex=!0;c.insert(h);g=g.clone();e.insertEdge(g,!0);h.insertEdge(g,!1);c.insert(g);e=new mxCell("End",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");e.vertex=!0;c.insert(e);g=g.clone();f.insertEdge(g,!0);e.insertEdge(g,
- !1);c.insert(g);g=g.clone();h.insertEdge(g,!0);e.insertEdge(g,!1);c.insert(g);return b.concat([this.addDataEntry("container swimlane pool horizontal",480,380,"Horizontal Pool 1","zZRLbsIwEIZP4709TlHXhJYNSEicwCIjbNWJkWNKwumZxA6IlrRUaisWlmb+eX8LM5mXzdyrnV66Ai2TL0zm3rkQrbLJ0VoG3BRMzhgAp8fgdSQq+ijfKY9VuKcAYsG7snuMyso5G8U6tDaJ9cGUVlXkTXUoacuZIHOjjS0WqnX7blYd1OZt8KYea3PE1bCI+CAtVUMq7/o5b46uCmroSn18WFMm+XCdse5GpLq0OPqAzejxvZQun6MrMfiWUg6mCDpmZM8RENdotjqVyUFUdRS259oLSzISztto5Se0i44gcHEn3i9A/IQB3GbQpmi69DskAn4BSTaGBB4Jicj+k8nTGBP5SExg8odMyL38eH3s6kM8AQ=="),
- this.addDataEntry("container swimlane pool horizontal",480,360,"Horizontal Pool 2","zZTBbsIwDIafJvfU6dDOlI0LSEg8QUQtEi1tUBJGy9PPbcJQWTsxaZs4VLJ//07sT1WYKKpm6eRBrW2JhokXJgpnbYhR1RRoDAOuSyYWDIDTx+B1opr1VX6QDutwTwPEhndpjhiVjbUmij60Jon+pCsja8rmKlQ05SKjcKe0KVeytcfuLh/k7u2SzR16fcbNZZDsRlrLhlTenWedPts6SJMEOseFLTkph6Fj212RbGlwdAGbyeV7KW2+RFthcC1ZTroMKjry5wiIK9R7ldrELInSR2H/2XtlSUHCOY5WfEG76ggCz+7E+w2InzCAcQapIf0fAySzESQZ/AKSfAoJPCKS9mbzf0H0NIVIPDAiyP8QEaXX97CvDZ7LDw=="),this.addDataEntry("container swimlane pool horizontal",
- 360,480,"Vertical Pool 1","xZRBbsIwEEVP4709ThFrQssGJKSewCIjbNXGyDEl4fSdxKa0NJFQVTULSzP/e+T5b2EmS9esgjrqja/QMvnMZBm8j6lyTYnWMuCmYnLJADgdBi8jruhdflQBD/GRAUgD78qeMClb720S69jaLNZn46w6ULfQ0dGWS0HlThtbrVXrT91bdVS7t2u3CFibC26vi4g7aaMaUjmpNBbiKxnUQyfkjTBEbEZT9VKOtELvMIaWrpxNFXW6IWcpOddo9jqPFfMsqjoJ+8/ZGyQqMqdhZvIHs3WHBrh4kNvvIsNw5Da7OdgXAgKGCMz+gEAxRgCmINDcxZ2CyNMYETkhESj+jwi1t1+r9759ah8="),this.addDataEntry("container swimlane pool vertical",380,480,"Vertical Pool 2","xZTPbsIwDMafJvf86dDOlI0LSEg8QUQtEi1pUBJGy9PPbdJ1G1TqhXGoZH/219g/RSGitM3ay5PaugoMEW9ElN65mCLblGAM4VRXRKwI5xQ/wt8nqqyv0pP0UMc5Bp4Mn9KcISk750wSQ2xNFsNFWyNrzJYqWpxyxTA8KG2qjWzduTsrRHn4GLKlh6CvsBsGYX+krWxQpaiizcc9FjDnnaCc11dXR2lyxyjsuyPy3/Lg4CM0k8v3Ut58Dc5C9C22XHQVVeoQrwkQVaCPKtuKQZQhCcdv78gSg4zzPlpxg3bTEeSUzcR7Q2bWyvz+ytmQr8NPAow/ikAxRYA/kQAr/hPByxQC8cxLsHggAkzH56uv/XrdvgA="),
- this.addDataEntry("vertical tree layout",280,190,"Vertical Tree Layout","5ZXNUoMwEICfJncgteq1UHvRi3W8p2QHMhNIJyyl9OndQLBFWqcz6kE9MGT/s182E8bjYr+yYps/GQma8SXjsTUG+1Wxj0FrFgVKMp6wKAroY9HDBWvYWYOtsFDiNQFRH7ATuoZe8woWVSqc04sFoN+jaE2NvWOFrfaOVaMKLUqSFjkWtPMkpGWFwuJaHZwT1SabsepgShSDR5orLX1OniDVGIQT3640T1wCC5U6iI0eZL9j2ibsL3bdqXzLKzAFoG3JpVESc9/5XU8myEFl+RB275Wi6hXZe+wRIi08x/NM+YTpszvPj/yaXCGstyJ1ckMTMAZ5VZvR+TZ9gD/7oB2LJxDC4AyE2TcwmE0YxO7YSRX+LxA3ExCT/kFmsPYi6I1plkfFolOQYTdcyxEba+pSghzdDJfuc05U3dQ2hdG40r3NAE9Ob0rTghaoduPsX4EzvzglU0p/ekpuf+OUzH9mSkg8vn+dbfQ8vgE="),
- this.addDataEntry("horizontal tree layout",310,160,"Horizontal Tree Layout","5ZXNUoMwEICfhjuQWu+FWg96sb5A2uxAZgJhwlJKn94NSQWkdTqjHtQDQ/Y/+2UzCVhSHDeGV/mzFqACtg5YYrRGtyqOCSgVxKEUAUuDOA7pC+KHK9aot4YVN1DiLQGxCzhw1YDTPGojT7pEbt1eDQD9nninG3SuNXbKu9atLBQvSVrlWNDe04iWNXKDW3myTlSdbENGllrFPpdK+JwsRapxFka+fWmX0UAtT3zXl7Xxfs9gEI5X++5VvukN6ALQdOTSSoG582CRYxPmILP8HLb0Sl47RfYeO2CkhSd5mSqbUX2xJ/qRX5tLhG3F91ZuaQamIG9qM77cpg/wpx92U3EEIQovQFh8A4PFjEFij51U0f8CcTcDMesfRAZbL4La6XY9KFa9ggzjazSmY3RTChCTu2ETfk6K6uvG7GEysHRzM8DR+c15GlAc5WGa/St4llfnZM7pT8/J/e+ck+XPzAmJwyvY2yaP5Bs="),
- this.addEntry("vertical flow layout",function(){return d.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Vertical Flow Layout",!0)}),this.addEntry("horizontal flow layout",function(){var a=d.graph.cloneCells([c])[0];a.geometry=new mxGeometry(0,0,460,150);a.style="swimlane;html=1;startSize=20;horizontal=0;childLayout=flowLayout;flowOrientation=west;resizable=0;interRankCellSpacing=50;";a.value="Horizontal Flow Layout";return d.createVertexTemplateFromCells([a],a.geometry.width,
- a.geometry.height,"Horizontal Flow Layout",!0)})])}})();(function(){Sidebar.prototype.addAndroidPalette=function(){var a=this,b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.android.",d=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;strokeColor=none;shape=",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.android.",
- e=[this.createVertexTemplateEntry(b+"phone2;fillColor=#ffffff;strokeColor=#c0c0c0;",200,390,"","Phone",null,null,"android phone mobile portrait"),this.createVertexTemplateEntry(b+"phone2;fillColor=#ffffff;strokeColor=#c0c0c0;direction=south;",390,200,"","Phone (landscape)",null,null,"android phone mobile landscape"),this.createVertexTemplateEntry(b+"tab2;fillColor=#ffffff;strokeColor=#c0c0c0;",472,686,"","Tab",null,null,"android tab tablet portrait"),this.createVertexTemplateEntry(b+"tab2;fillColor=#ffffff;strokeColor=#c0c0c0;direction=north;",
- 686,472,"","Tab (landscape)",null,null,"android tab tablet landscape"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar;fillColor=#1A1A1A;strokeColor=#c0c0c0;strokeWidth=2;fontColor=#FFFFFF;",185,30,"","Action Bar",null,null,"android action bar dark portrait"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar;fillColor=#E6E6E6;strokeColor=#c0c0c0;strokeWidth=2;",185,30,"","Action Bar (Bright)",
- null,null,"android action bar bright portrait"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar_landscape;fillColor=#1A1A1A;strokeColor=#c0c0c0;strokeWidth=2;fontColor=#FFFFFF;",320,30,"","Action Bar Landscape",null,null,"android action bar landscape dark"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar_landscape;fillColor=#E6E6E6;strokeColor=#c0c0c0;strokeWidth=2;",320,30,"","Action Bar Landscape (Bright)",
- null,null,"android action bar bright landscape"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#666666;align=center;strokeColor=#4D4D4D;fontColor=#ffffff;",105.5,16.88,"Normal","Button (Normal)",null,null,"android button normal"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#666666;align=center;strokeColor=#999999;fontColor=#ffffff;",105.5,16.88,"Focused","Button (Focused)",null,
- null,"android button focused"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#999999;align=center;strokeColor=#666666;fontColor=#ffffff;strokeWidth=2;",105.5,16.88,"Pressed","Button (Pressed)",null,null,"android button pressed"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#333333;align=center;strokeColor=#4D4D4D;fontColor=#666666;",105.5,16.88,"Focused disabled","Button (Focused, Disabled)",
- null,null,"android button focused disabled"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#333333;align=center;strokeColor=#333333;fontColor=#666666;",105.5,16.88,"Disabled","Button (Disabled)",null,null,"android button disabled"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#E6E6E6;align=center;strokeColor=#E6E6E6;fontColor=#333333;",105.5,16.88,"Normal","Button (Normal, Bright)",
- null,null,"android button normal bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#E6E6E6;align=center;strokeColor=#B3B3B3;fontColor=#333333;",105.5,16.88,"Focused","Button (Focused, Bright)",null,null,"android button focused bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#B3B3B3;align=center;strokeColor=#E6E6E6;fontColor=#333333;strokeWidth=2;",105.5,16.88,"Pressed",
- "Button (Pressed, Bright)",null,null,"android button pressed bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#F4F4F4;align=center;strokeColor=#E6E6E6;fontColor=#CCCCCC;",105.5,16.88,"Focused disabled","Button (Focused, Disabled, Bright)",null,null,"android button focused disabled bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#F4F4F4;align=center;strokeColor=#F4F4F4;fontColor=#CCCCCC;",
- 105.5,16.88,"Disabled","Button (Disabled, Bright)",null,null,"android button disabled bright"),this.addDataEntry("android checkboxes checkbox",165,50,"Checkboxes","5ZjPb4IwFMf/Go4zlArqdbh52U4edq7wpMRCSekm+NevtZ1uE43R2ZB5MPT9Ko+v7xNSPBwXzUyQir7yFJiHnzwcC86lWRVNDIx5gZ+nHp56QeCrnxc8H4mibdSviIBSnlMQmIIPwt7BeIyjli2zjloKvoK3PJVUOZCHH6ksmF3WlKR8rQxfGSmpKaTWUJFK71A0mX66ASlTwfNUXRPKhUqwdwYhoTna/dZlW58BL0CKVqWsbTc6IwpNGYU8o7YsNE/tk9rY2a50r4VaWDm6pcEH0sxByrzMlBM5U4mwPCtVAoOl1PkVSVQLL1trivQWS17Keb7Ru4ytGXOmi1VfGONFCOG5cgeXyY2CQXi94MOezyLuFqc10eh6AULnAggBiR4rYQdI5wqo8w1ZsC/b3PLikRp2q2YLdoNjVXzYOb7NXBfg16sdneDb3eT1gu/2N8ZugB/1HPjo1sCP/yPwo74CPzkBPL5L4AOnuCO/57xPbs07Qs4VSCgkqwVvbsu8+Wv7CD06POHsqR/eJfV45PY1jw5PUv3iHp3W6y/Ad3+2cfCmR0dORM6pV+b+k8k29uOLyic="),
- this.addDataEntry("android radiobuttons radiobutton",165,50,"Radiobuttons","5ZhNb4IwGMc/DccZ2grqVdy8bNlhh52rVNqsUFK6CX76Fdqgm7CQqaSJB0Kft9LnT38hxUNRWq4lzumLiAn30KOHIimEMqO0jAjnHvRZ7KGVB6GvLw8+9URBE/VzLEmmhhRAU/CF+ScxHuMoVMWto1BSfJB3FiuqHcBDS6pSbocFxbHYa8PXRowLSmJr6Ehez5CWSd3dBGexFCzW9y0VUifYJxOpSNm7+sZll74mIiVKVjplb1dTZ4SBKaOEJdSWBaZrHxfGTtrSoxZ6YOXolgadSfOaKyYy7QOjiYQ5SzKdwMlO1fk53rIseW6sFain2IlMvbFDPcvcmpHgdbFeF0JoE5BgqNrwf2oDOAku13vq+FZE3eJUJhpeLkAwQADbiS5keaFHS0kKdsCbJqHptZGoawecSDWo32l3v7agfeW2/4fWcbJbusi8XKewH8zxtowTYFa/+RuH1JnjpIa3JnXuFqkzV0ld9JOK7pJUOCqnwHcc1MWtQQXgtqTuGOfXINi8KRcRBucnhJbh6V0yjGbjfm3B+UHELYrB33pdA+MhZ4MRP7ig5ywwOq7aPP4raGI/fiV8Aw=="),
- this.createVertexTemplateEntry(b+"contact_badge_focused;",40,40,"","Contact Badge Focused",null,null,"android contact badge focused"),this.createVertexTemplateEntry(b+"contact_badge_focused;",60,60,"","Contact Badge Focused",null,null,"android contact badge focused"),this.createVertexTemplateEntry(b+"contact_badge_normal;",40,40,"","Contact Badge Normal",null,null,"android contact badge normal"),this.createVertexTemplateEntry(b+"contact_badge_normal;",60,60,"","Contact Badge Normal",null,null,"android contact badge normal"),
- this.createVertexTemplateEntry(b+"contact_badge_pressed;",40,40,"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.createVertexTemplateEntry(b+"contact_badge_pressed;",60,60,"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.addEntry("android contextual action bar dark portrait",function(){var c=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar;fillColor=#002E3E;");c.vertex=!0;
- var b=new mxCell("Action",new mxGeometry(40,0,100,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=left;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Action Bar")}),this.addEntry("android contextual action bar bright portrait",function(){var c=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_white;fillColor=#E6E6E6;");
- c.vertex=!0;var b=new mxCell("Action",new mxGeometry(40,0,100,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=left;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Action Bar (Bright)")}),this.addEntry("android contextual action bar landscape dark",function(){var c=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_landscape;fillColor=#002E3E;");
- c.vertex=!0;var b=new mxCell("Action",new mxGeometry(40,0,100,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=left;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Action Bar Landscape")}),this.addEntry("android contextual action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_landscape_white;fillColor=#E6E6E6;");
- c.vertex=!0;var b=new mxCell("Action",new mxGeometry(40,0,100,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=left;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Action Bar Landscape (Bright)")}),this.addEntry("android contextual split action bar dark",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar;fillColor=#002E3E;fontColor=#FFFFFF;");
- c.vertex=!0;var b=new mxCell("Contextual",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar")}),this.addEntry("android contextual split action bar bright",
- function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_white;fillColor=#E6E6E6;");c.vertex=!0;var b=new mxCell("Contextual",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);
- return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar (Bright)")}),this.addEntry("android contextual split action bar landscape dark",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_landscape;fillColor=#002E3E;fontColor=#FFFFFF;");c.vertex=!0;var b=new mxCell("Contextual",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");
- b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar Landscape")}),this.addEntry("android contextual split action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_landscape_white;fillColor=#E6E6E6;");
- c.vertex=!0;var b=new mxCell("Contextual",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar Landscape (Bright)")}),this.createVertexTemplateEntry(b+"indeterminate_progress_bar;strokeColor=#33B5E5;",
- 149,5,"","Indeterminate Progress Bar",null,null,"android indeterminate progress bar"),this.createVertexTemplateEntry(b+"indeterminateSpinner;",50,50,"","Indeterminate Spinner",null,null,"android indeterminate spinner"),this.createVertexTemplateEntry(b+"keyboard;",185,100,"","Keyboard",null,null,"android keyboard"),this.addDataEntry("android menu bar",185,50,"Menu bar","7VZdT8MgFP01vC4trLrndbqYuCcffCbjrhApNJS5zl/vLaCbH3NO4xaTkTTlnMu9cM8JCYSVdTd1vJEzK0ATdkVY6az1cVZ3JWhNaKYEYRNCaYYfodc7onmIZg13YPx3EmhMeOR6CZGJROvXOhGtd/YB7pXwEomcsLH0tU7TVnJhVwgyBIK3EkQCGGn6CnVX9d0NuBHOKjFwDuZ4tLG7U0/wsjZsUVptXdiTjcLAyEJpvcUPw0A+HRuch25n64FKfU/B1uDdGpesUiv9ilER0ySoSqa0IkqW8Tbi6jV1IyROkpaf68o+6DoDs0TmxkONv/wUMm+LaayBL5XnWlUGOQ2Lvk7b8Lky1W1AkzyUs8an6qMEtwotwviuVfRnVuV0UPzerOEes05yJ/6fWev3nhzHvWKPe+zs3gHu0aN6d7HHu+HZuwO8Y5d/evMQbh4mIfbm3fIM"),
- this.addDataEntry("android menu bar",185,50,"Menu bar","7VZdb8IgFP01vJoW1s1n62aWzKc97JnItZBRaCjOul+/W8DpPoy6ZZolkjTlnPvR3nNCAmFl3U0cb+TUCtCE3RJWOmt93NVdCVoTmilB2JhQmuFD6N2OaB6iWcMdGH9IAY0FL1wvIDKRaP1KJ6L1zj7DkxJeIpETNpK+1mnbSi7sEkGGQPBWgkgAI03foe6qfroBN8JZJQbOwQx/beQe1Susc8MnSqutC99kEBZG5krrLX4eFvLYUyiccR0z1vTpaRpwHrqdigQqyTEBW4N3K0xZpgn7jGERyySoSqayIiqZ8Tbi6r10oy9uksTfy82+yD0Fs0Dm3kONr/wc6m9rnHTcbQjXqjLIaZj3fdqGz5SpHgIa56GdNT51Hya41SiuQ62iP7Mqp4Pi92Zd7THrLEfl/5m1+uzJadwr9rjHLu4d4R49qXfXe7y7unh3hHfs5k9PHsLNfSXEPlxn3gA="),
- this.createVertexTemplateEntry(c+"navigation_bar_1;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_1_landscape;fillColor=#1A1A1A;strokeColor=#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_1_vertical;fillColor=#1A1A1A;strokeColor=#999999;",30,320,"","Navigation Bar Vertical",
- null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(c+"navigation_bar_2;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_3;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_3_landscape;fillColor=#1A1A1A;strokeColor=#999999;",320,30,"","Navigation Bar Landscape",
- null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_4;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_5;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_5_vertical;fillColor=#1A1A1A;strokeColor=#999999;",30,320,"","Navigation Bar Vertical",
- null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(c+"navigation_bar_6;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(b+"progressBar;strokeColor=#33b5e5;dx1=0.8;dx2=0.6;strokeWidth=2;",185,5,"","Progress Bar",null,null,"android progress bar"),this.createVertexTemplateEntry(b+"progressScrubberDisabled;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Disabled",null,null,
- "android progress scrubber disabled"),this.createVertexTemplateEntry(b+"progressScrubberFocused;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Focused",null,null,"android progress scrubber focused"),this.createVertexTemplateEntry(b+"progressScrubberPressed;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Pressed",null,null,"android progress scrubber pressed"),this.createVertexTemplateEntry(b+"quickscroll2;dy=0.5;fillColor=#33b5e5;strokeColor=#66D5F5;",58,320,"","Quickscroll",null,
- null,"android quickscroll quick scroll"),this.createVertexTemplateEntry(b+"quickscroll3;dy=0.5;fillColor=#33b5e5;strokeColor=#66D5F5;",6,320,"","Quickscroll",null,null,"android quickscroll quick scroll"),this.addEntry("android quick contact",function(){var c=new mxCell("",new mxGeometry(0,0,150,165),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.quick_contact;");c.vertex=!0;var b=new mxCell("Name",new mxGeometry(0,65,150,18),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;fontStyle=1;fontColor=#FFFFFF;");
- b.vertex=!0;c.insert(b);b=new mxCell("Item 1",new mxGeometry(0,108,120,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;align=left;spacingLeft=10;");b.vertex=!0;c.insert(b);b=new mxCell("Item 2",new mxGeometry(0,136,120,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;align=left;spacingLeft=10;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Quick Contact")}),this.addEntry("android scrollable tab scroll",
- function(){var c=new mxCell("",new mxGeometry(0,0,185,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;fillColor=#444444;strokeColor=none;");c.vertex=!0;var b=new mxCell("One",new mxGeometry(0,0,46.25,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=left;fontColor=#FFFFFF;");b.vertex=!0;c.insert(b);b=new mxCell("Tab Two",new mxGeometry(46.25,0,92.5,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontColor=#FFFFFF;");
- b.vertex=!0;c.insert(b);b=new mxCell("Tab",new mxGeometry(138.75,0,46.25,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=right;fontColor=#FFFFFF;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Scrollable Tab")}),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.scrollbars2;fillColor=#999999;strokeColor=none;",56,56,"","Scrollbars",null,null,"android scrollbar scroll bar"),
- this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#1A1A1A;strokeColor=#1A1A1A;fontColor=#FFFFFF;",168.8,16.88,"Normal","Section Header (Normal)",null,null,"android section header normal dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#4D4D4D;strokeColor=#4D4D4D;fontColor=#FFFFFF;",168.8,16.88,"Pressed","Section Header (Pressed)",null,null,"android section header pressed dark"),
- this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#33b5e5;strokeColor=#33B5E5;fontColor=#FFFFFF;",168.8,16.88,"Activated","Section Header (Activated)",null,null,"android section header activated dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#006699;strokeColor=#33B5E5;fontColor=#FFFFFF;",168.8,16.88,"Focused","Section Header (Focused)",null,null,"android section header focused dark"),
- this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#006699;strokeColor=#33B5E5;fontColor=#B3B3B3;",168.8,16.88,"Disabled focused","Section Header (Disabled focused)",null,null,"android section header disabled focused dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#1A1A1A;strokeColor=#1A1A1A;fontColor=#B3B3B3;",168.8,16.88,"Disabled","Section Header (Disabled)",null,null,"android section header disabled dark"),
- this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#FFFFFF;strokeColor=#FFFFFF;fontColor=#4D4D4D;",168.8,16.88,"Normal","Section Header (Normal, Bright)",null,null,"android section header normal bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#f6f6f6;strokeColor=#f6f6f6;fontColor=#4D4D4D;",168.8,16.88,"Pressed","Section Header (Pressed, Bright)",null,null,"android section header pressed bright"),
- this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#33b5e5;strokeColor=#33B5E5;fontColor=#4D4D4D;",168.8,16.88,"Activated","Section Header (Activated, Bright)",null,null,"android section header activated bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#99e5ff;strokeColor=#33B5E5;fontColor=#4D4D4D;",168.8,16.88,"Focused","Section Header (Focused, Bright)",null,null,"android section header focused bright"),
- this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#99e5ff;strokeColor=#33B5E5;fontColor=#B3B3B3;",168.8,16.88,"Disabled focused","Section Header (Disabled focused, Bright)",null,null,"android section header disabled focused bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#FFFFFF;strokeColor=#FFFFFF;fontColor=#B3B3B3;",168.8,16.88,"Disabled","Section Header (Disabled, Bright)",
- null,null,"android section header disabled bright"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;align=center;fillColor=#999999;strokeColor=#999999;verticalAlign=bottom",110,10,"Item","Spinner Normal",null,null,"android spinner normal"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;align=center;fillColor=#33b5e5;strokeColor=#33b5e5;verticalAlign=bottom",110,10,"Item","Spinner Focused",
- null,null,"android spinner focused"),this.addEntry("android spinner disabled focused",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#207585;strokeColor=#33b5e5;");c.vertex=!0;var b=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=1;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#999999;fillColor=#999999;");
- b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Disabled Focused")}),this.addEntry("android spinner disabled focused light bright",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#ccf2ff;strokeColor=#88c5f5;");c.vertex=!0;var b=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#666666;align=center;verticalAlign=middle;strokeColor=#cccccc;fillColor=#cccccc;");
- b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Disabled Focused Bright")}),this.addEntry("android spinner pressed",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#33b5e5;strokeColor=#33b5e5;");c.vertex=!0;var b=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#aaeeff;fillColor=#aaeeff;");
- b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Pressed")}),this.addEntry("android spinner pressed light bright",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#33b5e5;strokeColor=#33b5e5;");c.vertex=!0;var b=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#666666;fillColor=#666666;");
- b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Pressed Bright")}),this.addEntry("android split action bar dark",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar;fillColor=#1A1A1A;");c.vertex=!0;var b=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=
- !0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar")}),this.addEntry("android split action bar bright",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar;fillColor=#E6E6E6;");c.vertex=
- !0;var b=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar (Bright)")}),this.addEntry("android split action bar landscape dark",function(){var c=
- new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar_landscape;fillColor=#1A1A1A;");c.vertex=!0;var b=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=
- !0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar Landscape")}),this.addEntry("android split action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar_landscape;fillColor=#E6E6E6;");c.vertex=!0;var b=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=
- !0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar Landscape (Bright)")}),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.statusBar;align=center;fillColor=#000000;strokeColor=#ffffff;fontColor=#ffffff;fontSize=10;",183.57,15.825,"","Status bar (portrait)",
- null,null,"android status bar portrait"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.statusBar;align=center;fillColor=#000000;strokeColor=#ffffff;fontColor=#ffffff;fontSize=10;",320.087,15.825,"","Status bar (landscape)",null,null,"android status bar landscape"),this.createVertexTemplateEntry(b+"switch_off;fillColor=#666666;",80,20,"","Switch Off",null,null,"android switch off"),this.createVertexTemplateEntry(b+"switch_off;fillColor=#E6E6E6;",80,20,
- "","Switch Off",null,null,"android switch off"),this.createVertexTemplateEntry(b+"switch_on;fillColor=#666666;",80,20,"","Switch On",null,null,"android switch on"),this.createVertexTemplateEntry(b+"switch_on;fillColor=#E6E6E6;",80,20,"","Switch On",null,null,"android switch on"),this.addDataEntry("android tab tabulator bar dark",185,30,"Tab Bar Dark","3ZZfb8IgEMA/Da8NhdY/r+02n/bkkj1jQSGjxVCc7T79KMVpp81qnG6RhIS744D7cVwAOM2rmSZr/qwokwA/ApxqpUw7yquUSQkQFBTgB4AQtB2gpx5r6KxwTTQrzBAH1Dq8E7lhraZVlKaWXlEard7Yq6CGW0UIcMJNLv2w5ISqrRWgFSgpOaNesJZ1s0JerZroAlJQrQQNtGaZPVqi5+KD+blLIWWqpNJuRxy51qzhtt5ZClVYh8SfmGnDqt6oncqHPGMqZ0bXdsrWR9HMmMStG2dixb0bbmlBUrby6st1z9AOPMbTSPER0heysIrw2mRJkfEGVLJUhZn7bUIvH+BdujaUJPqRZDQK0JVYRj0s/yZLv2PtZi2E02mW9WXtNe6gOuJ/m1uJ/2PRwHgRs/iiohGdxlz7SxgPZnw54lFP4uO7KiLeYYqCm+bvuAdudI9wQzwJxjfFOxlQHjwgKdzr7D7ZQwBUNC9fqMLqS7VpTv87UMJdytWdmnb4QYDHeND5eKy4/845W+e39wk="),
- this.addDataEntry("android tab tabulator bar dark",185,30,"Tab Bar Dark","3ZZRb4MgEIB/Da9GQdvuVbf1aU9dsmdaaCFDaZCuul8/1OtqV81cOrulJCbcHQfcx3k5RJK0mBu6FU+acYXIAyKJ0do2s7RIuFII+5Ihco8w9t2H8GOPNait/pYantkhDrhxeKNqxxtNo8htqUCRW6Nf+YtkVjhFgEgsbKpgmgvK9N4JvhMYzQVnIDjLttohLTZVdB7NmNGSecbwlbtabBbyncPatVQq0Uqb+kQS1qPaoz76YMl05hxiuDE3lhe9UdcqCHnOdcqtKd2SPURRrZhFjZvgciPAjTS0fJo38ubT9cjQTQBjN1JyhvSZLp0iGJsszVaiAhWvdWYXcEwAcgvvuh5DSeJvSYYTD4/EMuxh+TdZ+hVrK2shNzsTdgz8xRn66zxI9B/rBSHLiEcX1YuwG3MJjzAdzPhyxJOenCc3VT/A4Q57V83faQ/c8BbhBmTmTa+KdzagPAAgJTsqZhsAk9WfL3Xm9LneVbf/HSjBIeXKk5rW7g38czz453iceOzkattJo/cB"),
- this.addDataEntry("android tab tabulator bar bright",185,30,"Tab Bar Bright","3ZZfb4MgEMA/Da9GQdvutW7r0566ZM+0YCFDaJCuuk8/QLr+cWYuXbulJCbcHSfc784TgPKynmm8Zk+KUAHQA0C5Vsq0s7LOqRAAxpwAdA8gjO0D4GOPNfHWeI01lWaIA2wd3rDY0FbTKirTiKCojFav9IUTw6wiAWjKTCnCtGKYqK0VYisQXDFKgmAta/eGsl656CIsiVacRFrTpT3aVM/5Ow1rCy5EroTSfkdE/XDv8FvvLFJJpwwnptrQujdqrwohz6gqqdGNXbINUbgVk6x1Y5SvWHBDLa0YV628+nTdM7STgPFrpKiD9BkvrCK5NFksl8yBmhZKmnnYJgnyAd6RH0NJwm9JpqMIXohl2sPyb6r0FOtx1abpMiuyvqo9yUHhx5k5qDv8r5OV7D82DYQWGe3FPwhz+jXmJiRhPJjx+YhHPYWPbqqJBIc7GF21fsc9cNNbhJugSTS+Kt7JgPYQAAkuu//5QwCEuy+fK2n1ldq40/8OlGRXcs1RTzu8IMRdPPDneKy4v85529Ft7wM="),
- this.addDataEntry("android tab tabulator bar bright",185,30,"Tab Bar Bright","3Zbfb8IgEMf/Gl6bFlp1r3abT3tyyZ5RUMhoMRRnu79+0J6zzjbr4nSLJE2473H8+HC9gEialTNDN+JJM64QeUAkNVrbppeVKVcK4VAyRO4RxqH7EH7s8Ua1N9xQw3M7JAA3AW9UbXmjNEJhKwVCYY1+5S+SWeGECJGpsJmCbiEo0ztnhM5gtBCcgeE8Gz9DVq796QKaM6MlC4zhS7e1qZnLdw5jV1KpVCtt6hUJr5ufo15678l17kXYMTeWl72nriU48ozrjFtTuSE7OIUfMUmaMMHlWkAYaWiFtGjs9WfogaHrAMZupOQE6TNdOCG6NFmaL4UHNV3p3M5hmQjsFt5R3YaSxN+SjEcBvhDLuIfl32TpV6ytrIXc7EzYS+AvT9Bf50KS/1gvCFkkPDmrXsTdmCu4hPFgxucjHvXkPLmp+gEBdzi4av6Oe+DGtwg3IpNgfFW8kwHlAQAp2VEx2wCY9H++1LnTC731u/8dKNE+5aqjmtZ+G4SnePDP8Tjz8JKrfUcPvQ8="),
- this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.textfield;align=center;strokeColor=#4D4D4D;",174,30,"","Textfield Disabled",null,null,"android textfield disabled"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.textfield;align=center;strokeColor=#999999;",174,30,"","Textfield Normal",null,null,"android textfield normal"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.textfield;align=center;strokeColor=#33b5e5;",
- 174,30,"","Textfield Activated",null,null,"android textfield activated"),this.createVertexTemplateEntry(b+"text_insertion_point;",20,30,"","Text Insertion Point",null,null,"android textfield insertion point"),this.createVertexTemplateEntry(b+"textSelHandles;fillColor=#33b5e5;strokeColor=#0099cc;",168.8,42.2,"","Text Selection Handles",null,null,"android text selection handle"),this.createVertexTemplateEntry(b+"time_picker;",150,230,"","Time Picker (Bright)",null,null,"android time picker bright"),
- this.createVertexTemplateEntry(b+"time_picker_dark;",150,230,"","Time Picker (Dark)",null,null,"android time picker dark"),this.createVertexTemplateEntry(d+"rect;fillColor=#33b5e5;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#0099cc;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#aa66cc;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#9933cc;",50,50,"","Color",
- null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#99cc00;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#669900;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#ffbb33;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#ff8800;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#ff4444;",50,
- 50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(d+"rect;fillColor=#cc0000;",50,50,"","Color",null,null,"android color")];this.addPalette("android",mxResources.get("android"),!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))}})();(function(){Sidebar.prototype.addArchiMatePalette=function(){this.addPaletteFunctions("archimate",mxResources.get("archiMate21"),!1,[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=actor",100,75,"","Business Actor",null,null,this.getTagsForStencil("mxgraph.archimate","application","archimate business actor").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=role",
- 100,75,"","Business Role",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business role").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=collab",100,75,"","Business Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business collaboration").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=interface",
- 100,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interface").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=interface2",100,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interface").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.location",100,75,
- "","Location",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate location").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=process",100,75,"","Business Process",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business process").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=function",100,75,"","Business Function",
- null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business function").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=interaction",100,75,"","Business Interaction",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interaction").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=event",100,75,"","Business Event",
- null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=service",100,75,"","Business Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.businessObject;overflow=fill",100,75,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>',
- "Business Object",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business object").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.representation",100,75,"","Representation",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate representation").join(" ")),this.createVertexTemplateEntry("fillColor=#ffff99;whiteSpace=wrap;shape=cloud;html=1;",100,75,"","Meaning",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate meaning").join(" ")),this.createVertexTemplateEntry("fillColor=#ffff99;whiteSpace=wrap;shape=ellipse;html=1;",100,56.25,"","Value",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate value").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.product;overflow=fill",100,75,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="left"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>',
- "Product",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate product").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.businessObject;overflow=fill",100,75,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>',"Contract",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate contract").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=comp",100,75,"","Application Component",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application component").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=collab",100,75,"","Application Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate application collaboration").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=interface",100,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application interface").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=interface2",100,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate application interface").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=function",100,75,"","Application Function",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application function").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=interaction",100,75,"","Application Interaction",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate application interaction").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=service",100,75,"","Application Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.businessObject;overflow=fill",100,75,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>',
- "Data Object",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate data object").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=node",100,75,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate node").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.tech;techType=device",100,75,"","Device",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate device").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=network",100,75,"","Network",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate network").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=commPath",100,75,"","Communications Path",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate communications path").join(" ")),
- this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=interface",100,75,"","Infrastructure Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infrastructure interface").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=interface2",100,75,"","Infrastructure Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infrastructure interface").join(" ")),
- this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=sysSw",100,75,"","System Software",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate system software").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.business;busType=function",100,75,"","Infrastructure Function",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infraastructure function").join(" ")),
- this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.business;busType=service",100,75,"","Infrastructure Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infrastructure service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=artifact",100,75,"","Artifact",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate artifact").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical",
- 100,75,"","Association",null,this.getTagsForStencil("mxgraph.archimate","","archimate association").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=1;dashed=1",100,75,"","Access",null,this.getTagsForStencil("mxgraph.archimate","","archimate access").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical;endFill=0;dashed=1",100,75,"","Access",null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate access").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=1",100,75,"","Used by",null,this.getTagsForStencil("mxgraph.archimate","","archimate used by").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;elbow=vertical;endFill=0;dashed=1",100,75,"","Realization",null,this.getTagsForStencil("mxgraph.archimate","","archimate realization").join(" ")),this.createEdgeTemplateEntry("endArrow=oval;html=1;endFill=1;startArrow=oval;startFill=1;edgeStyle=elbowEdgeStyle;elbow=vertical",
- 100,75,"","Assignment",null,this.getTagsForStencil("mxgraph.archimate","","archimate assignment").join(" ")),this.createEdgeTemplateEntry("endArrow=none;html=1;endFill=0;startArrow=diamondThin;startFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical",100,75,"","Aggregation",null,this.getTagsForStencil("mxgraph.archimate","","archimate aggregation").join(" ")),this.createEdgeTemplateEntry("endArrow=none;html=1;endFill=0;startArrow=diamondThin;startFill=1;edgeStyle=elbowEdgeStyle;elbow=vertical",100,75,
- "","Composition",null,this.getTagsForStencil("mxgraph.archimate","","archimate composition").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=1;startArrow=none;startFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;dashed=1",100,75,"","A",null,this.getTagsForStencil("mxgraph.archimate","","archimate ").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=1;startArrow=none;startFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;dashed=1",100,75,"","Flow",null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate flow").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=1;startArrow=none;startFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;dashed=0",100,75,"","Triggering",null,this.getTagsForStencil("mxgraph.archimate","","archimate triggering").join(" ")),this.createVertexTemplateEntry("swimlane;html=1;fillColor=#ffffff;whiteSpace=wrap",100,75,"","Grouping",null,this.getTagsForStencil("mxgraph.archimate","","archimate grouping").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;fillColor=#000000",
- 10,10,"","Junction",null,this.getTagsForStencil("mxgraph.archimate","","archimate junction").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical",100,75,"","Specialization",null,this.getTagsForStencil("mxgraph.archimate","","archimate specialization").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffccff;shape=mxgraph.archimate.motiv;motivType=stake",100,75,"","Stakeholder",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate stakeholder").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffccff;shape=mxgraph.archimate.motiv;motivType=driver",100,75,"","Driver",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate driver").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffccff;shape=mxgraph.archimate.motiv;motivType=assess",100,75,"","Assessment",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate assesment").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ccccff;shape=mxgraph.archimate.motiv;motivType=goal",
- 100,75,"","Goal",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate goal").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ccccff;shape=mxgraph.archimate.motiv;motivType=req",100,75,"","Requirement",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate goal").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ccccff;shape=mxgraph.archimate.motiv;motivType=const",100,75,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate constraint").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ccccff;shape=mxgraph.archimate.motiv;motivType=princ",100,75,"","Principle",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate principle").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffe0e0;shape=mxgraph.archimate.rounded=1",100,75,"","Work Package",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate work package").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffe0e0;shape=mxgraph.archimate.representation",
- 100,75,"","Deliverable",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate deliverable").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.tech;techType=plateau",100,75,"","Plateau",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate plateau").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.gap",100,75,"","Gap",null,null,this.getTagsForStencil("mxgraph.archimate",
- "","archimate gap").join(" "))])}})();(function(){Sidebar.prototype.addArchimate3Palette=function(){this.addArchimate3ApplicationPalette();this.addArchimate3BusinessPalette();this.addArchimate3CompositePalette();this.addArchimate3ImplementationAndMigrationPalette();this.addArchimate3MotivationPalette();this.addArchimate3PhysicalPalette();this.addArchimate3RelationshipsPalette();this.addArchimate3StrategyPalette();this.addArchimate3TechnologyPalette()};Sidebar.prototype.addArchimate3ApplicationPalette=function(){var a=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=comp;archiType=square;",
- 150,75,"","Application Component",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.component;",70,75,"","Component",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=collab;archiType=square;",
- 150,75,"","Application Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer collaboration").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.collaboration;",60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer collaboration").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=interface;archiType=square;",
- 150,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.interface;",70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interface").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=proc;archiType=rounded;",
- 150,75,"","Application Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer process").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.process;",150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer process").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=func;archiType=rounded;",
- 150,75,"","Application Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer function").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.function;",75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer function").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=interaction;archiType=rounded;",
- 150,75,"","Application Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interaction").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.interaction;",75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interaction").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=serv;archiType=rounded",
- 150,75,"","Application Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.service;",60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=event;archiType=rounded",
- 150,75,"","Application Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.event;",60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#99ffff;strokeColor=#000000;shape=mxgraph.archimate3.businessObject;overflow=fill",
- 150,75,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>',"Data Object",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer data object").join(" "))];this.addPalette("archimate3Application","Archimate 3.0 / Application",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};
- Sidebar.prototype.addArchimate3BusinessPalette=function(){var a=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=actor;archiType=square;",150,75,"","Business Actor",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer actor").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.actor;",50,95,"","Actor",null,
- null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer actor").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=role;archiType=square;",150,75,"","Business Role",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer role").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.role;",
- 85,50,"","Role",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer role").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=collab;archiType=square;",150,75,"","Business Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer collaboration").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.collaboration;",
- 60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer collaboration").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=interface;archiType=square;",150,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer component").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.interface;",
- 70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interface").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=proc;archiType=rounded;",150,75,"","Business Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer process").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.process;",
- 150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer process").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=func;archiType=rounded;",150,75,"","Business Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer function").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.function;",
- 75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer function").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=interaction;archiType=rounded;",150,75,"","Business Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interaction").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.interaction;",
- 75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interaction").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=serv;archiType=rounded;",150,75,"","Business Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.service;",
- 60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=event;archiType=rounded;",150,75,"","Application Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.event;",
- 60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.businessObject;overflow=fill;",150,75,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>',"Business Object",
- null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer data object").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.contract;",150,75,"","Contract",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer contract").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.product;",150,75,"",
- "Product",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer product").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#ffff99;strokeColor=#000000;shape=mxgraph.archimate3.representation;",150,90,"","Representation",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer representation").join(" "))];this.addPalette("archimate3Business","Archimate 3.0 / Business",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};
- Sidebar.prototype.addArchimate3CompositePalette=function(){var a=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#FFB973;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=actor;archiType=square;",150,75,"","Location",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate composite element actor").join(" ")),this.createVertexTemplateEntry("shape=folder;spacingTop=10;tabWidth=100;tabHeight=25;tabPosition=left;html=1;dashed=1;",150,105,"","Group",null,null,
- this.getTagsForStencil("mxgraph.archimate3","","archimate composite element actor").join(" "))];this.addPalette("archimate3Composite","Archimate 3.0 / Composite",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addArchimate3ImplementationAndMigrationPalette=function(){var a=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#FFE0E0;strokeColor=#000000;shape=mxgraph.archimate3.application;archiType=rounded;",150,75,"","Work Package",
- null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element work package").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#FFE0E0;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=event;archiType=rounded;",150,75,"","Implementation Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element implementation event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#FFE0E0;strokeColor=#000000;shape=mxgraph.archimate3.event;",
- 60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#FFE0E0;strokeColor=#000000;shape=mxgraph.archimate3.deliverable;",150,60,"","Deliverable",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element deliverable").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#E0FFE0;strokeColor=#000000;shape=mxgraph.archimate3.tech;techType=plateau;",
- 150,75,"","Plateau",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element plateau").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#E0FFE0;strokeColor=#000000;shape=mxgraph.archimate3.gap;",150,60,"","Gap",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element gap").join(" "))];this.addPalette("archimate3Implementation and Migration","Archimate 3.0 / Implementation and Migration",
- !1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addArchimate3MotivationPalette=function(){var a=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=role;archiType=oct;",150,75,"","Stakeholder",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element stakeholder").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=driver;archiType=oct;",
- 150,75,"","Driver",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element driver").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=assess;archiType=oct;",150,75,"","Assesment",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element assessment").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;",
- 150,75,"","Value",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element value").join(" ")),this.createVertexTemplateEntry("shape=cloud;html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;",150,75,"","Meaning",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element meaning").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=goal;archiType=oct;",
- 150,75,"","Goal",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element goal").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=outcome;archiType=oct;",150,75,"","Outcome",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element outcome").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=principle;archiType=oct;",
- 150,75,"","Principle",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element principle").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=requirement;archiType=oct;",150,75,"","Requirement",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element requirement").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.requirement;",
- 100,50,"","Requirement",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element requirement").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=constraint;archiType=oct;",150,75,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element constraint").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#CCCCFF;strokeColor=#000000;shape=mxgraph.archimate3.constraint;",
- 100,50,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element constraint").join(" "))];this.addPalette("archimate3Motivation","Archimate 3.0 / Motivation",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addArchimate3PhysicalPalette=function(){var a=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.tech;techType=facility;",
- 150,75,"","Facility",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element facility").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.tech;techType=equipment;",150,75,"","Equipment",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element equipment").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=material;archiType=square;",
- 150,75,"","Material",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element material").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=distribution;archiType=square;",150,75,"","Distribution Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element distribution").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.distribution;",
- 90,40,"","Distribution Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element distribution").join(" "))];this.addPalette("archimate3Physical","Archimate 3.0 / Physical",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addArchimate3RelationshipsPalette=function(){var a=this,b=[this.createEdgeTemplateEntry("html=1;endArrow=diamondThin;endFill=1;edgeStyle=elbowEdgeStyle;elbow=vertical;endSize=10;",160,0,"",
- "Composition",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship composition").join(" ")),this.createEdgeTemplateEntry("html=1;endArrow=diamondThin;endFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;endSize=10;",160,0,"","Aggregation",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship aggregation").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=1;startArrow=oval;startFill=1;edgeStyle=elbowEdgeStyle;elbow=vertical;",160,0,"",
- "Assignment",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship assignment").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;elbow=vertical;endFill=0;dashed=1;",160,0,"","Realization",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship realization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=1;",160,0,"","Serving",null,this.getTagsForStencil("mxgraph.archimate3",
- "","archimate relationship serving").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical;dashed=1;startFill=0;dashPattern=1 4;",160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship access").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=0;dashed=1;startArrow=open;startFill=0;dashPattern=1 4;",160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3",
- "","archimate relationship access").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=0;dashed=1;dashPattern=1 4;",160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship access").join(" ")),this.addEntry("uml influence",function(){var b=new mxCell("+/-",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=0;dashed=1;dashPattern=6 4;");b.geometry.setTerminalPoint(new mxPoint(0,
- 0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=!0;b.geometry.x=1;b.geometry.y=10;b.edge=!0;return a.createEdgeTemplateFromCells([b],160,0,"Influence")}),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;dashed=0;elbow=vertical;endFill=1;",160,0,"","Triggering",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship triggering").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;dashed=1;elbow=vertical;endFill=1;dashPattern=6 4;",
- 160,0,"","Flow",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship flow").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;",160,0,"","Specialization",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship specialization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical;",160,0,"","Association",null,this.getTagsForStencil("mxgraph.archimate3",
- "","archimate relationship association").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;fillColor=#000000;strokeColor=#000000;",10,10,"","And Junction",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship junction").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;fillColor=#ffffff;strokeColor=#000000;",10,
- 10,"","Or Junction",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship junction").join(" "))];this.addPalette("archimate3Relationships","Archimate 3.0 / Relationships",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addArchimate3StrategyPalette=function(){var a=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#F5DEAA;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=resource;archiType=square;",
- 150,75,"","Resource",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy resource").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#F5DEAA;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=capability;archiType=square;",150,75,"","Capability",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy capability").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#F5DEAA;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=course;archiType=square;",
- 150,75,"","Course of Action",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy course action").join(" "))];this.addPalette("archimate3Strategy","Archimate 3.0 / Strategy",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addArchimate3TechnologyPalette=function(){var a=[this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=node;archiType=square;",
- 150,75,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology node").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.node;",100,60,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology node").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.tech;techType=device;",150,75,
- "","Device",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology device").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.device;",80,65,"","Device",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology device").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=sysSw;archiType=square;",
- 150,75,"","System Software",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology system software").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.tech;techType=sysSw;",120,75,"","System Software",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology system software").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=collab;archiType=square;",
- 150,75,"","Technology Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology collaboration").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.collaboration;",60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology collaboration").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=interface;archiType=square;",
- 150,75,"","Technology Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology component").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.interface;",70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interface").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=proc;archiType=rounded;",
- 150,75,"","Technology Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology process").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.process;",150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology process").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=func;archiType=rounded;",
- 150,75,"","Technology Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology function").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.function;",75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology function").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=interaction;archiType=rounded;",
- 150,75,"","Technology Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interaction").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.interaction;",75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interaction").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=serv;archiType=rounded",
- 150,75,"","Technology Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.service;",60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology service").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=event;archiType=rounded",
- 150,75,"","Technology Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.event;",60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology event").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=artifact;archiType=square;",
- 150,75,"","Technology Artifact",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology artifact").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.artifact;",50,75,"","Artifact",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology artifact").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=netw;archiType=square;",
- 150,75,"","Communication Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.commNetw;strokeWidth=6;",100,30,"","Communication Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.application;appType=path;archiType=square;",
- 150,75,"","Path",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;fillColor=#AFFFAF;strokeColor=#000000;shape=mxgraph.archimate3.path;strokeWidth=6;",100,30,"","Path",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology path").join(" "))];this.addPalette("archimate3Technology","Archimate 3.0 / Technology",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addArrows2Palette=function(){var a=[this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;notch=0;",100,70,"","Arrow Right",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow right").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;flipH=1;notch=0;",100,70,"","Arrow Left",null,null,this.getTagsForStencil("mxgraph.arrows2",
- "arrow","arrow leftt").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;direction=north;notch=0;",70,100,"","Arrow Up",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow up").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;direction=south;notch=0;",70,100,"","Arrow Down",null,null,this.getTagsForStencil("mxgraph.arrows2",
- "arrow","arrow down").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=30;notch=30;",100,60,"","Chevron Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow chevron").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;notch=15;",100,70,"","Notched Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2",
- "arrow","arrow notched").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=10;",100,30,"","Notched Signal-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow notched signal in").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;",100,30,"","Signal-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2",
- "arrow","arrow signal in").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.67;dx=20;notch=0;",100,60,"","Slender Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow slender").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.twoWayArrow;dy=0.6;dx=35;",100,60,"","Two Way Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2",
- "arrow","arrow two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.twoWayArrow;dy=0.65;dx=22;",100,60,"","Slender Two Way Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow slender two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.stylisedArrow;dy=0.6;dx=40;notch=15;feather=0.4;",100,60,"","Stylised Arrow",null,
- null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow stylised notch notched").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.sharpArrow;dy1=0.67;dx1=18;dx2=18;notch=0;",100,60,"","Sharp Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow sharp").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.sharpArrow2;dy1=0.67;dx1=18;dx2=18;dy3=0.15;dx3=27;notch=0;",
- 100,60,"","Sharp Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow sharp").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.calloutArrow;dy=10;dx=20;notch=60;arrowHead=10;",100,60,"","Callout with Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendArrow;dy=15;dx=38;notch=0;arrowHead=55;rounded=0;",
- 100,100,"","Bend Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendArrow;dy=15;dx=38;notch=0;arrowHead=55;rounded=1;",100,100,"","Bend Arrow (rounded)",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend rounded").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendDoubleArrow;dy=15;dx=38;arrowHead=55;rounded=0;",
- 100,100,"","Bend Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend double two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendDoubleArrow;dy=15;dx=38;arrowHead=55;rounded=1;",100,100,"","Bend Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend double two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.calloutDoubleArrow;dy=10;dx=20;notch=24;arrowHead=10;",
- 100,50,"","Callout with Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout double two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.calloutQuadArrow;dy=10;dx=20;notch=24;arrowHead=10;",100,100,"","Callout with Quad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout quad four war").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.calloutDouble90Arrow;dy1=10;dx1=20;dx2=70;dy2=70;arrowHead=10;",
- 100,100,"","Callout with Double Arrow 90"+String.fromCharCode(176),null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout double two way orthogonal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.quadArrow;dy=10;dx=20;notch=24;arrowHead=10;",100,100,"","Quad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow four way quad").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.triadArrow;dy=10;dx=20;arrowHead=40;",
- 100,70,"","Triad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow three way triad").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.tailedArrow;dy1=10;dx1=20;notch=0;arrowHead=20;dx2=25;dy2=30;",100,60,"","Tailed Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow tailed").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.tailedNotchedArrow;dy1=10;dx1=20;notch=20;arrowHead=20;dx2=25;dy2=30;",
- 100,60,"","Tailed Arrow with Notch",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow tailed notch notched").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.stripedArrow;dy=0.6;dx=40;notch=25;",100,70,"","Striped Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow striped").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.jumpInArrow;dy=15;dx=38;arrowHead=55;",
- 100,100,"","Jump-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow jump in").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=11;arrowHead=43;dx2=25;",100,100,"","U Turn Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow u turn uturn").join(" "))];this.addPalette("arrows2",mxResources.get("arrows"),!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addAtlassianPalette=function(){var a=this,b=[this.createVertexTemplateEntry("dashed=0;html=1;shape=mxgraph.webicons.atlassian;fillColor=#FFFFFF;gradientColor=#DFDEDE",100,100,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.atlassian","atlassian","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;shape=mxgraph.webicons.bitbucket;fillColor=#FFFFFF;gradientColor=#DFDEDE",100,100,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.atlassian",
- "bitbucket","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;shape=mxgraph.webicons.confluence;fillColor=#FFFFFF;gradientColor=#DFDEDE",100,100,"","Confluence",null,null,this.getTagsForStencil("mxgraph.atlassian","confluence","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;shape=mxgraph.weblogos.atlassian;fillColor=#59AFE1;strokeColor=none",60,55,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.atlassian","atlassian","atlassian ").join(" ")),
- this.createVertexTemplateEntry("dashed=0;html=1;shape=mxgraph.weblogos.bitbucket;fillColor=#205081;strokeColor=none",65,75,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.atlassian","bitbucket","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;shape=mxgraph.weblogos.confluence;fillColor=#1F5081;strokeColor=none",78,67,"","Confluence",null,null,this.getTagsForStencil("mxgraph.atlassian","confluence","atlassian ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=46;fontStyle=1;html=1",
- 96,96,"MM","Avatar (Large)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=25;fontStyle=1;html=1",48,48,"MM","Avatar (Main)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#36B37E;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1",
- 32,32,"MM","Avatar (Normal)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1",24,24,"MM","Avatar (Small)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#FF5630;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1",
- 16,16,"M","Avatar (Tiny)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.addEntry("atlassian avatar available",function(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,1,10,10),"shape=ellipse;fillColor=#36B37E;strokeColor=#ffffff;strokeWidth=2;");c.geometry.relative=
- !0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Available)")}),this.addEntry("atlassian avatar away",function(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,1,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.away;fillColor=#7A869A;strokeColor=#ffffff;strokeWidth=2;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Away)")}),this.addEntry("atlassian avatar do not disturb unavailable",function(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,
- 1,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.do_not_disturb;fillColor=#FF5630;strokeColor=#ffffff;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Do not disturb)")}),this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=14;fontStyle=1;html=1",
- 40,40,"</>","Container Avatar (Large)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar large").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1",32,32,"</>","Container Avatar (Medium)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar medium").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1",
- 24,24,"</>","Container Avatar (Small)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar small").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#0065FF;strokeColor=none;html=1",10,10,"","Dot Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian dot badge").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#0065FF;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=1;arcSize=50",
- 40,25,"13","Bold Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian bold badge").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#E3FCEF;strokeColor=none;html=1;fontColor=#016745;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=0;arcSize=50",40,25,"+1","Subtle Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian subtle badge").join(" ")),this.addEntry("atlassian banner",function(){var b=new mxCell("",new mxGeometry(0,
- 0,625,50),"rounded=0;fillColor=#FFAB00;strokeColor=none;html=1");b.vertex=!0;var c=new mxCell("<b>More information?</b> See the <u>recovery process documentation</u>.",new mxGeometry(.15,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#172B4C;strokeColor=none;fontColor=#172B4C;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],
- b.geometry.width,b.geometry.height,"Banner")}),this.addEntry("atlassian banner",function(){var b=new mxCell("",new mxGeometry(0,0,625,50),"rounded=0;fillColor=#DE350A;strokeColor=none;html=1");b.vertex=!0;var c=new mxCell("A database error has occurred. Please reload the page.",new mxGeometry(.15,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#ffffff;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");c.geometry.relative=
- !0;c.geometry.offset=new mxPoint(0,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Banner")}),this.createVertexTemplateEntry("fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0",360,25,"Atlassian / Atlassian Connect / atlassian-connect-js-extra","Breadcrumb",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian breadcrumb").join(" ")),this.addEntry("atlassian button primary",
- function(){var b=new mxCell("Pay now",new mxGeometry(25,0,86,33),"rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],111,33,"Button (Primary)")}),this.addEntry("atlassian button standard",function(){var b=new mxCell("Create Group",new mxGeometry(25,
- 0,115,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],140,33,"Button (Standard)")}),this.addEntry("atlassian button link",function(){var b=new mxCell("Visit documentation",new mxGeometry(25,0,125,33),"fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],150,33,"Button (Link)")}),this.addEntry("atlassian button primary",function(){var b=new mxCell("Submit",new mxGeometry(25,0,80,33),"rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,
- 14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],105,33,"Button (Primary)")}),this.addEntry("atlassian button standard",function(){var b=new mxCell("Done",new mxGeometry(25,0,55,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");
- c.vertex=!0;return a.createVertexTemplateFromCells([b,c],80,33,"Button (Standard)")}),this.addEntry("atlassian button link",function(){var b=new mxCell("Click here",new mxGeometry(25,0,75,33),"fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],100,33,"Button (Link)")}),
- this.createVertexTemplateEntry("rounded=1;fillColor=#0057D8;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Primary","Button (Primary)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian button primary").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Standard","Button (Standard)",null,null,this.getTagsForStencil("mxgraph.atlassian",
- "","atlassian button standard").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Link button","Button (Link)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian button link").join(" ")),this.addEntry("atlassian dropdown button",function(){var b=new mxCell("Dropdown button",new mxGeometry(0,0,140,33),"rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=12;spacingLeft=10");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,12,6),"shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (dropdown)")}),this.addEntry("atlassian button label only",function(){var b=new mxCell("Label only",new mxGeometry(0,0,80,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");
- b.vertex=!0;return a.createVertexTemplateFromCells([b],80,33,"Button (label only)")}),this.addEntry("atlassian button icon and label",function(){var b=new mxCell("Icon and label",new mxGeometry(0,0,120,33),"rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],120,33,"Button (icon and label)")}),this.addEntry("atlassian button icon only",function(){var b=new mxCell("",new mxGeometry(0,0,32,33),"rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],32,33,"Button (icon only)")}),this.addEntry("atlassian button subtle",function(){var b=new mxCell("Subtle",new mxGeometry(0,0,80,33),"rounded=1;align=left;fillColor=none;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],80,33,"Button (subtle)")}),this.addEntry("atlassian button disabled",function(){var b=new mxCell("Disabled button",new mxGeometry(0,0,110,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#A5ADBA;fontSize=12");b.vertex=!0;return a.createVertexTemplateFromCells([b],110,33,"Button (disabled)")}),this.addDataEntry("atlassian split button",80,33,
- "Button (split)","rZRfb4IwFMU/TR9doFXnXsXhy5Ys8WHPjVygWWlJuTrdp1+hBUV0kjgTk/bce/rndxoIi4rD2vAyf9cJSMJeCYuM1uhGxSECKQkNRELYilAa2D+h8Y1q2FSDkhtQOMZAnWHP5Q6csimlQKdWeJReNXqnEqhNIWHLVEgZaalNU2RxGNN4avUKjf6CtqK0su5ljoVsfVrhmW/2Mn9eBFbnUmTKahJS9G0b8VNvHdJ62ZJvhcremuoqDPyZwSAcbt67kfyl16ALQHO0Ld8iwdx1LPxCOYgs9y7GnMYrN8865wmiHXiO15myAdMBzirnZT1EI7jKanWZCANbFLrmUOldfchLzh2vvzmPoUOv0+kbjv4FPc3c/IxdSIfs5k4yIDmKPfSWusbTb/+hhT1Vt/fEv9h298lFIjpNK8BBHt0lRkU0HR+RFOpWPP0YbEBp8+u/edf06dHR/0vnThrtS340DjZ7nL+dnj5prv38i/cL"),
- this.addDataEntry("atlassian button grouped",320,33,"Button (grouped)","7ZZNb4JAEIZ/zR5rYFetvUqLvTRp0kPPGxlg48KSZVHsr+8AC37S0kQ9mJqY7MwwHzzviBDmJeVC8yx+UwFIwl4I87RSpjklpQdSEuqIgLBnQqmDX0L9nqhbR52Ma0jNkATaJKy5LKDxNI7cbKV15EarFXyKwMTocAmb5zEP1AYNB42A5zEE1uBSRCmel9geNDpik8hdVlaVTMqout1RoparIhtpDUscda4/xFcVdqs6oZDSU1LpegTmuz71x1WNepa9SFh/ukg7ZXtboA2UvWhql+WyAJWA0Vu8ZGOLYJRZfE4MIoptGmONj+eNHXWpO9B4sKzPc2cn3OeFMSpF36kCWhVp0DEOVWpaVtTae0QmT9PHWXedLXLMNFUp/Akn6gM5Nn1tOVSKDoJMf4U8+4GxBsmNWMNB+XPgbYd3JbAxdcrD0m2GCsMczIlQ3VyDtBv3a8f+tbuYdu70GuJN+sUb3/zRVzGz7Y8fgHexKIcJt1mbh6v85qf9a+Peem0khHe9NZfek57/ZDR371nNSuy/hn0D"),
- this.addEntry("atlassian button compact",function(){var b=new mxCell("Compact",new mxGeometry(0,0,86,33),"rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(107,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");c.vertex=!0;var e=new mxCell("",new mxGeometry(117,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");e.vertex=!0;var f=new mxCell("",new mxGeometry(127,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");
- f.vertex=!0;return a.createVertexTemplateFromCells([b,c,e,f],133,33,"Button (compact)")}),this.addDataEntry("atlassian button grouped group",556,33,"Button (grouped)","3Zhdb5swFIZ/DZeNDA4kuRxp003qpEq76LUVDFgxGNlOm+zXz8YmhTofVIM0W6RI+MCxj5/3+NjgwWWxe+Soyn+yBFMPPnhwyRmT5qrYLTGlXgBI4sF7LwiA+nvB6sRdv74LKsRxKfs4BMbhFdEtNpaHhEhjFHJPrZGzbZlg7eN7ME4JpUtGGa9vQgCicKUGiBElWalsazU4VjdjITnb4ObRkpWquziXBW06YqVsdZTWP2v/RX7rwf0mQswl3p2cZW2yU3zErMCS79UjbySRuXkiNCBAjkmWWy8IjQ0J084Onu/I1IWldpwgdAguWVHowD4FceWvgtV0AIjhIprNwZAQrUMYGo8W0/lITKcO029CaCz/GVJ/Chyms5GYhg5Th6bB8mJj0SBEjhL2php69gkSec0aHGPawqe8Kt1lsct0YZsUbL3ZVhPO8VpNKOYNQnBGs65E7eLQjXIIGQLfTe1gOpIOkaPDD5XX4JmzjGMhvloUN80vLAcb6Uct7aLqL6MKAQs16PeGtw66l7jhxdq/OKMlxxRJ8oo73R8T2I7wzIiu7U3uRKDrwdJUYOkkxCGuXjkyc3LkhfFNSpXqQ6QHxanslxwaV7yVkpXOur2ZHBEVWpMye6onZYL7m7TpOlwnie4WY2TRvEfFt7pLTlCZaWucEF0RiFb8XrCtnv3HIn0Q9/w+2keEWR8R9qYFJm6ZbrbhtijRMJrYk3Mz+h0cQaKFI9ET0pX7ypuALgi3vswH2gqiIVZx373eB5eX4D9+hA2Be4QNo3GOTr5/GWeT4cqTVAKPWryMvKerV9gpID50QB3hFA2AyX2pv2VMwVdhct/cbxkTvA4m1Xz/+mR2tPbHqT8="),
- this.addDataEntry("atlassian button grouped group responsive",551,104,"Button (grouped, responsive)","7Vnfj6IwEP5reLwNbYXFx9PTvZdLLrmHeyYySrOFmrbu6v3110JB2S4urj9wjSaYzpRph+9rZ4bikXG2fhLxMv3FE2AemXhkLDhXZStbj4ExD/s08cgPD2NfXx6etvSiotdfxgJy1cUAlwYvMVtBqSkVUm2YVUgl+DP8pYlKtQJ5ZCTTOOGvWvC1kMQyhcQKMaOLXLdnenoQWpGqjG2tlmbIbL0wj/uQ8dnzavkgBMy0qyPxh/4z3ciMM6eMjTnjonCBTNEUTwdmjMKXnZ558at7Ki+rxwKhYN0KTaGyuDwBz0CJjb7l1Q5i4CElfH4KdJFaM0JKXSxLeVGbboHWDYv1+7gTB/fvUhrsLow+g7karZTiuUMBz1UlYyvvAB8Mw8eovs/6+5a6nOdwEGvaB5B60p8V3Mb1TlziD7kM91ApgMWKvkBj+GP4HbTy6yuu/zJwmBZ8lSc1lzcH//AU8NsZfnOqJ8b+uslsZcHncwnKoav2qxODgcPgmGeZeeBLB0iD1y3v0abBzpKJzrdkvkXnWDPhPZu2sYsD3+EXofA82fXxnl1Pu3PD68quUf/77GaCcgu1rUE52LNnjw3K1dgnDcrDDovFkqwN6VKCGzJr0pqMWJrq5dIF72g/3rbs2FiROPi/A3/YDnTXHYX8r4QS7gsl9JVQIn2hdD9UaOckCi9XBqH7KcOJkyW6smMG5J4z3FglpO8b4ACHk54Zvp16CLknG4cnsTfIH5PEyjV8fRVRl5f564Gpt5LIfde+Zph6q4ncV9ZJQs1ep1JqjZmDFEFzp9nXgWOH4ulTMfmDfFBbNvPB8UXXYBA2WCeRW4P5wTu8H068Frcf78rgvPtt7z8="),
- this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10",12,12,"Text","Checkbox (on)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian checkbox on").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0",
- 12,12,"Text","Checkbox (off)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian checkbox on").join(" ")),this.addDataEntry("atlassian checkbox group",150,173,"Checkbox group","7VfdbpswFH4abisDIWGXLYTepNKkPsDk2AewYmxkOy3Z08+ASTOcTu2yRqtUJCSfX3O+7/iHIM6a7l7htn6QFHgQr4M4U1KacdR0GXAeRIjRIM6DKEL2DaLiFWs4WFGLFQjzloBoDHjCfA+j5hE4EAPUaoksSwA9umhz4M6lZJxnkktlRSGF1d5po+QOZspSCvPIfvZRYTjJLk0vY84qYcccSuPMU4YgipNvy1WK3PeBMtC9WuOgcgXeg2zAqIN1eWbU1M4jcZlqYFXtwhw2COtRro6hL4jZgQPtPICxB+Batwq0lh5sSu4FBeqKPwXRVlugIioSD0lrydM8W8c+Pmh4fBh7rBjB/NapG0Yphxn8aEaPhe+O4y3w71Izw2QfqEakjgk3M/sxsW4xYaLaDPPnYZ+7Ng13heoaU/ns5qRY1wMEFxE7BbgkB0eFE09pj3zWJ90lrC881jPctntiYfB5fwMWg6Xt/Zuu6jeDG2w41pphcUNqILut7H5EftcglKzy9E/r73M0zD/vhSS5Wi8kXi8UHJt+7poZ+OqG/6Ab0uvtDEuvGzZSVFaz5Zjsvs6EK58JIbreRrDyqL+l9H2Mv2sFl8NzQjaxGIH6W7oXH07RxMnCX47LM9ezOL6ck/TMQS2IvWdfcqf1L6mfhwMXsJotk4+jxIovvzOD7be/nV8="),
- this.addDataEntry("atlassian dropdown button",100,53,"Button (dropdown)","tZRNb8IwDIZ/TY5MaQJsu1JWLps0icPOEU3biDSuUpeP/fqlJJRBy8aEdqjkvPYbu4+lEB6Xu4UVVfEGqdSEvxAeWwD0UbmLpdaEUZUSPieMUfcRllzJRocsrYSVBm8xMG/YCN1IryxRYFN7uca9DrKFxqSydUWEzzKldQwarDsbMK5mVqOFtbwQCyz10QIGj1nC+OR5+vhEnS60yo3TtMwwlC3VZ9s1am11JVbK5K+H7DyivRI/v7Qod1cZHKQAYCGhlGj3rmSrUixCBfWcaCFVXgRbYEdF7c95Zz0RdUGAOgyY9wB/gF1nGrZ/QOx4JVHCkvH/cGZDnO/guj/H9xtmzu/HPO5h7uGtC1G1IVolTN6qs1RZuUIFLZcamnbKS+4dv5+530KLD9M6NwR29GHSh8f67KZeslILVBt5dtUQz9D+HZSbqus9Oq4qdB9dbASyrJbY20f3E0MrcsfTM+bLv79yXw=="),
- this.addDataEntry("atlassian dropdown button open",110,200,"Button (dropdown, open)","7ZfLbuIwFIafJsuOHDvmshwC6WYqVdNF1x7iJFZNjGxzm6cfB5u04CSEZtiBhGSfCzbff86BBChe7Z8lWRcvIqU8QIsAxVIIbVerfUw5DyBgaYDmAYTAvAOYtHjDoxesiaSl7pMAbcKW8A21ljdN9EZZs9IH7sxSbMqUVllhgGYZ4zwWXEizL0VpYmZKS/FBL4yFXvFTiij1yRtAhKej8QQYO+EsL42N00y7sDf2tzo1rNLUmixZmf86euch8ELs/anUdN/K4GhyAJ6pWFEtDyZkx1JduAhgOYGCsrxwaY4dIMru8zr1k6hZOKjNgJEH+F3Ij4yL3Q2IDS+I0QRPbuecHV/dnGET5wFcD+f4rmFGaDjmyMPs4VUFWVdLLRkp88o6S5mkS81ExUWJTXXLS+41v27ufWihZlrnCY4d+IF9eNBnN7ImSTnRbEvPPqqJpzv+VTBzq/rsp5NU7vSnC0VElimqPT3qL9FLInxdos4OaFHCeObJIlzgylOQ1DSWTf/SE0QuXa1HvZTqrms88qUJG+o6jKLhhT3yqMVcKMOonR3w2SVRgpNxWxXX2MAFthtHhjd86qElqTKJ7w5Yv3bB14d2E/XTNPluSxzOuP/XDhh7Wv6mW0Z3N6nZ9XP7ENIXEk3voOTEU/LnH1KmRoWHlPeTcgzvIOXUk7LHH7SHksOUDAEeLqXZfj4o2fCvz1H/AA=="),
- this.addDataEntry("atlassian dropdown avatar",160,167,"Button (avatar)","7ZjRcqIwFIafhss6QAT0ckXtTXfGme7MXqdyhMwG4iSh1T79JhKoAiJWu9NudQYHTs4h8p0/P4iFwnRzz/E6+ckioBaaWSjkjMliL92EQKnl2iSy0NRyXVttljs/MursRu015pDJPgVuUfCMaQ5FJEwYE6BiWG0RCBJnwIssIbfUZHGWZxHokzgWmqwIpSGjjKvjjGUqZyIkZ3+gFkxkSssSlsly1HKRN/aDka3imKoJVYzCSpq0R/KqZ3V0mVjjJcnih93o1LEbKcXlAJewOYpkFzI87oGlIPlWpbyQSCYmw2CzEyBxYsrKGBbFcVyVvgFWO4ZxO2/U4H0GWsXJ9dDIG/XgewmI7eH17nPxWrggdDmX4WkuIsFrvSs5wVmso5OIcFhKwrRgBMv1r6wDW+0+J4H1oYXaaR0WGHb2wGvCc5vs/CLEgWJJnuHgVG08zfQLRtSvqua+K1tlZr+rdYStVgJkox/VRfRqkddo0QKTWDvFr5y3eUTZsHQTa38bECaCAVmyTAxyofL79mpf9scdpCrucBC33UEofgK6YIIYKfGiPxOtB7LE9KE2npIo2umvTPhhpqwGLtFTh4LKZXLgSsOrSMipKagU61Ul5F/ofscFMp3PnJmnRxIcsRdTvqcWzJdGBcNezem2Rs9vrm6/xRodp6MRfb0xOIea3aQ2H869eXDMAitgdg3Y2cuotiCrNcvVQ8Qr/Dao+nmtf/oW3ca7vBW9dzFsD3R6Ve2PPrd9Vilfxj6Db2ef40uMoOu5/OYBTQ9A4w/oYCmTvRY+4lQF1HcOVNxM4EwTGH87E6j+495c4B+4QPAhLWx564IF6MsKE5w+Ab8ZwblG4HQ/sP8HTqAO394LFun7rw3/Ag=="),
- this.addDataEntry("atlassian flag message",333,90,"Flag message","vVXbTuMwEP2aPIIcO+nSR9IWXnYltCB4dpNJYuHYkW1oul+/vqW0pKhIBXr1mYtnfOYkSciiG24V7ds/sgKekFVCFkpKE1bdsADOE4xYlZBlgjGy3wTffOBNvRf1VIEwn0nAIeGV8hcIlmDQZsujQckXUYGLTxNS1IzzheRSeSep/cvatVHyGfY8y5tVusqdp6WV3MT01nQ8Lqkq79k/VySLTYAyMHx4EG+Kp7gF2YFRWxuyYZVpQwQhJKS1wJo2ps0DAYjqgJtd6hstdhGZOc4SmbB0/3D99+HiKnfF7M4YrQGE/SsVUGPJek/i3rl3fCALKqpbzy0Knt7Fd0PjBHFJDadaMyouyxbK57UcpgMgs4L8Wk0GIKSAQ7prKUzkO81GHBt0xTldA7+TmhkmhbWpQGFBOWsc5lA7qHtaMtH89mgZ1XVqdPjk6NJsOrnRpoBTw17hYPtj44wV7iSzhTGK/eA8ZGwP4biBrGsNZqKGXZufEkg2Ecgjg40L0NpaHE32M6Ndbym0U7vCeOZXznFdWb0gI+2PgMF1rnvlj/AjIopSOVc/Du/pEqFsXqCpfr5IL3iGpoIZ1XimYMato2By9A2CyU/fd8+c9nDsplz4987zFAnF50zlMOFnrukLMv/yi9rCt+duCN9/LP8H"),
- this.addDataEntry("atlassian multiple flag message",333,150,"Multiple flag message","vVZdb9owFP010Z6GnBjQ+spXNambKvVhj5NJboiFY0e2KaG/ftcfoaGhohKwAJF9r48dn3OuSULndfuoWVP9UgWIhC4TOtdK2dCq2zkIkWSEFwldJFlG8Jdkq0+yqc+ShmmQ9iuALABemdhBiISAsQdxDBCtdrIAB0kTOiu5EHMllPZ5WvoL48ZqtYVeZrFapsuJy1SsUPsIr2wtYpPp/IW/uXXG8TlAW2g/3YsPxY08gqrB6gMO2fPCVmEEpTTAKuCbqoNNAgmEmRDYHLHv1GAjsnOeKTpg6jcvrVs+VzLnBrBluUXWPhKIu29cs243TucRe9tpCPe/TOCOh5yuVpMpJQNOpZJwymCppI0UpuOuH5d2eMHWIJ6V4ZYriTEdWJkxwTeuL6B0XdOwnMvNk+8tomcuqZFdVCMdnxEjxjQIZvkrnEx/TqC4wrPiuHBG4vNkk4A4nHa7CVRZGrADfY+P+SXJxwPJf9pvBiNrMO5ReOk0r3rKE+7SXDoDIE8gcxfMmXcHk4Uf78cUYHLNGy8LBqG1HdrsGtB+llLpOnDUgdkeDO5gNPBY3z/RJddax/V7liT+GlpnX3ELL+gfh9ujwW/kHVxxaJ4puYl5ummieT4eDzcxz+TyydoT43hCOoYLZip/2pKQOT09rGDGcCZH7bkzd+Y/x8yfSGh2jSqngP9T39/pw/0LfDrQ6InLratHhbdaaYh1mLgjEb9TVjfILfL8w6FdyyX6KJaHmr6t1nkF+Xat2g9/Ffcq9fHD7Eyp37Oys7tUdppm19sGu+8vZGF4/33tHw=="),
- this.addDataEntry("atlassian multiple flag message",333,120,"Flag message","vVXLjtowFP2aLIscG6i6DY/pYkYaaRZVlya5iS0cO7UNhH597dgJ0IAYCdogIt+3fe65TkIWdfuiacPeVAEiIauELLRSNqzqdgFCJBjxIiHLBGPk/gle37CmnRU1VIO0nwnAIWBPxQ6CJiiMPYqo0GonC/D+aUKykguxUELpzkjK7nF6Y7XawplluV6lq5m3MFqoQwxnthZxSXX+wX/7ItO4CdAW2psH6VTxFC+garD66FwOvLAseBBCQhgDXrE+LCKAqAmKaog94eIWEZrrMJERTD/VzufU4N7SHQ+jXEkJuXVI/Y3g2aEHMJATCmpYBywKlsb7123l2TChVlBjOJWTnEG+3ah2jD6ZZ+TraoS+VBIusS6VtBHsdNrLcYO+uKAbEO/KcMuVdDod8Muo4JWXBZReNA3NuaxeO2nZA3unb/hu39LplbZFnQZBLd/DRfprrYwV3hV3hTGK+8GzEHG8FPsEqiwN2BEThm1+ihzTG+RgdO/ZsQGQvmThhwgjq/yLeUvlRqtJPIzzXzs/8dmay2Iwf6d86/Mo2am48aziFiYn/xHVzgkSafAoN7x8xjnUPWNuHJjb2ocjiI87OAo/iRyu4pgdc/QUdvRpIjtm6B+wY3b/hn3wfmivXb9Z9xssPyKg+JGuXAb8nwH+Qr49fYKdePrCBvfzD/Af"),
- this.addDataEntry("atlassian inline dialog",292,228,"Inline dialog","5VdNc5swEP0tPXCsR0iGJMf6I+khnWYm0+mxo8BiNBESleTY6a+vhATBBieeJpzKjI20K61W7z0WEZFltb9RtC6/yRx4RNYRWSopjW9V+yVwHmHE8oisIoyR/UX4+oQ3bryopgqEOWcC9hOeKN+Ct3iDNs88GJTcihzc+Dgii4JxvpRcqsZJiuaydm2UfISeZ3W9jteJ85Q0l7swvTQVD02qsnv2xy0yD0mAMrA/uZHGFHZxA7ICo57tkB3LTRk2cxWyL4FtynbalUcAUe0Nm27uCy62EaAZh4kMYPqhwRpM6f6/snpZUuPWqOsBfn3EhBQwACsYe9AUUpiATTxv+yFiAx1nG2HbHApzFnb4bezmaIhdEA9SwKlhT3AQfwzPsMSdZMLBERLCiZ/xHLpHAWRRaDADOro8z2JoPmDop9zy3K0qt24L1HKlbEPWIOyNM/Go3XwxTiNnmd2yFM0QbYC6ULLw8VycByV32kYk11MzjkK/93Ch5jpWAlnsSmbgvqaZm7ezVWVKdaSTqCNBE6gjGajju5fBKfrHaO3R1dU0x0FOddnUR+Q9tRtf7TeuqM+o4VRrRsUsKyF7fJD7X3hYRhFKLlaXp3RyJvmOZata/iWYK5bnHE6IqRWbS4bTB+B3UrNG8GSlPMddwNsjfxdYW6Uxsblt1l/F6IPUFo+VcfwhYiPoQGwxnkJt6UBtK1dIUlrVjrVa2sUWLqmSPr28RVrV2YxSbgJNtpt1zKe/t+5csAiCyS/7pnTj7jcuecTMpzaIzdXH8f7/tVZN8yaLEzyBfC7eeSab4wSn61NEHpSu0eNY+6j923msRWqOD6G6CtD1mEpGiCLk/ae1y7cBPC7Tlc4ozOzeQNWKaZhZGo0tbfrsI28D7zm4XbyKG5odSqzr9xU+ncA/x4cFsuu/R+G2+/JF44f3P3j+Ag=="),
- this.addDataEntry("atlassian inline dialog",340,450,"Inline dialog","7VnbbuIwEP2aPBblyuURAnQfqFSJavdxZYghVh0b2YbCfv2OE3N1aEGQh0hBAmU8thOfc2Y8OE4QZ9tXgVbpG08wdYKRE8SCc1VcZdsYU+r4LkmcYOj4vgtfxx9f8Xq5110hgZm6ZYBfDNggusampRjgSrWjpknwNUuwHuE5wWBBKI055SJ3BsPRyBu1oV0qwT/x3sM4w7oxRQn/AtsFI1UZNZMgMZ+Sf3r+SHsWnClje752U7JkYMxhGRimG2ywUGSOaN84MpIk8HjFw4MPb68CkDeZ1b9inmEldtDliyQqLXqEZskpJstUncOAZGEvDyOPaMKFAbQc3MACd6qQUPrmSM1TwpZwqVIi9Rgp1/gO5Pf4VgA6xQt1HXKYfoXm8OyTvNvQcx9hYXvOwAkpvlsRK6HFyn2CX+QfC3sdCmMIheiUAO8aAZ7Bf4wyQnfQ8BuLBDF0QUto7JObuPnHpusRFnZGrzYLQVlshM+gIbJo6CfJPjSwkBYpt6r/BO9TKA+2mdGC8Bb8wh9zybfJRGCKFNngs/nLQDS3eOeEqWOU7DHbnZv7CfhiIbGyODg85020tO+NjqOme7ekKFBwGPf64/E5U0WnPwZH/1lk9ErICKIqyIjcCsjo/EwGpJqVvsy2S11EtAiXnRaZcyZblPNPyNN/lxRJeSM3fhh0ot7j3LS/TffeGXRuK7LyjhfZxHnPIe5ln+bM7V86rSoCqWtx947IErZ492MtGBQ1dzC5lnkRdPNG5EdBN+raubCsy8U2clkUWJt9MKBohuk7l0QRrkeKgqJDwTC58B8Kh6sVxdNyb0nqDauIds+tItx7lmSmKIMG+F1jau+IjWJqpJjAr0Axh+L7KJkJ1mUkiEbhDWaNaGotmnZYhWg8SzQxklivMk5RNisrvhvV1Eg1vXYVqrGPiiZE5pmGZCsJYDaaqa9mDvXqczVjn4B9oCzTq3ybDzlDNGlUU2fVtKsogz37hK6fa6b541R/xfQqKYPtw8RYEKn4KtV6cQdrxoCLpqyps3QCv5Ji2D7w/AB5aNVMMwKrbCRTY8lElVTC9rFsTFiiV/mLz2ZNlqm1ZLpPKITBPL7CL7qfvuH/Dw=="),
- this.addDataEntry("atlassian inline edit",350,55,"Inline edit","7ZbNbqMwEICfhmMiY0PSHLuk9NJKlXro2QWDrRgb2U5K9unXwDSFhTRZZfe2kVDmx2Mz38wAAUmq5tHQmj/rnMmAPAQkMVq7XqqahEkZYCTygGwDjJG/Apye8YadF9XUMOWuCcB9wIHKPestr7URPrYzW3eUYC6ElImW2nhVaeWtP6wzesd+M3JX+SS2oRcLrdyr+NluEJ502BF5nUpRKi9LVsB5B2Yca86m0pkgj0emK+bM0S/5ELnjkE7Up4s4EyWHMECAqO318hT6BcYLwGaeE5lwule50d6N0cJfd/D/sn+XwnIvZbqq/J3bCUmj9ypnOUCiJgNGmxbRgHKASdH9Jqi9J0o292k65t0vegMauLXUNBOqfGoBk218C+QjsIRNhsw3M8xJfDvzaML8f1eOCcWXCZ3rthBP2y1FKU7jiwxvgAIBBEHyn111N9NVM8g2tyNbXUY2HClOc/0BnZFTyzuSqPfU7fqqKduH95I6Sa0VVC0zzrLd7MziGK8eZgb1GqDxt0DRMh4BPekDouFMEwJ3wyR14sBGp89Rhht40d0r4vP0xfjwRTTeQBeFZW5SpFMWV9Vt/c/r1vz1ml0Ygmg8BGR9VcnCP39uePXri6JnP/zg+AU="),
- this.addDataEntry("atlassian inline edit",130,222,"Inline edit","7VnbbpswGH4aLouMHUJy2RzoLlqpUqXt2gomeAMcGadJ9vSzwSQBQ8sKqdItSK38+wT+Dr/BsdA82T9wvImeWEBiCy0tNOeMiaKU7Ockji0IaGChhQUhkH8W9FtanbwVbDAnqegyABYDXnG8JUXNM6eMU3EoGjJxiHVDSON4zmLGZZiyVNbOMsHZL1KrjEQil7FwZDFkqXihv9UEzjHWMwIZ45iuU1mOSSh0czmZBZE7HXsToB+QcEH2rYvMq/QKHwhLiOByAWBHAxHpHkjPFBG6jvQwDQ7AWRGvj0NPkMmCRq0ZQWQg+E3ewECPs20akEADg/lK4zJV6z5DVq4bumjiTjrAW7T/0IuEqmaDVzRdP+Z4LhAwQQ3zq459D4wPGkq3GPEe5MjtD/nIgNyAO4vwRhWT/Vp5y8acs10GbVnPN/cqUHAFB0cp0Z7kwV4FIxsUgfy/cO1p0Q3l3eA4b1GBZyNPBikTq0iLuZGtGrW+D+SlZqGcrARlad6VK8hmnVhAb7IA7AYaGlhwNIScxFjQV1K5XRM1+o7PjMoHgWBfnVrf/c6rTsDCMCPCYPb42J3IdruTnQmykTjuIirIi3SCqttJ+quuOTmxlTXTWAaP6pL1Ul0BJSeHlbRL0/k4obFC5jvhAU5xLR+OTG8CoNVRy4vnYsnYNhdLVkwD7LHbUzrVAX8pJG8QHd2Vli6FhC4gpPH7QmpL0shUwDGPVgUkWxb+0lm6horyhB3hgO3yoH/G9UC3jOu4sH/K9QzwnvBPueI6gjXlNuxHVfvVfTXyXd9rtWUJH6g6uuE1onQZNF123F45USY68dOFkvHHXjQQ6ueTQ0XCg9pico35NQx1Jvz0/Fpuxh/Ir94gW/MwGfUzdubpTTn/sHIGlUo56fn+QQK6TUzFNHzBdPzw/O+3BzS9BHWOQV2rzWPawE7+unw/A6DBvp3egsAg7ijrBk6s7iUgN09lHqWwb1YZzioevARv5llQq1Wu7GACLmbAm7d8a3azKRzGpl/nZMIxz6GeaDrwR9HNxW+42AEXSb9XeeR0dOhXOnIqLHJlb7YXzQkdTplu2vm62ukjFhmeftgrup//7vcH"),
- this.addDataEntry("atlassian inline edit",230,60,"Inline edit","vVZNb+MgEP01PtYiEMfJsXE2vXSlSpV2z8gmMSo2FpDG2V+/g8FJ/JHWVbZrKREzMAO892ZEQJKiflK0yn/KjImA/AhIoqQ0blTUCRMiwIhnAdkEGCP4BXh7Y3bWzKKKKlaaKQHYBbxTcWDO86K4VNyc3IQ2J+EndlyIRAqpwCxlCd61Nkq+sZ4zNwVcYzOD4U6W5pX/sQlmZ9tnRGBTwfcljAXbGT/dJgswiVaLeIn8AZkyrL55ycblb/jEZMGMggugI89M7lfEPlPO+D73YR4cRLWz9+fQC2Qw8KiNI0gGCD7L4wA8JQ9lxjKPC1Wph2Vlr30FLFx713wDdGFmnqwet9suxG7Rb39RbD0VTXm5f24w3RA0BBY1Xx//O3A+eTgjF/EZ7CS6H/b5APYB5jqnlR0W9d7WV0iVkkeNQ/Cr6tEaFq7sNLNqDJeNUVtjHiJnwP8mClduGWmW4UUzY404JDEYpTRp7gU9WhA9fvFmjeLEZuGKpYZLy4CWBwvZehIL5EMWUDhCwwgLMw+hYoIa/s46241R43d8kRwOglHdTe13f4i7CeRup5kZMHs+9iSyo+lka8MqwPGYc8NeoRKs7wj0d6vmUo43WRsWVo/HOY7wAo67BnVlnF0qrKUdim5LCy4sMr+YymhJez1xPrU2x8WiXRoULqI7pdMN+KKQ4n+io4e2pFshkW8Q0uJzIV331pxm0MudSDKq84ti+q3FCKo1p2WY5ix9G23erVz6wrqj77YBq24NkuUk3pb3d+H42/Gs/zOW5zdBi2U8rZl+/SUB5uWd57R8/Qz8Cw=="),
- this.addDataEntry("atlassian inline message",150,180,"Inline message","7VfbTuMwEP2avFa5kLY80paiXcFqBVrxiNxk2nhx7GA7tPD1O3bc9OKAQC2IlaiUynPx2D5zZpwEybhcXUhSFVciBxYk50EylkLoZlSuxsBYEIc0D5JJEMchPkE8fcEaWWtYEQlcv2VC3Ex4JKyGRnOWZaAU6hg8gnElVcVoRjQVXDXeSj8x5z2njI0FExJFLjhqR0pLcQ97yrng+oY+m1lRtJZdGCMTRhccxwzm2pnXEYI4SU/7g2HotgpSw+rF41qVO+sFiBK0fEKXp8aauCBLmuvCTUidrgC6KFwUh1pIVCMv2kgbLHHg4OyGNvGg/fnj+sxDsNAlcyCoguRiiUKIQk5UAbkT0FIZ/3K1MFTpEc2IUpTwXlZAdj8Tq7vYwLaVDYQtDNPBZPhaSnaczc9PhcEb08/OnLqkec5gL4XhXorNZhiZAfstFDXMQaVs4G0DXu7Z28CqIhnli0u7/iQ6KO/rCS6Io0G/gwaxz4K17hAWnHgsGAs+R4Fn8M2FL8CFYfppXEg9LoxIORPimwdfgAdR9HlNoe8TgepZnd2DNpGzTNRc//eXbZR0lNZH3bYDD9JfsERFrUAquwfrPgMDqTkALoePhIcalJE0lmH4V1DeOwrucUc1vI67K7Yj4N5xvbUYHxv3oYe7B5/XqJ5rCc3/HWF4Ur9LTafDkW08b+lS0SAenYwP6S5vbW/bfXmnIaWHpM1NaF9OX0vjB2XxtCOLfWawmOFgYQZXNdO0YrDToBofjN66Baa5JVG4O7yFTQmSWouSWICZOT7lj1TbsNyIfKdsbVVuNUc8SZhDBTxH8HGMeUTARC0327IFrjXaVa97N+t9Gx6hd9ZSqf9Qi+YQ9p7Mh9uq5nx/qpzY3bpF3VJbUDRR12iEwngdsqIEkuOcUkh4cZW9ipOIQ25fFGy7l5nrSolfaXP78yoNLZPpeXSetpZbx8Kdl5KO22SrRpYFJvYGC8WsvcTa9+omDjeqa0fp2H9xOEJxxR3FdNJRTVH6/vsdxc0Xu7XtfND/Aw=="),
- this.addEntry("atlassian inline message subtitle",function(){var b=new mxCell("i",new mxGeometry(0,0,20,20),"shape=ellipse;fillColor=#403294;strokeColor=none;fontSize=14;fontStyle=1;align=center;fontColor=#ffffff");b.vertex=!0;var c=new mxCell('<font color="#0057d8">Log in</font> to learn about Confluence',new mxGeometry(0,30,230,33),"rounded=1;arcSize=3;fillColor=#ffffff;strokeColor=#DFE1E5;strokeWidth=1;shadow=1;align=left;html=1;whiteSpace=wrap;spacingLeft=20;spacingRight=20;fontSize=12;");c.vertex=
- !0;var e=new mxCell("Want more information?",new mxGeometry(30,0,200,20),"fillColor=none;strokeColor=none;align=left;html=1;whiteSpace=wrap;fontSize=11;fontColor=#596780");e.vertex=!0;return a.createVertexTemplateFromCells([b,c,e],230,63,"Inline message with subtitle")}),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",70,20,"DEFAULT","Lozenge (state, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian",
- "lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#DFE1E6;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",70,20,"DEFAULT","Lozenge (state, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364",70,20,
- "SUCCESS","Lozenge (success, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#008364;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",70,20,"SUCCESS","Lozenge (success, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#BA3200",
- 70,20,"REMOVED","Lozenge (problem, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#BA3200;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",70,20,"REMOVED","Lozenge (problem, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8",
- 100,20,"IN PROGRESS","Lozenge (current, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#0057D8;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",100,20,"IN PROGRESS","Lozenge (current, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#6554C0",
- 50,20,"NEW","Lozenge (new, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#6554C0;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",50,20,"NEW","Lozenge (new, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",
- 60,20,"MOVED","Lozenge (moved, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFAB00;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",60,20,"MOVED","Lozenge (moved, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.addEntry("atlassian inline message subtitle",function(){var b=new mxCell("Yeah, progress!",
- new mxGeometry(0,0,120,20),"dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff");b.vertex=!0;var c=new mxCell("IN PROGRESS",new mxGeometry(10,30,100,20),"dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],120,50,"Lozenge (tooltip)")}),this.addEntry("atlassian inline message subtitle",
- function(){var b=new mxCell("SUCCESS",new mxGeometry(25,0,70,20),"dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364");b.vertex=!0;var c=new mxCell("Don't stop believin'",new mxGeometry(0,30,120,20),"dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],120,50,"Lozenge (tooltip)")}),
- this.addDataEntry("atlassian modal dialog",330,210,"Modal dialog","1VZtb5swEP41fGxlTJN2H9ukrTZp0rROmvbRhSN4NRyzTUj263cHhiSDbpGmTRoSfrmXx+d77hBRsip3j1bVxXvMwETJfZSsLKLvV+VuBcZEUugsStaRlILeSD68oo07raiVhcqf4yB7h60yDfSSSC4Nud4902LDi0GQI0FK4fze9KbLbw0Oigunv5P0lgziq3p3UA4oX7CxpMyUK55R2WxApdB64NPDSDwJINPbGbMZ6akokkksZiMQ2tHgC6Ax19b5bqerDc17bPiywLq2gGoUGWS1ri5p/NS5vnv7ke/9hLlvKfFzZxj9Aj0Ch5AqGpeqrCkqVaOjyR17MfRd47tjnAfFMJhzOAW2Y3iM5GoA1qqKx7wB5tbAlucV+/vgxfi6rNF6VfXAOdpSeY18M/WM3XEBtUX7QtPFJPDa4ldIvevBg1ClXm+11+DGQIJGO9eAu3yNLHlSTbLwJZX/OiadxabKIAu7XBuzQoO2s0vy7uGceYsvcKRZP9zH94tQkU9dQa5jyUk2elPRxkA+FOyRm+geBixUhm04Vdl0gKBdW2gPT7VKWdBSu7I5bZmNZC3ZewvW61SZ23CYx3q8Jutg92qPdqLQoI+AJXi7Zx505oveIkn6PhYF6E0R3GQchMr1gs3oe2h5WoSun/8CJJMvwG2WTcjh2uwI4Zuey5QQi+v1zYSpCiv4BUkppQXsYBBCECPK55AUOSUyVMY5GZe/zfhiJuFJSJYFQ62zhRP4ORLCCR9Qd10X4pEiYO8DwOInHjHPHfgJi2OgZxF7NSF2paqUvwx/zG1g8B/RunizvL4R/wGty79AK20PfwO9+fHPwg8="),
- this.addDataEntry("atlassian detailed modal dialog",330,210,"Modal dialog (detailed)","1Zdfb5swEMA/DY+JwBRIH7v86TZt0rROmvY0uWCCF8Mx2yTpPv3OYNIQ6JouSbVFCth3vvPZP98Bjj/Nt7eSltlHSJhw/LnjTyWAblr5dsqEcIjLE8efOYS4+HfI4gmtV2vdkkpW6GMMSGOwpqJijcQhoUDTN/fYWJpGK0gBXRJX6QfRDA1/VtAqRor/QukNDvCuyu2jsvXyDSqJyoSq7B6oTFqvGFrjuDsZinsBJHw9MGxA2hU5xPfcwQhcrvCiM4bXlEul6x4vlnh/gMoslhndJmPFTiTAqHkxxuuX2vT9u89m3XeQ6g1u/NAcgq9Y48GEEFO8hjQvMSpagsKb2rcyrt9Uup5GaUaNG0hNOBlsduEZT6pkzGhpYa5pxQxbwdbmPjX22loZ/zwvQWpaNI5TkDnVHMzK6D3U01mvG5ArvI16gZcSfrBYq8a5FdJY8zXXnKldIFbDlaqYGj8Fi3ROE8l0jsd/5qFOQlUkLLG9lAsxBQGyHuen9c/smZawYnua2WLuzQN7Iu/qAznziNlkwZcFdgRL2wO7Z+bWP+Mwowls7KxUxq0L7G0yrtldSWMj2GC6muHYNTT8GTHWayY1j6m4sZNpKG1yoYJtn0zQWmSz85ZBzrR8MBB4orNmhO83SexmjC8za0Y8K6SqESx3to/5jg2b8sPp7/fS/yZJemTMwaxpmGUei8l1g2g26WEqoGB/IBTjtjDZDrAhuDsvX+2mkD5FeyyO2XEyvONdg4dOb49GMADDtxspmcCcWrOO7RAgO/sn4HU62qlHXkvazj4KDyBDmiqme4h3qziK+lWP+pQWsakZJ4O3eF+JeXAdRhP3P2cevQbyoIf8Ay9W/xrwXmGuS8jZ8D4D1L4qnZ7EB0TbfDsr0HDgxe0cZXsRLSaL66Gn69ydk3nUeTJGF2HjuZessKQLxwsvACd6Hg6+a5SmmW+X5uV/zEFFYx5DocYCYIXvFd+Xgip1TLohHHLlR8F1l/Nh+TyGVfiCMumOgz470kfXyk5F1+bRrlBegNykR+5tEwRumn7Fcun9Rbk8/Wn4ouffmcrlQT6OgjM8/rD7+AndDN//wv4N"),
- this.addDataEntry("atlassian small modal dialog",410,410,"Modal dialog (small)","7Zndb9owEMD/mmhPrewECH1s+ehLq1brpD5ObnIQq06cOabA/vqdE0MTHFq0kolWQ4rA9vns3O/u/IEXjNLVtWJ5citjEF4w8YKRklJXv9LVCITwfMJjLxh7vk/w8fzpnlZatpKcKcj0IR38qsMLEwuoai7jGCsYPk+KZVFi1IFKeVFwmVXShV4LK53oFOc8pl5wpeQiiyG2pRkXYiSFVKVcMCs/WF9oJZ+h1jKeTuikb3rITD/w30YxTjq4YoLPMywImGnbXOtGyo9RmLBYLu2oTEVWhSktE67hIWeRqViijY04Fnk23wzyAkrziIlLO5iW+WYq9iWtSY0grPZauayyJr4GmYJWaxRZ8lgnlUSPViRIAnye6J1KVlQV823fV2j4w3JrZxg4DK825DKWgsMsZkVScjIGOAhgJjNw2NnKGjZK27G9mnKj49HaxXfB9i8G4ZAcZHT/XaNT0mJ0GxJEgWCav0BDfxsIO8S95DiyT1ZNNeuqONghKWezArTDcTvPg9D2HLQwP8eKOwQ8PwZZNPg0nA6nF22hOSETfxI2wip0CduIuilLY0o6RhqELUiDoAukwy6Q9h2kDyAgMrPQCdTT7louzKuzcoZalq+HjHgpy6IIisI2nEqAk68c4JQGHbjDwHGHR4WrVo3wqcD90tmb9ruI9dCB+2OdG7bfvB4+OFoWV3GfVV9cHW/R/p/a3+IddsF7uD+3LwpQJl0vE5PII2aAL22kl7ldJ7yoZ/8l14lclKk+z5VEnSeUC750ovdJF4n+wvGNOwx4Vc7+1wIX9hPC+6VTvd/rIvQ3B7ka3+9gAtwcNvG1eKGlPdbtOT9vD7KGdgM9tuRGPl3NzUXBOdOC4XGcZedRAtHzk1z99N3kT0g/HA/f8oa24/SOV+yej1MexwJaskHdu8xkBHsCcS8LNIA0HVWFdavwZqd9q9hZc47kYL7rX5u6I/tXJ0sLpY5/bU/5MS4yuu125u3NAZn6037rlcxwPJoEn8pJGvlxXyR9Nk8KyKALT3Lv/G5BHes24f2sU3eAjSNFaH9cC/9ik2EvFj+Attlh3SjVsA+625ue0V4T/Fknl0nUvSgcYQYB8Q83HseB/vGtx4HQ+x1CDztgjsXX/w4q8fpfC38A"),
- this.addDataEntry("atlassian medium modal dialog",616,420,"Modal dialog (medium)","7Vptb5s6FP41+biJlwLpxy4J3aTualIn3Y9XLhjwncHMmCS9v37HxhCCSZpNMN12idSCj185z+PHh5Ms3FW+v+eozD6zGNOFu1m4K86YaO7y/QpTunAsEi/c9cJxLPhbOOGJWlvVWiXiuBCXdHCaDltEa9xYGkMlnqk2ZCKHZa3thfuBs7qIcaxLCaF0xSjjqp2bqA/YK8HZN9yrWYcbe+PJHqwQj+Q/OTCsy/2AKEkLKFCcCF3d62apjxwwQzHb6VkRj/QQsrTLiMCPJYqkYQdulM2hSIq0nWSLuSARond6MsHKdin6IbXXZEO8P+lIZdJevMcsx4I/Q5MdiUXWtPBtv+mWYZJmutuNRsBCVWNIu74HXOBGQzMOkzsCk09bnx3h5X+vWVvxrlKeuoMGdlDuD5Vwl8rrIxYCXFW1o8E6mgGb6tYck23PBNDYVq8WOh03GPa5xwXmiJ5sPxxwZLQX5xj4I+podHhkIJQXxEvTC3dliRFHBZDovB9+ZeW/sqCfXcaUc//FBElgvwjCipd4MVzIaeXoa0XBCmzIhDb2FMJ2xhXisGvbMf7WW9AZaEgnIGMScMmWd17c8rZtmVve9bWRYwp+3OKjCcZ0QM/xhREFmF5RqxzPx8V2AJYkFRaGjHQLvUhZbl4+AEB+S3lLiYIoJhxHkh1gqlgtPWFK/sYCyfcNhC5T2gvcPuZ1dxqv2+6x2/053O4Zbu9E8rdvopEtMw1KrjUCkzMRSsFvQMk3UHrMIBBxrH9hMRAHOaFyKTwMYzlcclxVKMWVAeLZwCm0Qif0RgOn5Xq1cc9ERgNkhzqXkzimeAC5NcIQip4w/cIqovc1b/DqBnwY1HcD61jrQc2/Vmdhj7Bd4CbtMaoy5YKp6GU7Jrta28Tsup2DXYHBrjWpSorkYwqSY9m0gH/OzbuM1RzuEsZzJM5JxCmPqxql4vk+lW8b75GgqKoIKt5HGY6+PbH9P47JTRklrJfnhOZ10PLVMc6e5bRfGpT7SOKGaOp0B4dwvCV4BxJmPcmnj3GCanrl3B/BOW8Ozt2e4lxKkivN/kSaLeegWeeJA8++1lxFaRa4Rq4H5/BuG6nXWhA8weQlv8ZrbzBe69gwLcVsg2KfpFuv7Hlj7LmZhT1mrt32DO4cHWyXpt7DIFyGtyfyMM4mWPTT5oHJpGNcPZOC3q0fLKdC0vNMJF13EiSNlJk7C5JmOj4nRS1GDpKfSdnMueU7Jk2Vf5svs+Mshxj6c2BoJj4fWCpniWOlezIVZ0WZfN22YiTQ/xbaWdT89Wl2MMtON/O0mwI9yTPfqsqmrXrHuMYAbywG6HLX0/LJzCivGJffp7SEkl9cw6S1YDlSQNDnK7feGremiEqgePiZSNO8/yuSHw=="),
- this.addDataEntry("atlassian error modal dialog",470,190,"Modal dialog (error)","vZbdb5swEMD/lj2gPrXiIyTNYwtptYdNkzpp2qMDBrwZHzImJPvrdzZOAoVU0bIEKY7vfB+2f2eDE0Tl9lWSqvgCKeVOsHKCSAKorlduI8q547ssdYLY8X0Xf47/cmLUM6NuRSQV6hwHv3PYEN7QTvMTGlRgAN2uoVH4rwAbnB1VWqsK3f6CNbZ3X2mroBV3Dyh8zrDZGf9KQkJpir2WqcI4sVpHTBQDgZ1nUq4BzLiZUEVlSQTOmu/6uYgZTEBkLG8ksc41VYqJHANGKHHITWih00laN1xpOQN5zIuzfeiWWqsdt0stVIkbHntO8CyhESlNrZThnCLgGEDbBZl5UF8rCb9pbyR+WXmrUHuAUG/sjw7s+SgTznKBAqeZssM9N9c8OmBBUmhtViKTfQiU2oIp+laRRCtaLBBtjiKuGxW+9t5QqVhC+JNNpqBn9F0LcaDtLGO0ptuTdWJUtkheKZRUyZ3BkyI/YzFbdLXkFpTlxd5taZWk7hT5wfdYdtixlTddhcGoCmNbAO+IpaQuDCW9rHPxxasgdJ9G+AQI+gG5BHeGyr2BnYJ7iPLD7os/pmvL5ZxN96c3feiwG0g9IPMJHoHdS0k5npYNHfhOMbLZvwET6pj63pu5g+z383ecIcvwGI4oH1ZxFvjZCHxERILX4OXgLd4bMQ+X88WjewPm4RWZL26BPBwh/zSijddipbuygHLd1CPO01BPnPrp0zkugsNd7E5VxPFyDi6h3CPpT5Dc6y4k6Q9B+tfgOD95Z+PsK6iZAvsSOOcc/8vJfZx+z+7PrXfyvfuf+C2vdxTDIUAvuBwgisfPys68/9X5Fw=="),
- this.addDataEntry("atlassian warning modal dialog",470,220,"Modal dialog (warning)","vVfbbuIwEP2aPBblQgh9LAH60kqVutp9XJl4IN46cWSb2379jhMDuVGxLYBE5LFnbGfOmUucIM52z5IU6augwJ1g5gSxFEJXo2wXA+eO7zLqBFPH9138O/78zKpXrroFkZDrSwz8ymBD+BqqmVexYfkK5wj+/4gFPhegtwA5jpQmK1A4yMjeLEggH0ZVarYkicYhhQJyCnnCQA1QfgcO5QI5mJtxTsun2UOCWnNdHZmIfMlZos0JW1ZedGH0KVMFJ3swVilIGFS3VnrP7a1TnaHvpp4TTKRY4wWolZa4TSy4kKVesCx/OK+0FB9QW5nOZ94sNBYi1+/sr9nY81EmnK1yFDgstV2umbnlz2yYEiq29lQik8MWKG1TpuG9IImZ2CLWRh1F89LB1DfWG0AXJoQ/2cO0qCn9MMI0MHoWLtSG3VnIyymL9zOIDLTclx6lOq00hlFFC/QmW6XW7MAVl6hqYnW0PTEIB5ZE/YQK+ggFHbwoUWmJkXmpS8Gbz58mla8b4OUih09wS9AvIA8K9gqnXX5Zr/hdbC1ZLnG53+/ypsG+IdXgGPWgEVhPSuBEsw00bPsQsqe/CZbr09EP3tBtnP4waqEslksFuoPx8S0ugn3YgT0meYL57PvAW3jvhHn4OIrG7h0wD2+IeXQPyMMzkV4VjRbsmB0LM8x2K1PrBuTvGtN4+fxNOPr5K9FeU/YifzKMW4wYtwhgmMXJAvibUEwzYZgiK+8fE/BLaz1jlBrjdhloJ+yjXo3TNn2/lBbT8DukqhHH70vd7lWI4zd5064HV6HNqEObY4tg24MLM8ZXcoTXX8/rBLl6PqhD93i7oG9hNw5vgF3Uwe5NihV2cOrY1KEA2P2kHRibCf7UID12I38Wz6Zz7xye9QDrZPNmyHnuJw1bgwfXCs274et5/g0AHncAPpvJlYbiTG/bW9bPZvKektykg/vkzYYBzmPpoAxOaNYCfE4yxo1rfoKkJCetuB9eyoNgQpnEbFQlfyXW5lITVW3jDkbhpT149B/NgTsIO+2B18Ok6DrdwaFZO3QHwfeJhOLpm7VSr3/S/gM="),
- this.addDataEntry("atlassian multi select",270,390,"Multi-select","vVjbbuIwEP2aPBY5CQnlEUKokBZaqd1dad9cYhKrJmYdc2m/fsfYQMilhNsiIeLJjMc+Z2Y8xnKD+eZJ4EUy5hFhlhtabiA4l/ppvgkIY5aDaGS5A8txEHwtZ1jz1t6+RQssSCqbGDjaYIXZkmjJK2FkKmkag1jSOYGfL56STCtm8pMZxUTOYbkD23L7M8pYwBkXME5BGUSZFPyDFIQznspX+qUmsJUdZjROYcDITJrXOwvLcb2u33lEIF8nVJLXBZ4qwzVgBTKzbiIk2dTufSsyG38ifE6k+ASVNY1kYjQ8jQ9KCI0TY2YwQzjT43hvekASHgyY1cC6JWBLAAq+TCMSGQyxmBpougVEAYrZ9lOCFd60g25vCGvq5+jQSr/NLh0lAfCA0h9bnAcuKoONtp8iJ1eA/Gmw9LRFDnOnU4G5616Pefs05lmCF+oxk2RRE1k5IA8MobqQLmNdoA717LDtgjwWOKLkAHouJ4Z4TpkC7BcREU5xIVXaTely+xEVKnu5EmV8qRbVz/Q0qOV7TRPHreb02MAwjFpliu0KhjtaJAjDkq7I0VRVrBv3L5zCqva+H3YsG+8Phbjhs1lGZClq9ptoFEheKZB6DGcf+JoUDoNwMLTrwuiM7D0jGo7r7RXEf0N1VTLvCuiVXHvHTNvoDlT7p2tGnpsER3xt6kGEs+RQHExhmW9idZi3sISIyShOW5uqsu09+n5nWMF2E5K8K7Ozc7fktP9DcnYqGPOZCvd3eIjltsZpgYp/UJ3ucff/LrlW2HUXOZG2fekFo+EIVoHeRuMQfv48T8LdhLA2PeexHxCXfEd0lROBQxtVvw0gaWdcpBTnpmtsPSErHF1k+SxIDOfEBZa1NkXF35AhULhkMze38HjTUBg//5y89UaTq2OhybKLuz9p0xMUGvN66m/hY1uxoOTd1ckowsl9PYyBJ3wxVGe7m5B3oduFO+7pROJXSusPtuNGpvHtYzAM7dArdBpOdSNS1a/sz9Pj9kmNqlpz0wiZtkidknSKWc/4knyxW4nZI7KKzZOTE70p/YHduCn+/qLjo4YXne4NbpeP59wuUZnRAwEnmlGuoJJqi9voFERdJnbdSrOWslMNW9ML4aUtiaGlXbC4pAWB4eEfGa2e/8PmHw=="),
- this.addDataEntry("atlassian multi select avatar",340,320,"Multi-select with avatars","7VpZc9owGPw1fgwjXxyPYI62Q9pMSabPii2wWmFRSwTor6+EZQOWcZwap1MKMxw6Le3utzoGw/aW20kMV+E9DRAx7JFhezGlPPm13HqIEMMCODDsoWFZQLwNa3ym1NyXghWMUcSrNLCSBi+QrFGS02cMLyKEkgLGd0QVhHwphjc0DXswx4R4lNBYpCMaiQoDxmP6A+Uy5zTiM/xLdmDKdpCIrkWCoDlXxWkLw7LdXrvTBSJ/E2KOZivoy4YbgY3IU+NEMUfbs3PdZ6mJThBdIh7vRJUNDnioargJHiBEeBGqZgojAFmSXmRND8iJHwq8YiBtDUgNwJiuowAFCkMY+wqaXg5RAcV8/9JgFSWO1+uPxZgGR3Qklb6pWVoyR4CHo8V0j/PQBjrYYP/Kc1ID5J3C0k1aHGFuOwWY23Z9zB0N83sY72AU6eI9h70LdPBH3mg4Ns9p+g24C1FUxD0fKlV4sEt5AC2diJ57XvsxIpDjF3TyuCJy1BMfKBYDsYAan+pZPfzOzEUUnc8Z4hq32bAr0e2+HmLH5IQwoBuRkGAHkIV79kFSspL1l9uF9N0W5AQK04NRa1sUcW633e6MC+iuQpJTTNJpgxLKOjpjnYsQdmc6p5TZDTDWfp2xPBmYsk4L+zRirTVDcZXFRnBkuXbX7Z5GZy7wMkstCTw9hE0pGAKfEXmgDHNMZcs4IWMgucc+JNNc+RIHgZxfVqGvHpkV1NFOiVqsksXtT/XSaEh3NIFMMYMi5wOW9W4m/q4mboL3sPHuP2jjnf/axns3G69h42e0c002nnZa/fRT+bwzHI/MkXtsBKfeX81my88sbaBRUHhmySrWObRkC8MBq9nTZDKaPX788nmmwVb1qH0UMTFiApvU4ArO3bkFDmgrl0qrURREoTqqV4IeFGN/rPdOyQGxpuCb0bt+bVKi94LdSbaBeI1LKqniu9TC8tReiIDSE3pNAhyzCQL065ZPa8ZxJPI8yMT5X0yoTdKFQST9DPz2z7W8XRscyfiQ1V7I7+/Ml5044LCn8Oky7VEMLuk0qfyOa+Fblz337616VcLeKbBY5yLbonS1TDXoNqFB/fqpP52KjKfZ6OvNyC/tI91GONTvlGZQBDoQn2tEWE0fYUx1c3OSK3ES0+w2IUP9omyKYCQvQmYcvaCorhAJU93chHgtQnQb2VfpF3JyOyVn6YVw+Yziukr0/bSfmxSvRYpdpwkp6veEDxAv5Nb+cR1Hgul6QlzxpJebDK9Ehpl51ZGhSB7+fJFUP/5vxm8="),
- this.addDataEntry("atlassian error message",340,150,"Error message","rZZtj6MgEMc/jS/bIGhbX/bJzSV3yWV3k3tNFJUcFQPstr1Pf6NSq8Xumu2amDDDDMLvz4Ae2R5OT4pWxS+ZMuGRvUe2SkrTtg6nLRPCw4inHtl5GCN4PRzf6fWbXlRRxUozJQG3Ce9UvLHW80NraDZebc7CegtzgLntfI9sMi7EVgqpwC5lCQEbbZT8y26cmSzNC/9XD+DXeVTwvARDsMzY7kuGh0kYLZYrBP5jwQ17qWhSJx4BDPjsJJky7HR3oY3LrvKJyQMz6gwhR56awkaELQxUMJ4XNs0CQlS3dt6lXrFBw5Ibp0hcis+zFXEoKvlWpiy1IKlKLJ/oBivwyJrHYQs9wTZaxzCxTU+TNuiPXSquPUCQl/nPBvYudIGj5rnV5QHQZ8szbDN63Ekwwp2Qx7kHDvePNq4uaCqPYNSrTqkuGiVQ21PV8YdTXlfinBpBtea0nCdCauaqEy3XaB2P7/wpCMk4wmGCBYrmLlE/cIFefIoJavg7G4w1Rtl+/7fkMK3u4zO8Gnx+thyOILNMM+Oo1K1iknChI9xrwWrhmAJy0EghEqNSmmZBupJl+kk1Ta6fXbz392F/PwyL0b85u/AHh9WldhJQFuY9qMl6C/CEirWNMbK61uVrbTRl+Q0lt0DTSi76hqNu4Sj33A3RF8chM35HDEWL/RjHAfjvH5RTaIWf3gRjF8HlQHqwfrpLxooT3ED/Sv2Aef0laMP7fwz/AQ=="),
- this.addDataEntry("atlassian progress tracker",470,30,"Progress tracker","3dZRb4IwEADgX8N7AUF9VJw+7cksyx4bOW2zwpFSh+7X7wpl6tBoMpnJTEh6V+9ovyjFC5Nst9C8EM+YgvLCJy9MNKJpRtkuAaW8gMnUC2deEDC6vGB+YdavZ1nBNeTmloKgKfjgagtNpkmUZq9cYi2VSlChrsOQsTiaU7tpaTS+QzuTYw42KXiKFcWMAo3bPAV7J58irldL+WmbRszdFbSB3cWV1ym37AVgBkbv6SuuwG2MVTI1oknR2pqcALkRbReX42UTb747HVho4GTOK4UdpVdQK+rTwRImU26/x26tzjmyNebGwfi1k5KbnAIFa+Omj/ijcTwcWdxKSAPLgq9sYUU/IMr9hnV/ynXEGp9RDe6gOuioJhq4AdvWqtZ7+3NgVn96AG4LWrrL4OOewKMO+EuhkKd2/QINPgLbPUx6wg5GV7GHPWHHHew33GrKpGC4VOU/enS4ggF7GPbw+jFGJ1Nhh1QoixJ+KBPPJJrMppMbDrY7SLV/xSMa/z5nF4WHt4d67uTl4gs="),
- this.addDataEntry("atlassian radio button group",150,173,"Radio button group","7VbNbqMwEH4a7gZCkh5baHrpSlV76NmLJ8FaYyPb3YY+/Q4wpA2mq2rTblWpSEieGWbA30/iKM3r/ZXlTfXDCFBRehmluTXGD6t6n4NSUcKkiNIiShKGd5RsXqnGfZU13IL2b2lIhobfXD3AkLkBW0vnpNFuqDnfKqptpVK5UcZiqI3G7IXz1vyCSXJrtL+TT11XHI8xjeliruRO41rB1lN5nBAlaXa2XK0ZfRhYD/tXN9enaGdXYGrwtsVHHqXwFT2R0aQK5K6iNgKFcTfEu0PrM1S4ILTmkUsD5G6BC8wYrdoAOVfxplviDNm4DiNrHrQAQYi8RBYh2LBNsskCeLFSrIv8Mg1BY/0VYtsBKEuuzildSyEUTDhhE84Q0wvFf4K6MU56lAIm7QDfYeD1pH4Y7BpeSr277t9fxN3syteKNopACPNI7xTcVT0EJ7E9NtCQlvih8KUWklAKY+4UKSwCKdxb6eENIpjQvu2vOdoZy1bF+lC5p00tvpQQ3oHj+IjjbBlyPGP3+B3sns3YHbmQpUcBf7v9s92+/n9uXwZKOBehBP5K+MTNM/+ecz8KI9clQgT2X9lefDhD7ejVLOBkOePOND2dk1XASc51icepU04w4ZHk63BADatjl3wgJRg+n1r72tGh9g8="),
- this.addDataEntry("atlassian single select",340,320,"Single select","1Zdtb9owEIB/TaTtQ5GTEFo+pryJinbVwrbPHjGJVxOzxBS6X7/zS0JCAs2glVakqvh8Z989dzZnyx2sdpMUr+N7HhJmuSPLHaScC/1ttRsQxiwH0dByh5bjIPiznPGRWVvNojVOSSLaGDja4BmzDdGSYJ1SsFXiTLwwI47FCpwb2pZ7u6SMDTjjKYwTnoDCbSZS/kQOhEueiID+kQvY0g4zGiUwYGQpzHRuYTmu1+9d3yCQb2MqSLDGC2m4BTIgM16SVJDd0UiVyIQ5IXxFRPoCKlsaithoeJoGigmNYmNmCCGc6XFUmO65wReDrhmjW8MIvtYYpnyThCQ0GHG6MHT6B1CBxlJ9amRhpjvo+2Nw67aUEa30wwTqSAnwo0k0U6iHXh03Up/DrFyA+cXQ9LRFibrbbaDuupdT79aonyrbLMYh38JARh3iLFaZQHpmLfVXu0gexA4WDGcZxUlnwXhG6tnpX/vIHzfXfRuEbjPCqoEBijp1ona3DjSXpYRhQZ9JZa0mymb/R66Oe775lXNT2f7quroCXy4zImpZKqJolTivIXE9Ji+Fn/AlEurEa4EsW1BdFPB7vzdcK+RXRkmkbYNvk8komE+/PAT5MuCRXqm6OohrO4b0uSSCbWx0dLbq83d55usLCxpxCOGOrix515wf16fxRmxSIitcXdKfX4/uvYKZ8Yhn8N++NCR/oYr17JBOp+ww4Dbmb1eH/mwGJsHj1+nD/JxK/Mdg29mMNxnlSSltLTMeSIs3zbW8EKQj2qM3zvyZ6T7NYDCVIHLnu+/E44Emv7D5EaGdTucDgLmb3ksy/jsRGWJGnj5CgeTXovO/gziheCg93lFV+9nWHexwPLJHeUuaPxBk03r6gVB0rEUjV+2i5ajp7WBaYdMYq0O1wMw3ewm+zj0xMSLrsH12SqK51B/aXoHmom65h9p1y4XiJe1y7/V2eZ9RVM/oPgFNr71SXXCJSsgQ1WFLSQYZyl8ndits3qtvuZOvinOb4Dwt/cubXhjun/FavfzK/ws="),
- this.addDataEntry("atlassian avatar single select",340,470,"Avatar single select","7Zpdc6IwFIZ/DZd1AgHFS7/q7I7tOmt39nInhQjZBuKS0Nb99ZtIsGqopYvcODjTlnydJO95chJSLThJXucZ2sR3LMTUgjMLTjLGRPGUvE4wpZYDSGjBqeU4QP5Yzu07pfauFGxQhlNRp4FTNHhGNMdFzohzEqUYFwVcbKkuiEUihze1LTheE0onjLJMplOWygpjLjL2hE8y1ywVK/JXGbBVO0SlaZmgeC10cdnCcqA37A98IPNfYiLwaoMC1fBFaiPz9DhxJvDru3PdZemJzjFLsMi2ssoLCUWsa3iFHiDGJIp1M60RQLxIR/umb8rJBy1etZDQENIQMGN5GuJQa4iyQEszPFFUSrHefQxZZYk7GY5u5ZjGB+4oKv3Us3RUjhSPpNFip/MUAlNssPuc+qSByFutpVe0ONAcuhWaQ9hcc/djzXmMNuoxeY3UGusRxgc9ErCU9yhjT1KjXxFFnNeBWqrmuHDgDc+rX0dDWK3hcQOtKOiZktqeqWiZl2GKBHnGR7aqZNb9LxmRw9p3fgPBUfc3g7L/0gZbrzkWhqP286jlO++z66X2CpnezuyZp0piFLIXY7nZF6C8D+pR7toXCC19Q6rVj/l8tnr48u1+ZahWNzYfEJxhLqUpCa4I1MfhxAEVoX2X1qOw343tdZT3PgzizuBMQPlf/LVnTx12EdgHn4EdmLDvg/VHnmTKUUJNxQYVjr2M/GfjeUP5XbsF+X1D/juUEZRK9RxwH+VbnFrqDNCn5alEJoO9/P0/uTqOjQ8wfsvqR+pvkhZWXICE2k6k8V7AktKkHGBhtaj9mV0q5ziruzl50Pf8YyCqD13lwjWPCipuUvSI6ZJxIghTDbPCy2MFDgkQXZyUJyQM1Uz2FUa6x33Bpda9W3F2cy+y6znHm57bxpY3NDAcLRYy48dq9r2L4xcOJH4bHiw3h8OtGMlVDuTvHFPeMIpwrs10YeQ6woht+21QaBsULjBKkeJQ4GecNuWQcm2m4/BKOPTaOFbZ5uXRBHGsZjmJUfKIs6YgBkFppyPxSkj03TZING/flohE6nj/kGepdHQzDjeisNJReB0UOvagDQrN+8juPbMD8SyIXhvXTbZ5udptzB2J50n0YRskVtxd40fEhcRFZi9jQslGYUlZHjZ9e94EOysdkddBJCzhuSyR5l189/LccXiOQ3fYBofmPyW+5jIuqrCoNuuGFP4OlI0OwStB0HeaIyiTb98rKqoffu3oHw=="),
- this.addDataEntry("atlassian grouped single select",360,260,"Single select (grouped)","7Vltb5swEP41SN2HRAby+jGvbaXuRUm3aR9dMMGrwRm4TbJfPxsbApimSIFuWhMpin32Gft57s7HxbBnwf46glv/I3URMeyFYc8iSplsBfsZIsSwAHYNe25YFuBfw1q+MGomo2ALIxSyOgqWVHiG5AlJyW0c82YijdmBKKnPAr63uWnYUw8TMqOERrwf0pBPmMYsoo+oJPRoyNb4t1jAFHqQ4E3IOwR5TA2nGoZl98eD4Qhw+c7HDK230BGKOw6M2iGKGNq/eMpEpI54jWiAWHTgU3bYZb6a0ZdIAB/hja/UFDoAxrK/yVSPmPGGgq0aQluHcNUZ2RqEEX0KXeQqFGHkKHDGJUw5GF7y0YDlI73ZeLLkG5vmCJGTvqujWkLC4cPh5i5Bet7X0QbJp0zKGUAfFJ59qZHD3R5U4G7b5+Pe03A/ZbWxD1264x1xahfGfsIEkCNbMT/Yb4QbdiEjMI4xDLsOoTHS2RkPJ2CyrDb7OhDa1RAWFRSgoKsjavZ0QFNZhAhk+BkV1qpCWT3/C8V8W9nDO9ao8PjOsLgC9bwYMY2l7BS1iOu/TlzRV2p7x3y5MBf9PNtFVzNLYck6EYdSz3A4bygqepwgGDuQTNQcRrdHr7sXncTpGnCo1HlecygLNBDJBhoxN7fr+8+rH1y4XkxWs5t/6l5QS6nNmLXQ7r9+T/RO3BNnule6zCG9klrwrqFG4tXapztumFzKdwyopxoBZI4v5Vhc+vGHpum1mqMXNERv5igt0GsO3oDfUUX0HBAB7QNvbERD5R9SytfLBrjeLY9m/J5jmIZi0fAncsQJYkRkA8v0D3gRDfiPQyPRe6AwcrvdrmYg6eXJ94i3VZclAJORDMkNGkvRMOwpgQ+IfKExTo5lzyNJbRan70rjAXZdoawF8mwgnzmUkqmm7PCtokyvDSsct558EepIK617/6cmxQ3xm3pubgu1aBudzMyyXOxEbjaqSM2aYbXTK2ZmbbCabjVH6+zrarX4dH/JAFrxzTFog0VTY/GSAvylFKAdgvWqzSUHuOQAp940yoWuZuxQL339D1mAdK/3nAbUKK2llBGcuwfyNUitQKnXaZrxosp6yLloZ29wrfhNVQWsFL9TgQhzSQxOwRv8eqJyQlrFzYmqY79co7hu6Uq4WiRVrmPsf0SH95ALvGW1Z9iALfHu8c8hOT3/39Ef"),
- this.addDataEntry("atlassian single select",360,380,"Single select","7Zlbb9owFMc/TaTtgcqOCZRH7qrUbpXY2mc3cYiFiZFjbv30sxOHEhwuEniaJpAQ8eU48f/n40OOPdSfb8YCL5IXHhHmoaGH+oJzWVzNN33CmOcDGnlo4Pk+UF/PHx1phXkrWGBBUnmJgV8YrDBbkqJmuKChqmE0nRVtmdwy05bIuXrCAfRQL6aM9TnjQpVTnqoOvUwKPiMHlTFP5YR+6gGgtsOMTlNVYCSWprm08HwUdFrtR6Dq1wmVZLLAoTZcK3nMcxIhyeboXPMqM9Ex4XMixVZ1WdNIJqZHUOgBEkKniTEzGgGcFeXpzvRLOXVhxKsXEllCvqlnpVPsoa6qf6FZaMkp+DKNSGQUxSI0QnUO9FXCxPnHElm1NPud7kg9ZG8PTtHp3Uzb1zVKSppOn3PVB4GtPMg/h4CuEH1rtA0Kiz0GqFXDAKHrGTQtBqdWcJbgiK9VQc86wlmSkwBFy0L3n2+m2jEfsGQ4yyhOH0LGM2LT6bS7oDuqd4FLJET1ElYNjKDgwVYUNm1ByzpBGJZ0RSpj1als7v/KqXqs3c0b/mPl9o12dQQexxmRFqXdLC4CF5wHV/WVi71jMBrCYbBPu+pq8GCL8k/sSaVnhIobEVWP04BpiFnX9JF88eV1v3Qhd7obOFTpPGcd6ha7WssCM/k9Hg8nv55+/pj8U+HBDGUeBl4kdHA+XDRPhIsrPascZltGJgeO1bb4wUbIaDjTfdKVElFLkuBM/6oZgG+T9wYCCH2/NVz/dnDBjeAi9NfgNoEDuI8W3O7gTVU01HcYUYk/mMYaEYkpy6e0omR9h+wKcsuFB3csyL3lNKYbfZ800nPFQuBUbu9cXXHtuHBeCGrAUqaJSpLJYhKk2JjvXN1EXCchF8IasCJdqjdYECZYyDtQZ0CdhFlo50gGJNMa69j6cefpjqeTiArtVM0wndKUEKHe1fKJYaZme8fqCqubgGpnf0YEy6XQETRmWJPNiFjR8B5SnaF18xYL7fzQUxrpWap/vrPCae9A3QB1E1LtvJKFrUzCMrrHaT+lbeW769J+QkXqz53ZVWmhbcXgXPoNXomjTLcGTvS380KThK8LT9KLC/A4v2qq108wxzJMijayoGH2v3rYUcA7mO79rYGaLnjbqSLNW/+BzY8ojnA9mXMfgZE/Cmqd73HQH6JLj5js3PmcRhEjFll70TD8Qdgrz6ikXBuKgs5uwOeD9t3A1dMwCA52kyMHQ1csrdqTHHuhla8alY3Ev8k6a0B0uNJusLOo4tdZddF9/yj7Dw=="),
- this.addDataEntry("atlassian table",400,230,"Table","7Zpbj+IgFMc/TR810IvWx/E2ySabbHYe9nHCtGjJYDGAM7qffqmlHS043mrV2TExESgVfuf0zzlQxxvMlo8czZOfLMbU8UaON+CMyfzXbDnAlDouILHjDR3XBerruOMdrXDdCuaI41Qe0sHNO7whusB5zW88Z4JIxld5k5ArqpsSOVMDHELH608IpQNGGVfllKXqgr6QnL3iSuWEpfKJ/M1uALN+iJJpqgoUT6RuLno4rhf0Ot0QqPr3hEj8NEdR1vFd0dHDxFzi5c6prqv0PB8xm2GZTQK8k1gm+oogxwESTKaJ7qYRASTy8rTs+gFO/dDs7Bw9g6OaFkUvjCOFUnwVlLqDBzSyTbTgQmh9A61BUyRonv2kZAPfHz02NY/+Bu5ttorUcDyCo0C1cCwU3qIbPIfTanv6G5h8z4IJ1oApsGDqoNlcTYxm/pHdqKiY5hUVipwt0hjHmhPikfa2oOKka+96GA7Hn3nqxsWT9WfDYyOFD6vGfgaXRIg+6IYZieNsNBan3fZ/tyjr0cNNG59vN9+0m+eaZivqzjFbxzCbx+NnSl44ql+B3b2yAdafzyxQEq9BRrp5j4J6x6BeWqJuUekeLiqz5TRbntuEiW6bRCwV7YVYu2/loSj93JAYN/DCIKyDWDH3AplvQWYh5p9PLLxTYuBqxHoWYv3OObI7BmN3HBwou2UEUJ/sgooIgJpkt7BVULGVRRAupAfFCnyMe7PJhES4LXC04ESu2pRFr89zziSOZGZPY9EcdQahb7fe+fD8qqP3DHjQFnrU4OgQ7od3hJePHvxsaf2qwUUYNBZcQDO92+vVQtESbRERnCrnThcRxYg/VyOO3eJ9uDt/7s+gHWz5c1neowZQrxocUyTJG976fxtMPYJfjKiRlX/fgtuPU6u3fQf18AssDWOU8zjMPmbaiCBctWIkkheGeGxY60sHgD1oWZsvJfhHpJU3Fc/4234ZmjJ/qXgG2lLMe0DmXg+Zmd7dBzJwPWQnpGa3HYn1zJTjYpGYmaX9eDLwHZNxwOHQO3Sjp1w77iYWg15zOz3QzAcRiloCRf/XKg+9Bvd53BPyupsQ4MoyD73m9i3cA9K5m2TmXpHZCZnWTTADV2RmZj/fRxYnr2Td5rYVLEdy/+2hBQwbTFqth3z3oDJVZe42l09YTtjug1lVmZtkZsvBvo8ujji6sMrCpVThhKO5286YYdhcymw9pttB7+beL7ngCyaq+PEaWr63vfmW2j8="),
- this.addDataEntry("atlassian table",620,230,"Table","7Vtbb6M6EP41eWwEOATyGJJmV0e72lV7tOdx5YKTWAXMcmnS/fVnhksaMLRpCjRpUymVr2B/4xnPNzYDMvO2X0IarL8Lh7kDcj0gs1CIOEt52xlz3YGmcGdA5gNNU+A30BYNtWpaqwQ0ZH58SAct6/BA3YRlJT+TtEHI/iQsiqOsPoof3bx+HXswyrk6INaSu+5MuCKEvC98aGBFcSjuWaVwKfz4lv/FB6jYj7p85UPGZcs4ry56DDSiT8aGqUD5Zs1jdhtQGztuAKJ8rCyM2bZxvmlRPtkvTHgsDh+hyYY78TpvoWeYKGvGV+u8W46TQqMsv9p1fUIPEjmA9WASCcwb9sDZhoUfBsa8w2iSw7UPq9IRrCMJVivhrvPRMNVrMCUdQapLkEpgRmsaYNLle+j9lw8NpmHtoV2GFoCaL67Vax1qQhYBukU39S0wPZanv4fSWKuBSW0BpvHhMHnbFRrxIReRMeS28KNhErGwshQBmmX6VweaphNTN1uAaDSSICqUqLSQRm9HyJB18/b65teVMQb8yRSqfvguDm3JQ5ZuK7geQHUV9gCzwQRfYs5lHuSHw+EAUSfY24Kki1oYBdQvoT7+k4hCPa82+ZTwZb4IPeo+NYDUKt57EnaAZvYO9KeGhXLvFTW9MUoNBr5PVYOt/LbvNLQ5jvj2r/2XweCjew65qwGuU2IqE1A/QFZxaYSjSQKHxszBx8HP434SpwjRlUB48EE3LMD01JoVMwHBZJMpTxCKM7SK4nZNpPaiiVTSv1oTmT8qH8ybbEHegeTLr1j3qmxAxzWmgbRgGkxp4b9oGmgYik2kDaE8DKaYQTidRxDGXBmaaWaLmdFQyTLwf64PJ1kzkjYD7cAazBhDmD+xfBHbOFulUYBlAzRTZ0ba2AGVtGMuUJgMl2KxXt4mkwLdZmOkjrsx1xNJJlFMV9xfSaIJReI7zMk1AdQ1X+C6DNdCW5CF/pxy1DkIhZLYgFq6CyCm3KbuNK/wuOPgaJr1ZE/lynqzt/W2IC5dL4mLTCRxdeUuFyIv6ZA1btQj6M2DqGZFLxQQ0juKSKmISGlXRDopi6jH7V1Va0R0yh5QAZn6fpDJlPosIBtN3g8ymTiDA0O9IHPMTC3d9A4teq31UBTdmJsHWo+dIM7GeoyVyn5sHrYfj1uQq8zcT1sVcohMeQ/sbOnLTHzBaJwgWVqkVGp+/etKBT5kYi8vEOEHIUnfEhsht2hKcJ64kdbEjfQmcmTx+C6x71mc8stARDwWKIULUWoiSuZYWuCdESX1iCDK52BK2qi849aYna6YkirHbZY1ZkdLTU2DsBASjPBdqFQhT6O805o1zLcQeetcSo5HTF5UszsacXsooM9vgNMVSSzLbCeGo2SWm75ufCNiufSOuT/R4Ge6GWag7t73rVKfv7cFZ3lUFvWEHKa6eguSlqMcp+1UNbDYHp0srS7QcA6Qqe8H2ZkS/yqL7ROyOuL/YVjsEt77NTe7J8ZoDzW+LTDamiP+01aLHCKV9BfNqTuv3yOyupqxwjmP6B1uxkq8Zin7y7WAAoNL93YgenG1FBqmB4cDPFF0Yc2m0f2zJ8ML5nIoVr5S5jN3nw+PzQY+jBJtPiy8cOCXODAsRUklOiPBr7lw8blIMBlpFbH0d15Yc7/jcmD4osDGZQ9L1WQXq6sTw5rrJhcXqw8XSyX9nRocc7XiJHwso0euIQcB6o8NwDdO3Q5beB5HB8J9yG734r3Ung4SjvSJ/hFrHMevdDRzEKqmfBNi3zfCyVl1vhHCo/ywsRCePnrWMXpfD+iZG6Xde0BGj8cA5IgYzCfxgCoXpursSFceEJHDPH17QFN9OremZ+UBVa5MqYbssnb2iYEcZHpZjw6J8+/EcInzPxPnV83+Av2kLtZkNUv7cj2ufz+MyLGu0/ZVG04WesXsiFjIKWBWPVroFbNXXKJotAMNJv4JvTbWVSWaYxgSRhMZokkLCNWFBpq9eQDLEZvcGDk0WqeejZLVlJ3QGOhFxKk/tNfMvr8T2zdunud/hfDgXbCFaACRowH/rjlGvH/e4OsoJu8YQ37nsXCF/O94z1U1NGs0fz9BVj3XtrfKshx3FKIkx64811fcWzi5bw41OfzV1keHkH363DutK30N/j8="),
- this.addDataEntry("atlassian table",630,230,"Table","7Zprj5s4FIZ/DdpPi3wJBD42yUylbltVrbT7mQkmeGswNZ4m6a/fw62TxE6namK6IhNpJvENwfPar88R9uiy2L1WSZW/kykTHr3z6FJJqbtfxW7JhPAI4qlHVx4hCP48cn+mFbetqEoUK/XPDCDdgK+JeGRdzfukYF1lrfeir8x1Abe2wh5dZFyIpRRSQbmUJXRY1FrJz+ykMpOl/sS/NRfAzbhE8E0JBcEy3TcPIzxCgzicRwjqtznX7FOVrJuBW+DS3yBTmu3OPmRb1T/hayYLptUeumx5qvO+R9CBQDnjm7wf1sNBSd2VN9+HPiGDHz01O0FqEGyfeiIE+wEU9aQOiMaOgM4MoG+TWkPNWhYF1y7JrgEHU2OzDU22c0dsA4PtsoeKUlavFa80l+XEJu/MAhi7IhwahA2adZ5UzU/BD/D9098bPMfiAPcxWyC1ur/DdwG0KFYD3mEYvoTT/vjxDzCF1IIJXwHT3MCURwUqQ5KdxVXsNs026css42vmr2W5ZpWu/UyKlKn6ZG4CKjqbBSH90QS1dT6duG25v5tmhorkgYkPsubtSqEr1YE5neCHGsJ05uXmbduwCq6gFI3NCR1ZhAovFyr6+fk8CJQoJbc18aFeVa+aQjOp0z1uCPpRW9g1hZmPugJpuPhx14223WAhNS1NYe7TORRKqdd5L4Jd0WP5l3g5bzunXLF1rxZrthK6uIKrRP0q6CWZEVOS0M3aiQ1JfBjytH6QFywweiBZQmYpiWMvWF3b0cmzjo7aj9XRT9fU5VpgdCwGnVvEcGT4g6IHchAEEqGFuVCem7Vn9s5zm+WgwGBB30W9nOjp9LYQdRVQY2wBCuU3CQQmiKBhWU0xBDxP21W8gs0MkJewtyVilIj7d4aDPzALZ7TNbLFmWkN0UP9i3HNLYU84XtiDzSwUx/OpuXo4oqubqScC7dA9e+hcHU/e1S20nfmMmYbemKtbYLtzdTOb1ayoRKLZi60/b+vxiLZuprMTDNbjEW3dTEZvLVi30HZlNMTMNW/M1i2wndk6MRNRMHT9YunPWzom43k6MTNYinyI39Ffk3J1TMazdctbzUYq9ObxZmzdhtuZ05jZ5o35uo22O2M3c9GUPTxu/Gp/1ttLqU+tAhhl7cf2nu7Irn+PjUNNd/2LHH1YHsdyBRZ/J4783cxliY+mZ+/BiPZuJqyItvYu9jfj7xbezgzHTDs/skJ+ZVD3SoukrnlS/gGBJSqrAv4XXCmpfN+fuutbNHDn+maqCk/3Odkw/9/acujlxfmtzh+N5/zUTHcn6fzReM5PLS9Xg1tzfgtvV6ZDzeTUI6EYjLcN7wcK4ZdH2R1OoQgF8zQ6rAo3zfdisVzd/f0nQbNguAzcQXelrgdcUVaaF+0ZVJQJuW1YMWWeq5rYVmIR1dlWQs30+Oz28b875YdNUNc65gfFp6PrbdvRyfb/AA=="),
- this.addDataEntry("atlassian table action",630,189,"Table with action","7Zxdc5s4FIZ/jS+dQQhh+7L+oDfb3cx0tnvZUUA22mDwAo6T/vqVzEfBRyROi5SYuJ12sPgwPOdw9L4CeYQX28fPKd2FX5KARSO8GuFFmiR5sbR9XLAoGtkWD0Z4ObJtS/wb2V7HWnRca+1oyuL8nB3sYocHGu1Z0TJPaeyHRXOWP0Vlc5hvxckt0QjP1zyKFkmUpOJznMRig3mWp8k9O2lcJ3H+lf+QB0ByPxrxTSw+RGydl6urPUY2JjN3MrVE+yHkOfu6o77c8SDIlKfI0pw9dl7msam8xs8s2bI8fRKbVDsUFKwDD/KwbCJlW8j4JiyPUtKyaFZ83tRH+slQLJQY1UgxRMpCHgcDQ2pPIFNHE1IHIP0UMqqVaFpcgVGkWJGmupASgPTvXUBzNrQ0xYo0nWli6gKmt/vjBin7b8+yXCdaX/BgqWG4jmsO7gSW1T2PgmxwUAkxVwWmACrAmYV0Jxcj3uD3T3lq4jLmDd5tuALU0luhFRFrUpYJvtVuqMcu/alNowHNxQpqqAdqszOoKdOskY4CjvfJm3uLJsHfoFJhcCEGVfLgHjBUKBscspxueLx5PQ7FjWg/c9+ddCh9AFSnFUaApy7diBDA+YXyWLR0SPJzcmy1XK1WnqLEdZFNk30csKC8oXsE674I1iWawEKTIwufteXxPmeZPPomueCUrSXOG+QsNDsj26XbnbhCcfFTWY/k0nlNHT2P+Eq+yxTJbVlkspw+16k3Nl4f/6g6dwmf+zT6VK7Y8iCQ56Do3dvhtqrP5Tlb/caVVDdEFVcM4opcRQ/n9hBX6LhAeNqVgqZ+iUUYYBApxya2u1JHqgdQszaoSta8JKCcHkBBH/X6PK5TU5nHr8so51lS1k2bVP25iQqSKptSFtGcP7DWt6vold9/m3BxXvWXj0/61rHdPkKyXmcsB/TrqzgvINCEXQPSFRDbQDygb7vGoyMeroFwQMdH70KpMr2U7YQK8uiOy/+jKDl8l03f98dxIeizL0cgndQdF+ojbQYbneMVy/TfPm7kc4CbbeLf73c3W575N7s02QjvnIn+Fd4WGE8dz+vUP9XGdrG1Z8u/YsUdTW8TeU1H7D3wtU8EqAtN6FSTFbehB0XWpJdctd4kV09ZTqDo05WrNjSg2BjJary9T1+E3g4ltJxkwI5TUVF1OU7F47WRjLRNphcM1HHfDii0en/drv58PUxBarFYWd4Zo011x9Ux2tQxAl/57F7M9cuiQFtxUHnG66CJnkET19ygieL534+APnBR7735fLFcfRsjMulHnLwLIT0zKKQVz/86c38wQnpmUEhDY4gsc/JPv5Cur8ZEhYeuT5Gtl6ukTbLE0OENWUoraqq2F9Wg3yukNO4nWd+HlDYJFLq+jyilFcS1FYfr80dzUnpmTkpjaErze7FJU0q7GI3X/HEsX67jKRtT3xe3gDwJsSSU3gXXsNPu1jYotPErnmgORmgjxXtTupQ2hjZxSAPWSPGagrZchaYQGUNpQmebZAkN4KCFtqqoahOGqqeAUmm7lzwadKq0TRJ1oCv8iFJbhVzbJByVXbxqbT1aG9nmxLYDbeu/2yRJjy9yC7ldqO2eBgPfh6AmBgW1o/KogxfUxJygdqBZ7GcA650IasUjLG25Cs1f9SrwQBS1SZjQ6MkHA8NV1Iqqqk3/qR4HSkXt9JOuCqK1AjGoqE0Shf7vQypqBXJtBeKMl0ObsytDGiSHUnsGNAuPwKxiTUs+0DyiWcZpfOOHzL+/Sx5VgnrquOTjCGpiTlATaE7hbXQZ02rRZAawaZtXW9165886Om+eQJNYfROdFpp6/pLTA0WC2xgVb5chpKA4mfZAEdq5b5wdJMZkn/rsGaQWROo5HvEmXWWiVZIUZbvxgw/NnjUTZUG4yz+Oa5XaUBCckukvZjjpCM5L9KvR1l+dxlEFu71DL/M2CDSRSxaxXETTulNPD+4O63M/hXCNqCKi1fjt74RUzrCpf9ap2Lz5q0//Aw=="),
- this.addDataEntry("atlassian table action",350,30,"Table with action","3dbPb4IwFAfwv6b30oo/roJ42snDzs180GYPSko3dX/9iq2Kq0uWbbhkB5P2vX6h/YQghGf1fm1EKx/0FpDwFeGZ0dr6Ub3PAJEwqraE54Qx6n6EFZ90k2OXtsJAY78SYD7wKvAFfCUHKxR2vt7ZA4a6tLXbXZ4QviwVYqZRGzdvdOMWLDtr9DN8KJa6sRv11l8g6XMCVdW4CUJpQ/uUIIxzPp8UxSkWbtzHdlJZ2LTiqS/sHFXYMxgL+0/PfSyFQ69B12DNwS3Zqa2VfkXqaagEVcmQClxUdH5enZMXRDcIjrdNeWyqyvL+oOliOpvTsUFDYBbgBr6TkXwnkW+m61rZP3hm70qc8Nh4OpJxGhtLgQhNBf+dmdGYeTES8zRijnA7Kdp+iGqg+Ri25o6xHOhfUzu4vFglq9R1DHRO+xRLfsJ0uD7+QInfeqMmv8A0G5np/NdzF6Zb78VvKLnp5Tvh2Lv6jHgH"),
- this.createVertexTemplateEntry("dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0",60,20,"Tag text","Tag",null,null,this.getTagsForStencil("mxgraph.atlassian","tag","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0",60,20,"Tag link","Tag link",null,null,this.getTagsForStencil("mxgraph.atlassian",
- "tag","atlassian ").join(" ")),this.addEntry("atlassian tag removable",function(){var b=new mxCell("Removable tag",new mxGeometry(0,0,100,20),"dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,6,6),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.x;strokeColor=#596780;strokeWidth=2");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-11,-3);c.vertex=
- !0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Removable tag")}),this.addEntry("atlassian tag removable link",function(){var b=new mxCell("Removable tag link",new mxGeometry(0,0,130,20),"dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,6,6),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.x;strokeColor=#596780;strokeWidth=2");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-11,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Removable tag link")}),this.addEntry("atlassian text field",function(){var b=new mxCell('Name<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Messina Cake",new mxGeometry(0,
- 25,290,33),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field")}),this.addEntry("atlassian password field",function(){var b=new mxCell('Password<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=
- !0;var c=new mxCell("••••••••",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Password field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Project name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");
- b.vertex=!0;var c=new mxCell("Watermelon Squad",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Project name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");
- b.vertex=!0;var c=new mxCell("Watermelon Squad",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,65,"Text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Location",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Location",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,65,"Text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Details",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=
- !0;var c=new mxCell("eg. ATP, VOSS etc",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Details",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");
- b.vertex=!0;var c=new mxCell("eg. ATP, VOSS etc",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,65,"Text field")}),this.addEntry("atlassian text field help",function(){var b=new mxCell("Form label",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");
- b.vertex=!0;var c=new mxCell("Banana bread",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field with placeholder text")}),this.addEntry("atlassian text field tooltip",function(){var b=new mxCell("Selected help",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;var e=new mxCell("<b>Not great</b><div>The best password is hard to guess. Try again.</div>",new mxGeometry(300,0,180,80),"html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;verticalAlign=top;spacingLeft=15;spacingRight=15;spacingTop=10");
- e.vertex=!0;return a.createVertexTemplateFromCells([b,c,e],480,80,"Text field with tooltip")}),this.addDataEntry("atlassian text field tooltip",480,80,"Text field with tooltip","pVXbjpswEP0aHndlINDlcZckm0qtVDWV+uyCAauOTW2TS7++Y+wQiEmbKkghnsFnzJwzMwRxvju+S9w2n0VJWBCvgjiXQmi72h1zwlgQIVoG8TKIIgS/IFrfeBr2T1GLJeH6HkBkAXvMOmI9G7EnElwfC8Hhb0NYa/cofWJuT0UZywUTEkwuOHjflJbiJ7lyNnoHGS1DWFaC6y39bQKExsaM1hwMRirtHp/BQRQnWfrhBZ1h7mA/jH13IjU53sy/d7nk34nYES1PsOVAS904DhaWI9QQWjcO5nhDWFm7HqAXNmHhCJ0nN/bI3WLGzOkbzJWh94pXKTpektLlimXhUs1M5iPOgaGqv3wiVYsLyutPvbVMPGUAusiz1/V6Ko/d9N2REvmKoP66UiB6RIGTIzqxiLEg2Ywgcfy4IAtPEOppoBrcmiUgaatulvaVHGmSLHLk0zbI9LdCvo/GeJ7GKcCRip59VsMXn9SzTxKGNd2TSaw5pt35XwSF1xoOf4oXk+OfsmkEUVWKaE+pIYu7xEv8bgK42aBUR5Q5ThqTC/NmeI8pwz+Y8ZSduWthbo1ZBlHKzlMHzGLQK/3Vmcn7ZrqkyDAoN3KldY+hhJU9iFe07iTwJvjzOSIkYYPazV51jVpu2uy32tvr3uV6Fa4Sr4L+NVGH/oX6LsXBGzHGOjRUky0MEOM4wDcJfKYoaYHZq4uuRetNmTC5uL664hr7vhnMMkSPTAsHgDz8cYFmxkX6//MbzMuH1xbo+Lv8Bw=="),
- this.addDataEntry("atlassian toggle subtle",30,16,"Subtle toggle","rVRrb8IgFP01fNRQsO673fTTkiX7BcTeCpGWBlDrfv0o4KOvaTKbNOHcJ/ccANGsbDaa1fxT5SAR/UA000rZsCqbDKREBIsc0XdECHY/IusJb+K9uGYaKvtMAgkJRyYPECzBYOxZRkMhpMyUVNpDSpcr+uZqrYzVag8XT6UqF7/S6lDl0BZPHGJ6+y1+2jopjo1AW2gmN+tNcacbUCVYfXYhJ5FbHiJoLMRB7PglaxlszAS8u2beJneLOPw4EfQxEYazul26RFEbmKKgx1fhv6emJ+PTdxPOUdZ5GvAdNwkZ4SbaNEhmxRE6tcYIi/2/lHDbujafJYtO+1mPclUUBuyA8OsUT2mweKwBt6WMh8vJkauTA9iBnBnujx0OHi9U2ezaizVnVjJjBKvmWw7b/UC4l6j0hy7LoSzpS1TpaUL/r4mDt8cnhN+/Tb8="),
- this.addDataEntry("atlassian toggle bold",40,20,"Bold toggle","rVRdb8IgFP01PGooWOez3ebTkiV72DOxt0KkpQHUul8/WrC1aztNtEkTzv3kngMgmuTVRrOSf6gUJKJviCZaKetXeZWAlIhgkSL6igjB7kfkfcIbNV5cMg2FvSeB+IQjkwfwFm8w9iyDIRNSJkoq3UBKl2v64mqtjdVqDxdPoQoXv9bqUKRQF48cYnr7JX7qOjEOjUBbqCY325jCTjegcrD67EJOIrXcRyxCIQ5ix0NWmBEz4/Guzewmd4sw/DgR9DYRhrOyXrpEURqYouAPX1nz3TU9GZ++n3AOss5jj6+4iZZDbi42DZJZcYRerTHCQv9PJdy22uazaNVrP1v1K6gsM2AHhLdT3KXB4rYG3OYyHC4nR6pODmAHUmZ4c+yw9zRC5dWuvlhzZiUzRrBivuWw3Q+E61S6eL4DqeQR3f5TauQUr54i1LIvU/y4TA5275EPv36ufgE="),
- this.addDataEntry("atlassian toggle bold tooltip",280,112,"Bold toggle with tooltip","7ZdNk6IwEIZ/DcexQhBljqPoXGarpnYPe47QQGoCcZM46v76DSSoGBitUrf2sFRp5as75HnpbvCCebl7FWRdfOMpMC9YeMFccK5Mq9zNgTEPI5p6QexhjPTPw8uBWb+ZRWsioFLXGGBj8EnYBszIC2N8W/vYNAsF/NqAVNKsk2rP7LqMMjbnjAvdrXilR2dSCf4BZ4OFKvWpYl83M16pH/R37cCv+4TRvNIdBpmy062xh4PweTKNUGtmN3bdmPsHoWA3yKAZsgBegZegxF4v2dJUFZbD2HBCBdC8sGaWHSLS9POD6ZGoblio/YADB/CXJPW5g8ksmC6GcAq+qVJILQoiEksiRLeQ2NsDh8biBMyjuIwvc5EFWddNbUjXcvABO8OXNddVMIJ+GF0DiwaNXDb+xGXTjglgRNFP6PjqA2b3f+dU39Zh8yc/6mz/FHU98CyToBzgh1NcpUF4WYOT6NVypDozBHEdkymRRfMUIjPTCFXu8jqRjYhiREpKqlFSQPLhCHdUqZ35aaHiW3T7Sqmepzi6i1CTrkzhA2SaODLFVJKVluhylh5KFz5yI8ef4tk4viGPJ1ohEG4mP4h9msnRPTO5NRiHHTV60pnvh4/JZ9PBQspVoaFgtJEgtEBIcf1Xgshr/VRB67GVIFVS1PaUOKr+I6X3roJZhdqqdVqJowdVnMhR6DtsBVW0yuvdqFTcOhwOoLOIWaIlXoZ9+S2O4vkicMmi5nIFqCnShLAXO1zSNGVwQQENdsbICtg7l/ocvDYUBtrB4dvZ/MGxXJNEH/2t2d/kgyuS/e0x2g3RaU+I4p6qim/X/9nRf9ZGnX7xhobPf/X/qvo+cuP/TvLr7vEryhTd04+sPw=="),
- this.addDataEntry("atlassian toggle bold disabled",280,112,"Bold toggle disabled","tZVNj4IwEIZ/DUdNAfHjuKDraZNNPOy5wgCNhZK2Ku6v30KLwgKria6JSWem87YzT1ssN8jKLcdF+sEioJa7sdyAMyb1KCsDoNRyEIksd205DlJ/y3kfidp1FBWYQy4fSXB0wgnTI2iPdgh5ocYRE0oDRhmvTded++5CaflCcnaAJpKzXM33OTvmEVTitrIwD3fku9LxkFkIuIRydLO1y+x0CywDyS9qyplEMtUzZkYoBZKkJsvUiLDQdnLNvFWuBqb44Ua49xshUlxUQ5VICgFjLfjVr9XbeuVvHqreGa6+m3AxWKeetlu9sef93jQ+DhRLcoKO1lDDzPqfjKhtXRef2MvO8pNlV4HFsQDZa/i1iocYzO4zSGVGzeFSOCJ2VgZSRoRFWh87pCM1qKxMqos1xZJiIQjOp2EK4aEH7kapiXyZpjrPcPuL1MApXr4E1LyLyfsHTF4P0+64FyEne0XgN7CxB8FG/atiLxx/th67Vy30Mctlo1PLUpLkyggVEuBmQks4rn9Notkc6gk98UKZhFkf9cJ7yYOlzNtXQUNrfzR+AA=="),
- this.addDataEntry("atlassian toggle bold disabled",280,112,"Bold toggle disabled","tVVdb4MgFP01PLZB0HXPtbNPS5bsYc+kopIhGKCt3a8fCrZadW3SrkkT7se53HsOIMBxWW8VqYp3mVIO8BvAsZLSuFVZx5RzgCBLAd4AhKD9A5TMRIM2CiuiqDD3AJADHAjfU+dxDm1O3DsyxnksuVStiZMgQUkI8FobJb9pFxFS2Py1knuR0qZ4YC2idp/sp6kTQb8RVYbWs822Lt/plsqSGnWyKUeWmsJlhL5QQVleeJSfERLt7PyMvExuF374aSLwbSJ0QapmaYGs0nSOgiu+YhSvNvdNj6anP3khl5GD9NgIXsZsdD5FOTHsQAfbTVHkd/yQzDaCYD04GX7zxesQL7NMUzMi+Nz1XZyHtzkvTMn9YbL0p/JoDWiNlOiiPWbQRVphyjpvLtKSGE60ZkQs65FIF0W6yJenEz2i0RDwh2ITgj1Hr0VwpRj+B8WikWIxETubY7W4lm7uKQjg+JIEK7QON3M3qncIMilMV6cty1kurLGzAlHlE3qFs/bXAX1zcFTogbfJA8IJqaOnPFXWvHwPnGb9z8Uv"),
- this.addDataEntry("atlassian bold subtle disabled",280,112,"Bold subtle disabled","tZXfboIwFMafhktNoaLxcqjzaskSn6DCARoLJW1V3NOv0PqPwnSZMyHpOe35evx+tHh4UdRrQar8gyfAPLzy8EJwrsyoqBfAmBcgmnh46QUB0o8XvA/M+u0sqoiAUj1TEJiCA2F7MBmTkOrEbCKljC0446INMZ5GeKa1IqkE38F5puSlXh8Jvi8TaMR9HRERb+hXoxMiuxEIBfVgs23KdroGXoASJ73kdNfskSYqNxlsZXOgWX7WmJockSbOLjpXH/TAWtFvC35si8xJ1Qx1Ia0kDBnScW/+tpxHq6e8CPq9uC+wzqBx6HjjBz3e2JwARhQ9wJ1Wn2F2/09OdVuXzUf+5G77UcdynqYSlGP45V88xWDymEGuCmZfNY0j4UcdIB0kRObtS4jMTAuqqLPmmI2JYkRKSspxnEO8c8C9hNIPXKYulvAlVDpM8D8wCR0mm/1WxoJutd1dOkN3gY/cc+HPgmiyHDpEN5xTXqqzTivLaFbqINZEQNgFN8Jp+zsX2uaQI/SHy8kWYJf0LHRR2/v4N7eTDq8fBAPt9nvxDQ=="),
- this.addDataEntry("atlassian bold subtle disabled",280,112,"Bold subtle disabled","tZXRboMgFIafhss2CNre1669WrJkT0AqKhmCAdraPf1QsK1F2y7rTEw4B87PyfcLApxWzVaRunyXGeUAvwGcKimNG1VNSjkHCLIM4DVACNoXoM3EbNTNwpooKswzBcgVHAjfU5dxCW1O3CdyxnkquVRdiDfRBm1igFfaKPlF+xkhhV2/UnIvMtqKRzYiavfJvludBPqNqDK0mWy2S/lOt1RW1KiTXXIaNHtkmSldBnvZkrKi7DUWLke0i4uzzoWDHXgU41jwYyy6JHU7tIWs1nQKyA29FKXL9XMs0F0WcJ4ENCI0QsPnFOXEsAMdbDeGyO/4IZltBMFmgN5vPrtBLPNcUxMAPnf9FPP4MfPSVNx/WhZ/Jo82gDbIiC67jw66mc6YqinaYzUnhhOtGRHzJjDpJY4MC+74k4T2JC9xZxbBoT/4H/xJAn9SInZ2jSV/a9TUNRDB8EhES7SK11Pn58ryXArT63SynBXCBjtrEFV+wZVw3j19oW8OBkJ/uJd8QRxavRjx2l/Fv7mYbHj5FzjPrn8VPw=="),
- this.createVertexTemplateEntry("rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11",65,20,"Tooltip","Tooltip",null,null,this.getTagsForStencil("mxgraph.atlassian","tag","atlassian ").join(" ")),this.addDataEntry("atlassian comment",470,125,"Comment","3Vddb9owFP01kbaHonwDj0BLt2pbpX489NFNLomFY2exM2C/fteOSUNdqkkt27RIIfb19fXJOffaxIsW1fayIXX5VeTAvOjCixaNEKprVdsFMOaFPs296NwLQx9vL1weGQ3MqF+TBrj6nQlhN+EHYS10ls4g1Y5ZgyxJrZvVttAwR1TI8YhmgstRK6HxovmKMrYQTDRmQrQyF9qlasQaBiNhEk2SiV0SGgXbo7CNyWK+BFGBanbosqG5KjuPyEItgRalOrQR2fWLfuYTB9iwNLxMSeRQckUrNMxbzikvpENQqSqMdR48Y4ILDg4J1rgSXN3SnzpAgK85J4wWHDsMVsoOD2jzzYX2TUkV3NYk0xM3qMZbqLQT4i5BhsxOfZdZm0dvYjZ2mJ3d3326vnEYbUTLc8gtqaTJLFeJm2zLcBktk9d4Hjgn03Q88Qd8Z0iSSWFNIc0Im9mBiua5RvMC5Yfq+fu+Ra8B9wnxdnWCMHHkSZLTyJM48kQYFaf5s7ZopcJG6Afpn8//XrZT5H8wdQsgCE5UAalD8V1J+Br3FH+Fbxv6qgQNpcH3PGvr0X+61+wOGR0w37u8N/Njh/kH0XphSipd0aQW0uwC6FLhy1CkLu/laIBIPO56kTLUrMCjoHfgpIKROSJ0kWxKYh7QwNEQpWB5FwHpF70bWm04Lbu2M4Fe0RJbn02YCqpH0BEQO9vrpzH1EqbfW/3vYY5ixtmU4Ek8MA1yaW98JNm6MDvumQ0y0ysVjx/CODYL6S0gjJNBe/xxGDQtzDP2r0BKjXyOazR7gKhMh9G6IYa2KECq5wzumdUNDUqrx/HnivCWmDTCrgF3A93zAe97vL9d409rll4IvkKJOabtv1Q77gmjxAkqKnZPizh6oaLSd6ioiVNRN1CzXZeaXVkhJxO96RnVL3Kqjg6eAwMFR4e/0PVf0POk584z5QLfle69NkPsPn1RmLGDD45f"),
- this.addDataEntry("atlassian linear discussion",470,125,"Linear discussion","7VZtb5swEP41SNuHIseQpP2YkrWb1EqVWmmfDRiwamxmGxL263d+oSFVUrXSqn1ZJOLzHXe+l+exiJKs3d8q0jX3sqQ8Sr5FSaakNF5q9xnlPMKIlVGyjTBG8ET45ox14ayoI4oK8x4H7B0GwnvqNRFecXC9riREwKiQXCpnWf3qbVbXEU6WV6v1JZqrVnVYnW8+Ke6JMkxAmAfSjZMVsskPHgivI5zBuukUs6ktVmAkbQdWketuFhYcfVbHp5VsmKkgvQU6bf3OIPwjaf15P+BpyEBhkaqkipYgjbJXsAi6s5ml8xJRKwUzUsUg/myorYrZDhGl2ED1IeiOuRYLaVg1+phvVHSc/euUiSinCKggwg2ktSl7A0yH08JMqVRKQnHI0Mam8gR/JQUsmBbQEL995mutRYU2Iw+o0A3prNjua4vVmEm9jlkhhY57TZXFC1SdvYAlqdwP9Noo+UxnFrxMLpeXAWGP7LcNu8C2Vs5qARtOqwmAMzfkfqDnJKf8QWpmmLSvK1Y39v3GtNyGAnGgALuC8E2IaKRtuu5IwUT9ZDfbCweSoLpzJ26XgQzgTfdnCeVUgU23FKZh1OimXpomkCr1Xg31qc11RPt9/eJ5YCcIgaCnyZp8LlkdM9Ad2UGtBf3nbN0oi/MddUD0lOqUHFgNAztLTujuTaChaWRv2x9iSMHHKUTpuM5JB8DQjqq7OI4/wkvPxcBLKSqmWnsvvGceaXFFgBnz5A9Em5Q5KZ5rJXtRXoQgG3hP1fkXnKbuoMz1YDmT119PDDlF0x18ZirIdez/1fCJV8PoresQ5O/fFLA9fDI429EXxR8="),
- this.addDataEntry("atlassian nested discussion",450,160,"Nested discussion","7Vfdb5swEP9rkLaHRMSQpH3MR9M9NOvUdtqzgQt4NZgZk6T763dnk4Z0ZGmkbtKmIRHO98V92L8LXjDLt9eal9lSJSC94MoLZlop46h8OwMpPeaLxAvmHmM+3h5bHJEOrNQvuYbCvMaAOYM1lzU4jsdGEk2nJbIr8yQde/StppCmUhTQy0CkGa4mqBKi/+FejlTaPK2XlcI4mB8rqfSBI48Fw8vR+MI/bhvtGHf8K/q4z3i2E2FC0V7dH2DUM3x+VGvII9BIInPU0nZxHPpHdvmS9zZZJ2J9TiHC+JKvVm1WRwwRjx9Treoi6TVOKBCdRu9YGHrUZqoAC4ctevy+I8bQX3JjMtigypf6aI3IQ8wL/N0AvQh6uqaVyUSFD1XExI41cIPEAhJB+TlZbawiKSSKQl20XtNRnD/aie4QzmzZsb17B6V8og5cMQ/lEzpcV640bdYcJFDZDpg34hFOb9mT5WMHhWNVxksi821KKNMXqhr3RayKql9XeFQwTyHl7DnJYGUv5FdGq0doSdgwuBheNJW5F9/JLR69YMqlSAtcSFjtCtcy8+1FzeMRyE+qEkYoUteujdPM5JJcIbkGbUTM5aTxaFRJkZQ8FkX6QIt5b+DvWTf2jfNhA2NoDdujUGhZDQ5eg8rBaOrVRiQmcxpBg4e7Hdbm8cqt02fLPa4i0UBrN8wGfwPMHoGFNtCe2J5NGD/nQ4JeZXcMZTPwy+0vA/qN+Df5/PDh9q47v9ckd2aN/UHwhrPptFILHu5rDTv4dkieKIvL3PSpycTP+JoenEpe5zm3B0JDqTTlCnigiJFjhBnZPDjwpx/MILAn0eG85JWxY6Fp8VJFQpJgAZBQ72iCx0pDzHWCdA/v29iozop0YNyrkj+3Qv/uSDhRif8z4swZ0RiE7t+0/+SW48Zna4LQPn45QXa8MyYILvcfAVZ28I3wAw=="),
- this.addDataEntry("atlassian comment",320,213,"Comment","7Zldj5s4FIZ/DZcTYRwIuWy+KlVdabWtVPXSDU6wBjCynUlmf32PwTAhdhKmIdPdaiKNBhvb4Od9feyTeHieHz4KUqZ/8YRmHl56eC44V/VVfpjTLPMCnyUeXnhB4MOfF6zO3EXVXb8kghaqT4eg7vBEsh2ta+Y8z3Xnql6q58zUpyqHt1sgD882LMvmPOMCygUvoMFMKsEf6UnlhhfqC/tXD4BCKJOMbQsoZHSjzO2mhxdgv/pA/T5lin4pyVp33AMa845UKHo4O8+qykzyI+U5VeIZmuxZotK6xbRG4aeUbVPTy+DxiazL27bnCzS4MNzcDLHF0IInU1Lqy4w5aMHcw2k0ifXcW8o3TPm5O7UjAjhwIEADIBj3R5AfttrtI8blZMTWvJCjnaTixFbAZFN9XLSCEMdhfAuiQxeRITZ2EbOBNXW3AAstYJ9YDhWzXVGwYiuHXn7Bb1p+pkN0FfS9FmdkgcYwKnTzP+y2Owlxzg98FL0973bJ34M3Cq8CR+hOxCcW8a8pKR7B0v4GJh/4KqX6VQRM+2FXjv5sq0c2+VaNocnHFvnvfOcFEclLzaTkMPbsScPXOzwDdEkrh6BEQixuRVqDZluIRG2DguR0VEUovWb2Kan+UUHPDpHyLKlHAPy8bQa1Zjgtu67POLTCq/+UETQoodiaZB/MEIrfwR5xaNsjctgjDG+3x9Syxz+0zPS7tR4BJrGOmfrK/8we6W/YiO4aGE/wI0dgvNvybALu//yUhOK3OyYhZCH7+lzWgQMGS6vwcoJQ8F2R0MR4lIi1sd70ArwTR0owHQz9uSotQhfdxXKJltHxib1p9M1gCS5Yu7sihre1QyJnWMF4AI3sHPJS0ACHJ3wPBc0hITKtpPLrOx3v/yCSrUdrwaXULJND0+5Ui3EQBtHSltfU98J75TzVweuP7KiNxjbdpk7QjCj2RDtjuZCb5//NmU7Am4c/NBu7efzDpDsC32wkVZZk7Sz6qdgjiz23siADPsfeuSMMEJLiruEbQkeCOKP4eAC7vyLXhZ6slLR31Db75eu+BMAXSbVeveBdh3UHci7qyvRwsiUM41w7l34X5GwoeQM97JT7XY8zekRvIIedj18J7L1PmIsVnIHC4z0ddQ9EL1vEuJ9UF5VC05PUGllCIeyI+pN4gKhv59bLhNnfkr+Q9G2Sq/EqXE3OmbpzMDqGaGdLx8lU96yKfPvUaRIBPBNUQsfmfNpz9UzcmlyD3pwsf3WBNBrfY0XYiTAEIqroK9S8lO6+C+kQEk9vVxKKL7+M1c2Pfzj7CQ=="),
- this.addDataEntry("atlassian date picker",150,53,"Date picker","pZRdb4IwFIZ/DZea0orC5QbqzZYs2cWyy0YO0Ky0pFSH+/UrtqKsmJl4QXI++p5ynjcQkLTutoo21avMgQdkHZBUSaltVHcpcB5gxPKAZAHGyDwB3tzohqcuaqgCoe8RYCs4UL4HW8lMgFFONdhWq4/ctQrGeSq5VCYVUpjqc6uV/II/xUrXZpEsNGEhhX5nP/2AcMjdRGRyylkpTMyh0K59HhZgEiXLVYz+yPyxdgVQGrqbGE4lx2ALsgatjubIN8t15VAsLCpUASsrJ3P4EG1tXg7SC1QTOK7TjInH+FPulakIWvuQldyLHHK3KFU7t2fSr31lgMGzWW3iTeJTbBu6Y6J8OWVZ5NlkpNl6Ha6XY6/soQ9HBP9nh8OPH8F/dJQjq7hyI4wm3CDkcTcWnhueBW1Fmz6su7L/MOdlnfP5jnIQOVW+DdHTMo7D6Y/hHjZkms1Y4Eih+QSq2Cd1ringVLMDjGZN4XP3v0lmXmu4fIaT0fWzZDxBFkUL2sM/bDHliEkv/zd7/Pr39ws="),
- this.addDataEntry("atlassian date picker",320,415,"Date picker","1Zxdb9owFIZ/DZdFthOH5HIl0E1au2lt1euMGIiaYBTSFvbrZ0igkGMqtvorSJXyUSfk8bHzvj5H9Lxhsb4pk+X8lqcs73mjnjcsOa/qrWI9ZHneIyhLe17cIwSJvx4ZnzmLd2fRMinZorqkAakbvCb5C6uPxGKDoDSpWH1qVW3y5tQ0y/Mhz3kpdhd8IY5er6qSP7PWwXlViAeJsdic8kV1n/3ZXgAf9psrIrGf5NlsIbZzNq2a0/uL9YhHo2AQolYzeNn6EVhZsfVZDLtDDYMbxgtWlRvxL29ZWs0bFH6NCs1ZNps3zRp8KFnV+7ND03eoYqPhKmfsAcYPPE02AG/JXxYpS5tHTMpJ84TR9oGP0Asw090H8lstk0m2mH3f7cUUdJBoihAdxOFpL9X/9NSwILAjCPVCGrbAk8+A3zR8ad3iqB8wlfSD532+H3zQD6ALVvNkud0s1rPtkOzPijTvT5KcLdKkhN1wwCIZBpew8eRsThs0pFBfgiqEpPbHSpYnVfbKTq4lw9fc/yfPxNc63PyKRCe3v4pOr8Cn0xWrAP7DU1zUI/Tfe6Tgk+eXZX/Ky2LVL0s22YZ92YSkNODj8QiP6AdjSNwi5W+7ofD5gA5gL3lEFtBUwcwSAH53/JUVv1kpjhKEKcQpm68l8/ol4z8AE/Ml+OiHMR+gk6jDAaBJkISmrwDmQBKMQb4NL60UI8nrTQHIPbnzIGXTrAqOoYzjrKscCfVtgYwAyPvHO1UMo90HvNHVj2hyOqIp5CfTXSr4YQQA3v7oHsDAHkAMAD48jjoHECN7BKG/ehrF3SPo2yMocU9fH7tHMLRHEPqe8a9vnSNo80UCfcr9l4fuEbT4JoFOxcNaAQYqgJ3yigzygmZEGS60+2jAFdjDBT2HZCXBMVxtWWKSF7QWnvu8fGu8CHQSvvu8Qnu8oHFQthSljZfF6X4/Wx3xCtznZW++l6RUBu7zai1tegZ5QQsQOs+rvRRskhcU/JHzvNp6wigwqO/3q28qiDUZy4+SD74Kgr5FghLF/x+SX+AaDUfxGF0ceN71ubzzYf1UpQoxyhTagv2CnMPj2OqLAhoD7L4zsPmq8KA1wO57g3aIDQwCg95AXZ7amBgxCQyaA+y+OwBqxCQxaA+w+/4AqA+TxKBBwO47BKAtTBKDFgG77xGsTvzQI+y/jcvEbM780BN0IA3QCjFZxYw2YJI8gPuCP7AIDOp9dZkAbXm5trYwScyHer8LuQDfIjEo+DuQDWhrC6PEoOLvQj7A4sTvQ8XfhYyAxZnfh4q/AzmBdogZLGHxoeDvQFKgHWEmgUlqftzX+0BbmCSmsepHnxhrSwuTwDTW/egD1lYWJoFpLPzRV4ZncdanUO4rU/v6gFmc9anG0h9ThZ4mS1ko1PrKpL42Xu34MslLY+mPuQULk8A01v6YExUmgWks/jEnKkwC01n8Y05VmCSmptjHtqzQR0zsvv8GSv3DAsc/kfIX"),
- this.addEntry("atlassian text field",function(){var b=new mxCell("Your name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Sally Lu",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field")}),
- this.addEntry("atlassian text field required",function(){var b=new mxCell('Requirements<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Design, eating, drinking",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=
- !0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field with required fields")}),this.addEntry("atlassian disabled text field",function(){var b=new mxCell("Guests",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#B3BAC5;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Kris Wesley",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#B3BAC5;fontSize=12");
- c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Disabled text field")}),this.addDataEntry("atlassian text field disabled",370,543,"Disabled text field","7Vlbc5s4FP41vOxDBxC+PcbY9KHdncymnT4rcGzUCokVch3vr68EggakOG6MnXZazxh0Owfzfecm2UNx8fBW4DL/m2dAPbT2UCw4l02reIiBUi/0SeahlReGvvp6YfLEbFDP+iUWwOQpAmEj8BXTHTQjsQAsQY1hrUjwz5DKZlElD9Qs2hBKY065UF3GmRpdVlLwLzAYzGWhXmkVqOaGM3lH/tcKgq5vNPqqjynZMtWmsJFmulXmhSiYhcsoHogN1c7Ny4CQ8PAkIPWQQeMt8AKkOKgle5LJ3IASNaD5OZBtbsQMkD6umv62E/0Or2oYhN1oIwvt2wbgSisWGvV9DvX9wHdC3QSUvCKSCwJ6DSVf4Y26f8jh0ImkCgJMGIiqkdNDmKnrVvBdqYkjBaHYoY7oVRuuZ+5BShC1tkwr5WKLGamwJJxVb04xgAGBTnsYsOrXnwGLYd9u9jmRcFfiVE/ulaOoMc0wSTG9MY+UvDyH+oNheNJIPLIENHNYQjQ53xKipyxBDTJcKAamtEZREzjd6mY7pLGqeWphnP63480CtNnUgD4aamT/aoXV72rk+zrVcO9Jr+3uk8V0NvefcfdgBM5bfq/h/ROL80/qdxZAObMQV57LMsjMW2ORmpdeaAwesVFzrj8OB1Q+Q9j2fd1bTSzOlGgUL26SpE9cs+iTwSM82WnP52Jh+1+4cPnfCFxMLS7e6Yj6x+mu4XRB5GD6Ul43s5herj/cHEVbYRHHa7/2jB+FvIU4VViofGqB3LnccZDRsh8BzkH9oU1vBs0jLFyKhLlFwp3EVX5O2EtmyTxZvCjsrdbrYD39wbDX944Rw17gykGXinsLi4gVVKkgpa7zfqMQ1Fn1NUJQ4NuZP8c6n5C6Ci9KLiSuE0xTjJfAS6qrcMnV5Qvjew8lJztL9NM6y8Uqd0coQ1MHm0EwQu3eGaCreC9BFKSq9K7p9d3ppF1zNAIBaH5Nd7IPLT5W9d4VpylUPyvul8gdkX9N3O3ji38BZ1or09e9IPrgaAB+leNSN5UuUlZwZP9ihR7fn8xWcyveREf2JANehuGmIFlG4Vli0JLie6C3+qxE50W0Eg2UncL3g/lOcT+idpH/nMKtjTct58jmPHDFujEot88pDOWc0cMJXPdz1DAr+UmYuJPOfBWv0S/Fcz9B5jjTSbt+ZqYq3RqCUYyhX8RHE4cxhA5jCEcwBvsA4x8dOP9YwatbgWMLcTErsI9Obnf3lDy7mxvQPgjuxw+KrTOubnv9Is6ji/NkiJkENjGuuhShEYixTzpizFKgL66HnirqfxUSjMCs7ywX5ER1v/91V8/1/tn7Bg=="),
- this.addEntry("atlassian error message field",function(){var b=new mxCell("Email",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#FFAB00;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;var e=new mxCell("",new mxGeometry(1,.5,20,20),
- "shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-10);e.vertex=!0;c.insert(e);return a.createVertexTemplateFromCells([b,c],290,58,"Error message field")}),this.addEntry("atlassian error message field",function(){var b=new mxCell("Email",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("shrugg#atlassian.com",
- new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");c.vertex=!0;var e=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-10);e.vertex=!0;c.insert(e);e=new mxCell("Please enter a valid address.",new mxGeometry(310,22,200,46),"rounded=1;arcSize=9;fillColor=#ffffff;align=center;strokeColor=#DFE1E5;html=1;strokeWidth=1;fontColor=#000000;fontSize=12;shadow=1");
- e.vertex=!0;return a.createVertexTemplateFromCells([b,c,e],290,58,"Error message field")})];this.addPalette("atlassian","Atlassian",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){Sidebar.prototype.addAWSPalette=function(){this.addAWSAnalyticsPalette();this.addAWSApplicationServicesPalette();this.addAWSComputePalette();this.addAWSDatabasePalette();this.addAWSDeveloperToolsPalette();this.addAWSEnterpriseApplicationsPalette();this.addAWSGameDevelopmentPalette();this.addAWSGeneralPalette();this.addAWSInternetOfThingsPalette();this.addAWSManagementToolsPalette();this.addAWSMobileServicesPalette();this.addAWSNetworkingPalette();this.addAWSOnDemandWorkforcePalette();
- this.addAWSSDKPalette();this.addAWSSecurityAndIdentityPalette();this.addAWSStorageAndContentDeliveryPalette();this.addAWSGroupPalette()};Sidebar.prototype.addAWSAnalyticsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Analytics","AWS / Analytics",!1,[this.createVertexTemplateEntry(a+"analytics.data_pipeline;strokeColor=none;",60,72,"","Data Pipeline",null,null,this.getTagsForStencil("mxgraph.aws.analytics","data pipeline","aws group amazon web service analytics").join(" ")),
- this.createVertexTemplateEntry(a+"analytics.elasticsearch;strokeColor=none;",60,72,"","ElasticSearch",null,null,this.getTagsForStencil("mxgraph.aws.analytics","elasticsearch","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.emr;strokeColor=none;",60,72,"","EMR",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_cluster;strokeColor=none;",
- 49,55,"","EMR Cluster",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_engine;strokeColor=none;",74,53,"","EMR Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_hdfs_cluster;strokeColor=none;",54,56,"","EMR HDFS Cluster",null,
- null,this.getTagsForStencil("mxgraph.aws.analytics","emr hdfs cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_mapr_m3_engine;strokeColor=none;",74,53,"","EMR MapR M3 Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m3 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_mapr_m5_engine;strokeColor=none;",74,53,"","EMR MapR M5 Engine",
- null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m5 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_mapr_m7_engine;strokeColor=none;",74,53,"","EMR MapR M7 Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m7 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis;strokeColor=none;",59,72,"","Kinesis",null,null,this.getTagsForStencil("mxgraph.aws.analytics",
- "kinesis","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis_analytics;strokeColor=none;",66,67,"","Kinesis Analytics",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis analytics","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis_enabledapp;strokeColor=none;",58,60,"","Kinesis EnabledApp",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis enabledapp enabled app",
- "aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis_firehose;strokeColor=none;",53,56,"","Kinesis Firehose",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis firehose","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis_streams;strokeColor=none;",53,56,"","Kinesis Streams",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis streams","aws group amazon web service analytics").join(" ")),
- this.createVertexTemplateEntry(a+"analytics.machine_learning;strokeColor=none;",60,72,"","Machine Learning",null,null,this.getTagsForStencil("mxgraph.aws.analytics","machine learning","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.quicksight;strokeColor=none;",60,66,"","QuickSight",null,null,this.getTagsForStencil("mxgraph.aws.analytics","quicksight","aws group amazon web service analytics").join(" "))])};Sidebar.prototype.addAWSApplicationServicesPalette=
- function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Application Services","AWS / Application Services",!1,[this.createVertexTemplateEntry(a+"app_services.api_gateway;strokeColor=none;",60,72,"","API Gateway",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","api gateway","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.appstream;strokeColor=none;",59,72,"","AppStream",
- null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","appstream","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.cloudsearch;strokeColor=none;",59,72,"","CloudSearch",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","cloudsearch","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.cloudsearch_sdf_metadata;strokeColor=none;",52,56,"","CloudSearch SDF Metadata",
- null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","cloudsearch sdf metadata","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.elastic_transcoder;strokeColor=none;",59,72,"","Elastic Transcoder",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","elastic transcoder","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.ses;strokeColor=none;",61,72,
- "","SES",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","ses","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.email;strokeColor=none;",73,54,"","SES Email",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","ses email","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.sqs;strokeColor=none;",59,72,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices",
- "sqs","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.sqs_message;strokeColor=none;",37,42,"","SQS Message",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","sqs message","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.sqs_queue;strokeColor=none;",65,42,"","SQS Queue",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","sqs queue","aws group amazon web service application services").join(" ")),
- this.createVertexTemplateEntry(a+"app_services.swf;strokeColor=none;",59,72,"","SWF",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.swf_decider;strokeColor=none;",55,57,"","SWF Decider",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf decider","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+
- "app_services.swf_worker;strokeColor=none;",53,56,"","SWF Worker",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf worker","aws group amazon web service application services").join(" "))])};Sidebar.prototype.addAWSComputePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.compute_and_networking.";this.addPaletteFunctions("aws2Compute","AWS / Compute",!1,[this.createVertexTemplateEntry(a+"auto_scaling;strokeColor=none;",59,57,"","Auto Scaling",
- null,null,this.getTagsForStencil("mxgraph.aws.compute","auto scaling","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2;strokeColor=none;",59,72,"","EC2",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_ami;strokeColor=none;",53,56,"","EC2 AMI",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 ami","aws group amazon web service compute").join(" ")),
- this.createVertexTemplateEntry(a+"ec2_cloudwatch;strokeColor=none;",53,56,"","EC2 CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 cloudwatch","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_db_on_instance;strokeColor=none;",52,56,"","EC2 DB On Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 db on instance database","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_elastic_ip;strokeColor=none;",
- 67,22,"","EC2 Elastic IP",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 elastic ip","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_instance;strokeColor=none;",52,56,"","EC2 Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 instance","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_instances;strokeColor=none;",50,57,"","EC2 Instances",null,null,this.getTagsForStencil("mxgraph.aws.compute",
- "ec2 instances","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_optimized_instance;strokeColor=none;",53,56,"","EC2 Optimized Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 optimized instance","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_spot_instance;strokeColor=none;",53,57,"","EC2 Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 spot instance","aws group amazon web service compute").join(" ")),
- this.createVertexTemplateEntry(a+"ec2_container_registry;strokeColor=none;",61,63,"","EC2 Container Registry",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 container registry","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_container_service;strokeColor=none;",61,63,"","EC2 Container Service",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 container service","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+
- "elastic_beanstalk;strokeColor=none;",59,82,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"elastic_beanstalk_application;strokeColor=none;",31,57,"","Elastic Beanstalk Application",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk application","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"elastic_beanstalk_deployment;strokeColor=none;",
- 50,66,"","Elastic Beanstalk Deployment",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk deployment","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"elastic_load_balancing_2;strokeColor=none;",56,58,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic load balancing","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"lambda;strokeColor=none;",59,72,"","Lambda",null,
- null,this.getTagsForStencil("mxgraph.aws.compute","lambda","aws group amazon web service compute").join(" "))])};Sidebar.prototype.addAWSDatabasePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Database","AWS / Database",!1,[this.createVertexTemplateEntry(a+"database.database_migration_service;strokeColor=none;",64,72,"","Database Migration Service",null,null,this.getTagsForStencil("mxgraph.aws.database","database migration service",
- "aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb;strokeColor=none;",59,72,"","DynamoDB",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb_attribute;strokeColor=none;",54,56,"","DynamoDB Attribute",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb attribute","aws group amazon web service database").join(" ")),
- this.createVertexTemplateEntry(a+"database.dynamodb_attributes;strokeColor=none;",52,56,"","DynamoDB Attributes",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb attributes","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb_global_secondary_indexes;strokeColor=none;",53,56,"","DynamoDB Global Secondary Index",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb global secondary indexes","aws group amazon web service database").join(" ")),
- this.createVertexTemplateEntry(a+"database.dynamodb_item;strokeColor=none;",55,56,"","DynamoDB Item",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb item","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb_items;strokeColor=none;",52,57,"","DynamoDB Items",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb items","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb_table;strokeColor=none;",
- 60,56,"","DynamoDB Table",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb table","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.elasticcache_memcache;strokeColor=none;",52,55,"","ElasticCache MemCache",null,null,this.getTagsForStencil("mxgraph.aws.database","elasticcache memcache","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.elasticcache;strokeColor=none;",59,72,"","ElasticCache",null,
- null,this.getTagsForStencil("mxgraph.aws.database","elasticcache","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.elasticcache_node;strokeColor=none;",52,55,"","ElasticCache Node",null,null,this.getTagsForStencil("mxgraph.aws.database","elasticcache node","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.elasticcache_redis;strokeColor=none;",52,55,"","ElasticCache Redis",null,null,this.getTagsForStencil("mxgraph.aws.database",
- "elasticcache redis","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds;strokeColor=none;",63,72,"","RDS",null,null,this.getTagsForStencil("mxgraph.aws.database","rds","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_db_instance;strokeColor=none;",43,56,"","RDS DB Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+
- "database.rds_instance_read_replica;strokeColor=none;",43,56,"","RDS Instance Read Replica",null,null,this.getTagsForStencil("mxgraph.aws.database","rds instance read replica","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_instance_standby;strokeColor=none;",43,56,"","RDS Instance Standby",null,null,this.getTagsForStencil("mxgraph.aws.database","rds instance standby","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+
- "database.rds_ms_sql_instance;strokeColor=none;",52,55,"","RDS MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds ms sql instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_ms_sql_instance_2;strokeColor=none;",52,56,"","RDS MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds ms sql instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_mysql_db_instance;strokeColor=none;",
- 52,55,"","RDS MySQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds mysql db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_mysql_db_instance_2;strokeColor=none;",52,56,"","RDS MySQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds mysql db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_oracle_db_instance;strokeColor=none;",52,55,
- "","RDS Oracle Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds oracle db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_oracle_db_instance_2;strokeColor=none;",52,56,"","RDS Oracle Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds oracle db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_replica_sets_with_piop;strokeColor=none;",53,
- 55,"","RDS PIOP",null,null,this.getTagsForStencil("mxgraph.aws.database","rds piop","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_postgresql;strokeColor=none;",52,55,"","RDS PostgreSQL",null,null,this.getTagsForStencil("mxgraph.aws.database","rds postgresql","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_mastersql;strokeColor=none;",52,56,"","RDS SQL Master",null,null,this.getTagsForStencil("mxgraph.aws.database",
- "rds sql master","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_slavesql;strokeColor=none;",52,56,"","RDS SQL Slave",null,null,this.getTagsForStencil("mxgraph.aws.database","rds sql slave","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.redshift;strokeColor=none;",60,66,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift","aws group amazon web service database").join(" ")),
- this.createVertexTemplateEntry(a+"database.redshift_dense_compute_node;strokeColor=none;",49,55,"","Redshift Dense Compute Node",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift dense compute node","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.redshift_dense_storage_node;strokeColor=none;",49,55,"","Redshift Dense Storage Node",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift dense storage node","aws group amazon web service database").join(" "))])};
- Sidebar.prototype.addAWSDeveloperToolsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Developer Tools","AWS / Developer Tools",!1,[this.createVertexTemplateEntry(a+"developer_tools.code_commit;strokeColor=none;",68,82,"","Code Commit",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","code commit","aws group amazon web service developer tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.codedeploy;strokeColor=none;",
- 59,72,"","Code Deploy",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","codedeploy","aws group amazon web service developer tools").join(" ")),this.createVertexTemplateEntry(a+"developer_tools.code_pipeline;strokeColor=none;",60,72,"","Code Pipeline",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","code pipeline","aws group amazon web service developer tools").join(" "))])};Sidebar.prototype.addAWSEnterpriseApplicationsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+
- "=mxgraph.aws2.";this.addPaletteFunctions("aws2Enterprise Applications","AWS / Enterprise Applications",!1,[this.createVertexTemplateEntry(a+"enterprise_applications.workdocs;strokeColor=none;",74,85,"","WorkDocs",null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications","workdocs","aws group amazon web service enterprise applications").join(" ")),this.createVertexTemplateEntry(a+"enterprise_applications.workmail;strokeColor=none;",74,85,"","WorkMail",null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications",
- "workmail","aws group amazon web service enterprise applications").join(" ")),this.createVertexTemplateEntry(a+"enterprise_applications.workspaces;strokeColor=none;",74,85,"","WorkSpaces",null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications","workspaces","aws group amazon web service enterprise applications").join(" "))])};Sidebar.prototype.addAWSGameDevelopmentPalette=function(){this.addPaletteFunctions("aws2Game Development","AWS / Game Development",!1,[this.createVertexTemplateEntry("dashed=0;html=1;"+
- mxConstants.STYLE_SHAPE+"=mxgraph.aws2.game_development.gamelift;strokeColor=none;",62,75,"","GameLift",null,null,this.getTagsForStencil("mxgraph.aws.gameDevelopment","game lift","aws amazon web service game development").join(" "))])};Sidebar.prototype.addAWSGeneralPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2General","AWS / General",!1,[this.createVertexTemplateEntry(a+"non-service_specific.client;strokeColor=none;",57,57,"",
- "Client",null,null,this.getTagsForStencil("mxgraph.aws.general","client","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.cloud;strokeColor=none;",70,46,"","Cloud",null,null,this.getTagsForStencil("mxgraph.aws.general","cloud","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.corporate_data_center;strokeColor=none;",42,57,"","Corporate Data Center",null,null,this.getTagsForStencil("mxgraph.aws.general",
- "corporate data center","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.disk;strokeColor=none;",57,57,"","Disk",null,null,this.getTagsForStencil("mxgraph.aws.general","disk","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.forums;strokeColor=none;",76,73,"","Forums",null,null,this.getTagsForStencil("mxgraph.aws.general","forums","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+
- "non-service_specific.generic_database;strokeColor=none;",44,57,"","Generic Database",null,null,this.getTagsForStencil("mxgraph.aws.general","generic database","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.internet;strokeColor=none;",70,46,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws.general","internet","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.management_console;strokeColor=none;",
- 57,57,"","Management Console",null,null,this.getTagsForStencil("mxgraph.aws.general","management console","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.mobile_client;strokeColor=none;",37,57,"","Mobile Client",null,null,this.getTagsForStencil("mxgraph.aws.general","mobile client","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.multimedia;strokeColor=none;",59,57,"","Multimedia",null,null,this.getTagsForStencil("mxgraph.aws.general",
- "multimedia","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.tape_storage;strokeColor=none;",68,38,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.aws.general","tape storage","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.traditional_server;strokeColor=none;",41,56,"","Traditional Server",null,null,this.getTagsForStencil("mxgraph.aws.general","traditional server","aws amazon web service general").join(" ")),
- this.createVertexTemplateEntry(a+"non-service_specific.user;strokeColor=none;",41,56,"","User",null,null,this.getTagsForStencil("mxgraph.aws.general","user","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.users;strokeColor=none;",58,56,"","Users",null,null,this.getTagsForStencil("mxgraph.aws.general","users","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.virtual_private_cloud;strokeColor=none;",
- 70,46,"","Virtual Private Cloud",null,null,this.getTagsForStencil("mxgraph.aws.general","vpc virtual private cloud","aws amazon web service general").join(" "))])};Sidebar.prototype.addAWSInternetOfThingsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.internet_of_things.";this.addPaletteFunctions("aws2Internet of Things","AWS / Internet of Things",!1,[this.createVertexTemplateEntry(a+"action;strokeColor=none;",55,57,"","Action",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",
- "action","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"actuator;strokeColor=none;",68,80,"","Actuator",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","actuator","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"aws-iot;strokeColor=none;",60,72,"","AWS IOT",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","aws iot","aws group amazon web service internet of things iot").join(" ")),
- this.createVertexTemplateEntry(a+"bank;strokeColor=none;",71,71,"","Bank",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","bank","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"bicycle;strokeColor=none;",71,71,"","Bicycle",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","bicycle","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"camera;strokeColor=none;",71,71,"","Camera",
- null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","camera","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"car;strokeColor=none;",71,71,"","Car",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","car","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"cart;strokeColor=none;",71,71,"","Cart",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","cart","aws group amazon web service internet of things iot").join(" ")),
- this.createVertexTemplateEntry(a+"certificate;strokeColor=none;",56,77,"","Certificate",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","certificate","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"coffee_pot;strokeColor=none;",71,71,"","Coffee Pot",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","coffee pot","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"desired_state;strokeColor=none;",
- 53,57,"","Desired State",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","desired_state","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"door_lock;strokeColor=none;",71,71,"","Door Lock",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","door lock","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"factory;strokeColor=none;",71,71,"","Factory",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",
- "factory","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"generic_iot_thing;strokeColor=none;",71,71,"","Generic IOT Thing",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","generic iot thing","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"hardware_board;strokeColor=none;",75,87,"","Hardware Board",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","hardware_board",
- "aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"house;strokeColor=none;",71,71,"","House",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","house","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"http_protocol;strokeColor=none;",56,59,"","HTTP Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","http protocol","aws group amazon web service internet of things iot").join(" ")),
- this.createVertexTemplateEntry(a+"http2_protocol;strokeColor=none;",56,59,"","HTTP2 Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","http2 protocol","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"lightbulb;strokeColor=none;",71,71,"","Lightbulb",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","lightbulb","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"medical_emergency;strokeColor=none;",
- 71,71,"","Medical Emergency",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","medical_emergency","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"mqtt_protocol;strokeColor=none;",56,59,"","MQTT Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","mqtt protocol","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"police_emergency;strokeColor=none;",71,71,"","Police Emergency",
- null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","police_emergency","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"policy;strokeColor=none;",49,79,"","Policy",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","policy","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"reported_state;strokeColor=none;",53,57,"","Reported State",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",
- "reported_state","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"rule;strokeColor=none;",44,87,"","Rule",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","rule","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"sensor;strokeColor=none;",68,80,"","Sensor",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","sensor","aws group amazon web service internet of things iot").join(" ")),
- this.createVertexTemplateEntry(a+"servo;strokeColor=none;",75,53,"","Servo",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","servo","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"shadow;strokeColor=none;",75,80,"","Shadow",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","shadow","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"simulator;strokeColor=none;",67,70,"",
- "Simulator",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","simulator","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"thermostat;strokeColor=none;",71,71,"","Thermostat",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","thermostat","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"topic;strokeColor=none;",44,59,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",
- "topic","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"travel;strokeColor=none;",71,71,"","Travel",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","travel","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"utility;strokeColor=none;",71,71,"","Utility",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","utility","aws group amazon web service internet of things iot").join(" ")),
- this.createVertexTemplateEntry(a+"windfarm;strokeColor=none;",71,71,"","Windfarm",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","windfarm","aws group amazon web service internet of things iot").join(" "))])};Sidebar.prototype.addAWSManagementToolsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Management Tools","AWS / Management Tools",!1,[this.createVertexTemplateEntry(a+"deployment_and_management.cloudformation;strokeColor=none;",
- 59,72,"","CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudformation_stack;strokeColor=none;",64,49,"","CloudFormation Stack",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation stack","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudformation_template;strokeColor=none;",
- 48,56,"","CloudFormation Template",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation template","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudtrail;strokeColor=none;",59,72,"","CloudTrail",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudtrail","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudwatch;strokeColor=none;",
- 63,72,"","CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudwatch","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudwatch_alarm;strokeColor=none;",48,58,"","CloudWatch Alarm",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudwatch alarm","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"administration_and_security.config;strokeColor=none;",
- 59,72,"","Config",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","config","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks;strokeColor=none;",59,72,"","OpsWorks",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_apps;strokeColor=none;",72,72,"","OpsWorks Apps",
- null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks apps","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_deployments;strokeColor=none;",72,68,"","OpsWorks Deployments",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks deployments","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_instances;strokeColor=none;",
- 72,72,"","OpsWorks Instances",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks instances","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_layers;strokeColor=none;",72,72,"","OpsWorks Layers",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks layers","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_monitoring;strokeColor=none;",
- 72,60,"","OpsWorks Monitoring",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks monitoring","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_permissions;strokeColor=none;",59,72,"","OpsWorks Permissions",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks permissions","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_resources;strokeColor=none;",
- 59,72,"","OpsWorks Resources",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks resources","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_stack;strokeColor=none;",60,70,"","OpsWorks Stack",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks stack","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"management_tools.service_catalog;strokeColor=none;",
- 60,70,"","Service Catalog",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","service catalog","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"administration_and_security.trusted_advisor;strokeColor=none;",60,72,"","Trusted Advisor",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","trusted advisor","aws group amazon web service management tools").join(" "))])};Sidebar.prototype.addAWSMobileServicesPalette=function(){var a="dashed=0;html=1;"+
- mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Mobile Services","AWS / Mobile Services",!1,[this.createVertexTemplateEntry(a+"mobile_services.aws_mobile_hub;strokeColor=none;",83,86,"","AWS Mobile Hub",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","aws mobile hub","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.cognito;strokeColor=none;",59,72,"","Cognito",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices",
- "cognito","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.device_farm;strokeColor=none;",68,82,"","Device Farm",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","device farm","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.mobile_analytics;strokeColor=none;",70,72,"","Mobile Analytics",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","mobile analytics",
- "aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.sns;strokeColor=none;",69,69,"","SNS",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.sns_email_notification;strokeColor=none;",90,56,"","SNS Email Notification",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns email notification","aws group amazon web service mobile services").join(" ")),
- this.createVertexTemplateEntry(a+"mobile_services.sns_http_notification;strokeColor=none;",90,56,"","SNS HTTP Notification",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns http notification","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.sns_topic;strokeColor=none;",90,56,"","SNS Topic",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns topic","aws group amazon web service mobile services").join(" "))])};
- Sidebar.prototype.addAWSNetworkingPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Networking","AWS / Networking",!1,[this.createVertexTemplateEntry(a+"compute_and_networking.aws_direct_connect;strokeColor=none;",59,72,"","Direct Connect",null,null,this.getTagsForStencil("mxgraph.aws.networking","direct connect","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.route_53;strokeColor=none;",
- 59,72,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws.networking","route 53","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.route_53_hosted_zone;strokeColor=none;",58,56,"","Route 53 Hosted Zone",null,null,this.getTagsForStencil("mxgraph.aws.networking","route 53 hosted zone","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.route_53_route_table;strokeColor=none;",
- 66,61,"","Route 53 Table",null,null,this.getTagsForStencil("mxgraph.aws.networking","route 53 table","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc;strokeColor=none;",59,72,"","VPC",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpc_customer_gateway;strokeColor=none;",61,64,"","VPC Customer Gateway",
- null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud customer gateway","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpc_endpoints;strokeColor=none;",61,64,"","VPC Endpoints",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud endpoints","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpc_flowlogs;strokeColor=none;",61,64,"","VPC Flowlogs",
- null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud flowlogs","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc_internet_gateway;strokeColor=none;",55,57,"","VPC Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud internet gateway","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc_peering;strokeColor=none;",
- 55,57,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud peering","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpc_router;strokeColor=none;",61,64,"","VPC Router",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud router","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc_vpn_connection;strokeColor=none;",
- 52,41,"","VPC VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud vpn connection","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc_vpn_gateway;strokeColor=none;",55,57,"","VPC VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud vpn gateway","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpcnat_gateway;strokeColor=none;",
- 61,64,"","VPCNAT Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud vpcnat gateway","aws group amazon web service networking").join(" "))])};Sidebar.prototype.addAWSOnDemandWorkforcePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2On-Demand Workforce","AWS / On-Demand Workforce",!1,[this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk;strokeColor=none;",60,72,"","Mechanical Turk",
- null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk_assignment_task;strokeColor=none;",41,56,"","Mechanical Turk Assignment Task",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk assignment task","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk_human_intelligence_tasks;strokeColor=none;",
- 46,50,"","Mechanical Turk Human Intelligence Task (HIT)",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk human intelligence task hit","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk_requester;strokeColor=none;",49,57,"","Mechanical Turk Requester",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk requester","aws group amazon web service on demand workforce").join(" ")),
- this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk_workers;strokeColor=none;",59,57,"","Mechanical Turk Workers",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk workers","aws group amazon web service on demand workforce").join(" "))])};Sidebar.prototype.addAWSSDKPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2SDKs","AWS / SDKs",!1,[this.createVertexTemplateEntry(a+"sdks.android;strokeColor=none;",
- 62,72,"","Android",null,null,this.getTagsForStencil("mxgraph.aws.sdks","android","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.cli;strokeColor=none;",62,72,"","CLI",null,null,this.getTagsForStencil("mxgraph.aws.sdks","cli","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.aws_toolkit_for_eclipse;strokeColor=none;",62,72,"","Toolkit for Eclipse",null,null,this.getTagsForStencil("mxgraph.aws.sdks",
- "toolkit eclipse","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.aws_toolkit_for_visual_studio;strokeColor=none;",62,72,"","Toolkit for Visual Studio",null,null,this.getTagsForStencil("mxgraph.aws.sdks","toolkit visual studio","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.tools_for_windows_powershell;strokeColor=none;",62,72,"","Tools for Windows PowerShell",null,null,this.getTagsForStencil("mxgraph.aws.sdks",
- "tools windows powershell","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.ios;strokeColor=none;",62,72,"","iOS",null,null,this.getTagsForStencil("mxgraph.aws.sdks","ios","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.java;strokeColor=none;",62,72,"","Java",null,null,this.getTagsForStencil("mxgraph.aws.sdks","java","aws group amazon web service sdk softvare development kit").join(" ")),
- this.createVertexTemplateEntry(a+"sdks.javascript;strokeColor=none;",62,72,"","JavaScript",null,null,this.getTagsForStencil("mxgraph.aws.sdks","javascript","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.net;strokeColor=none;",62,72,"","Net",null,null,this.getTagsForStencil("mxgraph.aws.sdks","net","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.nodejs;strokeColor=none;",62,
- 72,"","NodeJS",null,null,this.getTagsForStencil("mxgraph.aws.sdks","nodejs","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.php;strokeColor=none;",62,72,"","PHP",null,null,this.getTagsForStencil("mxgraph.aws.sdks","php","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.python;strokeColor=none;",62,72,"","Python",null,null,this.getTagsForStencil("mxgraph.aws.sdks","python","aws group amazon web service sdk softvare development kit").join(" ")),
- this.createVertexTemplateEntry(a+"sdks.ruby;strokeColor=none;",62,72,"","Ruby",null,null,this.getTagsForStencil("mxgraph.aws.sdks","ruby","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.xamarin;strokeColor=none;",62,72,"","Xamarin",null,null,this.getTagsForStencil("mxgraph.aws.sdks","xamarin","aws group amazon web service sdk softvare development kit").join(" "))])};Sidebar.prototype.addAWSSecurityAndIdentityPalette=function(){var a="dashed=0;html=1;"+
- mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Security and Identity","AWS / Security and Identity",!1,[this.createVertexTemplateEntry(a+"security_and_identity.acm;strokeColor=none;",68,55,"","ACM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","acm","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.acm_certificate_manager;strokeColor=none;",65,56,"","ACM Certificate Manager",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",
- "acm certificate manager","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.service_catalog;strokeColor=none;",68,82,"","Inspector",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","service catalog","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.cloud_hsm;strokeColor=none;",60,72,"","Cloud HSM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",
- "cloud hsm","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.directory_service;strokeColor=none;",60,72,"","Directory Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","directory service","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam;strokeColor=none;",37,72,"","IAM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",
- "iam","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_add-on;strokeColor=none;",44,24,"","IAM Add-on",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam addon add on","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_sts;strokeColor=none;",54,31,"","IAM Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",
- "iam sts security token service","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_security_token_service;strokeColor=none;",40,55,"","IAM Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam sts security token service","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_data_encryption_key;strokeColor=none;",
- 40,53,"","IAM Data Encryption Key",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam data encryption key","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_encrypted_data;strokeColor=none;",38,49,"","IAM Encrypted Data",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam encrypted data","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_credentials;strokeColor=none;",
- 53,39,"","IAM Long Term Security Credential",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam long term security credential","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_mfa_token;strokeColor=none;",53,53,"","IAM MFA Token",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam mfa token","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+
- "deployment_and_management.iam_permissions;strokeColor=none;",42,57,"","IAM Permissions",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam permissions","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_roles;strokeColor=none;",84,72,"","IAM Role",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam role","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+
- "deployment_and_management.iam_short_term_credentials;strokeColor=none;",61,49,"","IAM Temporary Security Credential",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam temporary security credential","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.key_management_service;strokeColor=none;",68,82,"","Key Management Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","key management service",
- "aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.webapp_firewall;strokeColor=none;",68,82,"","WebApp Firewall",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","webapp firewall","aws group amazon web service security identity").join(" "))])};Sidebar.prototype.addAWSStorageAndContentDeliveryPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Storage and Content Delivery",
- "AWS / Storage and Content Delivery",!1,[this.createVertexTemplateEntry(a+"storage_and_content_delivery.cloudfront;strokeColor=none;",59,72,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.cloudfront_download_distribution;strokeColor=none;",55,57,"","CloudFront Download Distribution",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery",
- "cloudfront download distribution","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.cloudfront_edge_location;strokeColor=none;",55,57,"","CloudFront Edge Location",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront edge location","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.cloudfront_streaming_distribution;strokeColor=none;",
- 55,57,"","CloudFront Streaming Distribution",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront streaming distribution","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.efs;strokeColor=none;",60,72,"","EFS",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","efs","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+
- "storage_and_content_delivery.ebs;strokeColor=none;",46,66,"","Elastic Block Store",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","ebs elastic block store","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.glacier;strokeColor=none;",59,71,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier","aws group amazon web service storage content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"storage_and_content_delivery.glacier_archive;strokeColor=none;",56,66,"","Glacier Archive",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier archive","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.glacier_vault;strokeColor=none;",46,66,"","Glacier Vault",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier vault","aws group amazon web service storage content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"storage_and_content_delivery.aws_import_export;strokeColor=none;",57,56,"","Import Export",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","aws import export","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.snowball;strokeColor=none;",68,82,"","Import Export Snowball",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","snowball","aws group amazon web service storage content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"storage_and_content_delivery.s3;strokeColor=none;",59,72,"","S3",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.s3_bucket;strokeColor=none;",54,56,"","S3 Bucket",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 bucket","aws group amazon web service storage content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"storage_and_content_delivery.s3_bucket_with_objects;strokeColor=none;",55,56,"","S3 Bucket with Objects",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 bucket with objects","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.s3_objects;strokeColor=none;",37,40,"","S3 Objects",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 objects",
- "aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.ebs_snapshot;strokeColor=none;",53,65,"","Snapshot",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","snapshot","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.aws_storage_gateway;strokeColor=none;",59,72,"","Storage Gateway",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery",
- "storage gateway","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.storage_gateway_cached_volumn;strokeColor=none;",52,66,"","Storage Gateway Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway cached volume","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.storage_gateway_non-cached_volumn;strokeColor=none;",
- 52,66,"","Storage Gateway Non-Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway non cached volume","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.storage_gateway_virtual_tape_library;strokeColor=none;",52,66,"","Storage Gateway Virtual Tape Library",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway virtual tape library",
- "aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.ebs_volume;strokeColor=none;",46,66,"","Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","volume","aws group amazon web service storage content delivery").join(" "))])};Sidebar.prototype.addAWSGroupPalette=function(){var a=this,b="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws.groups.";this.addPaletteFunctions("aws2Groups","AWS / Groups",
- !1,[this.createVertexTemplateEntry(b+"auto_scaling_group;fillColor=none;strokeColor=#000000;gradientColor=none;",200,200,"","Auto Scaling Group",null,null,this.getTagsForStencil("mxgraph.aws.groups","auto_scaling_group","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+"availability_zone;strokeColor=#f69721;fillColor=none;gradientColor=none;",200,200,"","Availability Zone",null,null,this.getTagsForStencil("mxgraph.aws.groups","availability_zone","aws group amazon web service ").join(" ")),
- this.addEntry("aws group amazon web service cloud",function(){var d=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;strokeColor=#000000;gradientColor=none;");d.vertex=!0;var c=new mxCell("",new mxGeometry(10,0,70,40),b+"aws_cloud_icon;strokeColor=none;fillColor=#F69721;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,230,"AWS Cloud")}),this.addEntry("aws group amazon web service corporate data center",function(){var d=new mxCell("",new mxGeometry(0,
- 20,200,200),b+"rrect;fillColor=none;strokeColor=#000000;gradientColor=none;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,40),b+"corporate_data_center_icon;strokeColor=none;fillColor=#6D6F70;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"Corporate Data Center")}),this.addEntry("aws group amazon web service ec2 instance content",function(){var d=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;strokeColor=#000000;gradientColor=none;");
- d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"rrect;strokeColor=none;fillColor=#F69721;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"EC2 Instance Contents")}),this.addEntry("aws group amazon web service EC2 Spot Fleet",function(){var d=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;strokeColor=#000000;gradientColor=none;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,43,40),b+"ec2_spot_instance;strokeColor=none;gradientColor=none;");
- c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,230,"EC2 Spot Fleet")}),this.addEntry("aws group amazon web service elastic beanstalk container",function(){var d=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;strokeColor=#000000;gradientColor=none;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"elastic_beanstalk_container_icon;strokeColor=none;fillColor=#2A6A35;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,
- "Elastic Beanstalk Container")}),this.createVertexTemplateEntry(b+"region;strokeColor=#000000;fillColor=none;gradientColor=none;",200,200,"","Region",null,null,this.getTagsForStencil("mxgraph.aws.groups","region","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+"rrect;fillColor=none;strokeColor=#000000;gradientColor=none;",200,200,"","Security Group",null,null,this.getTagsForStencil("mxgraph.aws.groups","security","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+
- "rrect;fillColor=#F2F2F2;strokeColor=#000000;gradientColor=none;",200,200,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws.groups","server content","aws group amazon web service ").join(" ")),this.addEntry("aws group amazon web service virtual private cloud",function(){var d=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;strokeColor=#000000;gradientColor=none;");d.vertex=!0;var c=new mxCell("",new mxGeometry(10,0,70,40),b+"virtual_private_cloud_icon;strokeColor=none;fillColor=#282560;gradientColor=none;");
- c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,230,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service virtual private cloud subnet vpc",function(){var d=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;strokeColor=#000000;gradientColor=none;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"vpc_subnet_icon;strokeColor=none;fillColor=#282560;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,230,"VPC Subnet")})])}})();(function(){Sidebar.prototype.addAWS3Palette=function(){this.addAWS3AnalyticsPalette();this.addAWS3ApplicationServicesPalette();this.addAWS3ArtificialIntelligencePalette();this.addAWS3BusinessProductivityPalette();this.addAWS3ComputePalette();this.addAWS3DatabasePalette();this.addAWS3DesktopAndAppStreamingPalette();this.addAWS3DeveloperToolsPalette();this.addAWS3GameDevelopmentPalette();this.addAWS3GeneralPalette();this.addAWS3GroupsPalette();this.addAWS3InternetOfThingsPalette();this.addAWS3ManagementToolsPalette();
- this.addAWS3MessagingPalette();this.addAWS3MigrationPalette();this.addAWS3MobileServicesPalette();this.addAWS3NetworkAndContentDeliveryPalette();this.addAWS3OnDemandWorkforcePalette();this.addAWS3SDKPalette();this.addAWS3SecurityIdentityAndCompliancePalette();this.addAWS3StoragePalette()};Sidebar.prototype.addAWS3AnalyticsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Analytics","AWS / Analytics",!1,[this.createVertexTemplateEntry(a+
- "athena;fillColor=#F58534;gradientColor=none;",76.5,76.5,"","Athena",null,null,this.getTagsForStencil("mxgraph.aws3","athena","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"cloudsearch;fillColor=#F58534;gradientColor=none;",76.5,93,"","CloudSearch",null,null,this.getTagsForStencil("mxgraph.aws3","cloudsearch cloud search","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"elasticsearch_service;fillColor=#F58534;gradientColor=none;",
- 67.5,81,"","ElasticSearch Service",null,null,this.getTagsForStencil("mxgraph.aws3","elasticsearch elastic search service","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr;fillColor=#F58534;gradientColor=none;",67.5,81,"","EMR",null,null,this.getTagsForStencil("mxgraph.aws3","emr","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis;fillColor=#F58534;gradientColor=none;",67.5,81,"","Kinesis",null,null,this.getTagsForStencil("mxgraph.aws3",
- "kinesis","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"quicksight;fillColor=#00B7F4;gradientColor=none;",60,60,"","QuickSight",null,null,this.getTagsForStencil("mxgraph.aws3","quicksight quick sight","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"redshift;fillColor=#2E73B8;gradientColor=none;",67.5,75,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws3","redshift","aws group amazon web service analytics").join(" ")),
- this.createVertexTemplateEntry(a+"data_pipeline;fillColor=#F58534;gradientColor=none;",67.5,81,"","Data Pipeline",null,null,this.getTagsForStencil("mxgraph.aws3","data pipeline","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"search_documents;fillColor=#F58534;gradientColor=none;",60,63,"","Search Documents",null,null,this.getTagsForStencil("mxgraph.aws3","search documents","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+
- "emr_cluster;fillColor=#F58534;gradientColor=none;",55.5,63,"","Cluster",null,null,this.getTagsForStencil("mxgraph.aws3","emr cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_engine;fillColor=#F58534;gradientColor=none;",82.5,60,"","EMR engine",null,null,this.getTagsForStencil("mxgraph.aws3","emr engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_engine_mapr_m3;fillColor=#F58534;gradientColor=none;",
- 82.5,60,"","EMR engine MapR M3",null,null,this.getTagsForStencil("mxgraph.aws3","emr engine MapR M3","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_engine_mapr_m5;fillColor=#F58534;gradientColor=none;",82.5,60,"","EMR engine MapR M5",null,null,this.getTagsForStencil("mxgraph.aws3","emr engine MapR M5","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_engine_mapr_m7;fillColor=#F58534;gradientColor=none;",82.5,60,"",
- "EMR engine MapR M7",null,null,this.getTagsForStencil("mxgraph.aws3","emr engine MapR M7","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"hdfs_cluster;fillColor=#F58534;gradientColor=none;",61.5,63,"","HDFS Cluster",null,null,this.getTagsForStencil("mxgraph.aws3","hdfs Cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis_analytics;fillColor=#F58534;gradientColor=none;",73.5,75,"","Kinesis Analytics",null,null,
- this.getTagsForStencil("mxgraph.aws3","kinesis analytics","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis_enabled_app;fillColor=#F58534;gradientColor=none;",64.5,67.5,"","Kinesis-enabled app",null,null,this.getTagsForStencil("mxgraph.aws3","kinesis enabled app","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis_firehose;fillColor=#F58534;gradientColor=none;",60,64.5,"","Kinesis Firehose",null,null,this.getTagsForStencil("mxgraph.aws3",
- "kinesis firehose","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis_streams;fillColor=#F58534;gradientColor=none;",60,63,"","Kinesis Streams",null,null,this.getTagsForStencil("mxgraph.aws3","kinesis streams","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"dense_compute_node;fillColor=#2E73B8;gradientColor=none;",55.5,63,"","Dense Compute Node",null,null,this.getTagsForStencil("mxgraph.aws3","dense compute node","aws group amazon web service analytics").join(" ")),
- this.createVertexTemplateEntry(a+"dense_storage_node;fillColor=#2E73B8;gradientColor=none;",55.5,63,"","Dense Storage Node",null,null,this.getTagsForStencil("mxgraph.aws3","dense storage node","aws group amazon web service analytics").join(" "))])};Sidebar.prototype.addAWS3ApplicationServicesPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Application Services","AWS / Application Services",!1,[this.createVertexTemplateEntry(a+"elastic_transcoder;fillColor=#D9A741;gradientColor=none;",
- 76.5,93,"","Elastic Transcoder",null,null,this.getTagsForStencil("mxgraph.aws3","elastic transcoder","aws group amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"api_gateway;fillColor=#D9A741;gradientColor=none;",76.5,93,"","API Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","api gateway","aws group amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"appstream;fillColor=#D9A741;gradientColor=none;",76.5,93,"",
- "AppStream",null,null,this.getTagsForStencil("mxgraph.aws3","appstream","aws group amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"step_functions;fillColor=#D9A741;gradientColor=none;",76.5,93,"","Step Functions",null,null,this.getTagsForStencil("mxgraph.aws3","step functions","aws group amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"swf;fillColor=#D9A741;gradientColor=none;",76.5,93,"","SWF",null,null,this.getTagsForStencil("mxgraph.aws3",
- "swf","aws group amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"decider;fillColor=#D9A741;gradientColor=none;",61.5,64.5,"","Decider",null,null,this.getTagsForStencil("mxgraph.aws3","decider","aws group amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"worker;fillColor=#D9A741;gradientColor=none;",60,63,"","Worker",null,null,this.getTagsForStencil("mxgraph.aws3","worker","aws group amazon web service app application services").join(" "))])};
- Sidebar.prototype.addAWS3ArtificialIntelligencePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Artificial Intelligence","AWS / Artificial Intelligence",!1,[this.createVertexTemplateEntry(a+"lex;fillColor=#2E73B8;gradientColor=none;",76.5,81,"","Lex",null,null,this.getTagsForStencil("mxgraph.aws3","lex","aws group amazon web service ai artificial intelligence").join(" ")),this.createVertexTemplateEntry(a+"machine_learning;fillColor=#2E73B8;gradientColor=none;",
- 76.5,93,"","Machine Learning",null,null,this.getTagsForStencil("mxgraph.aws3","machine learning","aws group amazon web service ai artificial intelligence").join(" ")),this.createVertexTemplateEntry(a+"polly;fillColor=#2E73B8;gradientColor=none;",76.5,93,"","Polly",null,null,this.getTagsForStencil("mxgraph.aws3","polly","aws group amazon web service ai artificial intelligence").join(" ")),this.createVertexTemplateEntry(a+"rekognition;fillColor=#2E73B8;gradientColor=none;",76.5,93,"","Rekognition",
- null,null,this.getTagsForStencil("mxgraph.aws3","rekognition","aws group amazon web service ai artificial intelligence").join(" "))])};Sidebar.prototype.addAWS3BusinessProductivityPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Business Productivity","AWS / Business Productivity",!1,[this.createVertexTemplateEntry(a+"workmail;fillColor=#D16A28;gradientColor=#F58435;gradientDirection=north;",82.5,94.5,"","WorkMail",null,null,this.getTagsForStencil("mxgraph.aws3",
- "workmail work mail","aws group amazon web service business productivity").join(" ")),this.createVertexTemplateEntry(a+"workdocs;fillColor=#D16A28;gradientColor=#F58435;gradientDirection=north;",82.5,94.5,"","WorkDocs",null,null,this.getTagsForStencil("mxgraph.aws3","workdocs work docs documents","aws group amazon web service business productivity").join(" "))])};Sidebar.prototype.addAWS3ComputePalette=function(){var a=this,b="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Compute",
- "AWS / Compute",!1,[this.createVertexTemplateEntry(b+"ami;fillColor=#F58534;gradientColor=none;",60,63,"","AMI",null,null,this.getTagsForStencil("mxgraph.aws3","ami","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2;fillColor=#F58534;gradientColor=none;",76.5,93,"","EC2",null,null,this.getTagsForStencil("mxgraph.aws3","ec2","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_load_balancing;fillColor=#F58534;gradientColor=none;",
- 76.5,93,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws3","elastic load balancing","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"auto_scaling;fillColor=#F58534;gradientColor=none;",79.5,76.5,"","Auto Scaling",null,null,this.getTagsForStencil("mxgraph.aws3","auto scaling","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_ip;fillColor=#F58534;gradientColor=none;",76.5,21,"","Elastic IP",null,
- null,this.getTagsForStencil("mxgraph.aws3","elastic ip","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_beanstalk;fillColor=#F58534;gradientColor=none;",67.5,93,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws3","elastic beanstalk","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lambda;fillColor=#F58534;gradientColor=none;",76.5,93,"","Lambda",null,null,this.getTagsForStencil("mxgraph.aws3","lambda",
- "aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ecs;fillColor=#F58534;gradientColor=none;",72,67.5,"","ECS",null,null,this.getTagsForStencil("mxgraph.aws3","ecs","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"db_on_instance;fillColor=#F58534;gradientColor=none;",60,64.5,"","DB on Instance",null,null,this.getTagsForStencil("mxgraph.aws3","db on instance database","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+
- "instance;fillColor=#F58534;gradientColor=none;",60,63,"","Instance",null,null,this.getTagsForStencil("mxgraph.aws3","instance","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lightsail;fillColor=#F58534;gradientColor=none;",76.5,82.5,"","Lightsail",null,null,this.getTagsForStencil("mxgraph.aws3","lightsail","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"endpoints;fillColor=#F58534;gradientColor=none;",69,72,"","Endpoints",
- null,null,this.getTagsForStencil("mxgraph.aws3","endpoints","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"instances;fillColor=#F58534;gradientColor=none;",60,63,"","Instances",null,null,this.getTagsForStencil("mxgraph.aws3","instances","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_network_interface;fillColor=#F58534;gradientColor=none;",69,72,"","Elastic Network Interface",null,null,this.getTagsForStencil("mxgraph.aws3",
- "elastic network interface","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"internet_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","internet gateway","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"flow_logs;fillColor=#F58534;gradientColor=none;",69,72,"","Flow Logs",null,null,this.getTagsForStencil("mxgraph.aws3","flow logs","aws group amazon web service compute").join(" ")),
- this.createVertexTemplateEntry(b+"customer_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","customer gateway","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"instance_with_cloudwatch;fillColor=#F58534;gradientColor=none;",60,63,"","Instance with CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws3","instance with cloudwatch","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+
- "elastic_network_adapter;fillColor=#F58534;gradientColor=none;",75,90,"","Elastic Network Adapter",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network adapter","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"optimized_instance;fillColor=#F58534;gradientColor=none;",60,63,"","Optimized Instance",null,null,this.getTagsForStencil("mxgraph.aws3","optimized instance","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"spot_instance;fillColor=#F58534;gradientColor=none;",
- 60,63,"","Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws3","spot instance","aws group amazon web service compute").join(" ")),this.addEntry("aws group amazon web service computeSpot Fleet",function(){var d=new mxCell("",new mxGeometry(0,30,200,200),"rounded=1;fillColor=none;strokeColor=#000000;gradientColor=none;arcSize=10;dashed=1;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,43,40),b+"spot_instance;fillColor=#F58534;strokeColor=none;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([d,
- c],200,230,"Spot Fleet")}),this.createVertexTemplateEntry(b+"ecr;fillColor=#F58534;gradientColor=none;",69,72,"","ECR",null,null,this.getTagsForStencil("mxgraph.aws3","ecr","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpn_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpn gateway virtual private network","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+
- "deployment;fillColor=#F58534;gradientColor=none;",55.5,73.5,"","Deployment",null,null,this.getTagsForStencil("mxgraph.aws3","deployment","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpn_connection;fillColor=#F58534;gradientColor=none;",58.5,48,"","VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws3","vpn connection virtual private network","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpc_peering;fillColor=#F58534;gradientColor=none;",
- 69,72,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws3","vpc peering virtual private cloud","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"application;fillColor=#F58534;gradientColor=none;",34.5,64.5,"","Application",null,null,this.getTagsForStencil("mxgraph.aws3","application","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container",
- null,null,this.getTagsForStencil("mxgraph.aws3","ec2 compute container","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container_2;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container",null,null,this.getTagsForStencil("mxgraph.aws3","ec2 compute container","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container_3;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container",
- null,null,this.getTagsForStencil("mxgraph.aws3","ec2 compute container","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpc_nat_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","VPC NAT Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpc nat gateway virtual private cloud","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ecr_registry;fillColor=#F58534;gradientColor=none;",57,60,"","ECR Registry",null,null,this.getTagsForStencil("mxgraph.aws3",
- "ecr registry","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"batch;fillColor=#F58534;gradientColor=none;",76.5,93,"","Batch",null,null,this.getTagsForStencil("mxgraph.aws3","batch","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"router;fillColor=#F58534;gradientColor=none;",69,72,"","Router",null,null,this.getTagsForStencil("mxgraph.aws3","router","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+
- "vpc;fillColor=#F58534;gradientColor=none;",67.5,81,"","VPC",null,null,this.getTagsForStencil("mxgraph.aws3","vpc virtual private cloud","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lambda_function;fillColor=#F58534;gradientColor=none;",69,72,"","Lambda Function",null,null,this.getTagsForStencil("mxgraph.aws3","lambda function","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"classic_load_balancer;fillColor=#F58534;gradientColor=none;",
- 69,72,"","Classic Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","classic load balancer","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"application_load_balancer;fillColor=#F58534;gradientColor=none;",69,72,"","Application Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","application load balancer","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"x1_instance;fillColor=#F58534;gradientColor=none;",
- 60,63,"","X1 Instance",null,null,this.getTagsForStencil("mxgraph.aws3","x1 instance","aws group amazon web service compute").join(" "))])};Sidebar.prototype.addAWS3DatabasePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Database","AWS / Database",!1,[this.createVertexTemplateEntry(a+"dynamo_db;fillColor=#2E73B8;gradientColor=none;",72,81,"","Dynamo DB",null,null,this.getTagsForStencil("mxgraph.aws3","dynamo","aws group amazon web service db database").join(" ")),
- this.createVertexTemplateEntry(a+"elasticache;fillColor=#2E73B8;gradientColor=none;",67.5,81,"","ElastiCache",null,null,this.getTagsForStencil("mxgraph.aws3","elasticache elastic cache","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"rds;fillColor=#2E73B8;gradientColor=none;",72,81,"","RDS",null,null,this.getTagsForStencil("mxgraph.aws3","rds","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"redshift;fillColor=#2E73B8;gradientColor=none;",
- 67.5,75,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws3","redshift","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"redis;fillColor=#2E73B8;gradientColor=none;",60,63,"","Redis",null,null,this.getTagsForStencil("mxgraph.aws3","redis","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"rds_db_instance;fillColor=#2E73B8;gradientColor=none;",49.5,66,"","RDS DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3",
- "rds instance","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"rds_db_instance_read_replica;fillColor=#2E73B8;gradientColor=none;",49.5,66,"","RDS DB Instance Read Replica",null,null,this.getTagsForStencil("mxgraph.aws3","rds instance read replica","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"oracle_db_instance;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","Oracle DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3",
- "oracle instance","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"piop;fillColor=#2E73B8;gradientColor=none;",60,63,"","PIOP",null,null,this.getTagsForStencil("mxgraph.aws3","piop","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"attribute;fillColor=#2E73B8;gradientColor=none;",63,66,"","Attribute",null,null,this.getTagsForStencil("mxgraph.aws3","attribute","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+
- "attributes;fillColor=#2E73B8;gradientColor=none;",63,66,"","Attributes",null,null,this.getTagsForStencil("mxgraph.aws3","attributes","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"item;fillColor=#2E73B8;gradientColor=none;",63,66,"","Item",null,null,this.getTagsForStencil("mxgraph.aws3","item","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"global_secondary_index;fillColor=#2E73B8;gradientColor=none;",67.5,66,"","Global Secondary Index",
- null,null,this.getTagsForStencil("mxgraph.aws3","global secondary index","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"items;fillColor=#2E73B8;gradientColor=none;",63,66,"","Items",null,null,this.getTagsForStencil("mxgraph.aws3","items","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"table;fillColor=#2E73B8;gradientColor=none;",67.5,66,"","Table",null,null,this.getTagsForStencil("mxgraph.aws3","table","aws group amazon web service db database").join(" ")),
- this.createVertexTemplateEntry(a+"memcached;fillColor=#2E73B8;gradientColor=none;",60,63,"","Memcached",null,null,this.getTagsForStencil("mxgraph.aws3","memcached","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"mysql_db_instance;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","MySQL DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3","mysql instance my sql","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+
- "rds_db_instance_standby_multi_az;fillColor=#2E73B8;gradientColor=none;",49.5,66,"","RDS DB Instance standby (multi-AZ)",null,null,this.getTagsForStencil("mxgraph.aws3","rds instance standby multi","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"cache_node;fillColor=#2E73B8;gradientColor=none;",60,63,"","Cache Node",null,null,this.getTagsForStencil("mxgraph.aws3","cache node","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+
- "sql_master;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","SQL Master",null,null,this.getTagsForStencil("mxgraph.aws3","sql master","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"sql_slave;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","SQL Slave",null,null,this.getTagsForStencil("mxgraph.aws3","sql slave","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"ms_sql_instance_2;fillColor=#2E73B8;gradientColor=none;",
- 60,63,"","MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws3","ms sql instance","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"mysql_db_instance_2;fillColor=#2E73B8;gradientColor=none;",60,63,"","MySQL DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3","mysql instance my sql","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"ms_sql_instance;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","MS SQL Instance",
- null,null,this.getTagsForStencil("mxgraph.aws3","ms sql instance","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"oracle_db_instance_2;fillColor=#2E73B8;gradientColor=none;",60,63,"","Oracle DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3","oracle instance","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"postgre_sql_instance;fillColor=#2E73B8;gradientColor=none;",60,63,"","Postgre SQL Instance",null,null,
- this.getTagsForStencil("mxgraph.aws3","postgre sql instance","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"dense_compute_node;fillColor=#2E73B8;gradientColor=none;",55.5,63,"","Dense Compute Node",null,null,this.getTagsForStencil("mxgraph.aws3","dense compute node","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"dense_storage_node;fillColor=#2E73B8;gradientColor=none;",55.5,63,"","Dense Storage Node",null,null,this.getTagsForStencil("mxgraph.aws3",
- "dense storage node","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"database_migration_workflow_job;fillColor=#2E73B8;gradientColor=none;",46.5,87,"","Database Migration Workflow/Job",null,null,this.getTagsForStencil("mxgraph.aws3","database migration workflow job","aws group amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"database_migration_service;fillColor=#2E73B8;gradientColor=none;",72,81,"","Database Migration Service",
- null,null,this.getTagsForStencil("mxgraph.aws3","database migration service","aws group amazon web service db database").join(" "))])};Sidebar.prototype.addAWS3DesktopAndAppStreamingPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Desktop and App Streaming","AWS / Desktop and App Streaming",!1,[this.createVertexTemplateEntry(a+"workmail;fillColor=#D16A28;gradientColor=#F58435;gradientDirection=north;",82.5,94.5,"","WorkMail",null,null,
- this.getTagsForStencil("mxgraph.aws3","workmail work mail","aws group amazon web service desktop app streaming application").join(" ")),this.createVertexTemplateEntry(a+"appstream;fillColor=#D9A741;gradientColor=none;",76.5,93,"","AppStream",null,null,this.getTagsForStencil("mxgraph.aws3","appstream","aws group amazon web service desktop app streaming application").join(" "))])};Sidebar.prototype.addAWS3DeveloperToolsPalette=function(){var a=this,b="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";
- this.addPaletteFunctions("aws3Developer Tools","AWS / Developer Tools",!1,[this.createVertexTemplateEntry(b+"codecommit;fillColor=#759C3E;gradientColor=none;",76.5,93,"","CodeCommit",null,null,this.getTagsForStencil("mxgraph.aws3","codecommit code commit","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"codedeploy;fillColor=#759C3E;gradientColor=none;",67.5,81,"","CodeDeploy",null,null,this.getTagsForStencil("mxgraph.aws3","codedeploy code deploy","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"codepipeline;fillColor=#759C3E;gradientColor=none;",67.5,81,"","CodePipeline",null,null,this.getTagsForStencil("mxgraph.aws3","codepipeline code pipeline","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"codebuild;fillColor=#759C3E;gradientColor=none;",76.5,93,"","CodeBuild",null,null,this.getTagsForStencil("mxgraph.aws3","codebuild code build","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+
- "x_ray;fillColor=#759C3E;gradientColor=none;",76.5,85.5,"","X-Ray",null,null,this.getTagsForStencil("mxgraph.aws3","x ray","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"gamelift;fillColor=#AD688B;gradientColor=none;",70.5,85.5,"","GameLift",null,null,this.getTagsForStencil("mxgraph.aws3","gamelift game lift","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"management_console;fillColor=#F58534;gradientColor=none;",
- 63,63,"","Management Console",null,null,this.getTagsForStencil("mxgraph.aws3","management console","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"cloud;fillColor=#F58534;gradientColor=none;",79.5,52.5,"","Cloud",null,null,this.getTagsForStencil("mxgraph.aws3","cloud","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"forums;fillColor=#F58534;gradientColor=none;",85.5,82.5,"","Forums",null,null,this.getTagsForStencil("mxgraph.aws3",
- "forums","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"virtual_private_cloud;fillColor=#F58534;gradientColor=none;",79.5,52.5,"","Virtual Private Cloud",null,null,this.getTagsForStencil("mxgraph.aws3","virtual private cloud vpc","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"management_console;fillColor=#D2D3D3;gradientColor=none;",63,63,"","Client",null,null,this.getTagsForStencil("mxgraph.aws3",
- "client","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"mobile_client;fillColor=#D2D3D3;gradientColor=none;",40.5,63,"","Mobile Client",null,null,this.getTagsForStencil("mxgraph.aws3","mobile client","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"multimedia;fillColor=#D2D3D3;gradientColor=none;",66,63,"","Multimedia",null,null,this.getTagsForStencil("mxgraph.aws3","multimedia","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"user;fillColor=#D2D3D3;gradientColor=none;",45,63,"","User",null,null,this.getTagsForStencil("mxgraph.aws3","user","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"users;fillColor=#D2D3D3;gradientColor=none;",66,63,"","Users",null,null,this.getTagsForStencil("mxgraph.aws3","users","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"tape_storage;fillColor=#7D7C7C;gradientColor=none;",
- 75,37.5,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.aws3","tape storage","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"corporate_data_center;fillColor=#7D7C7C;gradientColor=none;",46.5,63,"","Corporate Data Center",null,null,this.getTagsForStencil("mxgraph.aws3","corporate data center","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"traditional_server;fillColor=#7D7C7C;gradientColor=none;",
- 46.5,63,"","Traditional Server",null,null,this.getTagsForStencil("mxgraph.aws3","traditional server","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"disk;fillColor=#7D7C7C;gradientColor=none;",61.5,64.5,"","Disk",null,null,this.getTagsForStencil("mxgraph.aws3","disk","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"generic_database;fillColor=#7D7C7C;gradientColor=none;",49.5,64.5,"","Generic Database",
- null,null,this.getTagsForStencil("mxgraph.aws3","generic database","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"internet;fillColor=#D2D3D3;gradientColor=none;",79.5,79.5,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3","internet","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"internet_2;fillColor=#D2D3D3;gradientColor=none;",79.5,54,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3",
- "internet","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"internet_3;fillColor=#D2D3D3;gradientColor=none;",79.5,54,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3","internet","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"office_building;fillColor=#7D7C7C;gradientColor=none;",33,79.5,"","Office Building",null,null,this.getTagsForStencil("mxgraph.aws3","office building","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"saml_token;fillColor=#D2D3D3;gradientColor=none;",69,72,"","SAML Token",null,null,this.getTagsForStencil("mxgraph.aws3","saml token","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"ssl_padlock;fillColor=#D2D3D3;gradientColor=none;",63,78,"","SSL Padlock",null,null,this.getTagsForStencil("mxgraph.aws3","ssl padlock","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#000000;fillColor=none;gradientColor=none;dashPattern=8 3 1 3;strokeWidth=2;",
- 199.5,199.5,"","Auto Scaling Group",null,null,this.getTagsForStencil("mxgraph.aws3","auto scaling group","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#F59D56;fillColor=none;gradientColor=none;dashPattern=8 4;strokeWidth=2;",199.5,199.5,"","Availability Zone",null,null,this.getTagsForStencil("mxgraph.aws3","availability zone","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#000000;fillColor=none;gradientColor=none;dashPattern=1 1;strokeWidth=2;",
- 199.5,199.5,"","Region",null,null,this.getTagsForStencil("mxgraph.aws3","region","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#ff0000;fillColor=none;gradientColor=none;dashPattern=8 4;strokeWidth=2;",199.5,199.5,"","Security Group",null,null,this.getTagsForStencil("mxgraph.aws3","security group","aws group amazon web service dev developer tools").join(" ")),this.addEntry("aws group amazon web service dev developer toolselastic beanstalk container",
- function(){var d=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,41),b+"elastic_beanstalk;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"Elastic Beanstalk Container")}),this.addEntry("aws group amazon web service dev developer toolsec2 instance container",function(){var d=new mxCell("",
- new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,41),b+"instance;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"EC2 Instance Container")}),this.addEntry("aws group amazon web service dev developer toolsvpc subnet",function(){var d=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");
- d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,35),b+"permissions;fillColor=#D9A741;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"VPC Subnet")}),this.createVertexTemplateEntry("rounded=1;arcSize=10;strokeColor=none;fillColor=#DBDBDB;gradientColor=none;",199.5,199.5,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws3","server contents","aws group amazon web service dev developer tools").join(" ")),this.addEntry("aws group amazon web service dev developer toolsvirtual private cloud",
- function(){var d=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,52,36),b+"virtual_private_cloud;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service dev developer toolscloud",function(){var d=new mxCell("",new mxGeometry(0,
- 20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,52,36),b+"cloud;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"AWS Cloud")}),this.addEntry("aws group amazon web service dev developer toolscorporate data center",function(){var d=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");
- d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,42),b+"corporate_data_center;fillColor=#7D7C7C;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"Corporate Data Center")}),this.createVertexTemplateEntry(b+"aws_iot;fillColor=#5294CF;gradientColor=none;",67.5,81,"","AWS IoT",null,null,this.getTagsForStencil("mxgraph.aws3","iot internet of things","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"greengrass;fillColor=#5294CF;gradientColor=none;",
- 76.5,93,"","Greengrass",null,null,this.getTagsForStencil("mxgraph.aws3","greengrass","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"action;fillColor=#5294CF;gradientColor=none;",63,64.5,"","Action",null,null,this.getTagsForStencil("mxgraph.aws3","action","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"actuator;fillColor=#5294CF;gradientColor=none;",76.5,90,"","Actuator",null,null,this.getTagsForStencil("mxgraph.aws3",
- "actuator","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"certificate;fillColor=#5294CF;gradientColor=none;",63,85.5,"","Certificate",null,null,this.getTagsForStencil("mxgraph.aws3","certificate","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"desired_state;fillColor=#5294CF;gradientColor=none;",60,63,"","Desired State",null,null,this.getTagsForStencil("mxgraph.aws3","desired state","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"hardware_board;fillColor=#5294CF;gradientColor=none;",84,100.5,"","Hardware Board",null,null,this.getTagsForStencil("mxgraph.aws3","hardware board","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"http_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","HTTP Protocol",null,null,this.getTagsForStencil("mxgraph.aws3","http protocol","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+
- "http_2_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","HTTP/2 Protocol",null,null,this.getTagsForStencil("mxgraph.aws3","http 2 protocol","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"mqtt_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","MQTT Protocol",null,null,this.getTagsForStencil("mxgraph.aws3","mqtt protocol","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"policy;fillColor=#5294CF;gradientColor=none;",
- 55.5,90,"","Policy",null,null,this.getTagsForStencil("mxgraph.aws3","policy","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"reported_state;fillColor=#5294CF;gradientColor=none;",60,63,"","Reported State",null,null,this.getTagsForStencil("mxgraph.aws3","reported state","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"rule;fillColor=#5294CF;gradientColor=none;",49.5,99,"","Rule",null,null,this.getTagsForStencil("mxgraph.aws3",
- "rule","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"sensor;fillColor=#5294CF;gradientColor=none;",76.5,90,"","Sensor",null,null,this.getTagsForStencil("mxgraph.aws3","sensor","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"servo;fillColor=#5294CF;gradientColor=none;",84,60,"","Servo",null,null,this.getTagsForStencil("mxgraph.aws3","servo","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"shadow;fillColor=#5294CF;gradientColor=none;",85.5,91.5,"","Shadow",null,null,this.getTagsForStencil("mxgraph.aws3","shadow","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"simulator;fillColor=#5294CF;gradientColor=none;",75,78,"","Simulator",null,null,this.getTagsForStencil("mxgraph.aws3","simulator","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"topic;fillColor=#5294CF;gradientColor=none;",
- 49.5,66,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws3","topic","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"bank;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Bank",null,null,this.getTagsForStencil("mxgraph.aws3","bank","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"bicycle;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Bicycle",null,null,this.getTagsForStencil("mxgraph.aws3",
- "bicycle","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"camera;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Camera",null,null,this.getTagsForStencil("mxgraph.aws3","camera","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"utility;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Utility",null,null,this.getTagsForStencil("mxgraph.aws3","utility","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"cart;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Cart",null,null,this.getTagsForStencil("mxgraph.aws3","cart","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"car;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Car",null,null,this.getTagsForStencil("mxgraph.aws3","car","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"windfarm;fillColor=#5294CF;gradientColor=none;",
- 79.5,79.5,"","Windfarm",null,null,this.getTagsForStencil("mxgraph.aws3","windfarm","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"house;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","House",null,null,this.getTagsForStencil("mxgraph.aws3","house","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"generic;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Generic",null,null,this.getTagsForStencil("mxgraph.aws3",
- "generic","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"factory;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Factory",null,null,this.getTagsForStencil("mxgraph.aws3","factory","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"coffee_pot;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Coffee Pot",null,null,this.getTagsForStencil("mxgraph.aws3","coffee pot","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"door_lock;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Door Lock",null,null,this.getTagsForStencil("mxgraph.aws3","door lock","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"lightbulb;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Lightbulb",null,null,this.getTagsForStencil("mxgraph.aws3","lightbulb","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"medical_emergency;fillColor=#5294CF;gradientColor=none;",
- 79.5,79.5,"","Medical Emergency",null,null,this.getTagsForStencil("mxgraph.aws3","medical emergency","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"police_emergency;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Police Emergency",null,null,this.getTagsForStencil("mxgraph.aws3","police emergency","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"thermostat;fillColor=#5294CF;gradientColor=none;",79.5,
- 79.5,"","Thermostat",null,null,this.getTagsForStencil("mxgraph.aws3","thermostat","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"travel;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Travel",null,null,this.getTagsForStencil("mxgraph.aws3","travel","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"echo;fillColor=#205B99;gradientColor=none;",40.5,93,"","Echo",null,null,this.getTagsForStencil("mxgraph.aws3",
- "echo","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"alexa_skill;fillColor=#5294CF;gradientColor=none;",60,63,"","Alexa Skill",null,null,this.getTagsForStencil("mxgraph.aws3","alexa skill","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"alexa_smart_home_skill;fillColor=#5294CF;gradientColor=none;",90,70.5,"","Alexa Smart Home Skill",null,null,this.getTagsForStencil("mxgraph.aws3","alexa smart home skill",
- "aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"alexa_voice_service;fillColor=#5294CF;gradientColor=none;",60,63,"","Alexa Voice Service",null,null,this.getTagsForStencil("mxgraph.aws3","alexa voice service","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"alexa_enabled_device;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Alexa Enabled Device",null,null,this.getTagsForStencil("mxgraph.aws3","alexa enabled device",
- "aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"lambda_function_2;fillColor=#5294CF;gradientColor=none;",60,63,"","Lambda Function",null,null,this.getTagsForStencil("mxgraph.aws3","lambda function","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"fire_tv;fillColor=#5294CF;gradientColor=none;",75,55.5,"","Fire TV",null,null,this.getTagsForStencil("mxgraph.aws3","fire tv","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"fire_tv_stick;fillColor=#5294CF;gradientColor=none;",85.5,33,"","Fire TV Stick",null,null,this.getTagsForStencil("mxgraph.aws3","fire tv stick","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"cloudwatch;fillColor=#759C3E;gradientColor=none;",82.5,93,"","CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws3","cloudwatch cloud watch","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+
- "application_discovery_service;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Application Discovery Service",null,null,this.getTagsForStencil("mxgraph.aws3","application discovery service","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"cloudformation;fillColor=#759C3E;gradientColor=none;",76.5,93,"","CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws3","cloudformation cloud formation","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"cloudtrail;fillColor=#759C3E;gradientColor=none;",76.5,93,"","CloudTrail",null,null,this.getTagsForStencil("mxgraph.aws3","cloudtrail cloud trail","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"config;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Config",null,null,this.getTagsForStencil("mxgraph.aws3","config","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"managed_services;fillColor=#759C3E;gradientColor=none;",
- 76.5,93,"","Managed Services",null,null,this.getTagsForStencil("mxgraph.aws3","managed services","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"opsworks;fillColor=#759C3E;gradientColor=none;",76.5,93,"","OpsWorks",null,null,this.getTagsForStencil("mxgraph.aws3","opsworks ops works","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"service_catalog;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Service Catalog",
- null,null,this.getTagsForStencil("mxgraph.aws3","service catalog","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"trusted_advisor;fillColor=#759C3E;gradientColor=none;",67.5,81,"","Trusted Advisor",null,null,this.getTagsForStencil("mxgraph.aws3","trusted advisor","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"alarm;fillColor=#759C3E;gradientColor=none;",54,66,"","Alarm",null,null,this.getTagsForStencil("mxgraph.aws3",
- "alarm","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"event_time_based;fillColor=#759C3E;gradientColor=none;",63,82.5,"","Event (Time Based)",null,null,this.getTagsForStencil("mxgraph.aws3","event time based","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"event_event_based;fillColor=#759C3E;gradientColor=none;",60,82.5,"","Event (Event Based)",null,null,this.getTagsForStencil("mxgraph.aws3","event based",
- "aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"config_rule;fillColor=#759C3E;gradientColor=none;",55.5,72,"","Config Rule",null,null,this.getTagsForStencil("mxgraph.aws3","config rule","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"stack_aws_cloudformation;fillColor=#759C3E;gradientColor=none;",73.5,58.5,"","Stack AWS CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws3","stack cloudformation cloud formation",
- "aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"change_set;fillColor=#759C3E;gradientColor=none;",55.5,64.5,"","Change Set",null,null,this.getTagsForStencil("mxgraph.aws3","change set","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"template;fillColor=#759C3E;gradientColor=none;",55.5,64.5,"","Template",null,null,this.getTagsForStencil("mxgraph.aws3","template","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"apps;fillColor=#759C3E;gradientColor=none;",81,79.5,"","Apps",null,null,this.getTagsForStencil("mxgraph.aws3","apps","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"deployments;fillColor=#759C3E;gradientColor=none;",81,76.5,"","Deployments",null,null,this.getTagsForStencil("mxgraph.aws3","deployments","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"instances_2;fillColor=#759C3E;gradientColor=none;",
- 81,81,"","Instances",null,null,this.getTagsForStencil("mxgraph.aws3","instances","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"layers;fillColor=#759C3E;gradientColor=none;",81,79.5,"","Layers",null,null,this.getTagsForStencil("mxgraph.aws3","layers","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"monitoring;fillColor=#759C3E;gradientColor=none;",81,67.5,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.aws3",
- "monitoring","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"permissions;fillColor=#759C3E;gradientColor=none;",67.5,79.5,"","Permissions",null,null,this.getTagsForStencil("mxgraph.aws3","permissions","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resources;fillColor=#759C3E;gradientColor=none;",67.5,79.5,"","Resources",null,null,this.getTagsForStencil("mxgraph.aws3","resources","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"stack_aws_opsworks;fillColor=#759C3E;gradientColor=none;",79.5,79.5,"","Stack AWS OpsWorks",null,null,this.getTagsForStencil("mxgraph.aws3","stack opsworks ops works","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"checklist;fillColor=#759C3E;gradientColor=none;",55.5,64.5,"","Checklist",null,null,this.getTagsForStencil("mxgraph.aws3","checklist","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+
- "checklist_cost;fillColor=#759C3E;gradientColor=none;",67.5,75,"","Checklist Cost",null,null,this.getTagsForStencil("mxgraph.aws3","checklist cost","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"checklist_fault_tolerance;fillColor=#759C3E;gradientColor=none;",57,72,"","Checklist Fault Tolerance",null,null,this.getTagsForStencil("mxgraph.aws3","checklist fault tolerance","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+
- "checklist_performance;fillColor=#759C3E;gradientColor=none;",61.5,73.5,"","Checklist Performance",null,null,this.getTagsForStencil("mxgraph.aws3","checklist performance","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"checklist_security;fillColor=#759C3E;gradientColor=none;",54,69,"","Checklist Security",null,null,this.getTagsForStencil("mxgraph.aws3","checklist security","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+
- "pinpoint;fillColor=#AD688B;gradientColor=none;",76.5,87,"","Pinpoint",null,null,this.getTagsForStencil("mxgraph.aws3","pinpoint","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"ses;fillColor=#D9A741;gradientColor=none;",79.5,93,"","SES",null,null,this.getTagsForStencil("mxgraph.aws3","ses","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"sns;fillColor=#D9A741;gradientColor=none;",76.5,76.5,"","SNS",null,
- null,this.getTagsForStencil("mxgraph.aws3","sns","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"sqs;fillColor=#D9A741;gradientColor=none;",76.5,93,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws3","sqs","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"swf;fillColor=#D9A741;gradientColor=none;",76.5,93,"","SWF",null,null,this.getTagsForStencil("mxgraph.aws3","swf","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"search_documents;fillColor=#D9A741;gradientColor=none;",60,63,"","SDF Metadata",null,null,this.getTagsForStencil("mxgraph.aws3","sdf metadata","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"email;fillColor=#D9A741;gradientColor=none;",81,61.5,"","Email",null,null,this.getTagsForStencil("mxgraph.aws3","email","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"message;fillColor=#D9A741;gradientColor=none;",
- 42,49.5,"","Message",null,null,this.getTagsForStencil("mxgraph.aws3","message","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"queue;fillColor=#D9A741;gradientColor=none;",73.5,48,"","Queue",null,null,this.getTagsForStencil("mxgraph.aws3","queue","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"decider;fillColor=#D9A741;gradientColor=none;",61.5,64.5,"","Decider",null,null,this.getTagsForStencil("mxgraph.aws3",
- "decider","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"worker;fillColor=#D9A741;gradientColor=none;",60,63,"","Worker",null,null,this.getTagsForStencil("mxgraph.aws3","worker","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"email_notification;fillColor=#D9A741;gradientColor=none;",100.5,63,"","Email Notification",null,null,this.getTagsForStencil("mxgraph.aws3","email notification","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"http_notification;fillColor=#D9A741;gradientColor=none;",100.5,63,"","HTTP Notification",null,null,this.getTagsForStencil("mxgraph.aws3","http notification","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"topic_2;fillColor=#D9A741;gradientColor=none;",93,58.5,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws3","topic","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+
- "snowball;fillColor=#E05243;gradientColor=none;",67.5,81,"","Snowball",null,null,this.getTagsForStencil("mxgraph.aws3","snowball","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"server_migration_service;fillColor=#5294CF;gradientColor=none;",76.5,93,"","Server Migration Service",null,null,this.getTagsForStencil("mxgraph.aws3","server migration service","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"import_export;fillColor=#E05243;gradientColor=none;",
- 64.5,63,"","Import/Export",null,null,this.getTagsForStencil("mxgraph.aws3","Import Export","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"migration_hub;fillColor=#5294CF;gradientColor=none;",76.5,72,"","Migration Hub",null,null,this.getTagsForStencil("mxgraph.aws3","migration hub","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"database_migration_service;fillColor=#5294CF;gradientColor=none;",72,81,
- "","Database Migration Service",null,null,this.getTagsForStencil("mxgraph.aws3","database migration service","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"database_migration_workflow_job;fillColor=#5294CF;gradientColor=none;",46.5,87,"","Database Migration Workflow Job",null,null,this.getTagsForStencil("mxgraph.aws3","database migration workflow job","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"api_gateway;fillColor=#D9A741;gradientColor=none;",
- 76.5,93,"","API Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","api gateway","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"cognito;fillColor=#AD688B;gradientColor=none;",76.5,93,"","Cognito",null,null,this.getTagsForStencil("mxgraph.aws3","cognito","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"mobile_analytics;fillColor=#AD688B;gradientColor=none;",90,93,"","Mobile Analytics",null,null,
- this.getTagsForStencil("mxgraph.aws3","mobile analytics","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"device_farm;fillColor=#AD688B;gradientColor=none;",76.5,93,"","Device Farm",null,null,this.getTagsForStencil("mxgraph.aws3","device farm","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"mobile_hub;fillColor=#AD688A;gradientColor=#F58435;gradientDirection=west;",75,81,"","Mobile Hub",null,null,this.getTagsForStencil("mxgraph.aws3",
- "mobile hub","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"cloudfront;fillColor=#F58536;gradientColor=none;",76.5,93,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws3","cloudfront cloud front","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"route_53;fillColor=#F58536;gradientColor=none;",70.5,85.5,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws3","route 53","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"vpc;fillColor=#F58536;gradientColor=none;",67.5,81,"","VPC",null,null,this.getTagsForStencil("mxgraph.aws3","vpc virtual private cloud","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"elastic_load_balancing;fillColor=#F58536;gradientColor=none;",76.5,93,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws3","elastic load balancing","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"direct_connect;fillColor=#F58536;gradientColor=none;",67.5,81,"","Direct Connect",null,null,this.getTagsForStencil("mxgraph.aws3","direct connect","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"hosted_zone;fillColor=#F58536;gradientColor=none;",63,64.5,"","Hosted Zone",null,null,this.getTagsForStencil("mxgraph.aws3","hosted zone","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+
- "route_table;fillColor=#F58536;gradientColor=none;",75,69,"","Route Table",null,null,this.getTagsForStencil("mxgraph.aws3","route table","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"customer_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","customer gateway","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"endpoints;fillColor=#F58536;gradientColor=none;",
- 69,72,"","Endpoints",null,null,this.getTagsForStencil("mxgraph.aws3","endpoints","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"flow_logs;fillColor=#F58536;gradientColor=none;",69,72,"","Flow Logs",null,null,this.getTagsForStencil("mxgraph.aws3","flow logs","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"internet_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3",
- "internet gateway","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"router;fillColor=#F58536;gradientColor=none;",69,72,"","Router",null,null,this.getTagsForStencil("mxgraph.aws3","router","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"vpc_nat_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","VPC NAT Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpc nat gateway virtual private cloud",
- "aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"vpc_peering;fillColor=#F58536;gradientColor=none;",69,72,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws3","vpc peering","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"vpn_connection;fillColor=#F58536;gradientColor=none;",58.5,48,"","VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws3","vpn connection virtual private network",
- "aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"vpn_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpn_gateway","aws group amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"el_load_balancer;fillColor=#F58536;gradientColor=none;",69,72,"","EL Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","el load balancer","aws group amazon web service dev developer tools").join(" ")),
- this.createVertexTemplateEntry(b+"elastic_network_adapter;fillColor=#F58536;gradientColor=none;",75,90,"","Elastic Network Adapter",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network adapter","aws group amazon web service dev developer tools").join(" "))])};Sidebar.prototype.addAWS3GameDevelopmentPalette=function(){this.addPaletteFunctions("aws3Game Development","AWS / Game Development",!1,[this.createVertexTemplateEntry("dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.gamelift;fillColor=#AD688B;gradientColor=none;",
- 70.5,85.5,"","GameLift",null,null,this.getTagsForStencil("mxgraph.aws3","gamelift game lift","aws group amazon web service game development").join(" "))])};Sidebar.prototype.addAWS3GeneralPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3General","AWS / General",!1,[this.createVertexTemplateEntry(a+"management_console;fillColor=#F58534;gradientColor=none;",63,63,"","Management Console",null,null,this.getTagsForStencil("mxgraph.aws3",
- "management console","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"cloud;fillColor=#F58534;gradientColor=none;",79.5,52.5,"","Cloud",null,null,this.getTagsForStencil("mxgraph.aws3","cloud","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"forums;fillColor=#F58534;gradientColor=none;",85.5,82.5,"","Forums",null,null,this.getTagsForStencil("mxgraph.aws3","forums","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+
- "virtual_private_cloud;fillColor=#F58534;gradientColor=none;",79.5,54,"","Virtual Private Cloud",null,null,this.getTagsForStencil("mxgraph.aws3","virtual private cloud vpc","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"management_console;fillColor=#D2D3D3;gradientColor=none;",63,63,"","Client",null,null,this.getTagsForStencil("mxgraph.aws3","client","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"mobile_client;fillColor=#D2D3D3;gradientColor=none;",
- 40.5,63,"","Mobile Client",null,null,this.getTagsForStencil("mxgraph.aws3","mobile client","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"multimedia;fillColor=#D2D3D3;gradientColor=none;",66,63,"","Multimedia",null,null,this.getTagsForStencil("mxgraph.aws3","multimedia","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"user;fillColor=#D2D3D3;gradientColor=none;",45,63,"","User",null,null,this.getTagsForStencil("mxgraph.aws3",
- "user","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"users;fillColor=#D2D3D3;gradientColor=none;",66,63,"","Users",null,null,this.getTagsForStencil("mxgraph.aws3","users","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"tape_storage;fillColor=#7D7C7C;gradientColor=none;",75,39,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.aws3","tape storage","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+
- "corporate_data_center;fillColor=#7D7C7C;gradientColor=none;",46.5,63,"","Corporate Data Center",null,null,this.getTagsForStencil("mxgraph.aws3","corporate data center","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"traditional_server;fillColor=#7D7C7C;gradientColor=none;",46.5,63,"","Traditional Server",null,null,this.getTagsForStencil("mxgraph.aws3","traditional server","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"disk;fillColor=#7D7C7C;gradientColor=none;",
- 61.5,64.5,"","Disk",null,null,this.getTagsForStencil("mxgraph.aws3","disk","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"generic_database;fillColor=#7D7C7C;gradientColor=none;",49.5,64.5,"","Generic Database",null,null,this.getTagsForStencil("mxgraph.aws3","generic database","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"internet;fillColor=#D2D3D3;gradientColor=none;",79.5,79.5,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3",
- "internet","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"internet_2;fillColor=#D2D3D3;gradientColor=none;",79.5,54,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3","internet","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"internet_3;fillColor=#D2D3D3;gradientColor=none;",79.5,54,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3","internet","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+
- "office_building;fillColor=#7D7C7C;gradientColor=none;",33,79.5,"","Office Building",null,null,this.getTagsForStencil("mxgraph.aws3","office building","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"saml_token;fillColor=#D2D3D3;gradientColor=none;",69,72,"","SAML Token",null,null,this.getTagsForStencil("mxgraph.aws3","saml token","aws group amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"ssl_padlock;fillColor=#D2D3D3;gradientColor=none;",
- 63,78,"","SSL Padlock",null,null,this.getTagsForStencil("mxgraph.aws3","ssl padlock","aws group amazon web service general").join(" "))])};Sidebar.prototype.addAWS3GroupsPalette=function(){var a=this,b="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Groups","AWS / Groups",!1,[this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#000000;fillColor=none;gradientColor=none;dashPattern=8 3 1 3;strokeWidth=2;",199.5,199.5,"","Auto Scaling Group",
- null,null,this.getTagsForStencil("mxgraph.aws3","auto scaling group","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#F59D56;fillColor=none;gradientColor=none;dashPattern=8 4;strokeWidth=2;",199.5,199.5,"","Availability Zone",null,null,this.getTagsForStencil("mxgraph.aws3","availability zone","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#000000;fillColor=none;gradientColor=none;dashPattern=1 1;strokeWidth=2;",
- 199.5,199.5,"","Region",null,null,this.getTagsForStencil("mxgraph.aws3","region","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#ff0000;fillColor=none;gradientColor=none;dashPattern=8 4;strokeWidth=2;",199.5,199.5,"","Security Group",null,null,this.getTagsForStencil("mxgraph.aws3","security group","aws group amazon web service group groups").join(" ")),this.addEntry("aws group amazon web service group groupselastic beanstalk container",
- function(){var d=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,41),b+"elastic_beanstalk;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"Elastic Beanstalk Container")}),this.addEntry("aws group amazon web service group groupsec2 instance container",function(){var d=new mxCell("",new mxGeometry(0,
- 20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,41),b+"instance;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"EC2 Instance Container")}),this.addEntry("aws group amazon web service group groupsvpc subnet",function(){var d=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");
- d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,35),b+"permissions;fillColor=#D9A741;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"VPC Subnet")}),this.createVertexTemplateEntry("rounded=1;arcSize=10;strokeColor=none;fillColor=#DBDBDB;gradientColor=none;",199.5,199.5,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws3","server contents","aws group amazon web service group groups").join(" ")),this.addEntry("aws group amazon web service group groupsvirtual private cloud",
- function(){var d=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,52,36),b+"virtual_private_cloud;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service group groupscloud",function(){var d=new mxCell("",new mxGeometry(0,20,
- 200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,52,36),b+"cloud;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"AWS Cloud")}),this.addEntry("aws group amazon web service group groupscorporate data center",function(){var d=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;strokeColor=#000000;fillColor=none;gradientColor=none;strokeWidth=2;");
- d.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,42),b+"corporate_data_center;fillColor=#7D7C7C;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([d,c],200,220,"Corporate Data Center")})])};Sidebar.prototype.addAWS3InternetOfThingsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Internet of Things","AWS / Internet of Things",!1,[this.createVertexTemplateEntry(a+"aws_iot;fillColor=#5294CF;gradientColor=none;",
- 67.5,81,"","AWS IoT",null,null,this.getTagsForStencil("mxgraph.aws3","iot internet of things","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"greengrass;fillColor=#5294CF;gradientColor=none;",76.5,93,"","Greengrass",null,null,this.getTagsForStencil("mxgraph.aws3","greengrass","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"action;fillColor=#5294CF;gradientColor=none;",63,64.5,"","Action",null,null,
- this.getTagsForStencil("mxgraph.aws3","action","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"actuator;fillColor=#5294CF;gradientColor=none;",76.5,90,"","Actuator",null,null,this.getTagsForStencil("mxgraph.aws3","actuator","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"certificate;fillColor=#5294CF;gradientColor=none;",63,85.5,"","Certificate",null,null,this.getTagsForStencil("mxgraph.aws3","certificate",
- "aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"desired_state;fillColor=#5294CF;gradientColor=none;",60,63,"","Desired State",null,null,this.getTagsForStencil("mxgraph.aws3","desired state","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"hardware_board;fillColor=#5294CF;gradientColor=none;",84,100.5,"","Hardware Board",null,null,this.getTagsForStencil("mxgraph.aws3","hardware board","aws group amazon web service iot internet of things").join(" ")),
- this.createVertexTemplateEntry(a+"http_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","HTTP Protocol",null,null,this.getTagsForStencil("mxgraph.aws3","http protocol","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"http_2_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","HTTP/2 Protocol",null,null,this.getTagsForStencil("mxgraph.aws3","http 2 protocol","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+
- "mqtt_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","MQTT Protocol",null,null,this.getTagsForStencil("mxgraph.aws3","mqtt protocol","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"policy;fillColor=#5294CF;gradientColor=none;",55.5,90,"","Policy",null,null,this.getTagsForStencil("mxgraph.aws3","policy","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"reported_state;fillColor=#5294CF;gradientColor=none;",
- 60,63,"","Reported State",null,null,this.getTagsForStencil("mxgraph.aws3","reported state","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"rule;fillColor=#5294CF;gradientColor=none;",49.5,99,"","Rule",null,null,this.getTagsForStencil("mxgraph.aws3","rule","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"sensor;fillColor=#5294CF;gradientColor=none;",76.5,90,"","Sensor",null,null,this.getTagsForStencil("mxgraph.aws3",
- "sensor","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"servo;fillColor=#5294CF;gradientColor=none;",84,60,"","Servo",null,null,this.getTagsForStencil("mxgraph.aws3","servo","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"shadow;fillColor=#5294CF;gradientColor=none;",85.5,91.5,"","Shadow",null,null,this.getTagsForStencil("mxgraph.aws3","shadow","aws group amazon web service iot internet of things").join(" ")),
- this.createVertexTemplateEntry(a+"simulator;fillColor=#5294CF;gradientColor=none;",75,78,"","Simulator",null,null,this.getTagsForStencil("mxgraph.aws3","simulator","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"topic;fillColor=#5294CF;gradientColor=none;",49.5,66,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws3","topic","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"bank;fillColor=#5294CF;gradientColor=none;",
- 79.5,79.5,"","Bank",null,null,this.getTagsForStencil("mxgraph.aws3","bank","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"bicycle;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Bicycle",null,null,this.getTagsForStencil("mxgraph.aws3","bicycle","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"camera;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Camera",null,null,this.getTagsForStencil("mxgraph.aws3",
- "camera","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"utility;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Utility",null,null,this.getTagsForStencil("mxgraph.aws3","utility","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"cart;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Cart",null,null,this.getTagsForStencil("mxgraph.aws3","cart","aws group amazon web service iot internet of things").join(" ")),
- this.createVertexTemplateEntry(a+"car;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Car",null,null,this.getTagsForStencil("mxgraph.aws3","car","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"windfarm;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Windfarm",null,null,this.getTagsForStencil("mxgraph.aws3","windfarm","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"house;fillColor=#5294CF;gradientColor=none;",
- 79.5,79.5,"","House",null,null,this.getTagsForStencil("mxgraph.aws3","house","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"generic;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Generic",null,null,this.getTagsForStencil("mxgraph.aws3","generic","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"factory;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Factory",null,null,this.getTagsForStencil("mxgraph.aws3",
- "factory","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"coffee_pot;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Coffee Pot",null,null,this.getTagsForStencil("mxgraph.aws3","coffee pot","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"door_lock;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Door Lock",null,null,this.getTagsForStencil("mxgraph.aws3","door lock","aws group amazon web service iot internet of things").join(" ")),
- this.createVertexTemplateEntry(a+"lightbulb;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Lightbulb",null,null,this.getTagsForStencil("mxgraph.aws3","lightbulb","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"medical_emergency;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Medical Emergency",null,null,this.getTagsForStencil("mxgraph.aws3","medical emergency","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+
- "police_emergency;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Police Emergency",null,null,this.getTagsForStencil("mxgraph.aws3","police emergency","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"thermostat;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Thermostat",null,null,this.getTagsForStencil("mxgraph.aws3","thermostat","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"travel;fillColor=#5294CF;gradientColor=none;",
- 79.5,79.5,"","Travel",null,null,this.getTagsForStencil("mxgraph.aws3","travel","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"echo;fillColor=#205B99;gradientColor=none;",40.5,93,"","Echo",null,null,this.getTagsForStencil("mxgraph.aws3","echo","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"alexa_skill;fillColor=#5294CF;gradientColor=none;",60,63,"","Alexa Skill",null,null,this.getTagsForStencil("mxgraph.aws3",
- "alexa skill","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"alexa_smart_home_skill;fillColor=#5294CF;gradientColor=none;",90,70.5,"","Alexa Smart Home Skill",null,null,this.getTagsForStencil("mxgraph.aws3","alexa smart home skill","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"alexa_voice_service;fillColor=#5294CF;gradientColor=none;",60,63,"","Alexa Voice Service",null,null,this.getTagsForStencil("mxgraph.aws3",
- "alexa voice service","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"alexa_enabled_device;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Alexa Enabled Device",null,null,this.getTagsForStencil("mxgraph.aws3","alexa enabled device","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"lambda_function_2;fillColor=#5294CF;gradientColor=none;",60,63,"","Lambda Function",null,null,this.getTagsForStencil("mxgraph.aws3",
- "lambda function","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"fire_tv;fillColor=#5294CF;gradientColor=none;",75,55.5,"","Fire TV",null,null,this.getTagsForStencil("mxgraph.aws3","fire tv","aws group amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"fire_tv_stick;fillColor=#5294CF;gradientColor=none;",85.5,33,"","Fire TV Stick",null,null,this.getTagsForStencil("mxgraph.aws3","fire tv stick","aws group amazon web service iot internet of things").join(" "))])};
- Sidebar.prototype.addAWS3ManagementToolsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Management Tools","AWS / Management Tools",!1,[this.createVertexTemplateEntry(a+"cloudwatch;fillColor=#759C3E;gradientColor=none;",82.5,93,"","CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws3","cloudwatch cloud watch","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"cloudformation;fillColor=#759C3E;gradientColor=none;",
- 76.5,93,"","CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws3","cloudformation cloud formation","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"cloudtrail;fillColor=#759C3E;gradientColor=none;",76.5,93,"","CloudTrail",null,null,this.getTagsForStencil("mxgraph.aws3","cloudtrail cloud trail","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"config;fillColor=#759C3E;gradientColor=none;",76.5,93,"",
- "Config",null,null,this.getTagsForStencil("mxgraph.aws3","config","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"managed_services;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Managed Services",null,null,this.getTagsForStencil("mxgraph.aws3","managed services","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"opsworks;fillColor=#759C3E;gradientColor=none;",76.5,93,"","OpsWorks",null,null,this.getTagsForStencil("mxgraph.aws3",
- "opsworks ops works","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"service_catalog;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Service Catalog",null,null,this.getTagsForStencil("mxgraph.aws3","service catalog","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"trusted_advisor;fillColor=#759C3E;gradientColor=none;",67.5,81,"","Trusted Advisor",null,null,this.getTagsForStencil("mxgraph.aws3","trusted advisor",
- "aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"alarm;fillColor=#759C3E;gradientColor=none;",54,66,"","Alarm",null,null,this.getTagsForStencil("mxgraph.aws3","alarm","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"event_time_based;fillColor=#759C3E;gradientColor=none;",63,82.5,"","Event (Time Based)",null,null,this.getTagsForStencil("mxgraph.aws3","event time based","aws group amazon web service management tools").join(" ")),
- this.createVertexTemplateEntry(a+"event_event_based;fillColor=#759C3E;gradientColor=none;",60,82.5,"","Event (Event Based)",null,null,this.getTagsForStencil("mxgraph.aws3","event based","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"config_rule;fillColor=#759C3E;gradientColor=none;",55.5,72,"","Config Rule",null,null,this.getTagsForStencil("mxgraph.aws3","config rule","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+
- "stack_aws_cloudformation;fillColor=#759C3E;gradientColor=none;",73.5,58.5,"","Stack AWS CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws3","stack cloudformation cloud formation","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"change_set;fillColor=#759C3E;gradientColor=none;",55.5,64.5,"","Change Set",null,null,this.getTagsForStencil("mxgraph.aws3","change set","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+
- "template;fillColor=#759C3E;gradientColor=none;",55.5,64.5,"","Template",null,null,this.getTagsForStencil("mxgraph.aws3","template","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"apps;fillColor=#759C3E;gradientColor=none;",81,79.5,"","Apps",null,null,this.getTagsForStencil("mxgraph.aws3","apps","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployments;fillColor=#759C3E;gradientColor=none;",81,76.5,"","Deployments",
- null,null,this.getTagsForStencil("mxgraph.aws3","deployments","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"instances_2;fillColor=#759C3E;gradientColor=none;",81,81,"","Instances",null,null,this.getTagsForStencil("mxgraph.aws3","instances","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"layers;fillColor=#759C3E;gradientColor=none;",81,79.5,"","Layers",null,null,this.getTagsForStencil("mxgraph.aws3","layers",
- "aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"monitoring;fillColor=#759C3E;gradientColor=none;",81,67.5,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.aws3","monitoring","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"permissions;fillColor=#759C3E;gradientColor=none;",67.5,79.5,"","Permissions",null,null,this.getTagsForStencil("mxgraph.aws3","permissions","aws group amazon web service management tools").join(" ")),
- this.createVertexTemplateEntry(a+"resources;fillColor=#759C3E;gradientColor=none;",67.5,79.5,"","Resources",null,null,this.getTagsForStencil("mxgraph.aws3","resources","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"stack_aws_opsworks;fillColor=#759C3E;gradientColor=none;",79.5,79.5,"","Stack AWS OpsWorks",null,null,this.getTagsForStencil("mxgraph.aws3","stack opsworks ops works","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+
- "checklist;fillColor=#759C3E;gradientColor=none;",55.5,64.5,"","Checklist",null,null,this.getTagsForStencil("mxgraph.aws3","checklist","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist_cost;fillColor=#759C3E;gradientColor=none;",67.5,75,"","Checklist Cost",null,null,this.getTagsForStencil("mxgraph.aws3","checklist cost","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist_fault_tolerance;fillColor=#759C3E;gradientColor=none;",
- 57,72,"","Checklist Fault Tolerance",null,null,this.getTagsForStencil("mxgraph.aws3","checklist fault tolerance","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist_performance;fillColor=#759C3E;gradientColor=none;",61.5,73.5,"","Checklist Performance",null,null,this.getTagsForStencil("mxgraph.aws3","checklist performance","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist_security;fillColor=#759C3E;gradientColor=none;",
- 54,69,"","Checklist Security",null,null,this.getTagsForStencil("mxgraph.aws3","checklist security","aws group amazon web service management tools").join(" "))])};Sidebar.prototype.addAWS3MessagingPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Messaging","AWS / Messaging",!1,[this.createVertexTemplateEntry(a+"pinpoint;fillColor=#AD688B;gradientColor=none;",76.5,87,"","Pinpoint",null,null,this.getTagsForStencil("mxgraph.aws3","pinpoint",
- "aws group amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"ses;fillColor=#D9A741;gradientColor=none;",79.5,93,"","SES",null,null,this.getTagsForStencil("mxgraph.aws3","ses","aws group amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"sns;fillColor=#D9A741;gradientColor=none;",76.5,76.5,"","SNS",null,null,this.getTagsForStencil("mxgraph.aws3","sns","aws group amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"sqs;fillColor=#D9A741;gradientColor=none;",
- 76.5,93,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws3","sqs","aws group amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"email;fillColor=#D9A741;gradientColor=none;",81,61.5,"","Email",null,null,this.getTagsForStencil("mxgraph.aws3","email","aws group amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"message;fillColor=#D9A741;gradientColor=none;",42,49.5,"","Message",null,null,this.getTagsForStencil("mxgraph.aws3","message","aws group amazon web service messaging").join(" ")),
- this.createVertexTemplateEntry(a+"queue;fillColor=#D9A741;gradientColor=none;",73.5,48,"","Queue",null,null,this.getTagsForStencil("mxgraph.aws3","queue","aws group amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"email_notification;fillColor=#D9A741;gradientColor=none;",100.5,63,"","Email Notification",null,null,this.getTagsForStencil("mxgraph.aws3","email notification","aws group amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"http_notification;fillColor=#D9A741;gradientColor=none;",
- 100.5,63,"","HTTP Notification",null,null,this.getTagsForStencil("mxgraph.aws3","http notification","aws group amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"topic_2;fillColor=#D9A741;gradientColor=none;",93,58.5,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws3","topic","aws group amazon web service messaging").join(" "))])};Sidebar.prototype.addAWS3MigrationPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Migration",
- "AWS / Migration",!1,[this.createVertexTemplateEntry(a+"snowball;fillColor=#E05243;gradientColor=none;",67.5,81,"","Snowball",null,null,this.getTagsForStencil("mxgraph.aws3","snowball","aws group amazon web service migration").join(" ")),this.createVertexTemplateEntry(a+"server_migration_service;fillColor=#5294CF;gradientColor=none;",76.5,93,"","Server Migration Service",null,null,this.getTagsForStencil("mxgraph.aws3","server migration service","aws group amazon web service migration").join(" ")),
- this.createVertexTemplateEntry(a+"import_export;fillColor=#E05243;gradientColor=none;",64.5,63,"","Import/Export",null,null,this.getTagsForStencil("mxgraph.aws3","Import Export","aws group amazon web service migration").join(" ")),this.createVertexTemplateEntry(a+"database_migration_service;fillColor=#5294CF;gradientColor=none;",72,81,"","Database Migration Service",null,null,this.getTagsForStencil("mxgraph.aws3","database migration service","aws group amazon web service migration").join(" ")),this.createVertexTemplateEntry(a+
- "database_migration_workflow_job;fillColor=#5294CF;gradientColor=none;",46.5,87,"","Database Migration Workflow Job",null,null,this.getTagsForStencil("mxgraph.aws3","database migration workflow job","aws group amazon web service migration").join(" ")),this.createVertexTemplateEntry(a+"application_discovery_service;fillColor=#5294CF;gradientColor=none;",76.5,93,"","Application Discovery Service",null,null,this.getTagsForStencil("mxgraph.aws3","application discovery service","aws group amazon web service migration").join(" "))])};
- Sidebar.prototype.addAWS3MobileServicesPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Mobile Services","AWS / Mobile Services",!1,[this.createVertexTemplateEntry(a+"api_gateway;fillColor=#D9A741;gradientColor=none;",76.5,93,"","API Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","api gateway","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"cognito;fillColor=#AD688B;gradientColor=none;",
- 76.5,93,"","Cognito",null,null,this.getTagsForStencil("mxgraph.aws3","cognito","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_analytics;fillColor=#AD688B;gradientColor=none;",90,93,"","Mobile Analytics",null,null,this.getTagsForStencil("mxgraph.aws3","mobile analytics","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"pinpoint;fillColor=#AD688B;gradientColor=none;",76.5,87,"","Pinpoint",null,null,this.getTagsForStencil("mxgraph.aws3",
- "pinpoint","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"device_farm;fillColor=#AD688B;gradientColor=none;",76.5,93,"","Device Farm",null,null,this.getTagsForStencil("mxgraph.aws3","device farm","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_hub;fillColor=#AD688A;gradientColor=#F58435;gradientDirection=west;",75,81,"","Mobile Hub",null,null,this.getTagsForStencil("mxgraph.aws3","mobile hub","aws group amazon web service mobile services").join(" "))])};
- Sidebar.prototype.addAWS3NetworkAndContentDeliveryPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Networking and Content Delivery","AWS / Network and Content Delivery",!1,[this.createVertexTemplateEntry(a+"cloudfront;fillColor=#F58536;gradientColor=none;",76.5,93,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws3","cloudfront cloud front","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+
- "route_53;fillColor=#F58536;gradientColor=none;",70.5,85.5,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws3","route 53","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"vpc;fillColor=#F58536;gradientColor=none;",67.5,81,"","VPC",null,null,this.getTagsForStencil("mxgraph.aws3","vpc virtual private cloud","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"elastic_load_balancing;fillColor=#F58536;gradientColor=none;",
- 76.5,93,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws3","elastic load balancing","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"direct_connect;fillColor=#F58536;gradientColor=none;",67.5,81,"","Direct Connect",null,null,this.getTagsForStencil("mxgraph.aws3","direct connect","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"hosted_zone;fillColor=#F58536;gradientColor=none;",
- 63,64.5,"","Hosted Zone",null,null,this.getTagsForStencil("mxgraph.aws3","hosted zone","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"route_table;fillColor=#F58536;gradientColor=none;",75,69,"","Route Table",null,null,this.getTagsForStencil("mxgraph.aws3","route table","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"customer_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","Customer Gateway",
- null,null,this.getTagsForStencil("mxgraph.aws3","customer gateway","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"endpoints;fillColor=#F58536;gradientColor=none;",69,72,"","Endpoints",null,null,this.getTagsForStencil("mxgraph.aws3","endpoints","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"flow_logs;fillColor=#F58536;gradientColor=none;",69,72,"","Flow Logs",null,null,this.getTagsForStencil("mxgraph.aws3",
- "flow logs","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"internet_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","internet gateway","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"router;fillColor=#F58536;gradientColor=none;",69,72,"","Router",null,null,this.getTagsForStencil("mxgraph.aws3","router","aws group amazon web service network and content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"vpc_nat_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","VPC NAT Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpc nat gateway virtual private cloud","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"vpc_peering;fillColor=#F58536;gradientColor=none;",69,72,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws3","vpc peering virtual private cloud","aws group amazon web service network and content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"vpn_connection;fillColor=#F58536;gradientColor=none;",58.5,48,"","VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws3","vpn connection","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"vpn_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpn gateway","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+
- "classic_load_balancer;fillColor=#F58536;gradientColor=none;",69,72,"","Classic Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","classic load balancer","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"elastic_network_adapter;fillColor=#F58536;gradientColor=none;",75,90,"","Elastic Network Adapter",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network adapter","aws group amazon web service network and content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"elastic_network_interface;fillColor=#F58536;gradientColor=none;",69,72,"","Elastic Network Interface",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network interface","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"application_load_balancer;fillColor=#F58536;gradientColor=none;",69,72,"","Application Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","application load balancer","aws group amazon web service network and content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"streaming_distribution;fillColor=#F58536;gradientColor=none;",69,72,"","Streaming Distribution",null,null,this.getTagsForStencil("mxgraph.aws3","streaming distribution","aws group amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"download_distribution;fillColor=#F58536;gradientColor=none;",69,72,"","Download Distribution",null,null,this.getTagsForStencil("mxgraph.aws3","download distribution","aws group amazon web service network and content delivery").join(" ")),
- this.createVertexTemplateEntry(a+"edge_location;fillColor=#F58536;gradientColor=none;",58.5,64.5,"","Edge Location",null,null,this.getTagsForStencil("mxgraph.aws3","edge location","aws group amazon web service network and content delivery").join(" "))])};Sidebar.prototype.addAWS3OnDemandWorkforcePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3On Demand Workforce","AWS / On-Demand Workforce",!1,[this.createVertexTemplateEntry(a+"mechanical_turk;fillColor=#ACACAC;gradientColor=none;",
- 67.5,81,"","Mechanical Turk",null,null,this.getTagsForStencil("mxgraph.aws3","mechanical turk","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"human_intelligence_tasks_hit;fillColor=#ACACAC;gradientColor=none;",52.5,55.5,"","Human Intelligence Tasks HIT",null,null,this.getTagsForStencil("mxgraph.aws3","human intelligence tasks hit","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"requester;fillColor=#ACACAC;gradientColor=none;",
- 55.5,64.5,"","Requester",null,null,this.getTagsForStencil("mxgraph.aws3","requester","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"users;fillColor=#ACACAC;gradientColor=none;",66,63,"","Workers",null,null,this.getTagsForStencil("mxgraph.aws3","workers","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"assignment_task;fillColor=#ACACAC;gradientColor=none;",46.5,63,"","Assignment/Task",null,null,this.getTagsForStencil("mxgraph.aws3",
- "assignment task","aws group amazon web service on demand workforce").join(" "))])};Sidebar.prototype.addAWS3SDKPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3SDKs","AWS / SDK",!1,[this.createVertexTemplateEntry(a+"android;fillColor=#96BF3D;gradientColor=none;",73.5,84,"","Android",null,null,this.getTagsForStencil("mxgraph.aws3","android","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+
- "cli;fillColor=#444444;gradientColor=none;",72,82.5,"","CLI",null,null,this.getTagsForStencil("mxgraph.aws3","cli","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"toolkit_for_eclipse;fillColor=#342074;gradientColor=none;",70.5,78,"","Toolkit for Eclipse",null,null,this.getTagsForStencil("mxgraph.aws3","toolkit for eclipse","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"toolkit_for_visual_studio;fillColor=#53B1CB;gradientColor=none;",
- 70.5,78,"","Toolkit for Visual Studio",null,null,this.getTagsForStencil("mxgraph.aws3","toolkit for visual studio","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"toolkit_for_windows_powershell;fillColor=#737373;gradientColor=none;",70.5,78,"","Toolkit for Windows PowerShell",null,null,this.getTagsForStencil("mxgraph.aws3","toolkit for windows powershell","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+
- "android;fillColor=#CFCFCF;gradientColor=none;",73.5,84,"","iOS",null,null,this.getTagsForStencil("mxgraph.aws3","ios","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#AE1F23;gradientColor=none;",73.5,84,"","Ruby",null,null,this.getTagsForStencil("mxgraph.aws3","ruby","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#FFD44F;gradientColor=none;",73.5,
- 84,"","Python (boto)",null,null,this.getTagsForStencil("mxgraph.aws3","python boto","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#5A69A4;gradientColor=none;",73.5,84,"","PHP",null,null,this.getTagsForStencil("mxgraph.aws3","php","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#115193;gradientColor=none;",73.5,84,"",".NET",null,null,this.getTagsForStencil("mxgraph.aws3",
- "dot net dotnet","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#205E00;gradientColor=none;",73.5,84,"","JavaScript",null,null,this.getTagsForStencil("mxgraph.aws3","js javascript","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#EE472A;gradientColor=none;",73.5,84,"","Java",null,null,this.getTagsForStencil("mxgraph.aws3","java","aws group amazon web service sdk software development kit").join(" ")),
- this.createVertexTemplateEntry(a+"android;fillColor=#4090D7;gradientColor=none;",73.5,84,"","Xamarin",null,null,this.getTagsForStencil("mxgraph.aws3","xamarin","aws group amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#8CC64F;gradientColor=none;",73.5,84,"","Node.js",null,null,this.getTagsForStencil("mxgraph.aws3","node js nodejs","aws group amazon web service sdk software development kit").join(" "))])};Sidebar.prototype.addAWS3SecurityIdentityAndCompliancePalette=
- function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Security Identity and Compliance","AWS / Security Identity and Compliance",!1,[this.createVertexTemplateEntry(a+"inspector;fillColor=#759C3E;gradientColor=none;",67.5,81,"","Inspector",null,null,this.getTagsForStencil("mxgraph.aws3","inspector","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"artifact;fillColor=#759C3E;gradientColor=none;",
- 75,90,"","Artifact",null,null,this.getTagsForStencil("mxgraph.aws3","artifact","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"certificate_manager;fillColor=#759C3E;gradientColor=none;",76.5,61.5,"","Certificate Manager",null,null,this.getTagsForStencil("mxgraph.aws3","certificate manager","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"cloudhsm;fillColor=#759C3E;gradientColor=none;",
- 73.5,84,"","CloudHSM",null,null,this.getTagsForStencil("mxgraph.aws3","cloudhsm cloud hsm","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"directory_service;fillColor=#759C3E;gradientColor=none;",67.5,81,"","Directory Service",null,null,this.getTagsForStencil("mxgraph.aws3","directory service","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"iam;fillColor=#759C3E;gradientColor=none;",
- 42,81,"","IAM",null,null,this.getTagsForStencil("mxgraph.aws3","iam","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"kms;fillColor=#759C3E;gradientColor=none;",76.5,93,"","KMS",null,null,this.getTagsForStencil("mxgraph.aws3","kms","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"shield;fillColor=#759C3E;gradientColor=none;",76.5,70.5,"","Shield",null,null,this.getTagsForStencil("mxgraph.aws3",
- "shield","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"organizations;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Organizations",null,null,this.getTagsForStencil("mxgraph.aws3","organizations","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"waf;fillColor=#759C3E;gradientColor=none;",76.5,93,"","WAF",null,null,this.getTagsForStencil("mxgraph.aws3","waf","aws group amazon web service security and identity compliance").join(" ")),
- this.createVertexTemplateEntry(a+"agent;fillColor=#759C3E;gradientColor=none;",69,72,"","Agent",null,null,this.getTagsForStencil("mxgraph.aws3","agent","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"certificate_manager_2;fillColor=#759C3E;gradientColor=none;",73.5,63,"","Certificate Manager",null,null,this.getTagsForStencil("mxgraph.aws3","certificate manager","aws group amazon web service security and identity compliance").join(" ")),
- this.createVertexTemplateEntry(a+"add_on;fillColor=#759C3E;gradientColor=none;",49.5,27,"","Add-On",null,null,this.getTagsForStencil("mxgraph.aws3","add on","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"sts;fillColor=#759C3E;gradientColor=none;",61.5,34.5,"","STS",null,null,this.getTagsForStencil("mxgraph.aws3","sts","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"sts_2;fillColor=#759C3E;gradientColor=none;",
- 46.5,60,"","STS",null,null,this.getTagsForStencil("mxgraph.aws3","sts","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"data_encryption_key;fillColor=#7D7C7C;gradientColor=none;",46.5,60,"","Data Encryption Key",null,null,this.getTagsForStencil("mxgraph.aws3","data encryption key","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"encrypted_data;fillColor=#7D7C7C;gradientColor=none;",
- 43.5,55.5,"","Encrypted Data",null,null,this.getTagsForStencil("mxgraph.aws3","encrypted data","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"long_term_security_credential;fillColor=#ffffff;gradientColor=none;",60,48,"","Long Term Security Credential",null,null,this.getTagsForStencil("mxgraph.aws3","long term security credential","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+
- "mfa_token;fillColor=#7D7C7C;gradientColor=none;",61.5,61.5,"","MFA Token",null,null,this.getTagsForStencil("mxgraph.aws3","mfa token","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"permissions_2;fillColor=#D2D3D3;gradientColor=none;",46.5,63,"","Permissions",null,null,this.getTagsForStencil("mxgraph.aws3","permissions","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"role;fillColor=#759C3E;gradientColor=none;",
- 94.5,79.5,"","Role",null,null,this.getTagsForStencil("mxgraph.aws3","role","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"temporary_security_credential;fillColor=#ffffff;gradientColor=none;",67.5,60,"","Temporary Security Credential",null,null,this.getTagsForStencil("mxgraph.aws3","temporary security credential","aws group amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"filtering_rule;fillColor=#759C3E;gradientColor=none;",
- 69,72,"","Filtering Rule",null,null,this.getTagsForStencil("mxgraph.aws3","filtering rule","aws group amazon web service security and identity compliance").join(" "))])};Sidebar.prototype.addAWS3StoragePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Storage","AWS / Storage",!1,[this.createVertexTemplateEntry(a+"s3;fillColor=#E05243;gradientColor=none;",76.5,93,"","S3",null,null,this.getTagsForStencil("mxgraph.aws3","s3","aws group amazon web service storage").join(" ")),
- this.createVertexTemplateEntry(a+"glacier;fillColor=#E05243;gradientColor=none;",76.5,93,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws3","glacier","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"storage_gateway;fillColor=#E05243;gradientColor=none;",76.5,93,"","Storage Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","storage gateway","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"efs;fillColor=#E05243;gradientColor=none;",
- 76.5,93,"","EFS",null,null,this.getTagsForStencil("mxgraph.aws3","efs","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"archive;fillColor=#E05243;gradientColor=none;",57,75,"","Archive",null,null,this.getTagsForStencil("mxgraph.aws3","archive","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"vault;fillColor=#E05243;gradientColor=none;",54,75,"","Vault",null,null,this.getTagsForStencil("mxgraph.aws3","vault","aws group amazon web service storage").join(" ")),
- this.createVertexTemplateEntry(a+"bucket;fillColor=#E05243;gradientColor=none;",60,61.5,"","Bucket",null,null,this.getTagsForStencil("mxgraph.aws3","bucket","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"bucket_with_objects;fillColor=#E05243;gradientColor=none;",60,61.5,"","Bucket with Objects",null,null,this.getTagsForStencil("mxgraph.aws3","bucket with objects","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"object;fillColor=#E05243;gradientColor=none;",
- 42,45,"","Object",null,null,this.getTagsForStencil("mxgraph.aws3","object","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"virtual_tape_library;fillColor=#E05243;gradientColor=none;",60,73.5,"","Virtual Tape Library",null,null,this.getTagsForStencil("mxgraph.aws3","virtual tape library","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"cached_volume;fillColor=#E05243;gradientColor=none;",60,73.5,"","Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws3",
- "cached volume","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"non_cached_volume;fillColor=#E05243;gradientColor=none;",60,73.5,"","Non-Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws3","non cached volume","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"snapshot;fillColor=#E05243;gradientColor=none;",60,73.5,"","Snapshot",null,null,this.getTagsForStencil("mxgraph.aws3","snapshot","aws group amazon web service storage").join(" ")),
- this.createVertexTemplateEntry(a+"volume;fillColor=#E05243;gradientColor=none;",52.5,75,"","Volume",null,null,this.getTagsForStencil("mxgraph.aws3","volume","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"snowball;fillColor=#E05243;gradientColor=none;",67.5,81,"","Snowball",null,null,this.getTagsForStencil("mxgraph.aws3","snowball","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"efs_share;fillColor=#E05243;gradientColor=none;",
- 69,63,"","EFS Share",null,null,this.getTagsForStencil("mxgraph.aws3","efs share","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"import_export;fillColor=#E05243;gradientColor=none;",64.5,63,"","Import/Export",null,null,this.getTagsForStencil("mxgraph.aws3","import export","aws group amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"volume;fillColor=#E05243;gradientColor=none;",52.5,75,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3",
- "ebs","aws group amazon web service storage").join(" "))])}})();(function(){Sidebar.prototype.addAWS3DPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=1;dashed=0;shape=mxgraph.aws3d.";this.addPaletteFunctions("aws3d","AWS 3D",!1,[this.createVertexTemplateEntry(a+"ami;aspect=fixed;fillColor=#E8CA45;strokeColor=#FFF215;",92,60,"","AMI",null,null,this.getTagsForStencil("mxgraph.aws3d","ami","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+
- "ami2;aspect=fixed;fillColor=#FF9900;strokeColor=#ffffff;",74,50,"","AMI",null,null,this.getTagsForStencil("mxgraph.aws3d","ami","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"application;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",62,68.8,"","Application",null,null,this.getTagsForStencil("mxgraph.aws3d","application","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"application2;fillColor=#86E83A;strokeColor=#B0F373;aspect=fixed;",62,53,
- "","Application",null,null,this.getTagsForStencil("mxgraph.aws3d","application","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,124,"","EC2 Instance",null,null,this.getTagsForStencil("mxgraph.aws3d","ec2 instance","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"client;aspect=fixed;strokeColor=none;fillColor=#777777;",60,104,"","Client",null,null,this.getTagsForStencil("mxgraph.aws3d",
- "client","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"cloudfront;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",103.8,100*1.698,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws3d","cloudfront","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"file;aspect=fixed;strokeColor=#2d6195;fillColor=#ffffff;",30.8,70.6,"","Content",null,null,this.getTagsForStencil("mxgraph.aws3d","content","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+
- "customerGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d","customer gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dataCenter;fillColor=#ffffff;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Data Center",null,null,this.getTagsForStencil("mxgraph.aws3d","data center","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dataServer;fillColor=#ffffff;strokeColor=#5E5E5E;aspect=fixed;",
- 123,106,"","Data Server",null,null,this.getTagsForStencil("mxgraph.aws3d","data server","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"decider;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",74,50,"","Decider",null,null,this.getTagsForStencil("mxgraph.aws3d","decider","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dynamoDb;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",181.5,210,"","DynamoDB",null,null,this.getTagsForStencil("mxgraph.aws3d",
- "dynamodb db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"ebs;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,60,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3d","ebs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"ebs2;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,60,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3d","ebs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"elasticBeanstalk;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",
- 182,140,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic beanstalk","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"elasticLoadBalancing;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,88.17,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic load balancing elb","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"elasticMapReduce;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",
- 123,133,"","Elastic MapReduce",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic mapreduce","aws 3d amazon web service").join(" ")),this.addEntry("aws 3d amazon web serviceelasticache",function(){var b=new mxCell("",new mxGeometry(70,0,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,40,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");d.vertex=!0;var c=new mxCell("",new mxGeometry(140,
- 40,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");c.vertex=!0;var e=new mxCell("",new mxGeometry(70,80,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");e.vertex=!0;return sb.createVertexTemplateFromCells([b,d,c,e],264,204,"Elasticache")}),this.createVertexTemplateEntry(a+"email;aspect=fixed;strokeColor=#292929;fillColor=#ffffff;",43,100*.57,"","Email",null,null,this.getTagsForStencil("mxgraph.aws3d","email","aws 3d amazon web service").join(" ")),
- this.createVertexTemplateEntry(a+"email_service;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",151,192,"","Email Service",null,null,this.getTagsForStencil("mxgraph.aws3d","email service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"file;aspect=fixed;strokeColor=#292929;fillColor=#ffffff;",30.8,70.6,"","File",null,null,this.getTagsForStencil("mxgraph.aws3d","file","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"glacier;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",
- 181,192,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws3d","glacier","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"image;strokeColor=none;fillColor=#777777;aspect=fixed;",50,86,"","Image/Video",null,null,this.getTagsForStencil("mxgraph.aws3d","image video","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"internetGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d",
- "internet gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"lambda;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,109.5,"","Lambda",null,null,this.getTagsForStencil("mxgraph.aws3d","lambda","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"mobile_worker;aspect=fixed;strokeColor=none;fillColor=#777777;",36,90,"","Mobile Worker",null,null,this.getTagsForStencil("mxgraph.aws3d","mobile worker","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+
- "oracleDataCenter;fillColor=#ffffff;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Oracle Data Center",null,null,this.getTagsForStencil("mxgraph.aws3d","oracle data center","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"oracleDbServer;fillColor=#ffffff;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","Oracle Database Server",null,null,this.getTagsForStencil("mxgraph.aws3d","oracle database server db","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+
- "oracleServer;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Oracle Server",null,null,this.getTagsForStencil("mxgraph.aws3d","oracle server","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"rds;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","RDS",null,null,this.getTagsForStencil("mxgraph.aws3d","rds","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"rdsMaster;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,
- 133,"","RDS Master",null,null,this.getTagsForStencil("mxgraph.aws3d","rds master","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"rdsSlave;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","RDS Slave",null,null,this.getTagsForStencil("mxgraph.aws3d","rds slave","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"redshift;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",150,190,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws3d",
- "redshift","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"route53;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",117.17,134.4,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws3d","route","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"s3;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",231.5,239,"","S3",null,null,this.getTagsForStencil("mxgraph.aws3d","s3","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+
- "s3Bucket;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",61.5,100*.638,"","S3 Bucket",null,null,this.getTagsForStencil("mxgraph.aws3d","s3 bucket","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"searchEngine;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",180,192,"","Search Engine",null,null,this.getTagsForStencil("mxgraph.aws3d","search engine","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"secureConnection;fillColor=#000000;strokeColor=#ffffff;aspect=fixed;",
- 100*.57,34,"","Secure Connection",null,null,this.getTagsForStencil("mxgraph.aws3d","secure connection","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"securityTokenService;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",180,192,"","Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws3d","security token service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"simpleDb;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,
- 133,"","SimpleDB",null,null,this.getTagsForStencil("mxgraph.aws3d","simpledb simple db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"simpleDb2;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",181.5,192.6,"","SimpleDB",null,null,this.getTagsForStencil("mxgraph.aws3d","simpledb simple db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"snapshot;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",92,60,"","Snapshot",null,null,
- this.getTagsForStencil("mxgraph.aws3d","snapshot","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"instance;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,97,"","Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws3d","spot instance","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"sqs;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",184,212.75,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws3d","sqs","aws 3d amazon web service").join(" ")),
- this.createVertexTemplateEntry(a+"end_user;strokeColor=none;fillColor=#777777;aspect=fixed;",49,100.46,"","User",null,null,this.getTagsForStencil("mxgraph.aws3d","user","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"vpcGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","VPC Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d","vpc gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"worker;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",
- 74,50,"","Worker",null,null,this.getTagsForStencil("mxgraph.aws3d","worker","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"workflowService;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",100*1.822,148.4,"","Workflow Service",null,null,this.getTagsForStencil("mxgraph.aws3d","workflow service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowNE;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow NE",null,null,this.getTagsForStencil("mxgraph.aws3d",
- "arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowSE;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow SE",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowSW;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow SW",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),
- this.createVertexTemplateEntry(a+"arrowNW;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow NW",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowlessNE;fillColor=#000000;aspect=fixed;",31.6,18,"","Arrowless NE",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dashedEdgeDouble;fillColor=#000000;aspect=fixed;",
- 31.6,18,"","Dashed Edge Double Arrow",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dashedArrowlessEdge;fillColor=#000000;aspect=fixed;",31.6,18,"","Dashed Arrowless Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dashedEdge;fillColor=#000000;aspect=fixed;",31.6,18,"","Dashed Edge",
- null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"flatEdge;fillColor=#000000;aspect=fixed;",63.2,36,"","Flat Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"flatDoubleEdge;fillColor=#000000;aspect=fixed;",252.8,144,"","Flat Double Edge",null,null,this.getTagsForStencil("mxgraph.aws3d",
- "arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowhead;aspect=fixed;",19,11,"","Arrowhead",null,null,this.getTagsForStencil("mxgraph.aws3d","arrowhead","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"edge;aspect=fixed;",97,107.4,"","Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","edge","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"reference;aspect=fixed;",29.5,19.5,"","Reference",
- null,null,this.getTagsForStencil("mxgraph.aws3d","reference","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"spot;aspect=fixed;",62,36,"","Spot",null,null,this.getTagsForStencil("mxgraph.aws3d","spot","aws 3d amazon web service").join(" ")),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;",50,100,"isometric edge","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;elbow=vertical;",50,100,"isometric edge",
- "Isometric Edge 2")])}})();(function(){Sidebar.prototype.addAzurePalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.";this.addPaletteFunctions("azure",mxResources.get("azure"),!1,[this.createVertexTemplateEntry(a+"access_control;",50,50,"","Access Control",null,null,this.getTagsForStencil("mxgraph.azure","access_control","").join(" ")),this.createVertexTemplateEntry(a+"automation;",50,45,"","Automation",
- null,null,this.getTagsForStencil("mxgraph.azure","automation","").join(" ")),this.createVertexTemplateEntry(a+"autoscale;",50,30,"","AutoScale",null,null,this.getTagsForStencil("mxgraph.azure","autoscale","").join(" ")),this.createVertexTemplateEntry(a+"azure_active_directory;",47.5,50,"","Azure Active Directory",null,null,this.getTagsForStencil("mxgraph.azure","azure_active_directory","").join(" ")),this.createVertexTemplateEntry(a+"azure_alert;",50,42.5,"","Azure Alert",null,null,this.getTagsForStencil("mxgraph.azure",
- "azure_alert","").join(" ")),this.createVertexTemplateEntry(a+"azure_cache;",45,50,"","Azure Cache",null,null,this.getTagsForStencil("mxgraph.azure","azure_cache","").join(" ")),this.createVertexTemplateEntry(a+"azure_instance;",50,50,"","Azure Instance",null,null,this.getTagsForStencil("mxgraph.azure","azure_instance","").join(" ")),this.createVertexTemplateEntry(a+"azure_load_balancer;",50,35,"","Azure Load Balancer",null,null,this.getTagsForStencil("mxgraph.azure","azure_load_balancer","").join(" ")),
- this.createVertexTemplateEntry(a+"azure_marketplace;",40,50,"","Azure Marketplace",null,null,this.getTagsForStencil("mxgraph.azure","azure_marketplace","").join(" ")),this.createVertexTemplateEntry(a+"azure_sdk;",50,47.5,"","Azure SDK",null,null,this.getTagsForStencil("mxgraph.azure","azure_sdk","").join(" ")),this.createVertexTemplateEntry(a+"azure_subscription;",50,35,"","Azure Subscription",null,null,this.getTagsForStencil("mxgraph.azure","azure_subscription","").join(" ")),this.createVertexTemplateEntry(a+
- "azure_website;",50,50,"","Azure Website",null,null,this.getTagsForStencil("mxgraph.azure","azure_website","").join(" ")),this.createVertexTemplateEntry(a+"backup_service;",50,45,"","Backup Service",null,null,this.getTagsForStencil("mxgraph.azure","backup_service","").join(" ")),this.createVertexTemplateEntry(a+"bitbucket_code_source;",42.5,50,"","BitBucket Code Source",null,null,this.getTagsForStencil("mxgraph.azure","bitbucket_code_source","").join(" ")),this.createVertexTemplateEntry(a+"biztalk_services;",
- 50,50,"","BizTalk Services",null,null,this.getTagsForStencil("mxgraph.azure","biztalk_services","").join(" ")),this.createVertexTemplateEntry(a+"certificate;",50,40,"","Certificate",null,null,this.getTagsForStencil("mxgraph.azure","certificate","").join(" ")),this.createVertexTemplateEntry(a+"cloud;",50,32.5,"","Cloud",null,null,this.getTagsForStencil("mxgraph.azure","cloud","").join(" ")),this.createVertexTemplateEntry(a+"cloud_service;",50,40,"","Cloud Service",null,null,this.getTagsForStencil("mxgraph.azure",
- "cloud_service","").join(" ")),this.createVertexTemplateEntry(a+"cloud_services_configuration_file;",47.5,50,"","Cloud Services Configuration File",null,null,this.getTagsForStencil("mxgraph.azure","cloud_services_configuration_file","").join(" ")),this.createVertexTemplateEntry(a+"cloud_service_package_file;",42.5,50,"","Cloud Service Package File",null,null,this.getTagsForStencil("mxgraph.azure","cloud_service_package_file","").join(" ")),this.createVertexTemplateEntry(a+"codeplex_code_source;",
- 50,37.5,"","CodePlex Code Source",null,null,this.getTagsForStencil("mxgraph.azure","codeplex_code_source","").join(" ")),this.createVertexTemplateEntry(a+"code_file;",47.5,50,"","Code File",null,null,this.getTagsForStencil("mxgraph.azure","code_file","").join(" ")),this.createVertexTemplateEntry(a+"computer;",50,45,"","Computer",null,null,this.getTagsForStencil("mxgraph.azure","computer","").join(" ")),this.createVertexTemplateEntry(a+"content_delivery_network;",50,32.5,"","Content Delivery Network",
- null,null,this.getTagsForStencil("mxgraph.azure","content_delivery_network","").join(" ")),this.createVertexTemplateEntry(a+"database;",37.5,50,"","Database",null,null,this.getTagsForStencil("mxgraph.azure","database","").join(" ")),this.createVertexTemplateEntry(a+"dropbox_code_source;",50,47.5,"","DropBox Code Source",null,null,this.getTagsForStencil("mxgraph.azure","dropbox_code_source","").join(" ")),this.createVertexTemplateEntry(a+"enterprise;",30,50,"","Enterprise",null,null,this.getTagsForStencil("mxgraph.azure",
- "enterprise","").join(" ")),this.createVertexTemplateEntry(a+"express_route;",50,30,"","Express Route",null,null,this.getTagsForStencil("mxgraph.azure","express_route","").join(" ")),this.createVertexTemplateEntry(a+"file;",47.5,50,"","File",null,null,this.getTagsForStencil("mxgraph.azure","file","").join(" ")),this.createVertexTemplateEntry(a+"file_2;",47.5,50,"","File 2",null,null,this.getTagsForStencil("mxgraph.azure","file_2","").join(" ")),this.createVertexTemplateEntry(a+"github_code;",50,50,
- "","GitHub Code",null,null,this.getTagsForStencil("mxgraph.azure","github_code","").join(" ")),this.createVertexTemplateEntry(a+"git_repository;",50,50,"","Git Repository",null,null,this.getTagsForStencil("mxgraph.azure","git_repository","").join(" ")),this.createVertexTemplateEntry(a+"hdinsight;",50,50,"","HDInsight",null,null,this.getTagsForStencil("mxgraph.azure","hdinsight","").join(" ")),this.createVertexTemplateEntry(a+"healthy;",50,45,"","Healthy",null,null,this.getTagsForStencil("mxgraph.azure",
- "healthy","").join(" ")),this.createVertexTemplateEntry(a+"health_monitoring;",50,42.5,"","Health Monitoring",null,null,this.getTagsForStencil("mxgraph.azure","health_monitoring","").join(" ")),this.createVertexTemplateEntry(a+"hyper_v_recovery_manager;",50,45,"","Hyper-V Recovery Manager",null,null,this.getTagsForStencil("mxgraph.azure","hyper_v_recovery_manager","").join(" ")),this.createVertexTemplateEntry(a+"laptop;",50,30,"","Laptop",null,null,this.getTagsForStencil("mxgraph.azure","laptop",
- "").join(" ")),this.createVertexTemplateEntry(a+"load_balancer_generic;",37.5,50,"","Load Balancer Generic",null,null,this.getTagsForStencil("mxgraph.azure","load_balancer_generic","").join(" ")),this.createVertexTemplateEntry(a+"media_service;",45,50,"","Media Service",null,null,this.getTagsForStencil("mxgraph.azure","media_service","").join(" ")),this.createVertexTemplateEntry(a+"message;",50,37.5,"","Message",null,null,this.getTagsForStencil("mxgraph.azure","message","").join(" ")),this.createVertexTemplateEntry(a+
- "mobile;",35,50,"","Mobile",null,null,this.getTagsForStencil("mxgraph.azure","mobile","").join(" ")),this.createVertexTemplateEntry(a+"mobile_services;",32.5,50,"","Mobile Services",null,null,this.getTagsForStencil("mxgraph.azure","mobile_services","").join(" ")),this.createVertexTemplateEntry(a+"multi_factor_authentication;",25,50,"","Multi Factor Authentication",null,null,this.getTagsForStencil("mxgraph.azure","multi_factor_authentication","").join(" ")),this.createVertexTemplateEntry(a+"mysql_database;",
- 37.5,50,"","MySQL Database",null,null,this.getTagsForStencil("mxgraph.azure","mysql_database","").join(" ")),this.createVertexTemplateEntry(a+"notification_hub;",50,50,"","Notification Hub",null,null,this.getTagsForStencil("mxgraph.azure","notification_hub","").join(" ")),this.createVertexTemplateEntry(a+"notification_topic;",50,50,"","Notification Topic",null,null,this.getTagsForStencil("mxgraph.azure","notification_topic","").join(" ")),this.createVertexTemplateEntry(a+"operating_system_image;",
- 50,50,"","Operating System Image",null,null,this.getTagsForStencil("mxgraph.azure","operating_system_image","").join(" ")),this.createVertexTemplateEntry(a+"powershell_file;",50,50,"","PowerShell File",null,null,this.getTagsForStencil("mxgraph.azure","powershell_file","").join(" ")),this.createVertexTemplateEntry(a+"queue_generic;",50,15,"","Queue Generic",null,null,this.getTagsForStencil("mxgraph.azure","queue_generic","").join(" ")),this.createVertexTemplateEntry(a+"rdp_remoting_file;",47.5,50,
- "","RDP Remoting File",null,null,this.getTagsForStencil("mxgraph.azure","rdp_remoting_file","").join(" ")),this.createVertexTemplateEntry(a+"scheduler;",40,50,"","Scheduler",null,null,this.getTagsForStencil("mxgraph.azure","scheduler","").join(" ")),this.createVertexTemplateEntry(a+"script_file;",47.5,50,"","Script File",null,null,this.getTagsForStencil("mxgraph.azure","script_file","").join(" ")),this.createVertexTemplateEntry(a+"server;",50,15,"","Server",null,null,this.getTagsForStencil("mxgraph.azure",
- "server","").join(" ")),this.createVertexTemplateEntry(a+"server_rack;",50,50,"","Server Rack",null,null,this.getTagsForStencil("mxgraph.azure","server_rack","").join(" ")),this.createVertexTemplateEntry(a+"service_bus;",45,50,"","Service Bus",null,null,this.getTagsForStencil("mxgraph.azure","service_bus","").join(" ")),this.createVertexTemplateEntry(a+"service_bus_queues;",42.5,50,"","Service Bus Queues",null,null,this.getTagsForStencil("mxgraph.azure","service_bus_queues","").join(" ")),this.createVertexTemplateEntry(a+
- "service_bus_relay;",40,50,"","Service Bus Relay",null,null,this.getTagsForStencil("mxgraph.azure","service_bus_relay","").join(" ")),this.createVertexTemplateEntry(a+"service_bus_topics_and_subscriptions;",45,50,"","Service Bus Topics and Subscriptions",null,null,this.getTagsForStencil("mxgraph.azure","service_bus_topics_and_subscriptions","").join(" ")),this.createVertexTemplateEntry(a+"service_endpoint;",50,20,"","Service Endpoint",null,null,this.getTagsForStencil("mxgraph.azure","service_endpoint",
- "").join(" ")),this.createVertexTemplateEntry(a+"sql_database;",37.5,50,"","SQL Database",null,null,this.getTagsForStencil("mxgraph.azure","sql_database","").join(" ")),this.createVertexTemplateEntry(a+"sql_database_sql_azure;",47.5,50,"","SQL Database SQL Azure",null,null,this.getTagsForStencil("mxgraph.azure","sql_database_sql_azure","").join(" ")),this.createVertexTemplateEntry(a+"sql_datasync;",37.5,50,"","SQL DataSync",null,null,this.getTagsForStencil("mxgraph.azure","sql_datasync","").join(" ")),
- this.createVertexTemplateEntry(a+"sql_reporting;",40,50,"","SQL Reporting",null,null,this.getTagsForStencil("mxgraph.azure","sql_reporting","").join(" ")),this.createVertexTemplateEntry(a+"startup_task;",47.5,50,"","Startup Task",null,null,this.getTagsForStencil("mxgraph.azure","startup_task","").join(" ")),this.createVertexTemplateEntry(a+"storage;",50,40,"","Storage",null,null,this.getTagsForStencil("mxgraph.azure","storage","").join(" ")),this.createVertexTemplateEntry(a+"storage_blob;",50,45,
- "","Storage Blob",null,null,this.getTagsForStencil("mxgraph.azure","storage_blob","").join(" ")),this.createVertexTemplateEntry(a+"storage_queue;",50,45,"","Storage Queue",null,null,this.getTagsForStencil("mxgraph.azure","storage_queue","").join(" ")),this.createVertexTemplateEntry(a+"storage_table;",50,45,"","Storage Table",null,null,this.getTagsForStencil("mxgraph.azure","storage_table","").join(" ")),this.createVertexTemplateEntry(a+"storsimple;",50,45,"","StorSimple",null,null,this.getTagsForStencil("mxgraph.azure",
- "storsimple","").join(" ")),this.createVertexTemplateEntry(a+"tablet;",50,37.5,"","Tablet",null,null,this.getTagsForStencil("mxgraph.azure","tablet","").join(" ")),this.createVertexTemplateEntry(a+"team_foundation_service;",50,37.5,"","Team Foundation Service",null,null,this.getTagsForStencil("mxgraph.azure","team_foundation_service","").join(" ")),this.createVertexTemplateEntry(a+"traffic_manager;",50,50,"","Traffic Manager",null,null,this.getTagsForStencil("mxgraph.azure","traffic_manager","").join(" ")),
- this.createVertexTemplateEntry(a+"unidentified_code_object;",50,42.5,"","Unidentified Code Object",null,null,this.getTagsForStencil("mxgraph.azure","unidentified_code_object","").join(" ")),this.createVertexTemplateEntry(a+"user;",47.5,50,"","User",null,null,this.getTagsForStencil("mxgraph.azure","user","").join(" ")),this.createVertexTemplateEntry(a+"vhd;",40,50,"","VHD",null,null,this.getTagsForStencil("mxgraph.azure","vhd","").join(" ")),this.createVertexTemplateEntry(a+"vhd_data_disk;",37.5,50,
- "","VHD Data Disk",null,null,this.getTagsForStencil("mxgraph.azure","vhd_data_disk","").join(" ")),this.createVertexTemplateEntry(a+"virtual_machine;",50,40,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.azure","virtual_machine","").join(" ")),this.createVertexTemplateEntry(a+"virtual_machine_feature;",50,45,"","Virtual Machine Feature",null,null,this.getTagsForStencil("mxgraph.azure","virtual_machine_feature","").join(" ")),this.createVertexTemplateEntry(a+"virtual_network;",50,50*
- .55,"","Virtual Network",null,null,this.getTagsForStencil("mxgraph.azure","virtual_network","").join(" ")),this.createVertexTemplateEntry(a+"visual_studio_online;",50,37.5,"","Visual Studio Online",null,null,this.getTagsForStencil("mxgraph.azure","visual_studio_online","").join(" ")),this.createVertexTemplateEntry(a+"wadcfg_diagnostics_file;",47.5,50,"","WADCFG Diagnostics File",null,null,this.getTagsForStencil("mxgraph.azure","wadcfg_diagnostics_file","").join(" ")),this.createVertexTemplateEntry(a+
- "website_generic;",50,42.5,"","Website Generic",null,null,this.getTagsForStencil("mxgraph.azure","website_generic","").join(" ")),this.createVertexTemplateEntry(a+"web_role;",50,40,"","Web Role",null,null,this.getTagsForStencil("mxgraph.azure","web_role","").join(" ")),this.createVertexTemplateEntry(a+"web_roles;",50*1.1,45,"","Web Roles",null,null,this.getTagsForStencil("mxgraph.azure","web_roles","").join(" ")),this.createVertexTemplateEntry(a+"worker_role;",50,40,"","Worker Role",null,null,this.getTagsForStencil("mxgraph.azure",
- "worker_role","").join(" ")),this.createVertexTemplateEntry(a+"worker_roles;",50*1.1,45,"","Worker Roles",null,null,this.getTagsForStencil("mxgraph.azure","worker_roles","").join(" "))])}})();(function(){Sidebar.prototype.addBasicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;strokeWidth=2;shape=mxgraph.basic.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;strokeWidth=2;shape=";this.addPaletteFunctions("basic",mxResources.get("basic"),!1,[this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;fillColor=none;",120,60,"",
- "Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;top=0;fillColor=none;routingCenterY=0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",
- 120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=1;right=1;top=0;bottom=1;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createEdgeTemplateEntry("shape=filledEdge;fixDash=1;rounded=0;endArrow=none;strokeWidth=10;fillColor=#ffffff;edgeStyle=orthogonalEdgeStyle;",120,60,
- "","Filled Edge"),this.createVertexTemplateEntry(a+"4_point_star",100,100,"","4 Point Star",null,null,this.getTagsForStencil("mxgraph.basic","4_point_star","").join(" ")),this.createVertexTemplateEntry(a+"6_point_star",100,90,"","6 Point Star",null,null,this.getTagsForStencil("mxgraph.basic","6_point_star","").join(" ")),this.createVertexTemplateEntry(a+"8_point_star",100,100,"","8 Point Star",null,null,this.getTagsForStencil("mxgraph.basic","8_point_star","").join(" ")),this.createVertexTemplateEntry(a+
- "banner",100,50,"","Banner",null,null,this.getTagsForStencil("mxgraph.basic","banner","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;shape=mxgraph.basic.cloud_callout",90,60,"","Cloud Callout",null,null,this.getTagsForStencil("mxgraph.basic","cloud_callout","").join(" ")),this.createVertexTemplateEntry(a+"cone",100,100,"","Cone",null,null,this.getTagsForStencil("mxgraph.basic","cone","").join(" ")),this.createVertexTemplateEntry(a+"cross2;dx=15;",100,100,"","Cross",
- null,null,this.getTagsForStencil("mxgraph.basic","cross","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;shape=mxgraph.basic.document",100,100,"","Document",null,null,this.getTagsForStencil("mxgraph.basic","document","").join(" ")),this.createVertexTemplateEntry(a+"flash",60,100,"","Flash",null,null,this.getTagsForStencil("mxgraph.basic","flash","").join(" ")),this.createVertexTemplateEntry(a+"half_circle",100,50,"","Half Circle",null,null,this.getTagsForStencil("mxgraph.basic",
- "half_circle","").join(" ")),this.createVertexTemplateEntry(a+"heart",100,100,"","Heart",null,null,this.getTagsForStencil("mxgraph.basic","heart","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;shape=mxgraph.basic.loud_callout",100,60,"","Loud Callout",null,null,this.getTagsForStencil("mxgraph.basic","loud_callout","").join(" ")),this.createVertexTemplateEntry(a+"moon",75,100,"","Moon",null,null,this.getTagsForStencil("mxgraph.basic","moon","").join(" ")),this.createVertexTemplateEntry(a+
- "no_symbol",100,100,"","No Symbol",null,null,this.getTagsForStencil("mxgraph.basic","no_symbol","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;shape=mxgraph.basic.octagon",100,100,"","Octagon",null,null,this.getTagsForStencil("mxgraph.basic","octagon","").join(" ")),this.createVertexTemplateEntry(a+"orthogonal_triangle",100,100,"","Orthogonal Triangle",null,null,this.getTagsForStencil("mxgraph.basic","orthogonal_triangle","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;shape=mxgraph.basic.oval_callout",
- 100,60,"","Oval Callout",null,null,this.getTagsForStencil("mxgraph.basic","oval_callout","").join(" ")),this.createVertexTemplateEntry(b+"parallelogram;whiteSpace=wrap;align=center;size=0.24;",100,60,"","Parallelepiped",null,null,this.getTagsForStencil("mxgraph.basic","parallelepiped","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;shape=mxgraph.basic.pentagon",100,90,"","Pentagon",null,null,this.getTagsForStencil("mxgraph.basic","pentagon","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;shape=mxgraph.basic.rectCallout;dx=30;dy=15;boundedLbl=1;",
- 100,60,"","Rectangular Callout",null,null,this.getTagsForStencil("mxgraph.basic","rectangular_callout","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;shape=mxgraph.basic.roundRectCallout;dx=30;dy=15;size=5;boundedLbl=1;",100,60,"","Rounded Rectangular Callout",null,null,this.getTagsForStencil("mxgraph.basic","rectangular_callout","").join(" ")),this.createVertexTemplateEntry(a+"smiley",100,100,"","Smiley",null,null,this.getTagsForStencil("mxgraph.basic","smiley",
- "").join(" ")),this.createVertexTemplateEntry(a+"star",100,95,"","Star",null,null,this.getTagsForStencil("mxgraph.basic","star","").join(" ")),this.createVertexTemplateEntry(a+"sun",100,100,"","Sun",null,null,this.getTagsForStencil("mxgraph.basic","sun","").join(" ")),this.createVertexTemplateEntry(a+"tick",85,100,"","Tick",null,null,this.getTagsForStencil("mxgraph.basic","tick","").join(" ")),this.createVertexTemplateEntry(b+"trapezoid;size=0.24;",100,100,"","Trapezoid",null,null,this.getTagsForStencil("mxgraph.basic",
- "trapezoid","").join(" ")),this.createVertexTemplateEntry(a+"wave2;dy=0.3;",100,60,"","Wave",null,null,this.getTagsForStencil("mxgraph.basic","wave","").join(" ")),this.createVertexTemplateEntry(a+"x",100,100,"","X",null,null,this.getTagsForStencil("mxgraph.basic","x","").join(" "))])}})();(function(){Sidebar.prototype.addBootstrapPalette=function(){var a=this,b=[this.addDataEntry("bootstrap button bar dark",800,40,"Button Bar (Dark)","5ZhRb5swEMc/DY+NDKaEvIZ2fdm0qpH27gUDVg2HjNuQfvod2EnJnGxRWqJUsRQJn332+ffnbBOPJmX7oFhd/ICUS4/eezRRANo8lW3CpfQCIlKP3nlBQPDnBd8OtPp9K6mZ4pU+xiEwDq9MvnBjMYZGr6U1FLrEsO58j86bgqWwwgrBSsqagqe2gi11179s824tk9+4gkbj40TxJUYyz4SUCUhQ/aA06EvnqBU8801LBRWOMl8VQvNFzZbdkCscBW02UK40bw8utjfZlT5wKLlWa+yyEqkuTI+YGCCk4CIvrFtobawx9Xzr+o4OHyy9/SSpQzKBsmbV+jSgQ16Wyl5U/wcPlR6An/XF2hfirfP1w48wD45gPg7y0EH+yKFGzGd5hUlfDunyF/asL11nJCyq/MmSoGQE9O0u9oESs5GUuHWUiMNPV8HKoOxbG7uSZNkpkpyMP/wnfuuwttvw5NZRY4NtqIYfGZvikmnxynfG2ieRnf8RBIa1nfyGkp3pb+LdESDLGq4diberOEr1yFH9l4AubKiaC931zph+/tTNP98fKQGnjhTh55/kF5eA0ZUnYOyovtAYdKPF8lITcKRk23fYjXXtmLnUuda4q1wZcxq5zKcjMd/sm8O7ngIkd+Jl76syj87J3HeYf4ccDT9f9HVRn9LRqGP1/WvfHAHDPwP+AA=="),
- this.addDataEntry("bootstrap button bar bright",800,40,"Button Bar (Bright)","5ZdRb5swEMc/DY9FBhNCXkPavmxStUh798IB1gxGxmvIPv0OcBKoSZetpYpUIyT77DP278+dwaFx0TwqVuVfZQLCofcOjZWUuq8VTQxCOD7hiUM3ju8TvB3/4UKv1/WSiiko9TUOfu/wzMQv6C29odYHYQy5LnBZG8+h6zpnidxjg2AjYXUOiWlgT9WOL5qs3Yv7A3dQa6y6Cna4knXKhYilkKqblKZhe7WOWsmfcOwpZYmzrPc517Ct2K6dco+zoM0sFJSG5uJmO5PZ6SPIArQ64JA9T3Tej4hID4TkwLPcuAXGxuq+nZ1cz+iwYuhNk6QWyVgWFSsP/wd0yMtQmUT1d/Cy1APwSVeMfct/t75e8Bbm/hXM50EeWMifQFaI+WNeYdJel3R5gX3VlXYwEuZl9s2QoGQG9M0Y+0CJ1UxKLCwlouDdVTAyKPPWRhOSpATLlZKkXXkL/uBV/MbhYNKwu7DUOGIbquGFvU2BYJo/w2iuKYnM858kx2WdHn5Hyejxd9F4BpmmNWhL4tMurlI9tFT/zmW7bFnWN5r1PjD8vKUdf543UwAuLSmC9z/Jby4Aw08egJGl+lbjomvNd7cagDMF29RhN9dnx8qmDlpjVvlkzGloM1/OxPyYN0fQmdrlruvOnecWU3nOpK6xUC+/r6fsTPCsRJuAVJ8PpC9da+PNeB6Fi3FGstOhRyfUo/+uHjbPf7B9Whv+4P4B"),
- this.addDataEntry("bootstrap button group vertical",100,150,"Button Group (Vertical)","7ZdRT8IwEMc/zR4hZXOojzKUJxMSHnyu9tgau3XpDgZ+eq9b0c2hEmEmRpqQtNe7Xu//y43NC6J0MzM8T+61AOUFt14QGa2xnqWbCJTyfCaFF0w932f08/y7T3ZH1S7LuYEMDwnw64A1VyuoLbWhwK1yhgRTutZ05AWTIuFCl7RgtBC8SEC4Be3k1j/dxLaW4SNVUCBNh8bAE11lYhbyxXqE1huNfoZIK22qHIGoBu00kpWJRFjk/MlGlXQU2ZZSqUbYshpkd1WAQdh8qkRlcjLMQKeAZksupRSYOA9Wq8USkHGyCwudkRe1IX6LfReWJk7b/ToHHZ1vhcRTa406n6wQdfZB76Zsmc7gSwQ5GEn1QcN5HwoDBSV4cOKNDoXg/wxC4GwGFEe5htb5x4C56ICJDHCEk7dB3QX/kIRLMdeSMvts2z5mF6GXywKwQ+7tYgfBDL9/mu0IoZE8i611IqSFI23XTAu9stV/fNCwanRgOSh7OB1E4GI/gXaA04sNXXEtPl084XF0XO7BKGxlH/i79CflNe7wmoKCc/P13XzjPprvsgPzJs8hE2eY/cK87gPmVQfm3EAfNB81va+kf/StZdsK+CXeg1P8ddLy/SOjdm9+g7wC"),
- this.addDataEntry("bootstrap button group vertical",160,160,"Button Group (Vertical)","7VbfT4MwEP5reNQw2Ja9CuheNDFZ1OduHNBYWtLefvnXe0Dd2GBuMZtGI8mW3nd3vd73XQqOH+arsWZF9qBiEI5/6/ihVgrrVb4KQQjHc3ns+JHjeS79HO/ugLdXed2CaZB4SoJXJyyYmEON1IDBtbBAhjkdK+o5fmAyFqslGS4ZMTMZxNYgT1HG56u07OV6Sh0YpOW11jCjowR6wt/KiEEZjVq9QqiE0lUNP64e8jSKLTOOMCnYrMxa0laEJVyIRlpSPYTbLkAjrA4yUUGWhjGoHFCvKWTJY8xsxLBmy82ApxnugczUQLrJ3RJLC8ttN89+i+dn0DzhROC5+a7pbjIllYRPWTfEMpfpPSRlz72yABM8lWSICgsKOi01DY3tuvTRYEjlF8to71RlvK8p07eYBsGQL2Bn/y61bIlHxamy5653t/nIUEliAFvqbg52kuD9luABk/Jf7p+Xe3QJuQctuSMQRODZ9Z4qRJUHc/qXe7fqX5iB9U7CN03E1UVugGFrJG4q/5MBbc49FqiKozNB8vvRKAijrsHYeBIlsesVe3xgfuENceD1Teb2E6yWvvmF9g4="),
- this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;",160,40,"All Users","Top Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","topButton","bootstrap top button").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;",
- 160,40,"All Users","Bottom Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","bottomButton","bootstrap bottom button").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;",160,40,"All Users","Right Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","rightButton","bootstrap right button").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;",
- 160,40,"All Users","Left Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","leftButton","bootstrap left button").join(" ")),this.addEntry("bootstrap dropdown large",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,140,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=16;whiteSpace=wrap;fillColor=#ffffff;align=center;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Large)")}),this.addEntry("bootstrap dropdown normal",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=14;whiteSpace=wrap;fillColor=#ffffff;align=center;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,
- .5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Normal)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fontSize=12;rSize=5;strokeColor=#dddddd;spacingRight=10;perimeter=none;whiteSpace=wrap;fillColor=#ffffff;align=center;");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown tiny",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,90,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=10;whiteSpace=wrap;fillColor=#ffffff;align=center;");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Tiny)")}),this.addDataEntry("bootstrap button group justified large",240,40,"Button Group (Justified, Large)","5ZXBbsIwDIafJlfUNoB2pmxcxmU8QUZcEi1tqtRby55+bhJGUYfGYYwDkSLZv20l/hwpjOdlt3KiVmsrwTD+yHjurMVglV0OxrAs0ZLxJcuyhDbLns5EUx9NauGgwksKslDwIcw7BCUIDe5NFBSWdK1lyviiUULalpyEHCkaBTI6FKn7/LLb9b1MXqmDBsmcOAdbusrCbfRnnzHrs9HZN8itsc6fwaVfFCm0MQO98Iv0eE1wCN3ZVr0U+1yBLQHdnlJaLVHFdqcBR6JA71QsO2iiCf7uu/QIjozI7meOfMTxGQr8c5YB5RBSZSsYEY1iDU5TJzCQClthHEQ6J79VGmFTi22vtHTGpayzX1k/XAn1dIR6raUkwjeCPXy+NyDendL+hwHMRgN48Qfc3WM/FMyvxp7c41/gYydfxRc="),
- this.addDataEntry("bootstrap button group justified normal",180,30,"Button Group (Justified, Normal)","5ZXBbsIwDIafJldUEph2pmxcxmU8QUZcEi1tqtRby55+bpKNog6NwxgHIkWyf9tK/DlSmMjLbuVlrddOgWXigYncO4fRKrscrGU8M4qJJeM8o83444noNESzWnqo8JwCHgvepX2DqEShwb1NgsaSrrWcMrFotFSuJScjR8lGg0oOReo+v+x2fS+TF+qgQTIn3sOWrrLwG/PRZ8z7bPTuFXJnnQ9nCBUWRQpj7UAvwiI9XRM8Qney1SClPlfgSkC/p5TWKNQp4z7iyDSYnU5lImmyif7uu/QAjozE7meOYsTxCQr8c5YR5RBS5SoYEU1iDd5QJzCQCldhGsR0Rn6rDcKmltteaemMc1nzX1nfXQj1bIR6bZQiwleCPXy+VyDeHdP+hwHMRwN4Dgfc3GP/KuAXY0/u4S8IsaOv4hM="),
- this.addDataEntry("bootstrap button group justified small",150,22,"Button Group (Justified, Small)","3ZTBbsIwDIafJlcUkvUFKBuXcYEnCMRtoqVNlWZr4ennJmEUdWgcBpMWqZL9267tT1EIz6t+5USj1laCIfyZ8NxZ66NV9TkYQxjVkvAlYYziR9jLleg8RGkjHNT+lgIWCz6EeYeoRKH1B5ME5SscazknfNEqIW2HDkVHilaBTA5GmiG/6sthl9kON2g9mjPnYI+jLNxWH4eMbMj2zr5Bbo11oQeX4WCk0MaM9CIc1NOY4Dz0V1cNUtpzBbYC7w6Y0mnpVcrIIg6qQJcqlZ12Fm30y6/SMzg0ErvvOfIJx1co/K+zjCjHkGpbw4RoEhtwGjeBkdQp7WHbiP3QoMN/3sqW/cj2XmifJmjXWkok+kdwx9f1AYT7S7oPAJ5NgG9Cg39/mU8F9G6s0T2/7SF28fR/Ag=="),
- this.addDataEntry("bootstrap button group justified tiny",120,20,"Button Group (Justified, Tiny)","5ZXBbsMgDIafhmuVQCvt3HTrZb2sT8CKU9BIiIi3pHv6GcLWVFm1Htb1MCQk/NuW7Q8kmCiqfu1lozdOgWXinonCO4fDqeoLsJbxzCgmVozzjDbjD2e8efRmjfRQ4yUJfEh4k/YVBmUQWjzYJGisqK1VzsSy1VK5joyMDCVbDSoZ5GlCfNXvwyyzZ5qgRTrOvIcdtbL0W/MeIhYhGr17gcJZ52MNoeIiT2msHellXKSnNsEj9GdHjVKacw2uAvQHCumMQp0iEo5Mg9nrlPapyXaw91+pR3B0SOy+5ygmHB+hxF9nOaAcQ6pdDROiSWzAG5oERlLpakwXkYdanTYI20bugtJRjUtZ8x9Zz6+Eej5BvTFKEeEbwR4/3xsQ709p/8EFLCYX8BQL/LvHnhLuroaezONXEH0nP8UH"),
- this.addDataEntry("bootstrap button toolbar",260,30,"Button Toolbar","5ZfdboMgFICfhttGpb+32q1Xu+oTsIpChmKQTrun30HZ2oZ280Jd40hMOH+B84HnBISjrN4pUrAXGVOB8BPCkZJSt7OsjqgQKPB4jPAWBYEHHwqe71j9xuoVRNFcdwkI2oB3Io601bSKUp+EVTCdwba2PsJhyUgsKxA8EGJSMhpbASyF8c/q1OQye4UMSg3TmVL0AFsJ1Z5/GI+F8dZKvtFICqmaNXDcDLDY7VClaX03pUZl89lRmVGtTuBS8Vgz62HT9hjlKbNh2OpI2crpd+gZEEwso9u8sMPL7xuYoIkOj1rLvDO1gioOqVCjz2UOAWEic21j/TnIFeOa7gtyMJoK1ukKO/gVNh6I9dxh3f/lbO/mQ5GtrwmOAHrhgMb/CPRyPNBLB/S8d9Bmx49fPmzAZjz2qwl1uq+AGzViMxC+tYNvMfHGt/qzxrdxWC8nVY/vkB2/8fmeQ3o19YL8M/wRm6HvO/DXQ5XkS3qQfUgET+E4tgfAYih3PJdb0BMuxIVv0ox+6vuAvwKI50dmY7t6g34C"),
- this.addDataEntry("bootstrap button group nested",160,30,"Button Group (Nested)","zZVdboMwDIBPw2MrIKUHALY+TZrWE2TFQLSQoOAWutPPgfRP0LUP69RISPEftj9HiceSqlsZXpdvOgPpsRePJUZrHHZVl4CUXuiLzGOpF4Y+fV74esUa9Fa/5gYU3hMQDgE7LrcwaAZFg3vpFCVWVFYaeCxuSp7plgSfhIw3JWROIEtt/auusL3MP6mDBmk7NwY2VEps1uLbekTWG43+gkRLbfocLOsXWVw5YBC6qy31KtfPCnQFaPbk0ooMS+exHNr2SxBF6cKY0/FmkItj6AkQbRyjaV5sxCv4a2AScoy3iFrdTa0GI6gVsHqlFQXEuVboYoMFyW0pENY131hNS3nuhR3ehM0exHoxYv33h3M4m09Ftrsk+A+goxHo1OiaYKpn5N0QaqGKD8cg8B83g+V4BoH/oCEsb9/EB65oBFeF1caZsEiFvSvSRm9tlXEupDxj6/drRN3RnQB+F7joV3AuYO+eoHk0wXGM0XkZkBzF7vJ+nULr0r9rQVUdc8+C6CL7LDykP/xD53kDOBrOsY2peZF4epUH9/NH+wc="),
- this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fillColor=#ffffff;align=center;fontSize=16;whiteSpace=wrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fillColor=#ffffff;align=center;fontSize=14;whiteSpace=wrap;",60,30,"Button","Button (Normal)",
- null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fillColor=#ffffff;align=center;fontSize=12;whiteSpace=wrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fillColor=#ffffff;align=center;fontSize=10;whiteSpace=wrap;",
- 40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#3D8BCD;align=center;strokeColor=#3D8BCD;fontColor=#ffffff;fontSize=16;whiteSpace=wrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#3D8BCD;align=center;strokeColor=#3D8BCD;fontColor=#ffffff;fontSize=14;whiteSpace=wrap;",
- 60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#3D8BCD;align=center;strokeColor=#3D8BCD;fontColor=#ffffff;fontSize=12;whiteSpace=wrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#3D8BCD;align=center;strokeColor=#3D8BCD;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;",
- 40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#58B957;align=center;strokeColor=#58B957;fontColor=#ffffff;fontSize=16;whiteSpace=wrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#58B957;align=center;strokeColor=#58B957;fontColor=#ffffff;fontSize=14;whiteSpace=wrap;",
- 60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#58B957;align=center;strokeColor=#58B957;fontColor=#ffffff;fontSize=12;whiteSpace=wrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#58B957;align=center;strokeColor=#58B957;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;",
- 40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#55BFE0;align=center;strokeColor=#55BFE0;fontColor=#ffffff;fontSize=16;whiteSpace=wrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#55BFE0;align=center;strokeColor=#55BFE0;fontColor=#ffffff;fontSize=14;whiteSpace=wrap;",
- 60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#55BFE0;align=center;strokeColor=#55BFE0;fontColor=#ffffff;fontSize=12;whiteSpace=wrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#55BFE0;align=center;strokeColor=#55BFE0;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;",
- 40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#EFAC43;align=center;strokeColor=#EFAC43;fontColor=#ffffff;fontSize=16;whiteSpace=wrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#EFAC43;align=center;strokeColor=#EFAC43;fontColor=#ffffff;fontSize=14;whiteSpace=wrap;",
- 60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#EFAC43;align=center;strokeColor=#EFAC43;fontColor=#ffffff;fontSize=12;whiteSpace=wrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#EFAC43;align=center;strokeColor=#EFAC43;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;",
- 40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#DB524C;align=center;strokeColor=#DB524C;fontColor=#ffffff;fontSize=16;whiteSpace=wrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#DB524C;align=center;strokeColor=#DB524C;fontColor=#ffffff;fontSize=14;whiteSpace=wrap;",
- 60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#DB524C;align=center;strokeColor=#DB524C;fontColor=#ffffff;fontSize=12;whiteSpace=wrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#DB524C;align=center;strokeColor=#DB524C;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;",
- 40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Primary",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#3D8BCD;strokeColor=#3D8BCD;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Success",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#58B957;strokeColor=#58B957;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,
- .5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Info",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#55BFE0;strokeColor=#55BFE0;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Warning",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#EFAC43;strokeColor=#EFAC43;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Danger",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#DB524C;strokeColor=#DB524C;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addDataEntry("bootstrap dropdown split",120,30,"Dropdown (Split)","rZRtboMwDIZPw89VQNoLAPv4M2laT5AVA9ECQcEU2OnnQGhpoR3SGgkJv7YT248Sh4V5+6p5mb2rGKTDnh0WaqVw+MvbEKR0fFfEDosc33fpc/yXG16v97ol11DgmgR/SDhyWcOgRJDwWuKgV9hJq2eYU3WR57CgynisGjJcMmJeZRBbgzylic/b1LS0+aJGKqTfjdZwoIqCREgZKql0vytL+kU6lyItSDtQ4UDOQO/Fj9lqZ7ZFrb5hkhb3y3hKfhBF+inSzPTrmyISVaBN9rZkN5lA2FOgURoqhjTbNmiE9uboesnO7RVUDqg7CmlEjJmNsON1M7AVkMmsxqvBTk+pZxD0Y1ksc2EzLg8HYgoOakRVXE17iqhQBdwFUIIW1B1MgjVUtNnbOBFv7bj95XFfJkyGz+7MXoPkKI5wkbsExJ73oQSVcTrs6ZqhSpIKcEbwVOYqqNu/oY68UAtepEYNYmGujjCYokrVpvvrW+T2a8bJ8lhAtIoHW8Ojs6/MZjfj4y3w2T0Gz3jtutEej/8PLzLPD+8QPn2XfwE="),
- this.addDataEntry("bootstrap dropdown split",120,30,"Dropdown (Split)","rZTdboMgFMefxss1KjXZbtWtu1nSrE/A6lHIUAzSqnv6HRStbW1nspqYcL7g8P8BDonyZqNoyT5kAsIhrw6JlJS6H+VNBEI4vssTh8SO77v4O/7bjajXRd2SKij0kgK/LzhScYDes1U8p6rt/ZVuhfUznWN3seeQsGI0kTUaLhoJrRgk1sBIafLzJjNbWn3hRiqNw5VSsMeOQip4VmDGHhsEhQ614z+mJMBxyoWIpJCqW5KQ+DmMYjOtVvIbJhE3DsKXLlLSPS+yT54xs1/fNJHKQttJvbW1J7Vp96G/ZlzDDicwmTU2iT4rBygNzU1JO5fVcwMyB230cmueaGYzrOwuA9sZmsT6aNXb2Vh6AoQDy2ieF7ni9XBQpuHwoLUs7tApZAF3wZSA5wg6xEOyggonex8U8ZbK7c/LfV4wEZ/c0V6BoJof4ax2Dohdbys5tjEu9nTJUKZpBfqK4NjmIqjrv6EOvLTitMiMN0y4uVLcYIoreTC7v7xA41E/52R5zCBaxIMs4dHa12cVXPHxZvgEj8EzXLt2sIfl/8MLzdOD3KdP3+tf"),
- this.addDataEntry("bootstrap dropdown split",120,30,"Dropdown (Split)","rZRRb4IwEMc/DY8z0Eqmr+jmXpYs8xN0cECzQklbFfbpd4WiqOhIpglJ73937d39bD26KuqNYlX+LhMQHn3x6EpJabpVUa9ACI/4PPHo2iPEx88jrze8Qev1K6agNFMSSJewZ2IHnbLdxTFo3enaNMLpuSmwunXg0UjnLJEHNHw0EqZzSJyBnsrGF3VmW5p9YSPa4HKmFMRYUcQEz0qMiLFAUCioLf+xKSGuUy7ESgqp2iNpuIiW4bPd1ij5DQMPWSyWpPVULOZl9smz3PZLbBGpLI3bNJg7e5Cbtj/UDzk3sMUNbOQBi0TNjQOUgfrmSFvJzXMDsgCjGgw58MTkLsKN3c/BVYYmdRrTnZ0dU0+AcOEYjfOiV7weDsoWHO2MkeUdOqUs4S6YChTH7mAQrEDjZm/9RIKp4ybj4z5PGAyf3pm9AsEM38NZ7hgQd96H5FjG8bCnS4YyTTWYK4LHMidBnf8NtedlFGdlZtUo4fZKcYtpreXOdn95gY5/9XNOjscIokk86BQejXt9ZuEVn2CET/gYPP21a3q7P/4/vNA8Pchd+PC9/gU="),
- this.addDataEntry("bootstrap dropdown split",120,30,"Dropdown (Split)","rZTbboMwDIafhstVQIq0a+hhu5g0rU+QFUOihQSFtMCefg6ElrasQ1orIcW/7cT218QjSdFsNS3Zm0pBeGTtkUQrZfpV0SQghBf6PPXIygtDHz8v3PziDTqvX1IN0sxJCPuEIxUH6JVXmalerEwrnMhMgaWtAo/EFaOpqtHw0UhpxSB1BnpKG180ue1n8YldVAaXC61hj+XEVPBcYsQeqwONgt7xb5sS4TrjQiRKKN0dSaIo3qy7bY1WXzDyhNHzJu48Jd1zmX/wnNlmQ6tlShq3abB09ig3636o14wb2OEGNrLGIlFzswBtoPl1np3khrkFVYDRLYbUPDXMRbiZ+wxcZWgSp9Gqt/NT6pkOLhygaVjkBtbDQdmC44MxSt6hI5WEu2BK0By7g1Gwhgo3exkmEswddzg97suE0fDJndlrENTwI1zkTgFx570rjmWcDnu6ZqiyrAJzQ/BU5iyoy7+hDryM5lTmVo1Tbq8Ut5hWlTrY7q8v0OmvfsnJ8ZhANIsHmcOjdU/PIrrhE0zwiR6DZ7h27WAPx/+HF5rn17gPHz/WPw=="),
- this.addDataEntry("bootstrap dropdown split",120,30,"Dropdown (Split)","rZRdb4IwFIZ/DZczQDW7HvixmyXLvNh1JwfarLSkVIH9+p1CUVR0JNOEpOerfc95bD0S5/VG04K9qQSER1YeibVSplvldQxCeKHPE48svTD08fPC9Y1o0Eb9gmqQZkpB2BUcqNhD5/mkWnKZdf7SNML5mclR3TLwSFQymqgKDR+NhJYMEmdgpLD5eZ3ZlmZf2EhpcDnTGnaoKKKCZxIzdigQNDr0lv/YkgWuUy5ErITS7ZFktX6J58Rua7T6hkEkWj/HQRsp6A7VfvCM2X5DKyJV0rhNg7mzB7Vp+0N/xbiBLW5gMysUiT43DtAG6psjbV1unhtQORjdYErFE8Nchhu7z8ApQ5M4Hy07OzuWngDhwjEa50WueD0clBUc7Y1R8g4dqSTcBVOA5tgdDJI1lLjZaz+RYOq4w/FxnxcMhk/uzF6DoIYf4Kx2DIg7711xlHE87OmSoUrTEswVwaPMSVDnf0PteRnNqcysN0q4vVLcYlqWam+7v7xAx7/6OSfHYwTRJB5kCo/GvT6zxRWfYITP4jF4+mvX9HZ//H94oXl6kLv04Xv9Cw=="),
- this.addDataEntry("bootstrap dropdown split",120,30,"Dropdown (Split)","rZTrboIwFICfpj9noJUHGLC5P0uW+QSdHKBZoaRUgT39TqEoKjqSaULSc+u5fJ4SFhXtRvMqf1cJSMJeCIu0UmY4FW0EUhLqiYSwmFDq4Ufo6w2r31u9imsozZIAOgQcuNzDoIl5mYEe1LXppFPnpsDiYp+wsM55ohoUPBQSXueQOAEtlfUv2sx2tPrCPmqDx5XWsMOCQi5FVqLHDuvDLCzUW/FjQwI8p0LKSEml+5QsDgO6juy1RqtvmFieQ2y1t1R8J8rsU2S5bZfaIlJVGnepv3byJDbtf6hvcmFgixdYzwaLRJ2bBmgD7c2J9io3zg2oAozu0KURicmdh5u6l4OrDEXmdLwe5OwYeuKDB4doHhe7wvVwULbgcG+MKu/QKVUJd8FUoAV2BxNnDTVe9jZOxF86bjo/7vOAyfDZndlrkNyIA5zFzgFx+T6UwDKOyZ4uGao0rcFcETyWuQjq+m+oIy+jBa6n1YaJsCslLKa4Vnvb/eUCHf/q55wcjxlEi3iwJTw69/isgis+/gyf4DF4xrXrRnlM/x9eKJ7e48F9+lz/Ag=="),
- this.addDataEntry("bootstrap dropup split",120,30,"Dropup (Split)","rZRtboMwDIZPk5+rgLQXgO7jz6RpPUHWGIgWEhTSAjv9HAgtLbRDWiMh4dd2YvtRQmhSNK+Glfm75iAJfSY0MVrb/q9oEpCSRIHghG5JFAX4kejlhjfsvEHJDCi7JCHqE45MHqBXtkaXh7KXK9tKL+e2wOK2IaFxlTOuazQCNDircuDeQE/p4osmcx2tvrCPyuLvyhjYY0FxKqRMtNSm25Wm3UKdSZEp1PZYN6AzNjvx47bauG2t0d8wSuPdcp6S7YXKPkWWu3YjV0SqlfXJ4RrtOhcWdhjolBqLQc13DcZCc3NyneTH9gq6AGtaDKkFt7mP8NMNcvAVoEm9xqrezk6pZw7441HMY6ETLA8H4gqOD9ZqdTXtMSKlFdwFUIIR2B2Mgg1UuNnbMJFw6bij+XFfJoyGT+/M3oBkVhzhIncOiD/vQwss43TY0zVDnaYV2AnBU5mLoK7/hjrwskYwlTk15sJdHeEw4YSN6/76FgXdmnDyPGYQLeJBl/Bo/SOz2kz4hDN8No/BM1y7drCH4//DC83zu9uHj5/lXw=="),
- this.addDataEntry("bootstrap dropup split",140,30,"Dropup (Split)","rZTbboMwDIafhstWQFppuwV2uJk0rU+QFQPRQoKMu7Z7+jmQtnRlHdKKhBSfYuf/IIFI690TyqZ6sTnoQDwEIkVrqV/VuxS0DuJQ5YHIgjgO+Q3ix1+iURcNG4lgaEpB3Bd8Sr2B3vOmyorYlaNtNk0fbmmvfbiimofMokAkbSVzu2UjZCOXbQW5NzjSuPx6V7qTzd/5PC3xco4Iax4skVqVhjPWPCcgO3ClvlzJkteF0jq12mLXUojsLkkzty2h/YBBJMyWyX0XaeRambKfXWSxG6Kwhvym0cLbg9qie9i/rRTBijdwmVsekn1eFUCC3a/Kdi4v6xPYGgj3nLJVOVU+Y9GrH1bgJ2NTeJ9se7s8lp448cKjGscmLrDdHJQbONkQWXOFjrEGroJpABWfDgbJCC1v9nxQJJoqdzwu93nBQHxxRXsELUl9wlntGBDf79UqQ6dms58MbVG0QBcEj2NOgrr4G+qBF6GSpnTeJFful1IOEyuM7vQ/f6Djp37OyfMYQTSJh5jCY+8vofnygk80wmd5Gzz+0jt0n8WH9v/hxebpXu7Th9f2Nw=="),
- this.addDataEntry("bootstrap dropdown menu",160,90,"Dropdown (Menu)","rVTbbtswDP0aPzaw5TTYaxKv3UMLDOt+QItoS5gsGbKay75+pCQ7bu0CGToHAcw7eQ7prNy350fHO/lsBeis/JqVe2etj2/teQ9aZyxXIiurjLEc/xl7+MBaBGvecQfG3xLAYsCR61eImsrZTtiTiYbeX3QySN9ie1WRlbtecnRBIUdB8F6CSAJaOvJvzw3NtPqFk/QeX1fOwQFb2nGtGoMeB+wQHCrci/pDIfcU7p39DXurrQtFSxEesnT8oEzzQzWSBiuoWG2NT8HFBmUsKRSmncTDmn4TW6WoD2WpBWOdl2g7SeXhBQtQphM2i7qECzgP5w+xDaoE7CPYFry7oMtJCcobPNYR/1xC6hzFQcf7KDdj6JUpfElkLRNXzoibETZw4Z3ipiHtTkym7+1rmL5WWk8Qy8Mz48JYQwk6cAp7hYnqJqTYMlJvAy5pY1f3UZ7iuABj8nKguVdHeJNqCdpU/rtV2NVY+y5dyFD9jg3lhxy2rnvwM3LGMW7iaz3jaxuJYBsEPazz1lgvEVmWD6b/fIHxAN/xXYfn3TWxJC/tBekfeKs0AfYN9BG8OvAhQep2vkALx/wE9XjL40DF5Buhg8OOdgtL6G1Se9tdk/wkoSo/ebKJ/DWbb95m6YK//PMFo3j9rMcFmn71/wI="),
- this.addDataEntry("bootstrap dropdown menu",160,200,"Dropdown (Menu)","7VhRb6MwDP41PK4iQLne47W97WWTTteHe86GgWhpgkK2tvfrzyGhZQXaSgztOi1SJew4tvN9thXVCxfr7Z2iRf4gE+Be+NMLF0pKbb/W2wVw7gU+S7xw6QWBjz8vuO3ZJdWuX1AFQl9yILAHXil/AatZKlkkciPsRql33G3keo3pLYkXzsucogkKPgoJLXNInIA7hbFfbzNzp8kj3qTU+DlRCp4wpblasb/GYmqstZLPsJBcqipGmFTL7BT0iYnsN8tycw9ifKdSaHeYxEZmnDfO3lYL9ZSzTKCOQ6oPru4ryXra5EzDCvXG1wazQ50DApSGbS+YlcoheQdyDVrt0GTDEp07C2IB93NwuaMYOR0trZztjx6owQ/HTjdTYYupFkM1+FoxKjKjnSfMwM6kwaOULybLY9z8arXYEFIYBwUohrlCQ3URUkE3Um8P7FyJTqZWbuLYAaOzUsCpZq/wxlUXtC78L8kwq33sG9cSdfSboA5f+5BpWoJukbO/xkV8Ref5GtpRtqGO6Eyrdbq56mBkYN07BKOgTV/cwR+Zzob3wfTExMJoNMFSHQfozv7omC5H86fJT39TmeHWxVVz6JGe0aWgRIs/Dv2LSY3OD7NOFuNhbeiK5qgU3qXn4lZt/LDD7woL4uOJrufkQKJHYfpbm2khdW5636dfnH8059EYnM/ak5+V9JEjeYHPmXj+7ynvG/KfuRTiMUrh+/nHVU0rFgacfA11gH+VQM/GALp+hn89t678uUX8UcqDtMpjBXhpqq9nKH/m4Uve4/GF4uEPKWve/L/qHw=="),
- this.addDataEntry("bootstrap dropdown menu header",160,150,"Dropdown (Menu, Headers)","7Vffb9sgEP5r/NjIxk6WPS5J25dNmpaHPdP6bKNisDBtkv31OwxO3EBbq2mmtSpSJO64X3wfR3CULuvttaJN9UPmwKP0MkqXSkptZ/V2CZxHJGZ5lK4iQmL8ReTqidWkW40bqkDoMQ7EOjxQfg9Ws1KyyeVG2IVW77hbqHSN5a2SKF20FUUTFGIUctpWkDsBVxpjX29Ls6fJDe6k1TidKAW3WNJCrdkfYzE11lrJO1hKLlWXI827YVYaestE+YuVldlHYmIXUmjnnMyMzDgf+F51A/WUs1KgjkOhD6G+d5KNtKmYhjXqTawNVoc6BwQoDdsnwexUDslrkDVotUOTDct15SwSC3hcgasdxczpaGvlcu96oAYnjp0wU6nHlMdQD75WjIrSaBc5M7AzafBo5b2p8hi3uBseG0IKE6ABxbBWGKhGIUXCSD122LkjOplaeYhjAEZnpYBTzR7gUagQtC79T8mwqn3uC9cSffYL0qfvY8iiaEF75Oy3MYqv7GW+Tu0o21BHdBbdeL65+mTJiefeIZgRn75ZgL8knp/eB1MP12/2gJ8H3WBTBK6Uo0tnSIpzCl06Clq80H473EbTkb18DYXw7w/+axvI0X1E4pt0y8xnVUhd4bWDiT75/af8noXgL/5Dg7X0hiNTJOZM3P33/JrnR+g2/TC8Z+fgfT7+2YKnAJ793wq8Rd4l0LNzAP3VA3oNuGWq30+HBfj9MM01fwPOUTx8GVrz4YfjXw=="),
- this.addEntry("bootstrap input group",function(){var b=new mxCell("Username",new mxGeometry(0,0,250,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fillColor=#ffffff;spacingLeft=50;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("@",new mxGeometry(0,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=
- !0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Input Group")}),this.addEntry("bootstrap input group",function(){var b=new mxCell("",new mxGeometry(0,0,250,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fillColor=#ffffff;spacingLeft=10;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell(".00",new mxGeometry(1,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Input Group")}),this.addDataEntry("bootstrap input group",250,30,"Input Group","1VTrToMwFH6a/nQpFF5gTOcPTUz2BHUcaGOhpJwN5tN7CnUXx3TR/bGE5Nwv35eWiazql0426tnmYJi4ZyJz1uIoVX0GxrCY65yJBYtjTj+LHy54o8HLG+mgxmsS4jFhK80GRstoaHFngkFhRWMtIibmrZK57UjhpOSyVZAHhTyNj6/60u8ye6UNWiRx5hysaZS5W+l3H5H6aHT2DTJrrBt6iHw45Cm0MUf2Yjg+o5FrXZdPUPi1Ut+ysDWGmlFCujS6rEkxQ8zgnurQKY2wonI+saMJyRZAAIfQXwRyMAUUl2ArQLejkE7nqAKY6Qg2V6BLFdJEsMl21Mt96oEWEgIz0yyJCZaSWxPlcZtvEG39a7a4/y5g7KClko+fyETXwh7/CHvyDeoOjES9hZPyf6EiOaNixvnN74xf5P9wcZpwa2ZCvxeraYx9s7vky72yRdECnlG5H3OKXVIPT+0YfvwSfwA="),
- this.addDataEntry("bootstrap input group",250,30,"Input Group","tVRdb4IwFP01PM4AFbNncXMPW7LE7AdUuNDGQkmpgvv1u6VFceJG9lFC0nO/7zlJPRIX7VrRir3IFIRHHjwSKym1vRVtDEJ4oc9Tj6y8MPTx98LHG96g8/oVVVDqKQmhTThQsQdreatBlbQA66j1UTgH0wWOtwo8sqwZTWWDwEeQ0ppB6gB6KhNftLnZabbFTWqN15lSkOBIS7Xh7yYiMtFayR3EUkjV9SBpd9CTcSEG9qw7JqOiCS/zZ8jMepFpmclSu5rBHDEVPC8RiC6mc491aBjXsMFyJrHBCdHmyAClob1JaGdybK5BFqDVEUManmrmSI0s6T4DnjOXRpyN1hbnp9SzPHhxCo2rRa7U+muVDGnLvday/LFUvvluEKygxpJPPS3BVM7Dbzmff0G5AkE1P8BF+d/oMP93HRIGyW4r24EKZEyFRXem0kjGaXQJ/iyyKcdPeEBzsLimubdNptlN8Co5DnZqf3d/0b2HfQGZZTXoK5VOa4wJh/D8lNrw4Uv7AQ=="),
- this.addDataEntry("bootstrap input group",250,30,"Input Group","tVTtToMwFH2a/nQBOhZ/j+n8oYnJ4gPUcYHGQknbDebTe0vLPoQp8aOEpOd+33OSEpqU7VqxuniSKQhC7whNlJTG3co2ASFIFPCU0BWJogB/Et1f8YadN6iZgspMSYhcwp6JHTjLiwZVsRKcQ5uD8I7ClDjeKiR0qQuWygZBgCBluoDUA/TUNr5sc7vT7BU30QavM6VgiyMt1Ya/24jYRhsl3yCRQqquB027g56MC3Fmz7pjM2q25VX+CJldL7YtM1kZXzOcI2aC5xUC0cV07rEOTcENbLCcTWxwQrR5MkAZaK8S2pk8m2uQJRh1wJCGp6bwpMaO9KAAnhc+jXob0w7nx9STPHjxCo2rRQdq/bVKlrTlzhhZ/ViqwH5XCFagseRDT0s4lfPoW87nX1CuQDDD93BR/jc6zP9dB8VSLgdC0DEhFt2ZyiQdZ9InBLPYpRw+4TOmw8WQ6d42mWk/wbPkONix/c3tRfce9gVklmkwA6GOa4xph/D0mrrw88f2Aw=="),
- this.addDataEntry("bootstrap username large",250,40,"Username (Large)","tVTrboMgGH0af65BafsAtVv3Y0uWNHsAVj+FDMEArXZPvw+ht9Vu3Q1jwvnunKMkNK+7hWENf9QFyITeJjQ3Wruwq7scpEwyIoqEzpMsI/gm2d0Fb9p7ScMMKHdNQhYSNkyuIVieLRjFaggO67YyOrircbx5mtCZ5azQLQKCoGCWQxEBehofX3eVP9PoBU9iHW5HxsAKR5qZpXjzERMf7Yx+hVxLbfoetOgXekoh5ZG97JfPaNhKqOoBSn+8qW9ZauVizXSKmElRKQSyj+ndQx1aLhwssZxPbHFCtEUywDjoLhLamyKbC9A1OLPFkFYUjkdSJ4F0wkFUPKaNo43ZgKt96kEe3ESFhtWiZ2r9tUqetNnaOa1+LBXxzwWCDVgseb+jJb2W8+xLzj+j3IBkTmzgpPxvdBj/uw5r/As/VUBpBefkk35dyyodZjUmkNEkpGw/4OMvfYD17LusxwmetMDB9u1vUnLSfo93JXRZWnBnsu0PMqQkwsPdGsKPr953"),
- this.addDataEntry("bootstrap username normal",250,30,"Username (Normal)","tVTJboMwEP0ajo0MDuo9pE0PrVQp6ge4YQCrBiPbCaRf3/GSpYG0qIsRkmd5s7wniGhW9yvF2upJ5iAiehfRTElp/K3uMxAiSgjPI7qMkoTgGyX3V6Kxi5KWKWjMFEDiATsmtuA9LxpUw2rwAW32IgQqU+N4yziiC12xXHZoEDRypivIg4GR1ubXfWl3mr3iJtrgdaYUbHCkhVrzd5uR2myj5BtkUkjletDcHYwUXIgzf+GORbRsw5vyEQq7XmpbFrIxoWY8R5sJXjZoCJfjwmMduoobWGM5C+xwQvQFMkAZ6K8S6lyBzRXIGozaY0rHc1MFUlNPOqmAl1WA0eBj2tvlEXqSBy9BoXG16ECtv1bJkrbYGiObH0tF7HOFYAUaSz4caImncp58y/n8C8oVCGb4Dj6V/40O83/XYYtf4ZcKNLKBIfnEnams0nFWA4DMUg/ZX9hnrMfpkPWDbzLrYYJnyXGwY/ub24v+J8ehiCwKDWYg3HGVMS3RPP1dffr5z/cD"),
- this.addDataEntry("bootstrap username tiny",250,20,"Username (Tiny)","tVRZbsMgFDwNn42wSS6QpMtHK1WKegAaPxtUDBaQ2Onp+8Bka5w03bAsMbx9xoawWd3dW96IJ1OAIuyWsJk1xve7upuBUiSnsiBsTvKc4kvyuzPWLFppwy1of01A3gesuVpBf/LiwGpeQ29wfqOSQfga25tnhE2d4IVpEVAEBXcCigTQ0gT/uqvCTKNXnMR53I6shSW2NLUL+R48JsHbW/MGM6OMjTVYERdaSqnUwXkZV4ho+FLq6hHKMN44lCyN9ilnFjBXstIIVPSJ5qEKrZAeFpguBLbYIZ4lMsB66M4SGo8Sm/dgavB2gy6tLLxIpE560qkAWYkUloSg3PW42oXu5cFNUmhYLXai1l+rFEibrrw3+sdS0fCcIdiCw5QPW1qyqwjPvyScXeDbguJeruEo/W9EGP+7CCv8BS/Sr42GU+ZpXNd+xmyY1RRAR5M+ZPMJH7CeDbCefZf11MGzkdjYrvzNcfUt3CYwZenAn4i2G2NIR4T7a7V3P7x1PwA="),
- this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#dddddd;fontSize=16;align=left;spacingLeft=10;whiteSpace=wrap;",250,40,"Johnny Boo","Full Name (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#dddddd;fontSize=14;align=left;spacingLeft=8;whiteSpace=wrap;",
- 250,30,"Johnny Boo","Full Name (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#dddddd;fontSize=10;align=left;spacingLeft=6;whiteSpace=wrap;",250,20,"Johnny Boo","Full Name (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name tiny").join(" ")),this.addEntry("bootstrap final price large",
- function(){var b=new mxCell("Amount",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fillColor=#ffffff;rSize=5;strokeColor=#dddddd;spacingLeft=10;fontSize=16;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("UAH",new mxGeometry(1,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=16;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,
- 0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Final Price (Large)")}),this.addEntry("bootstrap final price normal",function(){var b=new mxCell("Amount",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fillColor=#ffffff;rSize=5;strokeColor=#dddddd;spacingLeft=8;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("UAH",new mxGeometry(1,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=14;whiteSpace=wrap;resizeHeight=1;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Final Price (Normal)")}),this.addEntry("bootstrap final price tiny",function(){var b=new mxCell("Amount",new mxGeometry(0,0,200,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fillColor=#ffffff;rSize=5;strokeColor=#dddddd;spacingLeft=6;fontSize=10;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("UAH",
- new mxGeometry(1,0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=10;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Final Price (Tiny)")}),this.addDataEntry("bootstrap segmented button large",400,40,"Segmented Button (Large)","vZXdTuswDMefhYteUvWDIrjddhgX50hIEw8QVreJTtpUicc2nh6nSUdHu1HERKRKsWM7zv+npEE6r3ZLzRr+T+Ugg/RPkM61Uuhm1W4OUgZJJPIgXQRJEtEXJA8nVuN2NWqYhhqnJCQu4ZXJDTjPCphe8zAM3YrBvfQrHCvqbxEH6cxwlqstGREZOTMccm/QSmPjq11pDxW+0FEM0jTUGtbU06wQUs6VVLqtmhbtIL9eiTebmdkqqNV/6EXl7bDZqkYfGN96eyyOSVHW5JNQ2E1Nw9aiLv+21uLedrrlAmFFfltrSx2Sz6sBGmF3UtHW5eVcgqoA9Z5CtiJH7iJuIqd6xEGUHDun8zHj7PKQ+sGHJh7ROK50gOvZgDaXRmVFm20QVT2dS49qrWoYQXUWSXwKiQZDNR47IeOplJIvKd2dgaRBMhSvcFT+J+RuBuQG0DoeqAWrS+ud5cJeGmE5LIza2M4/35+oHQM2nkEDWlCv0HNNUi8dV+84Ye9fmDBzdk/beETb7JvS+u2flKCuDntf+xet2/066bbvaqiiMIADOIdjTOKVDXgt1dXFn0QrzuUv2i9co+OEHvjsEpfqBPks+jloMj/+ri68//N9Bw=="),
- this.addDataEntry("bootstrap segmented button normal",400,30,"Segmented Button (Normal)","vZXfT4MwEMf/Fh94lADd1OdtOh80MVn8A+o4aGOhpO1++dd7pWVjwiZmi01Iete76/X7SUtApsV2rmjFXmUKIiCPAZkqKY2bFdspCBEkEU8DMguSJMIvSJ5OrMb1alRRBaUZkpC4hDUVK3CeBVC1ZGEYuhVtdsKvMFNgf7M4IBPNaCo3aERopFQzSL2BK5WNL7a5PVT4gUfRBqehUrDEniYZF2IqhVR1VZLVA/1qwb9s5thWMUp+QisqrYfNlqXxgfHI231xVPC8RJ+AzG6qK7rkZf5SW7MH2+mGcQML9NtaG+wQfV4NUAa2JxWtXV7OOcgCjNphyIanhrmIUeRUjxjwnPk04n1UOzvfpx744MQj6sdFOrjeNSh9bVRWtMnKGFkO59KiWsoSelCdRXJ3gogCjSWeGx3joZCSXyHdn2GkQFDD13BU/hJwow64DrMGh1Gclrn1TlJu7wy3GGZarmznP69PVI8OGo+gAsWxV2i5BqlH+tU7Ttj5ByYcO7ulbdyj7fiP0vrt3yTHrvZ73/oHrdn9Nmm2b2rILNNgOnD2xxjEa9zhNZc3V38RrTjXv2f/cI2OE45evitcqhPkR9HloNE8/FxdePvf+w0="),
- this.addDataEntry("bootstrap segmented button tiny",400,20,"Segmented Button (Tiny)","vZXfT8MgEMf/Fh/6aEOL0/dtOh80MVn8A3C9FiItDbBf/vUehc7OdlqzRZIm3HF3HN9PoBGdlbuFZjV/VhnIiN5HdKaVsn5W7mYgZZQSkUV0HqUpwS9KH06sJs0qqZmGyo5JSH3Chsk1eM8SmF7xOI79irF7GVa4LbG/eRLRqeEsU1s0CBoZMxyyYOBK7eLLXeEOFb/hUYzFaaw1rLCnaS6knCmpdFOV5s1Av16KD5c5cVWsVu/Qicqa4bJVZUNgQoI9FMekKCr0ScjdpqZmK1EVT401v3OZWy4sLNHvam2xQ/QFNUBb2J1UtHEFORegSrB6jyFbkVnuI26IV51wEAUPaYEEYcbbxSH1iw9OAqJhXLSH69WANpdG5USbrq1V1XguHaqVqmAA1Y9I6AkiGgyWeGx1TMZCSn+FdPsDIw2SWbGBo/LngLvpgesxa3FYLVhVOO80E+7OCIdhbtTadf79+pBm9NAEBDVogb1CxzVKPTqs3nHCPjww8cTbHW2TAW0nf5Q2bP+iBHZ12Pu6RbRv7Xb7tobKcwO2B+dwjFG8Jj1eC3V18RfRiXP5e/YP1+g4oQOeXuJSnSBPyfmg0fz6ufrw7r/3Ew=="),
- this.addEntry("bootstrap search button large",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fillColor=#ffffff;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=10;fontSize=16;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Go!",new mxGeometry(1,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=16;whiteSpace=wrap;resizeHeight=1;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Large)")}),this.addEntry("bootstrap search button normal",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fillColor=#ffffff;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=6;fontSize=14;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Go!",
- new mxGeometry(1,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Normal)")}),this.addEntry("bootstrap search button tiny",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fillColor=#ffffff;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=3;fontSize=10;fontColor=#dddddd;whiteSpace=wrap;");
- b.vertex=!0;var c=new mxCell("Go!",new mxGeometry(1,0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=10;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Tiny)")}),this.addDataEntry("bootstrap dropdown menu",300,300,"Dropdown (Menu)","7Zhtb5swEIB/DR8b8Za3jwnpKq3tNDWdpn104QAvBCPjvO3X7wyGkEFWJEpTqSGKxNlnn33P3cWxZjnr/R0nSfjIPIg061azHM6YyN/WeweiSDN16mnWQjNNHb+a+eVMr5H16gnhEIs2A8x8wJZEG8hbFpsXQjXTwdYfs9u8OxWHSHWHYo2LXBiaNU9D4rEdCjoKHklD8JSAPYnUX+8DubPBC+4nFfg64BxcXNicL+kfqTGU2oKzFTgsYjyzYXnZI3sS4tI4eKJBKHdjyLl9Fgs12BihjBY8irutjAdbfip9CyrNUhZjf8y4CI9zP4BfTk0iGkiVKGub70IqYIlq0tYOV49tyl3ABezPujxrUv6+A7YGwQ+osqOetCw1LD3Hooeg9oairdpImstBOfQIEF8Uw2aeVo1njWABR3BK4kC2zr2Kf1K2yfzj0yiq+FTPnhqtmMVyggQ4xbVCpamVp8xmT50OOKhAHgxzueJHo8GNSotDRATdwslUTa5V5r8ziqsqbd8YwxPrN2ZhvpiD+X4Kogan3EYrXvbrvLpmXJ5w/+D0s6dN8lUTpLRv1LNFkqYuiWaqWbDkOMmzFBZWh0g5k1OKjm3WQqMxxczhpHuODWvMlkC4Gw4Ggw9RLv9T0mTxbBrZVOo4pGj0p/Ko0RaU/WrxMycNZCz9TdK2KAgqLqY9pOyohn8O9Df6Pf/RdEIak56SuBP6SgE4X7XfNRAaU7RrIBQVYdID+vF7n5beALs8LqkFGZ8vDMZ9hMGk9x9tNwR3VZIvfG41xcIoe9rSGPdw4Jr0c+CyeyA3rZG7p7BV+bvihGL0f8Ac/lw5a+h9JG0RuRX2Dyz28D9PTv/+Cv7i4K1ewBs18I8sdRFnBv5pk6b0emC7PPxRL/DrF1zfAMnrvxhfqcxfzq70L05/2gv9+nXYM1sdWA7+K0lIfEV/afTlAbILehSPl+a5evVO/S8="),
- this.addDataEntry("bootstrap dropdown menu",200,252,"Dropdown (Menu)","7Zhtb5swEIB/DR8b8ZYs/ZiQrtLaTlPTaepHFw7w4mBknLf9+p3BISQQjS5hmbY4isTd2Xf2PT4bYTjefH0vSBo/8QCY4dwZjic4l8XTfO0BY4Zt0sBwJoZtm/g37I9HrFZuNVMiIJFtBtjFgCVhCyg0k8UboYbtofbr6K4wZ3LDtDmWc5zkxDKccRaTgK9QMFEISBZDoAW0pKr/fB2plfXecD2ZxMeeEODjxMZiSn+oHn3VWwo+A48zLvIYTpA3ZUmJT5PomUaxWo2lfIc8kXqwNUAZIwQUV1sZD676VWwTqsJSnqA94ULGO9+PEJauCaOR6sJy3XgVUwlT7KZirXD2qNPpAiFhfTTluUrn+x74HKTYYJcVDVTkPO1mgcWMQa8NRVfrSFbIUTl0BxAfNMNmnk6NZ43gFo4UlCSR0o6DSn4yvsjzE1LGKjk181ajlfBEOUhBUJwrVFStMmU3Z2p/wEZv5F6/kCt5tBrSqHsJYETSJey5akqtDv+FU5xVGfvG6u9Fv7G34bc+eBhmIGtwymW04uX+mtepFVcU3AHOMG9tiq9aIGV8q14tijT1CRtpteTpzsmLEibOCTvlSE1pOq5d2xqNJVZumFNqrF9jNgb6HVdZnJpeTBPSEcV30ToAVN0Bx8u26dATkOGB+03n1mqLzP29Y9Ax31nAbbkN/vRddwZm6rLTE7L+ZYYHh/Bm381Zj9wPnR+5fgz+rCS/zbnTtBcGeWtLY9DBdTns5rp0OyA3rJF7oLDU9TsThOLu/wtr+P+q2UEXNXtbI//IkwDfVwv2D1fsl8Z+2wX27XlV4f7EMx9p5tyfF1lGr69aF2dv2Z3At2rwPwOSN1+5mOnCn46u9C9Ov98J/fqXqRc+2/AC/CeSkuSK/uLoh2dAj+Lue2fRvfo59Cc="),
- this.addDataEntry("bootstrap context menu",140,128,"Context Menu","7VfLbsIwEPyaXJHjlEePBVourVSJQ88u2cQWjh05Lo9+fdexeTWgogokQCAh2eNdr3dmEjlRMigWI8NK/qZTkFHyHCUDo7X1o2IxACkjSkQaJcOIUoL/iL4cWI3rVVIyA8oek0B9wozJL/CIByq7lAHgtsBjDeMo6VecpXqOE4KTlFUc0jDBldLFF4vc9dL6xA4qi8OWgQmepJ8JKQdaalNvmmT1zyVao6ewtZLWv+1irvKcCwvjkk1ckTnui1g4OhgLi4Pt11DofQS6AGuWGDIXqeUh4sFTRDiInK/SaM+DrPJAvs7dsImDQOh+cpMGuUOjS2xK1dVYCuZMbO+yqrQCByJ9QuWvkLkmO4gwKXKFY1lDOxqFnBKMwL5hC8q0svv0cvhYfLtzxeSAZAYqjPgI5MfHikj/KWLHYwYks2IGO/vvEzaUeNcCK1Oy9BG/nKCzrALb8MH6XEdZ46FhjaeJFVpdqR9uUveVSCcVvt0UXmnL3ZuAsLsFLswCq61PaoFOwwJjl85RCIRBVlA3Y+DuhMtxQrtzBid0/759rdSUwst08Lq0R4yrJLpLz0B0734Tu4WHsHeOq9hj83UM2DKzKDIl+NxNr9QaN2mBmJzgVobTzSe2D9/+Av8B"),
- this.addDataEntry("bootstrap context menu",140,96,"Context Menu","7VZRb4IwEP41vBooE7fHiZsvW7LEhz13ctDGQknpBPfrd6VVIWhmNk1cIglJ7+td7+77rgEvjPNmrmjJXmUCwgufvDBWUmq7ypsYhPCIzxMvnHmE+Ph65PnIbtDu+iVVUOhTAogNWFPxCRaxQKU3wgFM51jWLPDCacVoIms0fDQSWjFInIE7pfHPm8z0MvrADiqNy5GCJVYyTbkQsRRStYeGafuYQK3kCjo7Sft0k5nMrkxQGpqjrbaQ63MOMgetNuhS80Qz53Fn6fAZ8Iy5sIfIYrSydrYL3ROHC8fdYR7DAY+PS81lcSE2+6wVsgADlnTJi+wFUtNYhAgVPCtwLVqop4GLKUFxbBY6UCoLveBfJn9giqkZ17DAsw1SYxGIKajQ490Re7JA5HcCBU4gBYJqvobe+YdUcyneJMfMxN9Yj/t+gEzTCvRA5F1dJ+l+N9S9kJohn5joNgFXNgFbuc46AuPBCCxMOEMhEAZRQduMgtskXM8kbI8+6yREP39Mt2oKbmU6+vU7IMa/JHocXYDoyfDKAbZMNd4a4iO3q9tdu54RmJC/jwCa+59i6979Z/4G"),
- this.addDataEntry("bootstrap pagination",330,30,"Pagination","7ZjBcoMgEIafhmtGJTHmqrY59dQnsHEjTlEcJNW8fRHUJEUnnWlCLzqTCeyyyP4fHnYRjop2z5OKvLEUKMIvCEecMaFHRRsBpchz8hThGHmeI3/Ie53xusrrVAmHUvwmwNMBXwk9gbZoQy3OtDcQUchjxS7CYU2SlDVy4shJmtQE0n4iPVW3vmizLpfVh8ygFnK44hwO8ijhMac0YpRxtSs+qqeLFJx9wpUnVY/0NCQX8F4lh27jRu4lbf1xgQtoZ1NWpj7fPbACBD/LJU2eCqJXYKxlcQjkGenDBltS63k2hl4ElINew2k98YSePhXq5MP/Y/WlcBThSQhWGmKWrIQfyg8mVooryXEchFH8F8m9+5I/SfG1obj78Cusb/D8TZ1QuAKey1zgH0Rvb8W1wGBjMMALg867s8fANxisFwYqwLMHYWtA2CwQVMDGHoTAgOAvEFRAYA/CzoCwXSAor2sPwvCqKwrBQkF51xYpuAaF3UJBebcWKUyVun7Wl2bZM0oz3mUwU5vdYWO9VrAIwqyRH990mPkcRh1/dCNG+/1vYmxcPAmF/zQScnppLCnfTd/pGw=="),
- this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;fillColor=#ffffff;align=center;strokeColor=#dddddd;fontColor=#3D8BCD;whiteSpace=wrap;",100,30,"Previous","Button (Previous)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;fillColor=#ffffff;align=center;strokeColor=#dddddd;fontColor=#3D8BCD;whiteSpace=wrap;",60,30,"Next","Button (Next)",
- null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap ").join(" ")),this.addEntry("bootstrap button older",function(){var b=new mxCell("Older",new mxGeometry(0,0,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;fillColor=#ffffff;align=center;strokeColor=#dddddd;fontColor=#dddddd;spacingLeft=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,16,4),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.arrow;strokeColor=#dddddd;flipH=1;");c.geometry.relative=
- !0;c.geometry.offset=new mxPoint(12,-2);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (Older)")}),this.addEntry("bootstrap button newer",function(){var b=new mxCell("Newer",new mxGeometry(0,0,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;fillColor=#ffffff;align=center;strokeColor=#dddddd;fontColor=#3D8BCD;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,16,4),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.arrow;strokeColor=#3D8BCD;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-28,-2);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (Newer)")}),this.addDataEntry("bootstrap tabs",460,45,"Tabs","tZZRk5sgEMc/jY/JoCTWPjaxvT70Zjq9fgESN8ocigPkkvTTd1FMTDA3uVaZcQaWXRf+P1YJ6Lo8PilWF88yAxHQrwFdKylN2yuPaxAiiAjPApoGUUTwCaJvd2bDZpbUTEFlHgmI2oA3JvbQWr7LElqjNifhjIUpcWlpGNCVLlgmDzggOMiYLiBzA5yprX95zO1+5hvchTbYnRu2+S1rdNlxIdZSSNW8lu6ahnYmeF6hbYvLBmUdZWV6jqRpNodR8hV6M1nTcEa98D82+xL7h4IbeKnZ1hoOuAK0uY2CMnC8K1Zjcko9ASph1AldDjwzReuxTNqoAnheuKhFqzFhuh3n58iL8thx4g+DoB6IlGu2EahuRH7w6nV0JrJe7Y2R1TtYrtWuZAU3Qt9gOsMYG4ALiN1x7fEICZkGyMID8gxasxz0lCT8QhgJDU2T1Tq1gUiFV/kvpxYl0+EK49jnFcbT8Fp6vDqE45FSCramp3PiA/rctHuAbqCcadagOO4Yeq7/zGTxPpM24OR+DvOlR6hTsg+og6ZAMMPf4OpdQ9Rc/p+S47LOyWc0vko/S67fIHc7Dcajft7FQwch9g7Cl63hWF34HZX5pNU7dbFGExZrlAwUK5moWD95jDwsneJGcVbl1rrKuK0/i5KmWu7tKm8lvyg3JPlAmT2kXPyfJRUO/KOW41TUTfZZ1KUftaaSx3kJ3uh6/6I2wlntLmFu09RXfEGiga/Yx08uDi+X8Va4/l39Lw=="),
- this.addDataEntry("bootstrap pills",392,45,"Pills","3ZbdbpswFMefhstEgANjlwO27mKVpvUJ3HACVg1Gttske/odg6Ekhipdx80sIdnH5/jj//Mx9khWn+4kbat7UQD3yFePZFII3dfqUwace6HPCo/kXhj6+Hnht4XeoOv1Wyqh0bcEhH3AC+XP0Fu+ixp6o9Jnbo2VrnFpeeCRVFW0EEds+NgoqKqgsA3saY1/fSrNfraPuAulsbqVEva4nJRyVjboscfVgUSDfGC/TUhkwrUUT5AJLrAnb0SDHemBcT6YvJCQPEmz3NhFoyf2Q1euBjxWTMNDS/fGcMR1oM1uF6SG06JkncnqdQeoh5ZndDmyQle9R5T0URWwsrJRu15pn6q+XY6Rr/pjxSKYx0EcHDlT9JGjxqH/gzVPa5G50nnU801iS9CmPlegiq6sAMcGxPZAT1gFvr8OrJ0D6x6UoiWotShdCHsrsfciGnNMIR3WlL+sasRfD1sQxy63IF6HW+RwG1CuRyxxiX3uyuLFt3DBtSAZ7hgmrn/NZPc2kz7gbH8j28ghNCg5BTRAk8CpZi9wMdYcNTv/T8FwWePkGxJfTL9JLkcQh4MC7VAfd3HTQYidg/Blr5lozF0ryv8zi8MVszhMZrLYXymLPznwHF4DCi0ZbUpjTQtmIBjGJFfi2axy8Y0xK/lM/t2kXPzBXAtmfmLRv0m1q9k34TD9R5INm6+v2N59+sj9Aw=="),
- this.addDataEntry("bootstrap breadcrumb",460,30,"Breadcrumb","7ZZdb4IwFIZ/TW8NtH7sGph64ZIl/oIqB2lWKCmd4H79Tm39irqZTI1LhJC0b8+hp+/DSSAsLtqR5lX+plKQhL0SFmuljBsVbQxSEhqIlLCEUBrgQ+jwzGq4Xg0qrqE0lyRQl7Dk8hOc4oTarKQXclNgWUlIWFTnPFUNTgKcpLzOIfUTXKlsfNEu7Fk6MzxBbXDY0RrmWEqkp+LLRvRstNHqA2IllUalVCUuRJmQciMRyrK+vVH3FYI20J495VryRxyBKsDoFYY0IjW5i+j2nRNBDmKR+zTmNV67+WKbuvMMB9620xayIwvH+JKr2+hcrEALrBD2fPvVzI2kSrPnL0teojix+RWfi3IxgcyaEtoymlwYmKJua2lwe8sPagQ43pgXXkqG/kqm9wMYDZIbsYSD1/+FVvfEBz98eFjp+ro7GXoNMn6HdyVwYxq0h9A3GSrLajBHJLd1XQS3dwR3Imaa+y/kkQFvu/Eftt5pwINbAO4/u/chujekt6A7OKKbcMOfeO/eu2H3CnhxuvuPdeH7v7nf"),
- this.addDataEntry("bootstrap pills vertical",200,158,"Pills (Vertical)","7Vjfb5swEP5r/NgI7MCS18DWPbRSpTzs2S0HWDU4sr0m2V+/Axza1KRjnZiippaQfJ9/3d33nS1BWFLtrjXflLcqA0nYV8ISrZTtetUuASkJDURGWEooDfAj9NuJ0bAdDTZcQ23HLKDdgicuf0KHdICxe+mA0lboVhoStjIlz9QWjQCNjJsSMmfgyKaZX+2KJpbZPUZgLHZnWsMDurLSa/ELomZLnG21eoRESaURqFWNS1e5kPIAEcrytiHuPARtYXcyyhZyIV6DqsDqPU7ZisyWLtKgy0RQgijKw7Jo0YHcdEDRr31OGnZc3oZzyLwcfsdNJs0jzohG5pGli1XSJD1XtR3KL5eiqBGTkDf7mw1/EHVx01pp2Di1LYWFNeLNuVt0pnEDDPrxw+U3HMsTfR9PzGEaJLfiCY72/xfu5h5382krAGcs3hD7MKPHzPWMDvEyigU2zMLxgr27P2ZRZ7/kKBoopfgvKXLn3ymBbvWHXzF2dPzVqwJVeW7AehT3UYxiPfJYv9MKKZmsaE/R/ediPkH9hyzaV4pwCmB0AgXEngJuwRhegPmUwPlJIJ5PIIEvngQOr8F/vfqXbRtJfq+ad1/98YVf/QuP9VQYfi+RTBrciPrx3Os/a9tl1f8ynkAJS08J672xUCG2Bmsxl59vwRlqIaRTXAth4Kkh/PiPwfKyHgM0n/+sdNNf/nj5DQ=="),
- this.addDataEntry("bootstrap navbar",720,100,"Navbar","3ZjdjqIwFMefhksJBXX0Vt2dm9lkMz5BBw7QTGlJqaPu028LFUFgcCKwk8WYtKenX79/21OwvG1yehY4jX/xAKjl/bC8reBcFqnktAVKLdchgeXtLNd11N9yf3aUorzUSbEAJu+p4BYVPjA9QGEpDJk8U2OIZaKGtUOWt8liHPCjyjgqE+AshsBkVEmq/ZNTpOdiv6kZZFIlbSHAV0PZiD35oz0WKh0SSreccpH34IVL/dOtSMHfoVIS5I+uDf5BZOQDXiEr2tG9msGDkHDqBJCbzOyfgScgxVm5HEkg48LjyUByYiBRfKnmGCPOCkNU1r3yVAmDtB2v18C7EZgFgzMuENfxMc7ghvXFxJmsQF7nj7EbldBc5Y8xkbBPsa8tR9XRvcjdXuSrFuLzAYDPG8BfCHsfiffNMi4Xa7sOHdCHhnyqA64wX47EfDEl80fX+Ei40Xw63ssG753gqQLKvinzTOEmLHo1GJAzng6u09ShPMmHFuKpP3he2EpBMIvoLbgapTbKAdEaEM6UKeMHPaVNCoKosULF7S5yy89XcFHhbG4N9qLBcdWkaJwEUCxVcK611EbW9P6bEzWosusZWtc6n3n1FngYZiAbypRzuEusVUOsPWDhx7ZtT3Hl6b7a3Oya0o4pibTsFEJ53UQveW7UPeQ5i5oczZXgtu0ob4AdtW6KdHhLiPy3Co3EeYGcHs5tt6QhMF86HjlkY+bHGubkwbiGFX0pMD98lK3qos5uA80ghxlCk90BekWcMLr3CftppH9YWXcSZe94I/9OlwrU8Xr9f94qVPb6baZwr366+Qs="),
- this.addDataEntry("bootstrap navbar form",720,40,"Navbar Form","xZVvb4IwEMY/Td+SUmTTt+LmXmzJEj9BlYM2K5SUKrhPv4PW/3NzmVGMSe+5O3p9fhBIlBTt1PBKvOkUFImeSJQYra1bFW0CShFGZUqiCWGM4p+w5zPZsM/Sihso7SUNzDWsuFqCU5xQ27XygrAFjjUJSTSuBU91gwHFIOW1gNQHmKm6+qLNu7MEczxBbXEZGAMLHGVsZvKzq4hxnUmlEq206XeIsofu193FGv0Be5m0vzDjxwRjoT171F7y55yCLsCaNZY0MrXCVTx6O6gAmQvfNvAar12cb1t3xuHCe/e9j9GJj2PDy/TqZjovD30qdQlHpm4kXdo9N0f95XWPIxxg3AhpYVbxRac0uFHHC2qseNn4FF4Kgf0KYfgDAwOKW7mCg9v/B8zgBMwMuFmIIAhu8aSff6KP2Gx1rmReoqYg61EjFVnmr300CenNaTH6Da7or7j8Fu9a4s6M+oGGsetYuzA+7NdZVoM9gb0d8yL+8Sn/5byQ9r7w7//CXYkgG9FrI8Rw9/1z5fufxy8="),
- this.addDataEntry("bootstrap navbar button",720,40,"Navbar Button","vZRbT8MgFIB/Da9LW7apr+10vpiY7BfgOC1EWhrAtfPXeyi4S7bqFi80Tc6dcz4IhBZ1vzSsFU+agyL0ntDCaO2CVPcFKEWyRHJCFyTLEvxJ9jDiTQdv0jIDjbskIQsJG6beIFiCwbqtigbhamxrkRKaW8G47lBJUOHMCuBRQU/r4+u+8rNMXnAC61CcGANrbCU3K/nuI2Yol1KpQitthh1oOfefr+KMfoUDDx8WejohHaxatvYlOqyLttg6GAf96PiDKc6+BF2DM1sM6SR3IkTcRESJAFmJmDaNNmaDXu1S9zBRiDzPs6UnbHPDGv7bgFmzFp5XXurGHbC7G1a0R/jpdISlAYsRj58E0kvxZt/ivf2CrgHFnNzAUfmfIJ+eIF/JqvEBzX/c6+vu798xn59hTq9lHnd41hI3zpL++Di3QZ0d5+uytOBOTmzX5blDRHX/3oXww+fwAw=="),
- this.addDataEntry("bootstrap navbar text",720,40,"Navbar Text","vVTbboMwDP2avFYhtLu8QrfuYdUm9QuyxpCoIUEhK3RfP0PS27pulVYNhLCPL7GPrZA0r7qZ47WcWwGapA8kzZ21PkhVl4PWhFElSDoljFH8CHs8Y00GK625A+MvCWAhYM31OwQkAI3f6AhIX2FZ04SkWSO5sC0qFBXBGwkiKmipe/+qK/teRm/YQeNRHDkHSywlcwv10XtMUC6U1rnV1g0npMVN//ZZvLMrOLCI4UFLK5WHRc2XfYoW8yIWSwfnoTvb/gDF3mdgK/Bugy6tEl4Gj9tIEZWgShnDxhHjTdDLXeieTBQin99zm55wmzluxLUJ5mYpe76ywhp/wN398EQ8kp+Mz3DpoEGPpy0DyaX0sl/pvfuBXQeae7WGo/R/oXx8QvlClQZJRBcTcjM6526Fvxfv7dWXPez68R4ba+DL0m+hMxPjGqtGTEMxpMNZKVM+D9o0of8+w2RyjSHGI16twpMZ7Y73Yxthi6IBfzL0XWHf7QGq+yszuB/eqJ8="),
- this.addDataEntry("bootstrap non nav link",720,40,"Non-nav Link","vZRfb4IwEMA/TR9noDi3vaKbezFb5ifo5KCNhZK2E9yn35VWxKibyYwQwv3v3e+SkmRatnPNar5QGUiSPJNkqpWyXirbKUhJaCQykswIpRF+hL6c8cadN6qZhspekkB9wobJL/AWbzB2K4OB2xLbmsUkSQ1nmWpQiVDJmOGQBQU9tYsv28LNMvrECYxFcaQ1rLCVVC/Ft4u4RzkXUk6VVLo7Ickn7nVVrFZrGHiy7kFPaBO0hfbsqJ0pzDkHVYLVWwxpRGa5j3gIOCIOouAhbRxszHi96FP34FAI7E5zTI44pppV2bVhsmrFHZs0V5UdcHrqnmAPoOMx6g0XFpY1WzlLgyXcJsBgxOuOQHwpXvon3sdf6GqQzIoNHJT/D/LxEfKlKCqEiCGVr02jBdNr/L1Zq26+CyaxH7RpDyM1uAZRFR+BDY1us5/DhMG24sk11hUOfFcC++hPu+uL73JUnhuwRwvuGz21c1T3V6EPH96UPw=="),
- this.addDataEntry("bootstrap navbar",720,40,"Navbar","7ZZrT4MwFIZ/Tb8upWxTv47p9kETk/2COg5rs0JJqYP56z3QshtOl4iXGJuQ9Lw9p5f3AVISRmk1MzwXDzoGRcJbEkZGa+t6aRWBUoRRGZNwShij+BB2d2Y0aEZpzg1k9pIC5go2XD2DU5xQ2K3ygrApbmsakHBSCB7rEgOKQcwLAbEPcCSv89NqVZ9l8IQnKCx2B8bA0tYZ1ug1RFppg3mZzjB9YhbypS4bYT+RSrXDhIWsaaj7HYKxUJ09ZSP5I85Ap2DNFlNKGVvhMq68E1SAXAlfNvQaL1y82pXuPcOOt+1tC8OOhRPDs7h3H9+x8dC6VtKZPXDzpmle96YHQ4xLIS0scr6slRIXqqlAgRnz1qfgUgjsQwjX7zAwoLiVGzia/jNghh0wc5zki7icvL20aWd5HcNJmvbtMMZ9wPArPGqJCzNaHXNuK3SSFGA78Hb7uojnqMPzXmbrX/qd/RmUwek/sheW43+WP8CS0R5YYri/n7j0w+vLKw=="),
- this.addDataEntry("bootstrap jumbotron",800,500,"Jumbotron","vZXNjtMwEMefhYOPRI5DS89J2eUAp+UFvM0kNvgjctxtytMzE6fslqRSkQKtWo3nw7F//7HDisoOj0F26quvwbDiEyuq4H1Mlh0qMIYJrmtW7JkQHH9MPNyI5mOUdzKAi/cUiFTwIs0Rkic5+ng2k0NFi8va56woeyVrf8IBx0EtewX1NMBIR/l2aGkv2TPuoI9oZiHAAZdShif9kzI2aDfamMobH8YnFA2nL80Sg/8Bl4jzDgvKaYUQIgw3dzm6pi0+grcQwxlTTrqOKmXseCLBFehWTWWbi1P2ydH+rn2FhsbEbZlhMWP4GRM8ExWtwAdTv1sbqnQHRYzKxrs4gd1RiTS6dTgw0BD0k9IRnjp5oIQTVt7LUyzznAq2E7XzBW0avqG93S3Q3q0A+8MM9jele0qgP0mUte0QMz06oAj86HRMWlxFvx/ts8d+c++TLIIfvO2w5RCB4A3SRY80RrsWLRiQO00RIyZo79CONHsDMh4DSkb1LqbqsVg7nMRKSs7+h/6IZlnwP3piff3zpQbYLjRAvsZx28w64AvIQIJYH+BfXV8E+s2V9TB+5lcZHsOy2t+6yu5RawV5eMY/bq4U4tl2plC+dEQvqgUw2LkvcLWCv1ANh68vsTF29Y77BQ=="),
- this.addEntry("bootstrap page header",function(){var b=new mxCell("Example page header",new mxGeometry(0,0,360,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;fontSize=35;align=left;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Subtext for header",new mxGeometry(360,10,300,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;fontSize=24;align=left;fontColor=#999999;whiteSpace=wrap;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,50,750,10),"shape=line;strokeColor=#dddddd;");
- e.vertex=!0;return a.createVertexTemplateFromCells([b,c,e],700,80,"Page header")}),this.addDataEntry("bootstrap thumbnail custom content",330,400,"Thumbnail with custom content","1VbdkpowFH4aLuvEoNZeVmz3qp3ObF8gQjCnDYSGgz99+p5AUBDcsVPt7OJIcn6TfOdLQhBG2eHJikJ9MYnUQfgpCCNrDDa97BBJrQPOIAnCdcA5o3/AP1+xTmsrK4SVOd4SwJuAndCVbDSNosSj9gqFGU1rPQ3CValEYvYkMBISUSqZeIEshfPPDlu3lsmGVlAidSfWypimskpB68hoY+usYVo/pLfP8NtFzl0WtOan7Hgl9UMWP01pUR6uLrVW+XU+SZNJtEdy2UOCqvEIwwYOpiRslQ+bMa8UZaPYnmLPyFHHgzcOZDgAMuTswNvUHTxbqFpcTI4eAj4bwYm53wCb3OTSB3ecP9QP6fcKUD4XInZp91SGWyHk4xD6gHkTcOxJXXj5CLz8HvDOBvB+V1W2yQU4Ly02tHXuTFyRx8oB26vQgmShYZuToGWKj8N62ge73cg9uNkom/8d7fkA7chSPs5+VCUaak0C1FAelogCNpWziZheqYhBQwlOAXnjIreyxDqcekjNr0pkE2rXROK4GZZsGpyNiE3vDBxWxqKglgqzg8T1BJ6T0KKq0mX5WmktsjZNUu8GL+SwUdRUGi3EIMu6JgriSrtsFXbHnjyMP9dPtTHqXLDLcQhioT96NZqiT8np7P9xcHEjB5d34OBiwMFVhejY8Zj7qXsPdeFdDM/kcL1cResbz+TTRXfvGh17AZ2SLF84FazUAmEne7FjZfLjfTOQ41VCvFtcFNqkael250WZT7O+qfLvX1Hl/27vvrlytpv3nvUk8fz92rh3P2//AA=="),
- this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#999999;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#0D5B9D;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",
- 60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#58B957;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#55BFE0;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",
- 60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#EFAC43;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#DB524C;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",
- 60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#999999;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;fontSize=10;",40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#0D5B9D;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;fontSize=10;",
- 40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#58B957;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;fontSize=10;",40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#55BFE0;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;fontSize=10;",
- 40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#EFAC43;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;fontSize=10;",40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#DB524C;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;fontSize=10;",
- 40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=30;align=left;spacingLeft=10;",250,40,"Header Text","Header Text (30)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=25;align=left;spacingLeft=10;",
- 250,35,"Header Text","Header Text (25)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=20;align=left;spacingLeft=10;",250,30,"Header Text","Header Text (20)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=16;align=left;spacingLeft=10;",
- 250,26,"Header Text","Header Text (16)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=12;align=left;spacingLeft=10;",250,22,"Header Text","Header Text (12)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=10;align=left;spacingLeft=10;",
- 250,20,"Header Text","Header Text (10)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;",150,150,"Image","Image",null,null,this.getTagsForStencil("mxgraph.bootstrap","image","bootstrap ").join(" ")),this.addEntry("bootstrap image",function(){var b=new mxCell("Image",
- new mxGeometry(0,0,150,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Image",new mxGeometry(0,80,70,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;");c.vertex=!0;var e=new mxCell("Image",new mxGeometry(80,80,70,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;");
- e.vertex=!0;return a.createVertexTemplateFromCells([b,c,e],150,150,"Images")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Well done!</b> You successfully read <u>this important alert message.</u></td></tr></tbody></table>',new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;overflow=fill;whiteSpace=wrap;");
- b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#59B958;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Heads up!</b> This <u>alert needs you attention</u>, but it\'s not super important.</td></tr></tbody></table>',
- new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#D9EDF8;fontColor=#55C0E0;overflow=fill;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#55C0E0;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}),
- this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Warning!</b> Better check yourself, <u>you\'re not looking too good.</u></td></tr></tbody></table>',new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#FDF8E4;fontColor=#F2AE43;overflow=fill;whiteSpace=wrap;");b.vertex=
- !0;var c=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#F2AE43;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Oh snap!</b> <u>Change a few things up</u> and try submitting again.</td></tr></tbody></table>',
- new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#F2DEDF;fontColor=#DB524C;overflow=fill;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#DB524C;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}),
- this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#59B958;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,
- b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#55C0E0;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],
- b.geometry.width,b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#F2AE43;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],
- b.geometry.width,b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#DB524C;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],
- b.geometry.width,b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar low percentage",function(){var b=new mxCell("0%",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;fontColor=#000000;align=left;spacingLeft=5;whiteSpace=wrap;");b.vertex=!0;return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Low percentage)")}),this.addEntry("bootstrap progress bar low percentage",
- function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("2%",new mxGeometry(0,0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#55C0E0;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Low percentage)")}),
- this.addEntry("bootstrap progress bar striped",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#59B958;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,
- "Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#55BFE0;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],
- b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#EFAC43;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],
- b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#DB524C;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],
- b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addDataEntry("bootstrap progress bar",800,20,"Progress Bar","vZXNboMwDMefJtcqTUjVHgf9OO3UJ8iKadACQSEddE8/Q7K121q12qBCSPbfdmT/MArhSdFurKzUs0lBE74iPLHGOG8VbQJaE0bzlPAlYYziS9j6SnTaR2klLZTungLmC96kPoBXvFC7ow6CcgW2tZwSHtdKpqZBh6KTylpBGhyMVF1+0e67WSYvOEHt0JxYCztsJbbb/L3LEF22s+YVEqONRaU0JQbiLNf6UyKMZ7PuQb1RuYNtJXdddYNHoha6BuugvTp5L4WxN2AKcPaIKU2eOuUz5tTToQryvQplgRiVtff3X6UnjmgElJex8tGxashcfHDOlH9gu4wFi5L/sGU32U7FSGyj22zDyt2DYs2eVhFH/ex7DE2l/UHkjBIbawPFoJTEIl6I+UMo8QuUxlql2bCQREJX9CGQIvob0lA/HLqn+6ePfbuePgA="),
- this.addDataEntry("bootstrap default media",700,290,"Default Media","7VjLcpswFP0ath5eIc2yxk1WySZfIEsC7lRIVEjY7tf3SsiNHdtNZmq8aMGDka50Hzr3cBZEWdlunzTpmmfFuIiyb1FWaqXMOGq3JRciSmNgUbaK0jTGO0ofL6wmfjXuiObSfMYhHR0GIiwfLUW+LfLR2pudCNbGtFjbKomyZd8QpjY4iXHCSN9wFia40rn97bZ2B1qs8Ri9weFCc4rlLImAWuIGitVx7TyMVt95qYTC2Uoqie7LCoTYm6I0qwr3c3YlzYH9wV9o3zRg+GtHqMu9wXRoC8fi2vDtRWi8KeDyxFXLjd7hlg0w0+zBGL0aDnVjjm2kH+f1b883nHEQoD4Pe3YC+zNnQHwmwkDW124AkbRxwHkQX+Gn25XmBy0RvDITYBkc7kcWHkKbxvEptln899jmJ9iWGuMhmmBcaAyIDwnrBh8C1lyrKC1dAIl/CNwAzHVCWiHIAgcvbuARcGnQ3fpolAuuof+BWTAqEtoZlRBAwVjmg1HVtoopFyTU0FntvRWDkHXgvYG1FbbdlzBY0VlDfEBixl2Gt513HAAboV05xuoOehf70WIxPp1k0GJLfCxpJXURqD9tD+8iVxppBuGIK3zz3D5BKEjPQ4xV+5NVXEC/L60ilmKxLutE/HzHR8c6oER8DWajugssPSB2kk/P5N0xYQ81IztD7OIKxL6btfqkK6ENSXymDxNpd/GfavcfoJ5My+9nLZ+1/GbMvqWYf5nF/JNtSW+o7Q8nXXnBVxpxdlrxL4t8kn8MejaVyifxLPOzzN+O22d0/q64js7j9O3jjV87+rbzCw=="),
- this.addDataEntry("bootstrap media list",700,460,"Media List","7Vldc6MgFP01vmYErG0eN2a3T+1LfwEREpmiuIj56K/vBU1rotlmZkMfrMkkwoV7wXMPZ5xrQJJ8/6hpmT0pxmVAfgck0UqZppXvEy5lgEPBArIMMA7hF+A/F0aRGw1LqnlhrnHAjcOWypo3ljjax1FjrcxBttbM5LC3JQrIosooUzvohNBhtMo4azswUtr5+X5jb2i2gtuoDDRnmqewnQWVYlPAhBR2x7X1MFq98kRJBb1loQpwX6yFlEdTgMk6tl9rV4Xp2OfuA/ZdJgx/KWlq197BcmBrb4trw/cXoXGmFpdHrnJu9AGm7AQz2RGMxivjYpOZUxutmv7mw/MTZ2i0UA/DTnqwP3EmqFuJMlFsbp0AWqSZBc6B+CLe7CwcdVIi+dp4wLJ1uG9Y2IUWh2EfWxL+P7ZRD9tEQzxAUxgbGgLCpRCrDC5SrLhWAU5sgAL+ALitYDYTRS0lnUHj2TYcAnYZcK9dtJRLrkX1F1aBqEBoa1RSilSYmrlgqcpzxZQN0u6hrLXzVky0q255ZcSqlnV+3MK2lmVtqAtITTPL8Lx0jlsBidB2O6bWpahm3phyxgybf5FS+as1G1Ve4EuHYijyz6nDKXW6p5cMUCy+AcXuJtW8Mivzgax40tS4l5RnOFoAMw7HLa4o+hJz4kts7yex/RFie84xhPsku4s9ye3DJLdX5+Xh+wR3fllw81ELLkZfg+5NcY9rT5I7csk9Z9lHv8OyaO5JchGaNPfKR1z8jZKL+vWaH/qQO4S6P83t12smzR2j5p6zjAxorrfHXNSvXE2a2zrEJD5NzEBF0Zvo9ss9I9Xaf4DrrVyL+nWbSVtHpa0tq6Jw4MjeqEIL3c93Zm7s5JXaOw=="),
- this.addDataEntry("bootstrap linked item custom content",400,240,"Linked Items (Custom Content)","7VfJbtswEP0aHWvIopP4WllpLglQIIeeaXEkEaVIgaS3fn2HS700diI7aho0FWCRHM4MZ3l6shIya9d3mnbNg2IgEnKbkJlWyoZZu56BEEmWcpaQIsmyFH9J9uXE7tjvph3VIG0fgywYLKlYQJAEgbEbEQWNbTGsYpyQ3DSUqRUuUlwwahpgcYE7ndNv17XLZTTHDIzF6UhrKDGUXD/yH07jCucVF2KmhNL+BFL5y3mxWn2HvR3mL9xZNdzCY0dL52KFflEWQwdtYX0yfS+Kud+BasHqDaqsOLNN0JikoURpA7xuohlKg5CaIKi3trtq4iQW9HhxyZPiFkpCGTSyFAS3OEgl8d5yF7jSluKINVxy5mbUaUANbsDzF2aUZNdYmLEr+gOFEiRGiP0C55Fx2u70NTcL48/X3E/mgkrG7WjwFocO73cVk4JnG9qB5pgQ7Ctje7ms76FyTfAZUsFriQvhZXmlpI0wGk9OoMLhgZdUfI6mc2Wtanfu87gOB2gw6O9bRMO4L6qyy1A1jTINglq+hAP/x5AWj/iquHQd3Ry6+WWhqsq4jv+GzG1gvcA6eQLWe26sB6NadE7RQuvzoQzLODSGqCwbB5IzUTA9gYIL+0ou6+vk3L72ZZCrD8Ig4SHNF3iXz7wrXmSV8ynkCA+9jlXI4KyyOTB4I4759EdI5vo/ycSH+h2RzM0HIRmruhcZBmMmxTSfFcdoZrvjwHH0/+u/SD+DE05fXE7fCVkM0+2BSeTm75IILncfqeFFsP8N+xM="),
- this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#E0F0D6;fillColor=#ffffff;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");
- c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#D9EDF8;fillColor=#ffffff;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#D9EDF8;fontColor=#55C0E0;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");
- c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#FDF8E4;fillColor=#ffffff;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#FDF8E4;fontColor=#F2AE43;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");
- c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#F2DEDF;fillColor=#ffffff;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#F2DEDF;fontColor=#DB524C;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");
- c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#3D8BCD;fillColor=#ffffff;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#3D8BCD;fontColor=#ffffff;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");
- c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel footer",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#E0F0D6;fillColor=#ffffff;fontColor=#f0f0f0;spacingBottom=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,1,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel (Footer)")}),this.addDataEntry("bootstrap table",800,280,"Table","7Ztbc9o6EIB/jR+b8SWkyWMhp+10mk5mMmfOs8ALVipLVJILOb/+rGRBITIHkljmEsxksNa6eT+vvLsRUTYo518kmRZ3IgcWZX9F2UAKoeuzcj4AxqI0pnmU3UZpGuNflH7ecDWxV+MpkcD1Lg3SusFvwiqoJbVA6SfmBIUucVq3SZT1VUFyMcNCjIWcqAJyV8ArU1O/nE/MvVwM8Q6UxtMLKWGEU+nLB/qvqdEztbUUP2EgmJB2jCy3B14ZU8ZW5GN7oHxWUA0PUzIyXcywX5S5qYPUMN94+1bk7v0LiBK0fMIqM5rroq5xHdcqigugk8I1Q2ktJKoWTJZt/2gTT5xCm5Wbecq9JxxMDU01qrdlTWsx7VdaC/5qbefmY+SC6xX5jT2c3HWcXC7Kbv5m1oTRCY5+y2BskCvkRfnkuy3dJvEGjhIU9vmPI5LsSjZ9HdlLJ5PAiKa/Ya3/t9C+9Gg/YCcoyWFMKqbt9Gv8I9SbuQ8zMwkX+P2jYoyY1lQT0wYYNZcZHYIUUTowczMdFKgAhG2K1aSyTT8BB8JNZaNtaq4NsRnPqxJPuetY4QNkB1ZojqArudYUKtMecKT4V0VKc+0e7w7nCOpXZSYkJMehbUfl2limvoXFgaNClT1Xmg4rVpXLWytrRaEy7GPlCpwOC/xC5Ug6olC3LeioYsS0bH0pqlei3eyBCw5H8khfv/SRdkPcC2ofwqd1y1i0EOOxAu2ZwHJiO1lFL/wL5iVUV1e5/YN78VrUDC5JQ5C7aiCXdQLPmV6DNW57AW1G+nWh9p2Z9rYy7XX5evno4fhMpTJPwQ9Stu5LtMzl2SraLaakFU7PTG++vvS2annXHurv5Ex6z6TTLATqGw/13wrQ1Tpz3hfnLIhJJ7EH+tPIzvKMeTPmED6Tm1DvKgjmxMPcF0qdIe8H8sc4COQOkmaviFRPJ5wJY5p+Ni45MLts0/CS7Qw7DV8SPz32TRT8wAgEXAl3AHJ0gUriZ3f6QpyZHnVIkviJn0e0VP50fWjr5emSDRSE+DmktomOChj9HIp5k/NyZY+3EnBOQnzh1p4VImkDkLTlcMEN/yEJAsjP/HiAFrrHlnSq4H8VvQLzCHW+9N7D6txPwXSyzL0Xbz4NEoOlfj6lG2x78uZvtjLs1JtP/TzHHXFdHA6BkP7BdiBH580vLGjVm5di9p5itP1SDePPN2xDKqlS5dlej92fb9hy1DbRFv35DQRO2Z/vYvcLyalYbvs7KUbd+P+N+1zaZTQUiKd8w97Mk4sJgmw1a9gic2j7ldp8pdUP7gHFBH7y4hsp4dD++RnQydiByPEFBX565E4ISd6R77hnrGGigsxPoDzSx7O9Hn1QkPmpmdaJPvtJT/Z2z3MTilOODjI/3+KRCpntPyydB/H2sfjnt3R19dWf2v0H"),
- this.addDataEntry("bootstrap table",600,320,"Panel (List Group)","7VhNc9owEP01PjZjbEKTY4E2l6aTmcy0Zxmv8bayRPQRoL++u7IggMkMSUjJATNgabUrrd57kmWSfNQsboyY1be6BJnkX5N8ZLR2balZjEDKJEuxTPJxkmUpfZPs2zOtvdCazoQB5Q4JyNqARyE9tJbWYN1SRkPtGkpr3Evyoa1FqedUSalSCltDGSvUMmP/ZjHluVwUNAPrqHhhDEwolaG5x7/sccnezug/MNJSmzBGXoaLWiqUcsNehYvsMU0wDhbPTjWY4jxvQDfgzJJc5li6uvUYpC0caQ04rWNYHjFKhW0N03XsE3JUiODtBzLvAHknFLCHQ0dQHhlVp2dD75xWr0a25A/btXIb9utwRXvsuNdf1WP+nLWQOKXRxxIqptfOxATV9HuojXuc/bxGB/dk55A5Zc25gqU+f0VGeocym72O2X60GZDC4SNs9f8Wtvsdtu+pE7KUUAkvXUi/pX9CuPE8ODMDF3T/4aUUHI1OcAxI5GaJBRidZCPOjTuoCQAim6t+6kPoF1AgFDsz2shtBYWp0jdUVLFjSwIKA1taeuC82QoFz/FAI6UPXjTcdkezoxzBPnhOSBtFQ4eOmq2x2D+QpUARoDaUrcPCS9+sp9a0QBEYQVaxorCo6UbgGJwgtLE1TrwUHHn0bafddQ5bD0oreLWkdxfK6WV/9VLZxyHuNAahLrdXzypCV5UF11km68QOWjmXnZUzMoLF8Ntbx5rUJeqPIIY97O8yvaOX0xP/4v1uP/G93QfiUZgfdJgfixltHUy+mNBPRYBLtGFbQXXWwGk1MHgPDXzuaOBWmwLXDySDlvVwZv6EzGfpezB/1T0fa+PEau1vHFai6ayBU2rgXZ791x0N/FyfHnksToCOwEffAApNb0rNG96XPrAgllsB/0ken44hD6o+/c/Rum/+DfIP"),
- this.addDataEntry("bootstrap table",800,160,"Table","7Ztdb5swFIZ/DZerMORrl0u6dqqaaVI17doNJ8Ep4Mh2G7JfPwMmTWqyoAYHSKCqhA822O+DyesTYrmTML5neOVPqQeB5X633AmjVGR7YTyBILAcm3iWe2s5ji3/LefuwFGUHrVXmEEkyjRwsgZvOHiFLJIFuNgEKuCLUHbrFlnumPvYo2tZsGXBw9wHTxXkkVVSP4wXyVhunuUIuJC7NwxmIqkgGH2BCQ0ok9UiGsna4zkJgjxkOe483WRcdQqYgPjgwNKQGtU90BAE28gqa+IJP6sxsrPB2z6QhZ83G6gg5llgsW37rpPcUVIVy+Yal82n7JFEwDXppE5euhXo5yV/Ms6Ak7/wRymByirqfE7RnooxCLAgb7B3/lNU7hWo7NZ1f+YhGoknKW5yxV5eVp1JurD2iYCnFZ4lgbW8wBbHj1yy0jzcozz658TR13DcEcaFDP3EITScCw7IIpL7AczF2TGhSjipS/yiJEpEj/Mpud+CzucchMZ127FSqAca6kfcka6ZtOOaQD3UUP/mwKKOc22cXSNTeqRx/jZLO9lRPky5ErtTTLn/0YdWQvmrRnlMOe8Y18N4aJtgjOwCX1zz6kORbvjC4wOlzf5pqoWENEioYdOwynmW3ZPNWasgPbHxQP2oYQQMPvhKAGndqgTpaZcxpR3TVq8/kJ7lWcqZGm1GTXteXi5ZMysOpCeMqiY682H28kzjIp8ySLdTCSiPYN+owewQcQqAOBUvDtTlvyAjgPQ0jwYo1162JCsO/xV6B2YLNd+adbOa6/mWqifFVZl3M08uPVlSOaUmmffhUYTnNe96FmOK1SmaQ8CkHTgOpHXmPX9K75p3RtfXtCSrl6oZ++7oeY6QcB5287Xt9j3/yGuHfT9A4JLt+xneQmHYI3T8KgSNLo3Reex+4Tssnd3/tN1HjhFKeqaiae8ZVflxld2UzfH7Ba+bPOAQmva1pUEDUYJI+wy/numYUsrwFfnCmrEacvx6cmRJlt18bb/h19MulRNVSJni5J7uKg+huGTnn8/ruhL3zdLciJOXxfdfYWTVd3+k8Q8="),
- this.addDataEntry("bootstrap table",800,360,"Table","7V1db6M4FP01SLsPU4GBfDwmaTuj0XY1mmh3n2lwAirBWSBtsr9+bbDzZUg9qZ3i4IxGhRvjmHuurzmXQ2K5k+XmaxasoicUwsRyHyx3kiFUVFvLzQQmiQXsOLTcewsAG/+3wGPDu075rr0KMpgWIgeA6oDXIFnDylIZ8mKbUENULPGw7h3LHedREKI3vGPjnTDIIxjSHfzOirRfbhbkXO6e8RnkBd68y+CsIA2KDL3ACUpQhpulKMWtx/M4SZjJAu68fGH7WxQXcLoKZqTLN9wLttGBwqyAm8aTLU30TL9CtIRFtsVN3uKwiKoWA7tyiB3BeBHRw9weNQZ5ZVjsjt37Dm9Q99W70lXuyghlf8QpzDl3Yt+F5avGpyH5h+0ZzOP/4D/UE46oR8FlHvWoLYNJUMSv8Kj/j3jZ47z8Z7CEnxW0zITSYoq9Sz7RY/t0MGQIQRIvUrydwHnREN4VPN+YC4Xxcd/Fx/Fl4EM/4geK8ScDmw7IP5k3aD7PYcHhuRuYEMQ+B/E9Wj8n8AsJfgv0cFQ7BL5vMAhhZqD/HOjVYN/jsP+JB5kuDMqfg7KnBOU+h/IU+w/DBuy/VgbqM1BLWWvroe4BFVAP3r8qYtAVWRykC2IdhzFBLUbE0Tlak9MXuoK0y5eov/v1/j4+YFvt2Xd0WTpCgwfDl4LFF9bPlu2zj5cKzvB9cK59yUpxbfnV6glq2+NupGLEgkxkBuEj41UOBSfLzv8HGAt5eVjv5TMzBdQ4HchJW87JTHGUgOAonynrHF/LigE3LF/CnNg+m+Z2cJ1LdB4PnwPkZLr+MXw9FejxVY7vKEqxZYxQyy43FF5eNExbnamiwxdd0It0RCmkGcXJFZym/mA89PsnGIOaS0qyL7UM9usJ2lWXoHfIq83QfGFIehxUTFQM/IfH0cQjkQKXq2L72LDy4o8IWUhV3U9nQTlcf2+hJ5AXQaYuAGqnPnOqLBLJIqCvIgD4spEFegmZuEXwjD0I7Bk+YhWEYYkibtD7d03q7GN7v0lb5XjSnW+1DytmpM4clRyNwMc8ubcc9tBb0L/VEDPOQtgwWw32B84wxqTodTCUV77VMg5DcsoHrfZYM6NfjoobEnGkPYWYh2Of2wM8fh8vyvboySIJoRocyVjEVbuQ3nfCgpvr9zdgO+7vrAcMZ9XJ8VljMzlx3sj5hxgrXJm9zes4whN2npRjIAdff2Xv6VY4cPhSoGyIO0VOB0pA4it5HEhXJqdV3HSLnQoU2VrLTs8X4brATvkq3FM8iwJIGv1Ez3Gao7Tdq5vMtaxp/upMU1kyMTT1o6lae54K1FcSFfLUA1YqhadeEAHaE1UGuCGqUolqn4wfGKLaaqIqsrhrx1TbqPzTmak6alASKBBfmao2CT5umKrWiPtkzxVlVLWKoC5T1Rp53iiBmyAtdZiErHaKqt6i+LZGmzdO0OyFiPPawVd3k/bqfPWCfN3Xnq/W1RYNW/koW8GZaeQattJutiKS3/VjK0b0KQel7UkESEWJ1TnbxFa6J/t0NZZ9up2Xfbp8ofU7TNN4XpKVH3Gav7Tu8TGVbOUG9Z8uX3rbsRUbeJF0dPXjLL+etYe6cxa3rtRnOMtHOQsGdWQPDGdpN2e5RS2gq75q3CnOAmwlKAkoNq/MWarA6RZnEZBktpazNNwe7hBn4cutY/Rsde/eStPM1Zqt8KU3IwO8KElrLwNkYaqnDJAMSaYM8III0F4G6NXVFg1JNc+rtWIpV0tSRRZ37Uiqx5ebZWPcLZKq5OtUPAGx5pVJqtfg5xsmqZ76p/WVkVSvQRXQHZLq8eW4Lj+x1jR/daaqHl/Lm67zFcGgLXzVHz8+2J/BVy/I19rLAD31VUWFfNWTzFcviAD9+aoRgprH1lq7nqvlqyIrvH581QhB5aDE+KqSb1hhqb1NfLV7QlBfYyGo33khqM9X5rosBG2avzrzVd98EaikVK39rVXfqD+VPbHmGaLSbqJyi+pP36g/5aBE066rBqX2qT/97qk/fY3Vn37n1Z8+X2Pt4g8VNM1brQkKX237O0ZknApulV7IU+7HPvAmn8FTLsjU2t9SY9dhet5SI2Eh85baBRGg/S21npGAmucUW7uiq2WqImt825kq3t3/UnfVPDv4Ie//AQ=="),
- this.addDataEntry("bootstrap table",800,340,"Table","7Z1dc5s4FIZ/DTO7F82IDzvJpZ1s2ulsdjPNtHuNjWzUYOQVcuLsr98jQDaOIKExIgbkTqf2sUDivDoH6UFyLfdqtf3M/HV4SwMcWe4flnvFKOXZu9X2CkeR5SASWO615TgI/lrOTcW3dvotWvsMx7zOAU52wKMfbXBmyQwJf45yQ8hX0Kxr23KnSegH9Ak+IPgQ+EmIg/wDfLMW5VfbpbiWsxlcQcLh7RnDcy4KcEYf8BWNKINiMY2h9HRBokiaLMddpC+wP4WE4/u1PxenfIKzgC1vKGYcbysvNjXlV/oZ0xXm7BmKPJGAh1mJC5Q5BIWYLMP8MNfLjX6SGZa7Y/e+gze5+8pd6Wp3ZUjZnyTGieJO8F2Qvkp8Gog/YGc4If/hf3JP2HU96rzPo9KhDEc+J4/44PzHeNlTvDwJViQG01/+Cn9U55UmGvN78LKo0ZOf88aIJvgRWcbwPsILXtHNM5m+SFfW1sl9Uyd71IROeRV3lEDNDpINehE/dLFIMFd03TWsltQjReq/Zz+FIEbkDxHZQTpUHqsBPeeExkblj1HZ06LyuaLytc9Nun5N40Zuq+Uajx0dGl+8PQCS0nFG/HgprNOACNVEwLvXCd2Iy681WETp60h/P2fforP8XnPgf9X9o2a8P87Pk9f+yZHVNyrH5dtytD0ezZVsdyg6OjJmng9Dr1GNZCcriPQVxzFZYAbWOxInD+Id3CNde9/XTyZhakyQl++7CR4rts7xrG3XT5BwJFknuGYu3AVboTsc4+VX0qJT4nSn4fGlzIu2jrRo60cemwSCtp5yl+mrNt6o4BvbF3q9dlvzVP2kS47U79P5oXxjHeqplOUrDcX0f0qpSZStJ0oYh+lQWaU8oG0kXMf9GUjqoDkcsfaDgMTLtMD4341gplO0f5uXSsDPr5fadxNpzL03SQfhI5FYc9ftLcUzjJf5v1kTmWIJhIfyPrA/MO0NxYY8qmVWJAjEBRdK7aWVxlHaJqVBd4xC3xTe+r4OYLoVyPbMmFDnRSNFnxUu2yWn/enkDUap4YawhO/YGyKJ8KaQH3GaxuRs9izPD1VmVRxWC2bhHtWoeFEYM/Wl/ZRjnELcLqK0DeLg1qO+fAJzyozAVoFfH6N+DiKmg3ptcS8cie7x2nLA5+gC2j+CGyOa3FpipPb+aP/NQbb7ezGJHF6wajEx3+6dfqwv5vUwI1vFv01LPChKcalFJJXewp0dDN/oLBGkfoDD7qzj9gxQ/ALBbQlQVLm514RCP7nVRyguyvUaDqGQXa2g3i2Zhz6OsoRJYpMye4QqnDKo279Ji25U8YNQIa6IDPQNJzR61EEr/Aehxx1maQiiYqXsRaVm5tJu5HcPV8i7cs8jv21ccS7a7xhcMYSg7x6vOMVVvl3mFbaWZRUlq4TNGLzQf/uFLUoWCiuCtowt3rHerPPYomQlb9NxpQ1bZF1o0NhCZbyTCG/9OEiXovWR9HYgX2piFmWct38zF93M4n6TrNPtKPqIxa2fiCUVN4zgONUCJkq7Wg2yqD17+fVR8dtx30FiUfZgoX9x3zaxgL45cT1DLE4s5vVMjjpHLOQIwhCLhoiFliUWrvoYyWwEKfTffhELt+zRwccSiyo395lYuPphrjZi4VZkweEQC1eFvCZlnkLK1AMt3GGsDm9vT0hx9cM15tCbW9ogsvLZAw6y/nHQDDOlaXxKUyMVdI9juGVPGvqXCtrmGCDiBF0YjjGEoO8gx1AfUDWt8aA4hp4ftHDVR0sD35+d9due8YsaOxTa5hcVbu4zv5AR3El+UbGbcTj8wlOR7+B31X1wstRDLrwy2tu/6Yr5NQszYdEX9t2jFF7Z04X+hb35OQsT9Nru9Z2jFF7ZL1cZSvF+SqFltYWnPksy+0MK/bdftMKrsTGhZVpR5eZe0wr9AFcbrfAq9jIOiFaoYNekzFNImZqYxTCWiutmFt+TdDHSNKLzBw3AYndetKCiHrHvFYV0wxIzY9EwY6kR6d3DFLJxPY908zMWJui13d5PHVPAx/1/KZgVL/6Pg/8D"),
- this.addDataEntry("bootstrap table",800,430,"Table","7VpNU+M4EP0te8hxqdgBhj0OgZ05zGxNFbO1Z0XuJF0jW0aSQ9hfv90tOSE47ASSQAYIRWy1pVbrPX08d6U3GJbzT07V06+2ANMbXPYGQ2dtiHflfAjG9PI+Fr3BRS/P+/Tfy/984GkmT/u1clCFTRrkscFMmQaiJRp8uDXJMA0lhXWR9QbnfqoKe0OFPhUK5adQpAI9qbl+OZ/wWI5GNAIf6PbIgQ5cITj7A4bWWEfVKltR7fMxGtOaevlgLB+yp6DABZg/ODAxpVF9AltCcLdU5QaLMI01zvpx8P0p4GSamh0PklH5aJgs2i5xopsE1XrYBnuHbWrdF6zAd6AjnAr5rMGv4D+yO/D4L/yTkMg2RTR/IqLJ5sCogDNY8b8NyscdlL9DWVMnQNa/VAkvNVdbk63CFQHNPR635RQMh6AMTiq6NzAWt7XSWE2+SOki41Buphjgiuzc5IZCWJD3uQV4Y/YGP2Uvf1b2TjrsfQXv1eQ1s3Z3yR06j6mLbxap57w/v+e7bWLHYw+hQ/wiso3mwunh7ZdpNjzvVpkNtmTpdpXsnZL0oUPS35W2tOFCIALy/jdnCcCXXr5PW54bkXp6YDvoWYeQz1TB/ka2jyEOx9IFrOdvtiitG6/KZmHAxgeuYwvkS0HYofdYSpOi0RjrXjdI3yOjqgIDIptqp8ATNNiUXBUMVPSI+wjXDR/A2jrX1GK6bqI/ZgpkIpJJsam0BnxAuYe5hjo0jlv4OJ2t1gq0Eie6qZF6j6c7kS0x2BkWzE8+lEYlGoy9+0YcYCUtTa0Wo6C1gBqVBO3BxXoUh6Hw2aoqchMdIk9ris+okXUyToldxiHFcTNRR3S9ZPNURSN1U0AphKdaNAWNgEa+Wicwr4GHI6gTBJUOaI8WwqVvcBTpC6RpCLYYkRaH3ppGWlZ2dNcvTX0ghiyhbmPlCEaFU5SJU0qfkZGjw1qos7YcbL1+3fLqRK3Mx3UVv3Ph4nTj03dHC/54L7v4Xs/aPzq7xqXMiR1PhjQbXJJSJ496UWlf9Ha9Va82uMPjyRoad8Ti71l7AKTDOTvZA6tZv0PrBfDJ/MaJPd0jsWfPwWv2Lo3TBN+NNM4+7GNTzbqJMprdfFZfNb7mFXNQh+0uVXH280Tb88rirJt9E10cFdRjlGqr1V5IrD5Bqe5Pkz6oNnnkK4JzrdrkyLGSlwmJlUx8KdUcRe7WhmaeCu+idBfrbb0q3XYD3asqzbrJ3FcoSx/i7hXr0m6a91Xq0kcz+8sL0/ecbQvEboRpvh9h2s3aLvK0/XNj9Q/O3R7SmbtTbbplynYrGfo/6dkrSZg3zH4Nztcs84Joq6YqmBlbVlIkFSYKUoWYs3WOkGPxKPlda0i2ksZkcRZTu4t8rAjYlP4zqinaJywWgw0qakFpSBGgSo9AxSZYe7pTfKtGXBb9TAp1RthKNpKhZ4GLKypZZLXTzJeWxPKIRJ24mWG8FqhFYCbNS5LTkH4aRZkJpSSsSdemGMr7wyQhq5Y2H7FQ9IrlGCPGRgmsNirPWCBJjK3shmLpRdvKw3VDkUjLUk0q7K2of7vMfjsaK0/YewGxA35M+5RG8hTHEVGs6cXCRgee0Clb7TyMTRJJcajNndHJgwXNqoQUvMSrA0i4bFAF1kj9Ch1m7Rjjy0fFyjwGgE18lxHlHpPLSqjVWEROBDPJeUPLbQqVABInit9cVIxYASGzRIVqvYv4XWxM60X8tofNfkX8m8gtP8Td6xXx+RtJLj+a2V9MxFNx+dPBWP3uLwv/Aw=="),
- this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,80),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=#dddddd;fillColor=#fdfdfd;");b.vertex=!0;var c=new mxCell("Group Name",new mxGeometry(20,20,500,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fillColor=#ffffff;align=left;spacingLeft=10;fontSize=18;fontColor=#999999;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Create Templates Group",new mxGeometry(540,
- 20,240,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#3D8BCD;fontSize=18;fontColor=#ffffff;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addDataEntry("bootstrap edit template",800,720,"Edit Template","7Vtfc6M4DP8s98Brhz8hSR+bhO7tTNLtlPReOw64iW8NZrFp0/v0JxvIJrG7TbdAk50w0xRk2Vj6WbIkwPLGyfpLjrLVjMWYWl5geeOcMVGeJesxptRybRJb3sRyXRv+LPf6lVZHtdoZynEqDunglh2eEC1wSZnjJKNIYKCmKMFlOxcvtGpfiQRmOXEsb8RXKGbPcGHDRYz4CsfVBbRkkj9ZL6VoFwsQiAs4vchxJCSDyNl3PGaU5cCWshS4R4+E0n0SS0VNslzvUh1AR5QsU6BR/KiGy1BE0uVUXU18oDyviMAhkOU0nuHOQKtkxbnA61f1pUiVsr5glmCRvwDLM4nFqtKZXerUXmGyXImaWNIQL6+Xm64/tQ8nFQBmMDwNjPs0YgAHFqBZ177NGaioeUgqTPKQ/Icr9e3iA5qP1SGVuIsTND2q4y1QHLuCs7qL028BpZddMLZAG5pA6zUAWk8DLSwW/0qNni1nG5OhjklrhuRrmPwNDMxyoScM79+Hwd3D9f10+nBzNQusmv9sUq/D59gd2lRfw+9rymH2QAtfuMAJnPyDcoIWLXjD95lZDVBeamAHDrsFOKoOfb9S8+vW5bgtWddAQ0fDoFavAIzSpaS+rVBY9rY6JFZEwkCY1CxnhRSpCa0NBu6u1gb6mjas6I+rbKipbIY5R8vPXr3Htkk4/Q53icvXdgnjFvGXJd2Sp4x66/RKlDLLbphx+SspKIoKjpJiQyAFF5KHxUT+i0G/hHOSqC5xERHFK/enHwWB3wVFaUwEIbI9yxHmoEJSSM/3xGiRCSTUBeQMOAU+eU/xo5Bhe8TyHBhIPRzjsYQYb+byo0DyPGEUc0HUOV5HOBNFLsfhBMBSfdkiQjhCavSoyAhMqMoMwDLltNgTiXHNDdIQSso58CJVUqeqJ83Qtmzs8ZFEBKnZg1svWWE2FORAKIVhSm4ig16YIvxStGC5ElhJoARSl4/FEl3A/0CSV6gkwm1itUnkuOKC9UuVKsvh1CB4nWEpkYIDFJFKjyPHukGyDyWLElbYbzJQXzmnSI3HAQKBUrbYHhNsBgNmUkDQPtvwlxpJyYqo1Zeou27AkaKTVC0UKW9FlZInaE1kAmZDPhZhVHUBUXCuqEyun3rVsCRVc6kWB1e2wYsEZoTU/LaZlPqUejJY8cBS8IsuQqDtzdFtNiSq91vpfkiE6FXFJVjWorsybLvGoKiRqMixz2HRO8Mi037SWlzkOH9MYOT0u4qMHL0CZU7QtjbfsjmYXX2dmptu775df50GD+Nvs9tpMA9ugjA0c97czx7C+/EYGB7md1eT4BW+rucSBtNp2GJiuu+Jay/9a698oEs2++A9R72ZvdOeO/D33cHA18PLnsEdOI34a72et4n67flL9tk++tiC/16vw+Df0et2QYJUhGa5II19W/BVFzHRaZeFeoYN1rtsqSzk6HW9U9lgvcGuJ+oN9A3WMajNb0BrejVtDvBDXoPyJT6XqXeB6jl7QHXqlPTS2uaZjx1GOcbp2SW9G8FOXZRe6TsVFzUYfp6L0ktxIU5lDUTVzL7krMjOfmpn4/UNzzhb80uuXnmYM7mFzFAK4WyiSoDNwhOtcPR9wdaHVI02YBzomyhaYHrLOKmMqC5S6OA1YFZ73sjvebpV9XTYnAZya1cvSMxQ/h0LmYa59gSDFKIN8N7KMr2TR7HfIYp6hWSCuVRFmxD+sfY37BA5vQBwTVKURgTRs/19BMW+3SGKpjd8soy+nCH8EIRuhxDqhYNQPQI8V+HeTJ+6DTT1WoUGT6156EkyjjVg3m0UW3g3oT/3EwM+vX5wg595W76pXqIRqAbnv3RO5pTWH44u/YFuBBtolPer5u1YnT1G3BR9foGh+bFBAxgeUEH4KH4oJmxUCCGd/m8YTBtW0mVArVcb7nDGcnHEhuKPrgP7BAzFAKPfkqF4elHi5PeKDpMTTy8OTFgkXxg6YjsIrq/GPe8E7MAA5KAtO9DrA6duB12md57pKX0s3048UhvwJsPReHL8NmACsa2gydNz9JO3gQ7zY0/Pj+d43VpN48Mm8BOaIzcBA4ZeWyagp84helKvGm2+6OwYTv1Z8kc8Wvsvs/RNX9GYwtcmnhR7eq4+RmmEaVswvVUTPAC+nXcBu3ma7+y9OGPEqK3v0Dw9F4ftA4uTsKrJyHd740+0qvqdbO8ABE3B8W8gCJc/v51XbTuf1v8P"),
- this.addDataEntry("bootstrap business contact",800,270,"Business Contacts","7VnRbtowFP2aSNtDke0kBB4HlD6s1Sox7d0Qh1g4GDlugX39rpNAAw6MiSRlW4MQ8Y3t2Of4+lxfHHeYbB4UXcVPMmTCce8dd6ik1PldshkyIRyCeOi4I4cQBF+HjE88xdlTtKKKLfUlDUje4JWKF5ZbckOqt6IwxDqBYY2w4w7SmIZyDQUEhZCmMQuLAjxZmfrJZm7m0pnCDFINt51Yqke+ZKmppJVcsKEUUmVdu2F2wZOIC1GyR6H5gL0YHVOabU7OMDMV03tgMmFabaHKmoc6zmv0UI4Cihmfx0Uzv7DRNC/P903f8IKbArJq+FwLPlOMOBNhalBkgs00gFQzprOYzRZTubkY06VcQk8DKvh8CUXBIgBhIOiUiWeZcs2lMascnEG6ojO+nD9mtUbYjCWSSz0pxo8vJYZUE7MtFmbHz5uUiMKezdPOppigmr+yg9dVkVe88VlyGAhBu/EVXBVvvwsOO5BRlDJtcb8f9kXLwbOWwxNVi/wtBH37Wvc6UAqWF9RQE/7T1PDPLogKP8susK9jrtkEaDe9rKHr5ijuV7iii+qheOfSO46x3wDJ/lmSf3Bp5gD+9ME1waQ5skkrZHdPkp1V+9/8+rDBOearFLcm5u8wboP6wKL+OTYyWjfXOdWH9BZ6XSHhRohLTPezy5b2Qwn3r1kKJ8KrooF3SEWALlsKpIbgq2cR1GactUf+lO/VAO5RzIKR+0cR0zXg9ivAHbgAOfqEut3P8NsLwOtQF9wE9YN32QF/S8GRU2RBbN4f7lbHue14Sd/2kq5X4SVeDV6y2ytLTMpFU3TtAJ8BLkyV+HMv2eKAOr836PvBEVek4gBytA9er3jnCQzQIYP7Ta1EodvQPoexxeDgJTVnahN9sIRy8SFK59wNey2qEm4+pXJrshS0J0vYzrikTDoeoquVYJ2ZTG5Kicajce/eu2Elwt02pcjOj3yXUDaZT0V1/aF1Xap0P/4y9Ny/QJUqwu+qfEst+5ydB5kstquP89FZf9uHY61IkZ29aHp3tD3qfTSJeC1qkp0poIJtOkpOp9ubkqObPxjtY+hW5MhOIDR3Mio7iKVH/9LJiFQE2zWdjKD49s9ontEr/3H6Cw=="),
- this.addDataEntry("bootstrap experience",800,270,"Experience","7Vpdc6IwFP01PLYTCGh9Vbt9aWc7687sM5UomQbihFh1f/3e8GGFRBdbwH5Apw5ckpCcc8+98YqFJ9H2Tvir8IEHhFn41sITwbnMzqLthDBmOYgGFp5ajoPg33J+HLlrp3fRyhcklnU6OFmHF5+tSWbJDIncsdwQygimNbUtPE5CP+AbuEBwEfhJSIL8Au6sVPtou1RruX6CFSQSTq9DLu5pTBLVSAr+TCaccZEOjYP0gDsLytiBfRGoP7DnsyNCku3RFaamfHl3hEdEih002dBAhlmLG5ShgEJCl2HezcttfpJdL/ddX/GCkxwyM3xYg29GGJlLsC0oYUECJ5LDx3oV+JKkwPpynTQNshDqoXgsZvSvaoHPQjs9wO4zuozBxshCDcb8J8IeeUIl5cosMuzGycqf03h5n7aa2mpmCx7LWb4auy5vjpm3Xe63117W5YBH29VpLGyCMF/SF1J6nInb/ImPnMaKp2J+OZX506+G5QH4YpEQqbnGftq1vMXVvGWPbtP+kLlD2QViHpMK+4UJ6DtwiFF66A5RJt4DyyakkszArKaxgSe/U7N5BxeVyBgi3RNMinYaULTXekCspdU9Bce02gDKFZe3ET5LcO9BeWCImzGFRTroNl5CuiCibdi9N8FeUUQa97Lx7IE5NHYjkZEukYFrkIjbgESGGnn8uQuRFNjPASLwjxrhDZjzbsYjb1ihyjGkrEoM3DPeEn9DVCZwH9AOGMQtxbgbjcAJj1Z+vOvT0CmN2W6HeWj0SfJQS9BXc9Owu9xkIw363yRhPpgeuOSi9c3718pM9qDD1GTbfW5qITcZNuBt5SZbr0j84eIZXFd9pxY86nPUKbXto1cXOcrWyx8fM0k1n5Act8OEpNcNfs4lf+q/I52pDWzQhimONZKJahQSCiKkoH68VNZxQBUFWb0t4Ws1zSrOKD2OhawVERQmSw5Mb0fXPS2JErrGep2p7Go1Ua67wmVur3B5hEbqdbZepnBQscXoVXfMLUaXlJ1enPh8sht8c9np9YnXLaD6NaXfAJaS3CV3gHqZYrIW6dSBKlDEhckqSKn8dPUrR8HT+fS8CbptMTp6NxekqxijTnRkNEUwQ/pPPjnnJG0NwIOrezZDzc1UPGgEHb14MCVzEvUb7bNjUJcpv/DhD5Dya0H5v+3TV0/vhpcmYFfdeuXgk0vM8y4pMb0C8bElhr+5xPTiQ18Gf3cZ3LQXaagMDpev7/xlhB++EvgP"),
- this.addDataEntry("bootstrap skills",800,480,"Skills","7Zpbc6IwFMc/DY/tEAJeHtdbH7ad7Yw70+e0HCRjJE6I1e6n3wSi1Sa1WoV1R+jYIYfcOP+cH+Soh/uz1Z0g8/SBx8A8PPRwX3Auy7PZqg+MeYFPYw8PvCDw1ccLRp9cRcVVf04EZPKQBkHZ4JWwBZSW0pDLN2YMqZypaQ2Qh3t5SmK+VAVfFWKSpxCbgroy1/Vnq4m+l9tndQe5VKe3KRf3NINcV5KCT6HPGRdF1zguDnUloYxt2ZNY/ym7mR0ICatP77Awmdu7Az4DKd5UlSWNZVrW6PilF/wU6CQ1zSJjI3lZnmyavvtLnRiXud2HLfeNgcGLVLaEAotzdSK5+reYx0RC4VgiF/m5nSyEHhT3xJj+0TXwUd4uDmUnjE4yZWOQ6M4YeQb2yHMqKddmUfqul8/JC80m90WtAdIzS3gmx+Zu0KG6BW7d3sy6vY3KJls6otCWcW0TwIikr7AznEtbM+Ijp5nWaT0/I6UZ/aa92wFPkhyktTQ20z5otYTWankgYqpHKaoRvVp+/ax6bUTfisRlSiWMlfK6i6Xq90SVdxvs09wVu9g/i+g3yOBxIzuKKtA9qhyyB8V/tzj2xP8ptHWHEfLxUUF8CotblpeH2UQ9eUAoWP2ToPrS4R+AW1C07A+13KD9dhjuly3cDYOub6nWCh1hGJ7hEdq2ZOPTqtRa+/tFuQXE3njJeAa2clGn143aH6QKHA9AXXYpXpF+bX9XwA00txTEDgGDMwjYuV66teujW9fy8u+UZtNLQ9toMOoMwwtGG2rVyDbk26rp3YDe6oliP3ChnBuOfvRD/B9wrm2r2a2IcwhdLeiCsD7QITsl8cTFxYHu4t/hNs/7WkBnJ0Kat7iT6baRpoa3OGQnJ66FbhjVSDc7FzBmAPMGb0fiDTt2ONXhzc4tNHg7GW8Y1Yg3O81wNXjr1Ig3OxkwJLKB27Fwc2xrqoObnVpo4HY63Dr1wS2w0wzXArcwqg9ugZ0AeCKs2ZkeS7fQsa2pjG7rUGjodk66hVFldFPF95+/lF+2bv865i8="),
- this.addDataEntry("bootstrap chat",400,660,"Chat","7VpRc+I2EP4tfWD6BCPbmCOPCSTX6TTTm+ShzwIvWHOy5ZNkQvrru5JlDrDvoI2VGKZmQqy1JMv77bf+tMMgmmXbz5IW6aNIgA+i+0E0k0Lo6izbzoDzQUhYMojmgzAk+DcIH35wNbBXSUEl5PqcAWE1YEN5CZWlMij9yp0h1Rkuax4MojuV0kS8YINgI6EqhcQ18Eph+mfbtXmW0QKfQGk8HUlYatNBS/EVZoILaaeNqgOvrBjne/aVPdD+kjINzwVdmnlfcCq0udWC1LD94RNbk3vczyAy0PIVu7ywRKdVjzGpvEJSYOvUDZtMnJGqyrDejf3uQDxxPmz3Z9Q7f+7sbf6UoNjf8JfzTHCuh8P/5uHY2SRwqtkGDuZ/i9fHDa//LtIcLXdCNPxfuxanYIWChi9zkUNLWBLzQTunC+BfhGKaiRyvyer57ihna9PmsLL4oKNZvv7DtuaBGbkSuW6bcS8gzvJ+1O79V8f3UVwN2UMjagEj+rdguDt+EQwXEpJ6fe5u7u7Dul3PIFYrBboB5m7dZ+Ebe2dVqUCeGQk39jgXrHE7WNsjsH4CXtgCXtgNeMOAHKFHPKA3aaD3yJYpBdPnSSxYrpBInlnqWFmTtCatY+mT8+x70PRwwMeQdjh+D9Z+ulzWTv5n7bSBngkS8gyFhmyBfg9JSIKoc3nj9I18RmGCPeJzmZ+YT5O+O9w/Xv68lbwO7k8+uHrTQPs3hu2M5r/0BeF78kDmk5NKK37L1uE0stMWYMfd8Do8pHUQ+QC6zhV7SE8H0W2Mjr0NUKyQ28fOAW/bsbRgXJsOCZzYw9ldyNj39FEYeMQ8aGNzR8n8GHQv7A6CJr2xB+6NiE5Bwmg06gvL5zf384fpGVLNB88PB5yKgI5oPwyOY+DGSww0Sz0XTvw6Mj42CjoTdUdREPpJ/80C1bxkytym1GA65qU0/xMLhGnbZyskpJAnIJmujRvBy0JTO2oD3F4ApUxzyTgrs3oWY4ESv1blmlHTLS85pxUYaChlb7LPCY3xDvpil1X2Y2zq5V0Txl4irFmMu/A8c1UCI/KTVpoVuiegnOPwB9xAkBnNfzVrWmCegA1Y3WEywaxne4xT6uPdhUfoU3g0YsNPQmjW/y48IVy38Ij8yM9mNfA2T4wy2IBREzk1eoGzBUi7LYGssMrBZIil1RIK9YY2qiEXC6tYQFnJgaCgMjHVClFoJqr+30qTZHKWMruIrIDECpRvpemQocpR1eKsKbFpaMsyM6jgCKiVKSs8seqlEEqxzAwxyxFZbu/vBJCiSpUZLoHWa9rvZBVQb/JbT/XNLr67fdeNvZS1g2Zl9MLz2VUJnNgP6M0C6Z9fcdtC5ihzekPv3skXj9XS4S6mauC9KNvw6uql161eYi8F1LClgFqm/amavuG97jHrT/yx/xh1L5o1vLqS6VW96SddJHxsfv+1ZdV9/8eY/wA="),
- this.addDataEntry("bootstrap log in",240,220,"Log in","7ZhLj9owEIB/TY4gJ04CHAtst5W2EupW6tmQgVjrxMjx8uiv7zgxgZAAUZVsD60RUmbs8WO+mbESh86Sw7Ni2/ibjEA49MmhMyWlLp6SwwyEcDzCI4fOHc8j+He8zzd63byXbJmCVLcx8AqDHRPvUGhmMtVKmjELluKG8v5MH4Xtj3WCu5y7Dp1mMYvkHgWCQsSyGCIrYM/WjE8OG3O04RIPlGl8HCoFK9zZdM2FmEkhVT4rXecN9UzwTYq6FR4AsHOqXvkvM1VgpsWdvcGFGckb9uxAab5i4pM113Jrxm/ZiqebH0aYe2bcGk9nJ3T9k2wPZ460j7mGVzQzij1uGHXWRbgCHG66OVdZHz+DTECrIw7Z80jH1tV+gYLEwDexNTvxISwrFJvS9kwNHyy4Zoi0BvEpYbw3dHeJTPJ2B3ATgYtxUd4uAkHAWp9RvuTS3Cc3WCnIcO6f1utuW3reQ3rupIEetToFgmm+g8r8TUTtEgvJcWWPHKrTHAsxvAoJuV5noGsBUe6zVYz4tRjpOjwMqOm71jL94xiJzK+k+OXk6dYY6UOMtAuKbfMy6N3neZo3eLj05JWHS88XFmWeDGlbF/vNLrYGZBhUQrmULzMprCNwvU4SaTCurD4Ie0iksAZ1wbJsL1X00Vdlyxz7X28f1FuX9FFwR/9CwQ0/puBeYeyU07h3TttTfbhHplqQW5fjUT/lOOylHI97SLNJDd93SCBZ4ruDRxLomuUqhtXbUh4uMo42cQ3zdqd4C7YEsZAZ19zk71wV3r9fhoOrek46rLd+Qxj4nYTBiFbLrd9HHLikFggvcoOKr2lf9/LtkpvKFOrsg/F0EozqV/DdV6NHL6fdXsDHisHfuY4HQQfXMYrnjyjF8MtvLL8B"),
- this.addDataEntry("bootstrap log in",240,260,"Log in","7Vhtb5swEP41fJnUyJiXJB+b0HaVOilaJ+2zAw54NTgzbl7263cGE0ghadRCVWmjqorPd+Z8z/OcC5YzT3d3kqyTbyKi3HJuLGcuhVDlXbqbU84tjFhkOYGFMYJfC9+emLWLWbQmkmbqkgBcBmwIf6alZS4yJYX2WZAMEirmc7XnZj5RKWQZ2JYzyxMSiS0MEAwikic0MgOYWWv/dBfrrY2WsKFcwe1IShpCZrMV43wuuJDFqs6quMBOOIszsIWwAQqTM/nI/uilPL0sZPZEG2GouGBmQ6ViIeHXJlyJtfZfk5Bl8Q89CLD2W8HuzIK2W43N5vSWtglT9BHCtGELCYPNlAieQHcny1yYTI3vqEipkntw2bJIJabUbgkFSiiLExOGfWMkeWmID7E1anBjgOsG0WmBaGGf6yorsoStYRRCwJpEERSjcPB/P2uGzVB9a7xMyc541VyojGaT1zZAgTVO1Q5rS3MFPzZ/yxRlyxLpehgg60DDiGYqm7ZXyqJIb7nhVWNQGb0iq1ZK91koSn5q1ZTJLKvJm5QwXlkBkWWdNgI6dkQsSJ5vhYy6gw42vd22sVUVbSzRrOzDCPO03jKR0bZyb3FwE9waKTXswczD7hzsApSz4kU6OvSEyCTN4bk/DVT2pbLDr8rOnnbIrpKipJwotqFH63dJ0TxiIVim2WEScswy+3LovdCyWK1yqlpKPuR5kbjdlrh/iSSzXBRrQo5CkX48EwDeaXF1NPJI/3R02kqqnK5U3ZofilHgok9BC2cQWhRNsHdeeB1Nv18eaKRmz0qJ7M1kqE71EsavVakvxtF9FUenDxgvPWj9wWteHDIdFa5ldVzhQ+XLiINQRs6lJfa6S2wC0Mg74vJh3JSS34bAxr0o6Wpy9PQrfwAhjVugfjHX/8b6yRurO0RjnfwLjXX8uRrrdPCar6t/xs9V+biJXtxCJ8O0UH+QFjoZQDI2auH3naY0Xer3NZTSvsEMExo+LcWuIR+nC1i/uM7Ih5Ml5QuRM8W0GANZlv98T/VeNGH0zua5PwpossLtYIXbCyvGzjErxngIWtgtWjyIGAz32ccfrd1vr95kNvXG7bfXA0Pe8sGo37P1ND0+7qS96uPVFob1h83Svfnd8y8=")];
- this.addPalette("bootstrap",mxResources.get("bootstrap"),!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){var a=Sidebar.prototype.addBpmnPalette;Sidebar.prototype.addBpmnPalette=function(b,d){a.apply(this,arguments);var c="shape=mxgraph.bpmn.shape;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;perimeter=rhombusPerimeter;background=gateway;",e="bpmn business process model gateway ";this.addPaletteFunctions("bpmnGateways","BPMN Gateways",!1,[this.createVertexTemplateEntry(c+"outline=none;symbol=exclusiveGw;",50,50,"","Exclusive Gateway",null,null,e+"exclusive"),
- this.createVertexTemplateEntry(c+"outline=none;symbol=parallelGw;",50,50,"","Parallel Gateway",null,null,e+"parallel"),this.createVertexTemplateEntry(c+"outline=end;symbol=general;",50,50,"","Inclusive Gateway",null,null,e+"inclusive"),this.createVertexTemplateEntry(c+"outline=none;symbol=complexGw;",50,50,"","Complex Gateway",null,null,e+"complex"),this.createVertexTemplateEntry(c+"outline=standard;symbol=general;",50,50,"","General Start Gateway",null,null,e+"general start"),this.createVertexTemplateEntry(c+
- "outline=throwing;symbol=general;",50,50,"","General Intermediate Gateway",null,null,e+"general intermediate"),this.createVertexTemplateEntry(c+"outline=end;symbol=general;",50,50,"","General End Gateway",null,null,e+"general end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=message;",50,50,"","Message Standard Gateway",null,null,e+"message standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=message;",50,50,"","Message Interrupting Gateway",null,null,e+"message interrupting"),
- this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=message;",50,50,"","Message Non-Interrupting Gateway",null,null,e+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=message;",50,50,"","Message Catching Gateway",null,null,e+"message catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=message;",50,50,"","Message Boundary Interrupting Gateway",null,null,e+"message boundary interrupting"),this.createVertexTemplateEntry(c+
- "outline=boundNonint;symbol=message;",50,50,"","Message Boundary Non-Interrupting Gateway",null,null,e+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=message;",50,50,"","Message Throwing Gateway",null,null,e+"message throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=message;",50,50,"","Message End Gateway",null,null,e+"message end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=timer;",50,50,"","Timer Standard Gateway",
- null,null,e+"timer standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=timer;",50,50,"","Timer Interrupting Gateway",null,null,e+"timer interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=timer;",50,50,"","Timer Non-Interrupting Gateway",null,null,e+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=timer;",50,50,"","Timer Catching Gateway",null,null,e+"timer catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=timer;",
- 50,50,"","Timer Boundary Interrupting Gateway",null,null,e+"timer boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=timer;",50,50,"","Timer Boundary Non-Interrupting Gateway",null,null,e+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=escalation;",50,50,"","Escalation Interrupting Gateway",null,null,e+"escalation interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=escalation;",50,
- 50,"","Escalation Non-Interrupting Gateway",null,null,e+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=escalation;",50,50,"","Escalation Boundary Interrupting Gateway",null,null,e+"escalation boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=escalation;",50,50,"","Escalation Boundary Non-Interrupting Gateway",null,null,e+"escalation boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+
- "outline=throwing;symbol=escalation;",50,50,"","Escalation Throwing Gateway",null,null,e+"escalation throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=escalation;",50,50,"","Escalation End Gateway",null,null,e+"escalation end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=conditional;",50,50,"","Conditional Standard Gateway",null,null,e+"conditional standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=conditional;",50,50,"","Conditional Interrupting Gateway",
- null,null,e+"conditional interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=conditional;",50,50,"","Conditional Non-Interrupting Gateway",null,null,e+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=conditional;",50,50,"","Conditional Catching Gateway",null,null,e+"conditional catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=conditional;",50,50,"","Conditional Boundary Interrupting Gateway",null,
- null,e+"conditional boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=conditional;",50,50,"","Conditional Boundary Non-Interrupting Gateway",null,null,e+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=link;",50,50,"","Link Catching Gateway",null,null,e+"link catching"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=link;",50,50,"","Link Throwing Gateway",null,null,e+"link throwing"),this.createVertexTemplateEntry(c+
- "outline=eventInt;symbol=error;",50,50,"","Error Interrupting Gateway",null,null,e+"error interrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=error;",50,50,"","Error Boundary Interrupting Gateway",null,null,e+"error boundary interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=error;",50,50,"","Error End Gateway",null,null,e+"error end"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=cancel;",50,50,"","Cancel Boundary Interrupting Gateway",null,null,
- e+"cancel boundary interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=cancel;",50,50,"","Cancel End Gateway",null,null,e+"cancel end"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=compensation;",50,50,"","Compensation Interrupting Gateway",null,null,e+"compensation interrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=compensation;",50,50,"","Compensation Boundary Interrupting Gateway",null,null,e+"compensation boundary interrupting"),this.createVertexTemplateEntry(c+
- "outline=throwing;symbol=compensation;",50,50,"","Compensation Throwing Gateway",null,null,e+"compensation throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=compensation;",50,50,"","Compensation End Gateway",null,null,e+"compensation end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=signal;",50,50,"","Signal Standard Gateway",null,null,e+"signal standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=signal;",50,50,"","Signal Interrupting Gateway",null,null,
- e+"signal interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=signal;",50,50,"","Signal Non-Interrupting Gateway",null,null,e+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=signal;",50,50,"","Signal Catching Gateway",null,null,e+"signal catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=signal;",50,50,"","Signal Boundary Interrupting Gateway",null,null,e+"signal boundary interrupting"),this.createVertexTemplateEntry(c+
- "outline=boundNonint;symbol=signal;",50,50,"","Signal Boundary Non-Interrupting Gateway",null,null,e+"signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=signal;",50,50,"","Signal Throwing Gateway",null,null,e+"signal throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=signal;",50,50,"","Signal End Gateway",null,null,e+"signal end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=multiple;",50,50,"","Multiple Standard Gateway",
- null,null,e+"multiple standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=multiple;",50,50,"","Multiple Interrupting Gateway",null,null,e+"multiple interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=multiple;",50,50,"","Multiple Non-Interrupting Gateway",null,null,e+"multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=multiple;",50,50,"","Multiple Catching Gateway",null,null,e+"multiple catching"),this.createVertexTemplateEntry(c+
- "outline=boundInt;symbol=multiple;",50,50,"","Multiple Boundary Interrupting Gateway",null,null,e+"multiple boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=multiple;",50,50,"","Multiple Boundary Non-Interrupting Gateway",null,null,e+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=multiple;",50,50,"","Multiple Throwing Gateway",null,null,e+"multiple throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=multiple;",
- 50,50,"","Multiple End Gateway",null,null,e+"multiple end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=parallelMultiple;",50,50,"","Parallel Multiple Standard Gateway",null,null,e+"parallel multiple standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Interrupting Gateway",null,null,e+"parallel multiple interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Non-Interrupting Gateway",
- null,null,e+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=parallelMultiple;",50,50,"","Parallel Multiple Catching Gateway",null,null,e+"parallel multiple catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Interrupting Gateway",null,null,e+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=parallelMultiple;",
- 50,50,"","Parallel Multiple Boundary Non-Interrupting Gateway",null,null,e+"parallel multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=terminate;",50,50,"","Terminate Gateway",null,null,e+"terminate")]);c="shape=mxgraph.bpmn.shape;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;perimeter=ellipsePerimeter;";e="bpmn business process model event ";this.addPaletteFunctions("bpmnEvents","BPMN Events",!1,[this.createVertexTemplateEntry(c+
- "outline=standard;symbol=general;",50,50,"","General Start",null,null,e+"general start"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=general;",50,50,"","General Intermediate",null,null,e+"general intermediate"),this.createVertexTemplateEntry(c+"outline=end;symbol=general;",50,50,"","General End",null,null,e+"general end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=message;",50,50,"","Message Standard",null,null,e+"message standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=message;",
- 50,50,"","Message Interrupting",null,null,e+"message interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=message;",50,50,"","Message Non-Interrupting",null,null,e+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=message;",50,50,"","Message Catching",null,null,e+"message catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=message;",50,50,"","Message Boundary Interrupting",null,null,e+"message boundary interrupting"),
- this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=message;",50,50,"","Message Boundary Non-Interrupting",null,null,e+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=message;",50,50,"","Message Throwing",null,null,e+"message throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=message;",50,50,"","Message End",null,null,e+"message end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=timer;",50,50,"","Timer Standard",
- null,null,e+"timer standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=timer;",50,50,"","Timer Interrupting",null,null,e+"timer interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=timer;",50,50,"","Timer Non-Interrupting",null,null,e+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=timer;",50,50,"","Timer Catching",null,null,e+"timer catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=timer;",
- 50,50,"","Timer Boundary Interrupting",null,null,e+"timer boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=timer;",50,50,"","Timer Boundary Non-Interrupting",null,null,e+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=escalation;",50,50,"","Escalation Interrupting",null,null,e+"escalation interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=escalation;",50,50,"","Escalation Non-Interrupting",
- null,null,e+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=escalation;",50,50,"","Escalation Boundary Interrupting",null,null,e+"escalation boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=escalation;",50,50,"","Escalation Boundary Non-Interrupting",null,null,e+"escalation boundary non interrupting nonimpterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=escalation;",50,50,"","Escalation Throwing",
- null,null,e+"escalation throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=escalation;",50,50,"","Escalation End",null,null,e+"escalation end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=conditional;",50,50,"","Conditional Standard",null,null,e+"conditional standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=conditional;",50,50,"","Conditional Interrupting",null,null,e+"conditional interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=conditional;",
- 50,50,"","Conditional Non-Interrupting",null,null,e+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=conditional;",50,50,"","Conditional Catching",null,null,e+"conditional catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=conditional;",50,50,"","Conditional Boundary Interrupting",null,null,e+"conditional boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=conditional;",50,50,"","Conditional Boundary Non-Interrupting",
- null,null,e+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=link;",50,50,"","Link Catching",null,null,e+"link catching"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=link;",50,50,"","Link Throwing",null,null,e+"link throwing"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=error;",50,50,"","Error Interrupting",null,null,e+"error interrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=error;",
- 50,50,"","Error Boundary Interrupting",null,null,e+"error boundary interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=error;",50,50,"","Error End",null,null,e+"error end"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=cancel;",50,50,"","Cancel Boundary Interrupting",null,null,e+"cancel boundary interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=cancel;",50,50,"","Cancel End",null,null,e+"cancel end"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=compensation;",
- 50,50,"","Compensation Interrupting",null,null,e+"compensation interrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=compensation;",50,50,"","Compensation Boundary Interrupting",null,null,e+"compensation boundary interrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=compensation;",50,50,"","Compensation Throwing",null,null,e+"compensation throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=compensation;",50,50,"","Compensation End",null,null,e+"compensation end"),
- this.createVertexTemplateEntry(c+"outline=standard;symbol=signal;",50,50,"","Signal Standard",null,null,e+"signal standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=signal;",50,50,"","Signal Interrupting",null,null,e+"signal interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=signal;",50,50,"","Signal Non-Interrupting",null,null,e+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=signal;",50,50,"","Signal Catching",
- null,null,e+"signal catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=signal;",50,50,"","Signal Boundary Interrupting",null,null,e+"signal boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=signal;",50,50,"","Signal Boundary Non-Interrupting",null,null,e+"signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=signal;",50,50,"","Signal Throwing",null,null,e+"signal throwing"),this.createVertexTemplateEntry(c+
- "outline=end;symbol=signal;",50,50,"","Signal End",null,null,e+"signal end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=multiple;",50,50,"","Multiple Standard",null,null,e+"multiple standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=multiple;",50,50,"","Multiple Interrupting",null,null,e+"multiple interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=multiple;",50,50,"","Multiple Non-Interrupting",null,null,e+"multiple non interrupting noninterrupting"),
- this.createVertexTemplateEntry(c+"outline=catching;symbol=multiple;",50,50,"","Multiple Catching",null,null,e+"multiple catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=multiple;",50,50,"","Multiple Boundary Interrupting",null,null,e+"multiple boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=multiple;",50,50,"","Multiple Boundary Non-Interrupting",null,null,e+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+
- "outline=throwing;symbol=multiple;",50,50,"","Multiple Throwing",null,null,e+"multiple throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=multiple;",50,50,"","Multiple End",null,null,e+"multiple end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=parallelMultiple;",50,50,"","Parallel Multiple Standard",null,null,e+"parallel multiple standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Interrupting",null,null,e+
- "parallel multiple interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Non-Interrupting",null,null,e+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=parallelMultiple;",50,50,"","Parallel Multiple Catching",null,null,e+"parallel multiple catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Interrupting",
- null,null,e+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Non-Interrupting",null,null,e+"parallel multiple boundary non interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=terminate;",50,50,"","Terminate",null,null,e+"terminate")])}})();(function(){Sidebar.prototype.addCabinetsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;dashed=0;shadow=0;strokeColor=#000000;fillColor=#ffffff;html=1;align=center;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=1;shape=mxgraph.cabinets.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;dashed=0;shadow=0;strokeColor=#000000;fillColor=#ffffff;html=1;"+mxConstants.STYLE_STROKEWIDTH+"=1;shape=mxgraph.cabinets.",d=[this.createVertexTemplateEntry(a+
- "cabinet;hasStand=1",250,500,"","Cabinet",null,null,this.getTagsForStencil("mxgraph.cabinets","cabinet","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"dimension;verticalAlign=top;align=center;",250,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.cabinets","dimension","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"dimensionBottom;verticalAlign=bottom;align=center;",250,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.cabinets","dimensionBottom","cabinet ").join(" ")),
- this.createVertexTemplateEntry(a+"coverPlate",50*4.4,125,"","Cover Plate",null,null,this.getTagsForStencil("mxgraph.cabinets","coverPlate","cabinet ").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,12.5,"25x40","Panel Wiring System 25x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,20,"40x40","Panel Wiring System 40x40mm",
- null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,30,"60x40","Panel Wiring System 60x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,40,"80x40","Panel Wiring System 80x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets",
- "","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,50,"100x40","Panel Wiring System 100x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,12.5,"25x40","Panel Wiring System 25x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),
- this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,20,"40x40","Panel Wiring System 40x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,30,"60x40","Panel Wiring System 60x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),
- this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,40,"80x40","Panel Wiring System 80x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,50,"100x40","Panel Wiring System 100x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),
- this.createVertexTemplateEntry(a+"cb_1p;",9,50,"","Circuit Breaker (1P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_1p","cabinet ").join(" ")),this.addDataEntry("cabinet circuit breaker row",90,50,"Circuit Breaker (1P x 10)","7dhPb8IgFADwT8PVFLD+Oc66edmS3XZcaIuFSKVpmdZvv9eCOpOZbCRygqQJvNcH9P1uRTSr+03LGvGmS64QfUY0a7U2dlb3GVcKkUSWiK4RIQk8iLzcyeIxmzSs5XvzlwJiCw5MfXEbsYHOnJQLHHhrZMHUK8u5etedNFLvIZVrY3SN6KpkneDDfgksOsFKfTwvTKt3PNNKt+NeNBkHZLZSqR/x7TggLkwNPVhjmDIlq+GcAj6Fw3ur80WeXMLo5nLGhyyNcIVwhWa4e91XQ18nBcvlnptuUuSfeChx3wzb8f5u38aQa9qG65qb9gSvHN1BkF3aIsFlJVxRarudsM6uq0vh1QAmjuF3EhpJ/kfS33A8HmgagbyA8CKUUBqFvITIPJTQLAp5CdFZKKF5FPISmqahhBZRyEsonYYSWkYhL6EZDSWEk0jkRTQnwYhwJPIiWuAHEcHy+odizN38wPgG"),
- this.createVertexTemplateEntry(a+"cb_2p;",18,50,"","Circuit Breaker (2P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_2p","cabinet ").join(" ")),this.addDataEntry("cabinet circuit breaker row",180,50,"Circuit Breaker (2P x 10)","7ZhNb8MgDIZ/DdeKQD+Pa7r1skm77TiRxA1opESEtem/Hwm0XaVV2pDGCSQkbPMa8HOxQDRv+q1mLX9RFUhEHxHNtVLGrZo+BykRwaJCdIMIwXYi8nQnmo1R3DINe/MbAXGCA5Of4DzO0ZmT9I4DaCNKJp9ZAfJVdcIItbehQhmjGkTXFes4DPmwNTrOKnU8G0arD8iVVHrMRfE4bGQnpPzm343D+rlpbA02mV0yKerhnNI+Bey+9fkiDz5gVHs5401UhnuhvUI73L3p66Guk5IVYg+mm5TFOxkk/s02HfR36za6fNG2oBow+mS3HP1Bw46lU3EQNfeqmSs3Zp2z64vyCsEuPIefmdDE5G9M+lseERBNE6IgRHQeDdEsIQpCNJtGQzRPiIIQLUg0RIuEKAjRCkdDtEyIwtoFHK9fWCVGYYxIvIYhwwlSGKRpvJYhyxKkMEjzf2sarHn9sBhjN/8ZXw=="),
- this.createVertexTemplateEntry(a+"cb_3p;",27,50,"","Circuit Breaker (3P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_3p","cabinet ").join(" ")),this.addDataEntry("cabinet circuit breaker row",135,50,"Circuit Breaker (3P x 5)","7ZbBbsIwDIafJleUNrBxHWXjskm77TilrWmipbhKPShvP7cJMKQhbUjj1EiRYju/7fi7RKis7lZeN+YFS3BCPQqVeUQKp7rLwDmRSlsKtRRpKnmL9OlCNBmistEeNvQbQRoEW+0+IXiCo6W9i44teLKFds86B/eKrSWLGw7lSIS1UItStwb6fJKN1ugSdweDPH5Ahg79kEvJYXFkbZ375l8Pi/2Gap7BMuGjdrbq6xT8FOB7i0MjDzFA2BxrvNmSTBRyC03fe91V/Vwnhc7tBqidFPm76iXxzZwOuotzG1xxaCvAGsjv+couFupndx9UBmxlomoWxi11G+zqqDxB4EPk8DMTNTL5G5PunMcNEE1HRFchmk1vhmg2IroK0Ty5GaK7EdFViBI5/y9GbJ4+H0Ps7G/yBQ=="),
- this.createVertexTemplateEntry(a+"cb_4p;",36,50,"","Circuit Breaker (4P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_4p","cabinet ").join(" ")),this.addDataEntry("cabinet circuit breaker row",180,50,"Circuit Breaker (4P x 5)","7ZbBbsIwDIafJlcUmsJ2HWXjskm77TilrWmipbhKPShvP7cJMKQhbUjj1EiRYv/5ncTfJUJldbfyujEvWIIT6lGozCNSWNVdBs6JRNpSqKVIEslTJE8X1OmgykZ72NBvDEkwbLX7hJAJiZb2Lia24MkW2j3rHNwrtpYsbljKkQhroRalbg309SQHrdEl7g4BefyADB36oZaSw2BlbZ37ll8Pg/OGau7BcspL7WzVn1PwU4D3LQ4XeYgCYXM8482WZKKRr9D0d6+7qu/rpNC53QC1kyJ/T3tLfDOXg+5i34ZUbNoKsAbye96yiwexqubBZcBWJrpmod1StyGujs4TBF5EDj8zUSOTvzHpznncAFE6IroK0V1yM0SzEdFViKby/maM5iOj6xil6X8x4vD0+xi0s8/JFw=="),
- this.createVertexTemplateEntry(a+"cb_auxiliary_contact;",4.5,50,"","Auxiliary Contact (Circuit Breaker)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_auxiliary_contact","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"contactor_1_32a;",27,43,"","Contactor (1-32A)",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"auxiliary_contact_contactor_1_32a;",4.5,43,"","Auxiliary Contact (Contactor 1-32A)",null,null,
- this.getTagsForStencil("mxgraph.cabinets","auxiliary_contact_contactor_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"contactor_32_125a;",30,50,"","Contactor 32 to 125A",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"auxiliary_contact_contactor_32_125a;",4.5,50,"","Auxiliary Contact (Contactor 32-125A)",null,null,this.getTagsForStencil("mxgraph.cabinets","auxiliary_contact_contactor_32_125a","cabinet ").join(" ")),
- this.createVertexTemplateEntry(a+"contactor_125_400a;",50*1.1,90,"","Contactor 125 to 400A",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"distribution_block_4p_125a_11_connections;",100,60,"","Distribution Block 4P 125A 11 Connections",null,null,this.getTagsForStencil("mxgraph.cabinets","distribution_block_4p_125a_11_connections","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"distribution_block_4p_125a_11_connections_2;",
- 100,50,"","Distribution Block 4P 125A 11 Connections",null,null,this.getTagsForStencil("mxgraph.cabinets","distribution_block_4p_125a_11_connections_2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_25_63a_3p;",60,90,"","MCCB 25-63A 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_25_63a_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_25_63a_4p;",80,90,"","MCCB 25-63A 4P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_25_63a_4p","cabinet ").join(" ")),
- this.createVertexTemplateEntry(a+"mccb_63_250a_3p;",70,105,"","MCCB 63-250A 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_63_250a_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_63_250a_4p;",95,105,"","MCCB 63-250A 4P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_63_250a_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motorized_switch_3p;",85,70,"","Motorized Switch 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","motorized_switch_3p",
- "cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motorized_switch_4p;",100,70,"","Motorized Switch 4P",null,null,this.getTagsForStencil("mxgraph.cabinets","motorized_switch_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_cb_1_32a;",27,43,"","Motor Circuit Breaker 1-32A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_cb_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_cb_32_125a;",30,50,"","Motor Circuit Breaker 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets",
- "motor_cb_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_cb_125_400a;",50*1.1,90,"","Motor Circuit Breaker 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_cb_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_protection_cb;",27,50,"","Motor Protection CB",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_protection_cb","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_starter_1_32a;",27,43,"","Motor Circuit Breaker 1-32A",
- null,null,this.getTagsForStencil("mxgraph.cabinets","motor_starter_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_starter_32_125a;",30,50,"","Motor Circuit Breaker 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_starter_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_starter_125_400a;",50*1.1,90,"","Motor Circuit Breaker 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_starter_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+
- "overcurrent_relay_1_32a;",27,15,"","Overcurrent Relay 1-32A",null,null,this.getTagsForStencil("mxgraph.cabinets","overcurrent_relay_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"overcurrent_relay_32_125a;",30,16.5,"","Overcurrent Relay 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets","overcurrent_relay_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"overcurrent_relay_125_400a;",50*1.1,30,"","Overcurrent Relay 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets",
- "overcurrent_relay_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"plugin_relay_1;",3,40,"","Plugin Relay",null,null,this.getTagsForStencil("mxgraph.cabinets","plugin_relay_1","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"plugin_relay_2;",12,40,"","Plugin Relay",null,null,this.getTagsForStencil("mxgraph.cabinets","plugin_relay_2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"din_rail;",500,25,"","DIN Rail",null,null,this.getTagsForStencil("mxgraph.cabinets",
- "din_rail","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"residual_current_device_2p;",18,50,"","Residual Current Device 2p",null,null,this.getTagsForStencil("mxgraph.cabinets","residual_current_device_2p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"residual_current_device_4p;",36,50,"","Residual Current Device 4p",null,null,this.getTagsForStencil("mxgraph.cabinets","residual_current_device_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"surge_protection_1p;",9,
- 50,"","Surge Protection 1p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_1p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"surge_protection_2p;",18,50,"","Surge Protection 2p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_2p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"surge_protection_3p;",27,50,"","Surge Protection 3p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+
- "surge_protection_4p;",36,50,"","Surge Protection 4p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_4mm2;",2.5,25,"","Terminal 4mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_4mm2_x10;",25,25,"","Terminal 4mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+
- "terminal_4_6mm2;",2.5,30,"","Terminal 4-6mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4_6mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_4_6mm2_x10;",25,30,"","Terminal 4-6mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4_6mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_6_25mm2;",5,37.5,"","Terminal 6-25mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_6_25mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+
- "terminal_6_25mm2_x10;",50,37.5,"","Terminal 6-25mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_6_25mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_40mm2;",11,50,"","Terminal 40mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_40mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_40mm2_x10;",50*2.2,50,"","Terminal 40mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_40mm2_x10","cabinet ").join(" ")),
- this.createVertexTemplateEntry(a+"terminal_50mm2;",12.5,50*1.1,"","Terminal 50mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_50mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_50mm2_x10;",125,50*1.1,"","Terminal 50mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_50mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_75mm2;",15,70,"","Terminal 75mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2",
- "cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_75mm2_x10;",150,70,"","Terminal 75mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2_x10","cabinet ").join(" "))];this.addPalette("cabinets",mxResources.get("cabinets"),!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addCitrixPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;aspect=fixed;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeColor=none;shape=mxgraph.citrix.";this.addPaletteFunctions("citrix","Citrix",!1,[this.createVertexTemplateEntry(a+"1u_2u_server;",100,39.1,"","1U 2U Server",null,null,this.getTagsForStencil("mxgraph.citrix","1U 2U Server","").join(" ")),this.createVertexTemplateEntry(a+"access_card;",55.5,75,"","Access Card",null,null,
- this.getTagsForStencil("mxgraph.citrix","Access Card","").join(" ")),this.createVertexTemplateEntry(a+"branch_repeater;",100,39,"","Branch Repeater",null,null,this.getTagsForStencil("mxgraph.citrix","Branch Repeater","").join(" ")),this.createVertexTemplateEntry(a+"browser;",47.5,72.5,"","Browser",null,null,this.getTagsForStencil("mxgraph.citrix","Browser","").join(" ")),this.createVertexTemplateEntry(a+"cache_server;",71,97.5,"","Cache Server",null,null,this.getTagsForStencil("mxgraph.citrix","Cache Server",
- "").join(" ")),this.createVertexTemplateEntry(a+"calendar;",75,100,"","Calendar",null,null,this.getTagsForStencil("mxgraph.citrix","Calendar","").join(" ")),this.createVertexTemplateEntry(a+"cell_phone;",25,60,"","Cell Phone",null,null,this.getTagsForStencil("mxgraph.citrix","Cell Phone","").join(" ")),this.createVertexTemplateEntry(a+"chassis;",137.5,177.5,"","Chassis",null,null,this.getTagsForStencil("mxgraph.citrix","Chassis","").join(" ")),this.createVertexTemplateEntry(a+"citrix_hdx;",77.5,41,
- "","Citrix HDX",null,null,this.getTagsForStencil("mxgraph.citrix","Citrix HDX","").join(" ")),this.createVertexTemplateEntry(a+"citrix_logo;fillColor=#4E4F53;",160,62.5,"","Citrix Logo",null,null,this.getTagsForStencil("mxgraph.citrix","Citrix Logo","").join(" ")),this.createVertexTemplateEntry(a+"cloud;",95,62,"","Cloud",null,null,this.getTagsForStencil("mxgraph.citrix","Cloud","").join(" ")),this.createVertexTemplateEntry(a+"command_center;",75.5,96,"","Command Center",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Command Center","").join(" ")),this.createVertexTemplateEntry(a+"database;",42.5,50,"","Database",null,null,this.getTagsForStencil("mxgraph.citrix","Database","").join(" ")),this.createVertexTemplateEntry(a+"database_server;",80,90,"","Database Server",null,null,this.getTagsForStencil("mxgraph.citrix","Database Server","").join(" ")),this.createVertexTemplateEntry(a+"datacenter;",127.5,135,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.citrix","Datacenter","").join(" ")),this.createVertexTemplateEntry(a+
- "desktop;",89,98,"","Desktop",null,null,this.getTagsForStencil("mxgraph.citrix","Desktop","").join(" ")),this.createVertexTemplateEntry(a+"desktop_web;",76.5,90,"","Desktop Web",null,null,this.getTagsForStencil("mxgraph.citrix","Desktop Web","").join(" ")),this.createVertexTemplateEntry(a+"dhcp_server;",76,90,"","DHCP Server",null,null,this.getTagsForStencil("mxgraph.citrix","DHCP Server","").join(" ")),this.createVertexTemplateEntry(a+"directory_server;",65,88.5,"","Directory Server",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Directory Server","").join(" ")),this.createVertexTemplateEntry(a+"dns_server;",76.5,92.5,"","DNS Server",null,null,this.getTagsForStencil("mxgraph.citrix","DNS Server","").join(" ")),this.createVertexTemplateEntry(a+"document;",47,72,"","Document",null,null,this.getTagsForStencil("mxgraph.citrix","Document","").join(" ")),this.createVertexTemplateEntry(a+"edgesight_server;",76.5,90,"","EdgeSight Server",null,null,this.getTagsForStencil("mxgraph.citrix","EdgeSight Server","").join(" ")),this.createVertexTemplateEntry(a+
- "file_server;",71,97,"","File Server",null,null,this.getTagsForStencil("mxgraph.citrix","File Server","").join(" ")),this.createVertexTemplateEntry(a+"firewall;",75,93,"","Firewall",null,null,this.getTagsForStencil("mxgraph.citrix","Firewall","").join(" ")),this.createVertexTemplateEntry(a+"ftp_server;",71,97,"","FTP Server",null,null,this.getTagsForStencil("mxgraph.citrix","FTP Server","").join(" ")),this.createVertexTemplateEntry(a+"geolocation_database;",53,49,"","Geolocation Database",null,null,
- this.getTagsForStencil("mxgraph.citrix","Geolocation Database","").join(" ")),this.createVertexTemplateEntry(a+"globe;",78.5,75,"","Globe",null,null,this.getTagsForStencil("mxgraph.citrix","Globe","").join(" ")),this.createVertexTemplateEntry(a+"goto_meeting;fillColor=#FAB616;gradientColor=#E12800;gradientDirection=north;",37,37,"","GoTo Meeting",null,null,this.getTagsForStencil("mxgraph.citrix","GoTo Meeting","").join(" ")),this.createVertexTemplateEntry(a+"government;",119,52,"","Government",null,
- null,this.getTagsForStencil("mxgraph.citrix","Government","").join(" ")),this.createVertexTemplateEntry(a+"home_office;",80,55.5,"","Home Office",null,null,this.getTagsForStencil("mxgraph.citrix","Home Office","").join(" ")),this.createVertexTemplateEntry(a+"hq_enterprise;",92,88,"","HQ / Enterprise",null,null,this.getTagsForStencil("mxgraph.citrix","HQ Enterprise","").join(" ")),this.createVertexTemplateEntry(a+"inspection;",70,65,"","Inspection",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Inspection","").join(" ")),this.createVertexTemplateEntry(a+"ip_phone;",76.5,37,"","IP Phone",null,null,this.getTagsForStencil("mxgraph.citrix","IP Phone","").join(" ")),this.createVertexTemplateEntry(a+"kiosk;",65,85,"","Kiosk",null,null,this.getTagsForStencil("mxgraph.citrix","Kiosk","").join(" ")),this.createVertexTemplateEntry(a+"laptop_1;",91,77,"","Laptop",null,null,this.getTagsForStencil("mxgraph.citrix","Laptop","").join(" ")),this.createVertexTemplateEntry(a+"laptop_2;",116,86.5,"","Laptop",
- null,null,this.getTagsForStencil("mxgraph.citrix","Laptop","").join(" ")),this.createVertexTemplateEntry(a+"license_server;",65,85,"","License Server",null,null,this.getTagsForStencil("mxgraph.citrix","License Server","").join(" ")),this.createVertexTemplateEntry(a+"merchandising_server;",75,90,"","Merchandising Server",null,null,this.getTagsForStencil("mxgraph.citrix","Merchandising Server","").join(" ")),this.createVertexTemplateEntry(a+"middleware;",114,68,"","Middleware",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Middleware","").join(" ")),this.createVertexTemplateEntry(a+"netscaler_gateway;",100,39,"","NetScaler Gateway",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler Gateway","").join(" ")),this.createVertexTemplateEntry(a+"netscaler_mpx;",100,39,"","NetScaler MPX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler MPX","").join(" ")),this.createVertexTemplateEntry(a+"netscaler_sdx;",100,47.5,"","NetScaler SDX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler SDX","").join(" ")),
- this.createVertexTemplateEntry(a+"netscaler_vpx;",97,36,"","NetScaler VPX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler VPX","").join(" ")),this.createVertexTemplateEntry(a+"pbx_server;",65,85,"","PBX Server",null,null,this.getTagsForStencil("mxgraph.citrix","PBX Server","").join(" ")),this.createVertexTemplateEntry(a+"pda;",30,61,"","PDA",null,null,this.getTagsForStencil("mxgraph.citrix","PDA","").join(" ")),this.createVertexTemplateEntry(a+"podio;fillColor=#72B8DE;gradientColor=#186BA2;gradientDirection=south;",
- 37,37,"","Podio",null,null,this.getTagsForStencil("mxgraph.citrix","Podio","").join(" ")),this.createVertexTemplateEntry(a+"printer;",70,70,"","Printer",null,null,this.getTagsForStencil("mxgraph.citrix","Printer","").join(" ")),this.createVertexTemplateEntry(a+"process;",52,62,"","Process",null,null,this.getTagsForStencil("mxgraph.citrix","Process","").join(" ")),this.createVertexTemplateEntry(a+"provisioning_server;",76,87,"","Provisioning Server",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Provisioning Server","").join(" ")),this.createVertexTemplateEntry(a+"proxy_server;",76.5,90,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.citrix","Proxy Server","").join(" ")),this.createVertexTemplateEntry(a+"radius_server;",75.5,91,"","Radius Server",null,null,this.getTagsForStencil("mxgraph.citrix","Radius Server","").join(" ")),this.createVertexTemplateEntry(a+"remote_office;",92,41.5,"","Remote Office",null,null,this.getTagsForStencil("mxgraph.citrix","Remote Office","").join(" ")),
- this.createVertexTemplateEntry(a+"reporting;",61.5,69,"","Reporting",null,null,this.getTagsForStencil("mxgraph.citrix","Reporting","").join(" ")),this.createVertexTemplateEntry(a+"role_appcontroller;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role AppController",null,null,this.getTagsForStencil("mxgraph.citrix","Role AppController","").join(" ")),this.createVertexTemplateEntry(a+"role_applications;",38,38,"","Role Applications",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Role Applications","").join(" ")),this.createVertexTemplateEntry(a+"role_cloudbridge;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role CloudBridge",null,null,this.getTagsForStencil("mxgraph.citrix","Role CloudBridge","").join(" ")),this.createVertexTemplateEntry(a+"role_desktops;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Desktops",null,null,this.getTagsForStencil("mxgraph.citrix","Role Desktops","").join(" ")),this.createVertexTemplateEntry(a+
- "role_load_testing_controller;",24,24,"","Role Load Testing Controller",null,null,this.getTagsForStencil("mxgraph.citrix","Role Load Testing Controller","").join(" ")),this.createVertexTemplateEntry(a+"role_load_testing_launcher;",41,38,"","Role Load Testing Launcher",null,null,this.getTagsForStencil("mxgraph.citrix","Role Load Testing Launcher","").join(" ")),this.createVertexTemplateEntry(a+"role_receiver;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Receiver",
- null,null,this.getTagsForStencil("mxgraph.citrix","Role Receiver","").join(" ")),this.createVertexTemplateEntry(a+"role_repeater;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Repeater",null,null,this.getTagsForStencil("mxgraph.citrix","Role Repeater","").join(" ")),this.createVertexTemplateEntry(a+"role_secure_access;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Secure Access",null,null,this.getTagsForStencil("mxgraph.citrix","Role Secure Access",
- "").join(" ")),this.createVertexTemplateEntry(a+"role_security;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Security",null,null,this.getTagsForStencil("mxgraph.citrix","Role Security","").join(" ")),this.createVertexTemplateEntry(a+"role_services;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Services",null,null,this.getTagsForStencil("mxgraph.citrix","Role Services","").join(" ")),this.createVertexTemplateEntry(a+"role_storefront;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",
- 38,38,"","Role StoreFront",null,null,this.getTagsForStencil("mxgraph.citrix","Role StoreFront","").join(" ")),this.createVertexTemplateEntry(a+"role_storefront_services;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role StoreFront Services",null,null,this.getTagsForStencil("mxgraph.citrix","Role StoreFront Services","").join(" ")),this.createVertexTemplateEntry(a+"role_synchronizer;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Synchronizer",
- null,null,this.getTagsForStencil("mxgraph.citrix","Role Synchronizer","").join(" ")),this.createVertexTemplateEntry(a+"role_xenmobile;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role XenMobile",null,null,this.getTagsForStencil("mxgraph.citrix","Role XenMobile","").join(" ")),this.createVertexTemplateEntry(a+"role_xenmobile_device_manager;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",35,38,"","Role XenMobile Device Manager",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Role XenMobile Device Manager","").join(" ")),this.createVertexTemplateEntry(a+"router;",55,36.5,"","Router",null,null,this.getTagsForStencil("mxgraph.citrix","Router","").join(" ")),this.createVertexTemplateEntry(a+"security;",40.5,71,"","Security",null,null,this.getTagsForStencil("mxgraph.citrix","Security","").join(" ")),this.createVertexTemplateEntry(a+"sharefile;fillColor=#386510;gradientColor=#C6CF2B;gradientDirection=south;",38,38,"","ShareFile",null,null,this.getTagsForStencil("mxgraph.citrix",
- "ShareFile","").join(" ")),this.createVertexTemplateEntry(a+"site;",107,101,"","Site",null,null,this.getTagsForStencil("mxgraph.citrix","Site","").join(" ")),this.createVertexTemplateEntry(a+"smtp_server;",76,92,"","SMTP Server",null,null,this.getTagsForStencil("mxgraph.citrix","SMTP Server","").join(" ")),this.createVertexTemplateEntry(a+"storefront_services;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",76,91,"","Storefront Services",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Storefront Services","").join(" ")),this.createVertexTemplateEntry(a+"switch;",92,41.5,"","Switch",null,null,this.getTagsForStencil("mxgraph.citrix","Switch","").join(" ")),this.createVertexTemplateEntry(a+"tablet_1;",61,79,"","Tablet",null,null,this.getTagsForStencil("mxgraph.citrix","Tablet","").join(" ")),this.createVertexTemplateEntry(a+"tablet_2;",82,86,"","Tablet",null,null,this.getTagsForStencil("mxgraph.citrix","Tablet","").join(" ")),this.createVertexTemplateEntry(a+"thin_client;",71,71,
- "","Thin Client",null,null,this.getTagsForStencil("mxgraph.citrix","Thin Client","").join(" ")),this.createVertexTemplateEntry(a+"tower_server;",65,85,"","Tower Server",null,null,this.getTagsForStencil("mxgraph.citrix","Tower Server","").join(" ")),this.createVertexTemplateEntry(a+"users;",64.5,55,"","Users",null,null,this.getTagsForStencil("mxgraph.citrix","Users","").join(" ")),this.createVertexTemplateEntry(a+"user_control;",103,84,"","User Control",null,null,this.getTagsForStencil("mxgraph.citrix",
- "User Control","").join(" ")),this.createVertexTemplateEntry(a+"web_server;",76.5,90,"","Web Server",null,null,this.getTagsForStencil("mxgraph.citrix","Web Server","").join(" ")),this.createVertexTemplateEntry(a+"web_service;",63,60,"","Web Service",null,null,this.getTagsForStencil("mxgraph.citrix","Web Service","").join(" ")),this.createVertexTemplateEntry(a+"worxenroll;fillColor=#386510;gradientColor=#C6CF2B;gradientDirection=south;",38,38,"","WorxEnroll",null,null,this.getTagsForStencil("mxgraph.citrix",
- "WorxEnroll","").join(" ")),this.createVertexTemplateEntry(a+"worxhome;fillColor=#DB9EFF;gradientColor=#712FA2;gradientDirection=south;",38,38,"","WorxHome",null,null,this.getTagsForStencil("mxgraph.citrix","WorxHome","").join(" ")),this.createVertexTemplateEntry(a+"worxmail;fillColor=#112356;gradientColor=#63AFC6;gradientDirection=south;",38,38,"","WorxMail",null,null,this.getTagsForStencil("mxgraph.citrix","WorxMail","").join(" ")),this.createVertexTemplateEntry(a+"worxweb;fillColor=#2A3437;gradientColor=#B8B9B9;gradientDirection=south;",
- 38,38,"","WorxWeb",null,null,this.getTagsForStencil("mxgraph.citrix","WorxWeb","").join(" ")),this.createVertexTemplateEntry(a+"xenapp_server;",76,89,"","XenApp Server",null,null,this.getTagsForStencil("mxgraph.citrix","XenApp Server","").join(" ")),this.createVertexTemplateEntry(a+"xenapp_services;",76,90,"","XenApp Services",null,null,this.getTagsForStencil("mxgraph.citrix","XenApp Services","").join(" ")),this.createVertexTemplateEntry(a+"xenapp_web;",76,90,"","XenApp Web",null,null,this.getTagsForStencil("mxgraph.citrix",
- "XenApp Web","").join(" ")),this.createVertexTemplateEntry(a+"xencenter;",76,89,"","XenCenter",null,null,this.getTagsForStencil("mxgraph.citrix","XenCenter","").join(" ")),this.createVertexTemplateEntry(a+"xenclient;",91,77,"","XenClient",null,null,this.getTagsForStencil("mxgraph.citrix","XenClient","").join(" ")),this.createVertexTemplateEntry(a+"xenclient_synchronizer;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",76,91,"","XenClient Synchronizer",null,null,this.getTagsForStencil("mxgraph.citrix",
- "Synchronizer","").join(" ")),this.createVertexTemplateEntry(a+"xendesktop_server;",75,91,"","XenDesktop Server",null,null,this.getTagsForStencil("mxgraph.citrix","XenDesktop Server","").join(" ")),this.createVertexTemplateEntry(a+"xenmobile;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",70,89,"","XenMobile",null,null,this.getTagsForStencil("mxgraph.citrix","XenMobile","").join(" ")),this.createVertexTemplateEntry(a+"xenserver;",76.5,90,"","XenServer",null,null,this.getTagsForStencil("mxgraph.citrix",
- "XenServer","").join(" "))])}})();(function(){Sidebar.prototype.addEipMessageConstructionPalette=function(a){var b=this,d=[this.createEdgeTemplateEntry("edgeStyle=none;html=1;strokeColor=#808080;endArrow=block;endSize=10;dashed=0;verticalAlign=bottom;strokeWidth=2;",160,0,"","Pipe",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction pipe").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#c0f5a9;strokeColor=#000000;verticalLabelPosition=bottom;verticalAlign=top;",
- 150,90,"","Filter",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction filter").join(" ")),this.addEntry("eip enterprise integration pattern message construction command message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var e=new mxCell("C",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#FF8080;strokeColor=#000000;fontStyle=1;");
- e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!1);e.insertEdge(d,!0);return b.createVertexTemplateFromCells([d,a,e],28,30,"Command Message")}),this.addDataEntry("eip enterprise integration pattern message construction correlation identifier",78,30,"Correlation Identifier","5ZZLT8JAEIB/Ta+mDwv1KAicTEw8qMeVDu2GpUO2ixZ/vbPdAVorilExkTZN5rEznf1mtqkXDRfVRItlfo0pKC8aedFQIxonLaohKOWFvky96MoLQ58eLxzv8Qa1118KDYU5JCB0AU9CrcBZnKE0a8UGSDO4ZRW1yTHDQqjRzjrQuCpSsBl90qCS5r4hP1j5LLZakV5qjc9kKLCwkako821gbha0/6uAxNJonMMQFeq6iCjx7b313MnU5OQJyeIKtlW2GJS40lM29ZzJCJ0BY4m7pOpAxjQBXIDRa1qiQQkjn9rZRenUbLtuB5kE5vw+8+gkmCdd5v2/Y35+APMdqUeF03mbDnnHUrVZNYl06I3HF4RwD6ifRMChNygpY+hXvGEe8HXrBGziXaM4pPl5eJMl6H+UxfW2k6XuxXYnB7Un/rw9XeStQRZKZgXJU+IK1ILBDAtzK19sdGL7k4ullem9clnaczCjdu6f9o2HDw3XB9pA9dVOPnPNdgXvKweZ5aZt+8549zr8Ln8LoIap6dLjaX/nHPj1tcnH5QSsN9bN6uubqDcBvdbYBnwMj9CI/n8eZA6I/aPhTDo4B6c8171jzTWpu39Q9z1v/qK+Ag=="),
- this.addEntry("eip enterprise integration pattern message construction document message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var e=new mxCell("D",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#C7A0FF;strokeColor=#000000;fontStyle=1;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");
- d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!1);e.insertEdge(d,!0);return b.createVertexTemplateFromCells([d,a,e],28,30,"Document Message")}),this.addEntry("eip enterprise integration pattern message construction event message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var e=new mxCell("E",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#83BEFF;strokeColor=#000000;fontStyle=1;");
- e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!1);e.insertEdge(d,!0);return b.createVertexTemplateFromCells([d,a,e],28,30,"Event Message")}),this.createVertexTemplateEntry("strokeWidth=3;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.messExp;html=1;verticalLabelPosition=bottom;strokeColor=#000000;verticalAlign=top",
- 48,48,"","Message Expiration",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction message expiration").join(" ")),this.addDataEntry("eip enterprise integration pattern message construction message sequence",60,24,"Message Sequence","5VVdb4MgFP01vKtY4+vKZp+WLNnDnpneKSmKQWp1v34gtKWhXfawNPswMbn33A+45xBAmLTTRtK+eRQVcIQfECZSCGWtdiLAOUoiViF8j5Ik0j9KiivReIlGPZXQqa8UJLZgpHwHFrHAoGbugHInRzDpMcJr6Ko7KcVeu69clFsNNarlLjooKbZABBdyqcUxIUUUHSMvrFKNjiS20zN7N2tg7dlVoarhbJBB7GTpoJWFFJU1uNnScNyl0M26AdGCkrNOkcCpYuN5dzpYtz7muVI9Ip29hF6wTg1e5ycD6ITJ9ct9krVhGxw8bycnaBHisij494iShaKsfogoafKtoqSBKHGgSkhoRYdm0cnwTTmrO22XmhjQYqzfRKcc37nRo6G9sSWUykQZ555seVQUGbkkaLR8h35uO/FRwBGkgglduyCuiDO7qDt7ezeUBzXA6kadY5fU8yT4lOFVwHB47v8Sw67gcLJuT3gWEI7/A+FpfiPCtXt6ye2V4z/0Hw=="),
- this.createVertexTemplateEntry("strokeWidth=3;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.retAddr;html=1;verticalLabelPosition=bottom;fillColor=#FFE040;strokeColor=#000000;verticalAlign=top;",78,48,"","Return Address",null,null,this.getTagsForStencil("mxgraph.eip","retAddr","eip enterprise integration pattern message construction return address").join(" "))];this.addPalette("eipMessage Construction","EIP / Message Construction",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};
- Sidebar.prototype.addEipMessageRoutingPalette=function(a){var b=[this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.aggregator;",150,90,"","Aggregator",null,null,this.getTagsForStencil("mxgraph.eip","aggregator","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.composed_message_processor;",
- 150,90,"","Composed Message Processor",null,null,this.getTagsForStencil("mxgraph.eip","composed_message_processor","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.content_based_router;",150,90,"","Content Based Router",null,null,this.getTagsForStencil("mxgraph.eip","content_based_router","eip enterprise integration pattern message routing ").join(" ")),
- this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.dynamic_router;",150,90,"","Dynamic Router",null,null,this.getTagsForStencil("mxgraph.eip","dynamic_router","eip enterprise integration pattern message routing ").join(" ")),this.addDataEntry("eip enterprise integration pattern message routing message broker",120,90,"Message Broker","5ZjJboMwEIafxneDWZJjQ9qcesqhZxcGjGpwZJytT1+DnQUpUZEqmYQiIWb+YcbMZySwEUmqw0rSDXsXGXBEXhFJpBDKWNUhAc6Rj8sMkSXyfaxP5L/diXpdFG+ohFoNSfBNwo7yLRjFCI06cis0Soov+CgzxbTgI7LIaMOgLYC1Q3lZ1NpO9YggtZCLWq3L7zZ7pt2G0U1rS0hVGy05TwQXsitO8jz/TNsyZpSrCO4OHbFPCFLB4W6XnWRbXIGoQMmjvsUmBLHJ2Nsm2sYjIzEoC3YqMjMabYxfnAtdCGrDQrwNlEwb6LFPygHQYNpAbcLctumebzhtvhZoGDgDGk0b6O0X1iHf+F/wPX2yLN/Yd8Z3NjLfFOchnTvmSyJnfOe/84WsgLV1a1HrywLq7EVKsb8oPeRMVXq8pXfGdj05pn5btAerEVuZQm/SFZUFqN6v4QCkEjhV5a5f/S+IPPwkjMiIjLwnYRSMyGjA8uYhGIUjMhqwYnkIRtGIjAYsQh6CUeyMkXYvuxRdrLeJ8QM="),
- this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.message_filter;",150,90,"","Message Filter",null,null,this.getTagsForStencil("mxgraph.eip","message_filter","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.process_manager;",
- 150,90,"","Process Manager",null,null,this.getTagsForStencil("mxgraph.eip","process_manager","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.recipient_list;",150,90,"","Recipient List",null,null,this.getTagsForStencil("mxgraph.eip","recipient_list","eip enterprise integration pattern message routing ").join(" ")),
- this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.resequencer;",150,90,"","Resequencer",null,null,this.getTagsForStencil("mxgraph.eip","resequencer","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.routing_slip;",
- 150,90,"","Routing Slip",null,null,this.getTagsForStencil("mxgraph.eip","routing_slip","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.splitter;",150,90,"","Splitter",null,null,this.getTagsForStencil("mxgraph.eip","splitter","eip enterprise integration pattern message routing ").join(" "))];this.addPalette("eipMessage Routing",
- "EIP / Message Routing",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addEipMessageTransformationPalette=function(a){this.addPaletteFunctions("eipMessage Transformation","EIP / Message Transformation",!1,[this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.claim_check;",150,90,"","Claim Check",null,null,this.getTagsForStencil("mxgraph.eip",
- "claim_check","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.content_enricher;",150,90,"","Content Enricher",null,null,this.getTagsForStencil("mxgraph.eip","content_enricher","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.content_filter;",
- 150,90,"","Content Filter",null,null,this.getTagsForStencil("mxgraph.eip","content_filter","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.envelope_wrapper;",150,90,"","Envelope Wrapper",null,null,this.getTagsForStencil("mxgraph.eip","envelope_wrapper","eip enterprise integration pattern message transformation ").join(" ")),
- this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;strokeColor=#000000;shape=mxgraph.eip.normalizer;",150,90,"","Normalizer",null,null,this.getTagsForStencil("mxgraph.eip","normalizer","eip enterprise integration pattern message transformation ").join(" "))])};Sidebar.prototype.addEipMessagingChannelsPalette=function(a){var b=[this.createEdgeTemplateEntry("edgeStyle=none;html=1;strokeColor=#808080;endArrow=block;endSize=10;dashed=0;verticalAlign=bottom;strokeWidth=2;",
- 160,0,"","Point to Point Channel",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern messaging channel message point").join(" ")),this.addDataEntry("eip enterprise integration pattern messaging channel message publish subscribe",80,160,"Publish Subscribe Channel","7ZbBbsIwDIafJvfQMMR1FMYJaRKHnbPWayvSGLmBwZ5+bhNKYaAxDTihqlL8O3aS72/VChWXmynpZT7DFIxQE6FiQnR+VG5iMEZEskiFGosoknyL6OVMttdk5VITWHdJQeQL1tqswCteqNzWBKFyhAt4K1KXsxAJNUp1lUPdQHKgTZFZHie8IhALH2jdvPiqq4cc5q7kU417PKxyvaxlgoQ3NwpLAznYnN1+I4W9TwFLcLTlKaGg708nt2FyOK3UlReytmLPgAcBw2kk6nckhCubtgTAps9E+MmhRQteCQR68phXl0dDNkaD1PRVQ1lfbabL3O8B0gwOUDlNGbgDLy+gR2C0K9aHrU4xC6WvWHDHH9R3FRWuKIEw6Qh0u+pF7Pt/Zs9A5iGJ5HLM0Goz2atdd94NJou72uPJ3Mue3VswOPLHPyTX8Ofp4c/1Xp/b2zV42PV/u4a3sovD/YfeT+/+B3wD"),
- this.createVertexTemplateEntry("strokeWidth=2;strokeColor=#000000;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.channel_adapter;fillColor=#9ddbef;",45,90,"","Channel Adapter",null,null,this.getTagsForStencil("mxgraph.eip","channel_adapter","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;strokeColor=#000000;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.messageChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",
- 100,20,"","Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","messageChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;strokeColor=#000000;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.dataChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",100,20,"","Datatype Channel",null,null,this.getTagsForStencil("mxgraph.eip","dataChannel","eip enterprise integration pattern messaging channel message ").join(" ")),
- this.createVertexTemplateEntry("strokeWidth=1;strokeColor=#000000;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.deadLetterChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",100,20,"","Dead Letter Channel",null,null,this.getTagsForStencil("mxgraph.eip","deadLetterChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;strokeColor=#000000;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.invalidMessageChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",
- 100,20,"","Invalid Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","invalidMessageChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;strokeColor=#000000;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.messaging_bridge;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;",150,90,"","Messaging Bridge",null,null,this.getTagsForStencil("mxgraph.eip","messaging_bridge","eip enterprise integration pattern messaging channel message ").join(" ")),
- this.addDataEntry("eip enterprise integration pattern messaging channel message message bus",120,140,"Message Bus","7ZbPb8IgFMf/Gq6Gwma8rtV5WrLEw84ob4VISwOodX/9oLBq/ZF5MJ5s0+S9L7xX+H5KUkSLqp0b1ogPzUEhOkO0MFq7GFVtAUohgiVHdIoIwf5B5P3KaNaN4oYZqN0tBSQWbJnaQFSiYN1eJcE6o9fwJbkTXiCI5lEptNKmm0Jxd/kRzqyA0DokTMmy9vHKrwX8zFy4ym9wmvnwW9duIX/CKyaho2BNiKu2DFaMQDajCqxlJRSC1XUwJk9LBeOgvbrdTkp7nYOuwJm9n7KPo+PoBt6l3YSC5BAWIEuRuvxpzMa87DsdvPRBsvOytfR/a4GXsEgpqKXezQ5Cfu670Zua9/ZCzd+M0TufLpVerbsSZtxFMXmdpcLjdMDsCNEZ5QkOdw8iLH6Awb+nBDf4rm4gY0AxJ7fDVpd8T6WfWvqOBLdDoglw9nJCzuqNWUEqOoHXr+Imni9Png/geXry7sfv9cnvgefx/vzGT34P4JfhewH06eE/Jk4//s35BQ==")];
- this.addPalette("eipMessaging Channels","EIP / Messaging Channels",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addEipMessagingEndpointsPalette=function(a){this.addPaletteFunctions("eipMessaging Endpoints","EIP / Messaging Endpoints",!1,[this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.competing_consumers;",
- 150,90,"","Competing Consumers",null,null,this.getTagsForStencil("mxgraph.eip","competing_consumers","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.durable_subscriber;fillColor=#a0a0a0;",30,35,"","Durable Subscriber",null,null,this.getTagsForStencil("mxgraph.eip","durable_subscriber","eip enterprise integration pattern messaging endpoint ").join(" ")),
- this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.event_driven_consumer;",150,90,"","Event Driven Consumer",null,null,this.getTagsForStencil("mxgraph.eip","event_driven_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.message_dispatcher;",
- 150,90,"","Message Dispatcher",null,null,this.getTagsForStencil("mxgraph.eip","message_dispatcher","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.messaging_gateway;",150,90,"","Messaging Gateway",null,null,this.getTagsForStencil("mxgraph.eip","messaging_gateway","eip enterprise integration pattern messaging endpoint ").join(" ")),
- this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.polling_consumer;",150,90,"","Polling Consumer",null,null,this.getTagsForStencil("mxgraph.eip","polling_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.selective_consumer;",
- 150,90,"","Selective Consumer",null,null,this.getTagsForStencil("mxgraph.eip","selective_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.service_activator;",150,90,"","Service Activator",null,null,this.getTagsForStencil("mxgraph.eip","service_activator","eip enterprise integration pattern messaging endpoint ").join(" ")),
- this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;strokeWidth=2;strokeColor=#000000;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.transactional_client;",150,90,"","Transactional Client",null,null,this.getTagsForStencil("mxgraph.eip","transactional_client","eip enterprise integration pattern messaging endpoint ").join(" "))])};Sidebar.prototype.addEipMessagingSystemsPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.content_based_router;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;strokeColor=#000000;",
- 150,90,"","Message Router",null,null,this.getTagsForStencil("mxgraph.eip","content_based_router","eip enterprise integration pattern messaging system ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.messageChannel;html=1;verticalLabelPosition=bottom;strokeColor=#000000;verticalAlign=top;",100,20,"","Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","messageChannel","eip enterprise integration pattern messaging system ").join(" ")),
- this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var a=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;strokeColor=#000000;");a.vertex=!0;var e=new mxCell("",new mxGeometry(85,25,40,40),"strokeWidth=1;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#ffffff;strokeColor=#000000;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],
- a.geometry.width,a.geometry.height,"Message Endpoint")}),this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var a=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;strokeColor=#000000;");a.vertex=!0;var e=new mxCell("",new mxGeometry(25,25,40,40),"strokeWidth=1;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#ffffff;strokeColor=#000000;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message Endpoint")}),this.addDataEntry("eip enterprise integration pattern messaging system message endpoint",400,90,"Message Endpoint","zVXLbsIwEPwa300eFRwhbbm0UiUOPZtkSSycbOQsr3597cRAIkILKhUkiuSd9fgxs46ZH+XbqRZl9o4JKOa/MD/SiNS08m0ESjGPy4T5z8zzuPmY93omO6izvBQaCrqE4DWEtVAraJAGqGinHFCRxiV8yoQyA3jMnySiysAOwE0glEwL047NjKANsMCCZvLLsocmrDJR2raGmGxWKhWhQl0P7sd8EYqR7VbP0srw+jGZNWiSsVBvYg7qAytJEu2EcyTCvNVh7FZCWBrUbczkYHtWnBpyykwBcyC9M102brO2R9gIyDOQaeZoI4eJqonTA/UotWk4tfuV969VfnBb5Rf1czflvX7lHcELG8auG7Z8CXpsCW5gS/D4B+IvlX3Ql58o+m+VHj5+pV8kafCjpMO7lezT7/pCksLMhaDmuHk5ApPTeta4KpKD+lAkY61xY0++wnhZU4SmPVhgAXvMmTJwvHbYcTSjXDmnT1wZcvv2LqzZmN1Nx6UKVzqGzn/VLCYF6hTgBcdDgxIk193Rr/DGhMe7u851rvZv"),
- this.addDataEntry("eip enterprise integration pattern messaging system message",28,48,"Message","5ZVRb4IwEMc/Da8LghJ9nCg+7cmHbY+NHLRZ6ZGjKu7Tr6VVR5RsiZlbMgjJ3f965d8fJQ3itGpXxGr+hDnIIF4GcUqI2kVVm4KUQRSKPIgXQRSF5gmibKA66qphzQiU/k5D5Bp2TG7BKU5o9EF6AfIS1j5F0hxLVEwuz+qccKtysDOGJoNW6JdP8auNHyY2U/kjEe6NoFDZzpw1/NTIdWXWvxiZsNGEb5CiROpMxNPQ3qfKs8g1N5XIKM6wddlj0OCWNl6aOEkzKsFjGV+S6ho9phVgBZoOZgiBZFrs+rOzxqXladwZsgk85+vM43/BPPlTzMdfM79cZY8Uk6JUJt4Y72AIzQtUei3ebffUQuKstrF5r6gbC7oQUg7jPFb8V/H+gDS0g//yAK2992xH+HVxECXXfe0WfpO78SPY6GvwsixJr+3SsLuO83k7oxuJHhv8Jj74dOrSO/BOfpl3Ucxm4eVmvS/vOPkp3iY9n7FdrXcEfwA="),
- this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#80FF6C;strokeColor=#000000;fontStyle=1;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");
- d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!1);e.insertEdge(d,!0);return b.createVertexTemplateFromCells([d,a,e],28,30,"Message")}),this.addDataEntry("eip enterprise integration pattern messaging system message",28,48,"Message","vZRNb4MwDIZ/DdeJj25qjyvtetqph23HqBgSLcTIuC3dr19C0naIoU3qNBCS/TqvcR5Qoiyvuw2JRj5jATrK1lGWEyL7qO5y0DpKY1VE2SpK09g+Ufo0UU36atwIAsO/MaTecBB6D17xQssnHQQoKtiGFIklVmiEXl/VJeHeFOA6xjaDTvHrl/jNxXf3LjPFIxEerWDQOGchWnkxSq7t/leJDVsmfIccNVI/RDaP3X2pvKiCpa2kVvEDuykHDFrc0y5IMy+xoAoClmxMqjcGTBvAGphOdgmBFqwOw+6i9Wl1WXeFbIPA+Xvm2c/Mx7sckBJaVcbGOzs7WELLEg1v1Ydzzx0kKRoX2/eqpnWgS6X1NM5zJXyVMB8QQzf5X03QOoaZ3YqwLwmqkjzUbuE3+zd+BDsewyvLxSIew7OVuL/O/cI4yY1Ez4YH7ziFdO7Tv+dt0+v509cGx9Mn"),
- this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_1;fillColor=#ff5500;strokeColor=#000000;fontStyle=1;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");
- d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!1);e.insertEdge(d,!0);return b.createVertexTemplateFromCells([d,a,e],28,30,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_2;fillColor=#00cc00;strokeColor=#000000;fontStyle=1;");
- e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!1);e.insertEdge(d,!0);return b.createVertexTemplateFromCells([d,a,e],28,30,"Message")}),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_translator;fillColor=#c0f5a9;strokeColor=#000000;verticalLabelPosition=bottom;verticalAlign=top;",
- 150,90,"","Message-Translator",null,null,this.getTagsForStencil("mxgraph.eip","message_translator","eip enterprise integration pattern messaging system ").join(" "))];this.addPalette("eipMessaging Systems","EIP / Messaging Systems",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addEipSystemManagementPalette=function(a){this.addPaletteFunctions("eipSystem Management","EIP / System Management",!1,[this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.channel_purger;fillColor=#c0f5a9;strokeColor=#000000;",
- 150,90,"","Channel Purger",null,null,this.getTagsForStencil("mxgraph.eip","channel_purger","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.control_bus;fillColor=#c0f5a9;strokeColor=#000000;",60,40,"","Control Bus",null,null,this.getTagsForStencil("mxgraph.eip","control_bus","eip enterprise integration pattern system management ").join(" ")),
- this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.detour;fillColor=#c0f5a9;strokeColor=#000000;",150,90,"","Detour",null,null,this.getTagsForStencil("mxgraph.eip","detour","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.message_store;fillColor=#c0f5a9;strokeColor=#000000;",
- 150,90,"","Message Store",null,null,this.getTagsForStencil("mxgraph.eip","message_store","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.smart_proxy;fillColor=#c0f5a9;strokeColor=#000000;",70,90,"","Smart Proxy",null,null,this.getTagsForStencil("mxgraph.eip","smart_proxy","eip enterprise integration pattern system management ").join(" ")),
- this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.test_message;fillColor=#c0f5a9;strokeColor=#000000;",150,90,"","Test Message",null,null,this.getTagsForStencil("mxgraph.eip","test_message","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.wire_tap;fillColor=#c0f5a9;strokeColor=#000000;",
- 150,90,"","Wire Tap",null,null,this.getTagsForStencil("mxgraph.eip","wire_tap","eip enterprise integration pattern system management ").join(" "))])}})();(function(){Sidebar.prototype.addElectricalPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE,b=a+"=mxgraph.electrical.abstract.",d=a+"=mxgraph.electrical.capacitors.",c="fillColor=#000000;"+a+"=mxgraph.electrical.diodes.",e=a+"=mxgraph.electrical.inductors.",f=a+"=mxgraph.electrical.miscellaneous.",g=a+"=mxgraph.electrical.electro-mechanical.",
- h=a+"=mxgraph.electrical.logic_gates.",p=a+"=mxgraph.electrical.mosfets1.",u=a+"=mxgraph.electrical.transistors.",l=a+"=mxgraph.electrical.opto_electronics.",q=a+"=mxgraph.electrical.plc_ladder.",m=a+"=mxgraph.electrical.radio.",n=a+"=mxgraph.electrical.resistors.",k=a+"=mxgraph.electrical.signal_sources.",w=a+"=mxgraph.electrical.thermionic_devices.",v=a+"=mxgraph.electrical.waveforms.",z="perimeter=ellipsePerimeter;"+a+"=mxgraph.electrical.instruments.",x=a+"=mxgraph.electrical.iec_logic_gates.",
- t=a+"=mxgraph.electrical.rot_mech.",r=a+"=mxgraph.electrical.transmission.";this.addPaletteFunctions("electricalLogicGates","Electrical / Logic Gates",!1,[this.createVertexTemplateEntry(h+"and;",100,60,"","AND",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","and","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"buffer;",100,60,"","Buffer",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","buffer","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+
- "d_type_flip-flop;",100,80,"","D Type Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"d_type_flip-flop_with_clear;",100,90,"","D Type Flip-Flop With Clear",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_flip-flop_with_clear","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"d_type_rs_flip-flop;",100,100,"","D Type RS Flip-Flop",null,
- null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_rs_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"inverter;",100,60,"","Inverter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","inverter","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"inverting_contact;",5,5,"","Inverting Contact",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","inverting_contact","electrical logic gate ").join(" ")),
- this.createVertexTemplateEntry(h+"jk_flip-flop;",100,80,"","JK Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","jk_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"jk_flip-flop_with_clear;",100,90,"","JK Flip-Flop With Clear",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","jk_flip-flop_with_clear","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"jk_flip-flop_with_sr;",100,100,"","JK Flip-Flop With SR",
- null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","jk_flip-flop_with_sr","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"nand;",100,60,"","NAND",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","nand","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"nor;",100,60,"","NOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","nor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"or;",100,
- 60,"","OR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","or","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"rs_latch;",100,80,"","RS Latch",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","rs_latch","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"synchronous_rs_latch;",100,80,"","RS Latch (Synchronous)",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","synchronous_rs_latch","electrical logic gate ").join(" ")),
- this.createVertexTemplateEntry(h+"schmitt_trigger;",100,60,"","Schmitt Trigger",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","schmitt_trigger","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"t_type_flip-flop;",100,80,"","T Type Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","t_type_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"xnor;",100,60,"","XNOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates",
- "xnor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"xor;",100,60,"","XOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","xor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(x+"and;",60,80,"","AND (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","and","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(x+"nand;",66,80,"","NAND (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates",
- "nand","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(x+"or;",60,80,"","OR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","or","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(x+"nor;",66,80,"","NOR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","nor","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(x+"not;",66,80,"","NOT (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates",
- "xor","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(x+"xor;",60,80,"","XOR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","xor","electrical iec logic gate ").join(" "))]);this.addPaletteFunctions("electricalResistors","Electrical / Resistors",!1,[this.createVertexTemplateEntry(n+"resistor_1;",100,20,"","Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+
- "resistor_2;",100,20,"","Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"potentiometer_1;",100,40,"","Potentiometer",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","potentiometer_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"potentiometer_2;",100,40,"","Potentiometer",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","potentiometer_2",
- "electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"trimmer_pot_1;",100,40,"","Potentiometer (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_pot_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"trimmer_pot_2;",100,40,"","Potentiometer (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_pot_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"trimmer_resistor_1;",100,65.5,
- "","Resistor (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_resistor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"trimmer_resistor_2;",100,65.5,"","Resistor (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"variable_resistor_1;",100,60,"","Resistor (Variable)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors",
- "variable_resistor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"variable_resistor_2;",100,60,"","Resistor (Variable)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","variable_resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"resistor_with_instrument_or_relay_shunt;",100,20,"","Resistor (Instrument/Relay Shunt)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_with_instrument_or_relay_shunt","electrical resistor ").join(" ")),
- this.createVertexTemplateEntry(n+"attenuator;",100,60,"","Attenuator",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","attenuator","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"resistor,_adjustable_contact;",100,40,"","Resistor (Adjustable Contact)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor,_adjustable_contact","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"resistor,_shunt;",100,45,"","Resistor (Shunt)",null,
- null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor,_shunt","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"symmetrical_varistor;",100,60,"","Varistor (Symmetrical)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","symmetrical_varistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"tapped_resistor;",100,40,"","Resistor (Tapped)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","tapped_resistor","electrical resistor ").join(" ")),
- this.createVertexTemplateEntry(n+"nonlinear_resistor;",100,60,"","Resistor (Nonlinear)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","nonlinear_resistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"memristor_1;",100,20,"","Memristor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","memristor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"memristor_2;",100,24,"","Memristor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors",
- "memristor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"magnetoresistor;",100,60,"","Magnetoresistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","magnetoresistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(n+"symmetrical_photoconductive_transducer;",100,40,"","Photoconductive Transducer (Symmetrical)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","symmetrical_photoconductive_transducer","electrical resistor ").join(" "))]);
- this.addPaletteFunctions("electricalCapacitors","Electrical / Capacitors",!1,[this.createVertexTemplateEntry(d+"capacitor_1;",100,60,"","Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"capacitor_2;",100,60,"","Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"capacitor_3;",
- 100,60,"","Electrolytic Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_3","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"capacitor_4;",100,60,"","Capacitor (UK)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_4","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"capacitor_5;",100,60,"","Electrolytic Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_5",
- "electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"capacitor_6;",100,60,"","Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_6","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"differential_capacitor;",100,80,"","Differential Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","differential_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"trimmer_capacitor_1;",100,
- 65.5,"","Tuning Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","trimmer_capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"trimmer_capacitor_2;",100,65.5,"","Tuning Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","trimmer_capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"variable_capacitor_1;",100,60,"","Trimmer Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors",
- "variable_capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"variable_capacitor_2;",100,60,"","Trimmer Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","variable_capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"feed_through_capacitor;",100,90,"","Feed Through Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","feed_through_capacitor","electrical capacitor ").join(" ")),
- this.createVertexTemplateEntry(d+"ganged_capacitor;",100,130,"","Ganged Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","ganged_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"multiple_capacitor;",100,130,"","Multiple Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"multiple_electrolytic_capacitor_comm_neg;",100,130,"","Multiple Electrolytic Capacitor (Common Negative)",
- null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_electrolytic_capacitor_comm_neg","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(d+"multiple_electrolytic_capacitor_comm_pos;",100,130,"","Multiple Electrolytic Capacitor (Common Positive)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_electrolytic_capacitor_comm_pos","electrical capacitor ").join(" "))]);this.addPaletteFunctions("electricalInductors","Electrical / Inductors",
- !1,[this.createVertexTemplateEntry(e+"inductor_3;",100,8,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_3","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"inductor_5;",100,14,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_5","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"inductor_1;",100,15,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",
- "inductor_1","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"variable_inductor;",100,60,"","Variable",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variable_inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"ferrite_core;",64,4,"","Ferrite Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","ferrite_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"iron_core;",64,4,"","Iron Core",null,null,
- this.getTagsForStencil("mxgraph.electrical.inductors","iron_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"magnetic_core;direction=north;",64,3,"","Magnetic Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","magnetic core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"transformer_1;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_1","electrical inductor ").join(" ")),
- this.createVertexTemplateEntry(e+"transformer_2;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_2","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"half_inductor;",32,23,"","Half Inductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","half inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"transformer;direction=north;",64,64,"","Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",
- "transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"inductor;",100,42,"","Inductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"choke;",100,200,"","Choke",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","choke","electrical inductor ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=top;shadow=0;dashed=0;align=center;fillColor=#000000;strokeColor=#000000;html=1;verticalAlign=bottom;strokeWidth=1;shape=mxgraph.electrical.inductors.variometer;",
- 150,88,"","Variometer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variometer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"coaxial_choke;",300,50,"","Coaxial Choke",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","coaxial choke","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"transductor;",200,100,"","Transductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transductor","electrical inductor ").join(" ")),
- this.createVertexTemplateEntry(e+"saturating_transformer;",200,150,"","Saturating Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","saturating_transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"potential_transformer_2;",92,40,"","Potential Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"pot_trans_3_windings;",67,96,"",
- "Pot. Trans. 3 Windings",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer 3 three windings","electrical inductor ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;strokeColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.signal_sources.current_source;",40,60,"","Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","","electrical inductor ").join(" ")),
- this.createVertexTemplateEntry(e+"adjustable_transformer;",46,60,"","Adjustable Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","adjustable_transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"1_phase_induction_volt_reg;",100,100,"","1-Phase Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","1 phase induction voltage regulator monophase","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+
- "triplex_induction_volt_reg;",100,100,"","Triplex Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","triplex induction voltage regulator","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"induction_voltage_regulator;",160,210,"","Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","induction voltage regulator","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"current_transformer_1;",
- 12,75,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"current_transformer_2;",125,175,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"current_transformer_3;",75,10,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",
- "current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"potential_transformer;",100,50,"","Potential Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+"outdoor_metering_device;",100,100,"","Outdoor Metering Device",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","outdoor metering device","electrical inductor ").join(" ")),this.createVertexTemplateEntry(e+
- "linear_coupler;",80,20,"","Linear Coupler",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","linear coupler","electrical inductor ").join(" "))]);this.addPaletteFunctions("electricalSwitchesRelays","Electrical / Switches and Relays",!1,[this.createVertexTemplateEntry(g+"2-way_switch;",75,26,"","SPDT",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","2-way switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"push_switch_nc;",75,10,
- "","Pushbutton NC",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","push switch nc","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"push_switch_no;",75,19,"","Pushbutton NO",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","push switch no","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"simple_switch;",75,19,"","SPST",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","simple switch",
- "electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"switch_disconnector;",75,19,"","Switch Disconnector",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","switch disconnector","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"fuse;",75,16,"","Fuse",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","fuse","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"liquid_level_actuated;",75,28,"",
- "Liquid Level Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","liquid level actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"liquid_level_actuated_2;",75,32,"","Liquid Level Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","liquid level actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"gas_flow_actuated;",75,32,"","Gas Flow Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",
- "gas flow actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"flow_actuated;",75,31,"","Flow Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","flow actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pressure_actuated;",75,31,"","Pressure Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","pressure actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+
- "temperature_actuated;",75,31,"","Temperature Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","temperature actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"safety_interlock;",75,37,"","Safety Interlock",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","safety interlock","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"temperature_switch;",75,18,"","Temperature Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",
- "temperature switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=top;shadow=0;dashed=0;align=center;fillColor=#ffffff;strokeColor=#000000;html=1;verticalAlign=bottom;strokeWidth=1;shape=mxgraph.electrical.electro-mechanical.thermostat;fontColor=#000000;fontSize=10;",75,7,"tº","Thermostat",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","thermostat","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"limit_switch;",
- 75,16,"","Limit Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","limit switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"circuit_breaker;",75,20,"","Circuit Breaker",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","circuit breaker","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"selector_switch;",75,66,"","Selector Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",
- "selector_switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"shorting_selector;",60,66,"","Shorting Selector",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","shorting selector","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"proximity_limit_switch;",75,55,"","Proximity Limit Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","proximity limit switch","electrical switch relay ").join(" ")),
- this.createVertexTemplateEntry(g+"inertia_switch;",75,19,"","Inertia Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","inertia switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pushbutton_break;",75,54,"","Pushbutton Break",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","pushbutton break","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"manual_switch;",75,18,"","Manual Switch",null,null,
- this.getTagsForStencil("mxgraph.electrical.electro-mechanical","manual switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"make_contact;",75,16,"","Make Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","make contact","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"break_contact;",75,10,"","Break Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","break contact","electrical switch relay ").join(" ")),
- this.createVertexTemplateEntry(g+"two_way_contact;",75,30,"","Two Way Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","two way contact","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"passing_make_contact;",75,23,"","Passing Make-Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","passing make contact","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"stay_put;",75,7,"","Stay Put",null,
- null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","stay put","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"dpst;",75,26,"","DPST",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","dpst","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"spring_return;",75,10,"","Spring Return",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","spring return","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+
- "spring_return_2;",75,19,"","Spring Return",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","spring return","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"limit_switch_no;",75,24,"","Limit Switch NO",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","limit switch no normally open","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"limit_switch_nc;",75,13,"","Limit Switch NC",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",
- "limit switch nc normally closed","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"dpdt;",75,32,"","DPDT",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","dpdt","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"2_position_switch;",75,70,"","2-Position Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","2 position switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"3_position_switch;",
- 60,60,"","3-Position Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","3 position switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"4_position_switch;",75,70,"","4-Position Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","4 position switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pushbutton_make;",75,53,"","Pushbutton Make",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",
- "pushbutton make","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pushbutton_2_circuit;",75,73,"","Pushbutton 2-Circuit",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","pushbutton 2 circuit","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"time_delay_make;",75,31,"","Time Delay Make",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","time delay make","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+
- "time_delay_break;",75,32,"","Time Delay Break",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","time delay break","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"time_delay_make_2;",75,36,"","Time Delay Make",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","time delay make","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"time_delay_break_2;",75,30,"","Time Delay Break",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",
- "time delay break","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"isolator;",75,20,"","Isolator",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","isolator","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"changeover_contact;",75,20,"","Changeover Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","changeover contact","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"reed_switch;",
- 75,20,"","Reed Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","reed switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay_coil;",70,35,"","Relay Coil",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay coil","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay;",100,50,"","Relay",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay","electrical switch relay ").join(" ")),
- this.createVertexTemplateEntry(g+"relay_contacts;",30,24,"","Relay Contacts",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay contacts","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"resonator;",100,50,"","Resonator",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","resonator","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pilot_light;",100,100,"","Pilot Light",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",
- "pilot light","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay_coil_2;",100,70,"","Relay Coil",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay coil","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"mercury_switch;",80,80,"","Mercury Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","mercury switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"mercury_switch_2;",
- 50,90,"","Mercury Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","mercury switch","electrical switch relay ").join(" "))]);this.addPaletteFunctions("electricalDiodes","Electrical / Diodes",!1,[this.createVertexTemplateEntry(c+"diode;",100,60,"","PN Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"gunn_diode;",100,60,"","Gunn Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes",
- "gunn_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"schottky_diode;",100,60,"","Schottky Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","schottky_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_2;",100,60,"","Breakdown",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"tunnel_diode;",100,60,"","Tunnel Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes",
- "tunnel_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"tunnel_diode_2;",100,80,"","Tunnel Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","tunnel_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"field_effect_diode;",100,60,"","Field Effect Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","field_effect_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"varactor_-_varicap;",100,60,"","Varactor - Varicap",
- null,null,this.getTagsForStencil("mxgraph.electrical.diodes","varactor_-_varicap","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_1;",100,60,"","Zener Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_3;",100,60,"","Zener Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_3","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+
- "four_layer_diode;",100,80,"","Four Layer Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","four_layer_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"transorb_1;",100,60,"","Transorb 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"transorb_2;",100,60,"","Transorb 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_2","electrical diode ").join(" "))]);
- this.addPaletteFunctions("electricalSources","Electrical / Sources",!1,[this.createVertexTemplateEntry(k+"ac_source;",60,60,"","AC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","ac_source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"current_source;",40,60,"","Current",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","current_source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"dc_source_1;",70,75,
- "","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_1","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"dc_source_2;",60,60,"","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_2","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"dc_source_3;",60,60,"","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_3","electrical signal source ").join(" ")),
- this.createVertexTemplateEntry(k+"dependent_source_1;",60,60,"","Dependent",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dependent_source_1","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"dependent_source_2;",60,60,"","Dependent",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dependent_source_2","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"dependent_source_3;",60,60,"","Dependent",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",
- "dependent_source_3","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"noise_source;",60,60,"","Noise",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","noise_source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"ideal_source;",60,60,"","Ideal Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","ideal source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"explosive_squib",60,
- 60,"","Explosive Squib",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","explosive squib","electrical ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#000000;strokeColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.monocell_battery;",100,60,"","Accumulator / Monocell Battery",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","accumulator monocell battery single cell",
- "electrical ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#000000;strokeColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.multicell_battery;",100,60,"","Multicell Battery",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","accumulator multicell battery multi multiple cell","electrical ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#000000;strokeColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.multicell_battery_tapped;",
- 100,70,"","Multicell Battery Tapped",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","accumulator multicell battery tapped multi multiple cell","electrical ").join(" "))]);this.addPaletteFunctions("electricalTransistors","Electrical / Transistors",!1,[this.createVertexTemplateEntry(u+"npn_transistor_1;",95,100,"","BJT (NPN)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","npn_transistor_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(u+
- "pnp_transistor_1;",95,100,"","BJT (PNP)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","pnp_transistor_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(u+"n-channel_jfet_1;",95,100,"","JFET (NPN)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","n-channel_jfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(u+"p-channel_jfet_1;",95,100,"","JFET (PNP)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors",
- "p-channel_jfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"n-channel_mosfet_1;",95,100,"","MOSFET (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","n-channel_mosfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"p-channel_mosfet_1;",95,100,"","MOSFET (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","p-channel_mosfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"mosfet_ic_n;",
- 95,100,"","MOSFET Inductive Channel (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_ic_n","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"mosfet_ic_p;",95,100,"","MOSFET Inductive Channel (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_ic_p","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"mosfet_n_no_bulk;",95,100,"","MOSFET No Bulk (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors",
- "mosfet_n_no_bulk","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"mosfet_p_no_bulk;",95,100,"","MOSFET No Bulk (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_p_no_bulk","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"p-channel_mosfet_1;",95,100,"","MOSFET (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","p-channel_mosfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"dual_gate_mosfet_n;",
- 95,100,"","Dual Gate MOSFET (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","dual_gate_mosfet_n","electrical transistor ").join(" ")),this.createVertexTemplateEntry(p+"dual_gate_mosfet_p;",95,100,"","Dual Gate MOSFET (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","dual_gate_mosfet_p","electrical transistor ").join(" "))]);this.addPaletteFunctions("electricalInstruments","Electrical / Instruments",!1,[this.createVertexTemplateEntry(z+"ampermeter;",90,
- 90,"","Ampermeter",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","ampermeter","electrical instrument ").join(" ")),this.createVertexTemplateEntry(z+"galvanometer;",90,90,"","Galvanometer",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","galvanometer","electrical instrument ").join(" ")),this.createVertexTemplateEntry(z+"oscilloscope;",90,90,"","Oscilloscope",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","oscilloscope","electrical instrument ").join(" ")),
- this.createVertexTemplateEntry(z+"signal_generator;",90,90,"","Signal Generator",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","signal_generator","electrical instrument ").join(" ")),this.createVertexTemplateEntry(z+"voltmeter;",90,90,"","Voltmeter",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","voltmeter","electrical instrument ").join(" "))]);this.addPaletteFunctions("electricalMisc","Electrical / Misc",!1,[this.createVertexTemplateEntry(m+"aerial_-_antenna_1;",
- 80,100,"","Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio","aerial_-_antenna_1","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(m+"aerial_-_antenna_2;",79,100,"","Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio","aerial_-_antenna_2","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(m+"loop_antenna;",64.8,69.78,"","Loop Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio","loop_antenna","electrical radio audio ").join(" ")),
- this.createVertexTemplateEntry(f+"loop_antenna",100,100,"","Loop Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","loop antenna","electrical ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.electrical.electro-mechanical.motor_1;html=1;shadow=0;dashed=0;fillColor=#ffffff;align=center;fontSize=30;strokeColor=#000000;strokeWidth=1;",100,60,"M","Electrical Motor",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","motor_1",
- "electrical switch relay ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.electrical.electro-mechanical.motor_2;html=1;shadow=0;dashed=0;fillColor=#ffffff;align=center;fontSize=30;strokeColor=#000000;strokeWidth=1;",100,60,"","Motor Armature",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","motor_2","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(f+"co-ax;",40,60,"","Co-Ax",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous",
- "co-ax","electrical ").join(" ")),this.createVertexTemplateEntry(f+"crystal_1;",100,40,"","Crystal",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","crystal_1","electrical ").join(" ")),this.createVertexTemplateEntry(f+"fuse_1;",100,20,"","Fuse (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_1","electrical ").join(" ")),this.createVertexTemplateEntry(f+"fuse_2;",100,20,"","Fuse (IEEE)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous",
- "fuse_2","electrical ").join(" ")),this.createVertexTemplateEntry(f+"fuse_3;",100,12,"","Fuse (obsolete)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_3","electrical ").join(" ")),this.createVertexTemplateEntry(f+"fuse_4;",100,32,"","Fuse (IEEE)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_4","electrical ").join(" ")),this.createVertexTemplateEntry(f+"light_bulb;",60,50,"","Light Bulb",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous",
- "light_bulb","electrical ").join(" ")),this.createVertexTemplateEntry(f+"illuminating_bulb;",60,50,"","Illuminating Bulb",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","illuminating_bulb","electrical ").join(" ")),this.createVertexTemplateEntry(f+"light_bulb;",60,50,"","Pilot Light",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","light_bulb","electrical ").join(" ")),this.createVertexTemplateEntry(f+"neon_lamp_2;",60,50,"","Neon Lamp",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous",
- "neon_lamp_2","electrical ").join(" ")),this.createVertexTemplateEntry(f+"flourescent_lamp",80,30,"","Flourescent Lamp",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","flourescent lamp","electrical ").join(" ")),this.createVertexTemplateEntry(l+"lamp",50,100,"","Lamp",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","lamp","electrical optical ").join(" ")),this.createVertexTemplateEntry(f+"thermocouple;",80,81,"","Thermocouple",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous",
- "thermocouple","electrical ").join(" ")),this.createVertexTemplateEntry(b+"amplifier;",90,100,"","Amplifier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","amplifier","electrical ").join(" ")),this.createVertexTemplateEntry(b+"controlled_amplifier;",100,90,"","Controlled Amplifier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","controlled_amplifier","electrical ").join(" ")),this.createVertexTemplateEntry(b+"dac;",70,46,"","DAC",null,null,this.getTagsForStencil("mxgraph.electrical.abstract",
- "dac","electrical ").join(" ")),this.createVertexTemplateEntry(b+"mux;",60,90,"","Mux",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","mux","electrical ").join(" ")),this.createVertexTemplateEntry(b+"demux;",60,90,"","Demux",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","demux","electrical ").join(" ")),this.createVertexTemplateEntry(b+"mux-demux;",60,90,"","Mux-Demux",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","mux-demux","electrical ").join(" ")),
- this.createVertexTemplateEntry(b+"operational_amp_1;",98,90,"","Operational Amp",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","operational_amp_1","electrical ").join(" ")),this.createVertexTemplateEntry(b+"operational_amp_2;",98,90,"","Operational Amp",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","operational_amp_2","electrical ").join(" ")),this.createVertexTemplateEntry(b+"ota_1;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract",
- "ota_1","electrical ").join(" ")),this.createVertexTemplateEntry(b+"ota_2;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","ota_2","electrical ").join(" ")),this.createVertexTemplateEntry(b+"ota_3;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","ota_3","electrical ").join(" ")),this.createVertexTemplateEntry(b+"quantizer;",52,46,"","Quantizer",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","quantizer","electrical ").join(" ")),
- this.createVertexTemplateEntry(b+"delta;",50,50,"","Delta",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","delta","electrical ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.electrical.abstract.function;html=1;shadow=0;dashed=0;fillColor=#ffffff;align=center;strokeColor=#000000;strokeWidth=1;fontSize=24",50,50,"fn","Function",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","function","electrical ").join(" ")),this.createVertexTemplateEntry(b+
- "integrator;",50,50,"","Integrator",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","integrator","electrical ").join(" ")),this.createVertexTemplateEntry(b+"multiplier;",50,50,"","Multiplier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","multiplier","electrical ").join(" ")),this.createVertexTemplateEntry(b+"sum;",50,50,"","Sum",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","sum","electrical ").join(" ")),this.createVertexTemplateEntry(b+"summation_point;",
- 50,50,"","Summation Point",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","summation_point","electrical ").join(" ")),this.createVertexTemplateEntry(b+"filter;",52,46,"","Filter",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","filter","electrical ").join(" ")),this.createVertexTemplateEntry(a+"=mxgraph.electrical.logic_gates.bandpass_filter;",52,46,"","Bandpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","bandpass_filter","").join(" ")),
- this.createVertexTemplateEntry(a+"=mxgraph.electrical.logic_gates.highpass_filter;",52,46,"","Highpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","highpass_filter","").join(" ")),this.createVertexTemplateEntry(a+"=mxgraph.electrical.logic_gates.lowpass_filter;",52,46,"","Lowpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","lowpass_filter","").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.electrical.abstract.thermistor_with_independent_integral_heater;html=1;shadow=0;dashed=0;fillColor=#ffffff;strokeColor=#000000;strokeWidth=1;align=center;overflow=fill;fontSize=12;",
- 100,94.25,'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr height="45%"><td align="center">\\temp\\</td></tr><tr height="55%"><td></td></tr></table>',"Thermistor With Independent Integral Heater",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","thermistor_with_independent_integral_heater","electrical ").join(" ")),this.createVertexTemplateEntry(b+"voltage_regulator;",70,58,"","Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.abstract",
- "voltage_regulator","electrical ").join(" ")),this.createVertexTemplateEntry(k+"vdd;fontSize=24;",60,40,"V<sub>dd</sub>","Vdd",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","vdd","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;"+mxConstants.STYLE_SHAPE+"=mxgraph.electrical.signal_sources.vss2;shadow=0;dashed=0;fillColor=#ffffff;align=center;strokeColor=#000000;strokeWidth=1;fontSize=24;html=1;",
- 60,40,"V<sub>ss</sub>","Vss",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","vss2","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;"+mxConstants.STYLE_SHAPE+"=mxgraph.electrical.signal_sources.current_flow;shadow=0;dashed=0;fillColor=#ffffff;align=center;strokeColor=#000000;strokeWidth=1;fontSize=10;html=1;",70,10,"5 mA","Current Flow",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",
- "current_flow","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_LABEL_POSITION+"=right;"+mxConstants.STYLE_ALIGN+"=left;"+mxConstants.STYLE_SHAPE+"=mxgraph.electrical.signal_sources.voltage;shadow=0;dashed=0;fillColor=#ffffff;strokeColor=#000000;strokeWidth=1;fontSize=10;html=1;",10,70,"1.2 V","Voltage",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","voltage","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"equipotential;",
- 90,90,"","Equipotential",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","equipotential","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"protective_earth;",25,20,"","Equipotential",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","protective_earth","electrical signal source ").join(" ")),this.createVertexTemplateEntry(k+"signal_ground;",45,30,"","Ground",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","signal_ground",
- "electrical signal source ").join(" ")),this.createVertexTemplateEntry(f+"chassis;",65,32,"","Chassis",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","chassis","electrical ").join(" ")),this.createVertexTemplateEntry(f+"circuit_breaker;",100,13,"","Circuit Breaker",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","circuit breaker","electrical ").join(" ")),this.createVertexTemplateEntry(f+"generic_component",60,60,"","Generic Component",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",
- "generic component","electrical ").join(" ")),this.createVertexTemplateEntry(f+"permanent_magnet",20,70,"","Permanent Magnet",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","permanent magnet","electrical ").join(" ")),this.createVertexTemplateEntry(f+"thermal_element",100,32,"","Thermal Element",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","thermal element","electrical ").join(" ")),this.createVertexTemplateEntry(f+"igniter_plug",72,39,"","Igniter Plug",
- null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","igniter plug","electrical ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.arrows2.arrow;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;dy=0;dx=10;notch=0;",100,30,"","Pickup Head",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","pickup head","electrical ").join(" ")),this.createVertexTemplateEntry(f+"squib_ignitor",100,100,"",
- "Squib Ignitor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","squib ignitor","electrical ").join(" ")),this.createVertexTemplateEntry(f+"transducer",70,60,"","Transducer",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","transducer","electrical ").join(" ")),this.createVertexTemplateEntry(f+"transducer_2",80,100,"","Transducer",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","transducer","electrical ").join(" ")),this.createVertexTemplateEntry(f+
- "thermopile",80,82,"","Thermopile",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","thermopile","electrical ").join(" ")),this.createVertexTemplateEntry(f+"indicator",60,60,"","Indicator",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","indicator","electrical ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.surge_protector;",
- 70,20,"","Surge Protector",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","surge protector","electrical ").join(" ")),this.createVertexTemplateEntry(f+"surge_protector_2;",70,24,"","Surge Protector",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","surge protector","electrical ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=rect;",130,50,
- "","Material",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","material","electrical ").join(" ")),this.createVertexTemplateEntry(f+"sensing_link_squib",130,40,"","Sensing Link Squib",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","sensing link squib","electrical ").join(" ")),this.createVertexTemplateEntry(f+"delay_element",100,100,"","Delay Element",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","delay_element","electrical ").join(" ")),
- this.createVertexTemplateEntry(m+"buzzer",80,50,"","Buzzer",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","buzzer","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"adapter",100,40,"","Adapter",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","adapter","electrical radio audio ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=ellipse;perimeter=ellipsePerimeter;",
- 15,15,"","Circuit Terminal",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","circuit terminal","electrical radio audio ").join(" ")),this.createEdgeTemplateEntry("endArrow=open;html=1;strokeColor=#000000;strokeWidth=1;endFill=0;endSize=20;",100,0,"","M/F Contact",null,this.getTagsForStencil("mxgraph.electrical.signal_sources","","mf contact").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#000000;strokeColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.mf_contact_2",
- 100,10,"","MF Contact 2",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","mf contact","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"terminal_board",75,150,"","Terminal Board",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","terminal board","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"cable_termination",100,50,"","Cable Termination",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","cable termination",
- "electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"2_conductor_jack",100,50,"","2-Conductor Jack",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","2 conductor jack two","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"3_conductor_jack",100,50,"","3-Conductor Jack",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","3 conductor jack three","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"2_conductor_plug",
- 53,24,"","2-Conductor Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","2 conductor plug two","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"3_conductor_plug",53,24,"","3 Conductor Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","3 conductor plug","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"normalled_jacks",230,65,"","Normalled Jacks",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",
- "normalled jacks","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"normalled_jack",110,65,"","Normalled Jack",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","normalled jack","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"coaxial_outside_conductor",300,150,"","Coaxial Outside Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","coaxial outside conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+
- "coaxial_center_conductor",300,150,"","Coaxial Center Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","coaxial center conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"large_d_connector",375,75,"","Large D Connector",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","large d connector","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"small_d_connector",150,75,"","Small D Connector",null,null,
- this.getTagsForStencil("mxgraph.electrical.signal_sources","small d connector","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"c_header_connector",200,75,"","C Header Connector",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","c header connector","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"ac_out",200,100,"","AC Out",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","ac out alternate current","electrical radio audio ").join(" ")),
- this.createVertexTemplateEntry(f+"shielded_jack_plug",50,100,"","Shielded Jack/Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","shielded jack plug","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"coaxial_jack_plug",50,100,"","Coaxial Jack/Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","coaxial jack/plug","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_2_conductor_1",100,100,"","F/M 2 Conductor",
- null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_2_conductor_2",100,100,"","F/M 2 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_2_conductor_3",100,50,"","F/M 2 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),
- this.createVertexTemplateEntry(f+"f_m_3_conductor_1",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_3_conductor_2",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_3_conductor_3",100,100,"","F/M 3 Conductor",null,null,
- this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_3_conductor_4",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_3_conductor_5",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" "))]);
- this.addPaletteFunctions("electricalAudio","Electrical / Audio",!1,[this.createVertexTemplateEntry(m+"dipole;",100,40,"","Dipole",null,null,this.getTagsForStencil("mxgraph.electrical.radio","dipole","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(m+"electret_microphone;",70,70,"","Electret Microphone",null,null,this.getTagsForStencil("mxgraph.electrical.radio","electret_microphone","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(m+"microphone_1;",70,70,"",
- "Microphone",null,null,this.getTagsForStencil("mxgraph.electrical.radio","microphone_1","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(m+"microphone_2;",42,70,"","Microphone",null,null,this.getTagsForStencil("mxgraph.electrical.radio","microphone_2","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(g+"piezo_sounder;",100,40,"","Piezo Sounder",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","piezo_sounder","electrical switch relay ").join(" ")),
- this.createVertexTemplateEntry(g+"buzzer;",45,60,"","Buzzer",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","buzzer","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"loudspeaker;",25,50,"","Loudspeaker",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","loudspeaker","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(m+"headphones;",66,56,"","Headphones",null,null,this.getTagsForStencil("mxgraph.electrical.radio",
- "headphones","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(g+"bell;",47,60,"","Bell",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","bell","electrical switch relay ").join(" "))]);this.addPaletteFunctions("electricalPlcLadder","Electrical / PLC Ladder",!1,[this.createVertexTemplateEntry(q+"contact;",50,25,"","Contact",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","contact","electrical plc ladder programmable logic logical controller").join(" ")),
- this.createVertexTemplateEntry(q+"not_contact;",50,25,"","Contact (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","not_contact","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(q+"not_output_1;",50,25,"","Output (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","not_output_1;","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(q+"not_output_2;",50,
- 25,"","Output (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","not_output_2","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(q+"output_1;",50,25,"","Output",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","output_1","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(q+"output_2;",50,25,"","Output",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder",
- "output_2","electrical plc ladder programmable logic logical controller").join(" "))]);this.addPaletteFunctions("electricalOptical","Electrical / Optical",!1,[this.createVertexTemplateEntry(l+"7_segment_display;",74.7,96.1,"","7 Segment Display",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","7_segment_display","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"7_segment_display_with_dp;",79.8,96.9,"","7 Segment Display with DP",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics",
- "7_segment_display_with_dp","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"9_segment_display;",74.7,96.1,"","9 Segment Display",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","9_segment_display","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"9_segment_display_with_dp;",79.8,96.9,"","9 Segment Display with DP",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","9_segment_display_with_dp","electrical optical ").join(" ")),
- this.createVertexTemplateEntry(l+"led_1;",100,65,"","LED",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","led_1","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"led_2;",100,70,"","LED",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","led_2","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"light-activated_scr;",100,70,"","Light Activated SCR",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics",
- "light-activated_scr","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"opto-coupler;",99,60,"","Opto-coupler",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","opto-coupler","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"opto-transistor;",100,110,"","Opto-transistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","opto-transistor","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"photodiode;",100,
- 70,"","Photodiode",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photodiode","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"photo_resistor_1;",100,90,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photo_resistor_1","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"photo_resistor_2;",100,50,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photo_resistor_2",
- "electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"photo_resistor_3;",100,90,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photo_resistor_3","electrical optical ").join(" ")),this.createVertexTemplateEntry(l+"solar_cell;",100,70,"","Solar Cell",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","solar_cell","electrical optical ").join(" "))]);this.addPaletteFunctions("electricalVacuumTubes","Electrical / Vacuum Tubes",
- !1,[this.createVertexTemplateEntry(w+"diode;",70,77,"","Diode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","diode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(w+"double_diode;",70,77,"","Double Diode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","double_diode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(w+"triode;",70,77,"","Triode",null,null,
- this.getTagsForStencil("mxgraph.electrical.thermionic_devices","triode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(w+"double_triode;",70,77,"","Double Triode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","double_triode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(w+"tetrode;",70,77,"","Tetrode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","tetrode",
- "electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(w+"pentode;",70,77,"","Pentode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","pentode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(w+"photocell;",70,87,"","Photocell",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","photocell","electrical thermionic thermo device vacuum tube ").join(" "))]);this.addPaletteFunctions("electricalWaveforms",
- "Electrical / Waveforms",!1,[this.createVertexTemplateEntry(v+"pulse_1;",90,90,"","Pulse",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","pulse_1","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(v+"pulse_2;",90,90,"","Pulse",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","pulse_2","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(v+"sawtooth;",90,40,"","Sawtooth",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms",
- "sawtooth","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(v+"sine_wave;",90,66.18,"","Sine Wave",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","sine_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(v+"slow_square_wave;",90,80,"","Chopped Square Wave",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","slow_square_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(v+"square_wave;",90,
- 80,"","square_wave",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","square_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(v+"step_1;",90,90,"","Step",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","step_1","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(v+"step_2;",90,90,"","Step",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","step_2","electrical waveform signal ").join(" "))]);this.addPaletteFunctions("electricalRotMech",
- "Electrical / Rotating Equipment & Mechanical Functions",!1,[this.createVertexTemplateEntry("verticalLabelPosition=middle;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=middle;strokeWidth=1;shape=ellipse;fontSize=32;fontColor=#000000;perimeter=ellipsePerimeter;",100,100,"M","Rotating Machine",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","rotating machine","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+
- "armature;",100,100,"","Armature",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","armature","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"field;",90,15,"","Field",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","field","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(f+"permanent_magnet;",20,70,"","Permanent Magnet",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech",
- "permanent magnet","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"winding_connection;",100,100,"","Winding Connection",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","winding connection","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"synchro;",80,100,"","Synchro",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","synchro","electrical rotating equipment mechanical function functions").join(" ")),
- this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=trapezoid;perimeter=none;",75,25,"","Brake",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","brake","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"gearing;",100,64,"","Gearing",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","gearing","electrical rotating equipment mechanical function functions").join(" ")),
- this.createVertexTemplateEntry(t+"verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.rot_mech.rotation;",69,54,"","Rotation",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","rotation","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"clutch;",100,20,"","Clutch",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","clutch","electrical rotating equipment mechanical function functions").join(" ")),
- this.createVertexTemplateEntry(t+"clutch_2;",90,60,"","Clutch",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","clutch","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"delayed_action;",72,50,"","Delayed Action",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","delayed action","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"manual_control;",50,50,"","Manual Control",
- null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","manual control","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"blocking_device;",100,15,"","Blocking Device",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","blocking device","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"latching_device;",100,22,"","Latching Device",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech",
- "latching device","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"mechanical_interlock;",100,30,"","Mechanical Interlock",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","mechanical interlock","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"automatic_return;",100,12,"","Automatic Return",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","automatic_return",
- "electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(t+"detent;",100,8,"","Detent",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","detent","electrical rotating equipment mechanical function functions").join(" "))]);var y=[this.createVertexTemplateEntry(r+"bus_width;",130,156,"","Bus Width",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","bus width","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+
- "line_concentrator;",130,130,"","Line Concentrator",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","line concentrator","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"cable_group;",130,130,"","Cable Group",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","cable group","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"overground_enclosure;",130,136,"","Overground Enclosure",null,null,
- this.getTagsForStencil("mxgraph.electrical.transmission","overground enclosure","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"optical_fiber;",130,80,"","Optical Fiber",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","optical fiber","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;strokeColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=ellipse;",
- 10,10,"","Terminal",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","terminal","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"terminal_3_phase;",43,10,"","Terminal 3 Phase",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","Terminal 3 Phase","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;shadow=0;dashed=0;align=center;fillColor=#ffffff;strokeColor=#000000;html=1;verticalAlign=middle;strokeWidth=1;shape=ellipse;fontColor=#000000;fontSize=50;fontStyle=1;perimeter=ellipsePerimeter;",
- 130,130,"T","Terminal",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","terminal","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"line_cable;",130,60,"","Line/Cable",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","line cable","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"anticreepage_device;",130,88,"","Anticreepage Device",null,null,this.getTagsForStencil("mxgraph.electrical.transmission",
- "anticreepage device","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"testPoint;",60,130,"","Test Point",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","test point","electrical transmission paths bus buses").join(" ")),this.createEdgeTemplateEntry("endArrow=none;html=1;strokeColor=#000000;strokeWidth=1;",100,0,"","Transmission Path",null,this.getTagsForStencil("mxgraph.electrical.signal_sources","","transmission path").join(" ")),this.createEdgeTemplateEntry("endArrow=classicThin;html=1;strokeColor=#000000;strokeWidth=1;endSize=20;",
- 100,0,"","Direction of Flow",null,this.getTagsForStencil("mxgraph.electrical.signal_sources","","direction flow").join(" ")),this.createVertexTemplateEntry(r+"straightBus;",90,130,"","Straight Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","straight bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendArrow;dy=15;dx=38;notch=0;arrowHead=55;rounded=0;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;",
- 130,130,"","Elbow Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","elbow bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendArrow;dy=15;dx=38;notch=0;arrowHead=55;rounded=0;strokeColor=#000000;strokeWidth=1;fillColor=#FFFFFF;flipH=1;",130,130,"","Elbow Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","elbow bus","electrical transmission paths bus buses").join(" ")),
- this.createVertexTemplateEntry(r+"2_line_bus;",130,25,"","2-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","2 two line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"3_line_bus;",130,30,"","3-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"4_line_bus;",130,75,"","4-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission",
- "3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"8_line_bus;",130,180,"","8-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"twoLineBusElbow;notch=25;",120,120,"","2-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","2 two line bus elbow","electrical transmission paths bus buses").join(" ")),
- this.createVertexTemplateEntry(r+"threeLineBusElbow;notch=30;",120,120,"","3-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 two line bus elbow","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+"fourLineBusElbow;notch=75;",120,120,"","4-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","4 two line bus elbow","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(r+
- "eightLineBusElbow;notch=180;",200,200,"","8-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","8 two line bus elbow","electrical transmission paths bus buses").join(" "))];this.addPalette("electricalTransmission","Electrical / Transmission Paths",!1,mxUtils.bind(this,function(a){for(var c=0;c<y.length;c++)a.appendChild(y[c](a))}))}})();(function(){Sidebar.prototype.addErPalette=function(){var a=this,b=new mxCell("Row",new mxGeometry(0,0,40,26),"text;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");b.vertex=!0;var d=[this.addEntry("er entity relation table",function(){var c=new mxCell("Table",new mxGeometry(0,0,160,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#e0e0e0;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;");
- c.vertex=!0;c.insert(a.cloneCell(b,"Row 1"));c.insert(a.cloneCell(b,"Row 2"));c.insert(a.cloneCell(b,"Row 3"));return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Table")}),this.addEntry("er entity relation table section subsection",function(){var c=new mxCell("Section",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;");
- c.vertex=!0;c.insert(a.cloneCell(b,"Row 1"));c.insert(a.cloneCell(b,"Row 2"));c.insert(a.cloneCell(b,"Row 3"));return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Section")}),this.addDataEntry("er entity relation table section subsection",160,144,"ER Table 1","7Zhtb9owEMc/Td5OdkzoeLmkazWNSlXpF3ASk1h17MwxA/rpd06cAg0IVIJYq0CQ7DufH+53f0XYI1Gxute0zB9UyoRHfnok0kqZplWsIiaE5yOeeuTW830EP8+/O+DFtReVVDNpTgnwm4C/VCxYY3mmsWCNtTJr4azVkheCSuiFcyXNzHkQ9JOci3RK12phV6wMTV7aXpgrzV9hPIWD3WIwgFubGX+1wf7YzsaFiJRQul6HMGS/O5EzO6NbS7MKYh/b4+F3pge62hk4pZVpd6mEoGXF43rfNrCgOuMyVMaowg1qT3m3u6l5/QE/FTyTYEtgLQbO0GWPacNWBwnUJpf+e6YKZvQahix5anI3YtxQQjnjWd6GjUaNkVaNIXuL3QCFhmO6ny/p8F1I/mfBfqVdxDktbRO2bjgVTywxVGbWGxpVugwJNm8zqt1WbTtus4i3stSMDW12eELFD2cueJrWs26jl6quraqkCZfZtFmFjDamJ7eaNSmYci7UEro5TMak3Y0y1ND4rSpLxaWpExeE8EB+I/Qt8AI4aQR9vOnDY4drEylZGU15zY1B6SyZLZ8w1ap8hmJh7Wm3FRCcWgX+0SqY7CkCgs6vgVGnBh5/n00/3tbNHpKnFsEu8d6AH2Nqj+nK9SC9RElp0xC3OUJdquQoVXIhqkGHqoYE+QhfRtjoONN6ss+r6guqGN50Z/Med3hfW8MN708u4OBDAu4D6M0BAZ/PdRDw/yjg74OALyHgm6sJeHJAwGQQ8JcUMEaDgi+h4MnVFIxx/0QH7fatXdzDvyXcvegatNuDdvHxy6194v0AUuhurkVr386t6T8="),
- this.addDataEntry("er entity relation table section subsection",160,112,"ER Table 2","7VfbbuIwEP2avK5yIXT3cROWPpRKVekPDIlJrDqeyHEL9Ot37DiFLETQUrStVAiSPTd75pwjFC9Kq/W1grq8xZwJL/rjRalC1O2qWqdMCC/0ee5FEy8Mffp54XTAG1ivX4NiUp+SELYJzyCeWGt5gIVgrbXRG+GszYpXAiTtkiVKPXcen/ZZyUU+gw0+mRMbDdljt0tKVPyF4oEamwRkILfSc/5iksOxqcaFSFGgsudEzDffXubcVHRnKdZQ7l3XXvCP6RbWvcAZNLq7JQoBdcMX9t4msQJVcJmg1li5oK7Laf9SS/shPwheSLJldBYjZ+Kmx5Rm60EErMmN/5phxbTaUMiK57p0EeMWJb9kvCi7tMCBA01rKF5zt4DSwmF6GN9oD1+FKzIE+wiXUJsl3VxzEPcs0yAL40001m5Agi27gSp3U7Ne7A6xG1Ibm5jh8AzEb2eueJ7bqrvIS7TUamrIuCxm7Sljf2u6d6eNyIRUcimojWhSUjEmzW1Qg4bFKylr5FLbucUJPTTe1P8RezF1mtI+2O7pMeFKpygbrYBb2BgxZ8UMe5JcYf1AXGFdt7sCiE8lQXiUBL8OcCDyz6fAaI8CdzfU/vTmTRzYbToY4kSPBwfwPZUafR6MPooGx5A2bbv2BjHNUEozlkU3M38f6+go1vH4MljHA3IPLyP34Fvun07u4yG5v4kD33I/Xe7xf5P71af7d7fFvq7WL6jtTpjn4P1zD++zgT5Twy3eX1zAV+8S8DsApe321c76em9+fwE="),
- this.addEntry("er entity relation table row",function(){return a.createVertexTemplateFromCells([b.clone()],b.geometry.width,b.geometry.height,"Row 1")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;fillColor=none;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;");c.vertex=
- !0;var e=a.cloneCell(b,"PK");e.connectable=!1;e.style="shape=partialRectangle;top=0;left=0;bottom=0;right=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";e.geometry.width=30;c.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 2")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=1;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;");
- c.vertex=!0;var e=a.cloneCell(b,"PK");e.connectable=!1;e.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";e.geometry.width=30;c.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 3")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("row",new mxGeometry(0,0,120,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=60;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;");
- c.vertex=!0;var e=a.cloneCell(b,"");e.connectable=!1;e.style="shape=partialRectangle;fontStyle=1;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";e.geometry.width=56;c.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 4")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;");
- c.vertex=!0;var e=a.cloneCell(b,"PK");e.connectable=!1;e.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";e.geometry.width=30;c.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 5")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;");
- c.vertex=!0;var e=a.cloneCell(b,"");e.connectable=!1;e.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";e.geometry.width=30;c.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 6")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;");
- c.vertex=!0;var e=a.cloneCell(b,"");e.connectable=!1;e.style="shape=partialRectangle;top=0;left=0;bottom=0;right=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";e.geometry.width=30;c.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 7")}),this.addEntry("er entity relation table row divider hline line separator",function(){var c=new mxCell("",new mxGeometry(0,
- 0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");c.vertex=!0;return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Divider")}),this.addEntry("er entity relation table row spacer space gap separator",function(){var c=new mxCell("",new mxGeometry(0,0,20,14),"text;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");
- c.vertex=!0;return a.createVertexTemplateFromCells([c.clone()],c.geometry.width,c.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;strokeColor=#000000;fillColor=#e0e0e0;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;",80,26,"Title","Title",null,null,"er entity relation table title label"),this.addEntry("er entity relation table",function(){var c=new mxCell("Entity",new mxGeometry(0,0,160,120),"swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;fillColor=#008cff;fontColor=#FFFFFF;rounded=1;fontSize=17;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;");
- c.vertex=!0;var b=new mxCell("+Attribute1\n+Attribute2\n+Attribute3",new mxGeometry(0,30,160,90),"align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=17;verticalAlign=top;resizable=0;rotatable=0;part=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Entity 2")}),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;margin=10;strokeWidth=2;fontSize=17;whiteSpace=wrap;html=1;align=center;",100,100,"Attribute","Attribute",
- null,null,"er entity relation attribute"),this.createVertexTemplateEntry("ellipse;shape=cloud;strokeWidth=2;fontSize=17;whiteSpace=wrap;html=1;align=center;",100,100,"Cloud","Cloud",null,null,"er entity relation cloud"),this.createVertexTemplateEntry("strokeWidth=2;rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;",100,100,"Entity","Entity 3",null,null,"er entity relation "),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;align=center;",100,100,"Entity","Entity 4",null,
- null,"er entity relation "),this.createVertexTemplateEntry("shape=ext;strokeWidth=2;margin=10;double=1;whiteSpace=wrap;html=1;align=center;",100,100,"Entity","Entity 5",null,null,"er entity relation "),this.createVertexTemplateEntry("shape=rhombus;strokeWidth=2;fontSize=17;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;align=center;",100,100,"Has","Has",null,null,"er entity relation has"),this.createVertexTemplateEntry("shape=rhombus;double=1;strokeWidth=2;fontSize=17;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;align=center;",
- 100,100,"Has","Has",null,null,"er entity relation has"),this.addEntry("er entity relation hierarchy",function(){var c=new mxCell("",new mxGeometry(0,0,100,100),"html=1;strokeWidth=2;shape=mxgraph.er.rrect;rSize=5;");c.vertex=!0;var b=new mxCell("main",new mxGeometry(0,0,50,100),"html=1;strokeWidth=2;shape=mxgraph.er.anchor;fontSize=17;whiteSpace=wrap;");b.vertex=!0;c.insert(b);b=new mxCell("sub",new mxGeometry(50,5,45,90),"html=1;strokeWidth=2;shape=mxgraph.er.rrect;rSize=5;fontSize=17;whiteSpace=wrap;points=[];");
- b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Hierarchy")}),this.createVertexTemplateEntry("shape=note;strokeWidth=2;fontSize=17;size=20;whiteSpace=wrap;html=1;",100,100,"Note","Note",null,null,"er entity relation note"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERzeroToMany;endFill=1;",100,100,"","0 to Many Optional",null,"er entity relation zero many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERoneToMany;",
- 100,100,"","1 to Many",null,"er entity relation one many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERmandOne;",100,100,"","1 Mandatory",null,"er entity relation one mandatory"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERmandOne;startArrow=ERmandOne;",100,100,"","1 to 1",null,"er entity relation one"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERone;endFill=1;",100,100,"","1",null,"er entity relation one"),
- this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERzeroToOne;endFill=1;",100,100,"","0 to 1",null,"er entity relation zero one"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERmany;",100,100,"","Many",null,"er entity relation many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERmany;startArrow=ERmany;",100,100,"","Many to Many",null,"er entity relation many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERzeroToMany;startArrow=ERzeroToOne;",
- 100,100,"","1 Optional to Many Optional",null,"er entity relation one optional many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERzeroToMany;startArrow=ERmandOne;",100,100,"","1 Mandatory to Many Optional",null,"er entity relation one mandatory many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERzeroToOne;startArrow=ERmandOne;",100,100,"","1 Mandatory to 1 Optional",null,"er entity relation one mandatory optional"),
- this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERoneToMany;startArrow=ERmandOne;",100,100,"","1 Mandatory to Many Mandatory",null,"er entity relation one mandatory many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERoneToMany;startArrow=ERzeroToOne;",100,100,"","1 Optional to Many Mandatory",null,"er entity relation one optional mandatory many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERoneToMany;startArrow=ERoneToMany;",
- 100,100,"","Many Mandatory to Many Mandatory",null,"er entity relation mandatory many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERoneToMany;startArrow=ERzeroToMany;",100,100,"","Many Optional to Many Mandatory",null,"er entity relation mandatory many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERzeroToMany;endFill=1;startArrow=ERzeroToMany;",100,100,"","Many Optional to Many Optional",null,"er entity relation many optional")];
- this.addPaletteFunctions("er",mxResources.get("entityRelation"),!1,d)}})();(function(){Sidebar.prototype.addFloorplanPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;"+mxConstants.STYLE_STROKEWIDTH+"=1;shape=mxgraph.floorplan.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;"+mxConstants.STYLE_STROKEWIDTH+"=1;shape=mxgraph.floorplan.",d=[this.createVertexTemplateEntry(a+"wall;fillColor=#000000;",100,10,"","Wall (Horizontal)",
- null,null,this.getTagsForStencil("mxgraph.floorplan","wall","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wall;fillColor=#000000;direction=south;",10,100,"","Wall (Vertical)",null,null,this.getTagsForStencil("mxgraph.floorplan","wall","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;",100,100,"","Wall (Corner NW)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;direction=south;",
- 100,100,"","Wall (Corner NE)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;direction=west",100,100,"","Wall (Corner SE)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;direction=north",100,100,"","Wall (Corner SW)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),
- this.createVertexTemplateEntry(a+"wallU;fillColor=#000000;",100,100,"","Wall (U)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallU","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"room;fillColor=#000000;",100,100,"","Room",null,null,this.getTagsForStencil("mxgraph.floorplan","room","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"window;fillColor=#ffffff;",100,10,"","Window",null,null,this.getTagsForStencil("mxgraph.floorplan","window","floorplan ").join(" ")),this.createVertexTemplateEntry(b+
- "dimension;verticalAlign=top;",200,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.floorplan","dimension","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"dimensionBottom;verticalAlign=bottom;",200,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.floorplan","dimensionBottom","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairs;",300,100,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+
- "stairs;direction=south;",100,300,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairsRest;",300,200,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairsRest","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorLeft;",80,85,"","Door",null,null,this.getTagsForStencil("mxgraph.floorplan","doorLeft","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorRight;",80,85,"","Door",
- null,null,this.getTagsForStencil("mxgraph.floorplan","doorRight","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorDouble;",160,85,"","Door, Double",null,null,this.getTagsForStencil("mxgraph.floorplan","doorDouble","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bathtub;",180,60,"","Bathtub",null,null,this.getTagsForStencil("mxgraph.floorplan","bathtub","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bed_double;",200,180,"","Bed, Double",null,null,this.getTagsForStencil("mxgraph.floorplan",
- "bed_double","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bed_single;",100,180,"","Bed Single",null,null,this.getTagsForStencil("mxgraph.floorplan","bed_single","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bookcase;",120,30,"","Bookcase",null,null,this.getTagsForStencil("mxgraph.floorplan","bookcase","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"chair;",41,52,"","Chair",null,null,this.getTagsForStencil("mxgraph.floorplan","chair","floorplan ").join(" ")),this.createVertexTemplateEntry(a+
- "copier;",110,60,"","Copier",null,null,this.getTagsForStencil("mxgraph.floorplan","copier","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"couch;",150,80,"","Couch",null,null,this.getTagsForStencil("mxgraph.floorplan","couch","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"crt_tv;",60,40,"","CRT TV",null,null,this.getTagsForStencil("mxgraph.floorplan","crt_tv","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"desk_corner;",150,150,"","Desk Corner",null,null,this.getTagsForStencil("mxgraph.floorplan",
- "desk_corner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"desk_corner_2;",150,120,"","Desk Corner 2",null,null,this.getTagsForStencil("mxgraph.floorplan","desk_corner_2","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"dresser;",100,65,"","Dresser",null,null,this.getTagsForStencil("mxgraph.floorplan","dresser","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"elevator;",100,100,"","Elevator",null,null,this.getTagsForStencil("mxgraph.floorplan","elevator","floorplan ").join(" ")),
- this.createVertexTemplateEntry(a+"fireplace;",304,200,"","Fireplace",null,null,this.getTagsForStencil("mxgraph.floorplan","fireplace","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"flat_tv;",70,10,"","Flat TV",null,null,this.getTagsForStencil("mxgraph.floorplan","flat_tv","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"floor_lamp;",50,50,"","Floor Lamp",null,null,this.getTagsForStencil("mxgraph.floorplan","floor_lamp","floorplan ").join(" ")),this.createVertexTemplateEntry(a+
- "laptop;",40,35,"","Laptop",null,null,this.getTagsForStencil("mxgraph.floorplan","laptop","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"office_chair;",40,43,"","Office Chair",null,null,this.getTagsForStencil("mxgraph.floorplan","office_chair","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"piano;",135,143,"","Piano",null,null,this.getTagsForStencil("mxgraph.floorplan","piano","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"plant;",47,51,"","Plant",null,null,this.getTagsForStencil("mxgraph.floorplan",
- "plant","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"printer;",40,47,"","Printer",null,null,this.getTagsForStencil("mxgraph.floorplan","printer","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"range_1;",50,62,"","Range 1",null,null,this.getTagsForStencil("mxgraph.floorplan","range_1","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"range_2;",75,62,"","Range 2",null,null,this.getTagsForStencil("mxgraph.floorplan","range_2","floorplan ").join(" ")),this.createVertexTemplateEntry(a+
- "refrigerator;",60,62,"","Refrigerator",null,null,this.getTagsForStencil("mxgraph.floorplan","refrigerator","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"shower;",100,100,"","Shower",null,null,this.getTagsForStencil("mxgraph.floorplan","shower","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_1;",40,35,"","Sink 1",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_1","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_2;",40,35,"","Sink 2",null,null,
- this.getTagsForStencil("mxgraph.floorplan","sink_2","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_double;",80,35,"","Sink Double",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_double","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sofa;",90,80,"","Sofa",null,null,this.getTagsForStencil("mxgraph.floorplan","sofa","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"spiral_stairs;",200,200,"","Spiral Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan",
- "spiral_stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"table;",90,50,"","Table",null,null,this.getTagsForStencil("mxgraph.floorplan","table","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"toilet;",50,67,"","Toilet",null,null,this.getTagsForStencil("mxgraph.floorplan","toilet","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"water_cooler;",40,40,"","Water Cooler",null,null,this.getTagsForStencil("mxgraph.floorplan","water_cooler","floorplan ").join(" ")),this.createVertexTemplateEntry(a+
- "workstation;",50,40,"","Workstation",null,null,this.getTagsForStencil("mxgraph.floorplan","workstation","floorplan ").join(" ")),this.addEntry("floorplan kitchen table small",function(){var c=new mxCell("",new mxGeometry(0,20,80,80),"shape=rect;fillColor=#ffffff;strokeColor=#000000;shadow=0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(20,0,40,52),a+"chair;fillColor=#ffffff;strokeColor=#000000;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(20,68,40,52),a+"chair;fillColor=#ffffff;strokeColor=#000000;shadow=0;rotation=180;");
- d.vertex=!0;return sb.createVertexTemplateFromCells([b,d,c],80,120,"Small kitchen table")}),this.addDataEntry("floorplan kitchen table",140,140,"Kitchen table","5VZdb8IgFP01vJoKuvi61c2XLdnbnrG9FjLa2wBq++93W6gfmWZbXIyJJE2453I/OCdQmEjLZmFlrd4wB8PEMxOpRfRhVjYpGMN4onMm5ozzhD7GX854x703qaWFyv8mgIeAjTRrCEgAnG9NBDZgvc6keZVLMO/otNdYkWuJ3mPJxJPyJfU9H9N0WPtodNGt8VgTKqOVUVNgCXDe4id86NyrGOiUrLt6ZVN0XIxWBtHWRlajTEndxay0MSkatH1XYtWPXa4DT9KPkDPHLYGdEfdJ/UFzlqseikQtAEvwtqUlMWAaqEy2sW+yJhFSoAsVk0wjhdIFu9gl2utAkyjFaVnEvciSawtZ7HwLzv+vUm0wZ7OrCTe5R+EqtF3hi5Rrz56xQZZDqQb5LpFqeo9SOVxT4ctP2HCkri/bw8+yDYx2276JPwc/vo/4d7bGyYkLaQf+gS8y96+H3nf0uPgC"),
- this.addDataEntry("floorplan round kitchen table",140,140,"Round kitchen table","5ZZNb8IwDIZ/Ta6oJDBx3crGZZN22zm0pomW1lUSoP33c5uUDw20TUwIiUqV4tex4/pR0jCRls3Cylq9YQ6GiWcmUovow6hsUjCG8UTnTMwZ5wm9jL+c8Y57b1JLC5X/TQAPARtp1hCUIDjfmihswHqdSfMql2De0WmvsSLXEr3Hkokn5Uuqez6m4TD30eiim+OxJlVGK6OiwJLgvMVP+NC5VzHQKVl365VN0fVitDKItjayGmVK6i5mpY1J0aDtqxKr/tnlOvAk/RNy5rglsTPid1J90JztVS/FRi0AS/C2pSkxYBpamWxj3WRNoqRAFyommcYWShfsYpdoz4EGEcVpLOJesOTaQhYr34Lz/0uqDeZsdjVwk3sEV6HtFr6IXHt2jw1YDlEN+C5BNb1HVA7XtPDlO2zYUtfH9vAztqGjFKhrBzfx8+DHRxL/3rBxcuJM2ol/aBmZ+wtE7zu6X3wB"),
- this.addDataEntry("floorplan kitchen table large",200,140,"Large kitchen table","5ZZfb4MgEMA/Da+NQtv5utmtL1uytz1TpUKKngHa6rcfCPZP1mZb2pklkphwd9xx3A8ERNKyWSpa8zfImUTkGZFUARjfK5uUSYlwJHJEFgjjyH4Iv1yxxp01qqlilfmJA/YOOyq3zGu8QptWBsWOKSMyKl/pisl30MIIqKxpBcZAicgTN6XNexHbbj/2UYrCjTFQWy0NUmaTYsoqtFGwYR8iNzw4ak5rN1/ZFK4Wk7UEULWk1STjVDiftZAyBQmqy4qsu3aIdWKJuuZj5rC3SieEddr8WHO1Vp0qFGrJoGRGtXZIcJj5Ukb7kLeVpkHFmSh4CDILJaTay8Uh0JGD7QQUl7GQsWDJhWJZyHzPtLkvqdaLSTIYuOkYwVWg3MQ3kWuvnrEeyymqHt8tqGZjRKVhaye+/YTF0+TsiA3IbT4WbvfAFA93Zz2Mhcvf3FkHVMNfWsn35PqiupX/i52Nz6uFv+7zeH6hXHH0+z+QFY8P8s529l7/BA=="),
- this.addDataEntry("floorplan kitchen table large",200,140,"Large kitchen table","5ZZNb4MwDIZ/Ta4VH23HdaNbL5u0284puBA1YJSkLfz7GRL6obXapnZoEkhI8es4MX4SEhbGRb1UvMrfMAXJwmcWxgrR2FZRxyAlCzyRsnDBgsCjlwUvV7x+5/UqrqA0PwkIbMCOyy1YxQraNNIJO1BGJFy+8hXId9TCCCzJtUJjsGDhU24KynvhU7Pv+yhF1vYxWJHKnZVQUqBI0EbhBj5EanIXqHNetfMVddbWYrKWiKqSvJwkORdtzFpIGaNE1WUVrrvnMNaJx+seO2aKexJbw30n5Qf11Vp1kivUErAAoxrq4gJmtpTe3uVN1tRJOYgsd4PMXAm5tnZ2GOjIgRoOxWUs4ViwpEJB4jLfgzb3JdVYM4oGAzcdI7gSVTvxTeSaq3usx3KKqsd3C6rZGFFp3NLEt+8wfxqdbbEBuc3Hwu0emPzhzqyHsXD5mzPrgGr4Qyv6nlxfVAoUlYZ/sbiD84IFX5e6P79QMd/7/U+IzOOdvPOdXdk/AQ=="),
- this.addEntry("floorplan office table",function(){var c=new mxCell("",new mxGeometry(0,20,80,50),"shape=rect;fillColor=#ffffff;strokeColor=#000000;shadow=0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(20,0,40,43),a+"office_chair;fillColor=#ffffff;strokeColor=#000000;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(15,30,50,40),a+"workstation;fillColor=#ffffff;strokeColor=#000000;shadow=0;flipV=1;");d.vertex=!0;return sb.createVertexTemplateFromCells([b,c,d],80,70,"Office table")}),
- this.addDataEntry("floorplan office table",140,140,"Office table","5VZdb8IgFP01vBoE3bLHrW6+bMne9rhge1vIaG8DqO2/HxTUmWm2RWOWSNKEey73g3MChfCs7uZGtPIFC9CEPxKeGUQXZ3WXgdaEUVUQPiOMUf8R9nTEOx68tBUGGvebABYDVkIvISIRsK7XCViBcSoX+lksQL+iVU5h410LdA5rwh+kq33fs7Gfbtbea1WFNQ5bj4pk5b4pMB6wzuAHvKnCyRRopWhDvbqrAhejUiOaVotmhGWpcnjPpVAhtFRaZ6jRDM3xchjblF88dBgxdYFrDwYjbde3Cd1RygYo8TUHrMGZ3i9JAdPIKF2n9r01SZAEVcmUZMIjJmy0q22inRx+khQ5rA6/MnUKZSBPG1iDdecVrI/m3e3F9JtcsX4NmlD/JAH74yeOH1CMnq7Y9IoVs7j09U8/b5sDdnn1bn5Wb0Ns2Pa/+J2w/duJfWdrTA9cT1vwD3x5c/eyGHx7D49P"),
- this.addDataEntry("floorplan office table large",200,140,"Large office table","5ZZRT4MwEMc/TV8XaLehj8p0L5r45qPp4IDGwpG22+DbW2i3ubhFzSYxgYSk979ee70fpSUsLpul4nXxjClIwh4IixWica2yiUFKQgORErYglAb2JfTxjDfsvUHNFVTmJwHUBWy4XINTnKBNK72wAWVEwuUTX4F8QS2MwMq6VmgMloTdF6a0eS9C29z1vZMi7/oYrK3KvZXYpEBZQRuF7/AqUlP4QF3wupuvbPKuFpNMIqpa8mqCWSYSeEsKLrrQTEgZo0TVJ8ey/tkP+ckT9I8bOsWtFTvDL9emCc3ZkvWSr9cSsASjWtvFB8xcRYOtT99aUy8VIPLCDzJlTuPa2fl+oAMO2/BETtNhI6OTCgWJX8AWtLkusNaZt9Fg/KYj5leh6ua/CGB7fsexE8SCy4nNRkxM49rOf/l+C2fR0YYbEN98ZPiuQSsc7jyLRobnb86zPbHhD7Sb7wHuatut/F984PS4WvTr5x7OT5QrDH7/P7Lm4ere+45u9h8="),
- this.addDataEntry("floorplan office table large",200,140,"Large office table","5ZbfT4MwEMf/mr4uQPdDH5XpXjTxzUfTwTEaC0faboP/3oN2m4tb1GwSE0hIet/rtdf7tBTG46JeaFHlz5iCYvyB8VgjWtcq6hiUYlEgU8bnLIoCeln0eMYbdt6gEhpK+5OAyAVshFqDU5xgbKO8sAFtZSLUk1iCekEjrcSSXEu0FgvG73NbUN7zkJq7vndKrto+FitShbcSSgo0CcZqfIdXmdrcB5pcVO18Rb1qazHKFKKulChHmGUygbckF7INzaRSMSrUXXI86579kJ88Qfe4oVPcktgafrmUJtRnS9ZJvl4LwAKsbqiLD5i4igZbnz5ZYy/lIFe5H2TMnSaMs1f7gQ44qOGJnKbDB0YnlRoSv4AtGHtdYI0zb2e98RsPmF+Jup3/IoDN+RPHTxALLic2GTAxg2ua//LzFk5mRweuR3zTgeG7Bq2wv/tsNjA8f3Of7Yn1f6HdfA9wV1sKlJWBf7HHo+OCRV93fDg9UbEw+P0niczD33vnO/q5/wA="),
- this.addDataEntry("floorplan office table large",320,140,"Large office table","5ZhRb4MgEMc/ja+NQjvbx81ufdmSve1xoYpKhp4B2uq3Hwq1a9YmXWrtEkxMuIOD837+A8HDUVGvBKnyN0go9/CzhyMBoEyrqCPKuYd8lnh46SHk69dDL2d6g67Xr4igpbokAJmALeEbajzGIVXDrWNLhWIx4a9kTfk7SKYYlLprDUpB4eGnXBU672Wgm/uxj5xl7RgFlfYSa8U6KSq0QyoBX/SDJSq3gTInVbteUWdtLSYpBxAVJ+UE0pTF9DPOCWtDU8Z5BBxElxxOu6ef8keP3z1m6gR22tka9nN1mrQ+W7LOZeu1olBQJRo9xAbMTEX9nU1fW1PryinLcjvJFBsfkcbO+okOOHTDEjlNBztGJ2GCxvYDdlSqYYE1xlyEo/GbOsyvBNGufxXA5rzi8Ali/vXEZg4Tk7DR61+vNxSGR4IbEd+DY/gGoBUE4+1noWN4brOf9cTG39DmjgEcglY4nr4WjuG5kb7Cu+lrr2xnCA5x3MDjCSwIHONzG4X1yO6gsAtuPPbF1ZGskvR//OXHFUO//3k0P1GywP/7qVqbhwuoru/ofuob"),
- this.addDataEntry("floorplan office table conference large huge",560,140,"Conference table","7Zpda4MwFIZ/jbfDJO1cL7fu42aD3e1yZBprWPRITL/+/aJJ25W10NI0DqJQ8Jx8eh5fAm+NyLRcvUhaF2+QMRGRp4hMJYAyd+VqyoSIcMyziDxGGMf6F+HnI62oa41rKlmlThmAzYAFFXNmMibRqLWwiQWTiqdUvNIvJt6h4YpDpZu+QCkoI/JQqFLv+xHp203fe8FnbR8Ftc5SG6V6U0zqRKMkfLMPnqnCDmwKWrfrlatZW4ubXADIWtDqBvKcp+wzLShvh+ZciCkIkN3mSN5d2yl/tcTdZabOYKmTbWAfV2+TrY6WrEvZer0wKJmSa93FDhibisZLu30djWyqYHxW2ElGxORoY+LZdqIdDn1jiRymQwKjk3HJUvsAS9Yot8DWJpwk3viNAuZXgWzXvwjg+rjiyAFi8eXExgETa2Cu13egN5TsCc4jvtvA8DmghZC/8ywJDM91zrMtMf8H2l1gAF3QSvzpaxIYnivpK+lNXxtlB0PQAS49tT8+KDA+11HYFlkPChscj/NxTTwqbPA8nCLrQWGhuR4OcBGPpiIK2eNwpzDSn62IBpvjbFwjjzYHGnwOp8h6UNhgdJyPy6PRgQanwyky/wrDJzgdm+Lqkbxu2L94y/F+xfDfd36MD5QMxef/u6HD3YcAXdvedwI/")];
- this.addPalette("floorplan",mxResources.get("floorplans"),!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addFlowchartPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;strokeWidth=2;shape=mxgraph.flowchart.";this.addPaletteFunctions("flowchart",mxResources.get("flowchart"),!1,[this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.annotation_1;align=left;",50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_1","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.annotation_2;align=left;",
- 50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_2","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.card;whiteSpace=wrap;",100,60,"","Card",null,null,this.getTagsForStencil("mxgraph.flowchart","card","").join(" ")),this.createVertexTemplateEntry(a+"collate;",100,100,"","Collate",null,null,this.getTagsForStencil("mxgraph.flowchart","collate","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.data;whiteSpace=wrap;",
- 100,60,"","Data",null,null,this.getTagsForStencil("mxgraph.flowchart","data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;",60,60,"","Database",null,null,this.getTagsForStencil("mxgraph.flowchart","database","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;",100,100,"","Decision",null,null,this.getTagsForStencil("mxgraph.flowchart","decision","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.delay;whiteSpace=wrap;",
- 100,60,"","Delay",null,null,this.getTagsForStencil("mxgraph.flowchart","delay","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;",100,60,"","Direct Data",null,null,this.getTagsForStencil("mxgraph.flowchart","direct_data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.display;whiteSpace=wrap;",100,60,"","Display",null,null,this.getTagsForStencil("mxgraph.flowchart","display","").join(" ")),
- this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.document;whiteSpace=wrap;",100,60,"","Document",null,null,this.getTagsForStencil("mxgraph.flowchart","document","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.extract_or_measurement;whiteSpace=wrap;",95,60,"","Extract or Measurement",null,null,this.getTagsForStencil("mxgraph.flowchart","extract_or_measurement","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.internal_storage;whiteSpace=wrap;",
- 70,70,"","Internal Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","internal_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.loop_limit;whiteSpace=wrap;",100,60,"","Loop Limit",null,null,this.getTagsForStencil("mxgraph.flowchart","loop_limit","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.manual_input;whiteSpace=wrap;",100,60,"","Manual Input",null,null,this.getTagsForStencil("mxgraph.flowchart",
- "manual_input","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.manual_operation;whiteSpace=wrap;",100,60,"","Manual Operation",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_operation","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.merge_or_storage;whiteSpace=wrap;",95,60,"","Merge or Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","merge_or_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.multi-document;whiteSpace=wrap;",
- 88,60,"","Multi-Document",null,null,this.getTagsForStencil("mxgraph.flowchart","multi-document","").join(" ")),this.createVertexTemplateEntry(a+"off-page_reference;",60,60,"","Off-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","off-page_reference","").join(" ")),this.createVertexTemplateEntry(a+"on-page_reference;",60,60,"","On-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","on-page_reference","").join(" ")),this.createVertexTemplateEntry(a+"summing_function;",
- 70,70,"","Or",null,null,this.getTagsForStencil("mxgraph.flowchart","summing_function","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.paper_tape;whiteSpace=wrap;",100,65,"","Paper Tape",null,null,this.getTagsForStencil("mxgraph.flowchart","paper_tape","").join(" ")),this.createVertexTemplateEntry(a+"parallel_mode;",95,40,"","Parallel Mode",null,null,this.getTagsForStencil("mxgraph.flowchart","parallel_mode","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.predefined_process;whiteSpace=wrap;",
- 100,60,"","Predefined Process",null,null,this.getTagsForStencil("mxgraph.flowchart","predefined_process","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.preparation;whiteSpace=wrap;",100,60,"","Preparation",null,null,this.getTagsForStencil("mxgraph.flowchart","preparation","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.process;whiteSpace=wrap;",100,100,"","Process",null,null,this.getTagsForStencil("mxgraph.flowchart",
- "process","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.sequential_data;whiteSpace=wrap;",100,100,"","Sequential Data",null,null,this.getTagsForStencil("mxgraph.flowchart","sequential_data","").join(" ")),this.createVertexTemplateEntry(a+"sort;",100,100,"","Sort",null,null,this.getTagsForStencil("mxgraph.flowchart","sort","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.start_1;whiteSpace=wrap;",100,60,"","Start",
- null,null,this.getTagsForStencil("mxgraph.flowchart","start_1","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.start_2;whiteSpace=wrap;",100,100,"","Start",null,null,this.getTagsForStencil("mxgraph.flowchart","start_2","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.stored_data;whiteSpace=wrap;",100,60,"","Stored Data",null,null,this.getTagsForStencil("mxgraph.flowchart","stored_data","").join(" ")),this.createVertexTemplateEntry(a+
- "or;",70,70,"","Summing Junction",null,null,this.getTagsForStencil("mxgraph.flowchart","or","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.terminator;whiteSpace=wrap;",100,60,"","Terminator",null,null,this.getTagsForStencil("mxgraph.flowchart","terminator","").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;strokeWidth=2;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;notch=0;",
- 100,70,"","Transfer",null,null,this.getTagsForStencil("mxgraph.flowchart","transfer","").join(" "))])}})();(function(){Sidebar.prototype.addGoogleCloudPlatformCardsPalette=function(){var a=[this.addDataEntry("gcp google cloud platform cardproduct",170,55,"Product Card","pZRdb4MgFIZ/DZczKq11l539uFqyZBe7XIgclQzFIG3tfv1AsNXpsiZijPByDh6fV0A4KdujJHXxKihwhPcIJ1IIZXtlmwDnKPQZRXiHwtDXNwoPf8wG3axfEwmVeiQhtAlnwk9gFSs06sqdQElTgAn3EX4pVKlr3AW62ygpviARXMguENOu6ZmMcZ7e9axrWs8loUwX1udUogKzUEGouIxW/WBUFU5xFYJU0P75lZ3kPvEIogQlrzrk4tYxERtLwi+A5YVLW6+tRho7zm+pd2a647DNI8QLEBakNiFlm5s/wMvT2ktFWZ8U9M9PqHLWYTJUB7RXON4cdjNUzVwU4/124pHj/RDQ8F+gOPai52GLpnzxynOEJXCi2BlGL5zD7t75JpguJfT7Cp151/GwX0BkWQNq4tqt8IeMXE2MTKwHWtxbF34bqwkqY42o1Dv7NmKA3XhgR+ybS+uEs7zSGofMpBkLWEr41sklo5QvdcgR8nvwwy0QzGwBd0AsNSgaG/QUhMsd0sP7SWjDhwflDw=="),
- this.addDataEntry("gcp google cloud platform cardproduct",190,55,"Product Card","5ZVdb4MgFIZ/jZczVlpnLzv7cbVkyS52uRA5KimKQdrqfv1AsNVos2ZmV8MY4eUcPD6vqIOivD4IXGavnABz0M5BkeBcml5eR8CY43uUOGjr+L6nTsff35ldtLNeiQUU8pEE3yScMTuBUYxQyYZZgeAqAx3uOeglk7mqcbtQ3UoKfoSIMy7aQETapmYSylh805O2KT0VmFBVWJdT8AL0Qhkm/DJY9YMSmVnFVghCQn33KVvJPuIBeA5SNCrkYtfREWtDwsuApplNW62MhiszTq+pN2aqY7FNI0QzEGa41CF5neo3wE3j0o15Xp4kdNdPKFLaYtJUe7SXKHzebyeo6rkgRLvNyCPL+yGg/o9AUegG634LxnzR0rWEBTAs6RkGN5zCbu/5xqkqxfe6Cq15zXDYLcCTpAI5cu1a+ENGLkdGbgrMGknjSskvOD5CQUbeKohSu8ML+U6/tLhAdtx3pG1Kx4ymhdIYJDpNu0BjzDZWzikhbK5JFpLXse/vAjSxC+w3Yq5HwdCjJ/8vTFqNTIrMRlHizmyV3zkUevr4Hw7NcUQNb78nE97/e30D"),
- this.addDataEntry("gcp google cloud platform cardproduct",190,55,"Product Card","5ZddT4MwFIZ/DZcujG7ILif7uDIx8cJL09ADNCuUlG6Cv96WFgeBxcWp0dllWfv2nFLeh+4EB4VZtRW4SO85AeagtYNCwbk0vawKgTHHcylx0MrxPFd9HW9zYnbazLoFFpDLcxI8k3DAbA9GMUIpa2YFgssUdLjroLtUZmqPq6nqllLwHYSccdEEItI0NRNTxqKjHjdN6YnAhKqNtTk5z0EvlGLCX3qrPlEiU6vYHYKQUJ28y0ayt7gFnoEUtQp5sevoiIVxwk2BJqlNm8+NhkszTt5Tj56pjrVt3EJ0gYUpLnRIViX6CZgkUTGJeFbsJbS/z5AntLFJu9pxe4aC281qxFU95wdovRwwsn6fZaj3oaEomPiLbvOH/qLZxDosgGFJD9C74Jjt9poPnKqteG67Qwuv7g/bBXgclyAH1N43fhbI2QDkMsesljQqlXyHox3kZMBWmSg1HZ7LR/qqxSmy4y6RpikdM5rkSmMQ6zRNgUaYLa2cUULYpZCsSW7rffcUoJFTYP8jLmXk9xndeN8BaT6AFJqDosS1OSqfIxS4+vM/CH0pEf+6S0jdrxQ/UVFur7Ki+P+vogR/rqKcgHTNFWXxtyrK7yR0CRE1PL7wmPDu+9Ab"),
- this.addDataEntry("gcp google cloud platform cardexpanded product",190,80,"Expanded Product Card","5ZZdb4MgFIZ/jbdGpbXusrMf2UWTJbvY5ULkKGQIBunW7tcPBPsR26zZ5s1G0xRezkF8Xjw1QHm9Wyvc0I0kwAO0DFCupNSuV+9y4DxIIkYCtAiSJDLfIFldmY272ajBCoS+JSFxCW+Yb8EpTmj1nnuB4JaCDY8CdE91bfa4iE231Uq+Qi65VF0gIl0zMyXjvDjqZdeMXilMmNlYnyOkALsQxUS+n636zIimXvE7BKVhd/UuO8nf4hpkDVrtTci7X8dG3DkSEQVWUZ+WeQ23blwdUo/MTMdju4wQ/QAhxY0NqXeVPQFhVTRhIetmq6H/fQFRsQ6TpXpCe4Ky2WpxgaqdSzO0nA888rxvApp8CRRlYXp32tIhXzQJp05VwLFmb3B2wUvY/TUfJTNbSaJ+h96o/fmwX0CWZQt64Nph4zcZORkYeY91QY30qGQBbctENbDWMNTWHCn0E/uwYoz8+NSQrhkdc1YJo3EobZo1gRWYz71cM0L4L3oUowuH3peEn1qSnluSjeDIdOBI7p4KIy7dc/E9P7LIfv60H6MYkn5d6/qaxl3Vuv4vMSbSeBSkkzGQzgZIN1uuWcPtIX8QrcbC1J5bznnyL+vO9BdMMcPjK5cLP30j+wQ="),
- this.addDataEntry("gcp google cloud platform cardexpanded product",150,100,"Expanded Product Card","7Zhvb6MgHMdfjU+NiJ3tw1u79tElS+7BPWyIoJKhGKBbe6/+QHDV6jaXaXe5jaYpfPnr9wP9tXhwXRx3AlX5T44J8+CdB9eCc2VzxXFNGPPCgGIPbrwwDPTbC7cv1IK6NqiQIKUa0yG0HR4ROxCrWEGqE3MCRjInpnngwdtcFXqNG6CzUgn+QNaccVE3hLhOuialjCVnPa2T1jOBMNULa/qUvCRmoBxh/tQZ9TfFKneKWyERihxffMpaco+4I7wgSpx0kyc3jmmxsE4EOaFZ3nQLnIikFbLnvmfTdMb5Nuwh/ICHOapMk+KYmS3gZ0nlJ7yoDoo0n3tSZrT2ydjasjtemNcrtnb4OHGUmeHbZq78xYCbsR9ZVRCGFH0knSmGPHaz3HOqJw+DZk2OyqlbbAbgaSqJ6iF6XuooalGP2toarsU7a/klRe2ZMhx4qX7RP0YE0JVbXKI6aR0xmpVaYyQ13YzpNEHsh5MLijGbkgkY2ODu+H8USNQFspyBx+LtU9ScFkYHNnj7C2hOR8Esjs5i6U3PUhDstDnB/WbM3g77e3tZp/96b8M5SMTThohKcHxI1D5BAktfKlRindsXKMn/vVARDwWKScjBLrmbOcLEck5ymMqHL0MrvgKt1Zy0Esbl1zlcAFyBVzNHC1g0mpgeilZDROAqXm3BO4lcRLptnS4iYvBaqJMVSmiZuXW60i1XihfeO/7JjIAeDUCf5od3c14a5nPEQgB6zMef0m/mkzOPrsG8f88Avpl/HvPl9Mx18XxtZZu3b7X+Ag=="),
- this.addDataEntry("gcp google cloud platform cardservice",110,50,"Service Card","rVRdb4MgFP01vBqVteseN7v1ZUuW7GGPC5GrkKEYpK3dr99FaKvrx5p1ECP3cC5czkEJzapuYVgjXjQHRegjoZnR2vpR1WWgFEljyQmdkzSN8SHp04nZpJ+NG2agtpckpD5hxdQSPOKB1m5UADhrBTh6TOiDsBXWOE9w2FqjPyHTSpueSHnfcKaQSuV7vOgb4qVhXGJh25xa1+AWEozr9WjVd8mtCEioEIyF7uQpeygccQG6Ams2SFmHdRwj8UrEAmQpQtokYKz1cblL3WuGgyDbcQnpFRIK1jhK1ZXuBkRl3kS5rpqlhe37A+pS9jI5VQdq305cP6PqyJ4AXqRl+quWdBZN74ZteigtvYkmHjWgmJUrGG14TPGw56uWWEoabysMHm18OBvn66JowR74tav7IgtvDix81jlDBp6LJs60zLtx4CzqaJ03urZv8suBCQ3xwKtZ7DriTMmyRkxB4dKcERI3ug9wJTlX/+jT9MyVv9KVn1/OX3zAcP+n8/Thj/Ab")];
- this.addPalette("gcpCards","GCP / Cards",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addGMDLBottomNavigationPalette=function(a){var b=[this.addDataEntry("gmdl google media design library bottom navigation bottom navigation",358,48,"Bottom Navigation","7VbbToNAEP0aHtss0Gp9tPXyosaoP7AtA2xcGLKMtfXr3WWH2go1jZcHjRCSndkzlz1zIATxrFhdGlnl15iADuLzIJ4ZRPKrYjUDrYNIqCSIz4IoEvYJoos9u2GzKyppoKRDAiIfsJT6CbzHO2paa3Ykss7BwUUQT6VWWWnXC5sfjHWkWNK9enHYMLJ2ncvKGQYW5LaV1jPUaJpccdpcDkYGH6HdKbEEH5vgM1fixsAQrPYernHxyS4BCyCztpBnlVDuEfF44sNyUFnOYSP2ydrb2Sb0jSq7YLb6mYs7zN2BY6X+mMCcCu242qKqWGVu/sOsSPTQcJIOdRPh7n3UuTH0gR1/aiH1Kc+NsHIpKrlQZXYFKXFb22N0tpZz0LdYK1K4M+824dU7wByJsOhTCBebMqApx74H183Z4OjQcUf94+YAMQzHPmbdOtje0gO/DztyaH0GtCS1hJ36fRrhFm5R2c429Qeh2Ck/aNtpU2Ca1kAdkW1OcpDuRh3dXcglGkXwReXlIE3PKyvE8cnR9EDdbcC/Qnfj79Ld52QXTn5IdqMfkN24I7sbq5f5+muaK32O/4/dJ0Q3+XsfO2u+/fp4+Paf0Ss="),
- this.addDataEntry("gmdl google media design library bottom navigation bottom navigation",358,48,"Bottom Navigation","7Zbfb5swEMf/Gh4TGRxY9rikW19aqdL2PjlwgFXDIXPNj/31s7FJ84Oo6UqeOiQk39d3PvvuE4eAL6vtvRZN+YgZqIB/D/hSI5IbVdslKBVETGYBvwuiiJk3iH5cmA27WdYIDTVdExC5gLVQL+AUJ7S0U17IRFuCdWcBXwgli9qMU7M+aCPkWNNP+cf6hpGx21I01tCQkp2WSi1Roe7W4ox9+ZosrBtpfIZ+psYaXGyGG5/Jbww0wfbi4TrJn+wesALSO+OykRmVzoPHcxdWgixKHzbzmmidXexDX0tlBr5aw5Xj76xcSZWyRTqoUbUtbOOnRZWp6VpmgL+j85rl3XOpZrb+Q862cDIV6ptvGGFjl2hEKuviAXLy2zrsn7WVWIF6wlaSxKNG9ws+nDiskAirITR8soV36NJ57Zfdzd0kMQpahXbGTK5uezTcdh/ApmHsYna94O0DLvzv4giLMHGaBiVIruEo/xArfgtPKM3O9vknITtKPzmhDfO8BTpjbX+Qq/CbneH3+NLK9GMMVt0Sn4nAeCzk+PxN5MLZOXI9hmMj1+calbl45Ctvhfj8qWi71X2XRG/Dl9wOvvkJe+wG7CUjs7eBVSMK+I/fCPjN/+3v9mZ3X/xx/oz5+hHu3A+/0f8C")];
- this.addPalette("gmdlBottom Navigation","GMDL / Bottom Navigation",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLBottomSheetsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library bottom sheets bottom sheet",358,320,"Bottom Sheet","7ZbRbtsgFIafxrcVgbjJLud0Sau12rQ9wETjE4yKwQLSOnv6gSFpFhwJaUsvqiaKxDnnPyfm+4VMQRZtv9K0ax5UDaIgXwqy0ErZsGr7BQhRYMTrgtwUGCP3K/DyTHUyVFFHNUib04BDwzMVWwiZkDB2J2KipqYBL0cFqajgTLr12s0H7RIbJe1P/ttrJ9jFpqGdDzSsrS9zIRZKKD3MIpvh42VWqyfYV6SSEHpr9RL/yQ3YasOf4QeYMN9n4+OCttCf3fKQivtdgWrB6p2TvPDaNkFBynloa4CzJraRyApRExLs0PtK0C0ixHGgJAH6rQPpBTIhe8JqlMkxwJjaeyBgY6MDR4jnyH9PnJnmosPj6PYNEdAuhmUIj8BihFKw/4PrNOH6FaA7i7TtmT9TV6ytxdWTV2bwdfSW02qGqhSyoI8gvivDLVc+rcPuKo+Tr6m4P6m3vK79Mx0En+O8Q8F0dM0lux/m3+C3cewajTh2GcPKxLA7+aj6PMf4IP2wzIeTEc/wZTy7Tjy7pZKprTV5tjVBnWkcWn6aleX7NS73sOF/N26WGPcAxoBk7h2d5Vx7kH8cOi9+w0M3T7xbKcXc3nGV5x0b5L86sTWZ7jls7gr0ft273GvOha+X86H21939Dw=="),
- this.addDataEntry("gmdl google media design library bottom sheets grid style options",358,642,"Grid Style With Some Options","7VvRbuI4FP0apNkHUGI7BB4LHToPU6naXWkeqwAmRHVilLgzdL9+HRIDwQ44xAbKDFUlYuwQ33PPvdfHpgPH8fopDVbLZzrHpAO/duA4pZQV7+L1GBPSAU4078DHDgAO/++ASc2n7uZTZxWkOGE6A0Ax4GdA3nHRUjRk7IOUDfMgW+K8u9OBo4BEYcLfz/j9ccobFjRh/0T/5X1dwK+zZbDKL1I8Y/nHESFjSmi6uRdcbF55N5bSNyw+SWjCx4zKZ8Epw+va+Wyaysk8YRpjln7wLr+iOVsWPaA3KIYtcRQuy2F9VM4syIqGcDt2Zx7+prSQ2lpQslY+5wfomDWa6J8Wj39oRPAIh4N+nRHze+91nmxeeedVMIuS8O/SJGjX9C9d5Q8inquchHPwnJBfpzjjVz9KU7u6kIHzIAOoaEsxCVj0E1fu3wZG1NDplywm5XwFUvE6zDnbC+M56TG6ep0GaSu3hmobVQd8lJTuecX1ngVRXzag29SA5fe/0Ig/1vbLu0NQ+fquX70DXSwyzCQAtrPQwsSTMHkgEW8Y0yShaWaWYGriVFkGh8gf+kqn37t7brRTlCv41c0JlDtBNAvIQ/nAcTSf5zPazoDgBduN/L65evSBZaZ5fjtH+agS1qhj9A2TVVi44gJyahJ4a5veU5v+CGVdFWX7Rigr6CQYO7AAjG8YGDyPdLm5xaoNMtqh1SJO3f4FgBoYBoo/EePBKbtJsDx7WJWltFWshg2xspH5nM2Lt9M8C7F8usC5ePUnmNEyJw1cCyi5jmFKMUzwalmgoVWcTDx35OkiMGycmoSrtyrH9VKTC2wA5EoAfel7zl+8yfM8/p0QSYBxC7IDAiG5uNuSo7aUk2liqLhrDqN6WeUYIVb3cIgZ4GRB4plOI25YDbigDJfnoAmafBK4XE9Fu6Zw6a6CXVnNaBfElkES0nfdLDN6zP9aGlO/hvPNE0HUBeigLhDZwSwxmooWfyqDEwHMFZKJWZxkIeMLBFBknr4/GH6+zFM4372nHllp+EHTt8+XeK6GlnbmMS0d2Mw8ddb8jVJPUwHhflOPoQC2XZ+YxUlDPBCWJ5Firblv5qoK6hozfOFMtXRyesBxT3MKDFSanKHs4lnABjRVDO6XQ4bKNwBtcAjIwkG71BQHETm63VCn7Jy5DVE4WjOxBym4ZGgfAlXzkw3JVCC0Bxknz6zcN0QOXgfxiuDejMYSlDdfeZ8B5+ervBXnKl5wmtEkIDqI3Vb1fQZil9V9Gh9/+JOKTqWioQ0lQXEkgiPxei+Brfki1QxNLhrY7kVSuBpa2kFNQ1K4+trnzChlaF0DPStRShYHnjY179GUsu/pTl3pHJa186G7s/w81YgEU0xeaBaxiFayk+j+/aDDlDLGI2VNPlPxrHJ+q98S5e0C10UDiSyq03tii7L1sYWyuhJuIE7zmXUDWXv4Vopy7R1hJ+/dhiu4cj3jDh8c72td8WPEbxRnPhURFtk57AIHNoIHlFWRJ0rDfLd3ZCKAbO71uiLv2U35jj0fGXjI1wouxtwEXsJNZFHm2UyKuakMg45sVegeV4VWs5Qi3kBgJd6goY2zxOJh9x0JZ1kQysdLzvCl8k634k5dRZpq7E/IYvZSyI7IlDeBqjeJTXez3iTLVs80NeJK+W1uxY/cvrYf2U9ligjk2olA3Bg2fOamxDez69iPyoBTq1qRX9oKN8jGngKUtbfjMJ3aBpoGs7cm20A1WoS2YAOPn1pwegfHcJUKjmpfyNCi1K98u5VflEGNXw4JrPjIaJUpVaGrIXT/ADXQ7JTR7Zro+PcGD7/c/ey86L7/q/T/AQ=="),
- this.addDataEntry("gmdl google media design library bottom sheets grid style all options",358,642,"Grid Style With All Options","7Vvfj+IqFP5rTPY+aFqg/ngcnXXuw04yuXeTfdxURW2GlqZldvX+9RdsUSvUoRZWx10nk1gEWs73Hb7DgXbgJN48ZWG6fqYLTDrwcwdOMkpZ8S3eTDAhHeBFiw587ADg8f8OmNb86u9+9dIwwwkzaQCKBj9C8oaLkqIgZ1tSFizCfI1Fda8DxyGJVgn/Puf944wXLGnC/o3+E3V9wK/zdZiKiwzPmfg5ImRCCc12fcHl7iOqsYy+YvlLQhPeZlw+C84Y3tSOZ1dUDuYJ0xizbMur/IwWbF3UgMGwaLbG0WpdNuujcmRhXhSs9m0P5uFfSgvprQUVa4kxP0DPrtFk/ax4/FMjgkc4GvbrjCj6Pqo83X1E5TScR8nqn9Ik6FD0labiQeRzlYPwTp4T8usM5/zqW2lq3xQycBlkABVlGSYhi37gSv9tYEQNSb9mMSnHK5GKNyvhs71VvCA9RtPvszBripSR7aDedtUG29LVe0FxfWRZ1FcN6zc1bHn/Fxrxx9rfvDsCldt3B9Ue6HKZY6YAsx+FEVaBgtUDiXjBhCYJzXK7jqd3qCqmcIQGo4HWGY56F0Z7zxULv+sKxxIkiOYheSgfOI4WCzGi/QgIXrJDyy+7q8cBcOyBwaAdUbZVR7ZKjL5lJ5YWrlBAlSyJt7HpA73pz7isr3PZvhWXle4kPXboAJiBZWDwIjL1zT1WbZAxnlod4tTt/wKghpaB4k/E+OSU3yRYgTusyhDbKVajhli5UD5v9+HlVKgQE8MF3i+PCqVntNSkoe8AJd+z7FIME5yuCzSMgpNp4I8DUwRGjaVJUr1VmG4mTT5wAZCvAPSpH3h/8aIgCPg9IVIA4xZkJw6E1OBu7xyuQ7nmoOkXV54VN+qeNrEDk5qWeKaziJvRAByoghN4aIqm58BR57APDpfpWthXcxrtpqx1mKzom6mmjB/FX0tjmkdsA/uOIKMAdBIFSC2w6xhNUxd/4oB3JjBfJkjs4qSmLT5BAKXO9AfDkTOdcTaVFeS7d+lR8wrfaPb68YTnamgZK4/tRIFL5amz5m8kPU3TBfcrPZYmsP1qxC5OBqkCaXkSaVaWx2au5jx9a4YvyFTrTl4PeP77PgWGugycJXUJHGADmuYH7teHLIVvALrwIaCmCdpJUxxG5OzmQl0e58JNh4JozVI7SONLlnYdUFWfXCRIJUJHkHHnmZe7hMjDmzBOCe7NaaxAefOR9wVwfrzIW3O64gVnOU1CYoLYbUXfV0PMNPo2OQRx9TDhQm2xFAKAkROaq6mBp508nBWYOt2vqMyqlJlTujNx0GBMwhkmLzSPWEQrMYWs/uWkwowyxmfLmihE52eVgw39lijvY0EfDRVn0R1rkbn71vt5sCJXELg416I5v/B3uX5tT4TDSvg2qOCrEY4/evCCz3UhqxXeaA5DabavkJtdYOhGI9WcyROlK7ExMrYxgez6+p6St/ymuOOOI8MADYwmF2s0OZ1cnNBEzdU825GYm1IYdCarZ3qOCzpVKc18A4GT+QbJ+M0ukdRk0jPO83Cl7sRewKWyp1uhU1cjU435hByql2aFjmyxCVTZ5LuIeaCa/prQdGuBSnPRza3wCJzQKNGd31G5ZZ1BWm2DOhJZ2oeQpNmTyEWiB6q5uWk4xzNK1U265kRayq5uhUzmc5LNsMh0yeUoKgrkqRS7zFFThF9/RkyA0Z44rOzp9+aN2fsnH4s1TQ9IOd2zsZtI21YavJdWk3NC2+wxciILtl/qmoXz1yZbNjXJUOOMMTz/ppfXOzkgqz1koNvDsZQVq2q7k3e9oJoaVTCUWPGWUZpr46qrIXT/ABm8dHV2drsmOoN7g4dfHl4UL6ofv0f+Pw=="),
- this.addDataEntry("gmdl google media design library bottom sheets list style",358,642,"List Style","7Vtdb5s8FP41uUxlbALJZZruQ9MmVe827XLyEiegEoyM2zXvr5/NV0JsGrPYLV1DVQmM7djnOc85h8NhhBbbxw8MZ9EXuiLJCL0boQWjlJdn28cFSZIRBPFqhG5GEALxP4LvO+56xV2QYUZSbjIAlgMecHJPypayIee7pGpY4TwisjsYoWucxJtUnC/F/ISJhjVN+df4f9nXg+I6j3AmLxhZcnk7TpIFTSgr5kLr4pDdOKN3pL6T0lSMua7WQhgnj537KZqqzXwgdEs424kuv+MVj8oeaDIth0Uk3kTVsMCvdobzsmHTjN2LR5xUEtJLCynSknueI2BXaHV/Vi7/WIjwBs2mQZcQ5dwHnd8Xh+yc4WWcbv6rROLvm77RTC6kXle1CXC0TiSuGcnF1Y9K1J4pZPDvIIN+2cZIgnn8QFrznwOj31PpI75Nqv3WSG0fN5KzV5vtKrniNPv5C7O+SBnJDull1x6wq6h+NSmvDyTrB6pgvb6CrX7/lsZiWc2Pj2ew9fPjsD0DXa9zwhVgml0YYTVRsJrL+zbppqdRG0k088NZqKXAwexSVKcIWLJtLOkkoY+XOJlXC97Gq5XcUbODhKz5fuTn4uomhI55NwnPU49dm75W1SGwTN2MkTUREluS3FATGhdmBMFED8EThK3F1iJsYIWw9TQ1X6cOAApt21YW43RTsGII6HhAwxc74AC/jQ5ygM7UMjo5wWwZKdgcAnEIUIVZ2bm2ocbmrAMtY1fo6VyhHWaNg4l7as2sg8e5cCvPaviMwZq4wwr67rGq7cQBWJ9wKqcFt4TdxWn+NHYuYhhQHKKdyniCy+1DcCqk8Xw1pGkmGmoAc6ZFrhRj6rlQDM82i3nx5GGiADcijA3eGT9og97esX5Abj3FeXbc41HsUhPMLjh90yGnwLnPiSk4UyD/zgXH2L4ijTNElgzsBBxh5cTCqsmYL7iQwScapTlNLwZ26AbWqxXOrmLYTu+4I/G5yZ3XT2I1vXNLJB8hWGCW5BcavwYaz5wESrZTPe5ofO6zzuunsZr1+cbIA5U8/ojTnFxYPHgWN28K7GqG7YyTOxaHb57FfRNML0tbl5yq5XsmpxBw4RmhmltScKoln8QHGVedmNu5WM+a4Etl6qQTuILAO80pONWQyg42Yxevp6Ca3ZljJoNYcE3SlHA+ZEZdHGExd20H7WqGmlqaK7oghMLbOEANDk0arxOH4zoORa3MYOgoten58rJ3GYdhAhC6QElNKg00XOkC5+2EK5oynq+RkNDzW9jmzdjFpHaY1NCJs1WTR+eRNS/URxMtBcWhAt+0/+Ub7VKF+xUghBoLC6zQ9shouHnFoqng+Z4lFK8utB0cbX3oJBKyXSJ0X+qPGegNZc3kH1gJgV5R/ZamRGhBs92FncNj59SJU7VdZbSU2mPqU88rECt19025U6Tmgm5ZuQwexXkhoM0lJB4eeyfIhW9FtquLskKZnjEkRv2rjjxdAteOx4VHD7IuPC5SM0PPz9eGdXbz7LvWgFPU8m1ldp3AZDs19Asv73TM0lZOd6fszZnVgdE+I9+uYdZSTRfcWvqaKGxTzcXHRMigNKjGSoyMs1ybDngxhP59gAxSOk9at5dEJ/zX4BGX+y+Ry+6HHyr/AQ=="),
- this.addDataEntry("gmdl google media design library bottom sheets bottom sheet menu items subtext",358,360,"Bottom Sheet (menu items with subtext)","7ZfdbtowFMefJtpVKycGNi4h3Sp1rVRtT2DiQ2LhxJnj8LGn3zl2AoW0Uy82ygWRguzz5eP/+QlExNNye29FXTwZCTriXyOeWmNcWJXbFLSOEqZkxO+iJGH4Rsm3N7yx97JaWKjcexKSkLAWuoVgCYbG7XRnkKIpgMJZxOdCq7zCdYb1waJhaSr3U/2m2DjBfVOImjYWMkdupXVqtLG+Fl/6h8KcNSvoPZWpIORKs+lOwgKtbdQafkAT6pO1axesg+2bV/am7r73YEpwdochGyVdESL4+EtIK0DlRZfGJ0ErJppgyPe5BwVx0Yn4uqB8IGgqrFosQFTenAmnDC4nmuSRao3L3PmbBRMJejSAya/W9I6bIMUMA+Kk3h6caMj2Mh+MfOqfl6Zw2qzN24bOibFhdoMvtR06wCuGJo4bQ/NRuyeY9IMvtznRfJuXUt+qUuQwGDf2xfzzF0B60DQs6TgtFqCfTaO8eohXGNucSFCZ0I8n/lJJSZ3tA2Zdvb2jqUWmqvzR17+L2QnLI9wXrtS0fi93yevc9QnjkLHrgrvtCypHbAjl6B8wORow+SwW2lBVQsAVgJ9IaFbQ4aZt4MP5fGg1SRdPezpHVzrPSef0fHSOB3R2wx854nEDsIJK9rA+GNh9ai6FT99iSnwyEvBK6PkIjSfnQ3QyQPQJcqKQzZV1hRS7CwCyom/xZHrl8YN+z/n5ePw85FGtaPw4TVHWAZ/vVjVOVR7TDUiJ4lwKpfwK6cdAytl/gxS3h7+t3nf0r/YP"),
- this.addDataEntry("gmdl google media design library bottom sheets deep linked modal bottom sheet",358,642,"Deep-linked modal bottom sheet","3Vrbbts4EP0ao08JZMtxnMfETYoFtsBiW6CPC9qiJMKUqJKUbfXrd2ZI6uJL6zR2CzRFYomXIeecmdGh3FG8KHYfNKvyjyrhchQ/j+KFVsq6q2K34FKOJpFIRvH70WQSwe9o8nKid0y9UcU0L+05EyZuwobJmrsW12BsI31DwkzOcXg0ip+YFFkJ1yuwzzU0pKq0n8Q3HDuewL3JWYU3mq8sdgspF0oqTbbilH5wmNVqzUNPqUqY8+T3wrXlu5P+UJN35gNXBbe6gSFbkdjcjYjv5m5azkWW+2mzqfeMGdeQtXM7eODCI3QcrfgALfT5MY4uC1oYr93290GcvI8f5rNTIKLt3uAX+sHBFVuJMvvXQzLtmj6rCjcS9uWdiPb2GcO95gbuvniox+dSNvk5yiZT16a5ZFZs+MD+W2icvjLoc1tI729gqthlmLO3WZHIW6uq/5ZMv5aps7CLj2M3nND4VL+9c/c9ZKezQ2DHrwXWr/+PErCtdvGbh8lg+Zv7oQWVpobbA2JaL87i6u6Aq4+MEMhZAn+lWHP8tApvlFrj+pb81fC3UNZdpFoV2AW/iTCWlSuOtyXOBaZbezZXNeIUDAA7uFilubVwAduNlrV1ToaZ65Jvu6FSWCuxWaWtFTdupWpJ662YXnHpnNhgz5LzEj74roIC0PeHep0NpUNzIYzZ32BRr3IkPidDbr0t7TGDYLuFz0/Ulgi0Xiq7b4dAYwg9+ijQSsqgGtGtw6nnsjONaBou0xu2NEovaeOrXMgO1Iz1PICYFpoPQCZ/oBet+KW6RRwjTG5Zg42Jd+SvdG+ER0/JpAf21oNdKppaL+0B3B46Vu6Eqk3AYMmhJCL4PHWQYLJ6RKw3rdF0Fwt9TLzRRtVo5Sh4e3753Vi2pk8IjhA9i3aKqatKGd4B284Ofi4Jmy856zbUwey2ZvudYR4mUCBiXSoMZJGO9kPIQUKDSkGpU3FVYZgvKOrUYCfYrSAPWsM+xAiITPRCwof2tqS1moCTa35sWN5Oc9CHdC5d3cLw0xtWWtPC6qMEql48jqjI9i59EviEHeJBC7vEGPgLxaIJseE28VxmUhjc2kpynTUFK9/RBiCKuEtCorBvOLBLZlKhjT2ek1tW2v7KOOrzqVVb65VSHcC9GEsdSJSTmtYvOdNUeSjVvUOGFRRTWVcToaNxoe48YctlQ0sjA6YdtnWettH4tWYanioOPl9dgSvYgAeURvlizBnVLOIU/WwLuy+B8MhCr2ooG0lDyVZmkI7bbnWXVJThwrBMc86Wso06MFB0NLPUUug4l4kCnEfkutq6pfBWS5U0vXCuJHNixeYuMnGrT00HHl8p2o0z5YFz+GOsl138u+xZlw7ubS7I/4IlXUKktcZidHsgSPYk4nHpN1Qfi5fF8+L5qGyDtS3/BPIPTW5ByXRqEEdgtqAuESsmH70YtagSW2lK1fG68i++j94mU5qhjLyoLJkdyJIU+FtMRk/3G4ymmUR4ErGBy8wh5ZpQUmMitTTNvtbKDYjnEf7rN/UiIDSigRtDovwRBoxn1a4/I6z28g6q+IwVlTM9i5B2vTnShjD4zcGl299wz9A88OScs44PkN4JYjI9POmcE8YvL4txdH80jH3I/k1rvR/fHZxp9tT7W8K1GUz4UfCOx5cJ3ps4nl8hfO8vfALaKFkX/ExC53ezu2h6Lh2zNx6A/AuQ4cnyjeSEA9A8Gh6AAukX5Wp+Ya5AVuhTTA0b+1z1ORwMDvk4+Z2EjueXIXS6R+jDFfh8OMLnlZ4NU3g2UBnfezyUcDr5Qc0fPrp6avroE+FgDsDKS9PpyYoZIxRIQRJfnCTi7dnWOg/cwYZJd+r3oqyvZeExTA9gd/wmyUViH0QaxuUAi7MXf7X7v5xR00BSNoVxwzza/vypEwTEHeuRFRHeZHzjzJ/3Nxy0Mmh5ei2CDbxQtrWwZbpAoKmD6ZIbC7/Gm9+IpLXI4Qyhu741HG27O6gAeW0EM4W/361AhRZYGPxBWRSsW3UjsrBvXuKJx12n9A6BjsaV0MIGV4y/wgAAP5pfomnGP6lp2vfgJzWNEzDRUJffndTlvaJ/TNv/QuEzv5DwaR98Fy2+4Ql9tS88zmE/op+Lv09/HVHTNz4yA0/Tq9A0vrDoWbLV+pi+aRPxFEU/KXJcnJ1UOdFteLH9HaETXtNf49X9/VDnXOPN/XjyYw4DVzBTVOaoAv1tDP35BB1+nXmSoKPV7Xeyc/+n0QO33df+bnj/fwX8Dw=="),
- this.addDataEntry("gmdl google media design library bottom sheets long list",358,642,"Long list","7Zpfb5swEMA/TR4bGQMhPOZP001rtWqdtMeKgAOoBiNwt2SffjaGFGJonQZnU1aiSNg+G/t+vrM5MzIXyfYm97LojgQIj8zrkbnICaHiLtkuEMYjCOJgZC5HEAL2H8FVT6lRloLMy1FKVSpAUeGnh5+RyBEZBd3hKiPwighxcTAy5x6Ow5Td+6x9lLOMDUnpQ/ybyxqQpYvIy3giRz7lxTHGC4JJXrZlbsqLi9GcPKG6JCUpqzOv+oJyira94ymzqsHcIJIgmu+YyK84oJGQMO2pqBahOIyqahOrGplXiIxwX/dFPeym0lC3tkxJW3zMMxMMq7RaPhfdP1QicB1zdt2nRN52Q3hVXlw48/w4Db9VKrFesr6TjHek7lc1CHDQT5Olc1Sw1I9K1YYqMvg+ZNASeTnCHo1/olb7p2C0jpz0EU1wNd6aVLINuc2OwyTAY0qyx7WXH0tKSXdmt+7aFXaVqY9tkW5o1prIijWOVWz1/HsSs27tH37lwtbjr5x2C2SzKRCVwOxHocTK1uygum3oEON0uZidff5PwGmYdm0zGhTLZGATynK0QUxjPipUoUwtewJUEdhvIqjV1DKUySCGUjdTAwEagDgDAymQl/uRxKKp+CaQipEQrg0EnkinXaHByuhyasOwunJM/bCmA8PivuysdtNPpsOPDUXGtPSTcSUyXzOUcoFUQnTsSlJl1SsURhsq79emgP8O1i1ruJUGAiATgieuNHWHQAuQ62oAVD+jQegLQlkvnJadPHFJNTNZWXMHzGVc2FsjfE+KmMakuUfnYGLfw7cH5UkcBLxPe4FZ1d6+oNqF35btL6FW9udCb1g6Nh2GIbH/nK7JVg1+XIr+x/Th2ei7WujLsYpPXhqSZ7b0KU2ASEirrpMr17HtC5sCXQ4A6pgCUI8DkAMwd6goUBqyVz2lOZDsxT8cgX5HAPU4Ajl+c0NIyLQI52qzICzFHzP8rLprZgDYS/qFzYOzbQdMPd5Ajg09RAipLgeFkFXjD42ZNbEui3/XW/RQ/GGbvx4/IAehlsRXpB9wSTX21mp6vbow2z8fe0uP7cvxrgccB0jV9oWs4h7AnrsG+OD/Tv56bF8Ood1HhBJF/pmQvSik51vObT0mLcfeJJj6j3rKa/Cjnl2rwlsHP9b0NGr1eVzdzqCYoByAex3TW8Hrtec/dZ0z7L8V6EP0zsMGMc96Y9pgXJ85vnKqWr+C6DhVdVpP13KoCuVAWq/fZDXjrED/FKHLByTHunoBdXq3v0nHuTQ8LPnyRZYQb36w9Qc=")];
- this.addPalette("gmdlBottom Sheets","GMDL / Bottom Sheets",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLButtonsPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),
- this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl",
- "button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#000000;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;",
- 100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",
- 100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",
- 100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#ffffff;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;",
- 100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;",
- 100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=40;strokeColor=none;fontStyle=1;",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#ffffff;opacity=26;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;",
- 100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=15;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",
- 100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=15;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=25;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",
- 100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=1;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.addDataEntry("gmdl google media design library button dropdown menu",
- 100,180,"Dropdown Menu","7ZVLT8QgEMc/DXcKXbMetdq9aGKyB8+kTFsiLQ3Fffjp5bXPbuPGVaOJJE2YYWZgfn8aEM2a1Uyzrn5UHCSi94hmWikTZs0qAykRwYIjeocIwfZDJB9ZTfwq7piG1pyTQELCgslXCJ7g6M1aRgdnfQ0uHCN6y6SoWjsvbH3Q1lGq1szFm4tNiLX7mnXO0FAYtyykzJRU2teipR8uzGj1Ansr4EcowNXSlbNGPB1oA6vRDr0rtjcD1YDRaxuyFNzUMQIHCrgGUdWbtGl0sj44qm3uDpidRGan+dEBv7lhBqwrGYC0PZhIbK/xPE/x1PXquhQFkzcRcSM4l55IxwrRVg9QupMn9Ih6am0NvbWeY8dnkyOfI5dOgk+DZEYs4KD+JTTTUZrDa3maJvbjQppHl3Z7NX855bjFkxJ2Z4LXh2U2GaosezADVbYHO0uoyahQ9CeF+pOCXONvEORqVJD0X5APBEnoF/wi1ty92iF8/1F/Bw=="),
- this.addDataEntry("gmdl google media design library button dropdown button",100,30,"Dropdown Button","xZTdTsMgFICfhksXBvMBtqq70cTEJyDlFIhQGoqz9emFQrt23RKNF5I04fxyztcDiBamOzrWyBfLQSP6iGjhrPVpZ7oCtEYEK47oAyIEhw+RpxvW7WDFDXNQ+58EkBRwYvoDkiYpWt/rrOCslRDdMaIHppWow74M+cEFRWVr/6a+ou+WBLmVrImCg9JHs9K6sNq6IRethhXdvLPvMLOUwwqWXBA4D93NpgZV7ugI1oB3fXD5VNzL7IFT41iCEjKH7bKOtUkWU+gZUdhkSteJ0RWxvVNMr7CF8n3mM2sTDyvoY4OqZHqfgRrFeQw9tA0rVS2eoYpFb+kF491PEZH/Q7T75VBJb3TsbTY+phPxTmyE4XrjA+BaDHQu5mmamuU81baGP3JaBvT5Lm3uk7yguIaYvRxo5tUJFqmugc3Hv1oVqprOvhvz9KM8Hj/msFXVgl/9mqmNa38riOfnJbnPX59v"),
- this.addDataEntry("gmdl google media design library button dropdown button editable",100,40,"Dropdown Button (Editable)","xZT9boMgEMCfhj/bINgHaN3W/bElS/YERE8lQzDIOrunHyi1frTOpU1GYsJ9yd3vDhCNinqvWZm/qgQEoo+IRlop0+6KOgIhEME8QfQBEYLth8jTFWvQWHHJNEizJIC0AQcmPqHVtIrKHIVXJKzKwbljRHdM8EzafWz/D9oqUiXNO/92vgGxcpWz0gkaYuPMXIhICaWbf9G0Wc7NaPUBPUvcLGvxCYE2UF8tqlH5ivagCjD6aF2+eGJy74HbwnEOPMt9WOh1rGrlrAs9I7IbT+kyMTohttWciQk2m77xfHpl4mZZvSuQx0xsPdCCJ4kL3VUli7nMXiB1SQd0xDhcioj8H6Lw96GaGROpJMxOiIbKwng+JR3cSGQY0OMTzuDRIJjhBxjEXmLmz3tT3KbRHbYaY1ZpWoGZQO7SXMR988fLnJtCeICnfhR15t6idVYkYm3sYMusmcrRPe56MeySb92iboSz3cBrX8xxJA/md9qfzX3aMzx8RU6n39IuK57f9da9/+z/AA=="),
- this.addDataEntry("gmdl google media design library button dropdown button selected",100,150,"Dropdown Button (Selected)","7ZbbTsMwDIafppdMbbMBt1uB3YCEhATXoXHbiLSZ0uzE0+McukPL2AYbEhKRJtVO7MTfH3cNSFIuxopOigfJQATkNiCJklK7p3KRgBBBHHIWkJsgjkP8BfHdjtnIzoYTqqDShwTELmBGxRScxzlqvRTewWhdgFkeBmREBc8rfE4xPyh0ZLLST/zdrI1itOuCToyhINVmmguRSCGVzUUyO8wyreQbbMykdrgETM5NOjT86UBpWOys0Lp8eWOQJWi1xCVzznThV4SOQlgAz4smbOCdtHaOfBW7BoYPntnn/EiH31BxKjoQ21iQ2kbxoR3oN5XylIqhx1xyxkyKUT2hKa/ye8jM6SPSIt//EmkjmrDRIwU1hr14PAdjjr+Hue99CgTVfAZb+X+Cvn/k1S10KXy9jRrlIjed18tLJnoahatyS7t1a9d3cwtxJSs4FB75HN52wNJ3bG/g7C20XbKDI8H67R8lx1Ot9r5o8iwbu9m+ySGzrAbdkWZVxkFqDTpqJXgtXxXf1yqty3uOzmnJDXbskvt3u4cc2z0tkb2o7VfdSSS97Eoqp4rj30JbUgRzLu3+pBzX55DjqiPHMyhGK/ovxx45ougEeqC5/mxzyze/6j4A"),
- this.addDataEntry("gmdl google media design library button dropdown button selected editable",100,150,"Dropdown Button (Selected, Editable)","7ZZRT4MwEMc/DY8uQJn66lDngyYmJvpc6QGNhS6l6uan90rLNkARFX1aE5L2endtf/9y4JG4WC8VXeU3koHwyIVHYiWltr1iHYMQXuhz5pFzLwx9fLzw8pPZoJ71V1RBqccEhDbghYpnsBZrqPRGOAOjVQ7G3ffIggqeldhPMD8oNKSy1Hf8zfgGIY6rnK7MQEGizTQXIpZCqjoXSetm3LSST7A3k9TNJmDy1aTDgdsdKA3rT09Ym9zxliAL0GqDLq+c6dx5+JaCnwPP8iZs7oy0soZsG7sDhh3H7GN+pMfvTHEqehC7WJDa3uH9uqHdnJQnVJw5zAVnzKRYVCua8DK7htTsPiAd8tEg0kY0UUcvFFQY9uDwjMYc/gxz5GwKBNX8BVr5f4M++vrqDlzGUpYwCM1SumpOMhoT+RhTO2APWjQFM7fereS4je1iR1Hnhss0rUD3IG+3OYr7/JslI9eFcAAbPYp1ZireLCuYmGl8YcqsvuWdarGrCS2VnHSj1IgG1fBn7jCbzrh1qfv6zKeRp734UdisPqlcxz25YqwHj4r3VEOOf1Wb/rfkkF++Pk6Q7vdhEjlO+nLIZ8XxW3qQY1iO07+Q47Qnxz0oRkt6kOMLOYJgAj1wuPvXte77v8Lv"),
- this.addDataEntry("gmdl google media design library button persistent footer button",300,40,"Persistent Footer Buttons","3ZXRTsMgFIafhnsK64y3q25X6oXzAYicDSLtaQBd59NLAbdVXabJ3EVJSM75f/4WvpBAeFV3CytadYcSDOG3hFcW0aeq7iowhjCqJeE3hDEaJmHzI24RXdoKC43/TYClwJswr5CUJDi/NVlwSrR9aeE5fHK20sZUaNBGl6/iCLrzFl/gwIE4ekcJiZsg0tDk/4H10B3dc5TyhheANXi7DUs2WnqVVnCazkUV6LXKsUnWhEv9ehfdEwhFhvAzEP4NyOxpuXy4P4VlePwGG/jC6lPCxj/q9z5ZsNwfQGPF9XTOgy6FUyD/Ao2dhHZV/g+zydiYdUNeF0BYjhRhUdKLMZyOlOHudpyfYWj3b030Bk/RBw=="),this.addDataEntry("gmdl google media design library button persistent footer button fixed",
- 300,40,"Persistent Footer Buttons (fixed)","7ZXfboMgFMafhnuEtstu69buZn+SdQ9A5rGQoRhgrd3TDwWtrjN1aXcniQnnO5wD/D4TEI2zcq1ZwR9VAhLRe0RjrZT1s6yMQUpEsEgQvUOEYPchshrIRnUWF0xDbscUEF+wY/ITvOIFYw8yCIazoppqeHctl6mQMlZS6TpL03o43VitPqCTgXpUGc4StXcidkHYD7SFcvDMtRQOvAaVgdUHt2QvEsv9Cor9vTAHseWhbBY0Zny8bUuPBNwkQPgdCD0BsnzbbJ6fzmHpXz9XOfxg1Ugqt6/iq6qMSIg70Eh0u1hRpyfMcEgCNA3GlTw0V43GciRnOd7MhzFqkMyKHfTaX8J2NrH9M9uww4sSbmOCy37rpkKlqQF74kV7rlH2zCd7rmRPNMf/4M9i8udK/rT/+iX+uPD4Tvvl3Wf8Gw=="),this.addEntry("gmdl google media design library button floating action button",
- function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;fillColor=#FF4081;strokeColor=none;shadow=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#ffffff;strokeWidth=2;shadow=0;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,
- 0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.edit;strokeColor=none;fillColor=#737373;shadow=0;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",
- function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.star;strokeColor=none;fillColor=#737373;shadow=0;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),
- this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.heart;strokeColor=none;fillColor=#737373;shadow=0;");e.vertex=!0;a.insert(e);
- return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.reply;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.users;strokeColor=#ffffff;fillColor=#737373;strokeWidth=2;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.gps;strokeColor=#737373;fillColor=#737373;strokeWidth=2;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.share2;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.navigate;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.chat;strokeColor=#737373;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.voice;strokeColor=#737373;fillColor=#737373;strokeWidth=2;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(20,16,16,24),"dashed=0;html=1;shape=mxgraph.gmdl.google;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.video;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.gallery;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.birthday;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.cloud;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.x;strokeColor=#737373;strokeWidth=2;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.bookmark;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.calendar;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(17,20,22,16),"dashed=0;html=1;shape=mxgraph.gmdl.attractions;strokeColor=#ffffff;fillColor=#737373;strokeWidth=1;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(20,18,16,20),"dashed=0;html=1;shape=mxgraph.gmdl.dining;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.education;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.family;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.health;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.office;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.promotions;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.radio;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.recipes;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.sports;strokeColor=none;fillColor=#737373;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.travel;strokeColor=none;fillColor=#737373;direction=south;shadow=0;");
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button mini",function(){var a=new mxCell("",new mxGeometry(0,0,40,40),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var e=new mxCell("",new mxGeometry(12,12,16,16),
- "dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#737373;strokeWidth=2;shadow=0;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],40,40,"Floating Action Button (Mini)")}),this.addDataEntry("gmdl google media design library button toolbar",358,64,"Toolbar","3ZXRboMgFIafhssaBLtut7Vbr5bsbtekHoUMxCDr7NsPhdpaa2bSZlmmMYHD+TmH7zcB0VQ1W8Mq/qozkIg+I5oara0fqSYFKRHBIkN0gwjB7kPkZWI17lZxxQyUdo6AeMGeyU/wER+o7UGGQM1Z1Q4N7NyW61xImWqpTbdK8+5x8doa/QHHlVKXTrMuDBOuk4toqAnGQjPZdxcKTW9BK7Dm4FK+RGa5z6DLRy/jIAoeZA+Jj7Haz4teeqLgBgHEdSj0ZygZqzm06didh1vlttrELYUASzVF62lUqExGO6bAsBGjc3oXVFfd2yvew6HJXHjkOrwgwBFZes3hGAjzM7okGcONA3ADklmxh0H9a8RDC29auM76+ouYDMovnoY76DyvwY4c6w8yy8TkzibuRQZ66j//Zfv+v3vLO7tXMCmhLf4n/FvNMBCPDTxCuNlAPDQwjm930E1Pt5ZPP7/UvgE="),
- this.addDataEntry("gmdl google media design library button floating action button",50,156,"Floating action buttons","3ZZPb4MgGMY/Dcc2iH/mrtO1pyW77UwmChkWg6zVbz8Uamu1m5m2h5KYwCMv8P54IAA3yqutxAV9EwnhwH0FbiSFUKaWVxHhHCDIEuDGACGoP4A2V/467V9YYEl2akoAMgF7zL+JUYxQqppboaS4aKo6kBWlrr2USoovEgkupNZ3YteIKeP8KAHkxk7sxl7TmeJEHLTo6EYmccL00i5i7SKIVKS6mkgr2Sy2ROREyVp3sQGhCTiwRFGjeCZzSAnLqOpruDTtrBvnxEhXLKZxZO7fyBJcUtJ0hzo5qnJu0z+izKus2fF1lid8/SmKegBVEwzaMiTb6Sbiw2aMpnJEv3KEa9+E1BftM7IOGpJ1AqNJwrFie9Kbfgy3XcG7YHph3fSroDf7KuwPINK0JGqwW10akzbQezDPW1Y+vNsR8Bc+AoVsTDAN8lz7e/PtH97O/s+3t39wK/tvNh4MnTvY39Jx4NDxfjDcm6M2x/FPCzu+Grvx07b839rBfGuP4FvK2v3baglr6+bppWS6nz+kfgA="),
- this.addDataEntry("gmdl google media design library button related actions",200,40,"Related actions","3VbRboMgFP0aHtsgWtu9zm19WrK3PZNxFTIsBlhr/34o1NbqMpO1zTaNyb2He4R77nkAxVlZrzWt+LNiIFH8iOJMK2V9VNYZSIkIFgzFD4gQ7D5Enr5YjdpVXFENGzuFQDxhS+UHeMQDxu5lAAynVRM6oqiMi+6N1eodMiWVdvhGbRowF1IeIETivH2aYk6Z2jkwckmhKRPuaGfccAjQFuovG2mh0MUaVAlW713JTjDLfUXie8UcRMFtH6PG50XHPKrigiDMuEjx9yIxajg05di1w20pQ8MH8cq6aGY8L0om50y9DVQ8lexMymX7dozX0DCZKhwZFy4Q8HzhKfuz/ETYKBkKG6Ue0yCpFVvobT+mdjjBixLuYN32s2Vv99mq/wOV5wbsYFhdG5Pml/x5kwfCCg9Gcy3PLy7seVNpoMwR3DRv6P3k595Pr+f9u+t7P/0v3o/S25l/eWnzj9p+XNfO8ZM0S3+1v1cX97dLj5cjX356d/oE"),
- this.addDataEntry("gmdl google media design library button floating action button",50,456,"Floating action buttons","5ZZNj4MgEIZ/DcdtEPp1ru32tMne9mzCKGSxGKCt/vtFQVtXu9tkN16UmDAvM8PwMAcQjfPyqJOCvykGEtEDorFWyvpZXsYgJSJYMET3iBDsfkReH6xGzSouEg0n+0wA8QGXRJ7BK14wtpJBYInhULtjRHfc5q7GfeSmhidF7ZKXWV3+IsuZXJwN6HrNavUJsZLKWfuTOjnHXSqkbCVE6BbXwydi6hqyulxMuOK/xYYyQVsoHx61kcI5j6BysLpyLiFg6wOuglnulaVngzmIjNu+lhhvZ12eG0U3CSDHodLZQa2ChSdjvJwr42g9HeTVXCF39CaAvJ4rZEqmg7z5HXIL0wWKwsCTCNPmmwBh1cIYQluth9Ba7S/Qtv/cmeWAqQO4aUa38hGORZ7Ftfmx4/Bi1eu5zr7DF43gazUNMrHiAr3tx5iGCt6VcIV127/0O7412wQqTQ3YwZV0xxi7JWfenofe/f71+AU=")];
- this.addPalette("gmdlButtons","GMDL / Buttons",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addGMDLCardsPalette=function(a){var b=this,d=[this.addDataEntry("gmdl google media design library card card",342,356,"Card","5VZdb5swFP01PDbiu91jPhtp2VY107pXDy7BmrGRcUqyX7/r4ISkQEsXtD0sURT7+Nr3+pzDFZY3zXb3kuTpJxEDs7y55U2lEKoaZbspMGa5No0tb2a5ro0/y110rDqHVTsnErjqs8GtNjwTtoUKqYBC7ZkBipTkeighwiMnCWVsKpiQh1UvOXwQL5QUP+G4wgUHDaYkFiXOHZyYVCAV7DrLPUCm1nsQGSi5x5CSxiqtIjzf1JgC3aRmmxeEFUiKCtic9ta3x4EhoJ0M791ktF76BUOTmf4iXqZUwTonkT6gRMn7cuL+GSfOhwE48RucfCR8Q9ChiH4jjIEuZU0SImmDLbyUZklfj0aEjRndcFz5IZQSmWZKcLWmv3Q0ko90IjmUb1aQ6Cs4YQ3h1K5nE3PA7CZAUEKBZzwZNno7rYPVvXlsRkFgG/7eItoPKkwCI4o+w0XKa8gPGuSvREQUxAiqUiuQiq0sNOliiyW6tki0GvuYH2ShXAemoDEdAFIDS6ycER4Xx/jPUJoI/HsiDHAFa7NHo1GXpG1e7lbv0XDVouiZBRy/VcwKWR75/gf63obv1NdkfRCUqzplYF/uEElSgGr44VRrL4uEVzXwY5tua2MDkDxIV75t3HC9HD/Ou5x5bijXzM+68WIxDjy/tuFXkRsnvmJpE/Gyj2U0jnX2CTFAhLyAPBZhSutt2PBVLm98v+HWO7ulGfmDmPWUblC33jW0nH9/WH35j9TcXSr3l8V9I/s1WuO0fm2tws/fan8D"),
- this.addDataEntry("gmdl google media design library card card collection",358,642,"Card Collection","7Zlbb5swFIB/DY+JbG4hj7n0Mq3dqrZa9zY5wQRUgyNDmmS/fjaYBGLISAJrVY0oUnywsX0+nwsnmjEJNzcMLf176mKiGVeaMWGUJtmvcDPBhGg6CFzNmGq6DvhX069r7sL0LlgihqOkyQA9G/CGyApnkkwQJ1siBS6KfSy6A80Yxz5aCjnDc/78sRcQMqGEsrSr4aWX6JYw+orzOxGN+JixnAqzBG9ql5uK5FpvMA1xwra8yzpwEz/rYVhONszHwcKXw2xTLhzFmWCxG7vfPf8hFVCtDENRBuRrGRngJJ0gEiwi0cxWd6gj07JGtlmnI49GSaHzdXqJzks0D6LFo9yxuRc90yUXQDn2Sa4R5O3gt2hCg7cZjnnrRWoSNiWin0dENzMZwwQlwRsuPf8SSuaZRzbcLISZ9RehS/oJXf6aIabi0afG0LEvOsJGtcLKA7bSOvtW1i6o07RVbcJTtSnnf6ABX9Zu8t5QL03fG5SfQD0vxolCY7eLRoAsBdAzQ2+YpIwYRuFJ5lRtJmVoNhhMnXHlES8YgdDK3wwss6aeMBdBOZgjMpL2HAauKxacd73DnoAz0As2T1JZp3ZlDS47CduyebZK3m7DNJcMe5iraY7jhvh3YaeR3q1qvR8xyFxXJYO0WzHI/DG5PTodUBm0QSXGiM19BUhR+0UqElTWObdH/UJEjT0orPKg7QDr5dlAl8ScNoiFiC2C6DHzosKZ3qcC3s05NXPjz3fpWnpU1cdmkttc2V1nFoZ9IUqJzoEdoBuqwY+HFB1AfmzAaMXVy2MFinhjhtHc5z6ubbJ7wZgmCQ1FPHMaetLxVHy4fO0HCX7igU5MvuZTHwmdh4FyJqc9jIrFUFxIYMWJsZseGee8I6MDs/50NE08IVDYfluFM8wk3gOOfBvJsTSimJ4X1CHTigMNgX1rT9VSoQzT6/xkv0a/e19rqd622ki7Sv8hVCi8iMPqY55jCrsaC7vSRC5iQKE2cTdeRS4SG/kSExS5ms6nARU3VGuUFKvsoR5Y/pqWnusyxEPq783JAq34UqOLdBKq1Ymn29HjVR2kom4rc/2RZShvzuA4Xdmj1opzHzfnaDA7eAtvCSdUUDpAJWm284rolNMbS+8CrFppufr5cPf9P9pu0f4Ttmp95iuKFohRyqU/ECFY7P8JeYgFrSc/Hz3JOYzhenUMaDmj3oUFe9gwLEDn1LjQOH6r5aFmp+CEehBIr9ZLnrU2W6lC02klsvbMLt4wYSulmhmavzYuCRS5nFkXgMcLA6Cf1x6P1QaqijktVVcHZf/aRXEVNqjm5Kz4yGAZ4w9F6PMDalC8OerS3pPO4LPh4c39n6lZ9+J/rX8A"),
- this.addDataEntry("gmdl google media design library card card collection",358,642,"Card Collection","3Vpdb6M4FP01eUyE+e5jk6adlaazo+ms5nFFwQloDEbGaZL99WuDnQAGhgToV6oq+MbG5hzfc69tZsYqPjwQLw0fcQDRzFjPjBXBmBZX8WEFEZrpWhTMjLuZrmvsf6bft/wK8l+11CMwoX0a6EWDFw/tYGEpDBk9ImEIvCyEvLo2M5ZZ6KXcTqDP7r/cRAitMMIkr2ps8g+vRgn+DeUvCU5Ym6XoChIKD63DzU1irA8Qx5CSI6uyjwIaFjUMyy2ahTDahqKZbYqBe1lh2J7anp+eXQgAmsEwFDAAG8utoV2EiYeibcKLxejqGK104FrLNow2OKGlyvf5h1dOPT9Ktj/EE5tn00+cMgMQbZ/EGDVZjv7jRWCwMoEZK/0SSIK+jOjXMaKbhY1A5NHoBVbuP4Ql88opGx+23M0W2zhAC4rTf589MmiqGs3AVBschRcurKJcgs20VdTApaiJ/r/jiA3r1Pn8Rq90P3eqd8CbTQapgvrpKXoRYSlEPPLnj3dZ5F/kMc2eUHWb9Q1Y282zuDTPOSB/8qHCYeb8XpzgyPfQrXDZOAoCPmBZ9SvccF4cveTWKLdN6jqWM2wSHKseOCrp9hjelxK4gQwmH2Y96bfvtTUfdT/crWbcO3xRYlXxRXsUX5S3ka7oTsCKMwYrGfSIHyqEMPT1O8u2lzVWBFFFZemP+kCKeosnaBLPcQiby4A/JWPuGIzFHtlGyY9CRbmYPuYGVs2tGJaYUhxz1TNV1zqR2+iHrN8A74XSqtpbWL5IEqZOKoCjjyKNLpiA0huF0n8SFMURZSSewqKWMDTrTDOkOIP7kNV9YqGHm/eM5o5gVg9dz4LiepwqB8dS1si5ss/F8wRxr08U3T9zKrP0SuquXUhp30QRaAohX6OMwoTZKOaTAe8I+9p4L5gw5Hl3DNSMZvwq4aR56HkX8+I+hAlkz19cEnGJGb8JPNVms4iXF5fwW800ypzIXL9sa8jszY5J8rpEWpcS2eybljWBbwKgzoW/nn6uvzHbt79/tTHWmiDW11ZVGjWFsbqfaR2sSQ/2GSGQDCTtWGlQDqBiZ6BK4UB5PVSCm4yf8q7jMnrt1sVVEVQsGswLwqruWK7dK6wOiZgy17fUFKk5glr2CMqq7pQ87VJI4nwL651Ht15ogx4JSlcwG4SuusNxjzOaRxwa8nDzHeKUoftewswgRGuq3zfIDAJY3bkYVTr0qkxIhF1VJJZ3/G/YhmkLrrLFjalKv9202u0ShpaFEqhP93GUfZQ9humU3XXA2r59LWU3gRq7J1R2dSfhi4f8I+ZJ8513zD6HuttvqO7qyn+NUMRl/QHvUMAf8GMJewuYbyHs6hL8Awt7C64fV9h1dUH+roT9dgls69VSdst2+gm7YbXz19czdHX9+3E9o5hHwz2jC9jXdYxr17IXHKBp+ef6TaHuydwzRzGFbeAW0dycYku+4fz/Ch959vzfTWcop3cj2ni58iCljRjRQlvIc9quw5SmsDHSSbRT6X2Sg+g+rwRIrljLKM3gu2Lo8xPUY8HdKWlvyY7z2ehhxfMLZkX18vtn/wM="),
- this.addDataEntry("gmdl google media design library card card collection varied layouts",358,642,"Card collection with varied layouts","7Vtdb5swFP01PKbCGEjyuLRL97BK1TZpj5MTnGCVxMiwNt2vnw12woeTEWIoTUdVKVxsMPfce3x841jwdrO7ZygOH2iAIwt+tuAtozTNP212tziKLMcmgQXvLMex+b/lzI9cBdlVO0YMb9MmHZy8wzOKfuPckhuS9DWShgAlIRbNbQvOkhDFws7wkt9/tiJRdEsjyrKmcJUdolnK6BNWV7Z0y/vM5KMwS/Hu6HAzkxzrPaYbnLJX3uSFBGmYt4DeJO8WYrIOZTfflQNHSW5Y7/se3p5/kA7QOwPWnAH4WD5B+yyfoIist+I0H13VR9CG8+n8mI9WdJsWGs+zQzSO0ZJs19/kG7sH0w8acwOQfb/LMdrqnPwRpwDyc4YTfvZTehI0RcRph4jj5jaGI5SSZ1y6/yUouS1DdrNbizS7WW+C6Cal8a8FYheFKtQ7ptzhVWbhjZefF9zm+nWvgXO9Jp//SAkf1v7ho6lTevxoXL4DXa0SnNa8vn+LRkB4NSDuSLKk3Gtn5Ys+DypJM/fAzBPA6MK4EOjCI/9KojxjRiIlBMJkiaJPMmc3JAjEmFXTr3glgBk7hbyOMlunueONL4uC13IKGkXdN5F+McMrzN20xEnDCNhPLY387un9fiIZla9KyegbSUZ1G5WLkw5QGZtAJcGILcMaIEXvF1GRQOWNVT46F0LUmD2Bjj3NADZSM36XiE1qiD0yPFqhhXgnfqOkBYAbxNZk+y3nVUGvD5mBN/NLhhlNU7pRJFjJtNmd+DuWlvy5AX0pEK+OaIuE7GpodiGfr2h2Px6vIGwUm1d4t07/ueWLioPOhQ2ERth5AjqIqqkJHjASRqfXAi216OQkr4MaSehnV2AEv5HXBYDANoFgyJlcs/Y4ndrF9YMmu6fZUVlXNKb76aV0rwHSFN0Dz+ue7wEwAeyC0ieenk/Xha1mKpd1i8uxtSsrIZVgZsFtW0cp66+QO7UxssUrbeFtqd2GDLg77QPveqlojp4pIym2xAoJAgEyoyjgjVJGYrNqDpYMcpFqVModBH9Fyr2E/B2/c4UmLC98sCXBBvxTaq+i5Kriz530Ie/2YQl9z69H5niqCU2VzUNUfMBIPayd5DvYVWGyNyUIjlTfjkpBLbLDloL1AlsLZIcnBfOI/dBa0EgRbZBa8HJw378YNFOMey9icNCI96MG67W8GU7SghJEhEVka7imp5+B/8vARjJwV4nHq5OFb1gJrC1N+lOF5xYI358qdK60QAg+fIVQjesaVeGQK0b9qEIF5kdRhUNGvBdVqNlO1tsM3F4A9ld/Gzf8us6/EPQuVVbrzWhn7H2ys6O9JjqNQ0MQ3IkREEZuJxOnkULZAi2fdAyq3ftSxKUlQzqn1832jVNdmmhIUrdrydAWwnGZI7vYQdhkM5nCivckcYIHhdD1A9SglHWS0t4SnfG1wcNPD78MyJsXfzjwFw=="),
- this.addDataEntry("gmdl google media design library card card collection",358,642,"Card collection","5Vptk6I4EP41ftSCAKIfR+dmb6tu9652rbraT1dRoqQGCAVx1Pv110mAAQMzKLA7emztaJp0XvrpTvqJGVnL8PgpwbH/hXkkGFm/jaxlwhhX38LjkgTBCBnUG1mPI4QM+D9CTw1vTfnWiHFCIt5GASmFFxzsiZIoQcpPQSbwcOoTUd0YWYvUx7GQJ2QD7S+2NAiWLGCJrGpt5SOq8YQ9k/xNxCLQWWRdkYSTY+NwpSgb6yfCQsKTE1Q5UI/7qoblzJSaT+jOz9SmdjZwnCrBrtB9nT18yQxQbwxLM4YJY3mwjItsggO6i0RRje7cRobhzqeLJhttWcRLlZ/kIyrHeEOj3bdsxvaraMViEJiZ7vdsjEZepv+KomlBOSEplP7OLGm2RQRdhwiylSwhAeb0hVTa74KSfaXLhsedCLPJLvSCCWfxP2ucdHJVq94wVYVTFoUTR5VLZrOnutXMS62W9f8XozCsovPxHFW6H7vVFth2mxKuWb2YRSsgHA2IJwJWF4PHHkkuCpr6YDiPnPl0NhPo1PlyyduR8X4kqbAZi7gQMNMNDh6ywA2p54kx51X/IFuBjotKwR1I2aAB5LjdXOFUjcNeoZ/2EYNxQrYEzLQhaWsPsJGEv5XdnXq7vxGRua0qETntJSLzZvKAnA2AitsHKgAKBJevIVI2fxMsSiOPStQRqNYLqVm3kPYD23jqDI/brA/cYBgcFqufGkqtEXKGAyiP2SEBmvcBUIiTHY2+qf1ObHtfpACqzSqCBeOchWJzsltn2PCGyEd17rFDtiuqffL33O5m7dY55C6GXNTLNjYzB8DVNN4H9m3Gs3gU/zqlkfM2sVUys1uz2rk9BdO8uktl5LFno5ua0VcJfgHue256sBqvyc/WWYCc5WfIruE8Z1ngXD7XB0EDVuUUwjF0eGyjnxgYAg39BOArOYDgB0ue4WNJ+aktMA2J8zkwYn7nwBjyuVVgzg8f+kFGP454xCdFr+KYwOS9CZRWPoG/nIQxSbmEicpmEryTZOxAwQLI2EceDWlE5S6FjO1eDANsa6z3QovLVg40EluH6ILvk0jW5Kx4nbI998cEp1x0/FnoHWDKMG/RIn5h+wSvA1Fz4+NoJ77gyCvUVzh6FsRQyneYRpMmxzr4lBPhREJ8gC00l32vyjI/E44yPQt+u8Y/OSspFdusoZFCc1BHtHJvKTvibNaLI5rGIGuEfuTysFx9/vMryMyOi0PdQdXZ2mAvncfFQ4l8b8DaJKngXzSTjaMrXqeKQgm9eU2OY/cD3tgZZBnRj2kK8PRs5zLwZkOBNwhydet/R+SOVacYFsheDl3aspBsKbwFClLwThvpzLOelOSm+5CkpMUxzuCkRDnb/4mV6IcwECSQanHKorbL5C9kJk2A3TI10Y9dnvaR6OU1Y10QvPE77mI/g5/8YngGIShIPz0BMiLT+4P6SKE58QHmFzSBbTOuAJiEOY4RY1GZKKRCY002WKqGTDbkUaA10YarKRR8ZH+XFKKFr9weh0D6qc/dcIgmwO6HROQpyN2RiMuhu3EWUXPJRcOvK4u4Jc6Q56jvUYa+8qQhGMPVV2IuunzRLQF6Gwc9zupB6GmNtAfZ4fSDlisia403z3VxUkRQEy5X/vaufKeR6BkTVP0BvPb397prEz1dZHKra+IQ95ja3GbJsQJNGqfkQyF0/wBdfiLycdBx7w0eKL7eT1bVy9eX/wM="),
- this.addDataEntry("gmdl google media design library card card collection",358,642,"Card collection","7Vtbj5s4GP01eczINrfkcZJJulq1VdVWu+rTyiFOggKYBdLJ7K9fm9sANgkDdmZaTaLRBGPAfOe7HB/MxFgG5w8xjg6f6Jb4E2M1MZYxpWn+Kzgvie9PEPC2E+NhghBgfxO07tgLs70gwjEJ0z4HoPyAn9g/kbwlb0jSJ79o2OLkQHh3MDEWyQFHvD0mLjv/Yuf5/pL6NM66Gqsl//JuaUyPpNwT0pAdsyguReKUnDuHmzUVY/1AaEDS+Il1efS26SHvYViz/LAD8faH4jDbLAaOk7xhXx37fPfsR2EAuTEMwRiQjeXeAC+yCfa9fcg389G1bbQw+bfLRjsaprXO6+zDO0fY9cL91+KOzeem7zRiDbA49lsxRlBue//xTWiw7ZgkbOvvwpKwLyJoGCLIzNti4uPU+0ka5x+DkjnQZYPznofZ3T7Y+ncpjf7Z4HiUqxpywzQPeCqi8M7Kt2tmM23RavClViuu/4V6bFjVxadz1Lj81Gmege52CUkFq1d30QsISwDiM01JIqDBbJh2+nstOIom0U1rjoyAGCT5px0RU97CEfRc7N8XMRl42y0fVtn1I9lxwzuoFrd+1qY1NixnHMpPzRBTiqqtIryimOwIM5PL3KEH8nUQe9ndktv9QrCVtmoEm60k2MrTlLE204CKowKVhODYPQiA1K0vice8cxmPaCREvbMjlGVHNYBNy4quE7GZgNgS8w7sFgzIIfqThKHHomQAkAGO9174NecbnHZ8yhoKYvDckGfCZluR8kwxBAFYLB86mQkbyJY+1jKyjKa0cmg7/aZ8PI10bgq5GIncxqyqwh+lM0CdfAY6c1llBkqS9gxqcLb59fRQOpLv1aK6gf79amnWgQbDbTy7mJ+hJNgd0eJopMHPjUAsY93SUTQhEAD4hPkd87Kz5P8BdLqIUVcw9SQvWcDoQUUWB4rCYGpqwQGqqJMp8Ul0kNKUXfYZNW3oQEFaGEVMyqAYNdXqKotGM1QMWwdEouTwnbLtTcxcms22axWy9nPKerg4iHgfBPaMyLR2+jhMSRy2WpOAxnxG0mhkURdjfkV2zJGk7d0pfSR8wDuGLEPuFLX2P+I44Kem7rF96M6LE25QzG4WgaOXaqzt3XXcWFtwYd20jkNDnpaadfy5oGis4xWlRGXGvVrZ5yNppc7KDkVR6scpxDXHY8jkXgxo3f0TzHwOAba9LvPDjf3QBs7DbPEG+eRt/dBCPd3Qnr1hN+yhul1jmNbcMWdQEcOEHerb70sxRbmNBeDhNhyTTby14fLrkUwlEhkzOgm3mQStnmN2odCTZEKZnq8mVKYGapFMLRCJetk7yVRa3Nfr1cK4bXGXkMwsLzWKu62vkDuzmyYvPXVclCU/xNQlsSd5cKNXiKw/y2w5l2lZ9/YgJXKTfRTNYMDrKJHnijn28zdkvOX5iwJpUi1xfLk2qa8amjcgjkjUJrEf0JBXj8Dzj0O4y4G4xw09y8B6Zi91sLpqQK/nTT7eEP8LTbzUo/WVFWVQf2ztr0jslSTQRXZliydG+dYVagVHTvzOTaALbyrnnWqdSRRYXerS8JRmpCUd9Djr3Z1+AXea6RCDy2JQd6eTewo2av2oTRz6uhB/LDabzy3j3Y+U+REst9U6kiiT7mNCQn6dKPIHkdv3tPQruJMeziTKnUscRJuslxaFDYHbEtg3rbBJlhYOiF+fujiPFR0K27jHuKWe3phTICUBUj22rRQ2SwdEogi69AnmCXdLkiGTir5awgXdQMETp/bDpFZyvaYQTJF0ZirRDHp5WU+FoJKoDLunZmCP9DWdkoGaxY4K3GnxwL+93On1IC9XkV9Xid6wLClZLfmZPLIGcj54m5zxsEvyYTzgsKne/3viL8ss1pRyRSPlMv9Hym6v2lPrbt8h6w6aU/bfnvIcXO1xeEEEf/GHMq7Hhftv6d2NvE4gl+u1A8z2atx6ey/S2cpcdaoH5Jmsn386l+kH6umPEJjdrtf3XZCXLHxkR3pRIgqM8vXoq9V6bQqao4IIvsYMLMm6Z2ukwFsyA6eZPKYQ6Vj5bIiC44BIivyT+O4AA8axnRVcS2dQA6CaX8SqBVZPHgcVOLYxdCFj8RJaHxcH2Uf544tOz5a+CmOqWfQyNbV4sihPDfDkDXaPFzWELlwGvnlhdLxDWVEI1OYQEtJ4wa9HZ6FmEtLxapohykEvrguvidDvD9AL1pNJU9prouP8bvCwzedXzvPu9TfS/wc="),
- this.addEntry("gmdl google media design library card card",function(){var a=new mxCell("",new mxGeometry(0,0,344,254),"shape=rect;fillColor=#BDBDBD;strokeColor=#BDBDBD;shadow=1;");a.vertex=!0;var e=new mxCell("Greyhound divisively hello couldly wonderfully marginally far upon excluding.",new mxGeometry(0,172,344,82),"shape=rect;strokeColor=none;fillColor=#ffffff;;whiteSpace=wrap;align=left;spacingLeft=16;fontColor=#666666;fontSize=14;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],
- 300,230,"Card")}),this.addDataEntry("gmdl google media design library card card",342,378,"Card","3Zhtb5swEIB/DR9Tgc1bPzYkrSbtTWulfXaDAWsORsYkYb9+h3GaEohCG9JpIy9wZ59tnjt8NhaO1rsHSYrsi4gpt/DSwpEUQrVX611EObeQzWILLyyEbPhZ6P5EqaNL7YJImqsxBqg12BBe0VbTKkpVc6MoM1I0l5KuoMl5wjiPBBdSl+L5ovmAvlRS/KKvSqg+mpKMxGILSgcE0x+Viu5OjlmrzIAfqFhTJWuosmWxytoa2DUDzShLM2OGg7BVkrJVpC+2BwRwYSgME8FvJnL6zo9YJfoAvaQl+01/mtsZjQW9D0vQhoAtKSeKbWin/UtQueNRgSErStqjlYt8ANStPsZiwWexuHafivtWKqaH74JBx8jej8drLequuG9AJElJVQ/qyzBHcfZ6nJ+YAsLHsAGSmg4awl6fGpqGmv8B1PwetcfqOaMkPsUtEbm6YhB+IE98DZ5Bj+eDpHUmqhyI2jHbsBJugNf6DjkXcF6JisdasxV5TGVScS2tiUxZTlohIRL+q0LkcKK7Fa9ilqc308+68N1mTNHHgqyahraQdUFHOEtzEDlNdLtQCv1/1tLC8fuB4esD9E1IsBXhd6YFJYpDA0+NsHBsY/8IE34j40ONHyYMdB+XJADjdeSZYDqXEBw0QZ4MPyBPvstjbt9jL4uUaRNv3TE4R90NL3vUTW8z98h5kzzctxd6cziP36MgitBYyuEbKe/XH5351L1GVp/hazB37PPQY1JmtKlvtwtp7YH1Lm02DDfpOuY3kNHkWH/MPbwMvbH+uB32x66zTq47S8FX3nHCgYnHv3zecZzrhKo/ny+W/2Co+l1HXClUR+wTz4eqpAVk/LFbAG8Zjt8wntgx/u1Y7W8m76KnT9++Thqxx8uTO3Tvof2yw3ThDCxDLon0rsHJuA8GNl7YnyTuZ46HupG/T7rTRn5/kzuhC3GwiHDfhWHkeF70/7sw8Kb3IIiH12dt9ddv1/4A"),
- this.addDataEntry("gmdl google media design library card card",344,420,"Card","7Znvj5sgGMf/Gl9uQdRqX27edluyX0kv2WvufKxkVAxy13Z//ShibYfm7K69VDLaJvDgg/D9WB4BL0hXm1tBquIrz4B5wQcvSAXnssmtNikw5mFEMy+48TBG6ufhjwO1vq5FFRFQyjEOuHF4IuwRGktjqOWWGUNdkGqXFfCgmnyfU8ZSzrjQtUGuk7LXUvBfcFADOu1qCpLxtTL6qmDuB0LCZrDP2mQ6fAt8BVJs1SVrmsmiuSIIw8atALosjFtoBotI3RiWe99OApUxKvQrEoxXRDnSqgZr8CUvwVZqrtNYCfCzEoSoRwFjE8CIpE9w1HyfKuYOPzhVN8ao7U/UeGyPi20DPM9rkJao+26O0jm0dL6jUin8t9hKJHk+0XAQ2arh86g2ewXVIku1xeN9ASQb0i3npbzgQ/iKegaX0HN28vw35q8+00nZBdT0N/w0evl7y6dWrdFT4gAK44DeIt83Yzmgk/g2nNb2r3AMjRhdgEbsCg0cJfHkaSSu0IhQlEyextwVGnHUjmXCNHzkCo4ucGz3sxdq386mTMh3hVAXTBwjdPri80oJdQHGMUInLIavm1AXdBwjZC+jJ0qoJw6FKJz+e5tvL9knSqgnDrlByJlNgJ445AYhZzYGeuKQG4TszYJ36d3n799O43R4bDB00KC+64JKWFTkYdfQWpBK2Qijy1IVGeS6XVVLy+UXXbpRYdLaCo31x9gXpoN+W1b0Wz/76XjJo7A9cnj2SCM5C/M389kloNt7Ev+hXxH0tp2XQFfF7jSyufzwsPIP"),
- this.addDataEntry("gmdl google media design library card card",344,162,"Card","5ZfbjpswEIafhstKYAeSXCbOQZV220obqdduGIJVByPjZEOfvgYMIWtQQbtIVUsUYY9n8Mz3Y1s4mJxve0nT+FmEwB28dTCRQqiqdb4R4NxBLgsdvHEQcvXfQbueUa8cdVMqIVFDAlAVcKX8ApWlMmQq58aQxTQtmhKO+pHriHFOBBeyHMVReWl7pqT4Ca0RKK9iJKaheNVGT3fMfCAV3HpzLk0m4T2IMyiZa5dXFqq48sCzWRUWAzvFdVhgsqdZZTg1sXcEumEodBPBo4n0V97HSkLGfsF3U85gLKgbS/4Q8CdIs0Vlk8CpYld4CO4CZyb8JpjOo5ntU/2cOkREUQbKIt3kOQj+zIK/OiomkmIeCVTf8Mj3c4fnG4ItlRKRlAKJRLWct8RbLgNtFyk9MlWUil3j9qIVK8Rq+iYD7z3SmYBGlJZ4Oo9pXnDfYnxgSpfylqsuRz3WjlwbWVBeBd8CWXI6iLSmVCBhR8pXnJ0SbTyzMORwd32CSNW+H7siWhgbtA9rwB25BoayDSy2L5cfMdBwAF0PDaX7d8NFY+F2bzC1Rh+6v8wtffYS8lhcEq2QG7Iry3TGPC9L4lwMkQ3bsmFS/P5L2QJ/AtkW9rFADp+/fhl3Mtd7fs8B8UbDBfF8n1ibvb1kJzm6566tEA7ep9DtYf9vznE0gWDLKQUL1uvNtmOvXKGdj/5BwRYTKKa794+Myr39DfIb"),
- this.addDataEntry("gmdl google media design library card card",344,162,"Card with UI controls","7ZhNb6MwEIZ/DcdWgAlpji3d9tJIq7ZSz24YwFoTI+O2yf76HWNDiIAtKB9aaQOKZMYeGD/veExwSJRvHiUtsqWIgTvkh0MiKYQyrXwTAeeO77LYIfeO77v4c/yHgV6v6nULKmGtxjj4xuGT8g8wFmMo1ZZbQ5nRQjclrPCWdwnjPBJcyKqXJNWB9lJJ8QtaPVAduiejsfhCo4cX9nkgFWwGY65MNuBHEDkoucUhXyxWmRlBgsC4ZcDSrHYLbfS0NIa08d0hwIal0E+ETCYyPPMhVhJK9hve7HRGY/H7sWz3HL6DFNwYmwROFfuEPec+cPaBPwXDOJqnXdX3qV1EkpSgOqSbOEfBDw5Nx7t7ff5VlENQW4cGYgv2IjxRQs46TJ6pArSojJX63vz9I+9gwslVeMRavWCuoREz21y3oITVoXEVdMXW6asodEK6aNGA2IryW87SNRpzFsccdkOfINGz9MKj53MLagN6L4PdiRk8lnTYIb2kKzQsMcdAjkDs+WMR/9uE/amE+2tEXX6OWiLmHZGedIS++yAFLgP3BeHBGK16lgOJ9PlfahXOTqDVzfflPKZlBrGlXNf2fJPqN6LrNI/5damo7CvozcIa2mVPsqd6PRJ4B26pdXTWo95hCTmBJIuLJBMkCWZnkMRzL5pM0GS+OIcm3kWTSaWLnEOUEf9WL6LsRAnmxxcFL3dfJ8zw9seLPw=="),
- this.addDataEntry("gmdl google media design library card card ui controls user interface",342,522,"Card with segmented buttons","7Zldb9sgFIZ/TbTtIhHYztdl89FqUitV7bRdU5skqMREmDTJfv0ONnaSgpt0Mb2oaieSfQCD34eDOdAKx8vtjSSrxZ1IKG+F01Y4lkKo4mq5HVPOWwFiSSuctIIAwb8VXNek4jwVrYikqTqnQFAUeCF8TQtLYcjUjhtDtiArfSlpDI8czRjnY8GFzFPD0USfYM+UFM/0IIXmh05ZkERswIjhxtRHpaLb2jbnJtPgGyqWVMkdZNmwRC2KHGFkGrqgbL4wxbpl60lWGOZV2b0EcGFUcCsSXqrILD/eVGQmUnVg7+WHsT+yv/rZGJX3pl4tnqQZpP4xMpwtZ+CWc3dU4JS4YTAojJJyotgLPSrtUtzUeC8YNKSqrl09qCwjZrOMKotR1dKzsEUWthHJGGexsPCBVMqGgPLjGELQewVBp2uxWUz4FWfzFGxPQimx1LxXJGbpfGTuJ8HedktnqoT6nxDDkz4R9JDDJ9A7qZ3rJ11LcKhrpiy1E5ItaGK0Kz1nuZ3rIa8zXya8w0UMTROp5TKpSKntX+OBPm2Aw/wAOydPlN+LjBUPnchCjQrc7av0JUsS3doRMUR5TssCXeVzQL0E4XGBA6DYwRN3L/NCU1m7b1x8V7Lz4JO900Pp6d6RKSLP7BnXV+NRFDbnUDh06B82on+J1sjfwx7k73/JXyd/qY1P+Qdf8tfJH0X+5R9+yV8nf6m3T/nLAe5Lf1v//uAD9MeW/lEHRj30vYt/WCTcU+JqRlU7E2pI665johO8d+Ja96E9/tJ2fQQf2BVGR+UPteH/U8HskqRw9UChV68lSe258onIpBbDYdzY/eCowxksXgrPwBoiH7DsCH8sadHMQ04Jg9EpgwuolUoYp/Rrw1sDMZCfqLWkuVhAs6Xft0eWq1xWpO+leFpnKi+T6nyc5XcsNemx+AsvPtY5IR+L9WOpUkCtMec87BWh3St0bLtZMEUfwa4zbWDc3Wd7MDTzfB57j8P1e830Hoy9DKz2SoNFrPyWcZZ/qeoXgprV9X0LOrgZldu4G/mQ2V5f+CVS3fpv2ifJC2EQ5zPO1M7LMBp9xDD6PmBRU8AiL8AaifZjLuJnl8tUw93bq60lmcAXmcDjVKV3NFNpD71gslcFYMZwFaL7uw/68LgWtsuVtxi4UNm4n5kCqIPxceDvWnNzAG7M85AXpPZKQ78O6euti0uGSDfac2K1SX563+CosEdoGH1C7vYSB7jlFfocrnyKaR/hwedjGtjLJg/Tx+nD7+mZSINpf3AdeEZ6CcB6Wq7tjqihTceogbAfbvcb80X2w337fw=="),
- this.addDataEntry("gmdl google media design library card card slider",342,570,"Card with slider","7Vpdb5swFP01PLbyB5DksU2WvjRatHXa48TACdYMzoCsyX79DBiaYGelwV7UrlRV4PoDc871se8FB0+T3V0WbOIFjwhz8AcHTzPOi/os2U0JYw4CNHLwzEEIiH8HzU+UwqoUbIKMpEWfBqhu8CtgW1JbakNe7Jk05HGwKU8zEooub1eUsSlnPKtK8ao6hD0vMv6DHJSQ6ihL4iDij8IIxYW8H8kKsjs55sokB3xHeEKKbC+qPNKoiOsa2JUDjQldx7KZN6ofFgR5bVi3bZ8gECcSBT0iWEHkc5AKwzwL0pDmIVcAEk9SAcPT4uDxQXVI+2f6u6yMvOZati7LSyxoGLAbRtepsH3nRcGTErdNENJ0fSuvZ+jJdk9W5TPDsn1GctH7V4lNb4zReRg3EGeEBQX9RY76H4K7q+C+4AJ30Q5AMdAbLG4MlovasuB5wcrh5ts03Q9gBLo9GEloFDHSn5FAtmOVzSJBAKgEuS8lSN5iyam4MwL7Y56bFny1ykmhENoOrBfHnsKx7/ckb+SVf8fkTUAP8gq+OZs5WeOh7GJ2Bb2B1EloIZTYHlAJdVS2xiHzylcVfoqcWzAfALzbR8cGzho72INrOMEK+iMN+C8Wus482p3g0MhEGj2/bEdBHpNIctOs4cluXW41rtdJxK6TSkS/1RI6DN3jBi3W4uk9BeyxPbCvIEAW0B4raEOQbOIzIH+kadTulZoVAel2T0fT7pnp+LJFrDPPWPCdsCXPaUF5ac5qVjozFANT80/rE0infp4Rn2i67oqvUQ+ZKB4iRMY7f06GjG+jvdZT/l9/GFvxB8+GPzROdmZclfKUKKIgjWZ3ky0NHvLVdVEbAfgDtdos0NDESpiLeUH66XJYHb0DWfD39dLv+KLKANTMBGRgWwh7RP7PAxcHaS0inayAXx2nXNgEdOAa+153u6HBTwMfNhMhXTV0mXVoNf8gdA/cLBR29Nv1FvnD9aBPnKSsB6GggmSG6OpsDbHKlGfL0dXEQikarx7RMboYomoYX14uXzmg0PUuhqgapHtvAFEE/IshqkbI47eAqD+5GKJqFPywJXkU9E2/aiHFAyKVTg7Jt7U5hgrG2vgEmdpWTKxEJGqIKsLGKhPoIJ81fIkaYUuZ/3NbvocSGOJJdRya/HX9O/fQcTfCVPfU1DgR94jx0U2u2TzO57OxNzu1ebTtVafi36b9fae8m+Y8DJDjImEG/FCbXdN4pQWnbBNr8HhxtOSlSI2bv5IofZcZCzLjYhsEqvH4CJuRGfAuM/+hzNjxUjX58RBvs3eVMa4yE98GfWqOxHcvspd58Uu2dw0yo0HoH2qQHR9W01InlzBGNa8DDr+w+kdKoX0dAA0phWdF6NVU1fzL/b2wfPqw/PjpoafaS8X4+0s2+CrUXsuhO/DVWsNh088QDsXl0+ePdfXDryP/AA=="),
- this.addDataEntry("gmdl google media design library card card",342,236,"Card","5VbJbtswEP0aHgtQpOKkx1h2cslSpIecaXNkMaFEh2Jsq1/f4RIvVYMKtQMECAHJnDcLh++Zkggv6s21Fcvq1kjQhE8JL6wxLs7qTQFaE0aVJHxCGKN4EXb1jjcLXroUFho3JIHFhJXQrxCRCLSu0wloK7H0UwtzLDkuldaF0cYGLy/DQLx11jzDngfC8J5KSLNGMEMjrQfWwebdngOUGr4GU4OzHYaslXRVjOB5arQCtahSGuOjCIo2Aott7o4CnCQW/s4I7zHyaKxExJR4cxXgfSK6Hk24n0CPadweCd/DSPhP9csHZ/zNTtkUbc+Imgt9qdWiQWxmnDO1Z28p5qpZjJM9YTvsBkq/82yEkIUWqz8mhgYzzf6P6Tz+q6gFLZxawUH9Y9jPe+zPgBSMjM8bWMWJiT/a72GYCHkYhyL4bX81EdISP4zy1NEulckPM0xZtuB6om0bG6TjWU9HIZ/wAeLb/NInh59GtAv6AaKNeqKtY0ANokHW/HqNfxQ+q0Zq7A4TeEYDY6OXV//OGgt0zwAPq4kHlLa1Qqm2/iOO7CD1ayWlhs+q/omObMY/Qv7znvw308uHO4Ru7x+mxwiX/yFc9umE6w4S/injxUlk/PZW5xgZ0dx9Lsbw/a/J3w=="),
- this.addDataEntry("gmdl google media design library card card",342,530,"Card","5ZdZb+IwEIB/Sx8QT0U5gG0fC912K+0lFanaR5dMEgsnjhyHQH/9ztgORxMWtIV92VSUeMZzeD5f9MJptnpUrEi/yQhEL/zcC6dKSm3fstUUhOgFHo964X0vCDz89IKHA1rfaL2CKcj1KQaBNVgyUYGVWEGp18IJypQV9Kpgji4nMRdiKoVURhtO7ukP5aVWcgE7GjAPaVIWyRqFPjZcPFAaVgdzNiKX8CPIDLRaY5eaRzq1PcKhSzQFnqTObBTawXqstIJkY7stAb64KnRXJGxVZMY11iLwEgmliaigVaSIlSmQB88O+A8Vi83TqlgucypWLHP9zN/IHFNxbReHfFPl+JyJO8GTHGVaFuSqYHOeJxOptcyaLKzsK8RUHn+8Fc3IxkoUlBjsxRWWADHnWBi703gF3bzWewbH6IXhjRUqEEzzJexZdyF1EX9Kjolswl1vHDU2Mo5L0K1JsMn0pHkxbM2L5+pVu6nROSewYtoR3MF/a5590v4ppDMeRQJOh91GexLL8O/WnttnPgpv7F0A3aiF7m46e/rxHWX+se2ue5EeWNHvUA/N8w6t34H+TGBuRm0uw/Nw8b1LgBkfBnP0HPrfwaz2XV+U06fjt4TOAzBbJXSzGSRZJAZVsaHWbEpB171hs0F+pPj7Bjsomn1qF4V/HhTXDdKGhT+6AIubFounfkZB8KNTPAMG+DKpMAy68gRf0PmUyZISLaTgeKZwlpdWnZKyUDLjJcKjfnSOoR+WN9q5rASp8HKKpVHk/ZesqKgy75PTlC2NDc/oK0aMODEEQIG52CilFBEHZRu51IYIAsGkzdC0CfRqM2ALY+etZdU32ldSRtKNbJYCpVaDVSZy6wyzJtcR01QL3ArgCr+/wNoGXpusWRS5YtGOgW85tXVNft5ASbrhabn1ZoZTU8+aicWVHX1f2fugzdR0j+hfyslcsCqPCOcDNp76S9tXNz1jnjcp1GzdSKGc45oZHLpE1CnX8IyHPIlrXFTvNqvh9g7Qedm7Hv7zG4F/Oz7P0dM4/8gywub2R5Xtvvub6zc="),
- this.addDataEntry("gmdl google media design library card card",342,386,"Card","7Zddb5swFIZ/DZebAKdJe9nSLZq0LymVdu3hA1hzMDImhP36HYxJQgGFJHQX0xwl4Nffz3mxg0OC7X6taJZ8kQyEQz44JFBS6uZuuw9ACMd3OXPIs+P7Ln4d/+NIqWdK3YwqSPWUBn7TYEdFAY3SCLmuhBXyhGb1rYIQu3yKuBCBFFKZUvL0XH9Qz7WSv+CkBEyqSxLKZImihxk7HigN+9E5G8lOeA1yC1pVWKXkTCdNDbKwE02Ax4ltRu6XjUjzRogPbY8I8MZSGCZCzhNhNE+gru42qzvF08WQyhT6zCKTUFeQ89/wwy5rMh7/OjwrqykQVPMddPq/BdliuomwIc9ymAjqYK6ZsCzcPpVWm0zFjvBdchzYd9v5WOtV3WzbgYyiHHQP6mGakzjf9Ti/cI2EX8NGSMaKGQ15Gn+GqF6q576l4QbR+vOgvfsLaJc9tJviZwKUXQA3kqk+Me+DSf8IdPIW0Fc96GsFVSKLFLG7jO94jgsQlVmhEBKvoRTMCKVMGaioECa3pSrmKW0yEVX4W2QyxQvsQ1EwjNT7i7bxMuEaNhjjWivxeEaNCh6nmBUm5q8cMGCAhUnHmnXwl7baBh1R58mgP8bOi8E9s7YRD6l4tNPTMrvRYlWnwbljxWu3+2sdZ4d7d+hoVpPd90z2GLx8+vYVNW/0mLrmMB+Lvgm3HWLyw7+6MDKrgZ2A3BiXfQdgG6V2z5k1SA/jQTr7h/R/kOogLeePEmaPLyJN9dP3lD8="),
- this.addDataEntry("gmdl google media design library card card",342,356,"Card","7ZZdb4IwFIZ/DZdLgKrMy4mbWbKvRJNdd+MgzSolpSrs16/QoiASYOqSLasxad/2tOV5T5sayF0lM46j4JF5QA10ayCXMyZUbZW4QKlhm8Qz0NSwbVP+DfuuodfKe80IcwhFlwBbBWwwXYNSlBCLlGohDnCUVTm8yyknPqHUZZTxvBdNptlP6rHg7ANKPZCXrCfAHttK0ZINvR5wAUnjnnNJb3gGbAWCp3LIlngiUCPQQG80ALIMdBgajpSIYyUsd7F7BLKiKRwngtqJeDgOIBtuqq8r46liCFkIdWZ+XqTOISaf8Ko/qzMe+3t4HK1xoFiQDVTmPwXZoHsSyUASxdAR1C65zoRlYNapFFpnKnqFF0bkwrZZ7EenXlptFhMw349B1KDuttmJ87DGeUGEJHwIW0LKUzHC7yRcPoCffaplXjLhjqK1z4N2+ANoRzW08/VbANjrAddnoSgl7zgvfwQ6ugR059detWkloO3iHfe9eA8s0atdFfOc1YTrmgk37uL++UlqVuM1XrwFZMbPJdaMKOrryMFxGeSlmFQv2dknp6dPzpGTg060KakALUxzLnFyxs2mtT/g/k1rNa24WE8xTTb373g1vPzM/wI="),
- this.addDataEntry("gmdl google media design library card card",342,334,"Card","7ZZdb5swFIZ/DZepABPSXTa0jSrtS2qkXXvhANYMRsZJk/36+QvygVlQWHs1R5HgtY998j4+jj2UlPsVx3XxhaVAPfTkoYQzJsxTuU+AUi/0SeqhRy8Mffn1wueB3kD3+jXmUIkxAaEJ2GG6BaMYoREHaoWmwLV65LCRUy4zQmnCKOO6Fy0f1UfqjeDsF5z0gG6qp8Ape5NiIF/sesAF7Adz1pJNeAWsBMEPcsgbSUVhRqDIJloAyQsbhlBkRNwYIe9ijxbIB+uC2xHUc2RNhPQi9HMGjV6RQ8+kFDcFqBl884P/4limW8+xilXKrIxV4pX8VuEyFftu11FzK+fIBtMHSvJKaoLVaqoab0iVL5kQrGyzMNpnyJQ9QXyU1irGKBwaudgPa6wChO3EVMc5BowiGLoJHs4CrvEMWpEDxYLs4CzaBdmu+J0RmUi33KybqI1hWdaA6G2LLtNROyXq7ZTX7U9hN4tzl0jHhGV6siE+6XbOPhjDviRpSmE8/htZotuq0Z48U+HN798B3byH7iFZv3z7KrXg2gHoLtuBGr9AHel2gTZwoJ8CZrDIFr7jzJxYYjY7C6ktuMh/B2jxMLSr/1r/obmgxR9AbXH9huH88yz3uboV3eVlSu+2dcewPb6Q684R6zYRxXnAIJgg7oO5/ydcZuiinNrzagoY+Xq8Vprhp7fOPw=="),
- this.addDataEntry("gmdl google media design library card card",300,266,"Card","7VbJbtswEP2WHASfUmhxnOYYO80CdANioOiRMUcWYUojUJQV5es7Q9LxjhpNcisBW+LsfE8zUpRNyuc7I+riG0rQUfYlyiYG0fq78nkCWkdprGSU3URpGtMvSm+PaBOnjWthoLKnOKTeYSl0C14yVVYDieYIDV0KMOBtGtvrYNMUouZbAzPKMs6V1hPUaJw2y90ieWMNLmBDA26xphASOxIm7I6V3TCK3QryR/XCidJstQ9FsH4JxqqZ0NdazSuSWaw5dC1mqpqP0Vosg2WQfYWcQUlGa9GUfW5SNhIhjHZW4wAM5YDno+A6UUD2DrAEa3oy6ZS0hbeg43i3AtS8CG7paOSFovGC+avvmiu6CXQdpi7bo+6xfbKBvYO00UnsPt5Xbm3jnaQn4F0qKTWcDrmBhqL/Ctgkp2Kc/iPGQWZAC6uWsBX/EO4hxU9UlDmNe29xcbXtgXnegN3j6bWwk6gb7lH3MCg5Cf1sQbB9optxS2koVKzVgiktseG6atSKaFCiary6YGVtsFQNSGfH1FMcUa20M2w1q2jAEBKGo//GlkHEasBBC7F0PqrkS06PBj04GqCmWnyWBrVUYPymQusYIAKoaHc06xI9+QrEwvnFPbYDp31ipcRwsmkBXFoHXjnHdTCqmkNLYRkLGixwRtd76H3i3lUtpAxgYcWBRcV723GcFzDIc8viOpo7TseWndCLM3/6gfFTzlfqzCX/FYrdtWgryXTe0uZhsPS2dmWZq2pVQif6lRSaGc/FI23XFcrCI7UFizua+Dstl6275uCQOh8e7CEvuV89+R/dVsnw87v01WX8AX11sddX15Ppw4/vJEv+9hLbfllV/GQdf7PtjNChWzsj861M9FsOG7xcHqBl+MZpF6oL3IbU5yuu35Wk0XGS0v8knULS6P1Zou36o9Obb36T/gE="),
- this.addDataEntry("gmdl google media design library card card",342,246,"Card","zVVNj4IwEP01PWqgRVyvoutpk73tubsMlFgsKV2F/fVb2vqBQiQRE0tIypu+zvAeQxGJ8mojacE+RAwckTUikRRC2VleRcA5wl4WI7JCGHv6Rvi9J+qbqFdQCTs1hIAtYU/5L1jEAqWquQNKRotmKuFHb7lMMs4jwYU0UbJcNZfGSyXFFi4iYEYTYTQWBw36+sHlA6mg6q3ZQK7gDYgclKz1kkMWK2ZXkMAVyiBLmaPhILQgLS2QnrhnCfTEqdCtCHlUkcSMG0V2YteIIaHM/uDLvclgRXC3InWLcE+fWWAxCZyqbA8tcpdmLuGnyHQdp2yT4z5HikiSEtSNyKc6B+ke3Nc9piWDZrlnvypjQl6lTfdM0zzmUwZUqj7pr3wKzRhqAOk2oE3otcN1YcsN/+0xN1zqiR/MW9knJHyCPbMx7PkWYptTuX1Bh/yg43/ijePQAl8ZNH+CQeEYBkkoeP2C7jyzf4LF+O2jH89nuF1+ecT/Aw=="),
- this.addDataEntry("gmdl google media design library card card",342,342,"Card","7Zbfb5swEMf/Gh4rgZ1k3WMha1VpbSc10p69cAGrBiNzTZP99TuDIWE4Cm3WtxFFMt/7YXMfnyHgSbG7M6LKH3QKKuDfAp4YrbEdFbsElApYKNOALwPGQvoH7PaENWqsYSUMlDglgLUBW6FeoVVaoca9ckKdi8oODawpZbyRSiVaadNYeby0P9JrNPoFOkupS7DOusQj57C5nP4sf9u0Eevu3ZTWvgWDci3UjZJZSVoh09Qa47oSa1lmsUbUhXN22nfYYKfkItVvNjnduCekjLA7WaVGciW6A10Amj25vMkU89aDz1xpcpBZjn+Jom6FrI89FJ0Gru5+BnzEYCWRnpaFmYa6mdHAO7H0lfZi0bZiuCeBzceUbptrSIkWeZ4S6moSomhxkFY2Zhl9IUW4NKrxig3UNPdPR2AySeYnuR8EnOMa8etWNKAEyi0Mon2w3Yw/tKSF9NNd9Ym6GL3Z1ICj7dGvdNKOmY12zPPrL3SbxrtbqGI4jXQ0hfQ7+rGB/UGW/GNd6c68S+HNZ5+Abj5Cd5Os7p8eSYvO9bj/iD1qfP+pO6Tsskce6pcwOdlf16Hn2GSXAXKrc63V9dos/ARei9O8zr4q//Ma8vq6+PfA6PbwtdS6H39M/QE="),
- this.addDataEntry("gmdl google media design library card card",342,216,"Card","7VjBbqMwEP0ajqkwpiQ9bpJtL11ppa3UsxsGsGIwMm6a7NfXxkNSNtAiNYnoqkaR8PM8xszTOE94dJFv7xQrs18yBuHRnx5dKCm1u8u3CxDCC3wee3TpBYFvfl5w27NK6lW/ZAoKPYQQOMKGiWdwyAPXAhxa6Z1ANGZVBpbje3ReZay0uIKVSTJPuBALKaSqQ+l8aS8bppVcQ7NSyAJssCz0m+DbeiD+h/+1jzW5cY75bc4NKM1XTPwQPC0M9iS1lrnNUrIVL9I5zpfh7ADeQ6KRz5AnaqgJMACx2VLFYg6tnUW+vdzbxvLFRpoJlstsBra9Ja8hrPcdyBy02pmQFx7rDCOimaNlwNMMaQZ1IKsckO65BwXNDYrYLSg9EvRIy/flS+rRJ5+Cyoj0iG8yuCJBd0V2LcJH9QkRUyCY5htokbtqhgl/S272sc82aZ7TUGSSVKCPirzf56C6hx/XvbOH8m1qm/8qzWNxlQFTurdz2jpF9RgqAO0WoE3olQMPkZYa5JNqYOoJCaNW9gmlZ5Dn+hTyPEm5zplaj1AhEnacJ/5pFLoh/wgUnkGg6BQCKSjFboTqnLN/wuAC7TP9tgkXswkNYRoO+1s8iW2YjdI2TP9723AzbtswG+2xdxnbQPzR+4bPSfTlfQMh4zYO4+2gcxgHMz18u3Dhbz9tvAI="),
- this.addDataEntry("gmdl google media design library card card",342,146,"Card","7ZbZbsIwEEW/Jo+VHDsgeCzpokrdpPIDLpkQq04cOYZCv77eKAlmSUV560hIyZ0ZTziXQYlIWq7uJa2LJ5EBj8htRFIphHJX5SoFziOMWBaRmwhjpD8RvjuQjW0W1VRCpfo0YNewpHwBTpkyxUFLBUhwyUatuU9mtCnAtKKITJqC1kaXMNOzJjnjPBVcSFtKchumTEnxAa0M2HAHZOJTi7FpF5VqFSEbXn9jX2YQTjb3/olMfglSsRnl15zNK60pUZujazpj1XwilBLl5nmd9gi5QRMPt9LU9NzEA61Qfwy3VROPR8+A1UHEVvJ870GUoORal3yyTBWugiQedAFsXmzakqETaeOE+U/v1jF94U3bbyAJDHxbvKtjHupvokLeYxtd3jHpwbtkWcahP/JeRPFJongDr03U/9iRBE4VW0Ln/H2U/YhXwfRkjNauYjDudog8b0AFrvw8WC+jksCowJnjC/VuI1ioSlRwJtZuQwvyCIWMR2cy9sOuxt4/zzweXoD5IGB+nU4fXp61Fp+kv7MHe6kf+s/bWa7Exs4yxWe6tv6NawT/iWujjmdXCbqAacPDpp1emX/TQtN2Nu1PXNO325cUV95+h/kG"),
- this.addDataEntry("gmdl google media design library card card",300,176,"Card","7VbbbqMwEP0aHiv5Qmjz2NBtVKl7kZofcMMQrBqMjJsm+/XrW5oQhwZt07eOhITPzPGYcxhEQvN6M1esrX7KAkRCfyQ0V1Jqf1dvchAiIYgXCb1LCEHmSsj9QBa7LGqZgkaPIRBPWDPxCh5ZcC3AQBUo8MlOb0VIFqyrwFJRQmddxVqLK1iaXrOSC5FLIZUrpaULW6aVfIGDDLjwGxTyzYDY0mWjD4qQi4A/8b+2EUl363Aim1+D0nzJxK3gq8ZgWrZ265YtebOaSa1lvTuvxx6htNLgbA8tLOcOTwzCwjbCVc2CPKYHbAYldlDQdw6yBq22puSNF7ryFTQNQlfAV9WOdp15kHUeWL1z946Zm2DaaQNpZODT67P+yEPzJDrWe+qirzemI/SueVEIGC/5KEXJWUVJmsWKhpcdKRBM8zX09j+lcmjxR3LTmaCtr5hM+wxZlh3oyJX3g40yKo2Mipz5eKCeXUQD1cgGPilrn3AgMsanXtsd+L8qh3ZXmNx4TpAdZ18g+ySS/TZfPPz+ZTB81oCjUTgp/NBn72i+UhdH84Q/adx2yLgbFPtGL2Nb37OrFH2Badmwaeen5tu02LRpdnnXzHL/n+LLD39j/gE="),
- this.addDataEntry("gmdl google media design library card card",300,224,"Card","7VbbbqMwEP0aHiv5QlDz2NCLKnW3lZofcMMQrDUYGTdN9uvXtyYhhgb18rYjIcGZOR5zjgeR0Lze3inWVr9kASKhNwnNlZTa39XbHIRICOJFQq8TQpC5EnI7ksUui1qmoNFTCMQTNky8gkeWXAswUAUKfLLTOxGSBesqsFSU0EVXsdbiClam16LkQuRSSOVKaenClmkl/8BRBlz4BQr5ZkBs6bLRR0XIRcCf+V/biKTvz2FHNr8BpfmKiSvB143BtGzt0i1b8Wa9kFrL+n2/HnuA0kqDswO0tJxrPDMIC8sIV7UI8pgesB2V2EFB3zuQNWi1MyVvvNCVr6BpELoCvq4CjZBLD7LOA+s99+CYuQmmDRtIIwOfX1/0Rx6aN9Gx3nMXfb0xnaB3zYtCwHTJJylKzipK0mxAUX/YkQLBNN9Ab/0hlUOLJ8lNZ4J2vmI27zNkWXagI1f2G5tkVBoZFTnz8UC9uIgGqpENfFHWPuFIZDwbOLZ78LMqh3YXOAvnP8iOsx+QfRbJfpUv7x9/GwyfNeBkFAaFH/vsncxX6uJknvAXjduNGXeJYt/o99jW9+wiRT9gWjZu2vmp+W9abNo8+37XzOPhP8WXH//G/AM="),
- this.addDataEntry("gmdl google media design library card card",342,272,"Card","zVXbboMwDP2aPLaCBLo+j219mrRfSIchqAGjkLXw9wtJemGlaqXSqZaQkmM7ds7BCmFJ2a4Ur8UnpiAJeycsUYjarco2ASkJDYqUsDdCaWA+Qj8ueEPrDWquoNK3JFCXsOXyBxzigEZ30gON4HW/VPBtjnzNCikTlKisl2XWDN5ohRs48YC13iN4ijsDhmbj64HS0F7s2UK+4RVgCVp1JmRXpFq4CBb5RgUUufBp9MWDvHFAfsg9UmAWnoVxRti9jKytnTFSYQW33p9evT+NgpH770EFkutiC4MCY6T4Gl9YmNI02He0cBndcLs/ALOsAX3G6aHRm2iOrtOc8kZAHx64n8hyXrZ5PyzzvEzlXABX+hLTf2RZWLtTgWHCqR4jcoTLSdSYxWwgB1s+QI54CjnWiJuSq81TKBJGIwMyzXzM4nCgyPIRA7KYQhEFteyeQo5/HJCQxffrYbbHV9iFnz7Svw==")];
- this.addPalette("gmdlCards","GMDL / Cards",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addGMDLChipsPalette=function(a){var b=this,d=[this.addDataEntry("gmdl google media design library chip chip",170,32,"Chip with text and icon","rZRfT4MwEMA/TR+3sHZMXx3T+aCJiSY+N3BAY2lJ203mp7cthY0wHWaWkPTuen/6uwNEkqrZKlqXzzIDjsg9IomS0rS7qkmAc4QjliGyQRhH9kX44QfrwlujmioQZooDbh32lO+g1bwp2EtldY9UaBCtXZsDD3Zd0tptFaQ2w5qq9JV9OUUcWVEbJT8gkdyGIBshhbWsc8Z5p0KYgF9Wr+ROZOAqWTjXmqZMFE+Qu8rx0jlKYUL0BXHJOCuEFVJ7O7DR1qF6UAaaHwl4Vbj+FmQFRh3skU+WmTKcuGkpRSWwogxuJLChupWL3vXI024C0vN4yQjviGdGdekZeHwBbtUUbiTmRZXx+U77u05Bu/JrKhh8EUzH4BwXBZwatodB+GtgLS/D6vhYR1ZrmEjlLnaPmx9d+6nd5KxxzK/CNHQ4hK9tHrfy6XStxhA73WSIIf+LZLasPvmsgxbSz26HEWSeazCjJvS3mNSX+D+GuBn1yjYm96u3vAdmeGpnlr92Jh6gGfflTFtWf55iKx7/1i3c05/5Nw=="),
- this.addEntry("gmdl google media design library chip chip",function(){var a=new mxCell("ANZ Bank",new mxGeometry(0,0,170,32),"shape=rect;arcSize=50;strokeColor=none;fillColor=#eeeeee;rounded=1;spacingLeft=24;fontSize=13;align=center;");a.vertex=!0;var e=new mxCell("A",new mxGeometry(0,0,32,32),"shape=ellipse;strokeColor=none;fillColor=#009587;fontColor=#ffffff;fontSize=14;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,
- "Chip with text and icon")}),this.addDataEntry("gmdl google media design library chip list style",358,642,"List Style","5Vldj5s6EP01qE8b2YYk5HE3u+1WaquqrdTHKzcMwY2DETibpL++HgNJCCQhG6iqXqTVwthjhjnnjD/iuNPl5l3Kk+ijCkA67pPjTlOldH633ExBSocRETjuo8MYMX8Oe3uildpWkvAUYt3GgeUOL1yuILfkhkxvZWEIeBYBdieO+5BFPEF7CjMz/kMopJwqqVLb1Q3thd10qhZQtsQqNj4Pxasg1bA5Ga41FbG+A7UEnW5Nl7UIdJT3cId+7haBmEeF28grAudZbpjvfPdfb26KBDQnw60lg5pY7l1yXU5UrL+KX2ihrnnmUsxjbM6jPc7ZlFF/+HAqZzjYQee39sLOCZ+JeP6lyIC3N31TCb65DKSIGeNMITNhfS8ySdsiwl6HCPNyWwqSa/EClfFvQcl7JWWXmznKbDBfBnKgVfLfD57eRFW3OTFVh22hwsEwfz5ImzeqZ41em7Xi/Z+VMGHtXn43YZXX342rI6gwzEDXsr77ilZADGtATNUyURlcJZdm2lc18jShTyO3kcIHamPksmByddwd6lJCqPcdPtinxzHrWR7D8W1Ab6sq6xTYURcKK9Nagbc+R5RYts73sDnfZ3RGm3Q26kRnpQZKmfk9oDHuAo0M4qCl2HYA3QJH6yJYfk1l6mDdFEH3CB1Ke4DHr8HzTd1QAA0AYK8zwJytgobZtSo4sdf1VdCO1WsVvHG6K5D1+wB2Ugc2hReTUkaeeWwEVUP5CFiezgpMhqSl9nbQp2oVB5YxtIYK8xpWma1Q8q+vneXi9xA1txt9jsmRPEc9oEhJF+VzlcHJteIRhCN7IfxZYnnwGIoNjt4OosllITVUzNJ2y7q6rI4HmbqXJlJGPoHM1P+D7qw/ujPi/wm+v3ZH3zXfW232W+z2+2J7fbP/WZqybkyhrfE6AowEYIFLpwvcP6bn9XP65Xn4z27fO5qZabkG65bk9TOAZ+Ew42ck5VKk9XvT/HOVYShrHmskJNFmYUZmEcwWOFaMUSG0JAOEWoQYtlphInhgGzFRScEKHQn8t0pmammQ2XNjYG6/4wAm6Xm/eJF3UKFNKg/yx1VSxvCJJxzdPmAmyArHXcRqfRDEGwxAigWULnO1C3cNb2w2ltw2G15A+mJAUnE2uIaoXhuFF6Z1JDR8NaREz7UpFMaGxBMzLu8L6mpcVZ4g8mkS55bnknp989ojpBti+5M+iF0/U2lXva84TCH26rygbCsOF2HwO0Hhzutjx007OQD5wU2dOXcAcgqXVx6M0PNbcTI4OqxoXP94dai6OpIcV1c/fZxI0hZnJSVWxlMkGfxVCP37ANVPSy7NWH8POuN/DR7zuP+lMe9++EPkbw=="),
- this.addDataEntry("gmdl google media design library chip list style",358,642,"List Style","5Vpdb6M4FP01aJ4aGUMIeWzSznSl2dnRzkjzWLnBCWwAI3CaZH/92gaSgE3Ch2k1XaSqibGdm3POvb73BsNaRocvKUr8P4mHQ8N6NKxlSgjNX0WHJQ5DA4LAM6wHA0LA/gz4ueGuKe6CBKU4pm0WwHzBKwp3OB/JBzJ6DIsBD2U+5tOBYS0yHyV8PMUrtv9iHYThkoQkFVOttbj4NJqSLS7vxCRmaxbFR+GU4kOjuWKosPULJhGm6ZFN2Qce9fMZ1tTNl/k42PjFMscuDEdZPrA5rT1/e/aiAEANhiWBYTJb7i3QDRMS0x/Bv3zEtNh7FAabmN/Ora1jtoSmO100YcY3u5j8WVx8coJWQbz5u0DAPg/9JAn/5NKQwmZuZ4ozZtavAkmzLSOwHyPQzsdSHCIavOLK/kNYsntKNjpsuJtNNpEXTihJnl9QOkiqlhqY6oJj4YWTaf7+AjbbkVEzu6JWfP53EjCzTh9+N4eVj7+bVXcg63WGqYT66Vu0ImIqEbEkUUIy3Mld1LKv+sjj3Hx0LKWEL7wNgtsOk3vH3aVfhnhNzxO+incPMziye0xnw4g+Vr1MK7GODg8rYa3QK58RJZet8Z6q8b7iZ6bKzxwtflb6QOlm7ghszHSwkeHYa+lsJ4KG0NE6CJbfpnJ0QD1B0KqxY5oj0ONK9PwkAwIgIwCL6woxV6MgU7YUBefi6h4FxV6jRsGBx13BrDsGsXOZ2BS/MkgheEIxcyiJ5RqxKF0VnExBS987UZ+SXewJxZgSK9BWZJmtWHK7x84y+b1kzdLjnzNQc09nBBZNoCN87jLcmCvWKHTExenPEqGDh3Vw4Lu3o2h+25EUEbMcG5JXl9HxAqn7kFkKwTccZuT/IXc4ntwhcN9C730ret16b1Xst6j2x1K7XOx/D1lYZ0NrEeOpj7klGG956nRD+3V5dj/Tb5/Db1u+azqZzTIH0ytyuQfwFBiQrWMuZZlc1n+w2//sMm7KHsWUCxJQlpiBlY9XW75XzK3i1IIMc6qDNTeb7DgQyBM3OVBJoQrqB/zfLlmRiDFz1saEvfzFN2Cg5/PibT6BrAWoyMvf7pLShm8oQXzZV44E2PF9tzHZXxjxiRsQBltcLtmQk7l7/EmgESFxm+kCp6+MJBJnky5Ctdt4eDG09wOKfzBR8pV7FijYGBdesELhfSFdyrPKBiE3izgfeSqlN7aubQD0CNudjyFsuafSLnp3aKacC3Amcya6SxpGiC5wbsssmK6ePtfUqRyp7hj1t9m3HdKBEwAWrmjitjs2G4ruW6jPdJybWtoRffKLdtA4nXM+S9EesvS0h8x6hTOKPuUOxJJFebTihsQoktuxDMD6WaBoGpzjhNQ0qEf+F0IpiaS0ZTrVRJstkabUd1mrDtK3XPZTUfY/+4YN8AFFSYgnLAdog6o9CNX8POXb/sXnUg6GA8ZD2XpDmGHfspxtEyQZHqWX2YRP+2amonqEA/ONUzMT1mJJjQUtsQTKPYAe0f2gqoBOR1zPvn+OYyM51UTAkahRpIJuMwetZfxu1fagROEsYevjnYeKn/HzCN4jgFtte+lAEb+jwPNCPCReX6fPVQSg0eK1ll/d30/orny2/fY6l2tFX/wu8Uw/mNBNG7yh0t+k3OOX9qr7WFlwsxPiDtN6KW57FHFrKTNf0Gp79RmEJl765ijXE0gwqT0voPwJQtUu0fRU0KwalsZ4KEjxe7hE3K1c/j0Z+vgEyQVuI0FNTyi8Gzuzj0YPe3t+2Deffvks8H8=")];
- this.addPalette("gmdlChips","GMDL / Chips",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addGMDLDialogsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library dialog dialog persistent footer",280,472,"Dialog with persistent footer button","5ZhdU6MwFIZ/DZd1QigfvVSsvem6ndEZr2NJS2ZTwoSo7f76TUJAaMCtCnXWxXGmnHzAed5zThIcL97tFxzl6Q+WYOp4c8eLOWOi/LXbx5hSBwKSON61AyGQ/w686Wl1dSvIEceZOGUALAc8I/qES0tpKMSBGkOCihSr7sDxrooU5crO8VrOf7UhlMaMMq67eht9qW6Cs1+40YL1VU6QsBdpdOWNeTjmAu97HdAm8/YLzHZY8IPs8kISkRonotJJkGKyTc2waWhcQUVp2NZjX3nIHwZJNx7PwrNgbCvJQPBAJjfEgiUdUVyUS2SN6CUl20y27EiSUO1+jtYk2yr/A8WPZeKO/FaDIajuzWwKEMeFbH0wrp6MDH4MWWBsHFMkyDNuzf8ZjFML453kgqhmJ197K1+rh6QBtsQb0YTWCK0IqL82TNd9HXrPcmkJzk7Tey9N84gVI/LJEBzaolQj2GZTYGHRr1/sJEF8S5D5fi27KJ97hGjS9VuRDPtl+rpYHoj+bAz6gZ0OeP3EiTicWk8emRBs183dmK5Ml2u/IzX6Uui8GvnDaOTCMUQKLZEiAC/cvbTNL1fvLFfNxPnavJgOxDwcg3lkMV+honhhPPnoQvvGugHALIiif7UwQXcMAWaWAE4Yf7Qo1RUI/DUx6s3P99HH80fQpxL9rf16tUWnJMP1Vryip9bqjC3RozpqaJbWVn0k7mYAuAB+aEY1pZhG40kxyhbKde1VPJUnGwWjp2YdHZ5sZajSZcUKIghTGcVLFnWmLY/a62qHTApSnV6fq4rq6oqLQF9HC9pUxQl7yhJ9QtTxZDJ6wDTtyFL4ydDYt6c5VAE3StLah2wTKSh5RtlaooOA5UrT4r+PmbroaKWHLPbniyJ/lHpjf4uIL2/j+bJveW4i9zr2nX3LbW8gDFD93RYoexkIfVukKRxEpIkbtGWaVBMPK5P9rSP+eXs7j++/k07RiDpVcw8pk7x9/aZadm9+cv0D"),
- this.addDataEntry("gmdl google media design library dialog scrollable dialog persistent footer",280,345,"Scrollable dialog with persistent footer button","3Zjfb6owFMf/Gh5dShHER2XOF6/XZEv23EmF5lZqSjf1/vW3hYKYwuYcdbnDmMBpz2nP50t/4XjR9jDnaJf+YjGmjjdzvIgzJsq77SHClDoQkNjx7h0Igfw78KGj1C1KwQ5xnIlLHGDp8IboKy4tpSEXR6oNMcpTrKoDx5vmKdopO8drGX+6IZRGjDJeVPU2xaWqCc7+4EYJLq4yQMz20ujKB9045gIfOhMoTLr3c8y2WPCjrLInsUh1EmGZJEgxSVLt5g390ojy0pDUvice8kYjacfjGXjmjCWSDATPZPBADFgyEcVFpUTWiE4oSTJZsiVxTIv0d2hNskTlHyh+LBOP5K9yhqB61tEUII5zWfqsU70YGbwOWaBtHFMkyBs+i/8VjEMD46PkgmjBTnY7kd3qIKmBLfBGNKE1Xq0QqN85TNc9uT6xnbQEN6fpfZambmLFiGwZguO5KJUH22xyLAz6dccuEsQ3BJkd1rKKyrlDiCZd/+xNht0yfd+73BP9sQ36gTkc8PqVE3G8dD55YUKwbTt3bZrqKvd+y9DoGkK31cjvRyMX2hBpZIgUAnjnHqRtNll9crpqDpzvHRfDnpiPbDAPDeYrlOd7xuNrF9p31g0AxkEY/q8TE3RtCDA2BHBG0bWTUj0DgQ8HRr35+Tn6eL4FfSrR39uvV1t0SjJcb8UremqtztgCvaijRsHS2Kpb4q4dwB3wR9qrKcUwtCeFlS2U69qXoj41WZfieBbjRsIM/MCGMOaZNposo9miax5rLtBeywLdNS91rj09aPORLCO/ZWmHX1NFNz1wq/FSyVQF7lcm82wd/V4uZ9HTT9IptKhTFbtPmeTj6eNTWb35beof"),
- this.addDataEntry("gmdl google media design library dialog message dialog",480,480,"Message dialog","1Zhdc6IwFIZ/DZc6gSjqZau2N91OZ9qZvY4QIbuBMBCr7q/fhCQoBC1WmNnFcUZOvsj7nJNzxIHL5PCcoyz+wUJMHbh24DJnjKtfyWGJKXU8QEIHrhzPA+LreE8XWt2yFWQoxynvMsBTAz4R3WFlUYaCH6k2hKiIsewOHPhYxCiT9hwHYv7HLaF0ySjLy65wW16yG8/Zb3zWgstLTRCyvTC64kYvjnOODxc3UJr00z9jlmCeH0WXPQl5rHpM5mqTIMYkinnDiApliKqxJz3EDy1JuzzQkucV74UhwUWBInyTVnKbJED0gZIoFeaEhCEtJclQQNJIauJLTVnK38kfOdKF5l4vIUXLcSFaf+rtuw0KKUvxVQBIL0/xlndF4H0XgbLlmCJOPnFt/nuwTL7ptckhkpE2jpKQjg+VTEZLr004v7y6KgXblaoPOOrIHE/V/ZmO7sSW0dg6y6jXf2NEPFa1+AhOasuPZvUZ2HZbYG5hqHbRiczUIvPBLDZCQH7y+5fSEU++f6b9HMhPS0zooR8sExa/NSiGdGwI7iOiCfhgAAK+ReB9t/klj6ALGC5oa+KhHZI5kMAVaP8BARdMB0Aw6+N40lmjfkK5V4/2ljzQb1wcawO+YuRPe2E08odgNLcYPViQGgn8q2ShJadog+kbKwgnTCbaQKiK87MC4KXRgctTrMrLVndTL2wY5yypB6wHTiH6qNtXI2gHZZXFGhVbUF4tQd3JTWY3uonXkt36SW4m8RifMdP26jOLPuIacY6COCk17L/+uJXIwgbSE5FZo9qYDEHEBX0gyeiu+BdgDFj8uUYpgwMuhsDh2sXH+nXVtfJo/tNpnGHeejZ/OqtJVPUHrv21sg7Ve7JfaxHfElIDpEJTwi8aFPtIjeL29L5BdT9/HfEX"),
- this.addDataEntry("gmdl google media design library dialog dialog",280,273,"Dialog","7ZZRb9owEMc/TbQnKifpgD4WCmzSJk2j056t+JJYc+zINgns0+8cmxAI1VC77WmWIPbd/e+s+12kROmy2m80rcvPioGI0lWULrVS1u+q/RKEiBLCWZQ+RUlC8Bcl6xe8ceclNdUg7S2CxAsaKnbgLd8MoGGjVCHgncGtUBm1XEncGtANzzBw7WXGHkSQMWpKcElJlC5MSWtn15DhLRY5F2KphNJdaJp3y4VZrX7A0SOVBK9lqsVz7JRK2i3/6XLFD+E8yES65UQ1zbgsnlWNjskULW3JLWzR7LQt9vcU5ZK5ECp4IfEgIHe3bEBbnlHxGMzWJVuE/qAP9i/2uDOFBm9AVWD1AUNazmwZ+jz3HEgJvCiDLJml3kiNNxS99oQMN4HadYLpiOAnsD3BrqKoXY26djQZWNAVlzAge4f755I7dwVUmo60ZK5VqEMuh0rtLkaBUUvxYdWgFN6VQAPO3ZbdQ6pTZewX/uudlJj4bjRA2F97QXw6Jv7QrdcS12Aw9feAJe4tH45Q4luJJ68jHk+DUYPATjZwVuDaGIQaXxSXjurBR8zIuULluXHUL8amv9lNk3Q/mqSnj9vHzdfV6hZY6RhWsprN18klLPJbVuTK21hxxlz1/q3NkAXo4yXC1d7K71xwODsN2F5Dez9/G9lQetKPSKg+OSb+o6zfj1j/B/2PQc//Amc8nr4dfPjw0+IX"),
- this.addDataEntry("gmdl google media design library dialog fullscreen dialog",358,642,"Fullscreen dialog","7Vtdk+ooEP01eXQKQhLj43zel5mtqZ2p3cctVFTukGDF7FzdX78kgWgEvajgfFI1NZFAQvr0aU7aNkDX2fJHgeezBz4mLEC3AbouOC+bo2x5TRgLQkDHAboJwhCIvyC823EW1mfBHBckL20mhM2EV8z+JU1P07EoV0x2jPFiRqrhIEBXixmeV/0FGYnrX00oY9ec8aIeiiZ1q4aVBX8h6kzOczHnSt6KFCVZ7lxu3SXX+oPwjJTFSgz5RcflrBmB4rSZNiN0OpPTkkguHC+ajmk7d/304kAawGwMpBkDirVcInCQTTCj07z62Kxu20YA9AfJ1S4bTXhebgy+q1s1eI5HNJ/+KZ84Wnc987nogHLuk1xjta6CLOh/5G9pOWiLQHgcAmHU9BWE4ZK+ks71T0ElOtJFs+W0otXFNBuzi5LP/xni4iTXRGbDdCesJOsu4ubzhtmiRLcaPNRq8v6PnIpltTfvDcLO7Xv97hX4ZLIgpWb19imsgIg1IP4gv0QHea1MdAhFzK6/zZNBkqbKrYUji+4Q/J4iDR961cwKTzrC7FIyMqPjcbW8lqKMTMr1zPv6001yfu7E/dO8YNWloFPUExf0W2qg67uFMnZoa+zYbOw9DFRs88BAuc+2BBx4gKKvQfF0+detBoewWdnlDUS2vAH7aCNHXvGy5JmCu8Od9ETsjLEUajgmQMdRCYBTI2nSvXlvW1g4QTLVkJyR1aTg2U+e43KG8yAC0wxTdjESlj4ktBojrICb1G1n7KucJNlymsgYB3d6h9cAmTgJkCn0gOXAiT4pKM6nDcssNsdB3WyNnp4oXKCBbrEbtqmY1rLNA0Bq+RsI3TaSBeQ4IxbxE0E9fg7rZhM/hzJeavEzNMbPNSPTswuR1A3PIPKhPyE8kmmM5jqxNmOiWyMvFZNABAcamZBy+Y4IAU7sHsLUh931JME9H4l18txGe0Rn4g4Eb0yeviMQVR7CLYh6cuNDksdgd1fkSb2QR09f3BUGTWcgjmHTSer22YgTOQJw4IU4etrjrqBBKCaCB1w9XhUfgfjXtwE11kEFdfvAoIbA9D7mBlTkJxo6yWp4Fe3746P+TuxRpEMlKxQmkY/3KKinNyKZfQePD++JWzq1uql3H/D2PVCsTR5vweuHcnrO45tytu/Fnhh3bOriy2jCVq44tXuoJySeuU2A+1aEB8KXeIFPz0N8K8IzKkIvMl+Fvu/t6RhFGKl7ucVEz1nEH0URekH0nCLQD8vcFHN8EZZtiUBPJNPzG3aQfBkRGIVeVMSxKYgvY/c48eLveprhkrHeDV4dEYlGMzJ6GXJjeUurzDfDkYxQesULw0PCHvmC1l+rrKsH1aZ0v3V+Vy3T74o35IaFgGGnPMVNNiOiqc7txC8Wl93LKGaqugC3HqJnKh6F7SZ0JDqfSpyPcTEWh8/U6stj8RawW4RYwlXXZpz3FQyeuIkpEiMvEL3/oov3qyNi5KM4DelJDTtIDqoJlbRxS4WddWbm3ETqhBi9yIeqQMfWSHSIMcSjF9OW1lZs7sLlyErOxnf2aA/FhLep7extFSn5KG5BFvkHhZWYSecLowh8M4Q+P0AWBRR7Q9pbotP/bPAEVRWF+pFUM3zzN1T/Aw=="),
- this.addDataEntry("gmdl google media design library dialog dialog scrollable list",280,270,"Dialog with scrollable list","7Vhdb9sgFP01fmyFce24j43b5aFpF62T9kzjGxsNmwiTJtmvHxjy4eAkrlpLWxWkSObA5cI5B3QVL0iK1UiQef7EU2Be8OAFieBcmq9ilQBjHkY09YJ7D2Okfh7+dmTUr0fRnAgoZZcAbALeCFuAQQxQyTWzQJWTuf4UMFVLDme8lC/0j0b8WPcpYwlnXNSzg1ndFF5JwX/D3gjUTY/kJOVLHa86Nj8ICaujZ6ghe4AR8AKkWKspS5rK3J4jNudEOdAst2F4YEFSGSDbxu4oUR+WlXaGAoehZ16Cw1JKqhx0CDInrCkrVplW9jorUnYtSEr560JKXh7QGNr+HlmobnqpOZnSMvvJ53btZU4lvChUhy7V8rtJCsB6CiOvwCa8opLqXPfCUDLULNMpYeOD8YKmqT7HkDCaaYDBbH/+nYW384y2vyz9uE3tqG5dBcbnBW7T12ICGJH0DRrLt2luM0w4VYkx2uwnMhFr0w3D5gJ8NqtAOpbZbrOTi24cFyWEMVpJfnHSl3WSj3APVgodK41IuS4gvTxKX9hK4aAHK0WOlcaLklxsdMZGCN1GcUvts8X/O3vhXl6qgWOvSV7XTuiHUlS2lVEnis3BKScdLTaPlacHdti5zI82ee2udJUqoFK72Jiic93aQeK2ujWM36lx11o2dgT5VwX4XMLXjYCz9OOPXTGb7Srs407duoXk3XPyMHaEVDQdChi0CWifrHe+xejUE7qRdqp0AdFynT6iZTPgqLJRD8La1Ff+DWpk70dpHzlSf3+8yNyUuY/7u5E57kFl1d39uWOm7//38xc="),
- this.addDataEntry("gmdl google media design library dialog dialog scrollable list",280,112,"Dialog with scrollable list","7VTLboMwEPwajpEMbl7HFJKoUltVTX/AwgtYNRgZNyT9+q7BISEQKZfcagnJO7vDrmfAHg3zw1azMntTHKRH1x4NtVKm3eWHEKT0AiK4RyMvCAg+XrC5kfWbLCmZhsLcQwhawp7JH2iRSFQx0xxBrlmCL9m0JZU5SldSZay0Ww0x5p8TVZid+LWIv7CxkDJUUummmibNQrwyWn3DRQaaZTMZ46q2/KvXzV18QZo1C3EmRVogJsFO+VyVLBZFalkj2T1oI2ImVw42qkTUHR5zcLgpYAM59bagcjD6iCW14CZzIi5akUkGIs1ONN9py6oWSDvu2Q/cOEvG7aEDe8LVe7h+HViCB7i2gg61I2RBN/5ZrC+rQkQQqDNhYIeopdb4OfYUJSMK5oJz271TOkbFQJ+GcKP596ocjKvcJxx70YUD8xEDpk5/DZIZsYced8wU1/1DCRyqaz3xZ6TXfTK9MlYlSQVmYGt3irucfhr+iC+7cPUZ/Vvdt3r5QKuXD3Aaw/N13pZf3vZ/"),
- this.addDataEntry("gmdl google media design library dialog simple dialog",280,250,"Simple dialog","7ZZdb9sgFIZ/jS8XYRx77WWbftxs0rRW6jUxJzYqGAtwmuzX92DIp50qm7pIk0YUCd7DOeD3wR9JNlOrR8Pa+rvmIJPsPslmRmsXemo1AykTSgRPsruEUoL/hD6ciKZ9lLTMQOPOSaAhYclkB0F5AofCnJWvXYsdVpa6w1r9NOvWMk6zNWt910CJC90uhJQzLbXpo9mib6hbZ/Qr7EWgbz5SM67fUEx9um7ck/jlC+KGw3gvifQNdSZF1aAmYeFXtS0rRVP5IgUOl2CcKJm8ibOcbje148bJLunZB+++5KjgNXTGiiX8BBs2QaItWBBWJ63tpejrI2gFzqxxypvgro72XsVKNYiqjmk0jyKzQai2uTtS2ImwxsFlA3CdBdMwBcmUVIoJOSm1GmDjzNbAN05EhmpV+QM4qRSXE1/mkEiafxoRJTj3Wzk+L/n99deHYnBeGt34yZLNQf7QVjihfRUTvNxW/3YU365yFkU6TnGTkIeMdRgWcbjHeDqCePoJhKejhAn9z/cv8k0zcjHA+QAw4/yMRy5WEa2Fi0Occ//7FyBeX+4uLQYQ/+CebGVnx16WR6/Rl3g59FzX8o9do4eu0YFpaTE0baP9hmk43H3R9LGDD553"),
- this.addDataEntry("gmdl google media design library dialog simple dialog",280,250,"Simple dialog","7Zldj6IwFIZ/DZdO+BhBL0dm1k3WnTGZTfa6yhGaLdSU+rW/fltaUCyOJsrFEpqYlHN62uN5H9pYLS9M91OG1slPGgGxvDfLCxmlXPXSfQiEWK6NI8t7tVzXFh/L/XbB6xRee40YZPyWAFcFbBHZgLLME5qBMDGcxbzoygE5PxA9IE/QWnYZLMUSkxUmJKSEssLrrYom7Dln9A+ceKBo0pOgiO6E0ZHhNOOf+K+cUKSqnk+C7KLJoDVaiox+0bVwDIKjpQwkaAFkTnPMMc2EcSkqAGKWCSI4lgYCK5nvFhjHS0RetJnLGSe6DMIH+4ulLEy6jlOgKXB2EEN2OOKJLudIldtOAMeJDhtqDWyUK0NcxR6VER0tTrNQniHUe5M4EcoTkCG2KnShVLqPJWBPcRqRJ4YiTBcbzmWVTsvv+LeW375efaa+flXt2Zk/xVEkc76mTjVO4fRbl9ptAswv2q1iutfFbNCytDEgiOMt1KZv0levMKdYLOzaZT6+ijiox+BsArpa5cANPKo0byLm2SAmRITgnNOemk5Q45S790OxGRrYvOJ+p+kMM4HXAjO+wcwUZYcUoh6bbmBTnSYPxSYwsPmOsphueC6s8rDq6ekGPcGwBXpGBj2zTYZ6ZGrJjv3RyPyRVtn/O5S88qx5KEpjA6WPBTAhSw9TF/YfLwhagMaxDWrmCV3QvKemE9Q8lyfMY6lxDGoMXs5v2E5wCL7C4eKN26U7ujOdj/gU2DHIxaqlus6dGh5qAdfvzO6TVK82KOd5rIbmrWn48h6+zQwlRZ3OFfSaFNTHsfFC7xLM4VNYZehO7Bc1leyv3s1S2+oetEhCp3avmPWAi9IGLSirlx44vl1bvSWpzXvXjx+9zHWZxy3KPG5BZfF4/IdFDT/9A+Yf")];
- this.addPalette("gmdlDialogs","GMDL / Dialogs",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLDividersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library divider email list full bleed divider",358,642,"Full-bleed dividers","7Vxtc6I6FP41zn6qAwSUfqz2defeuXu3O9OPO1GiZAqJG2Jb76+/SQALJlpQaAtTOlaICYTz5Jzz8Jg4ANP45YbBVfg3DVA0AFcDMGWU8nQvfpmiKBo4Fg4G4HLgOJZ4DZzrPZ/a6lNrBRkivEoDJ23wBKM1SkvSgoRvoqwggEmIZHVrACZJCFeynKG5OP9kgaNoSiPKVFWwUJusxhl9RPknhBLRZpJdCjGOXvZ2VxVlfb1BNEacbUSVZxzwMK0BPD9tFiK8DLNmIzfrOEzSguW27evdi53MAGZjAM0YtujLBbDq2YQSfo//kyU2EMcwwksiP057u2uzqWP73mSfzeTJCpWv1SYrr+Ack+XPzALua9EvupJXzjuS9Vn2k6FEdOshs6RdFRHnOEQcNy1jKIIcP6HS+U9ByT1yyMYvS+lmw2UcRENOV79nkJ00VIHZMOUGm8wLh156XDCbO9KtZte1Wnb9HxSLbm0vfnbulC5/Ni6fgS4WCeKa1bd3UQkITwPijszoSy1nMQ/6sodcndtXI2AcwAVfc6wD7iKRxHMYXWS+GOMgkN3bOmeEFvzVh/5SR5djZ9etztyWvcYbn4b/pux8jeI9asLxVgwtkDDTHCUa/HoGybF2qprdM5v9gBfmpip54agRL8xPkzuh3wIo4yZASRBk8/AgHkWfzNy0WYgqh03bFDabAexs7LePmP82YqIBXiWoYnzcYvQu5s8IZTnXW82YH4zL5retFux/3oTHzEM0fzQ5zDZZNecw/kHEvJLJRrq7ODpe/n5kqrKwHJqCGUVyFQVTSghliWbTAyx5ZDIkUtuB0b6TundTPJcJO8/e26uUkrn9/qzYPzFQZTD7Oy0acQzb1iCdsDURicGxeIgTeXsIPSIi6l9r+ApjmZ5+9jKvMtVS6BwJRToUD2NhtRC1MixAK1joD+Z331SNGZLViLw+XTPxRuQtzcR+iETMcqyAygHvWIgxSAKJ2nA4PBaukhcVsdph2udq6yyGXhuJxjboCSJaW7FE7204nDpw7IoMpUBXeIzJBYODGJ6EWLlFAT+/ReLgt4JfI0pDwg0yg7D2RP29qaHVZgu1cbHHOi5N8WlwXmIn7biZrkPEIkaKdtb9nHKe7n5HhGDx5PnFS9rkJfaoDaHJ1pWH+3UcSzCtyeTfz0RF9jxddZqK6BLDA04kKbwTrzldR4F6z51utpY9uvsWi/9U7dOFZJD0mbwSyS5Qko/Fsp1YqYsPqvt6WOwgIamkbHSakDQiXbw7IamLS9cJiaNLI/fiSYxBUXYRwPhLG2mVgzgeaANUXRz5Z41VisOfiIA4PdRC8ihXMP0lHSj9Q94FfJKKCCQb1X3BQ2JEAnETlCRKp7Ju0xodoBwfjF470VBXQUZ9oRz78OoP5WhmtsV7U47auHSecugayC+GnihT4Y8kSFccvzhHg5wD5CA3i6que0ww42EA5a0t8YJ/JubRQ+nDMLvitkg3cICgVDPgLBU6nkMo37hkJ0t5desW4UCyxIVyxS5QkB6qHoYpF3ZvZI9qEzo6zUE6KXvUxqXrHATosseEYc6l7HFLIz1XfTGQBhmIm1PAZjHVVY+faI5XKM9y+ayhz8FBQA/VD6CrHw/S/EmYffOCUs4hv1cBF5J4MMjVRJDkzxrK72nklzJzyoiiLUE3aMgHI9lOgDTMB/H7QkP2AdYfGgI6KYXUxqXzNESXQi7hE5Zx7wdkj18spE0W4tmtpEBdB7nBkHD56L2Ect7B52EgPVRBgK6CXKTyB+FI2IkPsgmpCULp1FMeSoayxWgVKcGKSFS6wT56KIIAw9QP0Bv20XsRBHRSBKmNS9fZh6uLIHsZR71VXrafL/0OYUCfG+AExiVfOiSeYb2d19J6OzvX+poFRVcxjvCdVbQ2Llm1fNcbWcf7iHuYoedRaVM+rLgg8qSF9rryUM1sNdZ2W2prnO7uHcxG8uv6jaTtM7eN5aKurhocMXhn0Lxc0bi+t4jLsYP6cMyxhjvrFo0LfU0rsxv6fYSdhaZtzFp3K+gFb6WCj0So/wDpSsFegIwh7SPRGfcNHnH4+rNHafXiryL9Dw=="),
- this.addDataEntry("gmdl google media design library divider full bleed divider compose email",358,642,"Full-bleed dividers (Compose email)","7Zldj6IwFIZ/DZca2gLi5eo4c7OTbHYm2ctNlQrMFEpKZ1b312/Lh4pFRS1jdnabmMjhlB7Ow9seioWmyeqB4yx6ZAGhFppZaMoZE+W/ZDUllFrQjgML3VkQ2vJnwfsDZ0Fx1s4wJ6no0gGWHd4xfSOlpTTkYk0rQ4DziCh320KTPMKZsnOykNefLGNKp4wyXriiZdGUm+DsldRnUpbKPpNqKMIFWR0MtzBVsT4QlhDB19LlVxyIqPRArl92i0gcRlU3z6kCx3lpCDd9t3cv/1QJaE8G0pIBZCxfkH1eTlgqnuLfygKQPMY0DlN1uox2P2dTCHx3cihn6mI7zvdFU84ZXsRp+L3KgLM1PbNMjVwHUsWs4uQkl2H9qDIJuhKBlxGBTmnjhGIRv5PG9a+h5Fz4yCarUMlsGCYBHQqW/ZxjftWjitoT0+ywrlQ4dMvjnbQ5np41cG7WqvG/sViGtRl8MIaN4Qej5hXYcpkToWV9cxedQLgaiClLMpaTs+TS/tg3NTIbg5mHWh/hHbVB+7RgSnUMdnVJyVJsHb4WR3cj2LM83NF1oNdNlRkF65lQWJ3WBl59jahZds63257vIzoDbTrzjOis1kAtM78HGiMTNHKSBh3FtgF0DY7Ok2B9N42lA5qZBNEeHQB6wONreCKyXnKWvLAUiwinlmOHCY7pcMESjdzRyVDCIEU7Aql9FlOTo9dSi3xsCeBeuZhV3Pw+sI2NVBE8xmmo/Dspyyta16T7VyoL2C1EDAnLbgoL9QCoDn+H0DO7tX72qot50f5WXYF6fjTLDWjcnt7mL4rPf3gG4fnjPuDp+wGPJM9xqNf0MjXi30YAnV7mPX0XotvKdMb7lF0043lfNzqcouD4RigMnD6KbmBkl2GOF69H34EOcbnw3Qgc35Kwh3vvK61lg6OjMrUrMWqWDX1sSgB9V+LguiN7xlmuV2+3JPT5AXXYXThVGNyMzuiz4ZGH248Npfvut4g/"),
- this.addDataEntry("gmdl google media design library divider image based content divider",358,642,"Image based content dividers","3Vpdj6IwFP01PGpoC+I8qrMzyWYn2exuso+bKhWaKUIAZ2V//VIoKLY4KB9+YEzk0tLLOfdce1s0tPB2ryEO3DffJkxDXzS0CH0/zn95uwVhTIM6tTX0rEGop18NvtRcBdlVPcAh2cRNOsC8wwdmW5JbckMUJ0wYbBy5hDfXNTSPXBxwe0hW6f3na8rYwmd+mDVF6+zgzeLQfyfFlY2/SfvMxVAkjMmu1t3MJHx9Jb5H4jBJm/ylduzmLZA5zbu5hDqu6DYxhOM4yg1O2Xf/9OkPAYAaDCSBAVJfZkg/DxN/E/+k/7gFoPQcM+ps+OXc22PMLJN/6jDjNzto/JIdvHGAV3Tj/BAIGHvTLz/gIxeOCJ+5nyGJUrd+CyRBU0bgZYxAI7eFhOGYfpDK/duwZFwYst7O4TIbO57NxrEf/FnisFWoIjUw1Q6JUOHYzM8PYDMmMmrgXNTE+N99mrpVDj56gpXhR1b1Dv56HZFYQr18ikZEmBIRM7bcetFZalFHfU1akSP4QGxQl/WiZ0dq51TSFWYzIUaP2jZ3r1QnI+t4L6Jv2dmzBY91NTJ6lo1ptQuApKq+TgmfdKG8AugK74d58JB8EQ9544J32JQCU03BCUkClSQnnUiyYKRQ5LQHgqwuCIoIDleuEvVaalQ8tqGocQ4V05vqP4/eTQ5FVpUxoPdA2VSi7A0nEmvnJk317KGk5mTSA3o1r4K2KU/gZ00l9tQZUK9nqukc4akLIVAPO8oQX2bHif+pNmjtKrOcpJiHyuABYCqSVWFsg14R6HcMHyhcvg6A4O4BhIZ+TQAvrUtvB8CqgKFhDQmfXMneG3zHAh4YwE6KzJsS8MAAysXh1206J3nEiQ2aQAnZ3mY2oJMi7IYyowFk9HqMy05KpJvKjAMDKBcs9wbgcWYcGMBHq01MBAaEDz5ebTIwgI9XmwwM4KW1yRkr3uW6dbd7Nkmlw2fTFUPYWi5Fj4w+ljoVm3UXhPESr95VUVxGax0vF65IfxLY+rjYVDm1Rm0oArujbaOjFc8+do2a7N8VXKU9aRAp88zVGHp8guTSrZYgZUq7JjvWo9GTnu7fBsmbH74s8h8="),
- this.addDataEntry("gmdl google media design library divider full bleed divider",358,642,"Full-bleed dividers","7Vtdk+IoFP01PraVgJ+Po07Py07V1HRX7eMWGkxYk5ABHNv99XshSWsktjEm3Y52umwFgdzcw4XDETp4Gr18EyQJvnOPhh38tYOngnOVfopepjQMO8hhXgfPOgg58OqgxyPfuuZbJyGCxqpKBZRW+E3CNU1z0gyptmGW4REZUF3c6eCJDEii8wVdQPuTJQvDKQ+5MEXx0ly6mBJ8RfNvYh5DnUl2KyoUfTlqrsnKbP1GeUSV2EKRDfNUkJbA/VFaLaDMD7Jqg15mOJFphv9ad/f08CFzQLkzsOUMF2z5gp2zfEJC5sc6mVp36CPHGY4Hk2M+WvJY7RV+NJcunJAFi/2f2RP3dlnPPIEMN6v7lNno5Gn2n066GNKCSkj9nXnSrYoIqocI6qV5goZEsd+00P4lKPVqdtnoxddh1vUjL+wqnvwzJ8KGB83weDS4qAvjcocVK2yz6Oz20/SeO3sD25vuud7M7v+DMzDr9eYPY1S4/cOw2AJfLiVVFhqvT1EJoL4F0CMFNLTxxKPirGAqD5LDiBoPRqPSDr4XAsg5HV5pLD3oYNEYswUJv2TRHDHP0wa/hndIl2pX8y+Tmg1Ry1HVH17WD7bF4GwU90ETgZkIuqTgpgWVleHvITyp6vd+ud/fCMfcV4VwHDQSjnkzeTSOWkBl2AQqAAoEV2Ahsu/+Y7CkNfKorBwgR4CqPIq6ZaNoM7A9DPrt4zZqAjcwQ8Ho9K6hVBmhfnsA5THbJkDj0wDVYsvwDTVXCqrHNxnC78vfXAc3MtWM3BZ87zqW82dkm1KMJKHw9F4XUs8Bhf+KRgmVykDDTDOC+IaQbBi4ADnr2GMRi5mJpkMMwbUau03AFH2CyV5nbyDCbDbhmKuEOyhNKw6Jwz477++IhE4OdskJV4pHeYgXWIpem9TtE+OTfQL1Sqa9gXNml6jK6V3XwnPKRWxAmlO61OYLLhdsDe6AhC84gNbtds+Bq0jV9r2cL6v28zrli6hjmJ/Gq//ucKFz4SqP4F4bo6drKw86qB2Iw3fFFNmYjs1125gOURuY2gJKDc4SEeGz+Gc6ZeqZ87vJyMHa5WSgpwPhwdw6mem/i5bxRwB6OQBnn3Lmnbp0Hr1ofKwgenySDagwamNh69qKBjALobnFJn2T0Jx+gxlewjvXExaBF5CASH/UJsacnzW0/bnsIu2t10QvbGniOTDrImCHmk/Q+F++vQ8uURecqyYTtsjhavNtrfEmqcQHQ9oOl2hE/7gWLnEMoY8hE5/KRaV+jUZt/DqCbOnicR3riUjwRM/rejqSC3C/vBO2cG1iBLLFiFRIis3NwTKiicOCR/AY5tahtvfXmlGlVaenlAwaEqhMRUlYKHdskfiExXciXdRFt6G5Kf/tvtkQLtEu7olu3KB0UbL340+mG9ekXVTZsPFJN6DxcStjla1d/OBiBTkh11IrzE1rSXwzSwUkXgEiCBp1VoyGcyK1iDEnC61c5EK8YPM7YSbo2nSMki0WM7GOJPhRI6rWYkW3Bkm+Ds1WG0f+WsMT3c0vJXUhu2Z1o2QLB7ojuvHBkLZDN25K3TiG0MfQjZtXN9xmhqrxgbMb6djYVjemARXmyeYhl5JHeiFsmAekYbS4DyZxbRoHtjWOp0Rof0AZaaxIpYrYM7qF/mgaWMV8cz9s4gbFC2yLF/ie2MQNihf4psSLq9p4geueNjnr/EI2ljVLJLaFCqdoRb5yubB/P7SyAsK2iFGjg88JrJJLWN0r3zuGS80d7PhtWux0UXEbeeku9rLDBw2dBRoW7t7KUSBc4UxIjhXUZImkV4XQ7QNU4XjIm0PaR6IzvDV4ILk7+psW3z8Z/D8="),
- this.addDataEntry("gmdl google media design library divider inset divider",358,642,"Inset dividers","7Zvvb9o4GMf/Gl5SOXZCwktKt52mbapuk+7lyQVDohobOV4P7q8/5xck2HQG7FtaSFUJO3YSnk++j51vzABNV5tPAq/Tr3xO6AB9GKCp4FxWn1abKaF0AEE2H6CHAYRA/Q/gxyN7g3IvWGNBmLTpAKsOL5j+JFVNVZHLLa0r5jhPSdEcDNB9nuJ1US/ITB3/fpFROuWUi7IpWpRb0UwK/kyaPYwz1ee+PhURkmyOXm5ZVV/rJ8JXRIqtavJPNpdp1QJFSdUtJdkyrbuNwvrCcV5VLHd9999efagDYA4G0oIRqGuZIHBSTDDNlqwoVld3GCP4gMbJ6FiMFpzJVuOP5VY0XuNZxpZ/1t843Ff94GtVEdR9v9fXCJpy9m9RDJAqC5Kr0l91JANbIvA8IjCs6gShWGYvpHP8SyiFZ96yq82ykNndcjWnd5Kv/37C4lQ8VgFD5oB1O2xrdd5FVbkVznCkRzM4NZr1+R95pi5rd/LhGHZOP4y7R+CLRU6kRmP3LawARRqgSbH/BAmZpdEFhcZhPI6Nt3Xrxofg16KqFDRELe1SspD7Bl/K0kMMPUsmii+DvO0qzynUkQvVrQVZEBWmGcktKe9GFKu4R+a4v6K1JlYdrY2caK05TCO1xAOV2EkuFBlmy6J9L5AEwKAMN0RA2EWCPCBJXCDJCRazVAPSjn6bSg2qatxkQutsdQSR9XgVmMYrNxoajiL/Ihq7ISalGir+17xmTSjyBwiG/gE1GaFF6DNmxWHBIxHPGcvtgL02u3h1FhGE+iwClJuqL9hlM0wn9dxhlc3nVTLVZw8H8wsr+OdOJi7MmTXQJPABNHAiOVlO4G3k9qCmi6MP1s+g4ORBq3l27DwBBW5GrYN5ROCFyLlGQIfIz5zYEklA8XcpEesMiAxjFHKUAiNwAMhLDtTNia+4jMFnnrKcs16mwN/8POUmBQbNjeIWqBMfw5/iLnUx3r7idB/jkUgVbgimWND8pjmfmht7GeWcuBj+NHfpPP/ta043NH4I8sIL0f2BWU5ukvMmuZ3v7JaoEz/En+Tiq5echf3RMKFZy2dqxZyUm+ZABc5fOm0aEBA0j0Hth7DEACNxIg4EfIgD6sbGBItiXgHuCWNEylu685XuUHPjuyWqOxsTjaEKijx4TWXgsPMsjnI4fOHbcJmpEJf50g7DGW6H4a3Jye97Ld0O6INSv92OY0SuZ1AyLMWYPD2RIgjTVGS5JLe5oNfkGPt4h+xm6YY/2V295WFcupEVouOMcdHP1yzvQnAh9DIb6bffcfF7zbcvON3vmFAVMQi+EXozGH0KLvEywvXb7YBX73YYFntMmEw5K8LwXZIX0tPFBO9CdBHyMcoh3UXplejG1y46dO5yjxOWA+8U5NZw3HY6/EomoRuzcRh6oeDE9HjCs2eTBWxcl9jmcubiRHTkByF7J7i7QtC4QNG0yNfRgvq4qx8f6+mRboZo4BpWqme2zkmvCL1/QBa+xqsp7XfSid8bHlXc/36uat7+ed1/")];
- this.addPalette("gmdlDividers","GMDL / Dividers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLGridListsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library grid list grid titles",358,642,"Grid titles","7VtRb5swEP41PKbCNgTymKRrN2mVpm3SHieWOISVxAjcNdmvn41tAhhSmpi2oaOqFB82XO67u+98EAvNN7vbNEjWd2SJYwt9sNA8JYSKT5vdHMexBe1oaaFrC0Kb/VvwpuUsyM/aSZDiLe2yAIoFf4L4AQuJEGR0H0vBMsjWmE+3LTTL1kHC5SlesOvPVlEcz0lM0nwqWuUHn0ZTco/VmS3ZsjUzeSucUrxrVTcXSV1vMdlgmu7ZlMdoSddiBnJ9sWyNo3Atl40dqXiQCUFYrD18e/ZBGqDZGEgzBmC6TJH9LJsEcRRu+VBoV7eRDX3/GrTZaEW2tDT5Jj/45CRYRNvwq/zGzkH0nSRMAOTab1JHW42jv3wIEBunOGOjH9KSoCsi8DREoCNkKY4DGv3Bleufg5JzostudiEPs6tws4yvKEl+/grSBngmHpp+OMuFUbPBqgv2MjqvXDEumdMZ69YEz7WmvP8XEjG1ipuPJrBy+5FXvQJZrTJMNTSKb9EJIPe8nNIcFzWU0HRy47y4TwM4Pg+GfTU2jJp9bCIuYrzSMeAG9x13bBdnlMFhV4O7TxocNHn9meaW+iiPVNa3e7C+p1mfkszitxqHtLBSCQtmLVpN0lz/OgG43ty5cevZfsTTObd4tAjiqeSbTbRcxp2TVAsg+8qCEjxuAzzPTvHN0TBy+wDE1wCZ4WCxPhGHOhG/Gg5QGcskELsqxr3iMjGRpjIcpAzLY4mqzBiSRMzmrl0bRD1mspGH+k9lwDYB0QZvH7qyucKsHziaiNwQHMipwAH6KKcAMAJHkIbR9qsosXildZcLLLGXOAhmhFKy4bkNVuRq55GLa/jNrvlfG9hMnSV5lLrp9ZqQfFTgGCzhgDdpQF4JzyQt0EtyBPp+/NPd7U8HIPvqdxKaw/1zXufVsFcYw2aPgG0IP64jir8xYuR3f2T31vmz6Ay0sqXaNssKtLx5LdU/XA37MCx0K8kENdcpgKeZ/GBywidSDiR0T99DgJZWRSt1N/qjcqM3WUMBvSMSaT6o3I4tjZKsIb0v8uNYx0N1LYDuOJP8qDlEZ+oGLVmi8168Ty6vkcfI7wPBDt0SHcAupA2m17B7DfV0tnYa6lrnzOBQ+vhVlka9xMqpbY9Kuk7ih6yP/bfwg9ZAKFz/WCg4DaFgqC3lVSOhlzLKSH+kvYyqkqYgoeYS6o1XUHWXuPCKSm/MyIoK9FJRHamddE9wWoqnLo8GhlhRjYdfUeltqQurqLz3XlEZaWB15ZFSVnnDlFHADT3fHwJrQL0FJlkDmmWNY4D/Z4ZD1pkMnhmg3ua7LGYQMfOOmUERwcsww4XuJoZHFXqPTFIF+r/BeGM08kT9Mgga0Rt+F0Yj574+dfE0YqSRONANhut6446sYZsJ055Y40W7kSZrhQqmZl+/a29GDwV1vRnZDfXnvBqpKNMsNq0U2fiipOOboUinlwSr9+BOiL1fweK+6UlNUTa14XLiExx4vPHGCurBP8Lp8u7YUw8zXxOhwQOEOrw5djSlvSY63tDgYcPDD4nE9PLvjP4B"),
- this.addDataEntry("gmdl google media design library grid list grid style",358,642,"Grid Style","7VvRb+IgHP5rTHYPW1oorT6qO/dyu1xul9zjBRVts1oayjy9v/7Atmql3Wgtuk27LBGEFr6Pj6/8wA4cLlYPDMf+I52SsAO/duCQUcrTT4vVkIRhB1jBtAPvOwBY4r8DRhXf2ptvrRgzEnGdCiCtsMThC0lz0oyEr8MsY4oTn8jiVgcOEh/HMp+Ribj/YBaE4ZCGlG2KwtnmksU4o88k/yaikagzyB5FGCeryuZusrK2PhC6IJytRZG/wZT7aQmIumk1nwRzP6vmOlnDcZJmzLd1d70XHzIAysGAChi2aEsfWrUwwWEwj2Qybd0hRuAe9rpuFUYzGvG9wqPNJQvHeBJE859Zj51d1i8aiww7q/uUtdHK08E/mbShSDOSiNTvDElblxHQjBHgpHmMhJgHS1K4/zEsOQ2H7GI1lzK7my+m4R2n8Z8xZnXp0QIMlgNWrLDO1HmH0vQenI6romnXRTN7/g8aiGZtH37bA4XH33rFO9DZLCFcYWPbCy2CkELQCC8pCzhJagmpXCBFumDP8Xpe6eDeG/4Sj7ekleroVgpF8htMcNjPlLwIplPZ4K20QzLju5rfNql7DxhWFPKOGwProjBb5dxtQ5QxIzMiYJqIgaJH/9ZwtHBH5bi/IsUcq4IU3VakmN8mV2LXACteG6wkBLOJrxCyj/4+KxlRaeFcj9rSqKBIe+60y+bOdgi7dZF5xrrtMMa5mJdOKiJthpA5gnK1miSopxDUx4xGImtAokgAX8viVNfSIczaXCKfSgPisrvg8IXPUR1vW+29+htqxd+6tgHabettYebc4gmXkBvQXq++gQEV53w9c6TcwMF0aCMTuNuq3sZjIns99FmQcBIlJLpq7syas6FrgnyN6IR50dkVIYnPrDo1EiLGrdQcjSLK6i3jrnozoLeeEZPTCK2cQG8V8ZPPrDc1ZNIPBUTA+k7ChF797dx628bk2qVdI2pyAr01CIt8dL2pgZF+xH0ayX4/cbIUb5VXzZ1Zc9Ay4nEaEZYTaM67PM2VRE5O/E65i1deBba5twlTA4YiJYN7+actsMsLlQA1VFJLU7UUdNq9ZLedAe/YJhwlh/nIDWkSktjf3zt5Y+NzhOwB0sa9QQzDUnmovaevKQdgghY1hnHjIuuLyEIIiWdCR6FJQMhPYw9N9VOfx/LDGUfOazlzh1XaYU4NQzzScSCQ1eALqnwhyxk5o9f4Utloy+DPxZfuYZqSwxoNJi8fR3P6omsi9Zy8CkL9LWGv/fGf7zg61sFMZpnQQ9PDFZdj7J6RN1k1SnADAcwdxPW6PWMOYm5Gci/BQdRF/m/Knj+gf9Rny0ZlL27G/ENd1b83/6iA8HL8A2qsyI/1j+2M1q5/rAsV3pqTnG47c5Jj4uAQbLo8LyhljCfPCiVVR/H2eWl4Hi8dO5Xqse4O1nKlAio7RNnSeWavqB8Tx5mhxvo+50rUDOJEXcOfk6HPT5C60q8kqHRKOyc73mejRyR3P19Ki+//uuk/"),
- this.addDataEntry("gmdl google media design library grid list grid style",358,642,"Grid Style","7Vtdb6M4FP01kWYfWoHNR3hs0sm87Eij3ZXmceQQJ6AajIynm+yvXxM+CjE0JrHbNClVpdixwZxzz73cizOB82T7jaEs+k5XmEzg1wmcM0p5+SnZzjEhE2DFqwl8nABgif8JWAx8a++/tTLEcMpVJoBywjMiv3HZU3bkfEeqjhXKI1wMtyZwlkcoK/oZDsX5Z+uYkDkllO2HwvX+KIZxRp9w/U1KUzFnVl0KM463g8vdd1Vr/YZpgjnbiSH/xiselSOgOy2nRTjeRNU0z6kWjvKyY9PMfbl78aECoB8MKIFhi7U8QGsUJojEm7Rolqs7xAg8wmDqDWG0pilvDV7sj2JwhsI43fxV3bHz0vUPzUSHXc39u1qjVbfj/4qmDUWb4Vy0flZI2qqMgNMYAU7ZxzBBPH7GnfOfw5Jzoskm200hs/tNsiL3nGa/loiNpUcJMNgPWHfCrlLnvVu2W3A6noymPRbN6vo/aCyW1Vz8LgCdy9/53TPQ9TrHXGKjuQslglyJoAV6pizmOB8lpH6BdOmCgeMHfq9xt8y/wOOYtEod3RVCKfiNQ0QeKiUn8WpVLLiRNsFr/jLzz33r0QeGFeX659nAritMrZx7OkSZMbzGAqZQGIoa/U3AUcLd7cf9FSnWWHWk6GmRYn2aWolTA6z4OljJMWJhJBHSRr/NSkVUObjWo7I0BihS9p12n+/UQ9id55pnbKqHMc6FX3pTESkz5JojqFarSYICiaAHxGgqumY4TQXwo0KcHLVUCLP2h+inRQDixe2Cwwc+R454zbRLjW+ulvg2tQ3QblvHhVlzi0JeQG5Ae8H4AAZknOt85ky5gQN3aLsmcLdlvS2XuLjrecTinOM0x+kozZ2jsFefMm9Yczb0TJCvUJ0wLzp7oCRxzaqTKyHCbgvN0TSlTH8a1zDyKbABgQVGoppCLeUUgc0eiz9lgQ0UTK5ZYHKN5C01ZdLgPT0G31TB9OKupU7BMcFZ1M5zjxSpFq49c5XlcEKZwpJ5GF1/VZQDMEGLXKj44rnWH6LLdV1xTehINAkIuY7wIKtDU8A4gcf+QvqZfq1m7nCKHubkgsV3uowFsgp8QZkv13IWzuK2+FJ98WHLtYcTnFeE0g39rRpERkbys8t3vn77r6tDjnXgySwDegAKdYLbDuzQNuGHgFwn+AIBrCOI50+DjxdBSmO68ghSC6TF3E/Knj5e/Hg3tlTjR8/+hguLH0MQ3lD8GJGRk7gnA2l7rO47OFulnHlOANnWvACr9vHtHGXa82pOk2eCvolksWcjw2cs7+IeGMFdS5KeoJgov7RuJ+knvrm+rN0Fb/EqtGd7gQilYVUidiy8RUlG8H1IE5VofmHPXreQvfdsN/iBWU5TRFQYu7Dnr0vP33v2DnzGk46VO64JK4dyTi5M7te1OKrxmwI+nqOCcnr/QZPE92JLeQ+8nI5rd1KNWvQ6qV1nwjEEnakee3dMPFpBLan6EoVPYx6BBxJHZeOGRxPD7suk3gy+75lY0+Z3v3N1I3vf4Yj8XcyMs7w3hX83hq6fIIWk/lWX9p7s+NdGj2i+/NatHN7+Kdz/"),
- this.addDataEntry("gmdl google media design library grid list two line grid list",358,642,"Two-line grid list","7VvRcto4FP0aP8LYMtjmEUjTzm7SySSd6ey+7KhYYE1ki8oiQL++kiUDjgxriA2YqTtt0LVkyffcc3S5VSx3HK8+MziPHmmIiOV+stwxo5SrT/FqjAixgI1Dy72zALDFXwvc77nrZHftOWQo4VUGADXgDZIFUhZlSPmaaEMI0wjJ7rbljtIIzqWdoYl4/miKCRlTQlnW1bWzS3bjjL6i/E5CEzFmpKdCjKPV3uVmJr3Wz4jGiLO16LLEIY9UD7cfqGERwrNID/N6euEwVYbZZuz27cUH7YByZ7iGMxyxlqFrH+UTSPAskU21uuN8NKUJ3+k8zS7ZeQ4nOJk96zfubU3f6FwYHD32Ra/Rztv4l2w6rmgzlIrWd+1Jpyoi4DREQE/ZGCKQ4zdUeP5HUOqdGLLxaiZp1p3FIelyOv/vB2QfClW33DHFAWvNwm5ftXfc1vNMrznHek3P/0SxWNZm8s4AFKbv+MUn0Ok0Rdzw+uYtKgHRN4AYMbpM0VFsKWdBkTIgu0ojeCfGgW3y5z673pOlI9kgwcUTSIaarjEOQ7ngDX8JmvLtyIesdeeDhmnT9z8WAOsi+2oF3KuDeblbC7gXpC67k4Nc2d/9cn8f4J9Txj+vFv7l3MjpFzSAhl8HGjFkM5w8Ky5KSj5mBu34rUERp2jTlOgAk7GjO/lnH73FSkK61MsyOa0sX3JUatyoHH9QAnng1kK5wGkA5MAAWSIB7Aec8rQ+vBW8vYItzzUkvMsIc/QilFA+cCkedyBVeS+sXD77varu5ib9rcrKprdtjijnNM7fpyDh3oHMisqeXMIC+vti8MRkyD8txnynoWRoYMTHMOERTeSi7hlCMUwsIJ5i/4sSI1zEi/IjwS3uhhlWezfSXYydZl3umy7XX3w+ymrXa4DVjn1p7c7Jfe3ivTqwfbdOzB3HZCvhiCVqpY2quWbsucU8uGYxVzS8IjV3zHLMF9EjooskTJWO3yOCV+LndwminC4Jxb/dbrcBdQ/OoO6VMGibvJuFpAblvSVp+OaLGAgqa/mxPDunlptlqDuYTGpX8fJt+zpz8uBCMr6nEPd/8eUNmpJxszL2iBmMhOlx8hVhoqT8CS7kqK94Rduam1dyfdvUu5YyV1X1bmsifmtyblbTPhEBEqMJnjSr6ZKv15uaX0rTvWvT9JJKnAyO1UqJ+VC8PZQDntEbfpOf2pmOV/F72wTdLJI1KOhtS8f7nn8D+g3MitqTLJT/ScbPLdyDKxNuYBbdXha6KD6Csnjyl3j5BuT6LPl3FW+3TK5zdf6Tf1fKv29Ev82S2bMlo9SD8TxznT1qVs2vukB+ITHfF4yXE3Oz6jZilL6SdSJz8KzvC4dMF8v/FqPlettbHq+EQNsE3iyPPciVp1b+3xljGCMGFf9JTiDRnGxA8X4u5BFZ4UR3kF27ph2Yc6N8QGepHTQUXRLKYvktbTvKm8mf/ywSmM8qXkRNrG6doD9zAteImSHlZde7MHHztp7BMYWkJMWIeEwKW05dBzw3O47jgcKe4xj7jRAjMwT79YRgZ9DE4amTz7IdcWxxo9D14rIfhbLzhL2gHhR6jaBQyxm2H3DyakCyq9uHT2AffdIQ7KmRbAgDjBzNzNB6JQlaTWd//cLsjRz9LTmXZgCXYyVG4nmKrgqh2weoQs3roKRdEh3/1uARze2v9Kjuu7/x8xs="),
- this.addDataEntry("gmdl google media design library grid list two line grid list",358,642,"Two-line grid list","7Zttc6I6FMc/jS/bIQmCvlS0u/fOdm+n7cy+3EGNklkgTshtdT/9hoegkGARsGuZ4nRajgkP55f/OeGQDpAT7L4wd+vd0xX2B2g+QA6jlKd/BTsH+/4AGmQ1QLMBhIb4GcC7im9B8q2xdRkOeZ0OMO3w4vr/49SSGiK+9zPDyo08HDc3Bmgaee42tjO8FMefronvO9SnLGmK1skWN+OM/sLym5CGos80OxVmHO8qLzcxZdf6BdMAc7YXTV7JintpCzQcpd08TDZe1s0yswt3o9Swyfse7l78kTlA7wykOAOIa5kg4yyfuD7ZhPFuenVlH4Gxbc1glY/WNORah27dJQk3j9kdmwfTM90KA8j6PmXXaMh98jveBUjsMxyJvR+ZJ0FdIrAZEWimNoZ9l5MXXDh+G0pmwyEb7DaxzG43wcq/5XT7c+GyVkMV6R1T7LDPVHg7TPeP3GZaqtfAuV7Lzv9Aibis/OQ3Y1g4/Y1dPAJdryPMFa/nd1ELxLBd7NCP/6JYIBhbd+8/dgEw2mHYFzXQqdstxe1P2GVLT9geMN0K18cx33KDbeIl48F3lzhqoJHAZRsSPqa0Ymj3iUE0s2riy8NXKaxNk48mRJXC3NBojn7YMJGcS75u2LK7CFtRSrrsfeFSK9lKCDIqaWPpQVjXg5begyciGtBpadRJRIOlgDa+gLJGXSB6oWSJaxM6tneLqXYaAkCTvFvGP5mGbKNITcbVTrGNu1EW5yLyRDUjWw7tXRDpJgrdyOoGFc9+EV1J6scp62E+F7+N2T+Tbwot4crjifRS+BEzNYvcJZtm4hvTIEvXn2QHCMhq5eNSujE7Ty37QoeCwsYqQLMlQAlMHqdbYkAh9jh35t+fn/oCayfVhsRWkEAv+KnP9c5/358nTg8Bijhs9w+gWou4pwsST+5L+E5XZKaz+FOV1ETfFX3NOMoB4OM112BdUM5pcJijy2Sa7n1LOs2AdTBNsw6z0YnBpI6J1PJVgurwUQ/YuukpsjoZBgANLzEM1GKH4CEMDg1DyqLiox4a2wjl/lIl/uoRjp8Endj8KuY+bxecjrnWFrrHA79A82zNg4raSrXCdWzbzmJzhV/iMR6o5ZNPhTdReJ4INI82tibuX7ni1fLOZLHA8Y06HiMRx2GEw6vXfT2Vnz2R1vG8bpWrZZ9PlTdRef50LHRn1gv/Vy50tdp07ya3+i/1woj2ReN2/zO5WoD61HgXmfwtzX+45A7VQtiUEc5dYftKfd4TyY97n9ahWh+7nNjfL7ea0Br1IbdKGv3AUxkWK3B9vLCoFrs+MK4cj2UasJ6a7G5i3YXo1Fhw83HoVIqpgpZGTNdNq8aqHElL9CTbCFeBqVqLcwH3q3OCoead57BlEJPvPOWL/vyttJzBd0tCreQoJGoswqEMV68WrFhuU4/Q6RcrsPjqHmgyjQaRvMc2K2UaL5U5Y2GZkWzNC9SnY786nLVrja76DVQ3q2EW7vKXgqSwMqyCS8PFMLCi3JDHHViO+5qqsami6mpdZvFN5UWWZdZZD/NWBvibhHoPCKlVgEpA2pD2N+nYfcMjdg//bpE2P/5vjD8=")];
- this.addPalette("gmdlGrid Lists","GMDL / Grid Lists",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLIconsPalette=function(a){var b=[this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.edit;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Edit",null,null,this.getTagsForStencil("mxgraph.gmdl","edit","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.star;strokeColor=none;fillColor=#737373;shadow=0;",
- 20,20,"","Star",null,null,this.getTagsForStencil("mxgraph.gmdl","star","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.heart;strokeColor=none;fillColor=#737373;shadow=0;",20,18,"","Heart",null,null,this.getTagsForStencil("mxgraph.gmdl","heart","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.reply;strokeColor=none;fillColor=#737373;shadow=0;",20,
- 18,"","Reply",null,null,this.getTagsForStencil("mxgraph.gmdl","reply","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.users;strokeColor=none;fillColor=#737373;shadow=0;",24,16,"","Users",null,null,this.getTagsForStencil("mxgraph.gmdl","users","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.gps;strokeColor=#737373;fillColor=#737373;shadow=0;strokeWidth=2;",
- 20,20,"","GPS",null,null,this.getTagsForStencil("mxgraph.gmdl","gps","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.share2;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Share",null,null,this.getTagsForStencil("mxgraph.gmdl","share","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.navigate;strokeColor=none;fillColor=#737373;shadow=0;",
- 20,20,"","Navigate",null,null,this.getTagsForStencil("mxgraph.gmdl","navigate","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.chat;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Chat",null,null,this.getTagsForStencil("mxgraph.gmdl","chat","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.voice;strokeColor=#737373;fillColor=#737373;shadow=0;strokeWidth=2;",
- 12,20,"","Voice",null,null,this.getTagsForStencil("mxgraph.gmdl","voice","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.google;strokeColor=none;fillColor=#737373;shadow=0;",16,24,"","Google",null,null,this.getTagsForStencil("mxgraph.gmdl","google","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.video;strokeColor=none;fillColor=#737373;shadow=0;",
- 24,16,"","Video",null,null,this.getTagsForStencil("mxgraph.gmdl","video","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.gallery;strokeColor=none;fillColor=#737373;shadow=0;",24,22,"","Gallery",null,null,this.getTagsForStencil("mxgraph.gmdl","gallery","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.birthday;strokeColor=none;fillColor=#737373;shadow=0;",
- 24,22,"","Birthday",null,null,this.getTagsForStencil("mxgraph.gmdl","birthday","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.cloud;strokeColor=none;fillColor=#737373;shadow=0;",24,16,"","Cloud",null,null,this.getTagsForStencil("mxgraph.gmdl","cloud","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.x;strokeColor=#737373;fillColor=#737373;shadow=0;strokeWidth=2;",
- 16,16,"","X",null,null,this.getTagsForStencil("mxgraph.gmdl","x","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.bookmark;strokeColor=none;fillColor=#737373;shadow=0;",12,20,"","Bookmark",null,null,this.getTagsForStencil("mxgraph.gmdl","bookmark","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.calendar;strokeColor=none;fillColor=#737373;shadow=0;",
- 20,20,"","Calendar",null,null,this.getTagsForStencil("mxgraph.gmdl","calendar","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.attractions;strokeColor=#ffffff;fillColor=#737373;shadow=0;strokeWidth=1;",22,18,"","Attraction",null,null,this.getTagsForStencil("mxgraph.gmdl","attraction","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.dining;strokeColor=none;fillColor=#737373;shadow=0;",
- 18,20,"","Dining",null,null,this.getTagsForStencil("mxgraph.gmdl","dining","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.education;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Education",null,null,this.getTagsForStencil("mxgraph.gmdl","education","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.family;strokeColor=none;fillColor=#737373;shadow=0;",
- 20,20,"","Family",null,null,this.getTagsForStencil("mxgraph.gmdl","family","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.health;strokeColor=none;fillColor=#737373;shadow=0;",20,18,"","Health",null,null,this.getTagsForStencil("mxgraph.gmdl","health","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.office;strokeColor=none;fillColor=#737373;shadow=0;",
- 20,20,"","Office",null,null,this.getTagsForStencil("mxgraph.gmdl","office","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.promotions;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Promotion",null,null,this.getTagsForStencil("mxgraph.gmdl","promotion","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.radio;strokeColor=none;fillColor=#737373;shadow=0;",
- 20,20,"","Radio",null,null,this.getTagsForStencil("mxgraph.gmdl","radio","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.recipes;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Recipe",null,null,this.getTagsForStencil("mxgraph.gmdl","recipe","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.sports;strokeColor=none;fillColor=#737373;shadow=0;",
- 20,20,"","Sports",null,null,this.getTagsForStencil("mxgraph.gmdl","sports","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;shape=mxgraph.gmdl.travel;strokeColor=none;fillColor=#737373;shadow=0;direction=south;",20,20,"","Travel",null,null,this.getTagsForStencil("mxgraph.gmdl","travel","gmdl google media design library icon ").join(" "))];this.addPalette("gmdlIcons","GMDL / Icons",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};
- Sidebar.prototype.addGMDLListsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library list scannable list",358,642,"Scannable list","7Vtdk+IoFP01PraVgJ+Po07Py07V1HRX7eMWGkxYk5ABHNv99XshSWsktjEm3Y52umwFgdzcw4XDETp4Gr18EyQJvnOPhh38tYOngnOVfopepjQMO8hhXgfPOgg58OqgxyPfuuZbJyGCxqpKBZRW+E3CNU1z0gyptmGW4REZUF3c6eCJDEii8wVdQPuTJQvDKQ+5MEXx0ly6mBJ8RfNvYh5DnUl2KyoUfTlqrsnKbP1GeUSV2EKRDfNUkJbA/VFaLaDMD7Jqg15mOJFphv9ad/f08CFzQLkzsOUMF2z5gp2zfEJC5sc6mVp36CPHGY4Hk2M+WvJY7RV+NJcunJAFi/2f2RP3dlnPPIEMN6v7lNno5Gn2n066GNKCSkj9nXnSrYoIqocI6qV5goZEsd+00P4lKPVqdtnoxddh1vUjL+wqnvwzJ8KGB83weDS4qAvjcocVK2yz6Oz20/SeO3sD25vuud7M7v+DMzDr9eYPY1S4/cOw2AJfLiVVFhqvT1EJoL4F0CMFNLTxxKPirGAqD5LDiBoPRqPSDr4XAsg5HV5pLD3oYNEYswUJv2TRHDHP0wa/hndIl2pX8y+Tmg1Ry1HVH17WD7bF4GwU90ETgZkIuqTgpgWVleHvITyp6vd+ud/fCMfcV4VwHDQSjnkzeTSOWkBl2AQqAAoEV2Ahsu/+Y7CkNfKorBwgR4CqPIq6ZaNoM7A9DPrt4zZqAjcwQ8Ho9K6hVBmhfnsA5THbJkDj0wDVYsvwDTVXCqrHNxnC78vfXAc3MtWM3BZ87zqW82dkm1KMJKHw9F4XUs8Bhf+KRgmVykDDTDOC+IaQbBi4ADnr2GMRi5mJpkMMwbUau03AFH2CyV5nbyDCbDbhmKuEOyhNKw6Jwz477++IhE4OdskJV4pHeYgXWIpem9TtE+OTfQL1Sqa9gXNml6jK6V3XwnPKRWxAmlO61OYLLhdsDe6AhC84gNbtds+Bq0jV9r2cL6v28zrli6hjmJ/Gq//ucKFz4SqP4F4bo6drKw86qB2Iw3fFFNmYjs1125gOURuY2gJKDc4SEeGz+Gc6ZeqZ87vJyMHa5WSgpwPhwdw6mem/i5bxRwB6OQBnn3Lmnbp0Hr1ofKwgenySDagwamNh69qKBjALobnFJn2T0Jx+gxlewjvXExaBF5CASH/UJsacnzW0/bnsIu2t10QvbGniOTDrImCHmk/Q+F++vQ8uURecqyYTtsjhavNtrfEmqcQHQ9oOl2hE/7gWLnEMoY8hE5/KRaV+jUZt/DqCbOnicR3riUjwRM/rejqSC3C/vBO2cG1iBLLFiFRIis3NwTKiicOCR/AY5tahtvfXmlGlVaenlAwaEqhMRUlYKHdskfiExXciXdRFt6G5Kf/tvtkQLtEu7olu3KB0UbL340+mG9ekXVTZsPFJN6DxcStjla1d/OBiBTkh11IrzE1rSXwzSwUkXgEiCBp1VoyGcyK1iDEnC61c5EK8YPM7YSbo2nSMki0WM7GOJPhRI6rWYkW3Bkm+Ds1WG0f+WsMT3c0vJXUhu2Z1o2QLB7ojuvHBkLZDN25K3TiG0MfQjZtXN9xmhqrxgbMb6djYVjemARXmyeYhl5JHeiFsmAekYbS4DyZxbRoHtjWOp0Rof0AZaaxIpYrYM7qF/mgaWMV8cz9s4gbFC2yLF/ie2MQNihf4psSLq9p4geueNjnr/EI2ljVLJLaFCqdoRb5yubB/P7SyAsK2iFGjg88JrJJLWN0r3zuGS80d7PhtWux0UXEbeeku9rLDBw2dBRoW7t7KUSBc4UxIjhXUZImkV4XQ7QNU4XjIm0PaR6IzvDV4ILk7+psW3z8Z/D8="),
- this.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Vtdb9owFP01PLZK7ISER0q7TdM6VWulPU4uXEhUYyPH7WC/fs4XJHVoDdgdGqSqhI3tOOfkXDsnlx4ezZefBVkkt3wCtIdvengkOJflp/lyBJT2kJdOevi6h5Cn/nvo05Zv/eJbb0EEMGnSAZUdXgh9hrKmrMjkilYVE5IlkDf3evgqS8girxcwVuNfTVNKR5xyUTTF0+LIm0nBn6D+hnGm+lxVpwIhYbl1ukVVNdfPwOcgxUo1+Z1OZFK2wGFcdksgnSVVt35QTZxkZcVs3Xdz9epDBUA3GFgDw1dzGWJvJ0wITWcsL5aze40RusaDuL8NoylnstH4U3HkjRdknLLZj+qKg03VA1+oCr/qe1/N0avL6Z+86GNVFpCp0s8KSd+UEbQfIygo6wRQItMXaI1/CEvBnrfsfDnLZXY5m0/opeSLX49E7EqPEWC4G7B2h1WlzsuwLDfgDPo6mv6uaFbnv+Opmtb65BcD1Dr9RdQegU+nGUiNjfVVGBEUHhZTunXRZgkPgmgQffg9HUaHsbBqS8Mq6n0bslgImIKCaQyZIRPrkG+Ee9iN+xtiqLFqiaFvRQz1MLUWYgesRDZYyYCIcaIR0kS/yUpFVNm4lgY6kCLj6OV3RS87hF30Q/eMxXYYk1KtzR8qImOGQncE1Wp1SdBAI+grYfmo3h2Ip5Rlh682+qrS3EsF+j7NKw5Vn1OXjgkdVpvAeTqZ5NNY7wopTOVm8/atKF1Hxurcd+EKrSxcse+AT9+zojhZ7OZM1Hattg/9G1PEB7svWVgnoB7Z8pLlOyHEt0HIcwamhMRe/ncgIcbhD3csUNhS/Au9V/y4CIC+/tB+SwoMvvKEZZydA6CrAOjXN4pdQnXj4ZgE52/B/IQUp3sOdyAV3MgbEUGzs+Zcam7gZJHb16X4IM0FJ6853dB4EPDCc9F9ISyDs+ScSW5tQdpl1IoZ4k5y/ZOXnIH3UXNC04bJ1MAcikOzn3zrXu2yJgJ59QNL8xks7iAjtiIO7DkRh25rDInI9xXeFTAGUp7Dnatwh2vwrTKKdF9jqHGoQJFtHlAHD2vHYisPr9/91byMFcRFvDQLgXuYHR3+/M6v/gzNDuSCpeM2O7YxcjqLUs1HU0aPj5CDMEpEmkk47wWdBsfIxdvKjlyLY5LdO5uOU5Cdbnmo+zsXHWeMi/NLFmeCC5CT3chx+x3o5P2OjgSOIVWIIe870LPB6FJwsZMV7rjdDnTybkdHpseQyYSzHIZ7CS9wTiVwJ7oQO1nldBflqEQXn7ro8L7JHjskh64VZNdwXLU6vCeTwI7ZeBE4YcGK6fFIxk9dFnBnUmKTlz0zE8t75y0nuJ0e2Jmd2JVOaim3Omrrx0VqNdbNEI24mivVM11kcFQM/f8EGfgab4a0f8lO9L/Ro4qbn1KVzZu/tPoL"),
- this.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Vttb9sqGP01+dgKg9/yMU33ommbqnXS/XhFkyexVcdYNu2S++svfiG1i92RBLposatKAYONz/F5wAeYkPlm+ymnWfSNLSGZkA8TMs8Z4/WvzXYOSTLBKF5OyO0EYyT+J/jjwFmnOosymkPKdSrgusIzTZ6gzqkzCr5LmowlLSIoi6MJuSkimpX5OSzE9W9WcZLMWcLyqihZVUdZjOfsEeSZlKWizk1zK8g5bAebW2U1bf0EbAM834kiv+Ilj+oSxAvrahHE66ip5rtNw2lRZ6z3dV+eXvxoAOgHgyhgOKItM4IOwoQm8Totk3XrXmOEb8k09IcwWrGUtwp/rI6ycEYXcbr+0Tyx+5L1k2Uiw2nq3jdtRDId/1cmHSLSORQi9U+DpKPLCD6OEezWeTkklMfP0Ln+KSy5R76ym+26lNn1erNMrjnL/n2g+aH0aAFG+gHrVtg16rz26nQLTtdX0XQORbO5/x2LRbP2N7+a4s7tr4LuFdhqVQBX2Ng/hRZB3mkxpV8XXZbI1A2mwbu/015wGgu7rjSMou6bkEWWwwoETAsoNJnYh3wt3L1+3N8Qg8SqIwbfiBjkZaQWQgusBCZYKYDmi0ghpI1+m5WGqLqwlAY+kSLt6OX0RS8zhF35nn3GQjOMcS765ncVkTZDnj2CpFptEjRVCPpC0/Kq6A7yxzgtTu9t1F6lPZZy1XEaqg6RX1IXL2gyawaBm3i5LJuxHxUmsOIvg7evVeo20FbnsR2XZ6TjCh0LfDrIiOJ4NZrTUdutGD74H3QRnx7eZRGVAHllw12WY4UQxwQhTwXoEhKi8u9EQrTDH+npoIih+OehV/zYCICO+tH+jVYYfGFRWrB0DIC2AqAjXxSzhKrGwzkJzhnA/IIUp3oOd8AF3BjNaZ4Uo+Zsam5qpZM71qV4J825F6851dD4mcMzK0X3maYFjJKzJrm9BWmWUSNmiD3J+RcvOQ3vQ3KSxC2TqYU5VIdiPznGvdqtJAIj+cHS/gYLe8gIjYiDICviUG2NGc3LcQW6gTQFzsdwZyvcEQm+UUax6mvMFA4FKLzLA+7hYe9YDPLweu5P8rIQEFfxUi8EHmF29PjzB0/9aZod2AZL5212DDFyOZ2S5KMto4cHKEGYR3lccBjHglaDY2BjtrJnrcU5ye43g45LkJ1qeYj3uxQdS1OWj5Ms1gTnYiujkfP2O/DF+x09CzhmiUAMo++QjAajTcGFVnq483Y78MW7HT0rPWYpj1hawnDP4RnGpQT2ROcRK72c6qKclejCSxcd0Vjs8aas2hbj4OrziC7Zr4kxj1G1Fx2/b8UzOtFglEw4QdihQoJmlgnV+PgBKxGuIoWQxqQaDEhNBJKS6sQjx38V8rzjneAahzdDVi8xHj6QF+0NA6o38RmSbFJafz7dZNWDoRXA8oEuHkdcB7oCbOP1Vg2Ge7koc+ShlwcH2RgHE9VIuC/xxYg9qXMaIxV1Bc/GHBN5h50Z++Gr2dm+XafC78aorpmZvivXyhDIyE6NqkPR3RHQ5uXIbQHk7VXn6Bp31+b3bg3o28thaGNT0Lm7lX1NROOLXnIlasZZAWfF0N9P0AHrF4Y+Lv4YO8HfRo9Ivuxjrou3tzn/Dw=="),
- this.addDataEntry("gmdl google media design library list item list",152,631,"Item list","7Zldb9sgFIZ/jS8nGWMn8WXjrt2kbZrWi13T+NhGwyYCmo/9+mGb5qPgKlvKLiocRYIDB/D7oBwOiXDR7u4FWTdfeQkswh8jXAjO1VhqdwUwFiUxLSN8GyVJrL9RcjfRiobWeE0EdOoSh2R02BD2BKNlNEi1Z8YgG7LuiwJWesilVIL/goIzLoZ2DMOjWyrK2Im9Gp7eoyEl32oj0hUzHwgFu8k1Dyaz4HvgLSix1122tFSN6ZGZhTZA68a4zbAZi8jRUB98jxLoglHBrQi2FPnBH7nili76BXo9+lehK8JuGK073dLSsuy7LOWarGhXa1N8rH2Bql8smvV68U490N/9cCjTdQFS136al7xYrOTfxMqy0SaAEUU3cDb+NQKml28pRjt4dUv9X0lQ/JeSmCm+c6pnTuK9UTY+9+BVJUFZEh4WdpGqmaXqjaCEvbddmS7eBkHmAcHMQlAQRh8FDRCcEFCMPVCYOyi0GgIJFNwUMuSBwsKmwFu66gGQTgYUbhR57gFF7kDRSc5IwODGkKRzDxieDw9nHISkm/DDNIEh9xGkEXJgeBIUhDZ+g22A4YSBUx+xGtnp5a3gujWJH0KYmGSR+4jYyE5sDyxA0CrAcMJIsY+YjewkWQ8g6nCKncKw8BKz7az6E7AN9EoP4UJbAw9ngo29BG87xf7cagVVoOCmsPASte0U29L/1Uvhjg/Xei/ug5fD50phzx1OZE4dIl95nWfm+vB8pDSiz99g5+vq8Y5/7H76F8Af"),
- this.addDataEntry("gmdl google media design library list list style",358,642,"List Style","7Vtbj5s4GP01ecwI21ySx4RMKlWtVG232scVA06CSmIEnjbZX782lwSwIQRsRh0N0UixYxv4js/5LjAz5B7PnxIvPnwlAY5m6HmG3IQQmn87nl0cRTNohMEMbWYQGuxvBrctv4LsVyP2EnyifSbAfMIvL3rFeU/ekdJLVHQEXnrAfLgxQ+v04MW8P8E+W3+9C6PIJRFJsqFolx18GE3IT1z+ciInNmddnAonFJ9bLzfrKq71EyZHTJMLG/I7DOghH4GsRT7tgMP9oZhmm8WFe2nesb/Ovd09+1IYQG4MJBgDsGtZIeMhm3hRuD/xZn51TRsZSwetnttstCMnWhm8zQ4+OPb88LT/q7hj89b1N4lZByjmfi+u0Sjb4X+8CRBrJzhlrX8KS4K+iMBhiEAz70tw5NHwF66tPwYlc+CWPZ73nGZP+2MQPVES//viJY/C08tgSG6w+oRLwc4nK29XzGnaojXBo9Yszv+NhOyyriefL2Ht9HOnvgLZ7VJMBTSud9ELIGucpsh50URpsXFXk+9pAO1xMFzq3FBqdlsFL+IE7zCzk4/TvlAsTMs2+hreumv40jY1u480+7m+TImCoQEFR0DhK7/BbRgxizbxYJaidaHm137PCeSKP+eSzq0d+l60KnzOMQwCvriEF6VbivCO3tb6krU2DlQHoBpvICeOrQOyhQripNhL/IPAmSpBqsQpuJQPLmEaC0J9QgUSIPMoajg1d5B+Ui1VIMTdy6Si1g6HzLUoggOZ+uEAhoDHlkQBTkSFG+3os4P1E65XlN8VNProW1MZKRfNuoLakhi5Ib12djRiayA9/1BBHRiKWJYSQQWWlg0C7hO23AxsZhinuOd+AKsN7K+T921rGqJpy76x0caixkSAtFh6aAJfj/qiV1EZqzI40E+Blmy+mHFNfjqSISALBxUlQ07t7FpyISDWFL4dCCVvqZRVzXNEzbsuJJfQ+3FkPUzVnZPZaoQQGpYO+MVixWfvxDpYRMMmG9AoR3RmBcAUYVpa/NOVAxQ4rAml5MhXEcCBOjMF0FIHuQcoGim/JaBa8OxR2xjm2K5wqrLtdJ5tqcPQSqoZuywqFY3tbt1nd1yRD3QH/X1cm7TSsVDj2sq4oPRtQEvwIRY7BoAUnnakgw9CUHIFrxm7j2LOm+TOjWSt9AVqQRLLG26CPYpbhasIOurI9ZCw69OfKjD2EM/V6YEyZzht3dccycrSJTlaWChWRzbEfz3ym1YdZF4h7o4qJaC3RpX9QNeeTyuCGJV0UwoxFAsuA4Q2IL6IqAkX1taU6eyt7Dww+VvKkehK9mSFMTUesVH7n+sIWqBY9vgeM60NGDL4g4zTk9G2daCspOSSVjaGmMtvlxtmFw2kbHu/4h2TUqzA5MXqDz5OzUdTS4Cr5oWQtlRxveEfLVRsyUS6Mkb4Z1PxgepJFFYekFas/pIdgtVBn8KnToooYoitowgteTXkRxwRL+C3XlSjDWZgNiIMsIba9Icy3sN9oSMzlLyMMkAZX/OtMqUy2o8ro75aGmg8JtKijGKR5keKWYfrHXHifRByakJaUEser+RFFj/fE1MScqGGkM4fQ0g0tOIy5Imt2kjlUpswEV/mpg6+oB7vkdzny4vn/5Sx4lavbsFlIFvyvdPxaAi++9ceUI8ayb3npG+J0PsHSKyKtAIklbS3RMd5b/Cw5u1fvvLh1f8I+x8="),
- this.addDataEntry("gmdl google media design library list avatar text icon",358,642,"Avatar with text and icon","7Vxdj+I2FP01PDKK43zxODCwUtuVVtuq+1hlgyHRhBgF7xb662sn9gzBDngTm68haKSJsR3nnNx7j29sBnCy2n4q43X6Gc9RPoDTAZyUGJP6v9V2gvJ84DrZfABfBq7r0L+BO2v5FlTfOuu4RAXRaeDWDX7G+Q9Ul9QFG7LLecE83qSIVXcGcLxJ4zUrL1FC+x8vsjyf4ByXVVW4qA5WjZT4FYlvClzQNmN+KVQStG0dblXEx/oJ4RUi5Y5W+Tebk7SuAf2obpaibJnyZoHHBx5v6oLlW9v3u6f/cADUYEAJDEDH8gydX8IkzrNlwU7r0R1i5LhR9ALaMFrgguxVnlUHq7yOk6xYfuV37L0X/YXXtADwtn/yMTriPPuPnQJIz0u0oWffOJJAlxG3GyOuV5eVKI9J9hM1+u/DktfxkV1tl8zMnparef5E8Pqf73GpoGcUwudpr0cYqgFrNthx63zy6/M9OL1ARhP8Kpr8+l9wRof1dvHhyG1cfhg2e8CLxQYRiY23u9AiyO/nU9R2ccASfB7NvLM/08AN+tGwa9qGUdgDE3axLtECUZwStNGlIvL8wNEF3j8JvMCmgXtP2LfNbgQLjgUWQomFz+wGZ1lOET3kgyJFmo6ajf1UEKg9/pC5dIZ2lsT5M485q2w+Z50r7EKEpRwtyHtff1RnL6FrjkAz0UBtOIENyiIThrNBcZmkks3sG8i+4XBbqisLmvqS0GywRwlQRRQzNjUMoX2jGplgiIWXszq1djpUocUQHdCzTwdwJD5mOJ+jUvZwvQI9Lzrpyw69IGEOsuktA4UePnCzQXUc6GigvH5X59lRdvi+EecJfCsPAzhtnIJ42jJbb5CmEYKIxz1D2HqODK0o66ssoobVAWgF6a6T9abCy3/IXpC5vHEYhEH3mARaZu68xdtE58jEB6ikn6GJT9i4upV5D5DzB19STPC5vOK+fwtl/+ZUR6u7PK0Pm/LT9lwrMOP0XMe3QbWchPgtLmgBVSq0seM6osZRtQ88maaRzz7HtD3nYYwJwSvWi0SOa3MGAFryG6cIhT1drSDUCp8aOYtuQWzsso9BbM8XxUY2gDaSpVhUatNO/vm4mNcJY8oMRmQmjAkNIOIYsCI05CRGB5KyYoGP2IMkQCazyXQyVej0XpZzkTnxwSRMxAKzJMlpi68oydaKNNNDbpxPboRWDFJOgNRyg1nq3euN6P70hitnUC6jN05je9t6w9XITlxUb9RPwsfWG4KTm9IbLZZzt3pDsTriGy5fH2LjcmIDQiuxqS23wV6U3bvYaFu8cdNi40qSGxrY3rjYuPbkxok3lR9DbNxgckNvSdk9iQ2NNRmClzwrZH9FIZ8G7NMzkvMGYla/Ey7JkQ0jUr3Vd9rh1V3vqFj9oF5N9HjXfj3v2j0rvgvKaYO/44SOEzN9lhFqCWXMn66HJr+IJvcCGxIOymkMrsmd+9fksCVFcsuaHGqkPLppcheMgpm2stDA9rY1OZTTFnrusSH35jjRFuT7HHRcSwOPqxGttTQqNWJIp48aVx9aoc3ILo/zqvQ2W7pblQ7lxMLvGUlSVFQ3sKo2tD20yMW0iG9lGSKUsxz8ZeRH0CId9z9ctRbRyIh00yKz0WQKXgxie+NaxMxOkxQhO3tv6wfhQ8sOIztNziw7rmk30Dlkh6exeKL3BlMhGMxuMN21caIMGl5PwxGWIvoxy4KRlRXf4+RVZRJv3qyNl44zK+/UcgtXw8fd9jYF8UsJfcL9JRm6f4I0UhZHXdol2QnvjR56+v5zLHX1/V9r+R8="),
- this.addDataEntry("gmdl google media design library list three line list",358,642,"Three-line list","7Vttc6o4FP41zn7S4R36Ue3b3dmdvXvtzP24EyUKU0i8IVbdX795AQsSKiqptls6FQgJhPPkPE9yPPbscbp5IGAZ/YlDmPTsu549JhhTeZRuxjBJepYRhz37tmdZBvvvWfcNV01x1VgCAhFt08CSDV5AsoKyRBZkdJvkBSHIIsirGz17lEVgycsJnLH7j+Zxkoxxgomoas/FxqtRgp9hcQVhxNqM8kdBQuGmsbuiKO/rA8QppGTLqqzjkEayhu0GslkE40WUN/OcvOMgkwWLXdvXt2cHuQHUxrBrxjBZX4a2cZxNMKKT+F9eYtrsHCTxAvHLsrf7NjOMG3/oN9mM36xU+V5svPISzGK0+JFbwHktesJL/uSiI3mfeT8JzFi3fuaWNNsiYp2GiOXIMgITQOMXWLn/OSg5Jw7ZdLPgbjZYpGEyoHj5zxSQs4aqrTZMtcE298KBK89LZnO8utXMY62WP/87jlm3dg/v31iVx/f96h3wfJ5BWrP67i1aAeHWgPiGpnhzlLOoB/2+h4yGt5ZyAJd8zTIOu4v0jX7ZKxM4p68V/hBnt76l2Tlc/zyYt1Uf6xRWrwv/WhI4h8xMM5ipAHUDz2lrYldt4jccqzBLxbG8ThyruE3hV4EGAPwuAMggILOo5mFl65dRyT1PVi48rLUXNEDUmglNFRN2A1jftvQjFtQQG5EVYua3DBrFGX9ZCJ8hYtXva1gyw+5PG7w6QXEE4hlIhnkx5VRW5TXXV3KkgtoUlfZHCRSbZho07TNBzkENTA2g3nThhqsMNk4y9lgxMPhfW4sHBy3uGHWDF2XdsqCnQ4ZMQ2F/LylchV2Z7Wzn/VrxBdNIsBvfykUlwIpCfoN+JpxtyCqYznJTbuEt+J55Grs2xghhkhWPZr2WT5d1WIU++//2m+j6FPL+I24YvCJsh7jpp5hEGIfsNGRWXLA9JASgMKuxw4Ad3mLZnJcC8ZqDwaANZ9gKkkjjMEygmgPWUUzhhJXz1ms2YuvTJ09srDyiaVJlk2LhYTqnLywOD2H1Uq8bzvANHYPWrA3aJxyCbROAVVwE7+dFufxWCD7Yg9x5A7L3Xeydyys6edysxzgmqzSF3EFHo797PEJymFduxFZnCaeRGbqX+b0hkq9m1A6aDylXPRYuI/dBN55rmTpWs2Y9+nNNem8etvn7CX5hq24BUAV23lPwKZfeYcJAsFhnjckMUyoPf4cIxXPOGG/NAn7GGZ/xfxM9XSWh2KdQ3mK6omKikLJPLI7xnE8A8Bqp5gGn6b1kC5Wy78u2107tW60mKnTUes3YYkDrlH9bi/zXQ2J/rfgsUnx+CYImQbANLXzUSSBMnyA0BF0+kSCoAmHvKQgTtkojgItCCNIDS8DSui0CL3wh+B0QQeoEMhVIGa0ze2OUiRCQ8SjryAbwRUxGpxCilgGiD0/+hwfvxyN/RRQwJjQSyz9jEc/plwTok4DgRgek1x0DNK8pCKhFAqxLBwGfCHzBRBA2yhg9v6kBOakDtBWvAAGnfzCV0/11BKiY8HMy4IYxHmEc8snhXDwgkhpQMMb/RAcuGwPUogNWPQb4A87iJSzQL/IdvpRAhxI4vqsD1HoQ8ZqUoEXa1EdXAlV47j2VYERiSvli4BEn9EAgiLt6FuUxICh5n0d4xO0fCKCQX5j8WgEeMeLhoTEmSEhHKFgiZXAkCSeLJzDDXEbO+BboIwnCyfl/1ywI9cDmQwwQ5bAuAA8QfomBJjFwPR3fKCky365KDJxPLwYtQnOFzVnLeJnBlpa+u7u/d0wJWYjXvfO/OlUmQeVnJURcRQqU21EKlB9UHt439dBcJ3lry2SVqVjHu/Vd82535egUNTlkGuHZZaVdKEttDyEdSWqKLLV2+ByVqiumW12nHzR6jToZIehEO/qOFhQ6CSlNwexZ5SW7H2A04XKq9zSs03feY7VwH1VWbkfp7n7VfXTkB9iqUNSRmnNJhD4/QPW4SyNASkq7JDr+Z4OHnb7+ik1WL//I7T8="),
- this.addDataEntry("gmdl google media design library list single line item avatar",358,642,"Single-line item with avatar","7Vtdj5s4FP01PGaEMQHymGR2WlVtNWor7ePKCU5AdTACz9f++rX5CsSmhYk9zQ5hNFLs2GDuuef45nKx4Prw/CFDafSFhphY8C8LrjNKWfnp8LzGhFiOHYcWvLUcx+b/lnPX8y0ovrVTlOGEDZnglBMeEXnAZU/ZkbMXUnWEKI+wGG5bcJVHKBX9Gd7y8692MSFrSmhWDIW74hDDWEZ/4vqbhCZ8zqq6FM4Yfu5dbtFVrfUDpgfMshc+5CkOWVSOgPOgnBbheB9V0zy3WjjKy459M/d49/xDZQC1MaBkDMDXsoT2KJsgEu8T0SxXd2oj2/YX3qrPRjuasNbgu+IQg1O0jZP9t+qO3WPXD5ryDlDN/V6t0a7b8b+iCSBvZzjnrb8rS4KhiDivQ8Rxy74ME8TiR9w5/zkoua902cPzXtDsZn8IyQ2j6T8blJ3lqlBtmO6El4qFN/Oy3TKb68lWA2OtVl3/nsZ8Wc3FZwunc/mZ3z0D3e1yzCSrN3cxCIi5BMRX/MQ7thFioxijZsIpbRZeECi9uOXnDvg9h0rCzAQjBMDxFpFlRdlDHIZiwQ2HCd6x48zPRevWdwxTZ+6f5wQvXQZqBd3Twb40wzvMzbTF+WD43cC1h9p9rrb7L7hY26rDRU8LF+vT1FQMDKDi60AlxyjbRhIgbeu3UamAKgfXfBxMjR6IBosnUImnHsBm0DWPWCAh9g1vcbEMpX5yWzLFnn6idV5xSIoFvFP5C07iBfDm8YFraxG5ABgAZ/F7Oo3dwqqut7Vx3XemjYFrwsjAlqy83GywuK91lMU5w0mOk1fo2EOOewO7k20lsMUf7ydog8k9zWMW03bwXkcIn0++74sUeiMKBSHbXPaGesJi9NZWE00n+Xq2turHpmY/ATo2NyGqzkCvcG9X3nJ9JiLDdzIFccGZEWCzky26AC1M4DMghzAptVwYsbKcnFgSbgPH/opJTq86eeIDoMcJ3rNQasmMmBPKPkimo5RyxmTSStkkOvRaWU5RfEHFbX2iUXKVSpmX49Ml/3up1JIwGSOVm1D8nQvJdKRSzo9MWiphvXfotbKc6LjHjEsd/wmOMpJfxVJmZnDJYglMiKUjJ2ouSyx7IJmMWDoDMiSTEksfmrCynOf4keFHKtTyI7rmKhVe0FPMcRlaaSSwVNSQXJRW9kEyHa0ckCSpMSFx6wlny+S4ON5cHYGeJ2Zu/Qxfr13l3MY9V8eYPuRW+Ugzl+x8fabZgxA08bxtSOnGlKIE1zeiL3JmYZXFjCERJVAysDBqQjGCN70Y4Zrb6BBxDk2kgRVFHN9REmaCiMsQHeTtaOpMvOjMhhEmwgGZjdoR+Mw4zRVIg6CuL1W5BZ8e0icNZFRG6ECCZK6oi5trqourf1Y32SYzoGip90jJg1xbKkoZ1/6df0RrdN1i6TK98DQs+UOli0EXIROVi1DOgwzDZ1S1tzi0b2i9rFFH83q2t5lrBAUtiYYN2v5UsaR5kacPl9ey59fiZt84A+ijKtXW9NqE36WPibgEjkhAHPecy0Ho/QN0bpXGn0THf2/w8ObxbchyePtlyf8A"),
- this.addDataEntry("gmdl google media design library list two line item list",358,642,"Two-line item list","7Vpbb5s6HP80PKbCQIA8NtnWHWnnqNqONu1pcsABqw7mYCdL9umPbUwImLSkhUbrgtQmvsGf38XXWO5ivbsrYJ7+TWNELPe95S4KSnn5bb1bIEIsx8ax5b6zHMcWf5bz4UQpUKV2DguU8T4NnLLBFpINKnPKDMb3RGfEkKVIVrctd85SmMv8AkXi/vMVJmRBCS1UVXelLlmNF/QBVSUZzUSbuX4UKjjanQxXZelY7xBdI17sRZWfOOZpWcOdhmWzFOEk1c18TwcOWZmRHNrWby++aAC6wXANMICI5da1z8IEEpxkMllG18bItoOZPz+F0Ypm/KjyB3XJyjmMcJZ81m/s1Vn/0lxkAN32i47RrtL4l0wCV6QLxETqm0YS9GXEeR4jjlfmFYhAjreocf+XsOQ9U7LrXSJtdpOsY3LDaf5jCYsXSdXtBqbZYK9deDMt00eweb6JGjgXNf38e4pFWIeHT2ZO4/GToHkHuloxxA3UD2/Ri4ipQcQXxLmQJDvLL90+aJtm5odhp4aPVO6Apx1U2mUi/SDpxREkt9qwaxzHMuCDgwla8brlJ5V6FzgjG2cavEwC+6b/BqXcH8J7eYFWSMAUIdabfi/07L64T7txf8SJFVYNJ/qDOLG6TWXEcARWAoOVO5ShAhKDHAEb7xgZWp7x1WUoH/htG4WtUQe8+ijj2YOYJQQj0BIatNwXVCgbyVdPKad96PE7BvYOWl4XdXcY1IE3BuwzA/ZFCrNEor6nm0J83FGaSBbmEo3zKfH6UdIy1UxdHcMOl1ZqDU+/L6XBGJQC25xqpPRnzSjjkG/Maccf5iejyTDgAwP8703UbSz/bTHDS+UkaSMbCaj2cjRXJIn/G4YUFAKJq8lexvN0FJ577AVU8zmC1TStOXcT+CN1vTquYCBcA38MXM1thY9iPKIb+eSMcrwSQuWYZr36r+t0TT59lPkaMHcW/mnSI+ThgnId4pOKmQZl/n8bWhVMmOLsVlQAXr6rC0VGdKCvzqx6r6MsP5Gft4Sowa4lljIE8VZlFGVdQ0NPr8eiFEUPSyrInqd8TbQMDG/XMlMllWSc1nJNr+AIXCJyTxmWwVr1bljVMX9qlZ9afD/akWulu47Rt4Ow5ZtgOGWDrn2bUVaL7jgdfcfGDd1k8cX0rbtDOYlYI8agnKtfxf3Wxe1V++3DitvcovqKYyRnpEyK/HK9+JHKtzoiQT25Sv0PkPpsOobUzX2/v7It5uiSMxVGq4mKQjtFmUIzQngrWJXRH0K8yv6Ny37qj3HsBMx91X6qOeu8SV6DL4/2jQZPLpbCQRZLE2+MMwdgbrM+w7tLGD10mfXwQ4JTvJgm7sVLqZ2TZ7b2TXWo+chhUbVMHOPYNmg8fZRTW8fcSzWIq7gSLXHOOnd6LsbQ2yfI3G89SVBnl3ZJdoK3Ro9I1r/GKqsf/1jrfw=="),
- this.addDataEntry("gmdl google media design library list three line list icon",358,642,"Three-line list with icon","7Vpdb6M4FP01eUyEgUD6mKTTaqWZUTXd1T6uHLgBVIMZ4zTJ/vq1DYQPk5a00Gqyg9Qm/jbn3HN9bWdirePDPcNp+I36QCbWl4m1ZpTy/Ft8WAMhE9OI/Il1OzFNQ/xNzLszpUiVGilmkPA+Dcy8wTMmO8hz8oyMH0mR4eMsBFndmFirLMSpzGfgif5X24iQNSWUqarWVj2yGmf0CcqShCaizaoYChiHw9npqqxirvdAY+DsKKrsI5+HeQ1rvsibhRAFYdHMsYuJ4yzPCE5tq7cXXwoAusGwNDCQmMvSMi7CBJMoSGQyn10bI3eF7pbmOYy2NOG1ynfqkZVT7EVJ8KN4Y7vK+pOmIgMVbR+LORplOvpXJpEl0gwykfq7QBL1ZcR8GyOmnecxIJhHz9Do/z0s2W802fgQSJnNgtgnM07TfzaYvctUrW5gmg2OhQpn8zxdg812dNTQpagV4z/QSEzrNPj0xmwMP3WbPdDtNgOuoX56i15EzDUiHoFzYZLZRXrp1kFTNDdr010ZnTZcs3ITva6gXC5TqQdJb+RhsiwEG0e+Lyd8UjCBLa9aflWpW9ccWThz930mcGzqb1DKnSG0lzLYgoDJg6wn/ad1pRfu827cX1BiiVVDic4gSiy7KYW4GIEVdwhWMsDMCzVC6ujXWSmIyiuXeuwtjTMU9XadqMt1DkPY1LLHZ2yhMfZXBkzkeMJ7MUp0DyrQ5B1resvbOerRfBZy2g5w0YoX0IfHB7YxiJtboBHoudHoWQusQI0rRMCBCSD7UOR0hGUd1Hws8tYwyCN7DOiR0RVViAweQqEPjQeDwDPITjhVryWcUuTJOjhNM9UUy5SHE/F/I7vx6T4hFPvCJfZg0e7HYkuLN+rpiDO4VGArHpF63IcRh0eRLcfYC8+sx/2/sLW45hjWgjRrecBZtqesF7HXLE8TzccAXD8w+AE/dxED9fIl9MaWytUs3YmQAmeyTKV3WataW7BVg/7L34iqdM6o8tc0CHuMHQHSD0008sp4k0S1mLHGCajnw3FFw+Bqlf0Mi6t+zHEPCTBMLtHG/zo0tMbxgPqxx3fKo63wJTyiiYg3xD5E2oTEyCElMw3KnJ87WhZMM8XZUlRAdnqoClW0U9JXZZYerJblBPJTzULCG0snizd0JwfdpT7mkJW+toiIlDcOcCwL8jluWNlPES39UQuTykoCm/xd8pqaJb6+y/RC8J42VJjMKuQxKYxJ8wiVsWr7y45NKMEbIA80iyQBk+rktXTxX1vl5w56XlwSCr1YprZKoEVLfe5w+hhxo9s6mbAWo7gx/cToke4S/9NUstxxOs1FUclBGTxOjjyKYSa+3mKOZcchZkGXRGJ8zBuT429pXL807HH2LvqxnTJO7Pv5iwbAP281kVOJseKcKGNXswqpWlwyjwEkjVn+FsGVi2DujCIC/SS0n9VccHlkqGfwKPbYaPBqTLsYJKad2mMcRyP9wPMN2t1g76n3/UGdlzdeIuS2c/YWwZiVN5QvXSR03fwMdAfrNkYf5QrW1E9LNeJKrkTLKM06N+CfxtD1E6QfUJ4lqNOlfSY77rXRI5LVT6vy6vVfXv0H"),
- this.addDataEntry("gmdl google media design library list three line list avatar icon",358,642,"Three-line list with avatar and icons","7Vxtc6o4GP01zv1UBwgo/aj25XZnd273tjP9uBMlClNI3BD7sr9+E14smqBYEytM6bSFmEB4Dic5OST2wCR5u6VwGf5FAhT3wHUPTCghLN9L3iYojnuOFQU9cNVzHIv/9pybmk/t7FNrCSnCrEkBJy/wAuMVylPyhJS9x0VCANMQiexWD4zTEC5FOkUzfv7xPIrjCYkJzbKCebaJbIySZ1R+ggnmZcbFpRBl6K22ullSUddbRBLE6DvP8hoFLMxzAM/Pi4UoWoRFsYFbVBymecJiXfbj7vlOEQB1MIAUDJvXZQSsw2JCMHuI/hMpNuDHMI4WWHyc13Y7ZhPH9r1xXczEySqZb7JNZF7CWYQXv4sIuB9Jj2QprlxWpKizqCdFKa/WUxFJuykizucQcdw8jaIYsugFbZz/GJTcTz6yydtC0Ky/SIK4z8jynymkRz2qQB2YzQLvBQv7Xn5cCZs7kKNmHxq14vr3JOLVWl/84tLZuPzFcPMMZD5PEZOivr6LRkB4EhB3eEreDiKL+qHfZMj1pX09AMoHuMI1x9pPl5wbF1VWxmjOPjL8mR1dDR3D5PCGx8H8vskxrbAOdPBrSdEc8TDNUCqhLHcUJaSNw+6pw76DbGWoNsg20EK28jQl13wDoAx1gJIiSGfhTjyq1CvYqBeixq2jrWod9QB2MfTNI+bvR4wXiJYpatgMrjE6SfgL3bjZpVt6wg+Gm+G3LQPxv9TBmFmIZs8qwqz7JH2E8XcitsZoF2UcGTNfD2RbTZyJfqd8CiqIjeKIJ0wIxoSmEnw7dPdAhRnKth3E2tIEAq9oBuNRkcyEeiiVQvnUVIWFpxYSp9Xd/pFtZAGxb5uA2NZBylWKaoX7FrS+JX4ajz2tvSF3Fc2iq6dZ3JIR5aFeAOTx/piuMBcFjsXCKBU3i9Azwjz/jQQNj51qgLvNkyQKAlFE8eBrUt0NgFKPSY9EqoAGGOGG7D7c/chyTJHIhsX1yYryf1jc0pTvh4gzxbECIhokx0KUQhwIEPv9/tHobY2lLrOtw6h6Rjo1LW5FyhRWBcdknP3s9eEOliJ1SGyWqCqPoQyLLrEOLjfaRceEWLRlLyPhrOPlrIcZYSzf/QNhHPFh7bcSOaUSsQcmzCtbi81hTorUjN86JEVkS+NhlSSCXdZ4/LcB8dG4qK7+bD+G7VMpsq3xFKVCPt7x3xlZxUH2v2w9pytRo7sfCf9Lsn0yF1qTvOLWypSvhdWMTNHilpxcpjQyuTokUxzZInngip9CnjYKYPLtkZxUmTgeMAHyeZskTudNkjLeFQB+raKsA4sMyBJdbyI76IkoZmRckV7mg4i7gC/CGbmHNDOueBNHuH7EAb8NglvrgnwxjkbkhZ45G6eWF3VIdFdeyC7II0UvRAzJfkKcItwOfSFz88TTOzTpC1CCrhfl83Y+6t5cd0hfyM7HLxpkxseM4HlEk6wHO2Op0UFjQzFf4zGE+HmtNuZZM1i8geHNHcqqRArg5pQkrVUc++F0gIHpIEYVRysNjWazdjqkOIBsaIxpxJgwNH6SmLVDb3TFz3BLAagX4/P2M0Dn/Qwg+xm/0SxaisEzE8PpcgL+WYqNBvi0TmwA2dd4EmikYfECBUFRhWxGDhjxPU4Elk31SP9dQfG6ZZKJRdralyhfjKoRzQFa6XLUIdFdzSG7HFfwJRLsuof0+VtynFJyeLaR9vW8LQ7QeYsDyBbHbQQxE678AorJAWcrNzrobQDZ2xhhcVP80ohHkvWK+aUpQvlMUhYKObKGbBnD99YqjQ5O1wCtdDfqkOis0nBld6NWXRy2Fsz2y4WtIQzIq4b+XrkwTIbEU6zK8wytyrNLE08vKFrsiGW8Ui5stXzXG1if54i7f1xkcGFkyQKjpJDdiGbxP2DFuJVt2jVxLSuUHYh75NK79Vo7E6tTXdmB+AQLplC9OlK5nLiKy2fZsbvxsvpOg0WSqoXgmr51YWtdq4l5624Dk2Ffn/KVCHUfINleqAVI2aR9JTrDrsHDDz++TCnPXv2upf8B"),
- this.addDataEntry("gmdl google media design library list line item primary checkbox",358,56,"Line item with primary checkbox","tVRNc4MgEP01HJMxUtPk2Jg2l3QmMz30TGRVJiAO0NT01xeEmC/T8ZA64wi777HLewjCqWhWitTlu6TAEX5FOFVSGj8STQqcozhiFOEliuPIvih+u5OdtNmoJgoqM4QQe8Ke8C/wkTWrwAEMCPvRwCEzQD1MmwMPMEp0CW6RCOGFLknt4spi7TRnnKeSS9VCcd4+DmaU3MExU0lbCC/2oAzLCF+TLfCN1MwwWdm0YJS6YgvCWeECHHJzhn8J4Q6Xy8p8sB/XxyRx1WqSsapYt7Tlc2xDYbN2BWjuCtaGglorkAKMOljIN6Om9AiczDytBFaUgZZMfYxoPy866kl+OwgO9LuBb9wYprtoCneCxoWgfJyVkO22srkn+JU70Ww+T3AH/gzbHCxX3C/XIZy+ceIpZ/JNetQ7xhRwYtgeLsr1SRoqbiSzjcTRsb9gQqg+ml8uIPNcg7lxpGt7kElPjzBJgNakgBuPzn+XK6Om7fNwoy4Jf9gWbpL/sG2EH++bnZ6uUQ8/v2V/AQ=="),
- this.addDataEntry("gmdl google media design library list line item primary checkbox",358,56,"Line item with primary checkbox","tZRBb8IgFMc/DUdNhdVtx1k3Ly4x2WFnLK8tEUoD6Oo+/aBg1VkXD46kaXn8Hw/+PwoimWwXmjbVu2IgEHlFJNNK2fAl2wyEQDjhDJE5wjhxD8JvV0Yn3WjSUA21vSUBh4QdFVsIkSWvwQssSPfa1gYE5BZYEBq7F1HIqKnAT5MgMjMVbXxcO63rFlyITAmlOykpuuZlVqsNHEZq5UqR2Q605TkVS7oGsVKGW65qNyw5Y77YjApe+oCAwp7oX2K41xWqth/8269jkvpqDc15XS67tPkjdqG4XTcDtFct60LRrwUoCVbvneSLM1sFBUmfQloFvKxiWjoNMWpCv+xTjwDcR2QwzINc8LjNd9mW/gyNS8nEOK8g36xVe2G4QzHt2i9EEUQQf8Zt3mwXHrZrH8/fOA0pJ/ZNBtw7xDQIavkOzsoNWRorrhR3C8HJYX0RQqw+ej6fQBWFAXtBpF/2TZAe7gFJgjG0hCFG/e/y6zfq2d0X1HnCH9jiXfIf2Ebk/txc93iRBvnpPfsD"),
- this.addDataEntry("gmdl google media design library list line item primary checkbox",358,56,"Line item with primary checkbox","rVTRboIwFP2aPmqwlU0fJ26+uMRkD3uu9AKNhZJSHe7r19KCOmEhcRACPffc3ss5N0UkyuuNomX2LhkIRF4RiZSU2n3ldQRCIBxwhsgaYRyYB+G3geisiQYlVVDoMQnYJZyoOIJDtrwAS9CQm1cFAmINzNEqfRaexmiVgd0kQGRVZbS0uDJcs0y4EJEUUjVUkjSXpWklD9BGCmkKkdUJlOYxFVu6B7GTFddcFiacc8ZssRUVPLWAgERf8V883PESWegP/m37mIW2WkljXqTbJm39jA3kf9bsAPWgYA3k1dqAzEGrs6F8caYzxyDhwqVlwNPMp4VPDqOVW6dd6kV+8+Ed6HeD3LkxTve8Tu0ETdOciemxAjUk9i9nFoG9xwqD+4U5+zmbhi7lSqh5cK9TiykQVPMT3JTrE89X3EluGsFB25+X21ef+DnvdpBJUoG+E7/re5Qf8//wI84gPuxlPdKTYLFchqQjf3o1R4/vgEu3CX94NuuZ7RZ70LMJ+WXa8nHPzPJyWjr69WH6Aw=="),
- this.addDataEntry("gmdl google media design library list line item primary checkbox",358,56,"Line item with primary checkbox","rVTRboIwFP2aPmqQinOPEzdfXGKyhz1XeoHGQklbHe7r19KCTmQhcSWE9txze8s5N0U4LuqNJFX+LihwhF8RjqUQ2s2KOgbOURgwivAahWFgXhS+DURnTTSoiIRSj0kIXcKJ8CM4ZMtKsAQNhfkcSwUcEg3UEZU+c0+kROVgtwkQXqmcVBaXhmuWKeM8FlzIhorTZlialuIAbaQUphRenUBqlhC+JXvgO6GYZqI04YJRaoutCGeZBTik+or/4uGOl4pSf7Bve45ZZKtVJGFltm3S1k+hgfzvmh2gHpSsgbxeGxAFaHk2lC9Gde4YOFq6tBxYlvu0aOEwotw661IvBpiJ9+C+H7jnxzjdizqzPTTNCsqnRwVySOwbZ5aBfcYKE94X5uw7bRq5lCuh5kFfpxaTwIlmJ/hV7p54vuJOMHOQMGjP5+X21Se+07sdRJoq0D3xu3OP8mP+H34kOSSHvah7nhgDFs24McZ75cifXs3R7Tvg0u+EPzyb3entFnvQswm+Me35cc/M8nJfOvr1dfoD"),
- this.addDataEntry("gmdl google media design library list item list",358,56,"Item list","rVTLboMwEPwajonADkl7LJDkkkqRcujZhQVWNRgZNyH9+trYeTSPCimxhGTP7njXM8YejatuKVlTvosMuEfnHo2lEMrOqi4Gzj3iY+bRxCPE159HFneiQR/1GyahVkMIxBK2jH+DRT5wtECLtmrPHZqxtgTD8T0atSVrDC4h1UWiHDmPBReyT6V5P0yakuILDpFa1JoTbUEqTBlfsU/ga9GiQlHrcIVZZopFjGNhAA65Ost/c/AxLxe12uCP6SMITbWGpVgXq56WzIiG3Nn0DtDd1aeHnDhLEBUoudcpO8xUaTNo+GJpJWBROlo4tRhr7bo4Uk9q64kT/Lb49Er8YbpXXWEuzLioMj7eYY73xL5wZtqPocKQ28Ls3bUah5ZyJhSZXOt0OJMEzhRu4U+5W+K5imuBuhHiH/pzcrvqo+BiB5HnLagr8Y99D/Jj8gw/2h2qtDQXuW36/yPJsTOUyEY2iilDMrd+kGv+/DUJZw+69pfwj4d0esND/ykejsLgwkT/cRP18vRa2vTzx/QX"),
- this.addDataEntry("gmdl google media design library list item list",358,56,"Item list","rVRdb4IwFP01PGqgHTofBzhfXGLiw54rXKBZoaR0ivv165f4gS4krglJe889vZdz2no4rrqVIE35wTNgHl56OBacSzuruhgY85BPMw8nHkK++jz0/gANDOo3REAtxxCQJewJ+wYbidRMqvqlRVp5ZA7JSFuC5vkejtqSNDouIFWFopwyFnPGhUnFuRk6TQr+BSek5rXiRHsQkqaErckO2Ia3VFJeK7iiWaaLRYTRQgcY5PIi/82F+7yc13JLf3QfQairNSSldbE2tGSOVMj9n9oBuocamZATaAW8AimOKuVAMyWDycDhq6WVQIvS0cKZjZHWroueelZcTZzo9w3AAwPG6V51hT4006LK2HTXe3aruPJiZkaPfLqfGi0Oui/O0R2vaWgpF2IF/lCrwOkngBFJ93BV7p6AruKGU9UI8l1/J4arPllcb8DzvAU50L9ve5QlL/9hSXugMtV+kLYxVyTJaacpkUW2kkhN4neuiTJtZ8bwYvnLRRLOn7TumvCHkXg2NNI9KM8aOQlvnDwdmmesVMvz02nTL1/WXw=="),
- this.addDataEntry("gmdl google media design library list item list",358,56,"Item list","jVNBbsMgEHwNx0YOyEmvtdPmkkqReuix2oa1jYqNBSR1+vqCwY6buFKQkGB2h11mgLC87rYa2upVcZSEPROWa6VsWNVdjlISmghO2IZQmrhJ6Ms/0WUfTVrQ2Nh7CDQQTiCPGJANWHDI0UCJIWjsWcYgB1OhpyaEZaaC1uMaD65WVggpcyWV7lNZ0Q+fZrX6wiHSqMZxshNqKw4gd/CJcq+MsEI1LlwLzn2xDKQoPSCxsJP8pwiPeYVq7Jv48X0sU1+thYNoyl1P26ypg+IV3QnY/StTD0WNtqhqtPrsUr4Ft1XIYOljoFUoyirS0lXAwIR9OVIvortF1H3eA3bjwX26113p382irLlccGfbRzDtWnJnxqofY+Q93ordqw6dV+ccn9giDZSJWsMlpmINmEYJVpzwT7k5BWPFvRKuEZoM/a0DI1Z/WF6doIrCoL1xYOx7zhS3vXy6kD79k78="),
- this.addDataEntry("gmdl google media design library list line item checkbox",358,56,"Line item with primary checkbox","rVTtboMgFH0afraxUrvu57Rbk6VLmuwJmF6VFMEA7eyefiBov+xi0kFM4Nx7uHjODQgnVbOWpC4/RAYM4VeEEymEdquqSYAxFAY0Q3iFwjAwHwrf7kRnbTSoiQSuxxBCRzgQtgeHvBMO2kBbkDvKlYsrfWQ+nhFVgmUHCMeqJLXFJaSmXJxTxhLBhGxTcd4Om6al2EEX4YIbTnwAqWlK2IZ8AdsKRTUV3IQrmmW2WEwYLSzAINdn+S8e7vNywfUn/bH3mEW2Wk1SyotNS1s9hQbyf2lOgOauUi3kZVqDqEDLo0n5ppkuXQaOlo5WAi1KT4sWDiPK7YueetLdLLz0wzbgGxvG6V41hW2daVFlbLpXIO+JfeXMMrBzrDDhsDBH32DTyFHOhJoHtzp1mARGND3ARbkh8XzFraDcNmR3Py+3rz7xDd6fIPJc2Qa+Er+/9yg/5v/hRy0hB6NiCmqkLYt2PGjLJeEPk2YDzdxhD5o0wVcuPT9uktme3kWXfv5s/gI="),
- this.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Zxdb6M4FIZ/TS5TYUyAXPZjOnsxq61mRruXKxdMYg2JkaHdZn/9AgYSMM5CYkMTkqpScDCY8573iXUwmcHHzcdXhqL179TH4Qx+mcFHRmnC320+HnEYzkyD+DP4NDNNI/2fmc+ST0H+qREhhrdJlw4m7/COwjfMW3hDnOzCosFH8Rpnuxsz+BCvUZS1M+ylx38ISBg+0pCyfFcY5K9st4TRX7j8ZEu3aZ+H4lSYJfhDOty8qRjrV0w3OGG7dJd/iJ+s+R5w4fJua0xW66KbbRUDRzFvWFV991efvikC0B4MKAQDpGO5h0avmKCQrLbZJh9dM0aG4SztB1mMArpNDnZ+zl/ZzhHyyHb1vbhia9/0k0ZpAyj6/ijGaJTb5N9sE8B0m+E43fqriCToqoh5miKmxdsYDlFC3nHt+OeoZJ2YspuPVWazu9XGD+8SGv39ithZqQrbA1PvsCtceLfg2wdhs2wxaqBv1Irzv1CSDqs6+Xxp1k4/d+pHoEEQ40SIenUVnYRYCEKkuUi8uJdb2l3QtMzSdt3WDD7IcRP8v3+4WeaZGzJxiYfC+8KuG+L72YAr/4Y4SPY9v+VbT46p2TYL57wE2NXdp1RwW4XzIoYDnIbJw3FH+atvlU5xX7TH/YgPy1jVfGgr8WF5mNKGrgZVHBWqpMNI0iwfVJLOoFxo02deaq9TIFcQ6D5JGPISQrfqYVlJI8KyRN439IrDFxqTbARH0CdFZAsT+dAkaAaOZmparhJqukCD/EsV/kQHGdPMg8PvuUYyOPlf1+C7atB5phYSdC41SAMMFdq8RW2SVKGvOyPzShCS6M8+U3CJMJ0BCkxRJkUAhY2JJtQhExBkeiLbFEDXAs8LRCUwtRjy1HpEzZA+T45ukvdDJJDUJ46Zr236ooaRRXFHLyPFqsinZKRMmclAUqyLfPHfPJRj6sbJ0Tjp6Ci9ALH2coIpcZUfWlBp9Ual2WLBS5pOKimQDIBKiTKTQaVYMnlGGxLubpwcjZNVlUet0mLt5QRHBjw5tEDS+VSQdAaApJJ6yACQlCgzFUiaYm3kN4zC9OpukBwNko4WpcXyygmOXPPk0AFJnopTgmQ5/M8OSZkyk4GkWBz5IwiIh2+QHA2SsNlFjdJKlp1QnhxaIClZjnIMkoYoQnlZ50LSrZsPaNFESRVkAEqeu1Lo0ikp1kVeGN3Qq7oBfomktLXMXZQsSIn2CaKFlnZ/Wrbc6+69yLFbcbL0u1pdlNRCBqClRJrJ0FIskHxHPqE3UI4GSgvouIkDlaw+YXluaGHksj8jW6ynipHNGaUORkIlpZABGCmRZiqMLM9xyEjskQjfppMjUtLWcQsHKll/wors0MFJKAn7Fc8loZJqiH5OyqSZDCfFCsmPiLLkhsnxMLkAWpRWsvYk5smhhZInPJjTNps01VCycRNHS30SKqmEDEDJcx/QuXRKipWRnwy94/BGyfEoaWtxpJLFJwlPjp6U9EmWKFzUmL7l98q72VPNcznl3R7V80tDg07WhTyYI5NmKuS0Tq2X9Hr6O3u1MvMcju1qHQai2rw8jloVTBVueUXerza/VN9ZMl1EH3XSxTr+wIZxV97ePWaftucPFf2EQmOGqKMCbHWobZRapT1JFONPpdD1C9ShznEUaWOq41ybPOnm/peR+O6HP5z0Hw=="),
- this.addDataEntry("gmdl google media design library list item list expanded",358,642,"Item list (expanded)","7Vtdj5s4FP01PGYEGAJ5nI9O96G7O2qr3ceVB0ywxmAEpJ3019dgIARDFoidaJIwGil2bDD33HN8fWNr4DF6/5zCJPyT+oho4JMGHlNKc/4pen9EhGimjn0NPGmmqbN/zXwe+NYov9UTmKI4H9PB5B1+QLJBvIZXZPmWVBU+zEJUNNc18JCFMCnqU+Sx+z8EmJBHSmhaNgVBeRXN8pS+ofqbmMasz0P1KJTm6H1wuGVVNdbPiEYoT7esyU/s5yFvAWyXdwsRXodVt6VVDRxmvGLd9N29PftQGaDfGEAwhsHGcg/0STaBBK/joshH17WRrjur5cOQjQIa563Gz+VVNE6gh+P11+qNrV3Vd5qwCqPq+60ao16X8a+iaABWTlHGSv9WljTGImLOQ8S0eF2KCMzxD7R3/2NQsma6bPS+Lmh2t458cpfT5L9XmB7lqqDfMPsdthUL72xebpnNWopWM6ZarXr+C8VsWM3DFytz7/ELZ/8ONAgylAtWb95iFBC2AATzRexlk9jSz4IuZVZL1+314JaPm8b/84eTZVGwoQAXe5DcV3SNsO8XA274S1CQ73p+KUtPjqmYNrZznANs99knFfClDOYlKQoQM5OHspHwN7PKKLvb/XY/wMPaVns8XErhYX2bmoauAlQcGaiwYeTMy08KyWihtJXhs6ixVwmQKwB0n+cp9HJMY/li2UAjimUteV/gKyIvNMPFCA5I36BE9mhiO9hwFGvk0pSika6hAOyVDDbCln90UW/Pah3onfKv6TE50nPlSKerRDpXCsAydBlobZI+kAbAKLlCcPKPBGBGC6hh9pBIjoCCTqAJVMBkzISJ4FIhBWxQeZ18SVS725G6ZQAVs1TtIy0jP+GYqfylzlCdpUKzyPgAM5dhKaGZmP+YoYY+d5qJK7tRRjcGrH5I+fpiRzkTVB14K52gpCQ7Jk9QR6FxNbOSmP9gigbfApgVQ9HMJYyS0pj6a7qJvVBAjll3ioh1c3rOyScw60jm1MkJ3VaBh5ie+Av9ZBX3EUqZfeOb/Wv720r4ICYivm2yEBf+D1NxoXut1ge6inWnIWYZxs0UlxkjA0tFAtQQV/ef/I0Hyyj1QsNklWBLCoeBpSL2MqUkB1DjH+NQb6KyUXbnDjktZdMTdclK2ZwgIjbn5gJOnLIZQuZaouMalhZOzzDCZHvTybNFHpa+VIG0lLRBwJ1DhUgOWf2CRfI8aYPJIjmEzNWIpJhC+ANBkoupgptInkwkbSUiKWXvRMidQ4lIztg38cFFUsrGiROI5LHbJz66SIqZjb+DAHvoJpJnE0lbN1UgLWXzBOXOoUQkZ+yQ0EUQ6tc6ViTdffIZKvKK4INskbj2PRJAzIu8pDSit01mZ1ZKW1eBtphdmcHKZOcgKtQSDJzlmLifbPJBggG17Ownq/kuFxcpuRD1ajkEzdWo5dwEyaRTC8Ul/Qe07V6HE6nYwlKx5QyI6Y8ZbHmF3lsfX5o5agiXmfteuO8Mcke/q7M6h+jTt29W0tGfztJZxckfMCKbUWPFeuIkE+PxcyJ0+QCNyG0clLRzouNcGjysuDvRy5u3D/z+Bg==")];
- this.addPalette("gmdlLists","GMDL / Lists",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLMenusPalette=function(a){var b=[this.addDataEntry("gmdl google media design library menu menu simple",170,168,"Menu","7ZXLbsMgEEW/hr2DEzfbxm3TTaWqWXRNzdigYGMBefXrOxjykhPJ6mPVWLLkuXNnYA6WIGleb+eGteJFc1AkfSRpbrR24ave5qAUoYnkJH0glCb4Evp0JTvqsknLDDRuSAENBWumVhCUIFi3U1FowcgaHBgMG92gOuPMCvAdEgysYK23GihwyVkplcq10qarTsvu8TZn9BJOMtA9oQHXGxRHGMT9gHGwvTpTJ8WB5qBxd2aHlo3kTkTHXZg7ESArsS/LpkFkNgjVofaICD8ipcvE0h6xNygNWNEDhxN4IH4WWTB1r2TVYKaWnHvLrNSNW8hP7x5NPIeWFbKpfJhhiD0x+R5nGsyGfo/NOB68AcWcXMNZ/0u84hKvWuLKR4suSwuuB/Swk0GMxz3Gz6Ba4v/ljNVthyIpAfgHK5b/m/vuvM2vHsOkdwwLcA5R2RtzlKfjP2Ce9Zl7lDTRK3ej7gv2iH6CHcPjHRvsp1fwFw=="),
- this.addDataEntry("gmdl google media design library menu menu simple",170,272,"Menu","7VhNb6MwEP01XCtjEmiPJd3mVClqD3t24wGsGIyMm4/++rWxSUkharQxpxSEhMf2jOe9NzYiiBblfilJXbwICjyI/gTRQgqh7Fu5XwDnAUaMBtFTgDHST4Cfz/SGbS+qiYRKXTIB2wlbwj/AWqyhUQfuDDVIVoICqZuVqLQ1paQpwHhAutEUpDZDJax1yDRjnC8EF7KdHWXtZYYpKTbQ64H2sg6o2GljqBtuPSAV7M/m1JpcQksQenXyoIfsGFWFG5HYvFEBLC/cNJy47EhjDflx7hdE+sWhNI5YNEBsJWHLYPffwJX73PB/l5eU39XOWZQaDNia8EfO8soMY5Qa1ylxBg6ZAZyTd+Ar0TDFhDFLm3CaiUq9sU8TIZybcDVZsyo3zVg3JTS686+DLBww5Fb8jc5kZu5LecI/8xQPaQodSxI4UWwLJ+7HqHMRVoLpwBh160nsjMNppM6ByLIG1ID54zIvEsNsIIa3QufvRwqNcRXdjBLuR5Qw86OE+EQJ82QCJcwHSlgan4izauNHDq2nWxYDmkIMIQonUEP887HacaxphVHcR0Ry/gz1hfvYsXkt8B3SeIodOBkg/UI2YKLoZy3qg5/iaz1dX3yWwI5lfH059muvX5MuMV+ywCOqiL2Uo/s+PYpkjiYQyf1AJE9iV3FBqB910M7brWzP0+nh+/b8gCfQw8Pv9jzYno+V6BXpbnE9qF+hFFtPn8jS+votO89lh2ceyk43v35k2OH9/xz/AA=="),
- this.addDataEntry("gmdl google media design library menu simple menu",280,160,"Simple menu","3VVda8MgFP01vidxLXtts7V7GQz6sGeJN1FmNKjrx379rh9ru6aFMgqDGgJ6rkeP5yASWvfbpWWDeDUcFKHPhNbWGJ96/bYGpUhVSE7oE6mqAn9SLS5Uy1gtBmZB+2sIVSKsmfqEhCTA+Z3KgBNsCF0LDS45b6VStVHGxipdzMKHuPPWfMBRBWILFcG42SBY4iDvB9bD9qLmCGXBSzA9eLvDKRvJvci6H9O5CgGyEz+0aQaZS0C35x4swE524bwjdOTISqB6XDRO08bLVjbMS6Nx2Bjtg+xT0/B00Swsr+RXAEuax0cWFbEhzpTsNGIK2kBzA2uk7gJrOrZ8b2xwEaWoWWb3kvMgYG7B4abv2a6rba/+ZvskYxYU2rKGX+ufiyJv8WZkcK7YZcJJeKZtHfhRdHthV6X5MErzRXIIWYF2Mqr9n0zvK7vTi3eT7CaXsvu/m3hfqZW3uHI4PDxXafrxa/YN"),
- this.addDataEntry("gmdl google media design library menu simple menu multi line",280,328,"Simple menu (multi-line)","3VZbT8IwFP41e+86uT0qKk8mJpj4XNnZ1tC1S1cY+Os9vXDRiQHkYiwhtN+57vt6yKJkWC5GmlXFk0pBRMlDlAy1UsbvysUQhIgo4WmU3EeUEvxG9HGHNXZWUjEN0uwTQH3AnIkZeMQDtVmKANQFq+xWwwRT3mVciKESSjtrkrmFeG20msKWBdyyloKlqkEwxkOoB9rAYmfPDgoNj0CVYPQSXRqemiL03ffPRQrgeRHCEtr3IKs9kK9jNxTgJrDwPSNJi5EXbpALSnIFtauooUUSPo0jR0kz5u8WjAfhvEUJcQtxJnguEROQ2bC6YhMucxvVxaNlh0+YuA1eJU9TW8inD0UtmRpqLPYaaNmbXnocvd3ArgbBDJ/Dp/y/ofymRfkY2XCcCy7tj6P3YAU6Ryvw5ZIDsZ+flLmsEh1yoBKhxLPi0vK4/CzoKkJlWQ2mpdy6sb3E7LTnp1EbJRv8q6sg3aEpKdnUyoDpTHC2njZeenef5pza79S4KbiBMTrbAq61S+veO43ucXwO4bt/bor/17TG/XOo1muPa6FhS7TTDCxh0qaYoI5czlwCoWQOeuX9Bte9Etcf7sFprglNTnBN8Lh5B/Xu26+oHw=="),
- this.addDataEntry("gmdl google media design library menu menu items",318,126,"Menu items","3ZZLb8IwDIB/TY+gPihwHWzjhDRph50zatpoaVyl4dH9+jlNeIPoBkiDSIjasZ34s63Wi4b5cqRYkY0xAeFFL140VIjaPuXLIQjhhT5PvOjZC0Offl74emI3qHf9gimQuolDaB3mTMzAaqyi1JVwigIUz0GDIlGiJO0gYWUGJoJPQpmxwpgqmNCRgykXYogCVe0dTetlzLTCL9jagXrZAAkuSBmQ4O4DSsPyZE61yiU0AqTbqYpMFjzRmbWIgr51y4Cn2cot7FolK60iXftuENGDo3ScWHRAbAxyZgw05PRnCO0jpFwMGpMVnzDxJHgqaUdjYYCh1O/825gGscFRsAmXqRG7JCooafPDpdYYUfg3RB1XfwWCaT6HnfiXYOtcr9HyZWrmpZ3miWhrxZlMBRx0mIuw147depnI3PQrR1mbKgOlGdjoONhdh8rNXju28hb2+Ehf+r+E7o5/Q063Wp/dCnu7LjidlqAPqrS+daPCxWf6XS+wab/nPEnqSt13y+/Rr3bDXBV+91GmJv7/U+NOb8U3qGPv3BBlChq/Nj5Ra8wfdIz6nRvg7z/KGPXuZ4xWcS8pJImbT2Frvv2l/AM="),
- this.addDataEntry("gmdl google media design library menu menu",318,126,"Menu","7ZbbboMwDIafhstNHHq6XdlBkza1WqXtOgNTooUEJdlW9vRzSEpLaSW0w0XVIrXCju3En/kFXhQXqztJyvxRpMC86MaLYimEtnfFKgbGvNCnqRdde2Ho488Lbw+sBvWqXxIJXPdJCG3CB2HvYD3WoXTFnKMESQvQINHkgqN3mhKVg6ngo6FyUppQCQluOc0oY7FgQtbZUVZfJkxL8QZbK1BftkAqPtEZoOHOA1LD6mBPtcs1dAcCTycrDPmkqc5tRBRMbFoOdJmv08KRdRJlHcsmd4MIbxyl/cSiDrFZCbxDDY9vaJhGaELYFaNLjisFTVNWN12ShPLlmqG1HiAzRw1GhqPgekG/TLlgiLYEhdaLa7E3qvBnqAbuOZDAiKYf0Kr/G3yDDr644KkXTmeHEDLyCmwuFNVUGIQJ9mYexobtw05Aw5g46NL2dXgYu6x7kY32k20nVE6El0Nrb3EP/FGXu5Nrf+7uAHNB8VzN7hfBulC1dvjtGiLLFOjO5JpGeg1z2BnmnCgNJoIbWowkcPLK2JlQ1S7zp/MYdeaxyGlmdkWB4f/zsWlseNbYuDPTJ1BAZJKflbVXWZPBP0xhsuetv9FVW2X2heaM+2OT3PjkJIfm5oPbhm9/j38D"),
- this.addDataEntry("gmdl google media design library menu menu",318,126,"Menu","7VhRb5swEP41PBYBhpQ+LllXTeq0aJO2Zw8fYM3YyPaaZL9+NnZpAomasqaqlCAhuPPd+e777oxEgBbN+k7itv4iCLAA3QZoIYXQ7q1ZL4CxIIkoCdDHIEkicwfJpwOrcbcatVgC18c4JM7hAbM/4DROofSGeUULkjagQRqRC260c4JVDTZCZARV49aaSijMlvOSMrYQTMjOG5XdZc20FL9hawW6ywUgYmWUsRF8PiA1rA/W1Kl8QXcgTHZyY0xWlOjaWaA4d2410Kp+dEtmTomVU1S97xNE5sWjtB8xNELsawt8hJpJ36JhC6EFZh8YrbhZaSghrCu6xQXl1SOGTrqH0qYazyyOguvv9K8NF2dGlqCM9NOXeDRUyTSoUt8HEhjW9AF24v8PfOkYvskd16wrOzhh1RAWFqJpMDcmc4Z/AVsKRTUVFnPpyuq5uB+s95xgTxLraDjM3ZCao4hA+4nYddj4mQ0zJ2/RFCf7GvqFLPn9l4KatPrNr9Ld7a8GYyLKUoEesdxXcRTx2Yj4JVYarAW3UDFcwNlP0YCfzW6YV+VjNuLjx3kMYnbmg3j9/Cd/yCuWUqxU4p62Caj92DvSuJAWmTmxOUehHTpiy0nD/NICE1oguz59C+SjFvgGCrAs6ssJvPcEztMTsHAzYuHzeZzA+TseP4ROP35xdDmC33MPpDdv0APx8z0wafhFqy+kTyB9lr066UZ8+pPjzLd/9PwD"),
- this.addDataEntry("gmdl google media design library menu cascading menu",636,632,"Cascading menu","7VxRb6M4EP41eWyEMSHZxya7tzqpu6oUne7ZCSZYNTgyZLe9X382hrRhoCUJVts1karGBhs8H9+M52OUCV6lj98l2Sc/RET5BH+b4JUUojDf0scV5Xzieyya4K8T3/fU38T/q+MoKo96eyJpVvQZ4JsBvwg/UNNjOvLiiVcdeypZSgsqVTMTmepdRiRPqJ7BU408IXt9qqRbdcllzDhfCS5kORrH5UefVkjxQF8coeXHTBCJ36oTqUZ1P1QW9LFzTWVXtaDvVKi7k0/qlN8sKhJzBkYLMyyhbJdUw2Z+YDpJbjp2x7HPJlJfKiu1WwwDiy0Fj4DV1O1ra+iFsC3ht5ztMnUkZVHEy0XvyZZlu9qGpnVHY32rKNR2FFmxZv/p6dBMtSXNVevfaonaVC3A9LKef5n1gurRkJSTgv2iJ/NfY9EAWvTihzB93GkuTXdpxKdbkaYkU6csOdlQfi9yVjChYZBmWUd47hrHjzCRCjdeItMNZxOtXkDgdiBOBzxVNJ7OTPsFTMiHKKFzUaqufy+Yuq3jxW+C08vfhKcziDjOaQFQPq6iF/AzAPzfhTL4diTTmzA9nU4zKCwhhMUNPs4c5+McAP9PFlHJmcJ3pGRPSi4CC8gsIDJuUHLuOCW/AODXhWQPagJx2CUjK/uyEvk20EEegOeWq0mX64TF+v+sC6Em27bKTtqk/enW5OebfLsUuC/XUtALIaxVWno1B1E9UU3CGpJhcUaQhgdlz3wr2b4YWdibheHCBjpQxJi6ER1RhxDiTHhEUI1ZHzYjLc+jpW/HaUJdZ+KvHCGm69IOgtoOQL5GtswvXxOI351n6MrdSs2zmQ25BkG95p5IUrKlNnh+tjNsPvbPzrF0he8OyVCuL7QCCVRShvF7Kvcj2Y5DulQzNF6+hOVHz8z02xnjATMhtWV7OrLwSkc2G55NtR/Di1M/NrOBJFReDFVGPrXyCXs25C8EZZDPyqeF23zyoWJyV8rL3roixMDEaiD4cfYUQxEusLF986Hg8UkJZx44hwkHxZGfh3RDpcLJ9+5Yfn6e7EooW9gQq1rqRz4rszrgcYZZUN8wdPLEXttzzLm6ihawDbmppZrksxIrcJxYUNAASDqnHQVzG0JFS8nHilMiVVcsZEqK4pItubNCerCwAhLUIPR0gzi3jy6kO18A0lIB0ukMqwrsbmfYWZv9sgL7Uuq9/i7ySLtm3voWNf1F2A1M76JtKDusWRnUB96jnTo75bMHdW4dpRjvVrmNoUyApqiz6MVto3aEDBsRA8Ok/6s4bMbH/d0LOTFM/1eHvBDpBN+qbjSF3n2EqBMiO1V9uK1wYZDNVkK3D40wXA02MbuGxG+L4sfEshcyuKMC4bWtUlv2ElwHVB39w5PgfzO3AdsfIwB0YeeKAIA/qABwobMbSAGwUzyJoQJwG0Xa1ipu6PdyGxoLSY0p6qISmxFqaKnzQtDqLdS1oM2tgNZSlXACGom1pUbMLsLMTjkkPiORd8ep2cl/ApjuV7tsQxH15E6nsEb8j+TElRu4IUsXVfP5lw3M6S9/+OB/"),
- this.addDataEntry("gmdl google media design library menu cascading menu",192,146,"Cascading menu","7VZdb4IwFP01PM5AQXCPm9t82RIzH/bcwYU2FkpKVdyvX0vr10Dn5kwWYxOS9tx7295z0hMcf5jXI4FL8sITYI7/6PhDwbk0s7weAmMOcmni+A8OQq76HPS0J+o1UbfEAgp5TAEyBXPMZmAQA1RyySxQEVzqqYBYbXlfScGnMOSMiybuQzNUJKWMbeFpM3QFwQlfKNBTixIEzUGCTip4oevsFUBIqPe20UC2hxFwtYVYqpQFTSSxGbf27gRoRlZlQWhAXBkgW9duWFETS0w3SX6LpAlRDX0lSl1fE6QboTFmd4xmhYrkNElYww8v5IR+6Gyvr3kpcUyLTC/DzfIZUrmCBFQq/832eAp96Hf0BRYTwLCkc9jZ/xRKgxalI6FiyGW0gOqvqLVcRug/cOn/lEt7xJhTdTJyl7uSrCp4mlYgW9yvL3aUHP3vbaCDrQRXBPQOrnnljU3kdabdrJflCevFBOLpF2uwxcZHVnqgLmcJm3GsLEG3LJY2t2d73JZp0GUYp6lk7+db27Gn30RnEC1siTbGGSjkXQCeXh/RgUcUBWfQI2rp8TpjVzM7pIPnhmcQYnABbhZduJup5eYv16Rv/wR/Ag=="),
- this.addDataEntry("gmdl google media design library menu menu disabled actions",85,190,"Menu with disabled actions","7VZdb4IwFP01PM5AQXCPm9t82RIzH/bcwYU2FkpKVdyvX0vr10Dn5kwWYxOS9tx7295z0hMcf5jXI4FL8sITYI7/6PhDwbk0s7weAmMOcmni+A8OQq76HPS0J+o1UbfEAgp5TAEyBXPMZmAQA1RyySxQEVzqqYBYbXlfScGnMOSMiybuQzNUJKWMbeFpM3QFwQlfKNBTixIEzUGCTip4oevsFUBIqPe20UC2hxFwtYVYqpQFTSSxGbf27gRoRlZlQWhAXBkgW9duWFETS0w3SX6LpAlRDX0lSl1fE6QboTFmd4xmhYrkNElYww8v5IR+6Gyvr3kpcUyLTC/DzfIZUrmCBFQq/832eAp96Hf0BRYTwLCkc9jZ/xRKgxalI6FiyGW0gOqvqLVcRug/cOn/lEt7xJhTdTJyl7uSrCp4mlYgW9yvL3aUHP3vbaCDrQRXBPQOrnnljU3kdabdrJflCevFBOLpF2uwxcZHVnqgLmcJm3GsLEG3LJY2t2d73JZp0GUYp6lk7+db27Gn30RnEC1siTbGGSjkXQCeXh/RgUcUBWfQI2rp8TpjVzM7pIPnhmcQYnABbhZduJup5eYv16Rv/wR/Ag=="),
- this.addDataEntry("gmdl google media design library menu menu disabled actions",170,222,"Menu with disabled actions","7ZZLT4QwEMc/DXce+/Io6K4XE6MH47ELAzRbGFK6Lz+909J9hV3dqJiYACFhpvNvO78hQ50gKjYzyar8ERMQTnDvBJFEVM1bsYlACMd3eeIEd47vu/Q4/vTCqGdG3YpJKNU1Ar8RrJhYQuNpHLXaCuuoQPICFEgySyzJGyaszkHP4JJR56zSoRJiWjJMuRARCpRGHaTm0mFK4gKORsBczQQJrsnpkWH3A1LB5mJOxmUTmgHS7uSWQtY8UbmNGDd5uznwLLeyfbqsbhzZXntARC+W0nliQYvYA03Sokbb1zR0Ijxm4lbwrKSRgieJDglTLNULf9fR3lBDqFjMy0ybIzIl1DT4ahO6Goz/PTCB5SJBMMVXcDL/OVh2iSfktLLvbq3APVVgmtagWnD3G7uK96DFO2Txouet0fgd8B62eE9RrplMukeuBUcNYm7u/1GK8aCDUoy+bs675iu4acyXm+zffuC7TvDjhjLqAOu4hfUZYspY6MxigTX03/qnVfG6qMqkVZUZYib6P6sRDCYdIL9pIX/DpVrOe+ZGMPmF4wyZh8N8E3581v8A"),
- this.addDataEntry("gmdl google media design library menu scrollable menu",272,420,"Scrollable menu","7ZhbT8MgFMc/TR9NoLS7PLqpe9Fo4oPPZD1dibQ0FHfx0wstuwmui7MxxpI0hQMHDv9fF3YIyDRfzyQtsweRAA/IbUCmUgjV1PL1FDgPQsSSgNwEYYj0E4R3X/TiuheVVEKhznEIG4cl5W/QWBpDpTbcGqqMlqYqYa6nnFRKileYCi5k3U+gLronZZwf2NO6GI+MJmKljVg37HogFay/jLk22YBnIHJQcqOHrFiiMhv30AaaAVtk1i2ym0W0agyLne9eAl2xKvgVIY4ij6ViojBDFOT6hR2J9F6MNGZXbE75NWeLQvfkLEnMkElV0jkrFtqE9q17SE3ceGCkE4V6Zu9mOhzrtoRKt17sfs/WLfyubo1NAqeKLeFo/ku0jFq1dD+3/6alXeJJML1yiDbH02w9RJpWoBztd4GdhSNuxUF6HF4co6gDHINWHFGPw4sDb7X7UR7DVh5xz8PPYzDqgMeolceg5+HlEWLUAY9xK49hz8PPI+7iON9CPgFk1APxAxl3caBj3Apk/BtAPiVmu4TtD4AipIuTHrtpr5Pkof6n4ycy7OKsx27a7eh/8iKiEIXnDiKpy4XCHjscyBy5IuMxukxlu9iVnXv3hze+XHTd3F8sNcMP750+AA=="),
- this.addDataEntry("gmdl google media design library menu cascading menu",604,590,"Cascading menu","7VvRbqs4EP0aHoswTkjuY5O7e7VSd1VttNpnEpxg1eDIkHvb/fo12NDAQEoDTtVCpKrBYIPPmTP2zBALr6PnH8I/hn/ygDAL/2bhteA8Vd+i5zVhzHIdGlj4u+W6jvyz3N9bzqL8rHP0BYnTLh1c1eGnz05EtaiGJH1huuFIBI1ISoQ8jHksW1eBn4QkG8GRB0noH7NLBdnJW672lLE1Z1zkvfE+/2SXpYI/kbMzJP+oAQL+SzYieaCfh4iUPLfOKW/SE/pBuHw68SIvKTogT3X5RYM0VG0YLVVbSOgh1MPMsL7QT1TDoRzrFTL5RaPWjCAGCK44CwCKcjoZOtnE6M5n94weYnkmokHAchCO/o7GhwJTdfRA9tmjyvlIXHmcbuh/2XBoLo8FSeTRv3qKnaFzm6F7EyptF4IwP6U/SWX8PvDNIHxXW2D0fMiEZB+igNk7HkV+LC9ZMX9L2CNPaEp5hrlQ0yq5eKidLznxNUksp6Gduzo1nYjAl21YdXjRGrbnwKKRC1lC72VJ3/+RU/lY5c3vZtXb39Vkwvf7hKSA5XIWnYifA+L/SCXgu9Erp8bJS3WYQTnwIAfjEN985OJbAOL/iQMiGJX8Tvpr0t9yZoCGJaRhHPpbjFx/3wDxm1TQJzkAPx3CSYKNEkSuCSqQA7i4Z3LQ1Sak++z/vI2OurR2EqdMpt21VRfjMOL61ldcjgc51HFkb3WhYqBCXgX+w5KKoMBO0pMmO0GP6aSvZn15SxNUwBSDPY5FDr2RpvjyqxyCuZHNaTtp8IIGXTPuEGZZLHc9EhWOPdGCYKYFMF8wmweAl3K1txUV6rnpKEQ1N5E8QTB78ugLP5dGgW7ybjdXt/FXt5c7uc/p1Dwj+MMkxjAeTUZifnxgUAh6hFqFw8s/2cg0K4Eo3xZzkSHb0UV5PV3UfHjpFB4KL6seam6CSZgHecgzUU5h/S0qqjFReqlRqQs7JlJTCKYo/jpFWyKkdlyH0eT9O7gvCf7MxJLtwpzEQ464w4+Zg5mWlXzspYl41YWpA4D2194uzVwTMUgBYxdc9asE7bi2vmQw8KsE7tKrLH+lr32LirJjn9p4w7sFG5rvTAaWfzWaXrg9LPdWLqEzhjD0RTZqzemOCMEb1pkbiv3f+Wk7GXIrDUbKjQ31/vUpSXlk4XvZjGzokYfno23P/jl5MlOTaqjPA2auS9aFZPdUI0F3Vottgb/btPyWkW43Zlqi2kuptqZNzawfUfoBcXUhv1uYoA3GscPQdvOMRBt3Y8lINBToAZPGg4CPjQLMVANxQ7U9CCyV6ckyPluy54IoKIpcqsk1qVf4eyVDeKC1Z2GEIRj/Vhny95n3mgj6qGJe8XAj9k1mohQMw229PS4T0bYN3134/Nbec4dltMqGYfzeau0fnzYqg2gN8xn0ZUaoWkdetsPc+RcoMLruVj65wmRb3r240mIVuRcttsyF3yRbhGGEPGxUfIbf33o+OYD1NwJ7wVftcQam12CCfQPhYlvumQiEMQyEKzX2wr7LbePYDf2GST0Mo91JK+/TilF6YAjbLB29n5+Uc7M87AwGwcgesiQxGuUMQY88fP29tbr8/OfY/wM=")];
- this.addPalette("gmdlMenus","GMDL / Menus",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLMiscPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("shape=rect;fillColor=#eeeeee;strokeColor=none;",358,642,"","Background (Light)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),this.createVertexTemplateEntry("shape=rect;fillColor=#333333;strokeColor=none;",
- 358,642,"","Background (Dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),this.addDataEntry("gmdl google media design library misc keyboard",358,224,"Keyboard","1dvLcpswFAbgp2GbQRLXpU2arLrqomsCsqHmViCJnaevuCi1OXhKYw9njmcyYwvkwGfQ0Y+xIYL8+FyHVfK9jGVmiG+GCOqybIdn+TGQWWZwM40N8Whwbqo/gz9dWcr6pWYV1rJol3TgQ4e3MHuVQ8vQ0LSnbGyIwyaR3eqmIbZNElZdey0j9f7bXZplQZmVdb+q4I7gwutWa+vyIPWSoixUn23YVH2vx1167N5wO/5vWbfyeHX7+6Zx459lmcu2PqlV3tO4TYY1hO0N3RKZ7pOxG+fW0Bg2Q8P+s+9fDvVkFJnXEUDnN+BR295LlEV7JvHSP8b2H+lHt7LaIrHt9jaNwmyTpftCNeZpHGe9ztgQqT2X9VIdPq+jO4yf5kmbDC/P7UxIp9tukbOA3DspOcvBkrOBnCQl55lYcg6Qq0nJMWZh0bmArqVFZ3lYdB6gO9Gi89CKhA/oXknRcYZWJZgJ7FJadjZanWAM2JW07Dy0QqFnlGd2FSk7wdAqBYNxIiRlp6cJI51rr0cH80RDis5haHQwUMSk6HwbjQ4mih0pOqanWAh2MFLsadk5As0OZoqElp2PVylgqPhFyk7NULDsOAwVB1p2Dlqt4DBUZLTsfLRaoefgZ3YfpOwmszumL0WuYQdDxZGU3WR6t6odTBURKbvp/G5VPJgr3mjhTSZ4q+LBZPFCC28yw1sVD0aLghTedIq3Kh7MFjktPAexYMBwwRbi+f3jEo+Zq+Pxid1qdAJmC06KznbQ6GC0EKTofBONDiYLixQd4xaaHUwWNi0720Ozg8nCoWXn41UKGCxcUnafnzWCHcwVHi07B69WwFjh07Lz8WoFTBUmKTvB8WoFDBWAbvYe7Py47+4bf9jncfbQJOmu052983pym/aGbdyNf6eDbhJlBbxsrPfn8vbs2+EsGCm+APcSRoemCiOJgCfYZLQT8LDTxeRcT39BeJMeTBWGeGKLo8Xc1QC2/nWoyWUo113tvLVgtjB4cIMewvcWk0mea62nB9PFAyk7cB3KNdfDg/EC2OnBTvVMq2bp6GYFW3uzvdPoZk5qqjNzcs6MbrrtJiEYIr5QG6JERgcgp5h2/eNzyc9xh/hSuOEDvD6q/XMSzOaqwj1qKgwQV4+s8TdgSw4rEViuFaj2unwt4h6ddV2Hk1fcqRaY0zMSDmdMHxgXkxH7v+HUy78/0uuXXfyG7w8="),
- this.addEntry("gmdl google media design library misc snackbar",function(){var a=new mxCell("Archived",new mxGeometry(0,0,358,48),"shape=rect;strokeColor=none;fillColor=#333333;fontColor=#FFFFFF;align=left;spacing=16;fontSize=13;spacingLeft=8;");a.vertex=!0;var e=new mxCell("UNDO",new mxGeometry(1,0,88,48),"text;verticalAlign=middle;align=center;fontColor=#EEFF41;fontSize=14;resizeHeight=1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-88,0);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],
- 358,48,"Snackbar")})];this.addPalette("gmdlMisc","GMDL / Misc",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addGMDLPickersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library picker date picker portrait",328,484,"Date picker (portrait)","7Zxdc6IwFIZ/DZfdSQgiXHbtx8VutzvTzvSa1SjMojCQ1rq/fhNBiz3YVsuJe5jVqSMhATyPoed9OeiI0fz5uojy+CabyNQRl44YFVmmqnfz55FMU8dlycQRF47rMv3nuFd71vL1WpZHhVyojwxwqwFPUfooq5aqoVSrtG4o4yg3bws51pv8Ok3SdJSlWbFeK6brh24vVZH9lo01cv0wa+Joki11I9cL9f5koeTz3mNeN9UHfC2zuVTFSndZJhMVVz2EG1TDYpnM4nqYF3hVY1RWDbPt2JcQ6Dd1FNojIkBE7uNHx9Xj2Hle6FcuDgwRY6EfBKY9W6j3Q7fIFiZqUZrMFnoxlVOzzTKPxsliZqLo15u6S/6YnQqhl01Ak3GUntejfmVKZXO9opCl7vZQR+7DBNzjCIR+1VbINFLJk9zZ/meoeICKBjEEIPRHUi3RmCeTienymsDV+vES3fss1yv8N8PNB3rZ7OfWdFEr3TRkxwdaHPlVZ0iBHrScEPxUbT/O8cH2LszzsGC7rDETxjpossD8TntdRLrew88s0Tt22Wp3ZmxGZNNpKRUgsz2uD8HyASx9ikpMjy5mxzHAuGgDtu5QHwfvHGA9gH3hnl+fmxtM9fyhBXXYNgNnfZ6BW4DBQAwBQGqTMgD87g4G1zqDGiQDZp6op8IQLep6miKEPQRhv6ES9rdPYJtokSHBGUBxTw6FG2xODqRRcIDigRwKzw3DHqCAUpverBgMGe8BCqjxr8ihGHLm9QAFFPZksqVG2spa/ldQS6A4lP68cxRbCWJJElpHE6CggULfpYrGDoetN9ItB6jNoRlMhMPJRAcSGii7PfJobIsQJDRQmg/Io7EtSnDQuFCq++TR2BYpSGigdD/c0X8Pzc6lSQtobIsWJDRQygfkZ43tTBkJDZT2IVU0ljj4KBygrt/YwvRAnC5VxmHTIvTpK33ruTIOG6j0N8YxYTbWk2UcNlD9v1ELpscmeWlo7CsHay37OprptprsNdNOCPoecyFB1j3Beo9nG2WCSxSaBpy+a2A9ycZhA10DTt82sJ5lo7AR0DbgZH0DOyAEQwEBTYIj6v7+ERAnS7OR2ECXgNO3CWyn2UhsoE3AyfoEJ0uzkdi01fqTZ2PblEZiA62DHhQJ2E6Ykdi0FAnQtw5sJ8xIbKB1QLdywBIIlCInARV/D+oErCfMOGyg4u9BoYD1hBmFjQcVfw8qBawnzDhsoAmAUCrQ+4QZhw00AXpQK2A9YcZhA00AusUCp0uYcdhAE0CQNQEsgUApPfeg4h+d/xhdft8H4/XN4PsqznbuQTY3ZyzjRMk73WqGLosod5r3JbODOXd8DbQesNpZapAdtlwMHXR0MZT7u1dDzzYb7hY1NBBuv/3HvIs5RMQcIlDWiy+/JlR1b/7Y0F8="),
- this.addDataEntry("gmdl google media design library picker date picker portrait dark",328,484,"Date picker (portrait, dark)","7Zxdc5pAFIZ/DZfp7LKIcJnSJBdtms4kM7mmugpTFAZIjP313QVU9GCqlrPmOCWTDOwH4Puw5LycRUsEs7e7PMyi+3QsE0vcWCLI07Ss12ZvgUwSy2bx2BJfLNtm6teyb/fU8qqWZWEu5+UhHey6w2uYvMi6pC4oymXSFBRRmOnVXI7ULj9P4iQJ0iTNq1rh2PpHlRdlnv6SrRpZLbomCsfpQhVytdEcT+alfNt7zlVRc8J3Mp3JMl+qJot4XEZ1C2F7dbdIxtOo6eZ4Tl0YFnXBdN13I4FaaVToVkQARZ6iF8tW/dh1lqu/XBwp0aBadHk6L1vlk2oB0s3TuVYtTOLpXG0mcqL3WWThKJ5PtYpus6vH+Lc+qBBqWwsaj8Lkuun1My3LdKYqclmoZs+NcgcTsE8j4Lt1WS6TsIxf5db+/4WKA6goEEMAQn2kskONWTwe6ya7BG6rZaPuU5qpCvddubkmqY/zoJuUS1U0ZKcLLU681BmS0IOOG4KblOuPc7rYm8v9cLFt1hoJIyWazDGvaacPpZsj/EhjdWCbLbdHxqpHOpkUsgRk1ud1ECwXwFK3qFi36GN0nAKMiy5gVYPmPHjvAJsO7BN33Obe3GKqxg8tqMOuETi95BG4BugNxBAApDYoPcDv8WhwnSOoRXJULai3Qh9NdTVMEWT3gez3VGR//wa2UosMCc4AiidyKGxvdXMgjYIDFM/kUDi2718ACmi16Y2KwZDxC0ABPf4tORRDzpwLQAGNPZloqRW2so7/FdQCKA6tP+8dxdqCXAoKDwUFNPY2FRRmdF8/++hXd+i94cPeD6r72UwEEgpoox1yKEybCCQU0FoPyKEwbSJwUNjQWrvkUJg2EUgooLU+/on731B4LPgcOJdjIpBQQGvtkRsVpiNXJBTQWvtUUBjS3UXRHfro1WPYjy/8+UJXHBYdRpqekzYeu+KwgE569SCWEAvjwSsOC+iu35lLpfrGWaHV35lOtY6JOqdNncxwPZFtd7JCLwRdh9mQIOufYHPEq5VTwCUKTTqn59KNB8E4LKBL5/RsuvEoGIWFgDadk/HpZoQXDEV4aMpPmAd37kFgOgxGYgFdOadny02HwUgsoC3nZHz52cJgJBZdc9nJsTD9EBeJBbTqBJPepgNYJBYdSW96Vt10AIvEAlp1OplwQ8KjTMIR0FETzHsbD2BxWEBHTTDxbTyARWHhQEdNMPNtPIDFYQFNNkLq++ICWBwW0GQTzH0bD2BxWECTTSf5fb4AFocFNNmCjMk2JDzK1GUHOurg+ntw822f+LsvD++bAbX1zqp+KXURxaV8VKW66yIPM6v9His7mmvPOb+mw3Jrq0V22JH8G/SU/OPudvbvarXjflFDw/7w9T/mbcw+ImYfgbLa3Hz7TN28/eU0fwA="),
- this.addDataEntry("gmdl google media design library picker date picker landscape",512,304,"Date picker (landscape)","7Zxbb9owFMc/TR47+ZLrY0cvD1vXSa205wgMiRYIStJS9ulnE0OBY1pgsdeTjaoScexc/r/EnPPnBI8Ppi+3VTrP7sqRKDx+7fFBVZZN+276MhBF4TGSjzx+5TFG5L/Hbg6spau1ZJ5WYtYcM4C1A57T4km0LW1D3SwL3VBn6Vy9rcRQbvLzOC+KQVmU1WotH69esr1uqvKn2FojVi+1JktH5UI2Urmg9yeqRrwcPOZVkz7gW1FORVMtZZdFPmqytkdA9YFmIp9kehgnftuY1m3DZDP2VQL5RqtgVoQDRR6zJ4/JcaE8KUrkOVzOK9mD8hOlIiQJ41i1l7PmfQln5Uyplxb5ZCYXCzFW26zn6TCfTZSaod7UQ/5L7ZRzuayEzYdpcalHNeX8ddCjWrii/rEY2LsYaBhbwuADDFLxCCguD78xnPY0H41Ul32pb1avfUXCN3WlgVxW+7lXXZqlbIrUVVCJWnb4ocU4+trm54nqt/cxqUSRNvmz2Nn+nwgdGGaAsGg2p3O+2P6V+jtNbEa2LvmhFE1U50t94PrVA8gnzkI9i2zPLMSh+CEQX84tuerRxdV+DgDKTQBWHfRxUHtAfJZEAAjzDVO9NSKR6XaY/BO3Q0LWH35/63aIgfgPJ6tuvHa3MMRE/bmeVEzRCjtRRb3T72Uuj4WRpd5MuDuiHI9r0QDVN4d6FIgEgLhDB8I4mfimeOUDg6AEkHhERyKQkx9+EhSQ+IGOREgjODmhIwGTVnz3RERJgp8ETJZv0JGIid+DzwmYL+MLneIkhp8T2EInChNq2jmJTS7hKDEzkvETa2TWDki3ZGC2zdCTMaYbFslQQmyggWk3dFexoTEnICE2NDAp99GjMWck6NDAND1Aj8acomBDw2DeHqJHY85Z0KGBifzpTvt7aHa+63MRoBmTGHRoYGYfo79rXMfOltDAVD9Bj8Z58LzeTrdoYO6/to0Rs3EePdthY3AD8NsBzsNnO2ygH7C2lhGzcR4/22EDDYE36q3k2HxeKxqHSq6MpVVnM91UbO0z7YRgFAQA4FrkLgHqHV6sfTG7QKGNQPH7CM7DbjtsoI9A8RsJzuNuK2w4NBIofifBeeAd+jbYQCfhjKK9j8bGeeBthw2DbPB7Cc4DbztsoJdA8ZsJzgNvO2xMhffo2Th3ru2wgWZCH2oLXMfQdtgYigsYfjauY2g7bKCZ0IPyAucxdGKjXIpDX6AH9QXOY2g7bKAv0IMCA+cxtBU2PvQFelBh4DyGtsMG+gIWSgx6H0PbYQN9gT7UGLiOoe2wgb5AD4oMnMfQdthAX4Dj9wVcx9CbuaZbNtAXGFx+G1x/PcRn/3nvQ8VrO08qqwc/FlneiAfZqoYuqnTrxyV0j9PQd/zdqR6w3FnaIhsZHmYOTn2Y+eC3qGRn7xeBjTIsH9oM91/+Y97FnFjEnFigLBdff/Gn7b79g0C/AQ=="),
- this.addDataEntry("gmdl google media design library picker date picker landscape dark",512,304,"Date picker (landscape, dark)","7Zxdb5swFIZ/DZed/MFHuOzox8XWdVIr9RolTkAjIQLaNPv1s8FJkxynTTLs9nSjqgTGBvM+xpwXm3g8mT5fV+k8uylHovD4pceTqiybbm36nIii8BjJRx6/8Bgj8t9jV3v20nYvmaeVmDWHFGBdgae0eBRdSpdQN8tCJ9RZOlerlRjKQ34d50WRlEVZtXu5z9SfTK+bqvwlNvaIdlF7snRULmQilRv6fKJqxPPeOrdJusLXopyKplrKLIt81GRdjoDqimYin2S6GCd+l5jWXcJkXfZFArmiVTArwoEi99mjx2S5UF4UJfIazueVzEH5kVIF7aLSy1mzkT5uFyDhrJwp9dIin8zkZiHG6pj1PB3ms4lSM9SHust/q5NyLreVsPkwLc51qaacvxS6VxsX1D8UA3sTAw0HljD4AINUPAKKy+o3hsue5qORyrIr9VW77CoSvqorVcjUeW5VlmYpkyLVCipRywwPWoyD2zY/TVS/u49JJYq0yZ/E1vH/RujA0AOERbO+nNPFfmnXh4vNyEaTH0rRRHW61Hvary5AvnAW6l5ks2chDsUPgfiyb8lVjj5a+ykAKDcBaDPoelB7QHwWRwCIery4IxKZbofJP3E7xGT18Huv22EAxL87WnVj293AMGwX152KKVphR6qoT/qzzGVdGFnqw4TbJcrxuBYNUH1d1YNAxADEDToQxs7EN8UrHxgEJYDEPToSgbQJ+ElQQOIBHYmQRrBzQkcCmlZ890RESYyfBDTLV+hIDIj/CZ4T0C/jC50G8QA+J7CFThQaato7ibWXcEnCj62RWL3x6JcEdNcMHQmjnbBIghJiAwW01fDt6UdHYTYUITYU0GT76FCYHQU6FNBmB+hQmC0FNhQM+uwQHQqzp0CHAhrt49+Ev4ViQJKvie/aVKBDAZ32AN1d4TqWtYQCWu0YHQrnwezqOP2igF579ZoWEQvn0awdFga3jc9uOw9n7bCAfnv1qhYRC+fxrB0W0HC/Ml9Jls3ntVJ/Z8rSOkwyTk06meF60tjuvIJeCEZBAACuRO4ToD7h2eo9k12g0LZTfL7deVhshwX07RSfcXceF1thwaFxp/icu/PAOPRtsIDO/YRJbO/NwnlgbIcFgyzweXfngbEdFtC7U3zm3XlgbIeFaWI5OhbO3/TaYQHNO8axctcxrR0WhsFyho+F65jWDgto3hEOlzuPaWMb03k49N0Ix8udx7R2WEDfjXDA3HlMa4WFD303whFz5zGtHRbQd1sYMv90Ma0dFtB3Yxwzdx3T2mEBfTfCQXPnMa0dFtB3c3y+23VMu+47+mUBfXdy/iO5/L6Px+73wfsmU2192ao+XV1keSPuZKoquqjSjR8j0DmOQ93zWKEusNza2iAbGT5+DY79+HXvqCHZOvtZYGPakA9t/e23/5i3MccWMccWKMvNl1+I6bJv/oDMHw=="),
- this.addDataEntry("gmdl google media design library picker time picker",328,484,"Time picker","7ZnbbqMwEIafhstWNuZ4maaHi2231XalvVyh4ASrECPwNsk+/drYCYchTdqGqEibKBKMPTZ8/3jwEItMs/VdEeXJA49papEbi0wLzoU+ytZTmqaWjVhskWvLtpH8WfbtnlZctaI8KuhSHONga4fXKP1DtUUbSrFJjaFMolwdFnQmh7yaszSd8pQXVSuZVx9pL0XBX2ijhVYf1ZJEMV9JI5YnUZlX41zP2ZrKi7gyF0ALQdd7b6IymTu4ozyjotjILisWi0T3IHag3RLKFolxcwJHG6NSGxY735qJPDBY+hERgIhYZELQO0EhFHpBoOx8KQ4DXPKlYhelbLGUpzOJghaqVx7N2HIhTciM9cz+qlldNbbCyGZROjFuGYvjlNZuV1wInikpUG28p3PFizjHqmF/TI3Q+7wYDhBj8gCEkNcu3oIBoO6TpIEX+9tzM48CqCZ6VBDFRlp8dCxA0g/QOMiw1S4bM4A5bfB1UE+wo8/jdQHepzPiHYCdY5+NnXd8KpWOLC8pTBJ1zuxLBp9ZnFsHrx1a2zTW4LNbp01AJ1m8fk8m7SKKozJRz4VqfW15ZeuFekJeLrI4vRQso79zNnvRsbUny4LH0a7lYNwW+rYPJOpfhphdJ9IfhhcmneB2jxXPe1s8x22rZ8PMsOtz6vAOgHj45JnBuVbfj8J7O/JthNrwHB+mhnAYdiFgB3PDl2bndNJGCNPGUOwwAvCcUcMjOITwelLuSeBhAM8dF7zOqiWedz54sDjyRgUPOx14ATkfPFg2+aOC57c3kmcNPFjlBKNiR8jhjDfU4wKWMOGo2OH2Hs92e6q/odjBEgbD1xxfGV4n8Hr3KUMtWljd4HHtkDsZr3eDPBS8nupiXFvk7rMWE+d89GB9MZ18n97c7yPYvH8COdVFtK5rf/Lc0gX5KmGCPkurcl3Jmhy8kXyfONuXafhEIrQlAAL4Pa9+XGMraBoJ9tqubftUMbM/cSYvajf1BfbaAXDhdpTl83lJBdB1dxdHSW3Daujx23+Z2zKHA8ocDqCyPK3/8dHdm38I/QM="),
- this.addDataEntry("gmdl google media design library picker time picker dark",328,484,"Time picker (dark)","7Zldb5swFIZ/DZet8AdflwnterF2rdZJu5xQcIJViBF4TbJfPxs7CWCS0jWgIi1RJHzsg+F5jw8+xEJhtr0rojx5YDFJLXRrobBgjKujbBuSNLWgTWML3VgQ2uJnwS8nekHVa+dRQda8jwNUDq9R+psoizKUfJdqQ5lEuTwsyEKccr6kaRqylBVVL8JQfoW95AV7IfueNVsTaUyimG1EG4hGVObVKW6WdEvE/HM9Nyk42Z68/sqkL/6OsIzwYieGbGjMEzUCQV+5JYSuEu2GfayMUakMq4PvEYc40ES66SCDDrLQDNnvZORUH2lna16zL6vPKXZRSldr0VwIFKSQo/JoQdcrYbL1uZ7pHzmr44u2xEgXUTrTbhmN45Qc3eaMc5ZJKeyj8Z4sJS+E+6oB/02NwP24GNgQY/ZgCCGunZ+DYUA9JUkNL/D2bT2PBCgnepQQ+U5YPLsvQNQNUDuIsFUuO30C3azxxXZHsNsfx+sYeJ9GxDsAOwxHY+f2z6LCkeYlOZMkOpPBRxbn3sFthtY+jdX4HNZpHdBFFq/XkUnbiOKoTORzoVpfe17ZdiUfjterLE6vOc3Ir5wuXlRsNQH6djgPsQGw3vNm3Bbqtt9I1D81MXhMpN81L4Bawe30Fc89Lx52mupBMzMcxlw6vH1DPDBOZugN73zkQ9tuwsOemRqCYdgFBjszN3xqdriVNgIzbQzFDtgGPDxpeAgEJryOlHsReMCA50wLXmvVItcdD55ZF7mTggdwC56PxoNnlk3epOB5zY3kqIFnVjn+pNgh9HbGG+pxYZYwwaTYgeYeDzod1d9Q7MwSBpivOT4zvFbgde5Thlq0ZnUDprVDbmW8zg3yUPA6qotpbZHbz1qA8Hj0zPoinH0Lb+9PEazfPzI5HYtoVdf+YLmlCvJNQjl5FlbpuhE1ufFG8n3i7F+mgQuJ0JTAEMDrePXjaFtB0ojT12Zt26WKnv2JUXFRh6mvgNsMgCunpSxbLkvCDV0Pd9FLamhWQ49f/8vclDkYUOZgAJVF8/hnjxpe/y/oLw=="),
- this.addDataEntry("gmdl google media design library picker time picker landscape light",512,304,"Time picker (landscape, light)","7Zldb5swFIZ/DZet/AEkXCZp14u1a7VO2uWEghOsQozAa5L9+tnghI/jNKlSsiKNKBIcc7D9vPaxDzh0lm7u8jCLH0TEEofeOnSWCyGrs3QzY0niEMQjh944hCD1d8iXA6W4LEVZmLOVPMWBVA6vYfKbVZbKUMhtYgxFHGb6NGdz9cjpgifJTCQiL0vpojyUvZC5eGGNElYeuiQOI7FWRqwuwiIrn3Oz4BumGjE1DWC5ZJuDnShNpgd3TKRM5lt1y5pHMq7u8LBpecz4MjZuFLmVMSwqw3LvWzNRJwaLHREFiKhDJxS9ExRCgT8ea7tYyeMAV2Kl2YUJX67U5VyhYLm+KwvnfLVUJmSe9cz/6Fo9BWiqMfJ5mEyMW8qjKGG121RIKVJV4KPaeM8Wmhf2T1WDHFUD++Oe1HCBGpMHoIRqvHyLBqB6SJMGXzzaXZt6NEFd0aOmKLfKMkKnEqR2glvj4PqVyzGiLjofqAeAPl0Q6EfQGqHL0fJPj5fKkWcFg5GgDoy2GX/ODDQOhJje7wjB4bSfSE1Ae+M5hEaWcNlFFIVFrIN/OYd2vNLNUi+D18s0Sq4lT9mvjM9fqtF0IJSCNWdfcnSk5lW3j0Tjn4YYqaPld8Mr6IxmrxMe8Kla+m9qiTFqa4ksox1Zo+35Wo6BlvjDQ4N7o38WmB8wEajnteBRyM4N+gkUAUAHI8WnRheQFjqfXgzdbsQ32LkDY+e256xnGXd+T/AwgOcNC57XWbzGcPXqDR5Mh/xhwcPtgEcsq0Vv8GCiNBoUPDLC/27kwbxmPCx41D8e8/paMGAOEwwLHumMvN2G7hLwYEqD4buNT02PtlcM21alr2kLsx08rC1yN+jZtsh9wbOkFwPbJHeWW0ui3Rs8mGDMJt9mt/eHADa7TyGmOqeu0twfInOq/Hwdc8melVW7rlWKDt5Cvk+bdyfIb2vQiZxAgN3boaYAu7UpZ0ko+Ws7t7WpYmp/Elw1al/1FfbbyfmV11FWLBYFk0DXfS9OkprAfOjx63+Z2zIHPcoc9KCyuqy/8lS3Nz8C/QU="),
- this.addDataEntry("gmdl google media design library picker time picker landscape dark",512,304,"Time picker (landscape, dark)","7Zldb5swFIZ/DZet/AEkXCa068XatVon7XJCwQlWTYzAa5L9+tlgEsDOl1KyIi1RJHzMwfC8x8c+xMFhun7Ioyx54jFhDr53cJhzLqqjdB0SxhwEaOzgOwchIH8O+rKnF5a9IItyshSnOKDK4T1iv0llqQyF2DBtKJIoU4c5mclLTueUsZAznpe92EXqK+2FyPkbqXuWfEmUMYlivpJtKBtRkZWXuJvTNZHjT/XYJBdkvff+S5O++QfCUyLyjTxlRWORVGd4UN90Qugi0W4YuJUxKirDYuu7wyEPNBE7HWzQwQ6eYHAmI6/8KDtfioZ9Xn72sYsYXSxlcyZRkFydlUUzulxIE9DXeqV/1Kie4q8w0lnEJtotpXHMyM5tyoXgqezwwc74SOaKF/RPVQMdVQP6457UcA01Jk+GEvLmxSEaBtV9mjT4wlHd1uMogmqgZ0VRbKRlBE4liO0EN9rB9SuXY0RdcDlQzwD6ckWgH0FrBK5Hyz89VUpHmhXkQCawzvhLZqB2QEg/fU3IDKftRGoC2hovITSypMsuojgqEpX8yzlU80rXC7UC3i7SmN0KmpJfGZ29VdHUBjgG4TR0DYDNnqORmleP3Q3UjjY/NTG0y5bfNa+gE81eJz3AU7X0D2oJIWhrCSzRDqzZ9nItx4aW8DqpwfuYiSDlbMHDJjs36CdRBAY6M1N8anQBaqHz8dXQ1RHfYOcOjJ3bnrOeJe78nuBBA543LHheZ/Eam6tXb/DMSsgfFjzYTnjIslr0Bs8slEaDgodG8N9FnlnXjIcFD/vHc15fC4ZZwwTDgoc6kVdv6K4BzyxpoPlu41PTw+0Vw7ZV6WvamtUOHNYWuZv0bFvkvuBZyouBbZI7y62l0O4NnllghJNv4f3jPoDNx8cmpl1NXZW5P3jmVPX5KqGCvEqrcl3JEt14C3meNmcXyIc16GROQ4D67VBTgHptygmLBH1v17Y2VfToL5zKm9oOfQP9dnF+43WU5fN5QYSh6/YpTpIamfXQ89f/MrdlDnqUOehBZdnc/cFTnd78/+cv"),
- this.addDataEntry("gmdl google media design library picker year picker light",328,484,"Year picker (light)","7Zhbc6owEMc/DY+dyQURHj308nAu7YydOc8ciZJpJExIq/bTnw2kKiVSsaVP4OiQ3Ww2/n9x1sWj8Xp7p5Ii+y1TJjx649FYSanru/U2ZkJ4BPHUo9ceIQjeHrk94cWVFxWJYrk+J4DUAS+JeGa1pTaUeiesocySwtwqtoAlfyy5ELEUUlVeuqwusJdaySd25GHVZTxZksoNGDEMbD6mNNue3HNlshu+Y3LNtNrBlA1PdVbPoCSswzLGV5kN80O/NiZlbVjtYw8SwI1Vwa0IbSnymD17BOLQrFDwiWlPiRCKgjA0dpnrj6XLZW5USwRf5TAUbGnWLItkwfOVUTGwS835q0lKKYyNoHyRiJmN+ie1lmtwKFbCtL9WubMJkMsIREFtU0wkmr+wxvqfoeK3qACIaQsEfCXtUGPN09RMeU/gtroO6j7KAhxBp9x4AmOT595M0TswTdHlQtMLjzoaSOiJS2i/t9Bvp3cBX5SptvL+tXk5lP3e8+qHPWW0KR4kh8wE7ZrH/i1CLpcl0y3Z9xs7i0TgIjEZSXSSwL4/AIqpC0UwouhGEZEBUIRfUwg+QtGo2RYFib4dxaRvPXWj2JeLL0URuVCE46+iG8UgtQIjF4toZNHJgg5SLDB2sLBt2MjiJItBqgVu97fx7E988+sUjWMtaUdZaDQM5u//JuOazcFqQjfQzzeaCNQb9Nxu7bP4mgG7xugI7RQ5ik/fHuMdWZv6Cgeokf1qMkQ1wu3G/f7niLmJORoQczQAZRgenoXV048flf0H"),
- this.addDataEntry("gmdl google media design library picker year picker dark",328,484,"Year picker (dark)","7ZjLbuIwFIafJstKviQhWdK008VcOhKVZp0hhlhj4shxC8zTzzE2lDSXIS3pKiBQ/NvHdv7P6HDi0WSze1BpmX+XGRMevfdooqTU9mqzS5gQHkE88+idRwiCj0e+dPTiQy8qU8UKfUkAsQEvqXhmVrFCpffCCVWeluZSsSVMebviQiRSSHXopT4xb9ArreQfduwpZMGMmKeZ3EIbQ8MtxZRmu87tHiS31wcmN0yrPQzZ8kzndgQlkQ3LGV/nLsyPfCumlRXWp9jXu4cLZ0C7GbRhxlP+7BGIQ/NSwTemA90JDi+jy0Kf6avDq8u1VPB1AU3BVmbOqkyXvFgbF0M31YL/NYtSCm1jKF+mYu6ifkut5QY6wGb9aGL1HuQZAkmxCiJ/OTMvhkLeByUOraaYSDV/YbX5PwLKb4ACNrMGG2NAi0EbnmVmSDcUa/iTLKEj7CWAj3CvYzR95+lHIxkdtBntDzb6eKCXcKNM9Tj/1tnPPa9+NNBGt8RPyWFlgvb1Y3+MkKtVxXTD9tPGLiIRtpEIJhK9JLDvj4Bi1oYinFD0o4jJCCii6ySC/6GIUHKb+HUUJP50FMHQfNqO4pQurooibkMRTb+KfhSj5AqM2ljEE4teFnSUZIFxCwtXlE0sOlmMki1ws9pN5j+S+29dNM69pD1poVYwmL//25xrtgDVhG6huq8VEWgw6IXb2kfx1QP2tdYZ2hlqST5Da4w3ZN3SNzhEtdVvgjGyEW7W8o9fJ8x1zPGImOMRKEPz9cmYHX7+4Owf"),
- this.addDataEntry("gmdl google media design library picker date picker landscape light",512,304,"Date picker (landscape, light)","7ZhNb6MwEIZ/DceubAwEjlnS9rDbdqVU2rMVnGCtg5Fxm2R//Y7BSSCQJrRB2gNEkZjxjD/exwYNDonX20dF8/RJJkw45N4hsZJSV3frbcyEcFzEE4fMHNdF8HfchzOtuGxFOVUs09ckuFXCOxVvrPJUjkLvhHUUKc3NrWIL6PL7kgsRSyFV2UqW5QX+Qiv5h9VaWHmZlpQmcgNODIYdjynNtmfnXLrshB+ZXDOtdhCy4YlOqwgf24mmjK9Sm0aQVzlpUTlWh9yjBHBjVehWhLQUeU3fHBfyAlgURrCGaa4gApOeUiEUBWFo/DLTlyXMZGbUo4KvMjAFW5o+i5wueLYyaga2qzn/awYlBGwjLF9QMbVZWubHpFdjzLB3LQb3IgYchANh8FoYQPFJS3GYvu5Y9poniQk5lfqhvE4VCT7UFftgm3FeTIjegWtidoFiBQT8tmJcvbfJ50T1qnOMFBNU83fW6P8rQvtdQnu9hd5v0wUslKm28t7M/DqU/aSMZ/amTUDfiBvarJqyxPM6tmswkLJBl7L+qOx5Ze2ovySHybho1+xmnyGXy4LpFonDXK+CM+mCE4xw+sKZuAPACW/z8L8Ep/FCtnDc6H+As/d9EQ5G4QB0oi464Xh0etPxhzg7GHXhiUY8vfGEQxwejDvw2CJtxNMDz6FEuC2edkEcT5/j+5/nANXlJR+8YhoFhykfNinXbA5ek7pRtFan2Yh+7Od2ajciahN2DauGdoLaZP2+NcoJWTv0HQ5QY/S7fce3Rd2u9F9+jJibmKMBMUcDUAbz+PGsCq9/W/sH"),
- this.addDataEntry("gmdl google media design library picker date picker landscape dark",512,304,"Date picker (landscape, dark)","7ZhLb+IwEMc/TY5d+ZGEcKTp47CPrkSlPVvEEGtNHDlugf30O04MTUigpCVSDzFCiscz9vj/s0ETj8br7aNmefpTJVx69N6jsVbKVE/rbcyl9AgSiUfvPEIQfD3ycGIUl6MoZ5pn5pIAUgW8MvnCK0tlKMxOOkORstw+ar6AKW+XQspYSaXLUeoT+wF7YbT6y2sjvGx2JGWJ2oARQ8etx7Xh25M5lyaX8CNXa270Dlw2IjFp5RFgl2jKxSp1YRT5lZEVlWF1iH2TAB6cCt2K0JYiz+mLRyAuhE1hBHuY5Ro8MO0pVVA2a1eZqdmXZWtJmKnMqsekWGXQlXxp5yxythDZyqoZuqnm4p9dlFLoW2HFgsmZizIqfwt6tp077F+KgbyLAYfRQBj8FgZQfNJSHNI3HdteiySxLsdSP5TtWJHwrK7YIrPrPFkXswPTxJ4CzQtw+OPEuPhs04+J6lf3GGkumRGvvDH/Z4QOuoT2ewu9P6YL2CjXZw75sbIflPHE2XQB6BslkYuqKUt9v+O4hgMpG3YpG4zKnlbWrfpbCUiGoF1zmn2EWi4LblokDrleBGfSBScc4fSFMyEDwImu8+P/HpwIxbex34RDpl8Bzt72STgYRQPQmXbRicar05tOMMTdwagLz3TE0xtPNMTlwbgDjyvSRjw98BxKhOviaRfE8exXfP/jFKC6vPTMX0yj4LDlwyYVhs/BakM3mtXqNOfRj/3cpXYloi5g1+jV0E5Qm2zQt0Y5IuuWvsEhaqx+s5/4uqjblf7T9xFzE/N0QMzTAShD9+3lWeVef7f2Hw==")];
- this.addPalette("gmdlPickers","GMDL / Pickers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLSelectionControlsPalette=function(a){var b=this,d=[this.addEntry("gmdl google media design library selection control checkbox on hover light dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#009587;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],
- 16,16,"Checkbox (on, hover))")}),this.addEntry("gmdl google media design library selection control checkbox on focused pressed light dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#009587;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#009587;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, focused or pressed))")}),
- this.addEntry("gmdl google media design library selection control checkbox on disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#B0B0B0;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,
- 0,48,48),"shape=ellipse;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#B0B0B0;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox off hover light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");
- a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, hover, light))")}),this.addEntry("gmdl google media design library selection control checkbox off focused pressed light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],
- 48,48,"Checkbox (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused light",
- function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled dark",function(){var a=
- new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#676767;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, disabled, dark))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,
- 16,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#676767;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off hover dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=#ffffff;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],
- 16,16,"Checkbox (off, hover, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off focused pressed dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=#ffffff;fillColor=none;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, focused or pressed, dark))")}),
- this.addEntry("gmdl google media design library selection control checkbox off disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, disabled, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,
- 0,48,48),"shape=ellipse;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button on hover light dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#009587;fillColor=#009587;strokeWidth=2;aspect=fixed;");
- a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, hover))")}),this.addEntry("gmdl google media design library selection control radio button on focused pressed light dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#009587;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#009587;fillColor=#009587;strokeWidth=2;");e.vertex=!0;a.insert(e);
- return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control radio button on disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=#B0B0B0;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, disabled, light))")}),this.addEntry("gmdl google media design library selection control radio button on disabled focused light",
- function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=#B0B0B0;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button off hover light",function(){var a=
- new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, hover, light))")}),this.addEntry("gmdl google media design library selection control radio button off focused pressed light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var e=new mxCell("",
- new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;aspect=fixed;");
- a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;");e.vertex=!0;a.insert(e);
- return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button on disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#676767;fillColor=#676767;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button on disabled focused dark",
- function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#676767;fillColor=#676767;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button off hover dark",function(){var a=
- new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#ffffff;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, hover, dark))")}),this.addEntry("gmdl google media design library selection control radio button off focused pressed dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var e=new mxCell("",
- new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#ffffff;fillColor=none;strokeWidth=2;");e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, focused or pressed, dark))")}),this.addEntry("gmdl google media design library selection control radio button off disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");
- a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button off disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var e=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;");e.vertex=!0;a.insert(e);
- return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control switch on light",function(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=on;strokeColor=none;fillColor=#0E9D57;");a.vertex=!0;return b.createVertexTemplateFromCells([a],36,20,"Switch (on, light)")}),this.addEntry("gmdl google media design library selection control switch on dark",
- function(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=on;strokeColor=none;fillColor=#80CBC4;");a.vertex=!0;return b.createVertexTemplateFromCells([a],36,20,"Switch (on, dark)")}),this.addEntry("gmdl google media design library selection control switch off light dark",function(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=off;strokeColor=none;fillColor=#0E9D57;");a.vertex=
- !0;return b.createVertexTemplateFromCells([a],36,20,"Switch (off)")})];this.addPalette("gmdlSelection Controls","GMDL / Selection Controls",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addGMDLSlidersPalette=function(a){var b=[this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=10;shadow=0;",200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl",
- "slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=10;shadow=0;",200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=10;shadow=0;",
- 200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderFocused;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=30;shadow=0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderFocused;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=30;shadow=0;",
- 200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderFocused;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=30;shadow=0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=20;shadow=0;",
- 200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=20;shadow=0;",200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=20;shadow=0;",
- 200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=none;handleSize=6;shadow=0;hPos=0;",210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=50;",
- 210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;",210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#000000;opacity=100;strokeWidth=2;fillColor=#000000;handleSize=10;shadow=0;",
- 200,10,"","Discrete slider (normal, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal light","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=60;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;",200,10,"","Discrete slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),
- this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;",200,10,"","Discrete slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscrete;barPos=1;strokeColor=#BEBEBE;opacity=100;strokeWidth=2;fillColor=#BEBEBE;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",
- 200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscrete;barPos=60;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),
- this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscrete;barPos=100;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=0;bright=1;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",
- 200,45,"","Discrete slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=60;bright=1;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click light","gmdl google media design library slider ").join(" ")),
- this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=100;bright=1;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click light","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=0;",
- 200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=50;",200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;",
- 200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#ffffff;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=10;shadow=0;",200,10,"","Discrete slider (normal, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal dark","gmdl google media design library slider ").join(" ")),
- this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=0;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=60;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",
- 200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=100;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark",
- "gmdl google media design library slider ").join(" "))];this.addPalette("gmdlSliders","GMDL / Sliders",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLSteppersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library tab stepper",704,478,"Stepper","7Zhvj5sgHIA/je/5o619uXO9y5KtW7LtA3gTKxkVg+zWfvuhQK8W2dwOlt1ykqb6U1CeBxBMcHE43omya97xirAEbxNcCM6l3jscC8JYggCtEvw6QQioX4JuPWfheBZ0pSCtXJIB6QwPJftGdEQHenliJtA3ZTfsCvJFFXnTS8G/koIzLlSw5a06d1NTxmwoQbgeNxU3pRMhydH7hGPIPN4d4QcixUld8p1WstFXrEGqszWE7huTLV3nOlj2OrA/532ssNoxdZ6vP3bqD70AVE7a9WQhgxTl2W06xHkr/5gN+iUbNIPGxgRhpaQP05rN4TJ3+MCpujECx2kxp+mhLYDXdU+kQ/v8mIsEpI6AXXkgKsLr0QLp1J/fydJGaUIlo/tWHTJSS6PmoykUBlQCQDQn2Sq+k2z5oMDoyLWigwjK2xG1GEBcOVEt/35M4TDDOcqbVRDMGE4wZzEwr6KMvffVkMJRzizRS8xwA4JgXoEp5jwC5rWDuXi/+/Rm93kbAvcwzNd/YZiHALkacJjGfmUBrVEEDbmr4dWu2L4NIeEM+0pCDob0PCRASz2qhY1jwT/o/N58Z0OG9D/Nd7B91wY1YN9aP5/xPP1V4J/xXMgpx+1Zznwi2YGOHfzSQTwdJLWDR1gF7pp0poP4rbx0kKh23BWz18Q/tzjIgnC+WhtgOxd+Cmd1+PjRR19++U3oBw=="),
- this.addDataEntry("gmdl google media design library tab editable steps",704,72,"Editable Steps","5VfRbpswFP0aHhcZm5DkNcnal1aq1Ic9u3ABqwYj43bk72djk4ZBVqpgbdKwEtnH9uX6HPsAATmU7b2kdfEoUuAB+R6QgxRC2VrZHoDzACOWBuQYYIz0L8B3V3rDrhfVVEKl5kzAdsI75W9gEQs06sQd0BS0NlUJiQ65b5QUr3AQXEgNVqLSffuMcd5DASZZd2ncRQepoL2aYQe59O5BlKDkSQ/5yVJV2BEbFNlpBbC8cNM2LlXa2HZ+nvqxXl1xS55ePhkt/xm4WSdGCS1ryvLKkAFKsSpvrlKjg7K6gZnsRHi7vosMLip1gaPu0jinL8CfRMMUE5Vh3i56T7nJhxw5ZJ0SNU10Wg9d6xgiF/HZ5RfO5R9/yj+eoL/HJHCq2DsMwk9p4u7wJFhl+G2HYU7DZh9AZJlmfyTpOc1ZKkefb/KUNgWY4YbFXtayzc3BXOVlyleQMj/bn0zT7yag1XpA0Ll9IU+IxvL02I3yfBvevW8uKs96vgdxVo1PmWb8pSvLbfidP0YxigeUktADpfGI0oMEqsDcxzgaTfVfLsVbvZCn7cAUL57273sY+U1SLya2WcLEkgKS16kDdLYs2/PD8Ybn8h/fbmLYn4kN5fFiYtv/ysSiGPk3sd2IUuLZrb724P6rnrOOt/49p98tf3yO3Pi54KB577YXWm2RKctpFU69RS0l1g4vLpZufnwm2uGXX5G/AA=="),
- this.addDataEntry("gmdl google media design library tab noneditable non editable steps",704,72,"Non-editable Steps","5VdNb5wwEP01HLMyNuzHdXebXFIpUg49OzCAFYORcVL239fGZgMFukQFVVWwdoXHnvHMe/az8Mgprx8kLbPvIgbukW8eOUkhlH3L6xNw7mHEYo+cPYyR/nn4fmLUb0ZRSSUUao4Dtg7vlL+BtVhDpS7cGaqMluZVQqRDHislxSucBBdSGwtR6LFjwjhvTR4mSfNou4sOUkE9mWFjcuk9gMhByYue8pPFKrMzdiiwbhmwNHNuO5cqrWw/vbp+1KtfXMnj5ZNB+c/ATZ0YRTQvKUsLAwYoxYq0moRGB2VlBTPRCfA+vA+MXRSqY0fNo+2cvgB/EhVTTBQGeVv0kXKTDzlzSBomShrptB6b3tlHc/HGN/HGI3C3NgmcKvYOvfBjHLgVngQrDJ51P8yl320DiCTRaA8ovKY5i9Xg9qaOaZWBmW5Qa2nM69QcxE2ax3wTZRC9Dhjtbm478sPBhufCT8bhdw5oE/YAuvY79Ph4SI+PFqHnbttb/S5cgZ5wvuZwVgxPlebgpWnLbfgDWg1RjPqQEn8FSLcDSKcxXUasPifx/1RyyG8MrKI5uwEDJwlUgVnH3CE01n+pFG/lX1+wrWni9rh9SxjPZ7e+vyCFaOQULcUhQetzuP9SwhRs+5CuIkyHAaRkIWE6gGn/tTCF2/36m7rdLX9UpmUUaZ7ydLjaI9OW48r311Og8IAXJ0t3Pz717PTul+Av"),
- this.addDataEntry("gmdl google media design library tab mobile step text",358,642,"Mobile step (text)","3Zhdj6IwFIZ/DZeaQvnQS8VxLvYjm51Jdu82HSkfmUJJ6c7q/vottCAIjKiwMxmMxh562vI+ffWABt14f89QGn6hHiYavNOgyyjl8lu8dzEhmgEiT4MbzTCAeGvGtuesXpwFKWI44UMSDJnwgshvLCMykPEDUQEPZSHOuwMNrrMQpXmc4Z0Yf+1HhLiUUFZ0hetN/sq7cUafcXkmoYnIWaupMON437vcIqTWeo9pjDk7iC5/Io+Hsge0FjItxFEQqjTbVAtHmQwEVe7x6sUXJUC3GLAlhi7WsoLgIk0QiYIkb8rVnWoEoe1s7D6NfJrwWudtceSdU7SLkuC7umLzGHqkqQjoKvdBrRGU7ehv3tShaDOcidYPpaQ+lIhxHRHDlDGGCeLRC26Mfwsl88otG++D3GbzIPbInNP01xNiN21V2C1MM+GgXDi3ZLsmm2m3VdMvVU3N/41GYlnV5LOl0Zh+5jRHoL6fYd5SvbqKQSCsFgiXYcTxRW7pdkHTMqaxsLZm5w6u7XEDnPePNMtSBHK20Q6RlXIrz89U3iXY58esz0Vr4xgTW8ayb4N/aDpvVNj2GK5LGfaxkGmHs4Ho/eIYqrt1VvdSm4bnbpR93xympAAmoOC0KDxwnIqIuCxAffFhj+4+38pf59xX/MOcuA8Ux0ju0+2J3WcuRnHfYgruiw732YQXioj5wHrlfnpH4O3i6OAcR56XL29i1IdGwn8CP1vaE5Bftsh/vfv5KKmLPRDwSqqxyKvQhNDLyvikqB2OfTGk8qph1wEYH3tZalWDj8pdB1f+4V5g8Or3edw7g7dxXznOuBT0McqeJ7R7biGpFzd9XGRGyWVw+Sn3Tq8/wLws3V+5OdG7CqWRbk6cxuyT3JvoAx5slKxEZpRm+F0R+viA2g9begF1/qS9JR3no+ERzeMzR9m9/kjyHw=="),
- this.addDataEntry("gmdl google media design library tab mobile step dots",358,642,"Mobile step (dots)","7Vlbb5swFP41PKayMZfkMZemD7to2iptb5MbDEF1YmS8Ltmvn8GGQCANSUwitXUUCR98bPN9/ozPwULT1eaB42T5hQWEWujeQlPOmFBXq82UUGrZIA4sNLNsG8i/Zc8P3IX5XZBgTtaii4OtHF4w/UOURRlSsaXaEOB0SbLmwEKTdImTzM7JQvY/CWNKp4wynjdFk1n2y5oJzp5JcWfN1tJnoociXJDNwenmJj3XB8JWRPCtbPI3DsRStUDuULktSRwttZvn6InjVBmi0nf39PJCA9AOBmqAAeVcxgichAmmcbTOqmp2+xgh5Pkz7xBGIVuLSuN5XrLGCV7E6+i7fmJnZ3pkiTRA7ftDzxEU9fhfVoVI1jlJZe2nRhJ2ZcQ+jxHbUTZOKBbxC6n1fwlLzplLdrWJMpndRauA3gmW/H7C/KKlitqBqTtstQrvXFWvwOZ4TdTgqajp8b+xWE6rHHwwsmvDD/x6DywMUyIaqJdP0YkIt0HElBMsyElqaVdBXTKOPXTnTusKrqxxGxzXjxLLSBoybuMFpmOtVpHdKbVLSSh2Xp/z2sy3e5aM611G/rauPKNkeyZUl3ASEgnTgqQdqQ/z0hV39yjuBTY1zV0I+6beTcEC6IEFv4UFj4ocHzkemIynn4zLL3Sz3zH55a+YPfl5eWlR2yoOgmx6rwsOehcKbltzOCY/Z2hEfoOR1wPzwwbzX+9/PSrW5RqIRAmVKeYrJxIjFBfnob2jTHeS/S7v2wrJEADzJBcv2LJzoyyPju+yBY3SMU5S0lHDOC9mkG47y7QcZczsqgMH1bdV2APsEHzgvo97seP0ijv8wL2xsVxjvXcI+8/DvTyq94R7y2vbzIZeD9d6ObzBZn7hva926F9hsXdIGLwz2JF9Bdib6YEG7JdGJiAvxlNbtwkbin7MsmAkbn/Ci+cGJdXo/BAvyqPgpXP+BB4I5EutFLmnV7JrsC3SN5Rdq+9avSTXYFuof+KudUuG3j5BzYj8IEGtW9ot2fHfGj2yuvtopppXv6n9Bw=="),
- this.addDataEntry("gmdl google media design library tab mobile step progress bar",358,642,"Mobile step (progress bar)","3Vhdj6IwFP01PGpKy4c+Ko7zsB/Z7E6y+7bpSEEy1ZLSndX99dvSgqCoqDUzGYwJvb23vZzT015wULTaPHKcL7+wmFAHPTgo4owJfbfaRIRSB4IsdtDMgRDIvwPnR3rdshfkmJO16BMAdcArpn+ItmhDIbbUGGJcLIlyBw6aFkucKzsnCzn+NMkojRhlvHRF05n6KTfB2QupetZsLWOmZirCBdkcTbc0mVwfCVsRwbfS5W8Wi6X2QP5Ihy1Jli5NWOCZxHGhDWkdu3t6eWMA6AYDHYDhylwmCFyECaZZulZNnd0+RggF4Sw4hlHC1qLhPC8v5ZzjRbZOv5sn9namJ5ZLg2tif5gcQdXO/qmmi2Sbk0K2fhok3b6MwOsYgZ62cUKxyF5Ja/xbWPKuXLKrTapkNkxXMR0Klv9+xvympYq6gWkHbI0Kh75uN2DzgkPU3EtRM/N/Y5lMq558MIat6QdhewSWJAURB6jXT9GLCP+AiIgTLMhFaulWQVsyHhz5c69zBTfWOATn9aPFMpYGxW22wHRi1CpUT61dShKxi/pctmYhvLNk/OA28rdt5VklO7ChupyThEiYFqToSX1SXn1x98/iXmHT0tyNsG/aw1QsgDuwEHawEFBR4iPnA9NJ9Mm6/BJf/c7Jrzxi9uQXlFeH2lZZHKv0TgvODW4U3LYVcE5+3siK/Abj4A7Mjw6Y//rw60mzLtdAKmqobDHfqEisUFzVQ3ulTH+Swz7nbYNkFwD7JFcHbD24VZbHdnZZlkqpFtOO+qZ5muqeSs6K23jjqoGHoR1K6qLnRBHkurBjRwZ2SAraW/LAvwNlVa7XvkL12YFBeVkv4d9me6zGscuCa0M5z3jx0iWZugo5xktbSr3rRL12TugH9hBQV0Vj6S0ibMvnHi8RlfxPEVdxJSOzvCDviqGPT9DhV5GjBHVuaW/JTvjR6JHN3cdB7d78dvgf"),
- this.addDataEntry("gmdl google media design library tab editable steps optional",704,72,"Editable Steps (with optional steps)","5VfBjpswFPwajhsZOyHJsUm6e2nVlfbQsxceYK3B1Dgp6dfXxoaEQrpUAVVVgxLZY/v5vRkzAY/ss+pJ0iL9LCLgHvnokb0UQtlWVu2Bcw8jFnnk4GGM9NfDjzdG/XoUFVRCrsYswHbBifIjWMQCpTpzB5QpLUxTQqhD7kolxRvsBRdSg7nI9dguZpw3kIdJXH807qKDVFDdzLCGXHpPIDJQ8qynfGeRSu2MNVraZSmwJHXL1i5VWtp+0i691KsbruTh8kmv/Bfgpk6MQpoVlCW5IQOUYnlS3qRGB2VFCSPZWeLN6nFpcJGrKxzVH41z+gr8WZRMMZEb5m3RO8pNPuTAIa6VKGio0/pU9w4+chFfXH7+WP7xu/zjAfobTAKnip2gE35IE7fDs2C54bfqhjl3u00AEcea/Z6kbZqjVF6+f8gjWqZgphsWG1mzKjE35iLJIr6AiM1z/Mkw/W4BWqw6BLX9K3l81Jenwe6U56G7e9OdVJ7VeA/iLO/fZZrx1/qa7sBv52MUo6BDKfFnoDToUbqXQBWYfYyj0Uj/JFIcCw8H3JzriJ10M1E1hxYyZtKRIfh2FM3AQ8l+aPSDnuD7RXUZNNbZCnMBG4muILvbl8K4HOXNrro0u3E3GQ13UpzEibdgrlmcOFUZ/2dMmPxyJmdx4fUULhymEL4NOUDruXbkq+MNj+U/uN+F8Xwu3JVnFhfe/FcuvAzQ/C687VFKZjauP3vy+Kueswo283tOc1p++0d45/uOg8Y9nF9ptUHmmk4rf+gxcCqxtnhysXT38p5rp1+/Bv8E"),
- this.addDataEntry("gmdl google media design library tab noneditable non editable steps optional",704,72,"Non-editable Steps (with optional steps)","5VfBjpswEP0ajomMHUhybJLuXlp1pT307IUJWGswNU6W9OtrY5OFQhqqgqqqQYnsZ88w894wDh7ZZ9WjpEX6WcTAPfLRI3sphLKjrNoD5x5GLPbIwcMY6a+HH26s+vUqKqiEXI0xwNbgTPkJLGKBUl24A8qUFmYoIdIud6WS4hX2ggupwVzkem13ZJw3kIfJsf5o3HkHqaC6GWENufAeQWSg5EVveWOxSu2ONVpZsxRYkjqztQuVlnaeXE3f89UDl/Jw+qSX/jNwkydGEc0KypLckAFKsTwpb1KjnbKihJHsrPAmeFgZXOSqhaP6o3FOX4A/iZIpJnLDvE16R7mJhxw4HGslChrpsD7Vs4OPxvKN7/KNB+huMAmcKnaGjvshDdwdngTLDZ9V182lO20ciONRs92T8BrmKFVX94s6pmUKZrthrZExqxLzIC6TLObLKIXotadou7jtyldHGx5LPxmm3xmgZdAh6DpvyePjvjw+mkSeRdi5+yKYQZ5gfM/hLO8/VVqDl/qaruC3aDZGMepSSvwZKA17lN7mdJpm9Xst/q+2HPKTArP0nHVPgb0EqsDcx5whNNY/iRSnwsMhN+07Zmc9TFTNoYUMx+boudIcfjsJu6Ep+RbUErcBjYPFm6Pwg96SC5lRE6e1qNdL9h3squ8XVdujjeZLYc4dY2Wj0qnbwLrBariTwh/+bWigG2fi/bPPWD67+/t6nqqMu+FUNYoG2sRURUrQ/EW6+a867yrsUjpL5932KCUTdd4tmOuf7rxBuJm/qJtq+WXrnaY5jWtCLa02yFzTaeX783WgYIsnF0tP399l7fb2q+4P"),
- this.addDataEntry("gmdl google media design library tab mobile vertical stepper",358,642,"Mobile vertical stepper","7VrZcpswFP0aHpMREov9mDhJpzNt2mm6PHYUI4ymYinIrd2vr4SAgAUxDqJNM4WJg65WztHR1YKFVvHuVY6z6G0aEGahawut8jTl6inerQhjFgQ0sNCVBSEQfxa8GYi1y1iQ4ZwkfEwGqDL8wGxLlEUZCr5nlSHARURkcmChyyLCmbTnZC3KvwwpY6uUpXmZFIXlJZPxPP1G6pgkTUSey6oqknOyG2xuaara+oqkMeH5XiT5SQMeqRTIXahsEaGbqMrmOVXDcaEMmybvw9uLhwqAfjCQBoYt2nKBwEmYYEY3iQyq1h1ihJDnX3lDGIVpwluJb8pLJs7wmiabD9UbOw+mj2kmDHaV965qI6jD9JcM2kiEc1KI0JcKSXssI/BpjEBH2XLCMKc/SKf8KSw5T+yy8W4jZXa+iQN2ztPs6z3OJ3VV1A9MN8O+UuG5q8It2BxPR80+FbWq/vcpFc1qKj9bwk71Z363hDQMC8I11Ju3GEWEqxGxygnm5CS19KugKxkHLtwbp7cHt/o4BMf1o8SyFAbJLV1jdlGplcuYRruMhPwh15sydOXDmSXjetPI33eVZ5Rsz4TqspyERMC0JsVI6huPMgp39yjuNTYdzU2EfdctpmYBzMCCr7FwR5gUkqgnkT9ZZkmqkA1KzDzGK1GIyHUDq/d9KycYIgFallfb5G3k/7ttHONcKkvUHoqfhJBAsFsVKRqqSlWptb5Q0y+aT7OCnCr0AxmD8hJ2hu8Je58WlNO07WMf1W2JRcRjZtbr9XWlk51ef1eqi6m6kg3gDH1pYULR64isv2ns6lPBeswePYT6jzrXxp0+4l5t2CN1YMa9dqV+5s5Az/I4PTUjjJZiCqj0qUoYSZpLHHRe7svbnApqRNsoIzMoo+4UykZz+LW6/S2ch4E2M5qd5tOe1UDkzzEQ2bZGwSpNQrrZ5qR0bJjtxVytEM+hwBACHtGidnYDTI2dXVamA//RXkmZ9BigRyyGmHK9P8HUiO2C5zooQX8xx6gEwSyjkr4VMbmrS5wDeRvs0H7fEtYQ0B44AHoxB9D6bsLq3e3H17efrk0ALl1A+AdcQDND7LhhM+uaAx4cMMfCxu7ZTLi4XV2/McFCg/YBCwsg73+DhWZAn5cGfZmPBhk4bTa0JPJ+SbMhZzHLiHR0jR+oiVCMlUkGExyTOmqbUD5ZNcPzovboFsj7n5wfzcSdvqZ2/stnQD7u4ZGNGQr0dfNnSn5KCgjfZjJlIvDelnPS4r9OjuhkHpKgvugeZOLZrSNm2dxwa89rFmd9Za3hPPVwptmbNXu8uO9kOHZy4kxcctQbec4cXqEGfdpO6z0+stE6xMsTN2CHTuKbHVg4Ygu277TF0Amn36l9lgPOng8CTvbmf5Ohl0/QiG8BHh3S/iY7/kujRwQfPlxSydvfNf0G"),
- this.addDataEntry("gmdl google media design library tab stepper alternative label placing",404,50,"Stepper with alternative label placing","1ZbfboIwFMafpvelxamXyqZXu9oTdPYozQolpTrd0+8A9Q8pJCY6dDRo+x1O0/OjXyjhSbZfWlGk70aCJvyN8MQa45petk9Aa8KokoS/EsYo3oQteqJRHaWFsJC7axJYk7ATegutKUp30F4pU1FUXcxURYm9+drk7kP9VGLEcFw6a74gMdpYlHKT1w8prY8SYTxmk9Ei9skX+rq+UBdabXLUVrh0wOB8B9apldAzH8iUlNWa5n7NGIZ9b9215ItegsnA2QM+4hP4pMn4VtKlHkXcSCmoTeramiib8eY00ZkpdjzWbsQ8QDyTON7myuGfBCeULnuhW1i5EFosq6Yv3wO/5j146RaAB18VDQBGlHYQpLcTjAOCvbi0qgtsg0Bgn3W7z94Z+5I8iXEIIuoAEd0BxCgA0U/iNrdOoWrP4tZoGu62v7LrS7ddSwT4j1x6TBix1l4d0rXj53LtySvD23YSkOCPsu09Pp0xG8yM04BcYkE4qKbNqx85rCWHPaPQeCjz4vB85qxjrSPpLw=="),
- this.addDataEntry("gmdl google media design library tab stepper alternative label placing optional",404,50,"Stepper with alternative optional label placing","zZbNcoMgEMefxmNnFMzXMTFtTz21L0CFKFMEi6RN+vRdFJM46DSdJE7CROG/gOwPdocAJ8XuWZMyf1GUiQA/BjjRSpmmVuwSJkSAQk4DvA4QCuEfoKcBa1Rbw5JoJs05A1Az4IuILetMUZm9cEqVk9JWYSQvK6itKqPVB0uUUBp0qaQVN1yIVgoQjtF88hRbXUlzom/qn9Nf+Y+dOULQJoJnEhopLJ1B59UX04anRCydoeCU2jWt3JrBzHaDfteSc/qZqYIZvYcubgCeNyO+OTW5QxE3Us54lpuuRqqmnR0mOjKFisPajxh7iJcU2lvJDbwoM4SLahC6ZqnxIcbUFnGKEJ+zL066BODeeRV6AKMw7CEYXk4w9ggO4hJc+gcUgL3X5TpnZ+ZcciRmPoioB0R0BRATD8Qwif9F64LZcq/RGi3803arcJ32h2sFvkOUghXDTlqvpqINzM4GTD+3qjU8VDWxJXSIonJ3NIKQHiAfxfaYnkjTzL5VabiSRLRfBSeaDzfmv7LHuXkhN4WwG9yznUaV56ehkqRcZm92yPohvtIZmKBO2I2ZgGb3lYAOYT9+Bpp7JPAtMtBpphnKSNe4BcRotLyy8MglmhHD7LTSPui4d4Bxr1thPFbwQvN4fa5tndv1Lw==")];
- this.addPalette("gmdlSteppers","GMDL / Steppers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLTabsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zlbb9owFMc/TR5Bdhxuj4VCN2kdVVepj5ObOBfVkMjxOtinnx07kJCkDeDQSyQkfOLjOOfnv304WGi22twwnIS3sUeoheYWmrE45urbajMjlFo2iDwLXVu2DcTHshcNd2F2FySYkTVv42ArhxdM/xBlUYaUb6k2eDgNiewOLDRNQ5xIOyOuGH/qR5TOYhqzrCvys0t24yx+JvmddbwWPlP9KMI42TRONzPpud6QeEU424oufyOPh6oHGoyVW0iiINRuQ0dPHKfKEOx8928vvugA1AcDVYIBxVyuEDgqJphGwVo21ewOYwTAFZg6TTHy4zUvdF5kl+ycYDdaB/f6jZ296SFOhAFq3196jiBvR/9kEyLRZiQVrUcdSdiWiH0aEdtRNkYo5tELKY1/DiXnxCW72gRSZv1g5dE+j5PfT5idtVRRfWDKDlutwv5AtQthc4bVqMFjo6affxdHYlq7h/cmdunxvVF5hNj3U8IrUd+9RSsQgwqIOxwQYeERFySO0Uy9Fg6FM51lC7+6jgsr3QZvq0hJZiIMknDkYnqlNcvlnZ2CKfH53utH1roe2R0LB4Iz18C2LECjzIcmxJcw4hMRJ5ekLdnvDpZWgR+8Gfg8NqW4D41ILx8mpwA6oDCqUPj+ML8VluXPeYWHiBSvOQ2aNHIoiVXkeXKonSpcEWfCTj9PGuhsSw4FVhBOqrCcsRGN9PJxjOIZN+F5eFxeDo8ceCm3Li5fdgyME9vkRxtCpSVfgzBXwadBOGlE+O1+fkGNXQ7icPQWxE+nQwhOPK2OyEoWcDEdL957NzQDAXXBAJrIGFKCmRtWkBQzgyIXjUp1zpG0ztteV0oNkro83kwy0RsOus8m4KlFgANEnIss+aIZXSOSQXdEcrF1SqRaiTC+cYHsMl4WaNy4an/rfOzjw0il4Qm7z603riKXE3cv+HpZAvTt8pZSV5mAdT+PDFUmymlGJ4UJWK1MVMDlrIRnlKTkQxH6+oBalBFe3dLek87oq+ERzf0fDqp78f+I/w=="),
- this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zlbb9owFMc/TR5Bdhxuj4VCN2kdVVepj5ObOBfVkMjxOtinnx07kJCkBOrQSyQkfOLjOOfnv304WGi22twwnIS3sUeoheYWmrE45urbajMjlFo2iDwLXVu2DcTHshcNd2F2FySYkTVv42ArhxdM/xBlUYaUb6k2eDgNiewOLDRNQ5xIOyOuGH/qR5TOYhqzrCvys0t24yx+JvmddbwWPlP9KMI42TRONzPpud6QeEU424oufyOPh6oHGoyVW0iiINRuQ0dPHKfKEOx8928vvugA1AcDVYIBxVyuEDgpJphGwVo21ewOYwTAFZg6TTHy4zUvdF5kl+ycYDdaB/f6jZ296SFOhAFq3196jiBvR/9kEyLRZiQVrUcdSdiWiH0eEdtRNkYo5tELKY3/FkrOmUt2tQmkzPrByqN9Hie/nzB701JF9YEpO2y1CvsD1S6EzRlWowZPjZp+/l0ciWntHt6b2KXH90blEWLfTwmvRH33Fq1ADCog7nBAhIVHXJA4RTP1WjgUznSWLfzqOi6sdOQcV5GSTA/KrpJx5GJ6pVW7ijxPzngnY0p8vnf9kbWuR3bH6oFD8LaFsC2r0Cj4oQkFJoz4RMTJJWnLBbA7XVoFfnA08HlsynE3or98mJwC6IDCqELh+8P8VliWP+cVHiJSvOZIaBLKUVW4Is6EnX+oNNDZlhwKrCCcVGE5YyMa6eXjGMUzbsLz8Li8HB458FJuXVy+7BgYJ7bJzzeESku+BmGugk+DcNKI8Nv9/IIauxzE4egYxE+nQwjOPK1OSE0WcDEdL957NzQDAXXBAJrIGFKCmRtWkBQzgyIXjUp1zpG0ztteV0oNkrpk3kwy0RsOus8m4LmVgANEnIss+aIZXSOSQXdEcrF1SqRajjC+cYHsMl4baNy4an/rfOzjw0i54Qm7z603riKXM3cv+HptAvTt8pZSV56AdT+PDJUnymlGJ9UJWC1PVMDlrIRnlKTkQxH6+oBalBFe3dLek87oq+ERzf2/Dqp78U+J/w=="),
- this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3ZdNb6MwEIZ/DcdGgElCjwsNbQ/drLqVevbCBKwajIzbTfbX18YmTZagoITSD0uR8HjG9rxPxgYLhfn6muMyu2MJUAstLBRyxoR+ytchUGq5NkksdGW5ri1/lht1jDr1qF1iDoXoE+DqgBdMn0FbtKESG2oMCa4yUO62hYIqw6Wyc4jl/MGKUBoyynjtilZ1U26CsydoRgpWyJjALAVcwLpzu7XJ7PUaWA6Cb6TLX5KITHugqa/DMiBpZsJmntk4rrQh3ca+ZS8fjACHxUDniXEw6f8Usu0gvPKknUNF/sGjScvpK497mjyesXGgWJAX2Jv/HMm8lmS3D4s7aVn+XLTEk4nVfxpWiN8yeZU3Mv0diaK6SbuSgsSY/qAkLeRYTpJETRVgY4ilLMBPFxMdFnOzF7AjreNcDiCtWfAXI3If29UumnmaELZaVSBaLLb77IVn2oXn4XE5Hh418bLEMREqWd8enJgJsCfIlHA3QnMefh2Es06EN/eLEWtsPIiz+TGIX64O5+9/s0ROFPjRRx+GwzBA74DAH+NyV23wy70TwTBX/Zh1cHkihHydqlfkSZondPIHx08tIrtvn11YdESDxe2LxT9yXjW37KYxTNvF4rVBOWcWi1n/Yv+0bLqDYnPs49waVDKSlBV8JkDfn4/Tn8/B8+wD4cy/Gx3Zfft+1+67n/ev"),
- this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zldb5swFIZ/DZeJbEwIvUzSpJu0rlVbqZeTCw5YNRgZr03262fzkUCAjiaQdiWKFB/OAfM+PsfGMdAi3FwJHAfX3CPMQEsDLQTnMvsVbhaEMcME1DPQpWGaQH0Nc9VyFqZnQYwFiWSXADMLeMHsN8ksmSGRW5YbPJwERLsDA82TAMfaLoirrj9fU8YWnHGRuqJ1emg3KfgzKc5EPFIx8/xWREiyae1uasr7ekV4SKTYKpdX6skg80ATJwsLCPWDPMy28o7jJDP4u9j906sfuQDNYqCaGFD1ZYbAuzTBjPqRbma9O9QIgBmYW20arXkkS86r9NDOMXZp5N/lT2ztTQ88VgaYx97nfQRFm/7RTYhUW5BEtR5zJWFXIuZxREwrswnCsKQvpHL9UyhZRw7ZcOPrNBv7ocfGkse/nrA4aaiiZmGqAds8C8eTrF2SzbLrqsH3qpbf/5ZT1a3dzUcXZuX2o2n1Cny9Toisqb57ik4gJqfVjubxf5gs80U62M87diE4EcO2mgO9ym7XZL8nWLiBst0SHivpdc23cRinKoFbhl2SHJEjIRY+je4yWhradWpQbk5HfPv5IMAefy3VqZLTIj0O6pVVKqSMrOW+3v1IW5dT8/hRMTl2jhmook37qGhJNggOwSiBZ5f6c0AnB5Y5FwqaXRW0mxV8o9jBpmJn91LsTKda65wBks7pA9ELpy7pTKhs7xdT5xkKgsGgjSwwPLWLGrXvD8trZbn5uazxU0LKhlVT24pMS09dzGZ5lQqp5+lL7cqWqzAQ0XuV2lYCyrDgRZ2W5fQykY2sIfAUw6vO5+Hx5nx89IVv9OQi9dM6oHdkmyLDEKqM+QaGZkPGfW6GsJXht7vlGbPsfBTt6b8o/n+ZeOI+QJfF4Aqu5s7qo+thPxDQEAzq2w+9MwDp0fv7VCuDxnX0586EXrYXnrD73LTQ270QtXE5cqEH396LAOPiZf2txZ5VR9XXdkS1Yg6yGwE7bEcUrFQkjZPGpfiHEfr6gOobF62AGkvaR9KZfjU8qrn/lyFzL/8J8Rc="),
- this.addDataEntry("gmdl google media design library tab scrollable tab bar",358,642,"Scrollable tab bar","3ZnbbqMwEIafhstENpADl02atJW2m6obqZeVC+agkhgZbzfZp18bmwRq2BICbRWkSPHgMWY+//bYGNZ8s7uhKAnviYdjw1oY1pwSwuS/zW6O49gwQeQZ1rVhmoD/DHNZcxdmd0GCKN6yJg6mdHhD8W8sLdKQsn2sDB5KQyyqA8OapSFKhJ1il7c/86M4npOY0Kyq5WeXqMYoecX5nS3Zcp+ZehSmDO9qu5uZVF9vMNlgRve8yp/IY6GsYY2m0i3EURAqt7GtOo5SaQgOvse3539UAKqDYWnBgLwvVxY4KSYojoKtKMrevY8RAFdgZtfFyCdbVqi8zC5ROUFutA0e1RvbR9OaJNwAle8v1UeQl6O/oggtXqY45aUnFUnYlIjZjohpSxvFMWLRGy61fw4lu+WQ3ewCIbNhsPHiISPJ8wuiZw1VqzowZYe9UuFwJMuFsNljPWrw1Kip5z+QiHfr8PCBY5YeP5iUWyC+n2KmRf3wFo1AjDQQDyjA3MIixkmcoplqLbwXzmyeDXx9HBdGugk+VpGUjMMNgnDkovhKaZaJOwcFx9hnR68fWel6YvYsHAjOHAP7sgA7ZT7uQnwJxT7mcXJx2pD9YWFpFPjRh4HPY1OK+7gT6eXN5BRADxQmGoW79eKeW1Y/FxoPHilWsRrUaeS9JDaR54mmDqpweZwxbb+e1NDZ5RMlnDpOKYRQmzkdoOOzp52oZpC30ymwaR2w9dPq84CJhldiMmPiZaegP4a2Da1LY+hoDNe3C4Hw9u7x+hIhjp18orkciBBoFJdfq8AOUMEPKJk9UMoTzbztfqlBjZrG7Nz0cgmXs+ny+y1r3YjJ6oNK28ODUjKYYkTdUINUTPqKpBQ8WTmH1Dglb6SjAhFYtUXrJk8cjEel4dBLogj1I41WiBjjG6BPTdZrkYz6I5KLrVcibY8vTtopi6vzE5/aeatyG/u90wD97KKFLl6Q+9p44ipyaTl7ybHznzXGLE8pVYdOsGrn29GhUzlb7OXMCTY4gMhZcc8oSfG3InT5gPSziVpAlVPaV9KZXBoeXjx+S5LVi5+a/gE="),
- this.addDataEntry("gmdl google media design library tab scrollable tab bar",358,642,"Scrollable tab bar","3Zldb5swFIZ/DZeJbBzycdmkaTdpXauuUi8rFwxYdQIyXpfs188GQyBAS6hZP4gi4YOPMefxa5uDhVab3SXHcXgVeYRZaG2hFY8ikZ1tdivCmGUD6lno3LJtIP+WfdFyFaZXQYw52YouDnbm8IzZb5JZMkMi9kwbPJyERFUHFlomIY6VnRNXtr/0KWOriEU8rYr89FDVBI+eSH5lG22lz1LfinBBdq3dTU26r5ck2hDB97LKH+qJMKuBnHnmFhIahNptOtEdx0lmCArfw9PLEx2A5mCgWjCg7MsZAifFBDMabFUx691xjGaO+rXFyI+2olT5Ij1U5Ri7dBvc6ieeHEx3USwNUPv+0n0EeZn+VUWIZJmTRJbudSRhVyJ2PyL2JLNxwrCgz6TS/lsoTXoO2c0uUDIbBxuPjUUUPzxi/qahipoDU3XYaxWOnaxcCttkWo8aPDVq+v43EZXdKm4+WtiV249m1RYi30+IqEW9eIpOIJwaiBscEGkRVEgSp2imWQtV4VycqV/jOC6NdBvUVQTS41gyC2lQhKmL2ZnWrFBXCgUz4ouD14+0dD6zBxYOBG8cA/uqAI0yn5oQX8yJT2ScXJJ0ZF9Mmp0C77wa+Dw2lbhPjUgvbyanAAagMKtR+H63vpKW65/rGg8ZKdGwGhxrBC5X6bJyLIkN9TzVVKEKV8aZ8P7rSQudfcWhxArCRR3WZG5EI6O8HaN45m147u6ve+IpBNAdj2r4Wk1dQj3sHBgntsuXNoQqQ74BYa6CT4Nw0Yrw2+26r8Y+NMTp7DWIn06HEPRcrU7YlRTz5rvOhmYgoCEYQBM7hoRg7oY1JGVNlbloVFnlHEnnfdvLSmlA0rSPN7OZGE2d4XcTsG8S4AiREHKX/F93dK1InOGI5GIblEg9E2F+4spfisymBVonrsZ3nY+9fBjJNDxi96lp4ipyZW1ces5e8OW0BBjb1SmlKTMBm16PDGUmqtuMQRITsJ6ZqIHLWUlPGifkQxH6+oA6pBFenNLek87sq+GRxcMHh6x6+XvEPw=="),
- this.addDataEntry("gmdl google media design library tab fixed tab bar icons",358,642,"Fixed tab bar with icons","3Vlbb5swFP41PDayuYU8hjSpJnVtlVab9jQ5xIBVJ0bgdcl+/cw1EENKuKxTkSLFh3OMOd/3HV9QtMXucBeiwP/Ktpgq2lLRFiFjPP23OywwpYoKyFbRbhVVBeKnqKuGuzC5CwIU4j1vE6CmAW+I/sKpJTVE/EgzwxZFPo7dgaLZkY+C2B5iR/Rvu4TSBaMsTFw1N7liNx6yV5zf2bO9iLGzR+GQ40PjcBNTNtY7zHaYh0fh8ptsuZ96aIaVhvmYeH4WZurZwFGUGrwi9vT24k+WgPpkaFIyoBjLXANX5QRR4u3jZjq68xwBMAe23pQjl+15yXmVXLFzgByy99bZG+sn0wsLhAFmsc/ZGEHeJn/iJtREO8SRaH3PMgnbIqJ2Q0TVU1uIKeLkDVf674OS3pGyu4MXy2zi7bZ0wlnwc4PCXlTV6hNTDThmKpwYabuUNt2UswavzVr2/CdGxLCKh9/M1Mrjb6bVHpjrRphLWS/eohUQhgTEE/KwsHDCBRLXaKZeC+fCsRcJ8WUel5iugvdVlEpmJgwxwsRBdJ5plsd3CgVT7PJT1H3Sup2qIwsHqlY/DhyrAhwUc3MI8QUhdrHIk4OjltgXE0urxBvvJj7PTSXv5iDSy7vJUQAjoDCVUFgvF8uHl+culRBTHPin2ac8YzTp6LJsHAEEbiytFG0wfWIR4YRVvPNO788cNoxztuuJ/SEvw9DUrQpAUKrLsE6UPTVZ1OVqWc7HMig7LIkdq/m3x/WXl2UXfvgYhfyMG2p/bggM+WNcWHmcCwsMTxdW9D4FQ7HH6EKdYeqKRJ0xpvSZRJ2H5Xxt/+jAG8dHH0ibM/A/uOhYqtml6ORzx8DMMeAIzIGg48rgihXgCq5sa9V9J9MAUzMmcCaD0nOBnoOgjYEB7IhBRbiRKPiOL0FSXoWVccmgSp1zSFqvkS8rpwaSuj3TQAXWrFb3UVZusOuByxlEnIsdyT9dPTdCYoyHSC62URGRT30GL1wguQY/gmksXLX7Sn2YbeU4a1Y4yKnOBjmvrQtXGZeO1QtePgICE7VaUupOgWDdVnSgU6BpdeIfY8UI5VMgCbgcKxFJggj/Vwh9foBaHNlcLGkfic70s8EjmqePO6l7+dvPXw=="),
- this.addDataEntry("gmdl google media design library tab fixed tab bar icons",358,642,"Fixed tab bar with icons","3ZnbjpswEIafhstEtjkkucyh2ZtWWrWVell5iTloHYyMu0369DVgCMSwJcQ00hJFigcPmPn8D2PHsrfH0xPHafSFHQi17E+WveWMifLX8bQllFoIxAfL3lkIAfm10L7nLCzOghRzkoghDqh0eMP0FyktpSETZ6oMB5xFJO8OLHuTRTjN7Zz48vqbIKZ0yyjjRVc7KI68m+DslVRnEpZIn426FeGCnHqHW5jUWJ8IOxLBz7LL7/ggorKH7S5Lt4jEYaTcPEcNHGelIax9L08vf6gAdAfD1oIB5VjWNrgpJpjGYZI3y9Fdx2jh5p++GAUsEY3O++LIO6fYj5Pwq3pi52L6zlJpgMr3mxojqNrxn7wJbdnmJJOtHyqScCgRNI4IckobJxSL+I20rn8PJWfklD2ewlxm8/B4oHPB0p8vmN81Ve3uwLQdzkqFc7dsN8LmeHrU4K1RU/d/ZrEcVn3z2Qq1bj9btK/AgiAjQot6/RSDQLgaiGccEmkRsZAkbtFMtxbawtmv80/nPG7MdAR0FYHiuJbMShpywrGP6VppVuRnagVTEoiL1+eitVugiYUDwfK+OXBuC9Aoc8+E+FJOAiLj5JNsIHuvOIYG3v1n4KvYtOLuGZFedZmKApiAwsJICiSUpFEZ7iEMANisdoMnfw+DU5UOoecsW4GCWn6EXeK4Uxt1fmynR7ScgNLSBKWIYD40QxpRSU3IHYPHjIY0PFO8vlYm8PgRfgydJfLG6KdKR4YB2XACQBCMJHRDUVEntZHFcQ+mfiZwpUO5s+arIUzBAJpQSSaTmB9pSJqiaHJJmi+lComhN08Hkq4y3FAe89pJdJJiAI5dw18hEkIWuf+1IOtF4k5HpBLbpET0jYQJEpda05hd1fcmrs6limNmpTJzpii/oJGNghfsv3Ylrnqrq4/LyOwF399VAHPUTildGwuwa3VjaGNh0X7xT1GYQX1jQQNXsZKecZrpS5hHEvr4gAbsAryb0h5JZ/HR8Mjm5f+Csnvz74S/"),
- this.addDataEntry("gmdl google media design library tab desktop tab bar",758,152,"Desktop tab bar","7Zhdb5swFIZ/DZepjEkCuQxJaCetS9Vl6rUFBqw5gIzXJfv1s/lKCKCSxDBtGlKkcOxzMO/jY/ugGav94ZGhJHyOPUw1Y6MZKxbHPP+3P6wwpRoExNOMtQYhED8NOh2tetYKEsRwxPs4wNzhHdEfOLfkhpQfaWHwUBpi2R1ohp2GKJF2hl0R3/YJpauYxizravjZJbtxFn/HZUsUR8LHLh6FGceHzuFmpmKsjzjeY86OostP4vEw72HOrNwtxCQIS7dZMXCU5oag8j29vfhTCNAuhqFUDACWwJ52icFwSn7ht+K19L7ywNvkMYo3YZgiTt5xLf49kk1vlGx/COScfwj2Hn04NEQS8i3ttbOZVy2lUrCvUka7UnWHM9102DKrrpWteN5LTMQwqodNoJm7HIsAFxFi308xb8hejboXidnHJC7m6zWSn8/ta9L5agpGCwWghsJsUadgDEBh3p8CJZmMf37iT5uSK5r3C72m+GUEJYqbDcVfUICFhRMuJL9mAW9dqBurur1aT1sX8NzyVMooTX4c8a/CKPmB4v4smJNd8skJckkU7OJENCyEQTImLqJLSoJI2LhssVFxR7HPT16fs7u12XuG3LiJ6PDORDzWNyOl08BSsRElDPtY6OTitOd0qE48vYQ3PxQetiSjPleSjWWYMhnBABQWDQqfdptnYdl+2TR4CKV4PUfEktydI5cpsSeeJ0NVWeEKnTG7k8Wx5nC+TIJ5E83UUoJmbtXQTMqwStmU22gTzu5tOx4cGXgrFy4u39YCfyMv3ZyOAUzvBPb0uhkxn/4FZNACYyBr1tMFMmf77fU/sWuIGdZ8DGJ3Fv19DgmO7tiWc3vRr4bKIDvVEDWUruSjQooRc8O2Aqs6s7UUtTfWXB2EumuuFkCKjnkTc1ZDNMg5T+/xtaEPIs5F/TLqWbsTyWw4ItBSTkTcnj4S593PvyH/Bg=="),
- this.addDataEntry("gmdl google media design library tab desktop tab bar",758,152,"Desktop tab bar","3Zldj6IwFIZ/DZdOSgHBS1F0TNbR7Gx2rokUaLaCKd1Z3V+/5XPAQkQtbiKJiZz2lPI+Pf04KNpsf1xS9xCuYw8RRXMUbUbjmOX/9scZIkSBAHuKNlcgBPynwEVHqZqVgoNLUcT6OMDc4dMlv1FuyQ0JO5HC4LlJiNLqQNHsJHQPqZ2iHW/f9jEhs5jENKuq+dmVVmM0/oXKkiiOuI9dPApRho6d3c1MRV+XKN4jRk+8yh/ssTCvYRpW7hYiHISlm1F03E1yQ1D5fr09/1MI0C6GJlUMAKbA1rvEoCjBf9FH8VpqX3ngbfJoxZtQRFyGP1Gj/Xsk02+UbH8M0jH/Euw98nIUROLyTe35whlXJaVSsK9SWrtSTYeabipsGVXXylY8bxtj3o3qYSNo5i6nooGzFmLfTxATZK963YuEcZnE2Xi9RvL62L4mnK+moLVQAHIoGJMmBW0ACuP+FAjOZPz/A18XJZc07idqQ/HzFqQobgqKb90AcQvDjEt+zQTeOlELs7o9m+utE3hueS1lTE1+HLF3bkz5geK+1tgiu9InH9wdjoIf8YEXTLghZYx3LpkSHETcxtIS2y3uCPLZl9e37G5u9h4hNy4iKrwzEE/NxUjqMLBkLEQHinzEddqhpOdwqHY8vYQ3LwoPW4JRHUuJxrKZMhjBABQmAoUPxxZAcIlYMzj4XNwdHOexsMeelzZVhcOOC4zonRBODYd6LLQg0S0pSMZWA8mobFYqk3L5rEF5f91st6u35ePIpA1v0umKpe9qgaFgqaBl4pJES9XhI3CpAq6fq7mzeX8+WJPhWEEDPIKVeHxeradL5wlZDTgLavpDpkHxdP/mfDwhKWs8GCm93FUNS0pMKqw3353nIzVgTBngITHVI+lwedfNKHajgIiH4Qtb7rhCZPZGlI+tS6fjQjTwYgjMyt1UnZkhBdlIPVuyhshPqD0SFPcekRfqwrYWgwUNbAkaKQDOd+OD6C+mK26ImAS5dBe2JY+q4GhJ2N2YT+oA1J1Pall/JB1hR6bRQDTIGVaVkkrg/WA4Ch6aR+hEYgxHBFrSifDbrw9gefX697F/"),
- this.addDataEntry("gmdl google media design library tab desktop tab bar overflow",758,152,"Desktop tab bar with overflow","7Zldb5swFIZ/DZetwIZALksS2krrUrVdu1sUDFhzMAK3S/brZ/PVEGCFxDBtaqRI4djnYN7nHGM7Clxsd9eJG4d31ENEgSsFLhJKWf5ru1sgQhSgYk+BSwUAlX8V4HS0almrGrsJilgfB5A7vLnkFeWW3JCyPSkMnpuGSHRXFWinoRsLe4I2PL7tY0IWlNAk6wr97CO6sYT+QGVLRCPuYxe3QglDu87hZqZirNeIbhFL9rzLT+yxMO9hGlbuFiIchKWbUQzcTXNDUPm+Pz3/UQjQLgaUKoaqXqm23iVGglL8C70Uj6X1lQecJg8sniRBxGX4DdXinyOZfqJk210gcv4y2HrkctcQict3ZS+d1axqKZUCfZWC7UrVHQ5000BLVg2VrbjfPcV8GNXNLoCZu+yLAEcRqO+niDVkr0bdi4TxMYmjfB0i+WFuDynnwRRgCwVVDgVjXqcAR6Aw60+B4EzGv5/4elNySXk/12qKH0eQorjZUPzeDRC3MMy45EMm8NaJujGr24ul3jqB55abUkZh8mnEHrlR8FOL64NgTvYRd47dDY6CJxrzhjk3CMZ445IrgoOI25hosd3iiiCfvXt9ya6WZu8MOfElooEzC3FffxlJTQNLxosoTpCPuE4blPZMh2rF00t480PhQUsxajMp1ViGKYtRHYHCvEHh9ml1xy3rr6sGD64Uq9cIn5K7a+S4JLbY80Soqio2XGeUnMliX3M4nCbVWRONbklBM7NqaC7KsFLZlK/RJpynl/V0cETgtZi4mHhaS/0XeWmmPgUwrRPYzcNqwnr6H5ABS50CWXM/XSBz1t8ePokNIQat2RTEmpv+ktjt82eNDSKmz8EUxJpnDgWxx9vvn8CGADPmkyw8ehxNfLw2f43bNsvV+tvDYhOHqWCU0leh3qkb6A5CdYdOXi20ZB0j6UflBcdYwms9jjDO3UQ7mmNbzrQVIwXB8UJ9jCMkrXmicUK5pMhNNuEfS6blTG/Mijkk1FYkcna5F6ZRQzTKNleTctrAx8FwFEx61NCJxBiPCLCkE+GX7/+R5d0P/0L7DQ=="),
- this.addDataEntry("gmdl google media design library tab desktop tab bar overflow",758,152,"Desktop tab bar with overflow","7Zldb5swFIZ/DZetwIZALksS2krrUrVdu1sUDFhzMAK3S/brZ/PVEGCFxDBtaqRI4djnYN7nHGM7Clxsd9eJG4d31ENEgSsFLhJKWf5ru1sgQhSgYk+BSwUAlX8V4HS0almrGrsJilgfB5A7vLnkFeWW3JCyPSkMnpuGSHRXFWinoRsLe4I2PL7tY0IWlNAk6wr97CO6sYT+QGVLRCPuYxe3QglDu87hZqZirNeIbhFL9rzLT+yxMO9hGlbuFiIchKWbUQzcTXNDUPm+Pz3/UQjQLgaUKoaqXqm23iVGglL8C70Uj6X1lQecJg8sniRBxGX4DdXinyOZfqJk210gcv4y2HrkctcQict3ZS+d1axqKZUCfZWC7UrVHQ5000BLVg2VrbjfPcV8GNXNLoCZu+yLAEcRqO+niDVkr0bdi4TxMYmjfB0i+WFuDynnwRRgCwVVDgVjXqcAR6Aw60+B4EzGv5/4elNySXk/12qKH0eQorjZUPzeDRC3MMy45EMm8NaJujGr24ul3jqB55abUkZh8mnEHrlR8FOL64NgTvYRd47dDY6CJxrzhjk3CMZ445IrgoOI25hosd3iiiCfvXt9ya6WZu8MOfElooEzC3FffxlJTQNLxosoTpCPuE4blPZMh2rF00t480PhQUsxajMp1ViGKYtRHYHCvEHh9ml1xy3rr6sGD64Uq9cIn5K7a+S4JLbY80Soqio2XGeUnMliX3M4nCbVWRONbklBM7NqaC7KsFLZlK/RJpynl/V0cETgtZi4mHhaS/0XeWmmPgUwrRPYzcNqwnr6H5ABS50CWXM/XSBz1t8ePokNIQat2RTEmpv+ktjt82eNDSKmz8EUxJpnDgWxx9vvn8CGADPmkyw8ehxNfLw2f43bNsvV+tvDYhOHqWCU0leh3qkb6A5CdYdOXi20ZB0j6UflBcdYwms9jjDO3UQ7mmNbzrQVIwXB8UJ9jCMkrXmicUK5pMhNNuEfS6blTG/Mijkk1FYkcna5F6ZRQzTKNleTctrAx8FwFEx61NCJxBiPCLCkE+GX7/+R5d0P/0L7DQ==")];
- this.addPalette("gmdlTabs","GMDL / Tabs",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLTextFieldsPalette=function(a){var b=this,d=[this.addDataEntry("gmdl google media design library text field single line text field",346,360,"Single-line text field","7Zhbb5swFMc/yx54bORLSsnjcqsq9TJt1frsBgNWDI6M1yb79LPBJBCHNllCtVUBheBjH1/+Pzi28fAoXV5LskjuREi5hyceHkkhVHmXLkeUcw8BFnp47CEE9M9D05ZcWOSCBZE0U/s4oNLhhfBftLSUhlytuDWEJE+oKQ48PMwTsjB2SWe6/mHEOB8JLmRRFEfFYYopKea0lkOLo6wgFK/aCHXCNk6losvWARQm2/trKlKq5EoXeWWhSsoSuO+XbgllcWLdsF+OHJC8NMRr340e+sZKslse7MgzFGKeEjk3FYchDb84eumxGGnMqNiM8K+cxZnOSVkY8kKBBZmxLDYS+EZCkakf7LdxRrBK29pMWtJc5z7Z0e6tGvo71SrRJOVEsRfaqP8YJfuOkvckpW3iWY1uaaTqOtUeqACYs6kfxBvXR7HQFv/DBcSHCmib+CaYbhmBVVkiCJoeIopyqhzB1x3bi8GlwwAC3V0wJqtc/4lIX25mGgoYSUrSNjh1xf3GA43a0VWPNHBRguL4X0lBeNkBKv/9uFyFYs4yug65dfEycUuezZRSpNpD8mlltw6gB/q+7XSdBOy7JNCJSPRBBySuHBJTwUMqz6GrDYPvd4AhaJ2JTeh6Jq08ztGqAWeAO4AzeD9a7VxFpsvYrHx7cRrynpKMZDGnTqzKRBHgttaaV8Cc+6oevBmsoBOnIHARXB5HwLZ1UcX2ikgXQKruH0zkPJlYLAh2sQKD0OHyfXL38HOyT/TCO3YHW8EJ4mA6RdtTCXhrO0KsYaZZ6FntOF4rr+V9Gux4nw7ea+wmdbG90TsNKXdnPBnfPH4STk2HD6VWhUEYgEbrHWF0d/Djh/vP8rr9AxgHHVDUyc0XsLJ4/QPZHw=="),
- this.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var a=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;opacity=50;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field hover light dark",
- function(){var a=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#cccccc;opacity=50;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (hover)")}),this.addEntry("gmdl google media design library text field single line text field press light dark",function(){var a=
- new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;opacity=50;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (press)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=
- new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (focus, light)")}),this.addEntry("gmdl google media design library text field single line text field normal light",function(){var a=
- new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field error light",function(){var a=new mxCell("Input text",
- new mxGeometry(0,0,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;");e.vertex=!0;var d=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff0000;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;return b.createVertexTemplateFromCells([a,e,d],346,55,"Single-line text field (error, light)")}),
- this.addEntry("gmdl google media design library text field single line text field disabled",function(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#B3B3B3;dashed=1;dashPattern=1 4;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (disabled)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",
- function(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (focus, dark)")}),this.addEntry("gmdl google media design library text field single line text field normal dark",function(){var a=
- new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#cccccc;opacity=50;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field error dark",function(){var a=new mxCell("Input text",
- new mxGeometry(0,0,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;");e.vertex=!0;var d=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff0000;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;return b.createVertexTemplateFromCells([a,e,d],346,55,"Single-line text field (error, dark)")}),
- this.addDataEntry("gmdl google media design library text field single line text field icon normal light",346,35,"Single-line text field with icon (normal, light)","1ZbfT4MwEMf/Gh5dSjtQH3X+eNFo4oPPddygsVBSqjL/enu0zjG6jUyNkYWkvfbo3ee+3IjYrGyvNa+LW5WBjNhlxGZaKeNGZTsDKSNKRBaxi4hSYu+IXm1ZjbtVUnMNlRnjQJ3DK5cv4CzO0Jil9Iam4DUONcztI88bo9UzzJRU2horVdm184WQcsPkHwzaQLs1uM7kI7sGVYLRS7vlTWSmcDvY1EdUgMgL78YSZ+ONm+cr169U7cBnG86c7c88400BuJ1g3h5D2eZYrUleZnJiQEJduIT3gokoS7trLB0aprP0hZ14Cmu04nQIyyuAaJDciFfoHRci6E+8V8IGsjruKCZ9F7VYNGAGyFeBjqrCdFCF+w7nZiksJhTfQlUmhBPtD+IdN8c4R7BizuWZFHmFRRNZJkcVyZvwvLuaz4XB9BPyzZJ5h2QaqNhJQN9ke3XG6js5UN9SrKn50QcaW0ulbvgTdqhu1gdpa3GZ4u9nOXnp0ZDQA9g2FXoItnSA7VY9Cfn3ilQ/rkaa0AHXU/I7ajw+UI1GC17lHahd+tvTbTOBf15CIfhGvWCy4wCmOwHGPZUG+3EAZ/K9dtx+tuP+O3LEfqE7n/zjHrJS9/YmEhL7AT3ETr8+2Bzl9e+5Dw=="),
- this.addDataEntry("gmdl google media design library text field single line text field icon focus light",342,35,"Single-line text field with icon (focus, light)","zZZRb4IwEMc/DY+a0gpzj0OnLzNZsoc9d+OEZoWaUh3u06+lnVMpypxLBiEp1x69+92fg4BMinou6SpfiBR4QO4DMpFCKDsq6glwHmDE0oBMA4yRvgI865gNm1m0ohJK1ccBW4cN5WuwFmuo1JY7Q5XTlRlKeNWPTColxRtMBBdSG0tR6rlkyTg/MrkHg1RQdwbXmFxkcxAFKLnVS95ZqnK7goxcRDmwLHduJLI2Wtn7bOf6naoeuGz9mZPzmae0ysEsRyZvh6GoM1OtYVakfKiAwyq3CZ8FE2ASzm6T2bQvHeyns3WFHToKe7TCuA3LKQBJ4FSxDRxs5yPodnwUTAey224QokMXsVxWoFrId4H2qsKoVYU4Qq1CaEhGektRqj2YqDmc/Yl9mMUaAEkMVvZK+R1nWWlKxtKU9yrRT7TbUR3nEI08xRl7pIy6C9FXytGFUuZsT7jPLlCdU1KKB/pimtE0bFG7loqPODmVYZ+mPdiOxXgJtriFbSFemCbWT35Jc/5T+eEIt0Deor+R382F8lOS0TJryJwSnL+Txs2h7SkzHyYmDOlKrE2y/QDGJwGGB7L09loPzuh3rbb+arWHL8WA/EHnHV+zaYTnm8Z9bM4rq7u7a/jEfkHT0LffP2OW8v6/2ic="),
- this.addDataEntry("gmdl google media design library text field single line text field icon normal light",342,35,"Single-line text field with icon (normal, light)","3ZZNU4MwEIZ/Dcd2QtKgHrV+XHTGGQ+e07KFjIF0Qlqpv96ExFoktFjtQWGYSTZZsvvs2y0RmRb1nWLL/EGmICJyE5GpklK7UVFPQYgII55G5DrCGJknwrc9q3GzipZMQamHOGDnsGZiBc7iDJXeCG+ocra0QwVz88qrSiv5AlMppDLGUpZm7WrBhfhi8i8GpaHuDa4x+cjuQBag1cZseeWpzt0OMvER5cCz3LsR6myscvNs6/qZqhn4bMOZk8OZp6zKwW5HNm+PoagzW61xVqRirEHAMncJHwQTYZI011A6OExn4ws79hR2aMVJF5ZXAFIgmOZraB0XIuhPfJTcBLI9bhSjtotcLCrQHeTbQAdVYdKpQkLRiFI6ik3pOxUxtKwGF7LUO1RRc3n7E3+zm2NL2fLlcyYuBc9KWzuepmJQrb4j4p4yeQc6CVTpPKBp1F+RoZqmR2pa8B0FP/tAY2Mp5T2b2a7UzNrUDPibxN6/y8nLDYfEHcD2VZXHYEs62B7kjBti/0B+mOIOyAt0GvmdHSk/rTgrs4bMPsEdaKkpt/9QXFrSlVzZZIcBTPYCjFuyDDbdAE76s55bf/Tc9o9iRE7Qgs//cNPYqru/a4TEfkTTMNPPrzJHefej7R0="),
- this.addDataEntry("gmdl google media design library text field single line text field icon normal dark",342,35,"Single-line text field with icon (normal, dark)","1ZZRT8IwEMc/zR4lXcsAHwWVF01IfPC5sGNr7Nalqzr89LZrRcY6mAgxNiFpr7317nf/HQvILKvmkhbpo4iBB+QuIDMphLKzrJoB5wFGLA7IbYAx0r8A33fshvUuKqiEXPVxwNbhjfJXsBZrKNWGO0OZ0sJMJaz0I6elkuIFZoILqY25yPXedM043zO5B4NUUHUGV5tcZHMQGSi50UfeWaxSe4IMXUQpsCR1biSyNlradbJ1/U5VT1y2/szJ8cxjWqZgjiOTt8OQVYmp1iDJYj5QwKFIbcJHwQSYrOrRlw7209m4wg4chR1a4agNyykASeBUsTdoXOcj6G5cCKYD2V53FaKmi1ivS1At5NtAe1Vh2KrCosa5XwqNyYhvLXK1g3NcD2d/Yh/msEZApgYsW1F+w1mSm6KxOOa9ivQT9XbUxzlEQ095Jh4xo+5S9BVzdKKYOduR7rMLNNSWXDzQpWlH9apJTYOP6nFeTk5n2KdqD7Z9OZ6CbdTC9iiWjP+9/ERBV0wZIhE6D2Uc4RbXa3QZNY5PVKOSjOZJDeqQ/o601piZfyomDPhSvJpk+wEcHQQYNlTqbb4enNHvem/11Xub78gVuUArnvzjHrJVd3cT8Yn9hB6il99fZ5by7sfbJw=="),
- this.addDataEntry("gmdl google media design library text field single line text field icon focus dark",342,35,"Single-line text field with icon (focus, dark)","zZZRb4IwEMc/DY+a0opuj0OnL1uyZA977uSAZoWaUjfcp19LO6dSlDlN1oSkXHv07nd/DgIyLeqFpKv8USTAA3IfkKkUQtlZUU+B8wAjlgRkFmCM9BXgecdq2KyiFZVQqj4O2Dq8U74Ga7GGSm24M1Q5XZmphKV+ZFwpKd5gKriQ2liKUq/FKeP8wOQeDFJB3RlcY3KRLUAUoORGb/lgicrtDjJyEeXAsty5kcjaaGXvs63rT6p64rL1Z05OZ57QKgezHZm8HYaizky1hlmR8KECDqvcJnwSTIBJOL+N57O+dLCfzsYVdugo7NAKx21YTgFIAqeKvcPecT6C7sQnwXQg2+MGIdp3EWlagWoh3wbaqwqjVhXGEWoVQkMy0ktFqXZgps1w9mf2aTZrACQ2WNmS8jvOstKUjCUJ71Wi32i3ozrOIRp5inPjkTLqLkRfKUdnSpmzHeG+uEB1TnEpHuiraUazsEXtUio+4ORUhn2a9mA7FOM52MYtbI/ilWli/eQ3acY/lR+OcAvkLbqO/CZnyk9JRsusIXNMcP5OumyGtifMfJiYMKQrsTbJ9gM4Pgow3JOlt9d6cEZ/a7X1d6vdfykG5Aqd9+aSTSM83TSiZlxY3d1dwyf2M5qGvv35GbOUd//VvgA="),
- this.addDataEntry("gmdl google media design library text field single line text field icon normal dark",342,35,"Single-line text field with icon (normal, dark)","3ZZNU8MgEIZ/TY7tEChVj7Z+XHTGGQ+eabNJGEnoENTUXy8EbJuG2FjtQZnpDCxs2H32zTYRmRf1rWKr/F4mICJyHZG5klK7WVHPQYgII55E5CrCGJlfhG96duNmF62YglIPccDO4ZWJF3AWZ6j0WnhDlbOVnSpYmkfOKq3kM8ylkMoYS1mavVnKhdgz+QeD0lD3BteYfGS3IAvQam2OvPFE5+4EmfiIcuBZ7t0IdTZWuXW2cd2maiY+23Dm5HDmCatysMeRzdtjKOrMVmucFYkYaxCwyl3CB8FEmCybMZQODtNZ+8KOPYUdWvG0C8srACkQTPNXaF0XIuhvfJDcBLK5bhSjtotM0wp0B/km0EFVmHSqMKVoRCkdxab0nYoYWlaDqSz1DtW0Gd7+yN/tYUOCzCxfvmTiUvCstLXjSSIG1eo7Iu4pk3egk0CVzgOaRv0VGappeqSmBd9R8JMPNDaWUt6xhe1KzapNzYCnzfhdTl5uOCTuALZ9VR6DbdrBdi8X3BD7B/LDFHdAXqDTyO/sSPlpxVmZNWS+EtyBlppw+w/FpSVdyReb7DCA0y8Bxi1ZBptuACf9Wc+tP3tu+6UYkRO04PM/3DQ26u7vGiGxH9E0zHL7VeYo7360fQA="),
- this.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;opacity=80;");e.vertex=!0;return b.createVertexTemplateFromCells([a,e],346,35,"Single-line text field (normal)")}),
- this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;");
- d.vertex=!0;return b.createVertexTemplateFromCells([a,e,d],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#cccccc;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");
- e.vertex=!0;var d=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#eeeeee;");d.vertex=!0;return b.createVertexTemplateFromCells([a,e,d],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;textOpacity=80;");
- a.vertex=!0;var e=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#999999;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;textOpacity=80;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,45,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;dashed=1;dashPattern=1 4;opacity=80;");d.vertex=!0;return b.createVertexTemplateFromCells([a,e,d],346,55,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",
- function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;");d.vertex=!0;return b.createVertexTemplateFromCells([a,
- e,d],346,55,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var e=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#cccccc;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");e.vertex=!0;var d=new mxCell("",
- new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;");d.vertex=!0;return b.createVertexTemplateFromCells([a,e,d],346,55,"Single-line text field (normal, dark)")}),this.addDataEntry("gmdl google media design library text field full text field",362,56,"Full text field","vVTLboMwEPwaHxMRG2jPJW0urVQph56tsGCrBiPjJqRfX79CQJAKqVFXQvKOd9j1jGVEsqrbKdqwN5mDQOQZkUxJqf2q6jIQAuGI54hsEcaR+RB+ubG7cbtRQxXUegkBe8KRii/wyB6oOjAPt/osApzTloElRYg8tYw2Fldw0D7N5cnkG5toJT8hk0IqxyTgot/54LlmobbgQgwqCxcWl7Xe82/bwszh80Fd5sLgVPCyNpiAws3R0AOvy1eXbdPEQOF4oDR0NyVyUNBnB7ICrc6m5BQmNbskDUIx4CULtCT1GG19XvbUq+BmETSf159M9F+mfNWV9s6syyoX68vxR/riOS9SF0t1wfO6nMPFWieeMtBpk05lumAKBNX8CKN2c9qFju+Sm0FwFOa7KBO6rx7HP5BF0YKeSN+PvciN+B5udP9oxZjwmzHxjDHxXYxZkWTszMPfnTHp9Q305cMn8gc="),
- this.addDataEntry("gmdl google media design library text field full text field",362,294,"Full text field","7VjRbpswFP0aHhsZQ2jzmCZbX7ap0ibt2Q0XsGZsZLsp2dfPGJPAICpdoarWWIrEPb4XO+fkXCv2gk1e3klSZF9FDMwLPnnBRgqh66e83ABjHkY09oKthzEyHw9/PjPr21lUEAlcjynAdcGesEeoEVIjSh+YQ2KiMqjykRfcqowUFS5hp+swFk8m9qtAS/ELNoIJaSsDsOM485PGOnO5CWWslZnYUeGC6+/0d7WE2Ucdt/KQHQYnjKbcYAwSu4+C7ChPv9hoGy0NVG37nmgNkts1MQoNugep6Y6wtavXojiV/6iCbWQAR4tJhvIstRZyvN6ByEHLg0l5cl/TzAaRIzgDmmauDK/CGiSqBtJj7Ukp8+DEGhYu6Ak3Tre8TKsf2yLNY7ZoyOuog4eUjOwYSwx+lhg/6vPSYBIY0XQPndcPceVWuBfULIyR20/DxMGFqPsCkSQKdI/q4zZHsR9OwX75htR3C9pChANChJMIcRUsu0rgGZRY/qMSjPLhxnS+iUlQpjG1cycyw2CX8NHrRHCkh6sZSI96pK+JFNxAt8A5aP2yM6TDOBdWmPb54KC/Wn7rpPCj4SMg0zlzUr2teNE04i3DGcS7nqJ3PSqQY6R7cf+KxvQvRw9aLHv9LER9NcJXqtH0s0ZVt/zVLEfLTd9bDw9QcbDJJFUauAJ+8dck/vL9OQy2etcGu/noBmsO1rbDGKOVwQTnQqqLuaYx1/Uc5vL9d+2u+sf1oe3Vv1JYM8MYRt+AKXE5uqZxFw5mcdck1wrzuWvUv9v/yF0mPN0F1untq8I/"),
- this.addDataEntry("gmdl google media design library text field inset text field",362,56,"Inset text field","rVTBboMwDP2aHFtB0qKdR7deNmlSDztHYEi0QFDIWtjXLyQphUIrpNYSUvxsY/OeCSJx0ewVrdinTEEg8oZIrKTU7lQ0MQiBcMBTRHYI48A8CL/fiIY2GlRUQamXFGBXcKTiFxxyAKoS5uBat8LDKa0ZdEUBIq81o1WHK0i0c1N5Mn7YOVrJH4ilkMpWErDWR755qpnPzbgQg8zMWofLUh/4X9fCzOH8QV5szeBU8Lw0mIDMzlHRhJf5h/V20dZA/vNAaWhuUmQhz88eZAFatSbl5Cc1URJ5ohjwnPmybeQwWjs/70svhJuD53yefzLhfxnzRZN3O7POi1SsayfZNcN4To3I2lJm8DwzrV+t9daVDJgKoylRZ0yBoJofYdRujj3f8UtyMwgO/Hxnbnz31cv4BTLLatAT8vuxF+mxeYYeR8mT6cLfl+PqV3iKTOOCe6LNbLe/OB4VbUU2Y9XC4HHZjHu5Il368Ab9Bw=="),
- this.addDataEntry("gmdl google media design library text field focus card suggestion",362,246,"Focus card suggestions","7VfBjpswEP0ajl0ZA25y7CbtXlpppVbq2Q0DWDWYGieb9Os72CaBhmijLqSXWIrCPM/Y5r1hBoJoVe6fNK+LLyoFGUQfg2illTLuqtyvQMqAEpEG0TqglOAvoJ8uzIZ2ltRcQ2WuCaAuYMflFhySQtOANg5vzEF2OG8KaKNIED02Ba9bXMPGODNVL2iHrWG0+gkrJZW2kRHYcZz5LlJTeN9MSNnzzOxocVWZr+J3uwWew9k9P2IH4lyKvEJMQmbPUfONqPLP1lqzBKH22M/cGNCV3ZOSGNEd3qHYcPnBxxtVn8K/tcaaIeDJQWfYXyTYQp7dJ1AlGH1Alxd/mzgbMU9zASIvfBiNmQN544D8GHvSCy+8ZOPyRWfyXadbuc/blHvIy1Q+dOQN1KFjSjI7riWGvkpMyM556TANkhuxg8HyY1z5HZ6VwI0p8efpmDh4kwwXUFnWgDmj+njMq9iPp2B/f0PqhwF9IeIRIeJJhHgXJUMl6AxKJP+ohBTVeGG6XMQ0NFiY+r4TPQyjVSIkbxPBkx4vZyCdTdM7BkxXygrS7wse+qvU9zpEyMZLf2FK2fWZYf9Y2nFzMePFJGIm8Qxivr8sJqYgkx3naG6ORLJf2/ZF5fHUknsQy9v/H1x34XgEt4KbuWfJrFkSkjkK7WKmNGkKfOm658n/yJNkjlej5Ux5ghQbvtXcpsc9W26fLcvF27MFzdMXrnPvfwD/AQ==")];
- this.addPalette("gmdlText Fields","GMDL / Text Fields",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();(function(){Sidebar.prototype.addIosPalette=function(){sb=this;var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios.",b=mxConstants.STYLE_STROKEWIDTH+"=1;html=1;shadow=0;dashed=0;shape=mxgraph.ios.",d=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;html=1;shadow=0;dashed=0;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;strokeWidth=1;shape=mxgraph.ios.",c=[this.createVertexTemplateEntry(a+"iPhone;bgStyle=bgGreen;fillColor=#aaaaaa;",
- 200,400,"","iPhone (portrait)",null,null,null),this.createVertexTemplateEntry(a+"iPhone;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;",400,200,"","iPhone (landscape)",null,null,null),this.createVertexTemplateEntry(a+"iPad;bgStyle=bgGreen;fillColor=#aaaaaa;",200*2.425,625,"","iPad (portrait)",null,null,null),this.createVertexTemplateEntry(a+"iPad;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;",625,200*2.425,"","iPad (landscape)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;fillColor=#ffffff;",
- 175,280,"","iPad background (white)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;fillColor=#1f2923;",175,280,"","iPad background (green)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;fillColor=#dddddd;",175,280,"","iPad background (gray)",null,null,null),this.createVertexTemplateEntry(a+"iBgStriped;strokeColor=#18211b;fillColor=#5D7585;strokeColor2=#657E8F;",175,280,"","iPad background (striped)",null,null,null),this.createVertexTemplateEntry(a+
- "iBgMap;strokeColor=#18211b;fillColor=#ffffff;strokeColor2=#008cff;fillColor2=#96D1FF;",175,280,"","iPad background (map)",null,null,null),this.addDataEntry(null,165,50,"Button bar","3ZfdboIwFMefhltSKCjeIptZsl3tCTqo0KxQUurUPf0OpfgJiVN0OowJ55z20P7Ov01r4Wm+mklSZm8iodzCTxaeSiFU85avppRzy0UssXBkuS6Cv+U+90QdHUUlkbRQp3Rwmw5fhC9o42kclVpz48hUDsOKHAuHVUYSsQQDgZGQKqOJMSBS1u3zVVrPxWaisqWkMQwilO/su475dTslxSedCi6kzo49/UBkzjjf8c/1A37IlzCYTRsrRAHJQjNuKhVd9c5du8zEZ1TkVMk1NFmyRGWmxchvumWUpZnp5jfMEKkaO9103ZKEFwOzGyw+AvuiaA4eZzjASpThQilRHEDeRWlwHXGPvfoHEcJZCgkiTud1saqSxKxIX7UVOfWn56JQJntgzJ1EI/2cWhH3vIo4ru1fXhOvQ+yjVG3GPkRNSBFnNZpDTBvemqb5kHMqNtyNre3gGcGu9xLsQkUdTAdQud+ncny9bQQ9pMJNaVpitxH86GEF79+p4Md9gveGI/ohYE/P/8nObiqEx/ZNlR88rPLHd6r8SZ/yr3hiPNzqAa4fjf3g+CRpFsOlku89dUIMoSDWsQGWw1bkt1kOrQAecD1M7nQ9OE4H0r+/Ov3menTmYfyM6xGY2zutju1deX8A"),
- this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iAppBar;strokeWidth=1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=8;spacingLeft=18;");b.vertex=!0;a.insert(b);b=new mxCell("11:55PM",new mxGeometry(60,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=8;strokeColor=none;fillColor=none;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],
- a.geometry.width,a.geometry.height,"App bar (portrait)")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,280,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iAppBar;strokeWidth=1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=8;spacingLeft=18;");b.vertex=!0;a.insert(b);b=new mxCell("11:55PM",new mxGeometry(115,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=8;strokeColor=none;fillColor=none;");
- b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"App bar (landscape)")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iTopBar2;opacity=50;fillColor=#999999;strokeColor=#cccccc;strokeWidth=1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;align=left;fontSize=7.5;spacingLeft=18;fontColor=#cccccc;textOpacity=50;strokeColor=none;fillColor=none;");
- b.vertex=!0;a.insert(b);b=new mxCell("11:15AM",new mxGeometry(60,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=7.5;fontColor=#cccccc;textOpacity=50;strokeColor=none;fillColor=none;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Top bar")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iTopBarLocked;strokeWidth=1;");a.vertex=!0;var b=new mxCell("CARRIER",
- new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=7.5;spacingLeft=18;fontColor=#cccccc;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Top bar locked")}),this.createVertexTemplateEntry(b+"iButton;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;whiteSpace=wrap;align=center;",43.5,15,"Button","Button",null,null,null),this.createVertexTemplateEntry(b+
- "iButtonBack;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;spacingLeft=10;whiteSpace=wrap;align=center;",43.5,15,"Button","Back button",null,null,null),this.createVertexTemplateEntry(b+"iButtonFw;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;spacingRight=10;whiteSpace=wrap;align=center;",43.5,15,"Button","Forward button",null,null,null),this.createVertexTemplateEntry(a+"iPrevNext;strokeColor=#444444;fillColor=#dddddd;fillColor2=#3D5565;fillColor3=#ffffff;align=center;",
- 43.5,15,"","Prev/next button",null,null,null),this.createVertexTemplateEntry(b+"iTextInput;strokeColor=#444444;fontColor=#000000;buttonText=;fontSize=8;fillColor=#ffffff;whiteSpace=wrap;align=left;",43.5,15,"Default text","Text input",null,null,null),this.addDataEntry(null,165,50,"Radio Buttons","7VbbbsIwDP2avqI2AcTrgI2XTZu2/UAgpo2WNlWSMdjXz0kMu0AlNLa9jEiV6nNsyz6nkZrxSb2eWdFWN0aCzvhlxifWGJ/e6vUEtM5YrmTGpxljOT4Zu+pgi8jmrbDQ+GMKWCpYCf0MCUmA8xtNQOVrHGtaZHzsKiHNCwY5BlK4CiQFyLQhv16XYZeeMq5nLSxwiLF9UK+B4yHPW/MEE6ONjd35MB5klkrrD/gyHsSxn1S4zZZrTAOhKSyerVMruAeX2ue0ClgP6045IkRazMDU4O0GU16U9BVlDAeprAJVVlQ2oO7Cpbjclb6Liy+k72Gt+Z7Wt61XpkGs2FN9Kyi2UK1LG+OiYq6BJP8imIwHcaFV2SCmYRnUd61YqKa8jtGUhULTeLJkROEhQ7SYg74zTsUZ+dQmNcZBYLUQ+voLXyspw3C7hAsaZEfQKI+mpa/hKMfYYceogPXIrQ2JvI0/OHrIz9Pt7HfbuX+JznZ+z85i+EduDrrd5Ke72Y/n37vJRn92O4fdfvbPt/OH/OwXv+Mmhu+/QJH79If0Bg=="),
- this.addDataEntry(null,165,50,"Checkboxes","7ZZbT8IwFMc/zV7J1gLBRxnKCyZG/AJlPWyN3bq0RYef3tOLeGEQEoUXbbKk55rT/29NmtC87uaatdWd4iATepPQXCtlw67ucpAyIangCZ0lhKT4JeT2QDTz0bRlGhp7SgEJBc9MbiB4gsPYrYyOytY41ixL6NRUjKsXNFI0ODMV8GhgpHX5dVe6swyEMgOtocAhpnopXl2Mujyr1RPkSirtu9OxXxhZCyk/+dd+oR/7cYGneY81qgHXFIqNNuIZHsCE9m6MeBrQFrqDinhXlGMOqgart5jyIritYsZ4FMoqEGUVy0ZByZSZYJe70g99cRMl7peb7sm9BGtFU6IzO5/y6b6+3C/0MynKBn0S1q7EtKzAeRbemhFXqBob+0yi2cdPshXIe2WEFcr100G5qYMhCiYX3+K14NwddJdwHQfZBeIoj6qNP89JdEk/3VhABpHsNgJ5tz/R72P/c/TDI+jPeOn+0R9Cn40vRH50hDz9PfJFBcXTSnX7wK/8+vPAyeRil318BPnw/7Jfnv0wOw95ND8eaz725S33Bg=="),
- this.createVertexTemplateEntry(b+"iComboBox;spacingTop=2;spacingLeft=2;align=left;strokeColor=#444444;fontColor=#666666;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;",200*.29,15,"Option 1","Combobox",null,null,null),this.createVertexTemplateEntry(b+"iOnOffButton;mainText=;strokeColor=#444444;fontSize=9;fontColor=#ffffff;spacingRight=14;buttonState=on",43.5,15,"ON","On-off button",null,null,null),this.createVertexTemplateEntry(b+"iTextInput;strokeColor=#444444;fontColor=#000000;align=left;buttonText=;fontSize=8;fillColor=#ffffff;",
- 43.5,15,"********","Password field",null,null,null),this.addDataEntry(null,150,100,"Alert Box","rVVNb6MwEP01PjaycdI2x02629NKq+awZwsGbNXYyHYb6K/fMTgNCLJKP5CQmDdf9nszgvB93T460cjftgBN+E/C987aMHzV7R60JhlVBeEPJMsoviT7dcHLei9thAMTrknIhoRXoV9gQH5ocAGhAnzuVBOUNWgFaBG8JRlnlPDdkpN6yK0p8EMrA0NdHzqd6spQ4+0eGGZ7KQp7RKMvJbyEIhnoaWJ83VaRkpWyflUKk3dPT5DjhXbuoN5iwH0MDs4+w95q6/oWvOgf9JRK6xG+3t6xbczAooVCZkY+tuXsNvpsI3IVulg7nqS0k7CyfxKezrBF8yhVgAOmRuCIZ0ZMaFUZNHPsBJi/Sxwjr9Be1KmHkkiPYGsIrsOQoyqCTBGbQUsqQVXylEYTKPwAVO+5Z9nxIym/PAV8NgWHWEQqU8V2omnAoEbfJikqKiOzYzYZ/w/rSzQ78Jj5N/HDruU5+xzP2WbAHGgR1CtM6n+F+/WM+91LCHGvvott56a7w+djfIn32Yqd9+D6Fcs3OQCbr9iSqF+RMCXQVZKqmxQYCXy/pC/9oL6p/x+rTDg3v1nTSfOb09ycStiy9BBmA/J+jaWZQfP8RxjCxz+Mfw=="),
- this.addDataEntry(null,150,100,"Dialog Box","7VZNb6MwEP01PjbCdkk315BuD6vVrprDni08YKsGs8ZtQn99x+A0IJJVtu2pKhKS59P2e28QhGfV/s6JRv20Egzht4Rnzlo/rKp9BsYQlmhJ+IYwluBL2PczUdpHk0Y4qP0lBWwoeBLmEQbPRgtjS/T9fYTWa1vj0sPeE7YkjNOE8PUskrSQ21riwugahpat70xsqXyFF9tQLG2VkHaHRugjRatARgMjTciv9mVAY6FtuyhEnXf395DjXdZuq59DwreQ7J19gMwa6/otuOwfjBTamJH/enVDV6ECm0qNoIxidMXpMsRsI3Ltu9A7nKSwk7Sif6I/nmGF5k5pD1ssDY4dnhl9wuiyRjPHnQDr1xFecAjUWYp6V+TnDmwF3nWYstPSq5iRDjQmCnSpDmVJdIp2cJSvtUfGcRFJPy0APhPANjRRug4aQE4aqJGjD6MUGVUB2TGalP8D9VMwO2ix8k/Eh16KM3sbziwdfA6M8PoJJv3fg/31DPsM4cGPwIeh7dx0dvhcxudwn43YcQ4uH7E8zQHofMROkfoeCmNBsjhw1U06jBhepicITv6T4HiA31bX/rj7FWeL6fZXh+McmtiiaMHPNPJ6k4tkk85k8+vHl2TeLJmbzycZNI+/EEP6+A/jBQ=="),
- this.createVertexTemplateEntry(b+"iLockButton;fontColor=#cccccc;fontSize=13;mainText=;spacingLeft=50;spacingRight=10;align=center;",174,50,"slide to unlock","Lock button",null,null,null),this.createVertexTemplateEntry(a+"iArrowIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Arrow",null,null,null),this.createVertexTemplateEntry(a+"iDeleteIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff;",15,15,"","Delete",null,null,null),this.createVertexTemplateEntry(a+"iAddIcon;fillColor=#7AdF78;fillColor2=#1A9917;strokeColor=#ffffff;",
- 15,15,"","Add",null,null,null),this.createVertexTemplateEntry(a+"iInfoIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Info",null,null,null),this.createVertexTemplateEntry(a+"iSortFindIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Sort/find",null,null,null),this.createVertexTemplateEntry(a+"iCheckIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff;",15,15,"","Check",null,null,null),this.createVertexTemplateEntry(a+"iKeybLett;",174,100,
- "","Keyboard (letters)",null,null,null),this.createVertexTemplateEntry(a+"iKeybNumb;",174,100,"","Keyboard (numbers)",null,null,null),this.createVertexTemplateEntry(a+"iKeybSymb;",174,100,"","Keyboard (symbols)",null,null,null),this.createVertexTemplateEntry(a+"iDeleteApp;fillColor=#cccccc;fillColor2=#000000;strokeColor=#ffffff;",15,15,"","Delete app",null,null,null),this.createVertexTemplateEntry(a+"iDir;",100,100,"","Direction",null,null,null),this.createVertexTemplateEntry(b+"iLocBar;align=left;spacingLeft=4;spacingBottom=4;fontColor=#ffffff;fontSize=10;barPos=80;pointerPos=bottom;buttonText=",
- 155,32.5,"5th Street Music Store","Location bar",null,null,null),this.createVertexTemplateEntry(a+"iCallDialog;",150,125,"","Call Dialog",null,null,null),this.createVertexTemplateEntry(a+"iCallButtons;",174,400*.575,"","Call buttons",null,null,null),this.createVertexTemplateEntry(b+"iOption;barPos=80;pointerPos=bottom;buttonText=;fontSize=10;fontColor=#ffffff;spacingBottom=6;",75,400*.06875,"Option","Option",null,null,null),this.createVertexTemplateEntry(a+"iAlphaList;fontSize=7.5;",15,225,"","Alphabet list",
- null,null,null),this.createVertexTemplateEntry(b+"iHorButtonBar;strokeColor=#444444;strokeColor2=#c4c4c4;fillColor2=#ffffff;buttonText=,+,,;overflow=width;html=1;fontSize=8;fillColor=#ffffff;fillColor2=#008cff",165,12.5,'<table cellpadding="0" cellspacing="0" style="font-size:1em;color:#666666;width:100%;"><tr><td align="center" width="25%">Item 1</td><td align="center" style="color:white;" width="25%">Item 2</td><td align="center" width="25%">Item 3</td><td align="center" width="25%">Item 4</td></tr></table>',
- "Horizontal button bar",null,null,null),this.createVertexTemplateEntry(d+"iPin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(d+"iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(d+"iPin;fillColor2=#ccccff;fillColor3=#0000ff;strokeColor=#000066;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(d+"iPin;fillColor2=#ffff00;fillColor3=#888800;strokeColor=#999900;",
- 10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(d+"iPin;fillColor2=#ffa500;fillColor3=#885000;strokeColor=#997000;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(a+"iVideoControls;barPos=20;",174,50,"","Video controls",null,null,null),this.addEntry(null,function(){var a=new mxCell("Page title",new mxGeometry(0,0,175,30),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iURLBar;verticalAlign=top;fontSize=8;spacingTop=-5;align=center;");a.vertex=!0;var b=new mxCell("https://www.draw.io/",
- new mxGeometry(5,12,115,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;fontSize=8;spacingLeft=3;align=left;spacingTop=2;");b.vertex=!0;a.insert(b);b=new mxCell("Cancel",new mxGeometry(137,12,32,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;fontSize=8;fontColor=#ffffff;spacingTop=2;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"URL bar")}),this.createVertexTemplateEntry(a+"iSlider;barPos=20;",150,10,"","Slider",null,null,
- null),this.createVertexTemplateEntry(a+"iProgressBar;barPos=40;",150,10,"","Progress bar",null,null,null),this.createVertexTemplateEntry(a+"iCloudProgressBar;barPos=20;",150,10,"","Cloud progress bar",null,null,null),this.createVertexTemplateEntry(b+"iDownloadBar;verticalAlign=top;spacingTop=-4;fontSize=8;fontColor=#ffffff;buttonText=;barPos=30;align=center;",174,30,"Downloading 2 of 6","Download bar",null,null,null),this.createVertexTemplateEntry(b+"iScreenNameBar;fillColor2=#000000;fillColor3=#ffffff;buttonText=;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;align=center;",
- 174,25,"Screen Name","Screen name bar",null,null,null),this.createVertexTemplateEntry(a+"iIconGrid;fillColor=#ffffff;strokeColor=#000000;gridSize=3,3;",150,150,"","Icon grid",null,null,null),this.createVertexTemplateEntry(b+"iCopy;fillColor=#000000;strokeColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;",40,400*.06875,"Copy","Copy",null,null,null),this.addEntry(null,function(){var a=new mxCell("Copy",new mxGeometry(10,0,40,400*
- .06875),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iCopy;fillColor=#000000;strokeColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,400*.06875,60,52.5),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fillColor=#2266ff;strokeColor=none;opacity=30;");b.vertex=!0;return sb.createVertexTemplateFromCells([a,b],60,80,"Copy Area")}),this.createVertexTemplateEntry(a+"iHomePageControl;fillColor=#666666;strokeColor=#cccccc;",
- 50,5,"","Home page control",null,null,null),this.createVertexTemplateEntry(a+"iPageControl;fillColor=#666666;strokeColor=#cccccc;",50,5,"","Page control",null,null,null)];this.addPalette("ios","iOS6",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addIos7Palette=function(){var a=this,b="ios icon ",d="html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;strokeWidth=2;strokeColor=#0080F0;fillColor=#ffffff;shadow=0;dashed=0;shape=mxgraph.ios7.icons.",c="mxgraph.ios7.icons";this.addPaletteFunctions("ios7icons","iOS Icons",!1,[this.createVertexTemplateEntry(d+"add;",30,30,"","Add",null,null,this.getTagsForStencil(c,"add",b).join(" ")),this.createVertexTemplateEntry(d+"alarm_clock;",27,
- 30,"","Alarm Clock",null,null,this.getTagsForStencil(c,"alarm_clock",b).join(" ")),this.createVertexTemplateEntry(d+"back;",30,25.5,"","Back",null,null,this.getTagsForStencil(c,"back",b).join(" ")),this.createVertexTemplateEntry(d+"backward;",30,16.8,"","Backward",null,null,this.getTagsForStencil(c,"backward",b).join(" ")),this.createVertexTemplateEntry(d+"bag;",21,21,"","Bag",null,null,this.getTagsForStencil(c,"bag",b).join(" ")),this.createVertexTemplateEntry(d+"basket_cancel;",30,12,"","Basket Cancel",
- null,null,this.getTagsForStencil(c,"basket_cancel",b).join(" ")),this.createVertexTemplateEntry(d+"basketball;",30,30,"","Basketball",null,null,this.getTagsForStencil(c,"basketball",b).join(" ")),this.createVertexTemplateEntry(d+"battery;",30,12,"","Battery",null,null,this.getTagsForStencil(c,"battery",b).join(" ")),this.createVertexTemplateEntry(d+"bell;",24,77*.3,"","Bell",null,null,this.getTagsForStencil(c,"bell",b).join(" ")),this.createVertexTemplateEntry(d+"bluetooth;",15,96*.3,"","Bluetooth",
- null,null,this.getTagsForStencil(c,"bluetooth",b).join(" ")),this.createVertexTemplateEntry(d+"book;",30,25.5,"","Book",null,null,this.getTagsForStencil(c,"book",b).join(" ")),this.createVertexTemplateEntry(d+"bookmark;",18,24,"","Bookmark",null,null,this.getTagsForStencil(c,"bookmark",b).join(" ")),this.createVertexTemplateEntry(d+"box;",30,30,"","Box",null,null,this.getTagsForStencil(c,"box",b).join(" ")),this.createVertexTemplateEntry(d+"briefcase;",30,67*.3,"","Briefcase",null,null,this.getTagsForStencil(c,
- "briefcase",b).join(" ")),this.createVertexTemplateEntry(d+"calculator;",24,30,"","Calculator",null,null,this.getTagsForStencil(c,"calculator",b).join(" ")),this.createVertexTemplateEntry(d+"calendar;",30,30,"","Calendar",null,null,this.getTagsForStencil(c,"calendar",b).join(" ")),this.createVertexTemplateEntry(d+"camera;",30,17.4,"","Camera",null,null,this.getTagsForStencil(c,"camera",b).join(" ")),this.createVertexTemplateEntry(d+"chat;",30,18,"","Chat",null,null,this.getTagsForStencil(c,"chat",
- b).join(" ")),this.createVertexTemplateEntry(d+"clock;",30,30,"","Clock",null,null,this.getTagsForStencil(c,"clock",b).join(" ")),this.createVertexTemplateEntry(d+"cloud;",30,30,"","Cloud",null,null,this.getTagsForStencil(c,"cloud",b).join(" ")),this.createVertexTemplateEntry(d+"compose;",97*.3,97*.3,"","Compose",null,null,this.getTagsForStencil(c,"compose",b).join(" ")),this.createVertexTemplateEntry(d+"controls;",27,24,"","Controls",null,null,this.getTagsForStencil(c,"controls",b).join(" ")),this.createVertexTemplateEntry(d+
- "credit_card;",30,15,"","Credit Card",null,null,this.getTagsForStencil(c,"credit_card",b).join(" ")),this.createVertexTemplateEntry(d+"crop;",30,30,"","Crop",null,null,this.getTagsForStencil(c,"crop",b).join(" ")),this.createVertexTemplateEntry(d+"cube;",30,30,"","Cube",null,null,this.getTagsForStencil(c,"cube",b).join(" ")),this.createVertexTemplateEntry(d+"cup;",30,30,"","Cup",null,null,this.getTagsForStencil(c,"cup",b).join(" ")),this.createVertexTemplateEntry(d+"data;",24,97*.3,"","Data",null,
- null,this.getTagsForStencil(c,"data",b).join(" ")),this.createVertexTemplateEntry(d+"delete;",30,30,"","Delete",null,null,this.getTagsForStencil(c,"delete",b).join(" ")),this.createVertexTemplateEntry(d+"document;",21,30,"","Document",null,null,this.getTagsForStencil(c,"document",b).join(" ")),this.createVertexTemplateEntry(d+"documents;",22.5,30,"","Documents",null,null,this.getTagsForStencil(c,"documents",b).join(" ")),this.createVertexTemplateEntry(d+"down;",21,25.5,"","Down",null,null,this.getTagsForStencil(c,
- "down",b).join(" ")),this.createVertexTemplateEntry(d+"edit;",29.4,29.4,"","Edit",null,null,this.getTagsForStencil(c,"edit",b).join(" ")),this.createVertexTemplateEntry(d+"envelope_(empty);",30,30,"","Envelope (Empty)",null,null,this.getTagsForStencil(c,"envelope_(empty)",b).join(" ")),this.createVertexTemplateEntry(d+"envelope_(message);",30,30,"","Envelope (Message)",null,null,this.getTagsForStencil(c,"envelope_(message)",b).join(" ")),this.createVertexTemplateEntry(d+"eye;",30,14.1,"","Eye",null,
- null,this.getTagsForStencil(c,"eye",b).join(" ")),this.createVertexTemplateEntry(d+"flag;",30,30,"","Flag",null,null,this.getTagsForStencil(c,"flag",b).join(" ")),this.createVertexTemplateEntry(d+"flash;",18,30,"","Flash",null,null,this.getTagsForStencil(c,"flash",b).join(" ")),this.createVertexTemplateEntry(d+"flashlight;",15,30,"","Flashlight",null,null,this.getTagsForStencil(c,"flashlight",b).join(" ")),this.createVertexTemplateEntry(d+"folder;",30,19.5,"","Folder",null,null,this.getTagsForStencil(c,
- "folder",b).join(" ")),this.createVertexTemplateEntry(d+"folders;",30,25.5,"","Folders",null,null,this.getTagsForStencil(c,"folders",b).join(" ")),this.createVertexTemplateEntry(d+"folders_2;",30,22.5,"","Folders",null,null,this.getTagsForStencil(c,"folders_2",b).join(" ")),this.createVertexTemplateEntry(d+"forward;",30,16.8,"","Forward",null,null,this.getTagsForStencil(c,"forward",b).join(" ")),this.createVertexTemplateEntry(d+"gauge;",32.4,31.5,"","Gauge",null,null,this.getTagsForStencil(c,"gauge",
- b).join(" ")),this.createVertexTemplateEntry(d+"glasses;",30,12,"","Glasses",null,null,this.getTagsForStencil(c,"glasses",b).join(" ")),this.createVertexTemplateEntry(d+"globe;",30,30,"","Globe",null,null,this.getTagsForStencil(c,"globe",b).join(" ")),this.createVertexTemplateEntry(d+"heart;",102*.3,27.3,"","Heart",null,null,this.getTagsForStencil(c,"heart",b).join(" ")),this.createVertexTemplateEntry(d+"help;",30,30,"","Help",null,null,this.getTagsForStencil(c,"help",b).join(" ")),this.createVertexTemplateEntry(d+
- "home;",24,25.5,"","Home",null,null,this.getTagsForStencil(c,"home",b).join(" ")),this.createVertexTemplateEntry(d+"info;",30,30,"","Info",null,null,this.getTagsForStencil(c,"info",b).join(" ")),this.createVertexTemplateEntry(d+"keypad;",30,30,"","Keypad",null,null,this.getTagsForStencil(c,"keypad",b).join(" ")),this.createVertexTemplateEntry(d+"lightbulb;",22.8,29.7,"","Lightbulb",null,null,this.getTagsForStencil(c,"lightbulb",b).join(" ")),this.createVertexTemplateEntry(d+"link;",30,30,"","Link",
- null,null,this.getTagsForStencil(c,"link",b).join(" ")),this.createVertexTemplateEntry(d+"location;",24,30,"","Location",null,null,this.getTagsForStencil(c,"location",b).join(" ")),this.createVertexTemplateEntry(d+"location_2;",30,30,"","Location",null,null,this.getTagsForStencil(c,"location_2",b).join(" ")),this.createVertexTemplateEntry(d+"locked;",24,30,"","Locked",null,null,this.getTagsForStencil(c,"locked",b).join(" ")),this.createVertexTemplateEntry(d+"looking_glass;",30,30,"","Looking Glass",
- null,null,this.getTagsForStencil(c,"looking_glass",b).join(" ")),this.createVertexTemplateEntry(d+"loud;",102*.3,32.4,"","Loud",null,null,this.getTagsForStencil(c,"loud",b).join(" ")),this.createVertexTemplateEntry(d+"magnet;",24,30,"","Magnet",null,null,this.getTagsForStencil(c,"magnet",b).join(" ")),this.createVertexTemplateEntry(d+"mail;",30,16.5,"","Mail",null,null,this.getTagsForStencil(c,"mail",b).join(" ")),this.createVertexTemplateEntry(d+"map;",30,30,"","Map",null,null,this.getTagsForStencil(c,
- "map",b).join(" ")),this.createVertexTemplateEntry(d+"message;",30,19.5,"","Message",null,null,this.getTagsForStencil(c,"message",b).join(" ")),this.createVertexTemplateEntry(d+"messages;",30,25.5,"","Messages",null,null,this.getTagsForStencil(c,"messages",b).join(" ")),this.createVertexTemplateEntry(d+"microphone;",12,30,"","Microphone",null,null,this.getTagsForStencil(c,"microphone",b).join(" ")),this.createVertexTemplateEntry(d+"monitor;",30,19.5,"","Monitor",null,null,this.getTagsForStencil(c,
- "monitor",b).join(" ")),this.createVertexTemplateEntry(d+"moon;",29.4,29.4,"","Moon",null,null,this.getTagsForStencil(c,"moon",b).join(" ")),this.createVertexTemplateEntry(d+"most_viewed;",28.2,22.8,"","Most Viewed",null,null,this.getTagsForStencil(c,"most_viewed",b).join(" ")),this.createVertexTemplateEntry(d+"move_to_folder;",30,22.5,"","Move to Folder",null,null,this.getTagsForStencil(c,"move_to_folder",b).join(" ")),this.createVertexTemplateEntry(d+"note;",29.7,29.7,"","Note",null,null,this.getTagsForStencil(c,
- "note",b).join(" ")),this.createVertexTemplateEntry(d+"options;",30,15,"","Options",null,null,this.getTagsForStencil(c,"options",b).join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;strokeWidth=2;strokeColor=#0080F0;fillColor=#0080F0;shadow=0;dashed=0;shape=mxgraph.ios7.icons.orientation_lock;",77*.3,21,"","Orientation Lock",null,null,this.getTagsForStencil(c,"orientation_lock",b).join(" ")),this.createVertexTemplateEntry(d+"page_navigation;",30,4.8,"","Page Navigation",
- null,null,this.getTagsForStencil(c,"page_navigation",b).join(" ")),this.createVertexTemplateEntry(d+"paint;",30,25.5,"","Paint",null,null,this.getTagsForStencil(c,"paint",b).join(" ")),this.createVertexTemplateEntry(d+"pause;",15,24,"","Pause",null,null,this.getTagsForStencil(c,"pause",b).join(" ")),this.createVertexTemplateEntry(d+"pen;",29.4,29.7,"","Pen",null,null,this.getTagsForStencil(c,"pen",b).join(" ")),this.createVertexTemplateEntry(d+"pie_chart;",30,30,"","Pie Chart",null,null,this.getTagsForStencil(c,
- "pie_chart",b).join(" ")),this.createVertexTemplateEntry(d+"play;",21,24,"","Play",null,null,this.getTagsForStencil(c,"play",b).join(" ")),this.createVertexTemplateEntry(d+"pointer;",30,30,"","Pointer",null,null,this.getTagsForStencil(c,"pointer",b).join(" ")),this.createVertexTemplateEntry(d+"preferences;",30,24,"","Preferences",null,null,this.getTagsForStencil(c,"preferences",b).join(" ")),this.createVertexTemplateEntry(d+"printer;",30,25.5,"","Printer",null,null,this.getTagsForStencil(c,"printer",
- b).join(" ")),this.createVertexTemplateEntry(d+"privacy;",16.8,28.5,"","Privacy",null,null,this.getTagsForStencil(c,"privacy",b).join(" ")),this.createVertexTemplateEntry(d+"radio;",30,22.5,"","Radio",null,null,this.getTagsForStencil(c,"radio",b).join(" ")),this.createVertexTemplateEntry(d+"reload;",24,27,"","Reload",null,null,this.getTagsForStencil(c,"reload",b).join(" ")),this.createVertexTemplateEntry(d+"repeat;",30,24,"","Repeat",null,null,this.getTagsForStencil(c,"repeat",b).join(" ")),this.createVertexTemplateEntry(d+
- "retry;",92*.3,48*.3,"","Retry",null,null,this.getTagsForStencil(c,"retry",b).join(" ")),this.createVertexTemplateEntry(d+"select;",30,30,"","Select",null,null,this.getTagsForStencil(c,"select",b).join(" ")),this.createVertexTemplateEntry(d+"settings;",30,30,"","Settings",null,null,this.getTagsForStencil(c,"settings",b).join(" ")),this.createVertexTemplateEntry(d+"share;",21,28.5,"","Share",null,null,this.getTagsForStencil(c,"share",b).join(" ")),this.createVertexTemplateEntry(d+"shopping_cart;",
- 30,25.5,"","Shopping Cart",null,null,this.getTagsForStencil(c,"shopping_cart",b).join(" ")),this.createVertexTemplateEntry(d+"shuffle;",30,21,"","Shuffle",null,null,this.getTagsForStencil(c,"shuffle",b).join(" ")),this.createVertexTemplateEntry(d+"silent;",30,30,"","Silent",null,null,this.getTagsForStencil(c,"silent",b).join(" ")),this.createVertexTemplateEntry(d+"smartphone;",18,30,"","Smartphone",null,null,this.getTagsForStencil(c,"smartphone",b).join(" ")),this.createVertexTemplateEntry(d+"star;",
- 30,27,"","Star",null,null,this.getTagsForStencil(c,"star",b).join(" ")),this.createVertexTemplateEntry(d+"stopwatch;",27,28.2,"","Stopwatch",null,null,this.getTagsForStencil(c,"stopwatch",b).join(" ")),this.createVertexTemplateEntry(d+"storage;",30,10.5,"","Storage",null,null,this.getTagsForStencil(c,"storage",b).join(" ")),this.createVertexTemplateEntry(d+"sun;",30,30,"","Sun",null,null,this.getTagsForStencil(c,"sun",b).join(" ")),this.createVertexTemplateEntry(d+"tape;",30,12,"","Tape",null,null,
- this.getTagsForStencil(c,"tape",b).join(" ")),this.createVertexTemplateEntry(d+"tools;",29.7,29.7,"","Tools",null,null,this.getTagsForStencil(c,"tools",b).join(" ")),this.createVertexTemplateEntry(d+"trashcan;",24,30,"","Trashcan",null,null,this.getTagsForStencil(c,"trashcan",b).join(" ")),this.createVertexTemplateEntry(d+"trophy;",28.5,30,"","Trophy",null,null,this.getTagsForStencil(c,"trophy",b).join(" ")),this.createVertexTemplateEntry(d+"umbrella;",30,30,"","Umbrella",null,null,this.getTagsForStencil(c,
- "umbrella",b).join(" ")),this.createVertexTemplateEntry(d+"unlocked;",24,30,"","Unlocked",null,null,this.getTagsForStencil(c,"unlocked",b).join(" ")),this.createVertexTemplateEntry(d+"up;",21,25.5,"","Up",null,null,this.getTagsForStencil(c,"up",b).join(" ")),this.createVertexTemplateEntry(d+"user;",30,30,"","User",null,null,this.getTagsForStencil(c,"user",b).join(" ")),this.createVertexTemplateEntry(d+"video_conversation;",30,15,"","Video Conversation",null,null,this.getTagsForStencil(c,"video_conversation",
- b).join(" ")),this.createVertexTemplateEntry(d+"volume;",30,30,"","Volume",null,null,this.getTagsForStencil(c,"volume",b).join(" ")),this.createVertexTemplateEntry(d+"volume_2;",101*.3,28.2,"","Volume",null,null,this.getTagsForStencil(c,"volume_2",b).join(" ")),this.createVertexTemplateEntry(d+"wallet;",30,24,"","Wallet",null,null,this.getTagsForStencil(c,"wallet",b).join(" ")),this.createVertexTemplateEntry(d+"wifi;",29.7,21,"","WiFi",null,null,this.getTagsForStencil(c,"wifi",b).join(" ")),this.createVertexTemplateEntry(d+
- "window;",30,30,"","Window",null,null,this.getTagsForStencil(c,"window",b).join(" "))]);var d="html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7ui.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios.",b="ios ui ",c="mxgraph.ios7ui",f=[this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.iphone;fillColor=#ffffff;strokeColor=#c0c0c0;",
- 200,400,"","iPhone (Portrait)",null,null,this.getTagsForStencil(c,"phone",b+"portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad7inch;fillColor=#ffffff;strokeColor=#c0c0c0;",366,549,"","iPad (7'')",null,null,this.getTagsForStencil(c,"tablet tab 7",b+"portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad10inch;fillColor=#ffffff;strokeColor=#c0c0c0;",
- 488,693,"","iPad (10'')",null,null,this.getTagsForStencil(c,"tablet tab 10",b+"portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad13inch;fillColor=#ffffff;strokeColor=#c0c0c0;",572,400*2.0325,"","iPad (13'')",null,null,this.getTagsForStencil(c,"tablet tab 10",b+"portrait").join(" ")),this.addDataEntry(b+"app bar portrait",175,15,"App Bar (portrait)","zVVdb4IwFP01fZTw6cejoDNLZmLYkj03o0CzQkmpivv1u0BBEIw+zMUmJL3n3tt7e05LkeUlxUbgLN7ygDBkrZHlCc5lPUsKjzCGTJ0GyFoh09ThQ+bLFa9RefUMC5LKexLMOuGA2Z7USA3k8sQUEMsE2loZyHJzKfg3+aSBjBskxgE/gqGDEeA8JoEywJOVKyRFVO5Oozyf7amGs8zFAvwhZczjjIuqihVWA3CIDih03/hSnsIyruqTCEmKq3utILXRDeEJkeIEIUfVcBkxc+q0mNAobtIUhvPajtrUM3MwUeSNE2kNiPSWvv+69gd8NsQI8gX1XcxolILJSFiaIU/lO/0pA+Ylixn+omn0VjlXpt2PaMwOj7garVYXLHZJV5Cq8MEzteBdTJvjTJ/UmdMUox3mHX2EeMWaIAxLeiC9cmNqqIo7TqGRttxkql0oyMMwJ3KgX9vpXZLaA0kNOPJLx9ltb4l6oeJTaVRcaPTPmqnyE0vvlX+Qhs5Aw8UcNejtSynqfV+5lb5ixVj0Q6ZPKrlxU3B77O/4R4LbzgMEB/P8WNbh3bf0Fw=="),
- this.addDataEntry(b+"app bar landscape",280,15,"App Bar (landscape)","zZVdb4IwFIZ/TS81UMDppaIzS2Zi2JJdN6NAs0JJqYr79TvQovJh9MbFJiScj/ac87wlIMdPy7UkebIRIeXIWSHHl0Io/ZaWPuUcYYuFyFkijC14EH69ErXrqJUTSTN1zwasN+wJ31Ht0Y5CHblxJCqFtpY2chaFkuKHfrFQJY0nIaE4gGGBEZIioaExIJJXJ6RlXE03ZqJ42bExyfMFkRCPGOe+4ELWVZyoXuCH7JBB900sExkcszB9UqloeXXW2mUGXVORUiWPkHIwDVfzTjUPK6EsTpptnvaRQtvxaeuZHLwYeMMgnR5Ifx4Eb6ugx7MBI+k31F8QzuIMTE6jyoxEpj7Yb5UwrSjm5Jtl8XsdXGK3ndGYFxxJvU5adSheQjcuU+FT5ObAu0jjYdJHc+fGhugFeW8IvKEmKSeK7Wmr3JAapuJWMGjkVG40GXcUFFFUUNXT79TpXZK6PUltuPJzz9tubonaUfGpNCo7Gv2zZqb8CLfLP0hDr6fhbIoa7+2PUuq5r3yVgaFiz9opkyeV3L4puOs9TnD3EYKDef5Z6vTLf+kf"),
- this.createVertexTemplateEntry(d+"slider;barPos=20;strokeColor=#0080f0;fillColor=#ffffff;strokeColor2=#a0a0a0;",150,15,"","Slider",null,null,this.getTagsForStencil(c,b+"slider",null).join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.downloadBar;verticalAlign=middle;fontSize=8;fontColor=#000000;buttonText=;barPos=30;fillColor=#aaaaaa;strokeColor=#0080f0;align=center;",150,30,"Downloading 2 of 6\n\n","Download bar",null,null,this.getTagsForStencil(c,
- "downloadBar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.adjust;fillColor=#ffffff;gradientColor=none;",80,20,"","Adjust",null,null,this.getTagsForStencil(c,"adjust",b+"").join(" ")),this.addDataEntry(b+"horizontal button bar",164,12.5,"Horizontal button bar","zZVRb4IwEMc/TV9NadHxDE7jw572sGeyHrZZoabUifv0O2jR6STTLBhJSLj/9Y7e7y4t4VnZLG2+kS9GgCb8mfDMGuP8V9lkoDVhVAnC54Qxii9hiwFv1HnpJrdQuWsCmA/4zPUWvOKF2u11EKQrcVvziPC0dtZ8wJsSTvaKzIXZoUHREHktQQQDPZs2Q9ms2+omytRPWzWxFt5xZ6l9VV+tmx/SZkYb2/2SU5rQRZukUFr/0IvuQR1TCoUl9r7KVJgsDcWAddAMAumkQGMJpgRn97hkF6pqV8xiHyZBrWUfxiZTr+a1V9aH4CNg/AiML/Pmv3ivHJSoRCNz11C4dOucqa6HbyoXFiZnvbiFN/uTdxyNhTsewn3vMae3jPlJBy6N/1ln/tOG5rQFd+nKdKgr/LG6Mur8h4CE3RH8bAh8PDb4tpKHOn76gP5EHoM/msebvPOdXPTf"),
- this.addDataEntry(b+"select bar",165,27,"Select Bar","7ZRNb8IwDIZ/Ta6oTcZ6HmWDy6RJHHaOiEujpU2VBCj79XM+ClTAhrbrIlWKX8dO/LxSCSubfmF4V79qAYqwZ8JKo7WLu6YvQSlCMykImxNKM/wIfbmRzUM267iB1t1TQGPBjqstRCUK1h1UEmrX4LPmOWEz64z+gHcpXI0K9UrNhd5jkGEguK1BpAAzne/Q9Bs/3URqW2zlxIKCtZtx48/3vi8NpQfcToOGbeeF31r5CUmNF5daaRMexaqwMFNJpc50GhbqeKmQCGHItbrFZrM0LhgH/U1kQUq8FqAbcOaAR/Zpbn/icRrLapCbOpXRImrcxnhzLD0ZgJvkwXU/2IUfqwDswpUBr/HJMYY06phZEit9QjLCiPoq8s5pil94I5X3ZQlqB06uOSY6MBKngrOeBrxTy4FEfi9m+iPm4hvKBhR3cgej9n9B/3ATffbkD/4b8EsD0g1vWrYeZj9uPVToqrLgLgw7vuuahxiefpXx+Pmf9As="),
- this.addDataEntry(b+"select bar",165,27,"Select Bar","7ZVNb8IwDIZ/Ta4oTddxHmXAZRISh50j6tJoaVMlAcp+/ZyPAlWHhrYdiVQpfh078fMeStK87paat9WbKkCS9JWkuVbKhl3d5SAlYVQUJJ0Txih+hC1uZBOfpS3X0Nh7ClgoOHC5h6AEwdiTjEJla3zWPCHpzFitPuBdFLZChTml4oU6YkAxKLipoIgBZlrXoe52brqJUGa6FxMDErZ2xrU737m+zJeecJt5jbmd7yA+Iarh4lxJpf2j0tIvzJRCyiud+YU6XloIhNDnGtVgs1kcF7SF7iYyL0VeS1A1WH3CI8c4tzvxnIWyCsSuimVsGjRuQrw7l14MwE304Hs/0pEfGw9s5EqPV7vkEEMcdcgsiqW6IBlgRH0TeCc0xgteC+l8WYE8gBVbjokWtMCp4KqnBufUqieR3IuZ/Yg5o7cpa5DcigMM2v8F/dNN9PTFHXwY8EsD4g1rJRoHsxu27itUWRqwI8PO77rLw2zk4ZobCw/z/tm8hP6DexhefnTh+PV/8As="),
- this.addEntry(b+"labels",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#F6F6F8;strokeColor=none;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(55,0,54,20),"text;fontColor=#000000;fontSize=10;verticalAlign=middle;align=center;spacingTop=2;");c.vertex=!0;b.insert(c);c=new mxCell("Label",new mxGeometry(109,0,55,20),"text;fontColor=#0080f0;fontSize=10;verticalAlign=middle;align=right;spacingTop=2;spacingRight=4;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],
- b.geometry.width,b.geometry.height,"Labels")}),this.addEntry(b+"search box",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#e0e0e0;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,164,20),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.marginRect;rx=3;ry=3;rectMargin=5;fillColor=#ffffff;strokeColor=none;");c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(.5,.5,6,6),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#e0e0e0;fillColor=none;fontColor=#e0e0e0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;");
- c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Box")}),this.addEntry(b+"search box",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#F6F6F6;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,164,20),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.marginRect;rx=3;ry=3;rectMargin=5;fillColor=#E4E4E4;strokeColor=none;");
- c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(.5,.5,6,6),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#878789;fillColor=none;fontColor=#878789;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Box")}),this.addDataEntry(b+"status",164,25,"Status",
- "vZRtb4MgEMc/jS9rnNZ2b1e7NlmyZcnWD8D0VDLkDNDW7tMPhD5qM7cm0xi5/3HA/eDwoqRqloLU5TNmwLzo0YsSgahsq2oSYMwLA5p50dwLw0B/Xri44r1rvUFNBHA1JCC0ARvC1mAVK0i1Y06QJalNU0Cqh5zllLEEGYrWGy0m5tW6VAI/Ye/hyHXMzI0OQkFzdYWt5Ja3BKxAiZ3usqWZKl2PydiGlUCL0oWFsdWItHZxCD3mqxsu5f70o076qzojCjItPq2l0r8X3HaQ6GxaFMjVCYqgfZz+Rr9M51ibJn2aEvbAaMG1prDWKnFWqjmAMABrklJevBvvfBQOpRf+kV5wO71xh54xV1wAyQYy+2ifn5lVNMvMSF1st0DaWa87SP+BLB5eb1VTmGvBpyinPk2RSz/FqkYJnWprD999kAcX9fmbKryC6DzAAQv8HmRxl9heE8CIohs4G6sPo5v/FSlXx8lHe/Ju+tHUv6h9zHMJqrMRhzz69kabx3vWdj+9hr8B"),
- this.addDataEntry(b+"message",164,20,"Message","xVbbbqMwEP0aHouICUnzSnp52UirdqU+WzDB1toY2W6b9OvX4IGWW5ZVuyoWkn3GM545x4MI4r083WtasYPKQQTxbRDvtVLWz+RpD0IEJOJ5EN8EhETuDcjdjHXVWKOKaijtEgfiHV6oeAaPeMDYs0DAMFrVUw2ZC5keuRB7JZRurPHdth4ON1ar39BaSlU6nxSjg7Zwms2wgTC9e1ASrD67La88twx3bNbejQEvGLphZRE1fl10ru/1ugmWPF1+PCqfH8AYWsCIBmali3Kz6kp9wvwahNFcvbpF5BY5NQxyXLTsyVNRixxyZbbPPJRUF7x88JTqmpu4npzbiTMcmi0/4FjXS5Ie+oA0DOBfqhoFSJW1SiI8FC+tx0g8Z0mbUXuo0k7hVPCidJho8ktNRTNeFm22O/R85G918ddLrwL5vquwXtAJY92HvHXtMGB60zwz9yHkmSpNmFEJmn6SqjN2fZh4l4/UJWPmdh7SIKjlL9A7bYpNPPCn4i4PEmF6GBjPvlq3h7cR1PFowI7U6NJeJFCyVKDBN+hvSrhTeGUWf61meO87XFJh4v622CdluFrt+kJs/4MMm3+VYa4rUJ4LDSF5plXFcN+o+RbJlVyUqxPogmBTekVfoxfpy/UFXeOW7z8PfvvHf4s/"),
- this.addDataEntry(b+"action sheet",164,115,"Action Sheet","7VZNc4IwEP01HOuERNSzUL3UmU576DlKgEwDYUL86q/vQoKi2Err0F7UcWb3ZXez2ffMxCF+upsrmicLGTLhkEeH+EpKbax05zMhHIx46JDAwRjBz8GzL1bdahXlVLFMd0nAJmFDxZoZxACF3gsLFAnNS1OxFZScqlf+UboE7EIr+c58KaQCJJMZLEwjLkQNOZgEOCCBB3isaMihrbNwKB/KLfgIHNsNU5rtvjxRBdnjzJlMmVZ7CNnyUCc2YjQ0aQnjcVKnuZ4BaWGA+JB7HBAYdkaX50Va83qiS6DtfGiJTqFE4B6G9Ga7c8+PHNIiYaF16lmnu7iUxIDLYrzmAy3z6VprmX07/+awI5lpGzhpczJzy68Na+AITdCs7EOxApKbPXdiBl9nxrvAjNUoUkxQzTfspP4ltuwWz5LDzhjZhiy9+xOvTpdRVDDdovrQZSf2hx3ZP/vLtMRwZ+wSY71Q5t0p65GyYR+Ujf7ljl1KuGDT+zX7QwWM+lDAuKUAn2ar3iWQUhXz7MW+c8rjlhyXTRsDFhZViAV+q4uo+vyZLvYnCdeeSeRGldjdHuo6twgD3ONT2IQ3X8qf"),
- this.addDataEntry(b+"action sheet",164,115,"Action Sheet","7VhRj6IwEP41PK4BqoiPKyz7suY2t5fc46ULFZotlLR11fv1N5XiouCK52ruEjWadjpTynzfN0OwUJCvHgUusxlPCLPQg4UCwbmqRvkqIIxZrk0TC4WW69rws9zowKqzWbVLLEih+gS4VcA7ZgtSWSqDVGtmDDLDpR4KEsOWU/FCf+spgrFUgr+RgDMuwFLwAhamc8pYbbJcFLohCkdgTwVOKBxrzx22T/gS5jZMzGmIUGR18I42JnM7j4TnRIk1uCxpojLj4Q2rsIzQNKvDnFFlxLIypNvYjwTBwOSoO1/oeL4ylUN06Gzz89MczNm/2wTLjCRmUqc5X6WaDQPK5XhBB4qX04VSvPg09c08z3mhjKPfhiNy9Ne4Ney27duRPocgEoKbZ+4FinsclFEHKMOKnrYgDCv6Tnb27wLKXOKZU7iya5sDGWTXO7M6nM/nkqgWyttT9gJ+2AJ+RqTEKTmqF74okg3KzkHFfCA2aiPm+dHYR12I6U+HsPTaaOo5cB9TjRqNMbtnNAUKhUAnsDL8Stgzl1RRTawwhmgiGu5Pew6vHCiYgwM2+2wjZIljWqQ/9L7h3bAvXVA3XQyA9sBA2KBPrbQme2rbl7Lnbr9OfAl/Rv0LbV0BXrGk8YBDyC+AhPGF6lly55tPXyiG3VCsdhrEeqf8NVXtd1Ra7/xC67X1him7uNiciWc/BKeJzYnCIIpuYusnNjS+gtrGp6tN99sBjXkhB7lmWkeLdd3JJELn6s37VG9oJzteW29eh97s8/XmX/vBpmL57dnmxO40vIRcJi3wv5Wk0A76774sL153txI6VHevXFvHYFlmVJEXMOszL4G7ffni/0v19hoPN3UBahPoiRZvN/L8t+S5SrN2nBZ7AlzE5PDT3l4rybFIafHdsGlluoi+fDWAhdnGxdDnb/vLYZ5dpL+sdwKOvd5AZ3abGmJknw8xTD9eYVXuzTdcfwA="),
- this.addDataEntry(b+"cell list",164,120,"Cell List","7ZlNb6MwEIZ/DcdGtgmEHBtSeulKK3WlPbPBgLUGI0PbpL9+HWyaD2BlWlxVBUuR7MEz2O+YRxmwbD/b3/OwSH+wCFPLvrNsnzNWyV629zGlFgIksuythRAQPwsFPVdhfRUUIcd5peOApMNzSJ+wtEhDWR2oMpRpWBy7HO9EyE1ZcfYX+4wyLow5y8W1TUwobUwWsuO6CXvCw4iIpVxNFyEj9iLGQAzUCjCv8L53F7VJbeEeswxX/CCmvJCoStUMdyndUkyStHFT2wdhKQ3Jm+9JFNFRunRrZLc0egj/iFS9SyiWV4/k9TgNAjU+Ew7UTdg5LsWs32p7UFhCSpJc9CmO6+hFuCN58lCPtsg5mX6x4mjRVRa9T9lGWI5pWJFnfBH/I2ovB59Izp7yCEdKJ67ktTXPahCsHQB11bK71TqoZ23hSJdz9ZyOY+kMFE/d8ScjYiEIqPWpKOrmN6vm7k0EFsclrlriv61bKx+Ofj6yfXIE2YKwcrXISLlbcLnnq0QI1d26fVD1S4f/5KArBUPPb3cKbuBVEkykwJ0BNAKArhJ4uAwzasJWn84we3Ncrp7g7uQY5n0BhvWoPhWGrWeGGWPY0gTDmsP1aRBb+ttbIZKm4uvJQQzCL0CxHtmnQjHYrpdnjI2FMdcIxtrVu1mMAbC6DbT/i8Eeyb8zxwZU+MY41qf7ZEDWLutnkI0FMs8IyNpvAcyCzPEcZ6v/QDnTA9mAMt8cyHp0nwzI2rX9DLKxQAaBEZK13wWYJZkXeHdr7cpSnqhJkQwNqPXNkaxH929KMjE8feaV08+/Av8D"),
- this.addDataEntry(b+"cell list",164,60,"Cell List","7Vddb4IwFP01PGr4dnucuvniErMt2XMnBZoVStpOZb9+F1pRQCPqfJImJL3nfrXn9D5gOJNkM+Moi19ZgKnhPBvOhDMm1S7ZTDClhm2SwHCmhm2b8Bn2yxGvVXrNDHGcyi4JtkpYIfqDFaIAIXOqARGjrNhyvISSYyE5+8YTRhkHMGUp+MYhoXQLGbYTlgvwiKOAwFEa4VAyYGuwTTD0CTCXeHP0FiWkrzDDLMGS5xCyJoGMdYTvqrQYkyjWab66vYmEsqMqdccJbDQthylyWhTN0RcodRFPLJXv5LcIs0xt7/FmlgtwjgVEferbWYAgSqIU9hSHZfUMLUkafbAMMHsHzEv31OvKq30Zr/pVmRxTJMkK1+pfQ7Z7JtnJJipmZ0iYGA0TIpZDrk7Z4B/I9csFHlpUXDBBJGF7lBZMkSWi84Y7IUFQtK0k2HbYJjxpvApsqqy1edP8uW3hH8vVVTTnsGj1hFyP/9BT9p6kXltQ61xBdfsFI3CqqvfA8mrdB169AgtDgWXrQVSX6PRGvH4grx/Ihn55vcy/6uX3M31ad+++Z3rUz/StZtq9xUw/9DN9WvfRXc00mLv/FhW+/1vzBw=="),
- this.addDataEntry(b+"message",164,35,"Message","1VbbbqMwEP0aHhdxyaX72KSbaKWuFO3uSx+98QBuDYNsp0n263cMJikQWqQ2K9URhDme8WXO8YAXL/PDWrEy+4EcpBd/8+KlQjT1U35YgpReFAjuxXdeFAV0edFqoDeseoOSKSjMmICoDnhmcgc1UgPaHKUDdMZK+6hgS0MutFH4BEuUqAgssKC+RSKkbCAvipOqEZ4qxgUtpeNOQ3Lckx2Q4VYAysBhcBcV5LawBszBqCO57AU3mfOYTeqwDESaubB4WmNM13Z6Cj3nhB5cWi6nKO6laAMGFEFr2jXowYTRMKLUMDJnQTBfrW4sjoX5Jf7aERqz5WYb4UyKtCBMQlLRUrKtKNLfWBIWnoH7qvuOkreQ7A/IDWphBNpIVedpYVMvtkzed/pzwbnd08nh1k156hhFXfQ2dUGfuQZTIJkRz9Aa/hKdboYNCpo4Ctx6HP/HltWEY5JoMD0tnBY5Sh6TnjzsYm4n00Fd5IfUnndfoJ77udBbv2GirRNie1a1C9w51t+krlFJl+selR3VOfX8dIRM+kL8WrV3iqAd8EIS06sp4kt4fU1Me5r4TubjTtt1pGjvjK4C9nRPFFVIPqgWyupg2e3UgDHkznulIZy/UmVaZSX6wCN/qVq/l2HHaHgNSmc9Sh9wR8BTgZZEy++eFQa445Zj6tPfA2h6V3B2dD5n8stdWVrU9/3/xf1sFPc3gf19Uu4/4jiTef4Aq91ffp/9Aw=="),
- this.addDataEntry(b+"message",164,100,"Message","7Zbfb9sgEMf/Gj8uwjg/2sckTdqHVZqaSntm5myzYmMBbpL99TsM+VUnm9el0h6GFAu+3AF393FwlMzLzb1mdfGoOMgoWUTJXCtlfa/czEHKiBLBo+QuopTgL6LLC7NxO0tqpqGyfRyod3hlsgGveMHYrQyCKVjtuhpSXHJmrFYvMFdSaRQrVeHcLBNS7qSIJlnbUM814wKP8sYcl+RqjWOCg3AC0BY2F6NopRDCPagSrN6iyVpwWwSL8dC7FSDyYudGfPiEGS/ke99DUrAT8nI+R0knRytmG82ZO0GMIUxjNz99vJg6jMyljkmRVzhMMSzAdMxc0CJlchomSsG5bPOpKrsSP5zvKAyP0nvbtj612OW7Zqmo8mdVo5agoMHg6l9D9uK+VaDvrYLXNEhmxSucrH+uMmGLL0rgzgcTlWUGbKd0+5P0quawU80HcEGUrIooepNctXu6SkIaJctOVQtbypA1X4DjPJ6gzZkpgIfBDoZyk7vXfSCUmTRigOWXqun7Zi0mi/FifsSShMz2JGlyIOFz63UXT7pwkba9hQZrMlsXwsIKVbfYGmP4SJBuSZcj+pcchfOMvMM2uI9O/a8C2agLmcDxsyg9YyrDR6oabcAL3xvjTpi7qJBFCASiSS1bRVSNBYM9q/CRiUqYAjvfNLCXjBk7+KcwJeMbslw6XYr6Iez5G2StA+3XvNIurvur5gTXT5d4DVZPAaqYXp3h4EAGSYDg+N+RnKF6Z/deqgPHQ/IBHI87HD8B46gstWjvv34XnvbR/r/v/qiiN1eoKA4PH5Pe/Phb8yc="),
- this.addEntry(b+"alert",function(){var b=new mxCell("A dialog text that notifies you of something of which you don't need to make a decision, just to acknowledge it by pressing the close button.",new mxGeometry(0,0,120,70),"shape=rect;rounded=1;strokeColor=none;fillColor=#F6F6F8;gradientColor=none;shadow=0;glass=0;dashed=1;fontFamily=Helvetica;fontSize=7;fontColor=#333333;align=center;html=0;verticalAlign=top;whiteSpace=wrap;spacing=8;spacingTop=0;");b.vertex=!0;var c=new mxCell("Close",new mxGeometry(0,
- 1,120,20),"shape=text;align=center;verticalAlign=middle;fontSize=8;fontColor=#0680FF;strokeColor=none;fillColor=none;spacingTop=3;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-20);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Alert")}),this.addDataEntry(b+"dialog",120,70,"Dialog","5ZZNb9pAEIZ/jY+JjN0SroHW6aVSpVTqeeUde0dZ71rr4cP99Z3FAwFiNyhtDlVB4J3vwc+L5CRfNbuHoFrz1WuwSf45yVfBexpOzW4F1iZZijrJPyVZlvInyYqJ6GwfTVsVwNE1BdlQsFF2DYPnnk2NyvqaD4RkYUjpqLeS0hnVxmOAkocsg187DbHhjK2Ogn+Clbc+sMd5x5nLCq09uJIsL+b8XrC/Dkojr3qRzgO037Kdxhyruk7OWnXmOKnyjgrVoO3Z8QXsBghLJYFH/BlXXIh5Mnx4sV9ZrB37Sl4AOLg01FgZtIEQm9l7ySHfsndrkOCxVWVsvWVocVc20dUyS6zvMX3fSO4vt4PdJKO9SwA9gG+AQs8pW9RkJEM4pgawNlJ2Jz7VDXZ9LH0mzgeBPi6A/BUBwI7ixah4cZ6wQuj42Ps1f/sqKiNONfEe8CpOH4MOIBrkY0MoUUP8TQZLExNLQu8OYVJPcDups/0SI7wuITWotYVzAdz9RgCvSvUgx1OoNxFzgI7b/xA+swlpXMU+exv7XHwBrCLcwFn/MUHIiG8eXUTZy/QLCfmq6oBeCOi42FWa+vBSUwfas3eBPPIvT+eLtCjeCjkfZfwnPPuzghO68xG42d+Be/MudD9O083+V7pSkN7KzflnabP5/PAxpJ8+m/wC"),
- this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.bluetooth;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Bluetooth",null,null,this.getTagsForStencil(c,"bluetooth",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.broadcast;fillColor=#4CDA64;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",
- 15,15,"","Broadcast",null,null,this.getTagsForStencil(c,"broadcast",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.link;fillColor=#4CDA64;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Link",null,null,this.getTagsForStencil(c,"link",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.night;fillColor=#5855D6;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",
- 15,15,"","Night",null,null,this.getTagsForStencil(c,"night",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.notification;fillColor=#FF3B2F;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Notification",null,null,this.getTagsForStencil(c,"notification",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.settings;fillColor=#8F8E94;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",
- 15,15,"","Settings",null,null,this.getTagsForStencil(c,"settings",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.switch;fillColor=#8F8E94;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Switch",null,null,this.getTagsForStencil(c,"switch",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.text_size;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",
- 15,15,"","Text Size",null,null,this.getTagsForStencil(c,"text size",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.travel;fillColor=#FF9501;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Travel",null,null,this.getTagsForStencil(c,"travel",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.vpn;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",
- 15,15,"","VPN",null,null,this.getTagsForStencil(c,"vpn virtual private network",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.wifi;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","WiFi",null,null,this.getTagsForStencil(c,"wifi",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.url;fillColor=#e0e0e0;strokeColor=#c0c0c0;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;spacingTop=2;align=center;",
- 165,12.5,"draw.io","URL",null,null,this.getTagsForStencil(c,"url",b+"url").join(" ")),this.createVertexTemplateEntry(d+"iconGrid;fillColor=#c0c0c0;gridSize=3,3;",175,280,"","Icon grid",null,null,this.getTagsForStencil(c,"iconGrid",b+"icon grid").join(" ")),this.addEntry(b+"action dialog",function(){var b=new mxCell("",new mxGeometry(0,0,164,60),"shape=rect;fillColor=#a0a0a0;strokeColor=none;shadow=0;");b.vertex=!0;var c=new mxCell("Action",new mxGeometry(8,6,148,21),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=3;fontColor=#0080F0;fontSize=7;fontSize=14;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;");
- c.vertex=!0;b.insert(c);c=new mxCell("Cancel",new mxGeometry(8,33,148,21),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=3;fontColor=#0080F0;fontSize=7;fontSize=14;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Action Dialog")}),this.createVertexTemplateEntry(e+"iKeybLett;",174,100,"","iPhone Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",
- b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybNumb;",174,100,"","iPhone Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybSymb;",174,100,"","iPhone Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybLett;",332,144,"","iPad 7''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",
- "keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybNumb;",332,144,"","iPad 7'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybSymb;",332,144,"","iPad 7'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybLett;",442,192,"","iPad 10''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",
- "keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybNumb;",442,192,"","iPad 10'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybSymb;",442,192,"","iPad 10'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybLett;",200*2.53,400*.55,"","iPad 13''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",
- "keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybNumb;",200*2.53,400*.55,"","iPad 13'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(e+"iKeybSymb;",200*2.53,400*.55,"","iPad 13'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.call_pad;",
- 140,160,"","Call Pad",null,null,this.getTagsForStencil("mxgraph.ios7.misc","call_pad",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.number_pad;strokeWidth=1;",140,160,"","Number Pad",null,null,this.getTagsForStencil("mxgraph.ios7.misc","number_pad",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.keyboard_(letters);",
- 175,120,"","Keyboard",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard_(letters)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.scroll_(horizontal);fillColor=#a0a0a0;",80,6,"","Scroll (Horizontal)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","scroll_(horizontal)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.scroll_(vertical);fillColor=#a0a0a0;",
- 6,80,"","Scroll (Vertical)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","scroll_(vertical)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.add;fillColor=#00dd00;strokeColor=#ffffff;",12,12,"","Add",null,null,this.getTagsForStencil("mxgraph.ios7.misc","add",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.delete;fillColor=#ff0000;strokeColor=#ffffff;",
- 12,12,"","Delete",null,null,this.getTagsForStencil("mxgraph.ios7.misc","delete",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.select;fillColor=#0080f0;strokeColor=#ffffff;",12,12,"","Select",null,null,this.getTagsForStencil("mxgraph.ios7.misc","select",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.remove;fillColor=#0080f0;strokeColor=#ffffff;",
- 16,12,"","Remove",null,null,this.getTagsForStencil("mxgraph.ios7.misc","remove",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.check;strokeColor=#0080f0;",10,8,"","Check",null,null,this.getTagsForStencil("mxgraph.ios7.misc","check",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.flagged;strokeColor=#0080f0;",
- 12,12,"","Flagged",null,null,this.getTagsForStencil("mxgraph.ios7.misc","flagged",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.up;strokeColor=#0080f0;",12,6,"","Up",null,null,this.getTagsForStencil("mxgraph.ios7.misc","up",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.down;strokeColor=#0080f0;",
- 12,6,"","Down",null,null,this.getTagsForStencil("mxgraph.ios7.misc","down",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.left;strokeColor=#0080f0;",6,12,"","Left",null,null,this.getTagsForStencil("mxgraph.ios7.misc","left",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.right;strokeColor=#0080f0;",
- 6,12,"","Right",null,null,this.getTagsForStencil("mxgraph.ios7.misc","right",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.increase;fillColor=#ffffff;strokeColor=#0080f0;",12,12,"","Increase",null,null,this.getTagsForStencil("mxgraph.ios7.misc","increase",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.info;fillColor=#ffffff;strokeColor=#0080f0;",
- 12,12,"","Info",null,null,this.getTagsForStencil("mxgraph.ios7.misc","info",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.more_2;strokeColor=#a0a0a0;",6,8,"","More 2",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more_2",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;",
- 5,8,"","More",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.options;fillColor=#222222;",12,6,"","Options",null,null,this.getTagsForStencil("mxgraph.ios7.misc","options",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.pause;fillColor=#ffffff;strokeColor=#0080f0;",
- 12,12,"","Pause",null,null,this.getTagsForStencil("mxgraph.ios7.misc","pause",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.star;fillColor=#0080f0;strokeColor=none;",12,12,"","Star",null,null,this.getTagsForStencil("mxgraph.ios7.misc","star",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.contacts_bar;strokeColor=#0080F0;fillColor=#e0e0e0",
- 175,400*.07,"","Contacts Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","contacts_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.edit_bar;strokeColor=#0080F0;fillColor=#e0e0e0",175,400*.07,"","Edit Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","edit_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.message_bar;strokeColor=#0080F0;fillColor=#e0e0e0",
- 175,400*.07,"","Message Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","message_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.misc_bar;strokeColor=#0080F0;fillColor=#e0e0e0",175,400*.07,"","Misc Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","misc_bar",b+"").join(" ")),this.createVertexTemplateEntry(d+"onOffButton;buttonState=on;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff;",
- 43.5,15,"","On-off button (On)",null,null,this.getTagsForStencil(c,"onOffButton",b+"").join(" ")),this.createVertexTemplateEntry(d+"onOffButton;buttonState=off;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff;",43.5,15,"","On-off button (Off)",null,null,this.getTagsForStencil(c,"onOffButton",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.icon;fontSize=8;fontColor=#ffffff;buttonText=;whiteSpace=wrap;align=center;",
- 40,36,"Icon","Icon",null,null,this.getTagsForStencil(c,"icon",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.loading_circle;",40,40,"","Loading Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","loading_circle",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.circle;strokeColor=#222222;fillColor=none;",
- 12,12,"","Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","circle",b+"").join(" ")),this.createVertexTemplateEntry(d+"pageControl;fillColor=#222222;strokeColor=#aaaaaa;",50,5,"","Page control",null,null,this.getTagsForStencil(c,"pageControl",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.current_location;strokeColor=#ffffff;fillColor=#0080F0",60,
- 60,"","Current Location",null,null,this.getTagsForStencil("mxgraph.ios7.misc","current_location",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.expand;fillColor=#c0c0c0;",24,6,"","Expand",null,null,this.getTagsForStencil("mxgraph.ios7.misc","expand",b+"").join(" ")),this.addDataEntry(b+"volume control",160,14,"Volume Control","vVVdb8IgFP01fbTBVqvPuunTEpM97HFhchUyWhqgWvfrd1to/WjdjHEjacI9cLmcc4AG8Twtl5rm/EUxkEH8HMRzrZR1vbScg5RBRAQL4qcgigh+QbS4MjqsR0lONWT2loTIJeyoLMAhDjD2ID1gOM2rroY1LjkzVqtPmCupNIKZynBsthFSXkB+YdAWyqubqyG/syWoFKw+4JS9YJb7GYkjQDiILW/SRg6jxsXbNvVIFTuebT/z+HbmabmtDAqFMpMwFWYd7pQsUnhnap9dsA+iOKnbNalu0iXq1+XgLQ3HLuVEp6Sr0tRBGiS1YgdnxfqU8/VWSuA22mKDC63VZmPAdpRud3mT+KMHiF/k/yn9ecIPRjRns++83muFLz5o1mmsmfyBNePfreE2xeynYavzm6dfI5zitcCAYMCo4cB80OdoIUIjBQN0afZB9UpVVBLScRC9JcmULJDXTOV0LWylwZCQ7hlY1A1xTjMm4VV8VUVRusccgGnX8WHP5bvjicLw+PA7507/C98="),
- this.addDataEntry(b+"picker",175,160,"Picker","7ZZta8IwEMc/Td5Km9i6vV3dZLDBYC/2OqxXE5Y2kkSt+/S7mtQHtEx8gg0Vofe/u9z1/6tQwrKyHhk+Ea86B0XYI2GZ0dr5q7LOQClCI5kTNiSURvgj9KkjGy+z0YQbqNwhDdQ3zLiagle8YN1CBUG4EtcaxoQ9WGf0F3zI3IlWETzXcwwiDHJuBeQhwMykOaGsx83d9aS2g6ns8epTaIP5MBiMg7pz+aUUNh+BLsGZBZbMwwZNxSDxbQLkWLRtqb/riFsvjFe9ay/wItix3xq2Y82zgxKV+FoWFbpy7/K7KYmTEGdaNTmcynjUfFE3YLFqc+ZB5tLjzGXhETGguJMz2Dr/FMP7XYZf7Zn8J4aHEW9a4mQaLbaPaTt0UVhwO4BWix3ELOlixi7MDIG9yArs79To8rOauo9nIZVq9UpXsLMi/avQ0/4FoKdd0Pu3P+oZmN2nF2A26GKW3JidgVlM706HhuH6zc+Xb74Y/gA=")];
- this.addPalette("ios7ui","iOS UI",!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))}})();(function(){Sidebar.prototype.addLeanMappingPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=2;html=1;shape=mxgraph.lean_mapping.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;shape=mxgraph.lean_mapping.",d=this,c=[this.createVertexTemplateEntry(b+"boat_shipment;align=center;",100,100,"","Boat Shipment",null,null,this.getTagsForStencil("mxgraph.lean_mapping","boat_shipment","value stream lean mapping ").join(" ")),this.addDataEntry("value stream lean mapping data box",
- 60,100,"Data Box","1ZVfT8MgFMU/Da9LB7Pude10LxofNPFxuRZWiLQQirP10wstczbd4p9osz00uT2XA/f8HgCRtKhXBjS/VZRJRK4QSY1StquKOmVSIhwJisgSYRy5D+HrI91p2400GFba7xhwZ9iCfGGd0gmVbWQQKmvUM3sU1HInYEQSbgs36HLqyoqD9uuKOvcZJpJBuS5Aa1HmEwoW1k+q7lvCicxYVh+dupXCyCumCmZN45a8hilcN+6CRZyJnO9cURCh6oT8w7pn4IqA4TASMkDiLQ87Op/RuATu5GSjSnsv3rw490w0ZC7+DdvYAMyHFRnIhRR56WkJSv0eP8aCf4UF/wGV2UEqd6dMpemnHwHSxQBSAjbjZwBpNh6keABpsQUhzwBSPB6ky6/v5RODM/83OO53/yC2vd57+Q4="),this.createVertexTemplateEntry(a+"outside_sources;whiteSpace=wrap;align=center;",
- 100,70,'<table cellpadding="5" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td height="50%"></td></tr><tr><td align="center" height="50%">XYZ Corp</td></tr></table>',"Customer/Supplier",null,null,this.getTagsForStencil("mxgraph.lean_mapping","outside_sources","value stream lean mapping ").join(" ")),this.addEntry("value stream lean mapping dedicated process manufacturing",function(){var b=new mxCell("\nDescription",new mxGeometry(0,0,100,70),a+"manufacturing_process;fontSize=12;verticalAlign=middle;html=1;align=center;whiteSpace=wrap;");
- b.vertex=!0;var c=new mxCell("Process",new mxGeometry(0,0,100,13),"text;fontSize=12;spacingLeft=2;verticalAlign=top;html=1;align=center;spacingTop=-5;resizeWidth=1;");c.vertex=!0;b.insert(c);return d.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dedicated Process")}),this.createVertexTemplateEntry(a+"manufacturing_process_shared;spacingTop=-5;align=center;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;",100,70,"Process","Shared Process",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
- "manufacturing_process_shared","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"work_cell;",70,60,"","Workcell",null,null,this.getTagsForStencil("mxgraph.lean_mapping","work_cell","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"inventory_box;",100,90,"","Inventory Box",null,null,this.getTagsForStencil("mxgraph.lean_mapping","inventory_box","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"push_arrow;",100,30,"","Push Arrow",
- null,null,this.getTagsForStencil("mxgraph.lean_mapping","push_arrow","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"supermarket;",60,100,"","Supermarket",null,null,this.getTagsForStencil("mxgraph.lean_mapping","supermarket","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"physical_pull;",100,100,"","Material Pull",null,null,this.getTagsForStencil("mxgraph.lean_mapping","physical_pull","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+
- "fifo_lane;overflow=fill;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;",100,50,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td height="0%">MAX=XX</td></tr><tr><td align="center" height="100%"></td></tr></table>',"FIFO Lane",null,null,this.getTagsForStencil("mxgraph.lean_mapping","fifo_lane","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"buffer_or_safety_stock;",40,100,"","Safety Stock",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
- "buffer_or_safety_stock","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","truck_shipment","value stream lean mapping ").join(" "),function(){var b=new mxCell("",new mxGeometry(0,0,100,100),a+"truck_shipment;");b.vertex=!0;var c=new mxCell("2x per\nWeek",new mxGeometry(0,0,60,80),"text;fontSize=12;verticalAlign=middle;html=1;align=center;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return d.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,
- "Truck Shipment")}),this.createVertexTemplateEntry(a+"schedule;whiteSpace=wrap;align=center;",100,70,"Production\nControl","Production Control",null,null,this.getTagsForStencil("mxgraph.lean_mapping","schedule","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"schedule;whiteSpace=wrap;align=center;",100,70,"Other\nInformation","Other Information",null,null,this.getTagsForStencil("mxgraph.lean_mapping","schedule","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+
- "go_see_production_scheduling;",92,60,"","Go See Production Scheduling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","go_see_production_scheduling","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","kaizen_lightening_burst","value stream lean mapping ").join(" "),function(){var a=new mxCell("",new mxGeometry(0,0,90,40),b+"kaizen_lightening_burst;");a.vertex=!0;var c=new mxCell("",new mxGeometry(8,8,74,24),"rect;fillColor=#000000;strokeColor=none;");
- c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Kaizen Lightening Burst")}),this.createVertexTemplateEntry(b+"kanban_post;",50,100,"","Kanban Post",null,null,this.getTagsForStencil("mxgraph.lean_mapping","kanban_post","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"load_leveling;",100,30,"","Load Leveling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","load_leveling","value stream lean mapping ").join(" ")),
- this.createVertexTemplateEntry(b+"move_by_forklift;",92,100,"","Move by Forklift",null,null,this.getTagsForStencil("mxgraph.lean_mapping","move_by_forklift","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"mrp_erp;whiteSpace=wrap;",70,100,"","MRP/ERP",null,null,this.getTagsForStencil("mxgraph.lean_mapping","mrp_erp","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"operator;",100,84,"","Operator",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
- "operator","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"quality_problem;fontSize=24;fontStyle=1;whiteSpace=wrap;align=center;",80,100,"Q","Quality Problem",null,null,this.getTagsForStencil("mxgraph.lean_mapping","quality_problem","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"verbal;",50,100,"","Verbal Information",null,null,this.getTagsForStencil("mxgraph.lean_mapping","verbal","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+
- "fifo_sequence_flow;fontStyle=0;fontSize=20;align=center;",100,50,"FIFO","FIFO Sequence",null,null,this.getTagsForStencil("mxgraph.lean_mapping","fifo_sequence_flow","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"production_kanban;overflow=fill;",100,100,'<p style="font-size:2em;margin-right:35px;margin-top:13px;text-align:right">P</p>',"Production Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","production_kanban","value stream lean mapping ").join(" ")),
- this.createVertexTemplateEntry(a+"withdrawal_kanban;overflow=fill;",100,100,'<p style="font-size:2em;margin-right:35px;margin-top:13px;text-align:right">W</p>',"Withdrawal Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","withdrawal_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"signal_kanban;overflow=fill;",100,90,'<p style="font-size:2em;margin-right:35px;margin-top:4px;text-align:right">S</p>',"Signal Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
- "signal_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"sequenced_pull_ball;",60,60,"","Sequenced Pull Ball",null,null,this.getTagsForStencil("mxgraph.lean_mapping","sequenced_pull_ball","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"rail_shipment;",100,30,"","Rail Shipment",null,null,this.getTagsForStencil("mxgraph.lean_mapping","rail_shipment","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"airplane_7;",100,
- 45,"","Air Freight",null,null,this.getTagsForStencil("mxgraph.lean_mapping","airplane_7","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"warehouse;",100,60,"","Warehouse",null,null,this.getTagsForStencil("mxgraph.lean_mapping","warehouse","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"timeline2;dx1=0;dy1=1;dx2=30;dy2=0;dx3=160;dy3=1;dx4=230;dy4=0;dx5=310;dy5=1;dy6=0;",400,40,"","Timeline",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
- "timeline","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"crossDock;",100,80,"","Cross-Dock",null,null,this.getTagsForStencil("mxgraph.lean_mapping","crossDock","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"orders;overflow=fill;",100,60,'<table cellpadding="0" cellspacing="0" style="font-size:1.5em;width:100%;height:100%;"><tr><td height="65%"></td></tr><tr><td align="center" height="35%">IN</td></tr></table>',"Orders",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
- "orders","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"batched_kanban;",200,80,"","Batched Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","batched_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"control_center;",80,80,"","Control Center",null,null,this.getTagsForStencil("mxgraph.lean_mapping","control_center","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("arrow;html=1;",100,100,"","Shipments",
- null,this.getTagsForStencil("mxgraph.lean_mapping","arrow","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape=mxgraph.lean_mapping.manual_info_flow_edge;html=1;",100,100,"Daily","Manual Information",null,this.getTagsForStencil("mxgraph.lean_mapping","manual_info_flow_edge","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;",100,100,"Monthly","Electronic Information",null,this.getTagsForStencil("mxgraph.lean_mapping",
- "electronic_info_flow_edge","value stream lean mapping ").join(" "))];this.addPalette("lean_mapping",mxResources.get("leanMapping"),!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addMockupPalette=function(){this.addMockupButtonsPalette();this.addMockupContainersPalette();this.addMockupFormsPalette();this.addMockupGraphicsPalette();this.addMockupMarkupPalette();this.addMockupMiscPalette();this.addMockupNavigationPalette();this.addMockupTextPalette()};Sidebar.prototype.addMockupButtonsPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+
- "=#999999;",d=this,c=[this.createVertexTemplateEntry(a+"buttons.button;"+(mxConstants.STYLE_STROKECOLOR+"=#666666;")+"fontColor=#ffffff;mainText=;buttonStyle=round;fontSize=17;fontStyle=1;fillColor=#008cff;whiteSpace=wrap;",150,50,"Button Text","Button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","button","mockup button ").join(" ")),this.addEntry("mockup button formatted multibutton multi",function(){var b=new mxCell("",new mxGeometry(0,0,150,50),a+"buttons.multiButton;fillColor=#008cff;strokeColor=#666666;mainText=;subText=;");
- b.vertex=!0;var c=new mxCell("Main Text",new mxGeometry(0,8,150,20),a+"anchor;fontSize=16;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Sub Text",new mxGeometry(0,30,150,10),a+"anchor;fontSize=12;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return d.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Formatted Button")}),this.addDataEntry("mockup button horizontal bar",500,50,"Horizontal Button Bar","7VZLT8MwDP41PTKlyTY4r8C4ICFx4By1bhstbao02zp+PW6S7t0xIRhDolKl2I4f+fzJScCioplqXuXPKgEZsIeARVop41ZFE4GUASUiCdh9QCnBP6CPPdbQWknFNZTmHAfqHBZczsFpnKI2K+kVtdFqBm8iMTkqwoBN6pwnaokCQSHhdQ6JF7gUWYnrGNODRkVuCrnxqtqQRZO1xx0UKp7Nq4HWEGOpE/0q3ltz2MZJhZSRkkrbElhqvzaGrWXLMrYfWvw5QBtoerGwKg/EFFQBRq9wy9KfDa0j4vAiOYgsN53S6Xjt5GztukEWFx7c40CzA6Anc2NUibpfh9wirkrTdeDWy8dwtvt8peFep0pVwskmaagxxVMHbXhu3+infQvpqL9vGiQ3YgE78Y8106d4UQIzU9Lsxe5cVJrWYA66v67sLEIM+wnB/glx1YQ4GAjfQohRPyGGFydEi5lPvz+a/yAvdh0uxJKbn5kb436ahJemiYT0ayxZX+inWIL7CLmLj1z8nj/XPj163gYobh54jgHb778P"),
- this.addDataEntry("mockup button vertical bar",120,200,"Vertical Button Bar","7VZdT8MgFP01PLpQ2KbPq7onExMffMb2tiWjpaFsa/313lL2vS7LonMmNmnCPXA/OPcEIDzM66kRZfaiY1CEPxEeGq1tN8rrEJQijMqY8EfCGMWfsOee2cDN0lIYKOw5DqxzWAg1hw7pgMo2ygOVNXoG7zK2GQIB4ZMqE7FeokHRiEWVQewNoWRa4DjC9GAQyGyuNl5lGzKv03a7g1xHs3k5MAYiLHVi3uRnOx20cRKpVKiVNq4EnrivjeFq2ZoZuw9n/D7AWKh7uXCQJ2IKOgdrGlyy9HtrV3i+aAYyzbwbox4UVQeka98NtTjw7B5nmh8wPZlbqwvEfp1zR7ku7KoF994+RrRb5ysN9lpV6AJOdslAhSm293VW39hlfRt5zIASVi5gJ/6xXvoUr1piZkab3TArD50kFdiD3q8LO0sOw3458H853LIcgv3T4Fv0MOrXw/DaevjQmDn3+fdP5r+ni2bH4UoqufuRU2Pcr5Lg2iqxurxIIuvL/JREcB2lD9GRS9+L58aPjp5XAZqbt13X/+2n3xc="),
- this.createVertexTemplateEntry(a+"buttons.onOffButton;fillColor=#ffffff;gradientColor=none;"+b+"buttonState=on;fillColor2=#008cff;fontColor=#ffffff;fontSize=17;mainText=;spacingRight=40;fontStyle=1;",150,50,"ON","On-off button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","onOffButton","mockup button on off").join(" "))];this.addPalette("mockupButtons","Mockup Buttons",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupContainersPalette=
- function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",d=mxConstants.STYLE_STROKECOLOR+"=#666666;",c=mxConstants.STYLE_FILLCOLOR+"=#ffffff;",e=this,f=[this.createVertexTemplateEntry(a+"containers.videoPlayer;"+d+"strokeColor2=#008cff;strokeColor3=#c4c4c4;textColor=#666666;"+
- c+"fillColor2=#008cff;barHeight=30;barPos=20;",300,200,"","Video Player",null,null,this.getTagsForStencil("mxgraph.mockup.containers","videoPlayer","mockup container ").join(" ")),this.addDataEntry("mockup container accordion",100,220,"Accordion","1VZdb4IwFP01fZwprbo96zaflizZw54buEBjoaStCvv1u0BFnLKYbS5IQtJ77kdvzz00EL7MypURRfqiI1CEPxG+NFq7dpWVS1CKMCojwh8JYxRfwp4HvEHjpYUwkLtLElibsBVqAy3SAtZVygPWGb2Gdxm5FIGA8IVNRaR3aFA0ImFTiLwhlExyXIe4PRgEUpepQ1ZRl8zKpD7uJNPhelNMQp07IXMwdmIMhNj1wrzJD/AVY6nUUittmmZ43Dx1taarnmfePOjxJwLjoBxkpYE8JSvQGThTYcjOn7KOoC1zNAWZpD5tTycVtgWSLvdAMi48z+c55yecr4zeFAgFYyMf3d4M7r19jvImzjcdfBlarnM4mZcHDVis3j/dRcNjPxzevMUMKOHkFo7q/2ag08GBju5rutZA+8kjn6rf4lVL3JnR6rjMPkPHsQV3ooKusYuEMRsUBr8tYXTX7nfCwDhKH8Lz13PnuUl1zNgV1DEfVMf0ttQxxmujOkr4J5nc/cUtgubh/68N7/8efgI="),
- this.addEntry("mockup container browser window",function(){var a=new mxCell("",new mxGeometry(0,0,550,380),b+"containers.browserWindow;rSize=0;fillColor=#ffffff;strokeColor=#666666;mainText=,;recursiveResize=0;");a.vertex=!0;var c=new mxCell("Page 1",new mxGeometry(60,12,110,26),b+"containers.anchor;fontSize=17;fontColor=#666666;align=left;");c.vertex=!0;a.insert(c);c=new mxCell("https://www.draw.io",new mxGeometry(130,60,250,26),b+"containers.anchor;rSize=0;fontSize=17;fontColor=#666666;align=left;");
- c.vertex=!0;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Browser Window")}),this.createVertexTemplateEntry(a+"containers.userMale;"+d+"strokeColor2=#008cff;"+c,100,100,"","User, Male",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userMale","mockup container ").join(" ")),this.createVertexTemplateEntry(a+"containers.userFemale;"+d+"strokeColor2=#008cff;"+c,100,100,"","User, Female",null,null,this.getTagsForStencil("mxgraph.mockup.containers",
- "userFemale","mockup container ").join(" ")),this.addEntry("mockup container group",function(){var a=new mxCell("",new mxGeometry(0,0,150,200),"shape=mxgraph.mockup.containers.marginRect;rectMarginTop=10;strokeColor=#666666;fillColor=#ffffff;strokeWidth=1;dashed=0;rounded=1;arcSize=5;recursiveResize=0;");a.vertex=!0;var b=new mxCell("Group",new mxGeometry(5,0,90,30),"shape=rect;strokeColor=none;fillColor=#008cff;strokeWidth=1;dashed=0;rounded=1;arcSize=20;fontColor=#ffffff;fontSize=17;spacing=2;spacingTop=-2;align=left;autosize=1;spacingLeft=4;resizeWidth=0;resizeHeight=0;perimeter=none;");
- b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],150,200,"Group")}),this.createVertexTemplateEntry(b+"containers.window;align=left;verticalAlign=top;spacingLeft=8;strokeColor2=#008cff;strokeColor3=#c4c4c4;fontColor=#666666;"+c+"mainText=;fontSize=17;labelBackgroundColor=none;",550,380,"Window Title","Window",null,null,this.getTagsForStencil("mxgraph.mockup.containers","window","mockup container ").join(" ")),this.addDataEntry("mockup container horizontal tab bar",400,200,"Horizontal Tab Bar",
- "5ZbbboMwDIafhtsqJD3sut3hqtK0Tdp1CgaiBoxC2rV7+hmSHraCVnXr1mlIiPh3nDj5DCQQk3x1Z2SZTTEGHYibQEwMonWtfDUBrQPOVByI64BzRnfAbzu8YeNlpTRQ2GMCuAtYSr0ApzihsmvthcoanMOzim1GQhiIcZXJGF/IYGTEssog9obUKi2oHdH0YEjIbK53UWU9ZL5K6+X2cozmi7IXYWGlKsBUvVyaVBUPEFlO/Q09p43yhCXFiVp0yUxQo2myE8PmIk+itN7Tk+YinSaLFaWz8RVYUBZjv24wFlade9dIfuPuAHOwZk1dXvxekLfP3P6yDFSa+TC+EWXlhHQbu0NBDU+jnYw4IPMkZySEvwjI1ExqNI/qFfyICbm9GY683cbnZ8nxT8kN28ANnGZAS6uW8G74Nph+hntUNDFnm3w+4MckqcAewN/mdVQ99Dvq4Tdf2BPqYUv3oB4Yu4oaz4d62OqXD340OAP4QQd48bfA/8sPQf8cX4LhJf2zLZbjhbVY7FXD4KTXu4OygYpG3V9Kjks505uyo0MTWG+H31cVrT/20deqYv2+uL5SFGTuDomu+/4Z8g0="),
- this.addDataEntry("mockup container vertical tab bar",400,200,"Vertical Tab Bar","3ZZRb4IwEMc/Da+mFMU96zb3MJNlW7LnCgc0FmraqrhPvwOqosLm3IxuJITe/3q9a380reMN03yk2CwZyxCE49053lBJaapWmg9BCIcSHjrerUMpwdeh9y1et/SSGVOQmWMCaBWwYGIOlVIJ2qyEFbRRcgpvPDQJCq7jDXTCQrlEg6ARMp1AaA0meJxhO8D0oFBITCq2UbNiyDSPi+l2UhlM57NOIDPDeAZKd1KmYp49Q2Ao9lf4HZfKI0TFZPx+MUpZzVAKqcryPL980BNxIWp6VD6oY7aQYz1rXyYzLGNgJw7KQN66eKVkV24EMgWjVthlaRcDvV1SLTBJgMeJDaNrkelKiDexWxbYsDia0XgHaF7ZBAX3goRUAaVg88LfwY4Yoduabt/aTXy+T+4oRPRLRH4ToV6lKRDM8AXsDN9EzWZ4khwTU7KyAXucZRRpMAeUN3UdBb7bAv6SW/ME8BuMB+AJuQlKzx74jX794LvnAN9rAe/9LfD/esf3zwHev6ZTWOBpO5gbI7Ma9t5J+1iBxvCHNYUifyoXbCLWfxLeeMDU7F/i3//kSD6Vf777a/2EP5rbG17VvX4B/AA="),
- this.addDataEntry("mockup container dialog box",250,140,"Dialog Box","7ZZNj5swEIZ/jY+LwA7Z7bFL2j20VStlpZ5dGMBag5FxEtJf3wE7CeGjok0rraoSRbLHnvF4ntcGwqKiedK8yj+pBCRh7wiLtFLGtoomAikJ9UVC2IZQ6uOf0Pczo0E36ldcQ2mWOFDrsOdyB9ayVQWgJYGU76QhdE0oC3zCHhPBpcp6BgON8ax/bY7S+ddGqxf4KhKToyHAeXXOE3XATheF1zkkrsOlyEpsx5gtaDTkppAXr6oNWTRZWx2vUPHLrvJiVRouStC1pzXEuMlHvRXfwUW0q0dKKt2lw9bdgyMpOs7ZXYDgHvt70EbEXL51uRlVofWQCwPbisftvAMm1HoKKXsR0+5pc8BposyeW8cNo2hxRcbI0MyC6kyO0hMgBaOPOOXgKtnCCi1MPweR5Se3lTPy2hqys++FOzYc+mkZsJEMNo62/ywMon1dlIfM5tjOq+GUk4TUXJB97HqbhwHcUpXQZgA1rtnf8yKu9Pe4MmfTILkRe7iKfwvr1Yj1mK6jgo6iqmGqkr7/EHdq76rCv8kzm3HherwXVYxNV+za4eiuNy+0/X49J8pJf7Wcbv0vSmBa58XvaHi1/F0wOH0qTWswIx7nbSxCFI4QRbyM8e3weo/hz67YkXjiVftbcK06Ad1yzpqTTgbkgpFs3kzJJvwzslkNZMPYX5DNeiSbzx/+S+YGydz/a5LB7uXb0k7vf3r+AA=="),
- this.addDataEntry("mockup container dialog box",250,160,"Dialog Box","zZZRb5swEMc/jR+LwC5pX9dk68NWtVIq7dmDA6wajGwnIf30O8AECFClyx5KFMn3x3c+3+9sQdg6rx41L7MnFYMk7Dtha62UbUd5tQYpCfVFTNiGUOrjn9AfC2+D5q1fcg2FvcSBtg57LnfQKluVAyoxJHwnLaErQlngE/aQgzE8hYFiobJeG8DYo3QBjNXqDX6L2GYoBDjPZDxWBzRqp5ibDGJncCnSAscRpgsahczmsvcq65B5ldbl8XIVve1KL1KF5aIAbTytIcJdPuiteAcXsV19raTSTTps1Tz4JkHHJd0FCO7Q3oO2IuLym8vNqhLVQyYsbEse1fMOmFDtKaQcREyap84Bp4kifa0dN4yi4qqMkaFaJNVIDtMjIAarjzjl4CpZ0wpbmn4GIs06t5UTuWmF9OTbg8eBYz/fB2zSB08dbv9VWGT7tTCfQ1uCu9wOXU4SEtsz+9VYm/sP6GowuPBw4xfRpf9GlzlNg+RW7GEU/xritxPiU8QODTqK0sBcOX3/Puqrwv/IE6BB9QpVwBj6RRVj8xUbOxzdLeeFrT2s50w56WfL6dZ/UQLTOi1+Q8PR8jfB2RlUSWLATnictnERonCC6PnnFz6HH12yk8aJbuvfTON85qK95uBVZ41zHAUYtFEw20fh/+mj7u7u+oix6/sIzf4Dop0+/L74Cw==")];
- this.addPalette("mockupContainers","Mockup Containers",!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))};Sidebar.prototype.addMockupFormsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",
- d=mxConstants.STYLE_STROKECOLOR+"=#999999;",c=mxConstants.STYLE_FILLCOLOR+"=#ffffff;",e=this,f=[this.createVertexTemplateEntry(b+"forms.rrect;rSize=0;fillColor=#eeeeee;strokeColor=#999999;gradientColor=#cccccc;align=left;spacingLeft=4;fontSize=17;fontColor=#666666;labelPosition=right;",15,15,"Option 1","Checkbox",null,null,this.getTagsForStencil("mxgraph.mockup.forms","checkbox","mockup form ").join(" ")),this.addDataEntry("mockup form checkbox checkboxes",150,120,"Checkboxes","7VZNb8IwDP01uValKV9XYOOyadN22DmkbhuRNlUSoOzXL00yvtZOSGgMabOEFD/32Yn9GorwtKjnklT5o0iAI3yH8FQKod2qqKfAOYpCliA8Q1EUmh+K7juiPRsNKyKh1OcQIkdYE74ChzhA6S33gNJSLOGNJTo3QA/hicpJIjbGCY2TEJVD4h3CWVaaNTXlQRog1wXfs6omZVFnzXGDQtDlqgpSIQsVSAnUbHgiX9k7+GSu8FRwIe1O8NiaiaSM8wM8tdawga6kYmt4AbXP448IUkPd2SYL+R7NQRSg5dY8svHHbp7ou1aGObAs/6T5/oZEOSDbcfddNwvf+PYh4C9DeKo0E6XBerczjpOmg7Vvx2QSJ8yUPohRawdb45A2hVRFKCuzB+vN4qacKLWv3ht6/yDRwJrBOVkAfxaK2Y7hmXTDOW/qUfvUPWHkCFvnDYO+84800SKJ/uWKiLsVcUMv6F9XBL6mJPrdksC/IwmaA10uRH2iCtncvWTBO1RCrLWpJLbWrpLdcC9VSRiOqP2vuJpKBtdUyaBbJfH/xXErF8f4ByVh3P3no40dfV1+AA=="),
- this.createVertexTemplateEntry("shape=ellipse;fillColor=#eeeeee;strokeColor=#999999;gradientColor=#cccccc;html=1;align=left;spacingLeft=4;fontSize=17;fontColor=#666666;labelPosition=right;shadow=0;",15,15,"Setting 1","Radiobutton",null,null,this.getTagsForStencil("mxgraph.mockup.forms","radiobutton radio button","mockup form ").join(" ")),this.addDataEntry("mockup form radiobutton radio button group",150,120,"Radiobutton Group","7ZbJboMwEIafhmtEcMhyTdrm0kpVc+jZhQlYMRjZztan72A7C4Eg1LQ5ZSQkzwwztv/PLB6ZZbu5pEX6JmLgHnn2yEwKoe0o282Acy/wWeyRJy8IfLy84OVKtm+yfkEl5LpLQWALNpSvwUZsQOk9dwGlpVjBJ4t1ioG+R6YqpbHYouOjE1OVQuwcylmS4zjC6UFiINUZP1UVZctsl5Tb7WUiWq2L3lLITPWkhAgXPJUL9g2umZ14JriQZiVkYgwzS8b5WXxprKyGaC0V28AHqFMft0WQGnZXZTIhp9EcRAZa7vGWrdt2eUdopfRTYEl6KHP6+lTZQHKsPamOAyd8MwRSg7AArVmeYLBf5+F0xB6sUHAh2oU0YKxVTKQRM9ThLBcZq+I7oOWwLEGpgka4wlfjPQ3KmUWu3UL6I+ef9RwawzinX8DfhWKaibKhtGp2wxQ0Y3IFY1uwt96oF1q/ArGBYXg7wkELwoZH6oGwG0JyT4ZhC0NyG0NqrInhwFgzw6Pef8jQ98eReVfejeHwngyHHb5nNXAXsI5IqrBykUOVRSepwlapSPW413Sa1GWa3K7SqOWkDx5vq9+e9Mk/nnR0T3+FJlf5afwB"),
- this.createVertexTemplateEntry(a+"forms.colorPicker;chosenColor=#aaddff;fillColor=#ffffff;",40,40,"","Color Picker",null,null,this.getTagsForStencil("mxgraph.mockup.forms","colorPicker","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.comboBox;"+d+mxConstants.STYLE_FILLCOLOR+"=#ddeeff;align=left;fillColor2=#aaddff;mainText=;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"Option 1","Combo Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms","comboBox","mockup form ").join(" ")),
- this.createVertexTemplateEntry(b+"forms.spinner;"+d+"spinLayout=right;spinStyle=normal;adjStyle=triangle;fillColor=#aaddff;fontSize=17;fontColor=#666666;mainText=;html=1;overflow=fill;",150,60,'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td style="width:85%">100</td><td style="width:15%"></td></tr></table>',"Spinner",null,null,this.getTagsForStencil("mxgraph.mockup.forms","spinner","mockup form ").join(" ")),this.addDataEntry("mockup form menu bar",498,30,"Menu Bar",
- "7ZY/b4MwEMU/jdcI7PxdQ5N0qTq0UmYUDmzFcMg4Demn7wVbTSIakSWoA5aQ/N5xNn6/ATMR5fXGxKV8wwQ0EysmIoNo3SyvI9Ca8UAlTLwwzgN6GF/fqYZNNShjA4V9pIG7hq9YH8A5zqjsSXujsgb3sFWJlWSETCwrGSd4JBGQSOJKQuJFrFVW0HxH24MhQ9pcX7rK85J5nZ2PO8pxtz+UoxRNXo2MgR198NJ8qG/wi7mNI9Romi8Ri2ZQJVVaX/lpM8j3hwFjob4bSGP5NDaAOVhzoleO/oBUHS/mrk2CyqRvEy7IIK6czn5bL/HSxCf8d9qilfZaUcz/JvEUC+tlOPP6KudpMx4mU2ABj0LhnVDm4jlMxi0mq0TZgcldJvUtjx4QTVqI3kursKgGSl2UQtq1L0zTFqZPRD1A6oREP5zeIM1akLaqOIc/UOqgJATvjdK8RekVdDkw6mI0DifPYkTyci1vaje39h8="),this.createVertexTemplateEntry(a+
- "forms.horSlider;"+d+c+"sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;",150,30,"","Horizontal Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms","horSlider","mockup form horizontal").join(" ")),this.createVertexTemplateEntry(a+"forms.horSlider;"+d+c+"sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;direction=north;",30,150,"","Vertical Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms","horSlider","mockup form vertical").join(" ")),
- this.addDataEntry("mockup form list box",150,200,"List Box","7ZZdS8MwFIZ/TW9HlmzO3W7qEBQEBa9De9oG06YkUTd/vadJ3FprZX7MOVigkPMmJx/vEw6N2LxYLjSv8muVgIzYecTmWinre8VyDlJGlIgkYmcRpQS/iF70jA7dKKm4htJuk0B9whOXj+AVLxi7kkEwVqsHuBeJzVEYRmxmcp6oZwwIBgk3OSQh4FJkJfZj3B40Crkt5Carqpcslll93UGh4ofHapAqXZiB1hDjgWf6VrxAWMxvPFdSaXcSNnUNR1IhZUNPXUM9XAa0hWWvIU4KbixAFWD1Cqc8hwvWM8beNJKDyPKQRkkQufFCts7d+IudYPHHdrOO3XfCotGH4LkqbUMn5DR2ntd6WGA4+YSNBoOzmlfaihb9Hi0WNA2SW/EErfV/QnDUIXhpoUBluB+IvIzz2usuhzavE9caO0lIa/im4rEosysXnY3/HBT9KqiwxY0SuDMlqzbvtwyVpgZsB+z6YFuxHvex3lORPLL2WHbB+qSPNfs/xfnXsL+r0UkC4Gp0u/qXqoRDfSOTXbyRSd8bGR3rwR5ZT3+BNYabn24/vflP/go="),
- this.createVertexTemplateEntry(b+"forms.pwField;"+d+"mainText=;align=left;fillColor=#ffffff;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"********","Password Field",null,null,this.getTagsForStencil("mxgraph.mockup.forms","pwField","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"forms.splitter;fillColor=#ffffff;"+d,350,10,"","Horizontal Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"forms.splitter;fillColor=#ffffff;"+
- d+mxConstants.STYLE_DIRECTION+"="+mxConstants.DIRECTION_NORTH+";",10,350,"","Vertical Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.addEntry("mockup form wedge bar",function(){var a=new mxCell("Tab 1",new mxGeometry(10,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;fillColor=#ffffff;");a.vertex=!0;var c=new mxCell("Tab 2",new mxGeometry(85,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#ffffff;align=left;spacingLeft=5;strokeColor=#008cff;fillColor=#008cff;");
- c.vertex=!0;var d=new mxCell("Tab 3",new mxGeometry(160,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;fillColor=#ffffff;");d.vertex=!0;return e.createVertexTemplateFromCells([a,c,d],230,30,"Wedge Bar")}),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_1;",136,31,"","Formatting Toolbar 1",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_1","mockup form ").join(" ")),this.createVertexTemplateEntry(a+
- "menus_and_buttons.font_style_selector_2;",235,31,"","Formatting Toolbar 2",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_2","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_3;",176,38,"","Formatting Toolbar 3",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_3","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.searchBox;"+d+"mainText=;fillColor=#ffffff;strokeColor2=#008cff;fontColor=#666666;fontSize=17;align=left;spacingLeft=3;",
- 150,30,"Search","Search Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms","searchBox","mockup form ").join(" ")),this.addDataEntry("mockup form sign in",200,300,"Sign In","7Vhtb9owEP41+TIJ5DgkLR8HG6jShpBQtc8uubysTowct8B+/RzHQILDFmm4TScsRYrPOft8z3N3sR1vmu3mnGyS7ywE6nhfHW/KGRPVW7abAqUORmnoeF8cjJF8HDy7MOqqUbQhHHLRRQFXCq+EvkAlqQSF2FMtKARnz/AjDUUiBa7jTYqEhGwrO0h2QlIkEOoOoWmcy/e1XB64FCQioyetTTlltovL7Q4ztn5+2QwjxrNiyDmspcETvkp/gZ6sWnjKKOPKEm+smhyJUkpr8kg1KdebAS5gd9EhSqS9MQeWgeB7+clWb7B0CqqchhJI40SreQchKSpBfNQ9+Ve+aBe3u9sz3L0qHYbRQ/4+fif5OindOIlYLrTvXaz7NRcHqtVWohApvKCQSg0jN2Sd5vE3Na6M64QK/isqbhsqmt6IAyUifYXG/G1I6SWWLJUrY3QwSE+zb3YPE7AoKkAYQB/t7IT9qEOoaahomkNbAIQhgCJ6kxu4CbiJybUQuG9BwLWCgGcDAd9A4LGQ0YLRgmRS8PkWgv0JwZENAgQGAX6yJA8ZfIii140OTfB9q/nAb6ODb4MOgQ063Bl0WJKi2DIe3pJBr5LB2LeA/r2B/ifdbtmg59nAdW0QYmwQYvUwX5Q/54t+MMI3GJEz9aN4RobjeejsnBQET0+VvJZcgkNfb+5fGbFvKNT40fbz6F0nXeAmPQZHKl6VHwcS1ggyYzxmpSGnwjHrd+Eo04fiwB8TBTojxejqieMiTdrTiJWyMnCtHPRc1+CJyYkenvQuQ/J2577B2Aoi5jXXArZSUJ3/+hyv3Qo7+j/j884KGVou4ao6/7i81fkPVeevUeZl93TdXn1ev43/DQ=="),
- this.addDataEntry("mockup form calendar date",160,175,"Calendar","7Zxdc6IwFIZ/DbdOPkDktu62V529cGd6zUoUp2CcSLe6v37Dh7bm0K2dLjk2kRlnIBCF9wnkvMmRgE/L3Z1KN/m9zEQR8O8Bnyopq3at3E1FUQSMrLKAfwsYI/oTsNs39tJmL9mkSqyrcyqwtsLvtHgSbUlbsK32RVewrZR8FA+rrMp1AQ34zTZPM/msN4jeyNJtLrJuIy1Wy7Ven+ufF0oX5FVZvNTa1F9Z7pb15Y5KOX982owWUpXbkVJirk/4Rs1Wf+qDorpC88NTWUjVnAlPmkXvWayK4lX5oll0eXcxQlVi96YgTVGnxp2QpajUXh/y3F1gfcS4FY3kYrXMD9XiqC1Mt23B8lj3RV+90kncLzcHcv+YV/KXlooRRmiII366nue1ljcLua769D5LV9ava1eBd5Lu281Ju/VadNIjetd6P6V52NPEx0V1vCzsph7+u6mfIiFkMm+ael3efQE9HDfrroT+H2STd4ixaBhgUR+w5RXYu8Aoi5GQjQGye+nus4yePsv6dB7oWRYDnX8+uaszR9N5AnR+EO7qHKHpnMD2nLurc4ym8+GJ9UroW+Wu0Ame0BQIPUvdFZridYUUWteZw30hxesMKXStFEdoMxInH4nEB4wAQ4swoJ29kCEbNBgcDwa0qtxzGBEeDGhCkcbTLgZGjAcDOtXIcxgJHgxoZ8eewzADV5s0oOmNfaeB14Uz6IwnvtM4hTG2CAO658RzGBwPBjTYh5bhLY0Ij0aPCffdhcd4NKALP4xHeUsjwaMBbTj13YebAa5NHNCIY2W2XA4OxH4cWnHquxc3bo6JRRrQi1PfzbiZG2aRBvTi1HczHqHR4NCLU9/NeIxHA5px6rsbT/BoQDfOfHfjZoxrEwe049dJcbx+nPfMivvux42bgxKLOKAh935inCPigIbc+9nYGBEHNOTez8cmiDigI79OyGJ2HtCTX6dkEXuPELpy72dlzdvDYjZuCG05990ImneHTRzQl3PfjWCEiMOxXHXjn+5ZJsT5/3T/WARsk5JjSewDUjIDY5uUHMtuH5ASiJdtYnIs731ITJiBgmMZ8UNiMihZTAcO4WDAlx6aGZCSeS/ZpORYCv2AlMxY3CKlCA4cfOlxHIuxuE1KjuXcW4zFbVKCwwxfOxnfZjBuk5Nrafo2o3GbnHpGIC7ZNS0WRC+Q0/HVh6enyiC544vIBggqhpuN0JsvL8Ns9p28K/Mv"),
- this.addDataEntry("mockup form calendar date",400,300,"Email","7VhLU9swEP41vmacOLyOJQEu9FLa6VnI61igF3qQ0F/fXcmGdJzMtAOmh8QzcbyrfX6fV05cVAu1uXHMtl9NDbKoropq4YwJ+UptFiBlMStFXVTLYjYr8VPMrvesTtNqaZkDHf7GYZYdnpmMkDXXzqis9OFFdkofnHmEn6IOLSqmRXXpW1abNQolCjXzLdSdwKRYabzmWAI4VLRByTcvSyHVZkUtT5Thj9FOGuOUnzDNW+O2IjixagN5WcaFXn3L4nKGqsbosDCSzLG+6jQdqO/aARdgsxeSpOrwuAGjILgXNFl37eHqSUatbKHLSV7nWcd8llevnm/44kUH8W64qwHcD6bVxbx8yHjw/4W9c8AJ6kZIuYVrkw7UuzvxC7ok+7Dvk0totli7TdKyIk3qZMv1Ih3vpG3zJ2VbLFZj0Tgf0HgX7x8IwYMcnJce7gEDYxFwMiDgxgEE7PU4Pu8bn/1cjjZNpwMyv5uDHqSz4VY2FvZnA+wbhzgeH0gfPlE7SB1tos4HrC4WBz1R0/Lznk0XA/CPE/QhE7SLxNFGaFoOaLw89CGaf95zaTo9TtFIU7SDxfGmaPh+4dY4UGRifaTvOnWNxIpAyTBFMcO4JTfaI/QQIq2yWljhBU+/8EuQorPyyDDFIKWIXhkSAyibYgrNRS3qqCl0pJNk95ifrEOfmyTFVppRGimeIpvg1Q9aBy1USk4mIgvPqGQqZ3+KwuOXNkhgJCPYgOMisCCMppRSMsVNnzcbYxt9NSmdsMmRTiz1rbAL0yOA5QSqZ5lTsRioXuFiqrsHT1A2B9ZBC7oGl7BMymcjo8WCIJWecCvBexI53tJvFCRQIp6auBKMzDSVn281VERHZVxtONgAMTOWcDWcM+DJg0crahayd0LAOiNqulEzW5mJVBiP0rKMIQVpGiSX5Bo8uGynjMwFswy9SBD7Vx6jmhzkpkDbgeBMfulCBGNRu25FgDsMQ5nXWPQH7fpnw6fuvNy1X/T/yv9hwyjodWP/rjOt/fEq9Dc=")];
- this.addPalette("mockupForms","Mockup Forms",!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))};Sidebar.prototype.addMockupGraphicsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_FILLCOLOR+"=#ffffff;",d=mxConstants.STYLE_STROKECOLOR+"=none;",c=[this.createVertexTemplateEntry(a+"graphics.barChart;"+
- b+d+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bar Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","barChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.columnChart;"+b+d+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Column Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","columnChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+
- "graphics.lineChart;"+b+d+"strokeColor2=#666666;strokeColor3=#008cff;strokeColor4=#dddddd;",400,200,"","Line Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","lineChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.pieChart;"+mxConstants.STYLE_STROKECOLOR+"=#008cff;parts=10,20,35;partColors=#e0e0e0,#d0d0d0,#c0c0c0,#b0b0b0,#a0a0a0;strokeWidth=2;",200,200,"","Pie Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","pieChart","mockup graphics ").join(" ")),
- this.createVertexTemplateEntry(a+"graphics.simpleIcon;strokeColor=#999999;fillColor=#ffffff;",50,50,"","Icon Placeholder",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","simpleIcon","mockup graphics icon placeholder").join(" ")),this.addDataEntry("mockup graphics icon grid placeholder",200,200,"Icon Grid","7ZdRa8MgEMc/ja8licu6Pm7pVgYb7G3PNrFRqjWobdNvv4vadYUVRpv5ZCDg/e9OzvuRCyJcyX6hScfeVUMFws8IV1op61eyr6gQqMh4g/AcFUUGLypeLnhz5806ounG/iWh8Ak7IrbUK14w9iCCsKPa8pqIN7Kk4kMZbrnagGuprFUS4SfDSKP2oGRgNMQw2gSDCN4OoTVUQzUIzEo44jyH5XHbxxBjVTfsZbVa00/eWBbiYPduqET27dCliVT1ettNnMFrMzFcdoK+1kNNIb1SQmlXPJ65BzwrLsQPfeUe0MP5oRjaX+yhk0IDF1RJavUBQvahTPCWvs0Zo7xl9lwjxtvtd+YJCCwCk9/54MTnej4hYVr6jAi47hKum3HlRxAReJWJ1/W8DtE/r/uEa7RpGJ/eNNEbbzjGx/eQ8N08K2P+22aJ19jDMia+PEv8Rh+X/wgQzNO13fnObvVf"),
- this.createVertexTemplateEntry(a+"graphics.bubbleChart;"+b+d+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bubble Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","bubbleChart","mockup graphics bubble chart").join(" ")),this.addDataEntry("mockup graphics gauge",100,100,"Gauge","zZXdT8IwEMD/mr6S0jqVRxnKiya8GJ/LemwN3bp0BcZ/760tXwKRGEGbLblv7n49MsLTsh1bURdvRoIm/Jnw1BrjglS2KWhNGFWS8BFhjOJL2MsZb997aS0sVO6SBBYSlkIvIFiCoXFrHQ1LsE5lQr+KKeiJaZRTpkLX1DhnSsKHTSGkWaGFoiJFU4CMitAq70Iz7AYsGgpX4oijPoqbsk8xxpm6q+WsmcOHkq6IcVi97jop27yj1CtNNl/UPa+orOnlYpGjfzhTWqdGG+u75jN/thX3PAN/0OMzcSA0s6SLxG5CYBMip1MpsQZLUZYSYCMPBlnma/sKnkvISLuHDysAqfd/ktLHkBBp4+jQnr0xb4rXNQZTgrNrDFlFKF0EDbdKC1B54b4YRWiG5dvc3QKgEHfg9D7wo31IJ+8kwcYTkoyOduPkdf1gGb67ZFFlRQdzODOV2wN778+lYNlpsDEBJ/QZ66hGmnvYkxPU2S9AvzuCTv+e9KaIhpm7Mnh6AP4huRn45Aj89k/0H9DbMO012fNbsUd191XzvoOP3ic="),
- this.createVertexTemplateEntry(a+"graphics.plotChart;"+b+mxConstants.STYLE_STROKECOLOR+"=none;strokeColor2=#aaaaaa;strokeColor3=#666666;fillColor2=#99aaff,#0022ff,#008cff;",400,200,"","Plot Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","plotChart","mockup graphics plot chart").join(" ")),this.addDataEntry("mockup graphics gantt chart",600,300,"Gantt Chart","7Zxdc6IwGIV/DbcOJBH1snVrr3rlzvSakSiMKA7Qre6v3wDxi/d1daYkGSFOO4XQIJynOckhqQ6dbvbvWbCLPtKQJw59c+g0S9Oi3trspzxJHOLGoUN/OYS44tshsxtHveqouwsyvi0eqUDqCn+C5IvXJXVBXhwSWZAXWbrmn3FYRKLAc+hrHgVh+i12XLETBnnEQ7kTJPFqK7YX4u15JgqiYpOca+3KU272q/J2B5t0sf7aDaqdeJEPsowvxDW/ZvP4L5fnq997miZpVl0MnVQvcUReN88Kvr9571WRvPF3nm54kR3Er3zLexFHfbfWx414vIpkNXosDPK6YHWqe5ZSbEg1cWUpoix9EnGX6ba4KPer16Oik7uiE0Rz1oLkDEj+O8jXPdZ8f633BQKmCMEQIJgXQVZYBj5k4FFFEHwA4W25TC0FUWECMQwVURgBCmU7nIkvT/4krscsk5PYlz2Eh0AhLUAZQygjCwVCYUPEr7CW0gaUCYDyYQmcmsXhZieO9R9t8Dg2vsuBlAVCRuaAeADIpwVyimkGgMDcbFsIodQcEBi3ZxYI9c0BgWF8boHQiTkgSDS3QBgxBwTGdDvsPQcPA0BgYredOmFjc0BgWrfDXjL0zAGBSd22EDI0l9SP57DD3isg5pI6gUm9xzyk/tgDXmwC6jRJ8iMCMJr3mMCNh4kIEV8ZEGwmvO9Ams+utAKB0dwCaT4q0QoERnMLpJnMtQKB0dwCaQZBrUBgNLdAmrlDKxAYzT1jRILtIioF1j2GVZUhkJRdrWNzOypxY5nabcXR0NDGWk0Yo/G1Ou7YoS/l0M19MfesVgeL+6MhdPVaKzBghGZu1Gm1vclduVWtvaEwLpvrWnUYObIQU5WRU5h8pZF3VGLcyBHFlRk5jLbWyO+wUGfkMNb2zcgRuZUZOcys5v7dRIeRjzUaOTIzXBt5RyXGjRxRXJmRIwu1rZH/n4U6I4eBtG9GjsitysiPTepS7W5qLbX1XH1OzmC4lE7eUY1xJ8ckV2XlDEmY1srvwFDm5Qxm0r55Oaa3MjN/qrnWbbrlJYs4SS5YBEEYLpct+VBjeScbPvan77XB4qmmWfWz8CELrE9oBcVTTbBqQNGYWx0jzQL7pIpWWDzV3Kp6FpQ1uwsIY9QOC7F7/qiX6tjVJ8H8Aw=="),
- this.createVertexTemplateEntry(a+"misc.map;",250,250,"","Map",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","map","mockup graphics ").join(" "))];this.addPalette("mockupGraphics","Mockup Graphics",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupMarkupPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+
- mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#999999;",d=mxConstants.STYLE_STROKECOLOR+"=none;";this.addPaletteFunctions("mockupMarkup","Mockup Markup",!1,[this.createVertexTemplateEntry(a+"markup.curlyBrace;"+b,100,20,"","Horizontal Curly Brace",null,null,this.getTagsForStencil("mxgraph.mockup.markup","curlyBrace","horizontal").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_LABEL_POSITION+"=right;"+mxConstants.STYLE_ALIGN+"=left;strokeWidth=1;"+mxConstants.STYLE_SHAPE+
- "=mxgraph.mockup.markup.curlyBrace;html=1;shadow=0;dashed=0;"+b+mxConstants.STYLE_DIRECTION+"="+mxConstants.DIRECTION_NORTH+";",20,100,"","Vertical Curly Brace",null,null,this.getTagsForStencil("mxgraph.mockup.markup","curlyBrace","vertical").join(" ")),this.createVertexTemplateEntry(a+"markup.line;"+b,100,20,"","Horizontal Line",null,null,this.getTagsForStencil("mxgraph.mockup.markup","line","horizontal").join(" ")),this.createVertexTemplateEntry(a+"markup.line;"+b+mxConstants.STYLE_DIRECTION+"="+
- mxConstants.DIRECTION_NORTH+";",20,100,"","Vertical Line",null,null,this.getTagsForStencil("mxgraph.mockup.markup","line","vertical").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.mockup.markup.scratchOut;shadow=0;dashed=0;html=1;"+b+"strokeWidth=4;",200,100,"","Scratch Out",null,null,this.getTagsForStencil("mxgraph.mockup.markup","scratchOut","scratch out").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.mockup.markup.redX;fillColor=#ff0000;html=1;shadow=0;"+
- d,200,100,"","Red X",null,null,this.getTagsForStencil("mxgraph.mockup.markup","redX","red").join(" "))])};Sidebar.prototype.addMockupMiscPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",d=mxConstants.STYLE_VERTICAL_LABEL_POSITION+
- "=top;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",c=mxConstants.STYLE_STROKECOLOR+"=#999999;",e=mxConstants.STYLE_STROKECOLOR+"=none;",f=c+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;fillColor=#ffffff;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",g=[this.createVertexTemplateEntry(a+"misc.help_icon;",32,32,"","Help Icon",
- null,null,this.getTagsForStencil("mxgraph.mockup.misc","help_icon","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.playbackControls;fillColor=#ffffff;"+c+"fillColor2=#99ddff;strokeColor2=none;fillColor3=#ffffff;strokeColor3=none;",250,30,"","Playback Controls",null,null,this.getTagsForStencil("mxgraph.mockup.misc","playbackControls","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.progressBar;fillColor=#cccccc;"+e+"fillColor2=#99ddff;barPos=80;",200,20,"","Progress Bar",null,
- null,this.getTagsForStencil("mxgraph.mockup.misc","progress bar","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.shoppingCart;"+c,50,50,"","Shopping Cart",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shopping cart","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.rating;"+c+mxConstants.STYLE_FILLCOLOR+"=#ffff00;emptyFillColor=#ffffff;grade=4;ratingScale=5;ratingStyle=star;",225,30,"","Rating",null,null,this.getTagsForStencil("mxgraph.mockup.misc","rating","mockup ").join(" ")),
- this.createVertexTemplateEntry(a+"misc.mail2;fillColor=#ffffff;"+c,100,60,"","Mail",null,null,this.getTagsForStencil("mxgraph.mockup.misc","mail","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.volumeSlider;barPos=80;fillColor=#cccccc;"+c+"fillColor2=#ddeeff;",250,30,"","Volume Slider",null,null,this.getTagsForStencil("mxgraph.mockup.misc","volume slider","mockup ").join(" ")),this.createVertexTemplateEntry(f+"misc.editIcon;",50,50,"","Edit Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc",
- "editIcon","mockup edit icon").join(" ")),this.createVertexTemplateEntry(f+"misc.printIcon;",50,50,"","Print Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","printIcon","mockup print icon").join(" ")),this.createVertexTemplateEntry(f+"misc.shareIcon;",50,50,"","Share Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shareIcon","mockup share icon").join(" ")),this.createVertexTemplateEntry(f+"misc.trashcanIcon;",50,50,"","Trashcan Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc",
- "trashcanIcon","mockup trashcan icon").join(" ")),this.createVertexTemplateEntry(f+"misc.copyrightIcon;",25,25,"","Copyright",null,null,this.getTagsForStencil("mxgraph.mockup.misc","copyrightIcon","mockup copyright icon").join(" ")),this.createVertexTemplateEntry(f+"misc.registeredIcon;",25,25,"","Registered",null,null,this.getTagsForStencil("mxgraph.mockup.misc","registeredIcon","mockup registered icon").join(" ")),this.createVertexTemplateEntry(f+"misc.volumeIcon;",25,25,"","Volume",null,null,this.getTagsForStencil("mxgraph.mockup.misc",
- "volumeIcon","mockup volume icon").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;spacing=0;"+c,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;spacing=0;"+
- c,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;rotation=-90;spacing=0;"+c,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+
- "misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;rotation=-90;spacing=0;"+c,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.addDataEntry("mockup revision table",400,75,"Revision Table","7Zddb4IwFIZ/DbemFD/mpUN0XGwuYrbskkCFxtaSUifu16+03dCAziyyZAkkJD3n9ND2fcIbsByXFnMeZukjixGxHM9yXM6Y0CNauIgQCwIcW87UghDI24KzM1VbVUEWcrQV1zRA3fAekh3SGZ3IxYGYRC4426BXHItUJmzLuc/TMGZ7GQAZxGGeotgEIcHJVo4juTziMpEKSqqurHwkLZLyuD3Kos0u61GcRz3OUST3e88D/IHMs/S6LiOMq404Q3XJitkz4gIVZ8+tUubQc8QoEvwgp+zNOWS1D7Q2IEU4SU3baKBzYa7j5Lu1UlEOjJDNojo1UZfeix/4iyeZffCD1WL59g9kXrOtMBPtkYmP5o3VdS0O+Dsc8AY4+k04Ov2V/odTmY9wDFqiMajRmE5WXodD4ShOtT9Px24Lz7COxwvcpf+8UvbVUaooQfAjJtiWp41qmCYdnGNH+3o//sDR7mosbLnSrPwMmEFg9zswF7ytgVNr3jauexvKS3khoCzGayxV71hdcLgGWLdyOBlWfz2qdvJT9Ak="),
- this.addDataEntry("mockup status bar",500,30,"Status Bar","7VfRTsIwFP2aPUq6liF7FZUXfcLE57pdtsZuXdoi4Nd713UCDnRETNC4hKT33N2195zTdQRsUqymmlf5vUpBBuwmYBOtlG1GxWoCUgaUiDRg1wGlBH8BvT2QDV2WVFxDafsU0KbghcsFNEgDGLuWHjBWq2d4FKnNEQgDdmVynqolBgSDlJscUh9wKbISxwlODxqB3BZyU1XVjyxWWd3uoFDJ86IaFMIkA60hwfVe6Zl4Bf+sZt6Jkkq7hbDYXZiZCym38Lm7EPe9gLawOsiHgzwZU1AFWL3GW5a+P8xGpOGM5CCy3Jcxj3HTxNl76YZdHHiC95PNOmTPLLcLgxiu2J4F81GH+VKVUJOuSuvvCSMf9xAnTQGcOO0CJczr+UzFE1Fmdy5ys/ZSj+5XzxdETcF6J9pSNoyjrrL0BMoOO8o+OEHJeWynXy0qJV/Kum/DnkLW6JCs7F/W78rKQvKVrOEP7dbReRx6vEzymvpTsDmMdzdJS913aLrsQZNvDwtFZeCDpbwbOwc5IePE+UyDEa/8SbZH/hZxvTgZfcrJBd112EXruC2P0R96c4z/oMVGp7dY3N9iUhxppl4tj49yUPcdtc8/4fH+wXDzze9yO38J3gA="),
- this.createVertexTemplateEntry(d+"misc.pin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(d+"misc.pin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(d+"misc.pin;fillColor2=#ccccff;fillColor3=#0000ff;strokeColor=#000066;",
- 10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(d+"misc.pin;fillColor2=#ffff00;fillColor3=#888800;strokeColor=#999900;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(d+"misc.pin;fillColor2=#ffa500;fillColor3=#885000;strokeColor=#997000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" "))];
- this.addPalette("mockupMisc","Mockup Misc",!1,mxUtils.bind(this,function(a){for(var b=0;b<g.length;b++)a.appendChild(g[b](a))}))};Sidebar.prototype.addMockupNavigationPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",d=
- mxConstants.STYLE_STROKECOLOR+"=#999999;",c=[this.addDataEntry("mockup navigation breadcrumb",300,30,"Breadcrumb","7VaxboMwEP0ar8jYlGQObbK0U4fOFhhsxWBknIT063uAC40CUoeAGGIJyXfnO87v+VlGNMrrg2Gl+NAJV4i+IRoZrW03y+uIK4UIlgmir4gQDB8i+4mo30ZxyQwv7H8SSJdwZurEO887u3IDLleqslflIpU1+si/ZGIFOHxEd5Vgib6AgcFIWCV44gymZFbAPIY+oBzdCZurIatsSuZ11uzby3V8PJVewc4yY1bqwmNFLHSTlerCfsrvZrW/cXakVRODjmjYjt91rtPmF25X3FheTyLTuhwsB65zbs0VllzcBiEaduBhwWUmXBZ1PlZ1dtZnDjDDxCE9jjq9Qx2RMLN946sBnQT3oLN2PBj0+hbwPxyQmTgIJk8+WRkJi518l7C9J2EuIbw8hTDOgR8sp4RwUgl0ZSwsrQR/5D6aSwqbpxTGSejP/QJS2E5KIVgZC2NSwHgbp+lMLIxcSA+SApjDg7eN3byHfwA="),
- this.createVertexTemplateEntry(b+"navigation.stepBar;strokeColor=#c4c4c4;textColor=#666666;textColor2=#008cff;mainText=,,+,;textSize=17;fillColor=#666666;overflow=fill;fontSize=17;fontColor=#666666;",300,50,'<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" style="font-size:1em;"><tr height="0%"><td width="25%">Layer 1</td><td width="25%">Layer 2</td><td width="25%" style="color:#008cff;">Layer 3</td><td width="25%">Layer 4</td></tr><tr height="100%"><td/></tr></table>',
- "Step Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","stepBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.coverFlow;strokeColor=#999999;fillColor=#ffffff;",400,200,"","Cover Flow",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","coverFlow","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;fillColor=#ffffff;"+d+"barPos=20;fillColor2=#99ddff;strokeColor2=none;",200,20,"","Horizontal Scroll Bar",
- null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;fillColor=#ffffff;"+d+"barPos=20;fillColor2=#99ddff;strokeColor2=none;direction=north;",20,200,"","Vertical Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.pagination;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;",350,
- 30,"<< Prev 1 2 3 4 5 6 7 8 9 10 Next >>","Pagination",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pagination","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.pageControl;fillColor=#999999;strokeColor=#ddeeff;",100,30,"","Page Control",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pageControl","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.mapNavigator;fillColor=#ffffff;fillColor2=#99ddff;strokeColor2=none;strokeColor3=#ffffff;"+
- d,60,100,"","Map Navigator",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","mapNavigator","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"misc.loading_circle_1;",90,90,"","Wheel Throbber 1",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_1","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"misc.loading_circle_2;",90,90,"","Wheel Throbber 2",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_2",
- "mockup navigation ").join(" "))];this.addPalette("mockupNavigation","Mockup Navigation",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupTextPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#666666;",d=mxConstants.STYLE_STROKECOLOR+"=none;",c=this,e=[this.createVertexTemplateEntry("shape=rectangle;strokeColor=none;fillColor=none;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;html=1;align=center;",
- 150,30,"Link","Link",null,null,this.getTagsForStencil("mxgraph.mockup.text","link","mockup text ").join(" ")),this.addDataEntry("mockup text horizontal button bar",500,25,"Horizontal Button Bar","7ZZdb4MgFIZ/DbcGoR+71m292tUudk30VExRDNLV7tfvFKi6raZLujVbUhITzns8R3ifGCA8rbqVEY180jkowh8IT43W1s+qLgWlCKNlTvg9YYziQ9jjRDZ2WdoIA7X9TgHzBa9CbcErXmjtXgWhtUZv4KXMrUQhJjxppcj1DgOKQS5aCXkIhCqLGucZfh4MCtJWaqhqDi2rrjhsN6p0ttk2kYXORsZAhutNzHP5BqHXulQq1Uobtwy+duPQx61nlFm4gZmwFzDYc9IPJwUzVqArsGaPr+zC/jA7p94zKqEsZChjc6+J1sdFXzq4i5Ng8Gmz+Rezk621ukbtD9muaxvCeBnikdkUh8MwxlPrGi4nw06TORYcCYxI9dpPk5pNk+I3UmdI4Q90PVLzaVKzG6kzpPjyiv/UYppU/F9I9YfQp8OJ0rvsxOEUGF5C6hfIYDhcMFzuw/3jHQ=="),
- this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#666666;align=left;verticalAlign=top;"+b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=NE;callStyle=line;fontSize=17;fontColor=#666666;align=right;verticalAlign=top;"+b,200,100,"Callout","Callout",
- null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=SW;callStyle=line;fontSize=17;fontColor=#666666;align=left;verticalAlign=bottom;"+b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=SE;callStyle=line;fontSize=17;fontColor=#666666;align=right;verticalAlign=bottom;"+
- b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.stickyNote;fontColor=#666666;mainText=;fontSize=17;whiteSpace=wrap;",200,200,"Note Line 1\nNote Line 2\nNote Line 3","Sticky Note",null,null,this.getTagsForStencil("mxgraph.mockup.text","stickyNote","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.bulletedList;textColor=#666666;mainText=,,,,;textSize=17;bulletStyle=none;"+
- d+mxConstants.STYLE_FILLCOLOR+"=none;align=left;verticalAlign=top;fontSize=17;fontColor=#666666;",150,135,"-Line 1\n-Line 2\n-Line 3\n-Line 4","Bulleted List",null,null,this.getTagsForStencil("mxgraph.mockup.text","bulletedList","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.textBox;fillColor=#ffffff;fontColor=#666666;align=left;fontSize=17;spacingLeft=4;spacingTop=-3;"+b+"mainText=",150,30,"Line 1","Text Box",null,null,this.getTagsForStencil("mxgraph.mockup.text","textBox","mockup text ").join(" ")),
- this.createVertexTemplateEntry(a+"text.captcha;fillColor=#ffffff;fontColor=#666666;fontSize=25;"+b+"mainText=",150,50,"fG2yQ23","Captcha",null,null,this.getTagsForStencil("mxgraph.mockup.text","captcha","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.alphanumeric;linkText=;html=1;fontStyle=4;fontSize=17;fontColor=#0000ff;",450,50,"0-9 A B C D E F G H I J K L M N O P Q R S T U V X Y Z","Alphanumeric",null,null,this.getTagsForStencil("mxgraph.mockup.text","alphanumeric","mockup text ").join(" ")),
- this.createVertexTemplateEntry("text;spacingTop=-5;fillColor=#ffffff;whiteSpace=wrap;html=1;align=left;fontSize=12;fontFamily=Helvetica;fillColor=none;strokeColor=none;",250,470,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?",
- "Paragraph of Text",null,null,this.getTagsForStencil("mxgraph.mockup.text","peragraph of text","mockup text ").join(" ")),this.addEntry("mockup text table",function(){var a=new mxCell('<table cellpadding="4" cellspacing="0" border="1" style="font-size:1em;width:100%;height:100%;"><tr><th>Header 1</th><th>Header 2</th></tr><tr><td>row 1, cell 1</td><td>row 1, cell 2</td></tr><tr><td>row 2, cell 1</td><td>row 2, cell 2</td></tr></table> ',new mxGeometry(0,0,180,80),"verticalAlign=top;align=left;overflow=fill;fillColor=#ffffff;fontSize=12;fontFamily=Helvetica;html=1");
- a.vertex=!0;return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Table")})];this.addPalette("mockupText","Mockup Text",!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))}})();(function(){Sidebar.prototype.addMSCAEPalette=function(){this.addMSCAEGeneralPalette();this.addMSCAECloudPalette();this.addMSCAEEnterprisePalette();this.addMSCAEIntunePalette();this.addMSCAEOtherPalette();this.addMSCAESystemCenterPalette();this.addMSCAEDeprecatedPalette()};Sidebar.prototype.addMSCAECloudPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.access_control;",
- 50,50,"","Access Control",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","access control","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.api_app;fillColor=#0079D6;",45,50,"","API App",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","api app","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.api_management;fillColor=#0079D6;",
- 50,45,"","API Management",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","api management","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.app_service;fillColor=#0079D6;",50,50,"","App Service",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","app application service","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.application_insights;fillColor=#0079D6;",
- 32,50,"","Application Insights",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","application insights","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.autoscale;",50,30,"","Autoscaling",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","autoscaling autoscale","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.azure_automatic_load_balancer;fillColor=#0079D6;",
- 50,33,"","Azure Automatic Load Balancer",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","automatic load balancer","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.azure_active_directory;",47,50,"","Azure Active Directory",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure active directory","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.azure_alert;",50,42,"","Azure Alert",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure alert","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.automation;",
- 50,45,"","Azure Automation",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure automation","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.azure_batch;fillColor=#0079D6;",47,40,"","Azure Batch",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","batch","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.azure_cache;",
- 45,50,"","Azure Cache including Redis",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure cache including redis","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.certificate;",50,40,"","Azure Certificate",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure certificate","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.azure_dns;fillColor=#0079D6;",50,50,"","Azure DNS",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","dns","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.azure_files_service;fillColor=#0079D6;",
- 50,43,"","Azure Files Service",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","files service","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.azure_load_balancer_feature;fillColor=#0079D6;",50,50,"","Azure Load Balancer (feature)",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","load balancer feature","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.azure_marketplace;",40,50,"","Azure Marketplace",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure marketplace","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.azure_rights_management_rms;fillColor=#0079D6;",
- 40,50,"","Azure Rights Management (RMS)",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","rights management rms","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.azure_sdk;",50,47,"","Azure SDK",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure sdk software development kit","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.azure_search;fillColor=#0079D6;",50,35,"","Azure Search",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","search","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.sql_database_sql_azure;",
- 47,50,"","Azure SQL Database",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure sql database","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.azure_subscription;",50,35,"","Azure Subscription",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure subscription","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.azure_storage;fillColor=#0079D6;",50,43,"","Azure Storage",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storage","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.backup_service;",
- 50,45,"","Backup Service",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","backup service","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.bitbucket_code_source;",42,50,"","Bitbucket Code Source",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","bitbucket code source","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.biztalk_services;",50,50,"","Biztalk Services",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","biztalk services","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.cloud_office_365;fillColor=#DF3C01;",
- 50,30,"","Cloud Office 365",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","cloud office 365","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.cloud_service;",50,40,"","Cloud Service",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","cloud service","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.codeplex_code_source;",
- 50,37,"","CodePlex",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","codeplex","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.content_delivery_network;",50,32,"","Content Delivery Network",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","content delivery network","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.data_factory;fillColor=#0079D6;",47,47,"","Data Factory",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","data factory","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.documentdb;fillColor=#0079D6;",
- 38,50,"","DocumentDB",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","documentdb document db database","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.dropbox_code_source;",50,47,"","Dropbox Code Source",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","dropbox code source","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.event_hubs;fillColor=#0079D6;",46,47,"","Event Hubs",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","event_hubs","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.express_route;",
- 50,30,"","Express Route",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","express route","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.git_repository;",50,50,"","Git Repository",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","git repository","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.github_code;",
- 50,50,"","GitHub",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","github code","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.hdinsight;fillColor=#0079D6;",50,36,"","HDInsight",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","hdisight hd insight","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.health_monitoring;",
- 50,42,"","Health Monitoring",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","health monitoring","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.healthy;",50,45,"","Healthy",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","healthy","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.hybrid_connection_manager;fillColor=#0079D6;",
- 50,35,"","Hybrid Connection Manager",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","hybrid connection manager","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.hybrid_connections;fillColor=#0079D6;",47,50,"","Hybrid Connections",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","hybrid connections","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.iot;fillColor=#0079D6;",47,47,"","IoT",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","iot internet of things","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.key_vault;fillColor=#0079D6;",
- 49,50,"","Key Vault",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","key vault","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.logic_app;fillColor=#0079D6;",50,50,"","Logic App",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","logic app application","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.machine_learning;fillColor=#0079D6;",
- 47,50,"","Machine Learning",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","machine_learning","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.media_service;",45,50,"","Media Services",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","media services","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.microsoft_account;fillColor=#0079D6;",
- 50,50,"","Microsoft Account",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","microsoft account","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.microsoft_azure;fillColor=#000000;",50,32,"","Microsoft Azure",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","microsoft","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.mobile_app;fillColor=#0079D6;",
- 30,50,"","Mobile App",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","mobile app application","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.mobile_engagement;fillColor=#0079D6;",30,50,"","Mobile Engagement",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","mobile engagement","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.multi_factor_authentication;",25,50,"","Multi-Factor Authentication",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","multi factor authentication","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.mysql_database;",
- 37,50,"","MySQL Database",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","mysql database","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.notification_hub;",50,50,"","Notification Hub",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","notification hub","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.notification_topic;",
- 50,50,"","Notification Topic",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","notification topic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.office_365;fillColor=#DF3C01;",41,49,"","Office 365",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","office 365","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.office_365_subscription;fillColor=#DF3C01;",
- 50,34,"","Office 365 Subscription",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","office 365 subscription","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.operational_insights;fillColor=#0079D6;",50,50,"","Operational Insights",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","operational insights","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.operating_system_image;",50,50,"","OS Image",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","os operating system image","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.rdp_remoting_file;",
- 47,50,"","RDP Remoting File",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","rdp remoting file","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.remoteapp;fillColor=#0079D6;",50,50,"","RemoteApp",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","remoteapp remote app","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.resource_group;fillColor=#0079D6;",
- 50,41,"","Resource Group",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","resource group","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.scheduler;",40,50,"","Scheduler",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","scheduler","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.service_bus;",
- 45,50,"","Service Bus",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service bus","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.service_bus_queues;",42,50,"","Service Bus Queue",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service bus queue","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.service_bus_relay;",
- 40,50,"","Service Bus Relay",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service bus relay","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.service_bus_topics_and_subscriptions;",45,50,"","Service Bus Topic",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service bus topic","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.service_endpoint;fillColor=#0079D6;",50,9,"","Service Endpoint",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service endpoint","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.service_fabric;fillColor=#00BEF2;",
- 50,50,"","Service Fabric",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service fabric","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.service_package;fillColor=#0079D6;",44,50,"","Service Package",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service package","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.hyper_v_recovery_manager;",
- 50,45,"","Site Recovery",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","site recovery","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.sql_datasync;",37,50,"","SQL DataSync",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","sql datasync","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.sql_database;",
- 37,50,"","SQL Database",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","sql database","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.startup_task;",47,50,"","Startup Task",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","startup task","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.storage_blob;",
- 50,45,"","Storage Blob",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storage blob","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.storage_queue;",50,45,"","Storage Queue",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storage queue","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.storage_table;",
- 50,45,"","Storage Table",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storage table","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.storsimple;",50,45,"","StorSimple",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storsimple","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.stream_analytics;fillColor=#0079D6;",
- 48,37,"","Stream Analytics",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","stream analytics","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.traffic_manager;",50,50,"","Traffic Manager",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","traffic manager","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.unidentified_code_object;",
- 50,42,"","Unidentified Feature Object",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","unidentified feature object","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.vhd;",40,50,"","VHD",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","vhd","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.vhd_data_disk;",
- 37,50,"","VHD Data Disk",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","vhd data disk","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.virtual_machine;",50,40,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","virtual machine","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.virtual_machine_container;fillColor=#0079D6;",
- 49,43,"","Virtual Machine Container",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","virtual machine container","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.virtual_network;",50,27,"","Virtual Network",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","virtual network","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.visual_studio_online;",50,37,"","Visual Studio Online",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","visual studio online","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.virtual_machine_feature;",
- 50,45,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","virtual machine","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.vpn_gateway;fillColor=#0079D6;",32,50,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","vpn gateway virtual private network","ms microsoft cloud enterprise ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.azure_website;",50,50,"","Web App",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","web app application","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.web_role;",
- 50,40,"","Web Role",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","web role","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.web_roles;",55,45,"","Web Roles",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","web roles","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.webjobs;fillColor=#0079D6;",
- 51,50,"","WebJobs",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","webjobs web jobs","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.mscae.cloud.work_account;fillColor=#0079D6;",50,50,"","Work Account",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","work_account","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.worker_role;",
- 50,40,"","Worker Role",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","worker role","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.azure.worker_roles;",55,45,"","Worker Roles",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","worker roles","ms microsoft cloud enterprise ").join(" "))];this.addPalette("mscaeCloud",
- "CAE / Cloud",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addMSCAEDeprecatedPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.deprecated.application;fillColor=#00188D;",50,33,"","Application",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","application","ms microsoft cloud enterprise deprecated ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.hdinsight;fillColor=#00BEF2;",
- 50,50,"","HDInsight",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","hdinsight hd insight","ms microsoft cloud enterprise deprecated ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.operating_system_image;fillColor=#0079D6;",50,50,"","OS Image",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","os operating system image","ms microsoft cloud enterprise deprecated ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.sql_reporting;fillColor=#0079D6;",
- 40,50,"","SQL Reporting",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","sql reporting","ms microsoft cloud enterprise deprecated ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.vhd;fillColor=#0079D6;",40,50,"","VHD",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","vhd virtual hard drive","ms microsoft cloud enterprise deprecated ").join(" "))];this.addPalette("mscaeDeprecated","CAE / (Deprecated)",!1,mxUtils.bind(this,
- function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addMSCAEEnterprisePalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.ad_fs;fillColor=#00188D;",40,50,"","AD FS",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","ad fs","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.android_phone;fillColor=#00188D;",
- 30,50,"","Android Phone",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","android phone mobile","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.app_generic;fillColor=#00188D;",50,39,"","App (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","app generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.application_blank;fillColor=#00188D;",
- 46,40,"","Application (blank)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","application app blank","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.application_server;fillColor=#00188D;",38,44,"","Application Server",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","application app server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.backup_local;fillColor=#00188D;",
- 49,50,"","Backup (local)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","backup local","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.backup_online;fillColor=#00188D;",51,41,"","Backup (online)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","backup online","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.certificate;fillColor=#7D7D7D;",
- 50,40,"","Certificate",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","certificate","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.client_application;fillColor=#00188D;",50,32,"","Client Application",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","client application app","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.cloud;fillColor=#7D7D7D;",
- 50,32,"","Cloud",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","cloud","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.cluster_server;fillColor=#00188D;",40,50,"","Cluster Server",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","cluster server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.code_file;fillColor=#7D7D7D;",
- 47,50,"","Code File",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","code file","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.connectors;fillColor=#00188D;",50,34,"","Connectors",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","connectors","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.d;fillColor=#00188D;",
- 40,50,"","D",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","delta diff difference server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.database_generic;fillColor=#00188D;",38,51,"","Database (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","db database generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.database_server;fillColor=#00188D;",
- 38,50,"","Database (server)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","db database server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.database_synchronization;fillColor=#00188D;",39,50,"","Database Synchronization",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","database synchronization sync db","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.device;fillColor=#00188D;",
- 50,26,"","Device",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","Device","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.direct_access_feature;fillColor=#00188D;",50,44,"","Direct Access (feature)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","direct access feature","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.document;fillColor=#00188D;",
- 40,50,"","Document",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","document doc","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.domain_controller;fillColor=#00188D;",36,50,"","Domain Controller",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","domain controller","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.enterprise;fillColor=#00188D;",
- 30,50,"","Enterprise Building",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","enterprise building","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.file;fillColor=#7D7D7D;",47,50,"","File general",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","file general","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.filter;fillColor=#00188D;",
- 50,45,"","Filter",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","filter","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.firewall;fillColor=#00188D;",50,44,"","Firewall",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","firewall","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.folder;fillColor=#00188D;",
- 50,43,"","Folder",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","folder","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.gateway;fillColor=#00188D;",50,50,"","Gateway",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","gateway","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.code_file;fillColor=#00188D;",
- 47,50,"","Generic Code",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","generic code","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.health_monitoring;fillColor=#7D7D7D;",50,42,"","Health Monitoring",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","health monitoring","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.healthy;fillColor=#7D7D7D;",
- 50,45,"","Healthy",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","healthy","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.import_generic;fillColor=#00188D;",40,50,"","Import (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","import generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.internet;fillColor=#00188D;",
- 50,31,"","Internet",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","internet","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.internet_hollow;fillColor=#00188D;",50,31,"","Internet (hollow)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","internet hollow","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.key_permissions;fillColor=#00188D;",
- 26,50,"","Key, Permissions",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","key permissions","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.keyboard;fillColor=#00188D;",50,30,"","Keyboard",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","keyboard","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.laptop;fillColor=#7D7D7D;",
- 50,30,"","Laptop",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","laptop computer pc","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.load_balancer_generic;fillColor=#00188D;",37,50,"","Load Balancer (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","load balancer generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.load_balancer_generic;fillColor=#ffffff;",
- 37,50,"","Load Balancer (white)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","load balancer generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.load_testing;fillColor=#00188D;",48,50,"","Load Testing",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","load testing","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.lock;fillColor=#00188D;",
- 39,50,"","Lock, Protected",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","lock protected","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.lock_unlocked;fillColor=#00188D;",37,50,"","Lock (unlocked)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","lock unlocked accessible","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.maintenance;fillColor=#00188D;",
- 34,50,"","Maintenance",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","maintenance","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.management_console;fillColor=#00188D;",50,34,"","Management Console",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","management console","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.message;fillColor=#7D7D7D;",
- 50,37,"","Message",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","message","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.computer;fillColor=#7D7D7D;",50,45,"","Monitor",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","monitor","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.monitor_running_apps;fillColor=#00188D;",
- 50,39,"","Monitor Running Apps",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","monitor running app application","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.mouse;fillColor=#00188D;",30,50,"","Mouse",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","mouse","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.network_card;fillColor=#00188D;",
- 50,35,"","Network Card",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","network card","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.performance;fillColor=#00188D;",50,50,"","Performance",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","performance","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.performance_monitor;fillColor=#00188D;",
- 50,36,"","Performance Monitor",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","performance monitor","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.mobile;fillColor=#7D7D7D;",35,50,"","Phone",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","mobile phone","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.plug_and_play;fillColor=#00188D;",
- 40,50,"","Plug and Play",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","plug play","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.powershell_file;fillColor=#00188D;",47,50,"","PowerShell Script File",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","powershell script file","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.protocol_stack;fillColor=#00188D;",
- 50,34,"","Protocol Stack",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","protocol stack","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.queue_generic;fillColor=#00188D;",50,15,"","Queue (general)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","queue general generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.rms_connector;fillColor=#00188D;",
- 30,40,"","RMS Connector",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","rms connector","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.router;fillColor=#00188D;",49,38,"","Router",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","router","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.script_file;fillColor=#00188D;",
- 47,50,"","Script File",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","script file","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.secure_virtual_machine;fillColor=#00188D;",50,38,"","Secure Virtual Machine",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","secure virtual machine","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.server;fillColor=#00188D;",
- 50,15,"","Server (blade)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server blade","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.server_generic;fillColor=#00188D;",24,50,"","Server (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.server_directory;fillColor=#00188D;",
- 36,50,"","Server Directory",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server directory","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.server_farm;fillColor=#00188D;",50,32,"","Server Farm",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server farm","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.server_rack;fillColor=#00188D;",
- 50,50,"","Server Rack",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server rack","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.settings;fillColor=#00188D;",50,50,"","Settings",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","settings","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.shared_folder;fillColor=#00188D;",
- 43,50,"","Shared Folder",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","shared folder","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.smartcard;fillColor=#00188D;",50,32,"","SmartCard",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","smartcard","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.storage;fillColor=#00188D;",
- 50,41,"","Storage",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","storage","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.table;fillColor=#00188D;",50,50,"","Table",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","table","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.tablet;fillColor=#00188D;",
- 50,37,"","Tablet",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","tablet","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.tool;fillColor=#00188D;",52,47,"","Tool",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","tool","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.unhealthy;fillColor=#00188D;",
- 52,43,"","Unhealthy",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","unhealthy","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.usb;fillColor=#00188D;",50,23,"","USB",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","usb","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.web;fillColor=#00188D;",
- 50,50,"","Web",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","web","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.web_server;fillColor=#00188D;",38,50,"","Web Server",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","web server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.website_generic;fillColor=#00188D;",
- 47,41,"","Website (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","website generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.windows_server;fillColor=#00188D;",39,50,"","Windows Server",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","windows server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.wireless_connection;fillColor=#00188D;",
- 42,50,"","Wireless Connection",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","wireless connection","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.workstation_client;fillColor=#00188D;",50,50,"","Workstation Client",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","workstation client","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.xml_web_service;fillColor=#00188D;",
- 50,50,"","XML Web Service",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","xml web service","ms microsoft cloud enterprise ").join(" "))];this.addPalette("mscaeEnterprise","CAE / Enterprise",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addMSCAEGeneralPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.audio;fillColor=#7D7D7D;",50,50,"","Audio",null,null,
- this.getTagsForStencil("mxgraph.mscae.general","audio","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.bug;fillColor=#7D7D7D;",50,50,"","Bug",null,null,this.getTagsForStencil("mxgraph.mscae.general","bug","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.enterprise;fillColor=#7D7D7D;",30,50,"","Building",
- null,null,this.getTagsForStencil("mxgraph.mscae.general","building enterprise","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;shape=mxgraph.mscae.general.cable_settop_tv_box;strokeColor=#000000;fillColor=#7D7D7D;",50,24,"","Cable Settop TV Box",null,null,this.getTagsForStencil("mxgraph.mscae.general","cable settop tv television box","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.calendar;fillColor=#7D7D7D;",
- 50,40,"","Calendar",null,null,this.getTagsForStencil("mxgraph.mscae.general","calendar","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.chart;fillColor=#7D7D7D;",50,48,"","Chart",null,null,this.getTagsForStencil("mxgraph.mscae.general","chart","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.checkmark;fillColor=#91D250;",
- 41,50,"","Checkmark (success)",null,null,this.getTagsForStencil("mxgraph.mscae.general","checkmark success","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.continuous_cycle;fillColor=#7D7D7D;",48,50,"","Continuous Cycle (circle)",null,null,this.getTagsForStencil("mxgraph.mscae.general","continuous cycle circle","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.crossout;fillColor=#FF0000;",
- 40,50,"","Crossout (failure)",null,null,this.getTagsForStencil("mxgraph.mscae.general","crossout failure","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.cut_and_paste;fillColor=#7D7D7D;",50,34,"","Cut and Paste",null,null,this.getTagsForStencil("mxgraph.mscae.general","cut and paste","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.filter;fillColor=#7D7D7D;",
- 50,45,"","Filter",null,null,this.getTagsForStencil("mxgraph.mscae.general","filter","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.folder;fillColor=#7D7D7D;",50,43,"","Folder",null,null,this.getTagsForStencil("mxgraph.mscae.general","folder","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.game_controller;fillColor=#7D7D7D;",
- 50,35,"","Game Controller",null,null,this.getTagsForStencil("mxgraph.mscae.general","game controller gamepad","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.gears;fillColor=#7D7D7D;",50,42,"","Gears",null,null,this.getTagsForStencil("mxgraph.mscae.general","gears","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.graph;fillColor=#7D7D7D;",
- 50,50,"","Graph",null,null,this.getTagsForStencil("mxgraph.mscae.general","graph","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.like;fillColor=#7D7D7D;",50,47,"","Like",null,null,this.getTagsForStencil("mxgraph.mscae.general","like","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.not_allowed;fillColor=#DE5900;",
- 50,50,"","Not Allowed",null,null,this.getTagsForStencil("mxgraph.mscae.general","not allowed","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.pointer;fillColor=#91D250;",50,50,"","Pointer (circle)",null,null,this.getTagsForStencil("mxgraph.mscae.general","pointer circle","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.slider_bar_horizontal;fillColor=#7D7D7D;",
- 50,21,"","Slider Bar (horizontal)",null,null,this.getTagsForStencil("mxgraph.mscae.general","slider bar horizontal hor","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.slider_bar_vertical;fillColor=#7D7D7D;",22,50,"","Slider Bar (vertical)",null,null,this.getTagsForStencil("mxgraph.mscae.general","slider bar vertical hor","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.task_list;fillColor=#7D7D7D;",
- 38,47,"","Task List (backlog)",null,null,this.getTagsForStencil("mxgraph.mscae.general","task list backlog","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.tasks;fillColor=#7D7D7D;",38,50,"","Tasks",null,null,this.getTagsForStencil("mxgraph.mscae.general","tasks","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.tunnel;fillColor=#7D7D7D;",
- 50,9,"","Tunnel",null,null,this.getTagsForStencil("mxgraph.mscae.general","tunnel","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.usb;fillColor=#7D7D7D;",50,23,"","USB",null,null,this.getTagsForStencil("mxgraph.mscae.general","usb","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.azure.user;fillColor=#7D7D7D;",
- 47,50,"","User",null,null,this.getTagsForStencil("mxgraph.mscae.general","user","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.general.video;fillColor=#7D7D7D;",49,50,"","Video",null,null,this.getTagsForStencil("mxgraph.mscae.general","video","ms microsoft cloud enterprise general ").join(" "))];this.addPalette("mscaeGeneral","CAE / General",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};
- Sidebar.prototype.addMSCAEIntunePalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.account_portal;fillColor=#505050;",40,46,"","Account Portal",null,null,this.getTagsForStencil("mxgraph.mscae.intune","account portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.administration;fillColor=#505050;",30,50,"","Administration",
- null,null,this.getTagsForStencil("mxgraph.mscae.intune","administration","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.alerts;fillColor=#505050;",50,50,"","Alerts",null,null,this.getTagsForStencil("mxgraph.mscae.intune","alerts","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.apps;fillColor=#505050;",
- 50,50,"","Apps",null,null,this.getTagsForStencil("mxgraph.mscae.intune","apps","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.certificate;fillColor=#505050;",50,49,"","Certificate (Compliance)",null,null,this.getTagsForStencil("mxgraph.mscae.intune","certificate compliance","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.client_software;fillColor=#505050;",
- 52,47,"","Client Software Deployment Wizard",null,null,this.getTagsForStencil("mxgraph.mscae.intune","client software deployment wizard","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.company_portal;fillColor=#505050;",47,36,"","Company Portal",null,null,this.getTagsForStencil("mxgraph.mscae.intune","company portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.computer_inventory;fillColor=#505050;",
- 50,45,"","Computer Inventory",null,null,this.getTagsForStencil("mxgraph.mscae.intune","computer inventory","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.conditional_access_exchange;fillColor=#505050;",49,50,"","Conditional Access (Exchange)",null,null,this.getTagsForStencil("mxgraph.mscae.intune","conditional access exchange","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.conditional_access_sharepoint;fillColor=#505050;",
- 43,49,"","Conditional Access (Sharepoint)",null,null,this.getTagsForStencil("mxgraph.mscae.intune","conditional access sharepoint","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.connector;fillColor=#505050;",46,16,"","Connector",null,null,this.getTagsForStencil("mxgraph.mscae.intune","connector","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.dashboard;fillColor=#505050;",
- 50,40,"","Dashboard",null,null,this.getTagsForStencil("mxgraph.mscae.intune","dashboard","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.data_migration_wizard;fillColor=#505050;",50,48,"","Data Migration Wizard",null,null,this.getTagsForStencil("mxgraph.mscae.intune","data migration wizard","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.detected_software;fillColor=#505050;",
- 50,50,"","Detected Software",null,null,this.getTagsForStencil("mxgraph.mscae.intune","detected software","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.device_group;fillColor=#505050;",50,50,"","Device Group",null,null,this.getTagsForStencil("mxgraph.mscae.intune","device group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.device_health;fillColor=#505050;",
- 50,31,"","Device Health",null,null,this.getTagsForStencil("mxgraph.mscae.intune","device_health","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.device_history;fillColor=#505050;",45,50,"","Device History",null,null,this.getTagsForStencil("mxgraph.mscae.intune","device history","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.device_os;fillColor=#505050;",
- 49,50,"","Device OS",null,null,this.getTagsForStencil("mxgraph.mscae.intune","device os operating system","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.end_protection;fillColor=#505050;",48,50,"","End Protection",null,null,this.getTagsForStencil("mxgraph.mscae.intune","end protection","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.exchange_connector;fillColor=#505050;",
- 50,49,"","Exchange Connector",null,null,this.getTagsForStencil("mxgraph.mscae.intune","exchange connector","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.groups;fillColor=#505050;",50,48,"","Groups",null,null,this.getTagsForStencil("mxgraph.mscae.intune","groups","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.hybrid;fillColor=#505050;",
- 50,39,"","Hybrid",null,null,this.getTagsForStencil("mxgraph.mscae.intune","hybrid","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.intune_certificate_profiles;fillColor=#505050;",40,50,"","Intune Certificate Profiles",null,null,this.getTagsForStencil("mxgraph.mscae.intune","certificate profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.intune_email_profiles;fillColor=#505050;",
- 50,50,"","Intune Email Profiles",null,null,this.getTagsForStencil("mxgraph.mscae.intune","email profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.intune_managed_app;fillColor=#505050;",50,38,"","Intune Managed App",null,null,this.getTagsForStencil("mxgraph.mscae.intune","managed app application","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.intune_mobile_application_management;fillColor=#505050;",
- 49,50,"","Intune Mobile Application Management",null,null,this.getTagsForStencil("mxgraph.mscae.intune","mobile app aplication management","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.intune_vpn_profiles;fillColor=#505050;",42,50,"","Intune VPN Profiles",null,null,this.getTagsForStencil("mxgraph.mscae.intune","vpn virtual private network profiles","ms microsoft cloud enterprise intune").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.intune_wifi_profiles;fillColor=#505050;",44,51,"","Intune WiFi Profiles",null,null,this.getTagsForStencil("mxgraph.mscae.intune","wifi profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.inventory_license;fillColor=#505050;",50,48,"","Inventory License",null,null,this.getTagsForStencil("mxgraph.mscae.intune",
- "inventory license","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.inventory_software;fillColor=#505050;",50,49,"","Inventory Software",null,null,this.getTagsForStencil("mxgraph.mscae.intune","inventory software","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.license_group;fillColor=#505050;",
- 50,49,"","License Group",null,null,this.getTagsForStencil("mxgraph.mscae.intune","license group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.license_installation;fillColor=#505050;",50,43,"","License Installation",null,null,this.getTagsForStencil("mxgraph.mscae.intune","license installation","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.microsoft_intune;fillColor=#505050;",
- 48,38,"","Microsoft Intune",null,null,this.getTagsForStencil("mxgraph.mscae.intune","microsoft","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.mobile_inventory;fillColor=#505050;",44,50,"","Mobile Inventory",null,null,this.getTagsForStencil("mxgraph.mscae.intune","mobile inventory","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.noncompliant_apps;fillColor=#505050;",
- 46,50,"","Noncompliant Apps",null,null,this.getTagsForStencil("mxgraph.mscae.intune","noncompliant apps applications","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.policy;fillColor=#505050;",50,50,"","Policy",null,null,this.getTagsForStencil("mxgraph.mscae.intune","policy","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.protection;fillColor=#505050;",
- 48,50,"","Protection",null,null,this.getTagsForStencil("mxgraph.mscae.intune","protection","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.reports;fillColor=#505050;",46,50,"","Reports",null,null,this.getTagsForStencil("mxgraph.mscae.intune","reports","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.enterprise.settings;fillColor=#505050;",
- 50,50,"","Settings",null,null,this.getTagsForStencil("mxgraph.mscae.intune","settings","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.subscription_portal;fillColor=#505050;",45,45,"","Subscription Portal",null,null,this.getTagsForStencil("mxgraph.mscae.intune","subscription portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.terms_and_conditions;fillColor=#505050;",
- 37,50,"","Terms and Conditions",null,null,this.getTagsForStencil("mxgraph.mscae.intune","terms and conditions","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.update;fillColor=#505050;",50,52,"","Update",null,null,this.getTagsForStencil("mxgraph.mscae.intune","update","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#505050;",
- 50,37,"","User Group",null,null,this.getTagsForStencil("mxgraph.mscae.intune","user group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_management;fillColor=#505050;",50,46,"","User Management",null,null,this.getTagsForStencil("mxgraph.mscae.intune","user management","ms microsoft cloud enterprise intune").join(" "))];this.addPalette("mscaeIntune","CAE / Intune",!1,mxUtils.bind(this,function(b){for(var d=
- 0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addMSCAEOtherPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.access;fillColor=#BA2024;",50,50,"","Access",null,null,this.getTagsForStencil("mxgraph.mscae.other","access","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.excel;fillColor=#008540;",50,50,"","Excel",
- null,null,this.getTagsForStencil("mxgraph.mscae.other","excel","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.exchange;fillColor=#2471BA;",52,50,"","Exchange",null,null,this.getTagsForStencil("mxgraph.mscae.other","exchange","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.lync;fillColor=#2471BA;",
- 52,50,"","Lync",null,null,this.getTagsForStencil("mxgraph.mscae.other","lync","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.microsoft;",50,50,"","Microsoft",null,null,this.getTagsForStencil("mxgraph.mscae.other","microsoft","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.outlook;fillColor=#2471BA;",
- 50,50,"","Outlook",null,null,this.getTagsForStencil("mxgraph.mscae.other","outlook","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.powerpoint;fillColor=#DE5D24;",50,50,"","PowerPoint",null,null,this.getTagsForStencil("mxgraph.mscae.other","powerpoint","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.sharepoint;fillColor=#2471BA;",
- 51,50,"","Sharepoint",null,null,this.getTagsForStencil("mxgraph.mscae.other","sharepoint","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.skype;fillColor=#00AEF2;",45,45,"","Skype",null,null,this.getTagsForStencil("mxgraph.mscae.other","skype","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.windows;fillColor=#00188D;",
- 48,50,"","Windows",null,null,this.getTagsForStencil("mxgraph.mscae.other","windows","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.word;fillColor=#2C3481;",50,50,"","Word",null,null,this.getTagsForStencil("mxgraph.mscae.other","word","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.xbox;fillColor=#91D250;",
- 54,52,"","Xbox",null,null,this.getTagsForStencil("mxgraph.mscae.other","xbox","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;strokeColor=none;html=1;shape=mxgraph.mscae.other.xbox_one;",50,16,"","Xbox One",null,null,this.getTagsForStencil("mxgraph.mscae.other","xbox one","ms microsoft cloud enterprise other").join(" "))];this.addPalette("mscaeOther","CAE / Other",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};
- Sidebar.prototype.addMSCAESystemCenterPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.admin_console;fillColor=#7D7D7D;strokeColor=none;",50,36,"","Admin Console",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","admin console","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;shape=mxgraph.mscae.enterprise.database_server;fillColor=#7D7D7D;strokeColor=none;",
- 38,50,"","Central Administration Site",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","central administration site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.central_administration_site_sql;fillColor=#7D7D7D;strokeColor=none;",38,50,"","Central Administration Site SQL",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","central administration site sql",
- "ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.cloud_distribution_point;fillColor=#7D7D7D;strokeColor=none;",46,50,"","Cloud Distribution Point",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","cloud distribution point","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.distribution_point;fillColor=#7D7D7D;strokeColor=none;",
- 44,50,"","Distribution Point",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","distribution point","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.management_point;fillColor=#7D7D7D;strokeColor=none;",48,50,"","Management Point",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","management point","ms microsoft cloud enterprise system center").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.primary_site;fillColor=#7D7D7D;strokeColor=none;",38,50,"","Primary Site",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","primary site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.roles;fillColor=#7D7D7D;strokeColor=none;",42,50,"","Roles",null,null,this.getTagsForStencil("mxgraph.mscae.system_center",
- "roles","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.secondary_site;fillColor=#7D7D7D;strokeColor=none;",41,50,"","Secondary Site",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","secondary site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.system_center.software_update_point;fillColor=#7D7D7D;strokeColor=none;",
- 50,43,"","Software Update Point",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","software update point","ms microsoft cloud enterprise system center").join(" "))];this.addPalette("mscaeSystem Center","CAE / System Center",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addNetworkPalette=function(){this.addPaletteFunctions("network","Network",!1,[this.addDataEntry("computer network ring bus",100,100,"Ring Bus","7VfJboMwEP0arpWBkNJjgTanSpF66NmKJ2DVYDQ429/XYIclKi2Nkp5AQrLfrLzHsDh+nB9XSMvsTTIQjv/i+DFKqcwqP8YghOMRzhw/cTyP6NPxXkesbmMlJUUo1JQAzwTsqdiBQQxQqZOwQKZy3VbiOn605ULEUkhsLH7cHBqvFMpP6FmWYehGfm3JaFnn0VV5WelVVALyHBRgh647KEqRMq6bPycrZAE9OOEIG8Vl0ZhQZXVXsnPXtbfN0Xb1wVntlXgasRcLqOA4SlgDWbZWIHVjeNIuNsALTMRpuD3YKnoXGMZJBjzN1BCjldmnbd5OG72w8nwvlf+7VOM6AEvh3TpaSlHuCgZ1clI7FOwZUR46O6NV1pp7N8EYrXWJAamKYgpqcJ9N4BlBUMX3w1Tf8WZD15LrjK0+l0xXcocbsE4XZLdVJ/G/mPmfwH8YPAwnxF2cgdtLEsySTJDEJWSgyP1GZDnrcc2IdMDtJXmcJfnDW+P8zCJ3G5Fw1mPKI2vxjyPyNEvykyR3f2u4ZBbgmpm44ZeV3nb/nMa9/0v6BQ=="),
- this.addDataEntry("computer network bus backbone",260,140,"Bus","7ZdNj4IwEIZ/DVcD1HXd4wK7njYx8bDnKiM0FmqGori/fltaBb8Ws5EbJCb0nel0fF4yBIeEWTVDuk2/RAzcIR8OCVEIae6yKgTOHd9lsUMix/dd9XP8zztRr466W4qQy0c2+GbDjvISjGKEQh64FVKZqbYizyHBmnEeCi6wjpCwvpReSBQbaEUm06kXEBVJkMZM9XKM5SKHlhwxhJVkIq9DKNNTsW8W61XkayWlW91MViUa1CgHuRe4KUbLsvjfGWvRpKt21/Wl9C0gy0CC1pd0tVmqUvNGC47agv3ohhRcEliCgBKquy7UkrVgBkLVw4NKOZjoxJjk7u2f1sYctRRYktoq1kyXFmadnCo1Fqsb6/Jtx0m34/fthDiBhU20mFGUeQy6uIYBefyOKPZNvPX4XDtrjtZVz8hJignIsyf0AZgInEq2Oy91C5XdOhdMVfRd69r4Am4hSlyBTbrgezr1IeTjAflt5J7bG/OXgfkd5pPemE8G5reZXw3u5zF/HZj/Pc7tK9brb7xPBws6xnv/HrwNHnSM+/498NzBhI75/3QT1LL5WDTp7W/JXw=="),
- this.createVertexTemplateEntry("html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.bus;gradientColor=none;gradientDirection=north;fontColor=#ffffff;perimeter=backbonePerimeter;backboneSize=20;",200,20,"","Bus",null,null,this.getTagsForStencil("mxgraph.networks","bus backbone","computer network ").join(" ")),this.createEdgeTemplateEntry("html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.comm_link_edge;html=1;",
- 100,100,"","Comm Link",null,this.getTagsForStencil("mxgraph.networks","comm_link_edge","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.biometric_reader;",60,100,"","Biometric Reader",null,null,this.getTagsForStencil("mxgraph.networks","biometric_reader","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.business_center;",90,100,"","Business Center",null,null,this.getTagsForStencil("mxgraph.networks","business_center","computer network ").join(" ")),this.createVertexTemplateEntry("html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.cloud;fontColor=#ffffff;",
- 90,50,"","Cloud",null,null,this.getTagsForStencil("mxgraph.networks","cloud","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.community;",95,100,"","Community",null,null,this.getTagsForStencil("mxgraph.networks","community","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.comm_link;",
- 30,100,"","Comm Link (Icon)",null,null,this.getTagsForStencil("mxgraph.networks","comm_link","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.copier;",100,100,"","Copier",null,null,this.getTagsForStencil("mxgraph.networks","copier","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.pc;",100,70,"","PC",null,null,this.getTagsForStencil("mxgraph.networks","pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.desktop_pc;",
- 30,60,"","Desktop PC",null,null,this.getTagsForStencil("mxgraph.networks","desktop_pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.external_storage;",90,100,"","External Storage",null,null,this.getTagsForStencil("mxgraph.networks","external_storage","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.firewall;",100,100,"","Firewall",null,null,this.getTagsForStencil("mxgraph.networks","firewall","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.gamepad;",
- 100,70,"","Gamepad",null,null,this.getTagsForStencil("mxgraph.networks","gamepad","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.hub;",100,30,"","Hub",null,null,this.getTagsForStencil("mxgraph.networks","hub","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.laptop;",
- 100,55,"","Laptop",null,null,this.getTagsForStencil("mxgraph.networks","laptop","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.load_balancer;",100,30,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.networks","load_balancer","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.mail_server;",105,105,"","Mail Server",null,null,this.getTagsForStencil("mxgraph.networks","mail_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.mainframe;",
- 80,100,"","Mainframe",null,null,this.getTagsForStencil("mxgraph.networks","mainframe","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.mobile;",50,100,"","Mobile",null,null,this.getTagsForStencil("mxgraph.networks","mobile","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.modem;",
- 100,30,"","Modem",null,null,this.getTagsForStencil("mxgraph.networks","modem","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.monitor;",80,65,"","Monitor",null,null,this.getTagsForStencil("mxgraph.networks","monitor","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.nas_filer;",
- 100,35,"","NAS Filer",null,null,this.getTagsForStencil("mxgraph.networks","NAS Filer","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.patch_panel;",100,35,"","Patch Panel",null,null,this.getTagsForStencil("mxgraph.networks","patch_panel","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.pc;",100,70,"","PC",null,null,this.getTagsForStencil("mxgraph.networks","pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.phone_1;",
- 100,70,"","Phone",null,null,this.getTagsForStencil("mxgraph.networks","phone_1","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.phone_2;",100,90,"","Phone",null,null,this.getTagsForStencil("mxgraph.networks","phone_2","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.printer;",
- 100,100,"","Printer",null,null,this.getTagsForStencil("mxgraph.networks","printer","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.proxy_server;",105,105,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.networks","proxy_server","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.rack;",50,100,"","Rack",null,null,this.getTagsForStencil("mxgraph.networks","rack","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.radio_tower;",
- 55,100,"","Radio Tower",null,null,this.getTagsForStencil("mxgraph.networks","radio_tower","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.router;",100,30,"","Router",null,null,this.getTagsForStencil("mxgraph.networks","router","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.satellite;",
- 100,100,"","Satellite",null,null,this.getTagsForStencil("mxgraph.networks","satellite","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.satellite_dish;",90,100,"","Satellite Dish",null,null,this.getTagsForStencil("mxgraph.networks","satellite_dish","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.scanner;",100,75,"","Scanner",null,null,this.getTagsForStencil("mxgraph.networks","scanner","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.secured;",
- 80,100,"","Secured",null,null,this.getTagsForStencil("mxgraph.networks","secured","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.security_camera;",100,75,"","Security Camera",null,null,this.getTagsForStencil("mxgraph.networks","security_camera","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.server;",90,100,"","Server",null,null,this.getTagsForStencil("mxgraph.networks","server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.server_storage;",
- 105,105,"","Server Storage",null,null,this.getTagsForStencil("mxgraph.networks","server_storage","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.storage;",100,100,"","Storage",null,null,this.getTagsForStencil("mxgraph.networks","storage","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.supercomputer;",100,100,"","Supercomputer",null,null,this.getTagsForStencil("mxgraph.networks","supercomputer","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.switch;",
- 100,30,"","Switch",null,null,this.getTagsForStencil("mxgraph.networks","switch","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.tablet;",100,70,"","Tablet",null,null,this.getTagsForStencil("mxgraph.networks","tablet","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.tape_storage;",
- 105,105,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.networks","tape_storage","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.terminal;",80,65,"","Terminal",null,null,this.getTagsForStencil("mxgraph.networks","terminal","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.unsecure;",80,100,"","Unsecure",null,null,this.getTagsForStencil("mxgraph.networks","unsecure","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.ups_enterprise;",
- 100,100,"","UPS Enterprise",null,null,this.getTagsForStencil("mxgraph.networks","ups_enterprise","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.ups_small;",70,100,"","UPS Small",null,null,this.getTagsForStencil("mxgraph.networks","ups_small","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.usb_stick;",45,100,"","USB Stick",null,null,this.getTagsForStencil("mxgraph.networks","usb_stick","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.users;",
- 90,100,"","Users",null,null,this.getTagsForStencil("mxgraph.networks","users","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.user_female;",40,100,"","User Female",null,null,this.getTagsForStencil("mxgraph.networks","user_female","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.user_male;",40,100,"","User Male",null,null,this.getTagsForStencil("mxgraph.networks","user_male","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.video_projector;",
- 100,35,"","Video Projector",null,null,this.getTagsForStencil("mxgraph.networks","video_projector","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.video_projector_screen;",80,100,"","Video Projector Screen",null,null,this.getTagsForStencil("mxgraph.networks","video_projector_screen",
- "computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.virtual_pc;",115,85,"","Virtual PC",null,null,this.getTagsForStencil("mxgraph.networks","virtual_pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.virtual_server;",
- 110,120,"","Virtual Server",null,null,this.getTagsForStencil("mxgraph.networks","virtual_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.virus;",100,90,"","Virus",null,null,this.getTagsForStencil("mxgraph.networks","virus","computer network ").join(" ")),
- this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.web_server;",105,105,"","Web Server",null,null,this.getTagsForStencil("mxgraph.networks","web_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.wireless_hub;",
- 100,85,"","Wireless Hub",null,null,this.getTagsForStencil("mxgraph.networks","wireless_hub","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.wireless_modem;",100,85,"","Wireless Modem",null,null,this.getTagsForStencil("mxgraph.networks","wireless_modem","computer network ").join(" "))])}})();(function(){Sidebar.prototype.addOfficePalette=function(){this.addOfficeCloudsPalette();this.addOfficeCommunicationsPalette();this.addOfficeConceptsPalette();this.addOfficeDatabasesPalette();this.addOfficeDevicesPalette();this.addOfficeSecurityPalette();this.addOfficeServersPalette();this.addOfficeServicesPalette();this.addOfficeSitesPalette();this.addOfficeUsersPalette()};Sidebar.prototype.addOfficeCloudsPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.azure;",
- 103,66,"","Azure",null,null,this.getTagsForStencil("mxgraph.office.clouds","azure","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.cloud;",94,55,"","Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.cloud_disaster;",
- 94,74,"","Cloud Disaster",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud disaster","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.cloud_disaster;fillColor=#ff0000;",94,74,"","Cloud Disaster (Red)",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud disaster","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.cloud_exchange_online;",
- 100,61,"","Cloud Exchange Online",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud exchange online","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.cloud_service_request;",102,80,"","Cloud Service Request",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud service request","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.cloud_sharepoint;",
- 101,61,"","Cloud SharePoint",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud sharepoint","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.office_365;",101,61,"","Office 365",null,null,this.getTagsForStencil("mxgraph.office.clouds","office 365","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.online_backup;",
- 94,101,"","Online Backup",null,null,this.getTagsForStencil("mxgraph.office.clouds","online backup","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.online_user;",93,74,"","Online User",null,null,this.getTagsForStencil("mxgraph.office.clouds","online user","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.private_cloud;",
- 94,55,"","Private Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","private cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.public_cloud;",101,81,"","Public Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","public cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.clouds.public_im_cloud_service;",
- 102,99,"","Public IM Cloud Service",null,null,this.getTagsForStencil("mxgraph.office.clouds","public im instant message cloud service","office cloud ").join(" "))];this.addPalette("officeClouds","Office / Clouds",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addOfficeCommunicationsPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.3rd_party_call_center_solution;",
- 98,101,"","3rd Party Call Center Solution",null,null,this.getTagsForStencil("mxgraph.office.communications","3rd party call center solution","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.3rd_party_integration;",54,55,"","3rd Party Integration",null,null,this.getTagsForStencil("mxgraph.office.communications","3rd party integration",
- "office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.3rd_party_service;",53,54,"","3rd Party Service",null,null,this.getTagsForStencil("mxgraph.office.communications","3rd party service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.application_sharing_workload;",
- 57,49,"","Application Sharing Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","application sharing workload","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.audio_conferencing_application;",59,46,"","Audio Conferencing Application",null,null,this.getTagsForStencil("mxgraph.office.communications",
- "audio_conferencing_application","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.central_management_service;",52,55,"","Central Management Service",null,null,this.getTagsForStencil("mxgraph.office.communications","central management service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.chat_room;",
- 46,48,"","Chat Room",null,null,this.getTagsForStencil("mxgraph.office.communications","chat room","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.conference_announcement_service;",60,60,"","Conference Announcement Service",null,null,this.getTagsForStencil("mxgraph.office.communications","conference announcement service",
- "office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.disconnected_mailbox;",60,55,"","Disconnected Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","disconnected mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.discovery_search_mailbox;",
- 55,49,"","Discovery Search Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","discovery search mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.dynamic_distribution_group;",58,59,"","Dynamic Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.communications","dynamic distribution group",
- "office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.edge_subscription;",57,59,"","Edge Subscription",null,null,this.getTagsForStencil("mxgraph.office.communications","edge subscription","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.email_workloaad;",
- 57,47,"","Email Workloaad",null,null,this.getTagsForStencil("mxgraph.office.communications","email workloaad","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.equipment_mailbox;",59,59,"","Equipment Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","equipment mailbox","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.exchange_active_sync;",49,49,"","Exchange Active Sync",null,null,this.getTagsForStencil("mxgraph.office.communications","exchange_active_sync","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.exchange_active_sync;fillColor=#2072B8;",
- 49,49,"","Exchange Active Sync - Blue",null,null,this.getTagsForStencil("mxgraph.office.communications","exchange_active_sync","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.fax_partner;",45,56,"","Fax Partner",null,null,this.getTagsForStencil("mxgraph.office.communications","fax partner","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.global_address_list;",59,53,"","Global Address List",null,null,this.getTagsForStencil("mxgraph.office.communications","global address list","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.hybrid_voip_gateway;",
- 59,38,"","Hybrid VOIP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","hybrid voip gateway","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.im_workload;",56,54,"","IM Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","im workload instant message","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.journaling_rule;",52,58,"","Journaling Rule",null,null,this.getTagsForStencil("mxgraph.office.communications","journaling rule","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.local_move_request;",
- 57,57,"","Local Move Request",null,null,this.getTagsForStencil("mxgraph.office.communications","local move request","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.lync_control_panel;",69,58,"","Lync Control Panel",null,null,this.getTagsForStencil("mxgraph.office.communications","lync control panel","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.lync_phone_edition;",80,45,"","Lync Phone Edition",null,null,this.getTagsForStencil("mxgraph.office.communications","lync phone edition","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.lync_room_system;",
- 80,42,"","Lync Room System",null,null,this.getTagsForStencil("mxgraph.office.communications","lync room system","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.lync_server_management_tool;",75,47,"","Lync Server Management Tool",null,null,this.getTagsForStencil("mxgraph.office.communications","lync server management tool",
- "office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.lync_storage_service;",66,59,"","Lync Storage Service",null,null,this.getTagsForStencil("mxgraph.office.communications","lync storage service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.lync_web_app_client;",
- 83,50,"","Lync Web App Client",null,null,this.getTagsForStencil("mxgraph.office.communications","lync web app client","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.mail_enabled_public_folder;",58,52,"","Mail-Enabled Public Folder",null,null,this.getTagsForStencil("mxgraph.office.communications","mail enabled public folder",
- "office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.mailbox_assistant;",59,57,"","Mailbox Assistant",null,null,this.getTagsForStencil("mxgraph.office.communications","mailbox assistant","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.messages_queued;",
- 59,57,"","Messages Queued",null,null,this.getTagsForStencil("mxgraph.office.communications","messages queued","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.offline_address_book;",59,53,"","Offline Address Book",null,null,this.getTagsForStencil("mxgraph.office.communications","offline address book","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.personal_archive_mailbox;",59,58,"","Personal Archive Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","personal archive mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.public_im_cloud_service;",
- 60,58,"","Public IM Cloud Service",null,null,this.getTagsForStencil("mxgraph.office.communications","public im cloud service instant message","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.push_notification_service;",50,58,"","Push Notification Service",null,null,this.getTagsForStencil("mxgraph.office.communications",
- "push notification service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.queue_viewer;",59,57,"","Queue Viewer",null,null,this.getTagsForStencil("mxgraph.office.communications","queue viewer","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.remote_mailbox;",
- 59,57,"","Remote Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","remote mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.remote_move_request;",60,57,"","Remote Move Request",null,null,this.getTagsForStencil("mxgraph.office.communications","remote move request","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.response_group;",58,54,"","Response Group",null,null,this.getTagsForStencil("mxgraph.office.communications","response group","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.room_mailbox;",
- 60,57,"","Room Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","room mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.shared_mailbox;",60,55,"","Shared Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","shared mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.sip_uri_um_dial_plan;",
- 55,56,"","SIP URI UM Dial Plan",null,null,this.getTagsForStencil("mxgraph.office.communications","sip uri um dial plan","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.site_mailbox;",59,54,"","Site Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","site mailbox","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.skype_for_business_control_panel;",65,59,"","Skype for Business Control Panel",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business control panel","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.skype_for_business_phone_edition;",
- 76,45,"","Skype for Business Phone Edition",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business phone edition","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.skype_for_business_room_system;",74,41,"","Skype for Business Room System",null,null,this.getTagsForStencil("mxgraph.office.communications",
- "skype for business room system","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.skype_for_business_server_management_tool;",72,48,"","Skype for Business Server Management Tool",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business server management tool","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.skype_for_business_storage_service;",62,58,"","Skype for Business Storage Service",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business storage service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.skype_for_business_web_app_client;",
- 80,51,"","Skype for Business Web App Client",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business web app client","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.sms_gateway;",59,37,"","SMS Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","sms gateway","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.smtp_connector;",47,49,"","SMTP Connector",null,null,this.getTagsForStencil("mxgraph.office.communications","smtp connector","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.system_mailbox;",
- 58,55,"","System Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","system mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.tdm_pbx;",59,46,"","TDM PBX",null,null,this.getTagsForStencil("mxgraph.office.communications","tdm pbx","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.telephone_extension_dial_plan;",
- 55,56,"","Telephone Extension Dial Plan",null,null,this.getTagsForStencil("mxgraph.office.communications","telephone extension dial plan","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.transport_rule;",56,57,"","Transport Rule",null,null,this.getTagsForStencil("mxgraph.office.communications","transport rule","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.ucma_application;",53,40,"","UCMA Application",null,null,this.getTagsForStencil("mxgraph.office.communications","ucma application","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.ucwa_application;",
- 53,40,"","UCWA Application",null,null,this.getTagsForStencil("mxgraph.office.communications","ucwa application","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.um_auto_attendant;",57,57,"","UM Auto Attendant",null,null,this.getTagsForStencil("mxgraph.office.communications","um auto attendant","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.um_dial_plan_e164;",55,56,"","UM Dial Plan E164",null,null,this.getTagsForStencil("mxgraph.office.communications","um dial plan e164","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.um_dial_plan_secondary;",
- 55,56,"","UM Dial Plan Secondary",null,null,this.getTagsForStencil("mxgraph.office.communications","um dial plan secondary","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.um_enabled_mailbox;",59,57,"","UM Enabled Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","um enabled mailbox","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.um_hunt_group;",59,48,"","UM Hunt Group",null,null,this.getTagsForStencil("mxgraph.office.communications","um hunt group","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.um_ip_gateway;",
- 59,38,"","UM IP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","um ip gateway internet protocol","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.user_mailbox;",59,55,"","User Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","user mailbox","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.video_workload;",57,50,"","Video Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","video workload","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.voice_mail_preview;",
- 46,56,"","Voice Mail Preview",null,null,this.getTagsForStencil("mxgraph.office.communications","voice mail preview","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.voice_workload;",58,51,"","Voice Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","voice workload","office communication ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.voip_gateway;",51,15,"","VoIP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","voip gateway voice over ip internet protocol","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.watcher_node;",
- 52,56,"","Watcher Node",null,null,this.getTagsForStencil("mxgraph.office.communications","watcher node","office communication ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.communications.xmpp_service;",58,52,"","XMPP Service",null,null,this.getTagsForStencil("mxgraph.office.communications","xmpp service","office communication ").join(" "))];this.addPalette("officeCommunications",
- "Office / Communications",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addOfficeConceptsPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.address_book;",55,44,"","Address Book",null,null,this.getTagsForStencil("mxgraph.office.concepts","address book","office concept ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.address_book;",40,31,"","Address Book (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","address book small","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.anti_spam;",
- 55,47,"","Anti-Spam",null,null,this.getTagsForStencil("mxgraph.office.concepts","anti spam","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.application_android;",60,51,"","Application Android",null,null,this.getTagsForStencil("mxgraph.office.concepts","application android","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.application_generic;",
- 53,40,"","Application Generic",null,null,this.getTagsForStencil("mxgraph.office.concepts","application generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.application_generic;",40,30,"","Application Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","application generic small","office concept ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.application_hybrid;",59,44,"","Application Hybrid",null,null,this.getTagsForStencil("mxgraph.office.concepts","application hybrid","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.application_ios;",
- 59,49,"","Application iOS",null,null,this.getTagsForStencil("mxgraph.office.concepts","application ios","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.application_web;",56,49,"","Application Web",null,null,this.getTagsForStencil("mxgraph.office.concepts","application web","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.application_windows;",
- 59,47,"","Application Windows",null,null,this.getTagsForStencil("mxgraph.office.concepts","application windows","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.app_for_office;",53,40,"","App for Office",null,null,this.getTagsForStencil("mxgraph.office.concepts","app for office","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.app_for_sharepoint;",
- 53,40,"","App For SharePoint",null,null,this.getTagsForStencil("mxgraph.office.concepts","app for sharepoint","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.app_part;",46,45,"","App Part",null,null,this.getTagsForStencil("mxgraph.office.concepts","app part","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.archive;",
- 35,55,"","Archive",null,null,this.getTagsForStencil("mxgraph.office.concepts","archive","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.attachment;",22,44,"","Attachment",null,null,this.getTagsForStencil("mxgraph.office.concepts","attachment","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.backup_local;",
- 48,44,"","Backup Local",null,null,this.getTagsForStencil("mxgraph.office.concepts","backup local","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.backup_online;",55,60,"","Backup Online",null,null,this.getTagsForStencil("mxgraph.office.concepts","backup online","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.bandwidth;",
- 45,45,"","Bandwidth",null,null,this.getTagsForStencil("mxgraph.office.concepts","bandwidth","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.bandwidth_calculator;",49,53,"","Bandwidth Calculator",null,null,this.getTagsForStencil("mxgraph.office.concepts","bandwidth calculator","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.best_practices;",
- 53,53,"","Best Practices",null,null,this.getTagsForStencil("mxgraph.office.concepts","best practices","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.book_journal;",41,49,"","Book, Journal",null,null,this.getTagsForStencil("mxgraph.office.concepts","book journal","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.calculator;",
- 32,46,"","Calculator",null,null,this.getTagsForStencil("mxgraph.office.concepts","calculator","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.calendar;",53,49,"","Calendar",null,null,this.getTagsForStencil("mxgraph.office.concepts","calendar","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.clipboard;",
- 40,52,"","Clipboard",null,null,this.getTagsForStencil("mxgraph.office.concepts","clipboard","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.clipboard;",30,39,"","Clipboard (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","clipboard small","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.clock;",
- 45,45,"","Clock",null,null,this.getTagsForStencil("mxgraph.office.concepts","clock","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.clock;",35,35,"","Clock (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","clock small","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.column;",
- 52,43,"","Column",null,null,this.getTagsForStencil("mxgraph.office.concepts","column","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.connector;",44,32,"","Connector",null,null,this.getTagsForStencil("mxgraph.office.concepts","connector","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.connector;",
- 33,24,"","Connector (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","connector","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.contacts;",53,39,"","Contacts",null,null,this.getTagsForStencil("mxgraph.office.concepts","contacts","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.content_type;",
- 53,40,"","Content Type",null,null,this.getTagsForStencil("mxgraph.office.concepts","content type","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.credit_card;",55,36,"","Credit Card",null,null,this.getTagsForStencil("mxgraph.office.concepts","credit card","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.document;",
- 40,47,"","Document",null,null,this.getTagsForStencil("mxgraph.office.concepts","document","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.document;",30,35,"","Document (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","document","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.documents;",
- 46,54,"","Documents",null,null,this.getTagsForStencil("mxgraph.office.concepts","documents","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.documents_shared;",58,59,"","Documents Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","documents shared","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.document_blank;",
- 40,47,"","Document Blank",null,null,this.getTagsForStencil("mxgraph.office.concepts","document blank","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.document_blank;",30,35,"","Document Blank (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","document blank","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.document_shared;",
- 52,53,"","Document Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","document shared","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.download;",48,56,"","Download",null,null,this.getTagsForStencil("mxgraph.office.concepts","download","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.email;",
- 47,36,"","Email",null,null,this.getTagsForStencil("mxgraph.office.concepts","email","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.email;",31,24,"","Email (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","email","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.email_approved;",
- 56,46,"","Email Approved",null,null,this.getTagsForStencil("mxgraph.office.concepts","email approved","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.email_expired;",56,46,"","Email Expired",null,null,this.getTagsForStencil("mxgraph.office.concepts","email expired","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.email_rejected;",
- 55,45,"","Email Rejected",null,null,this.getTagsForStencil("mxgraph.office.concepts","email rejected","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.file_key;",48,53,"","File Key",null,null,this.getTagsForStencil("mxgraph.office.concepts","file key","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.firewall;",
- 47,43,"","Firewall",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.firewall;fillColor=#2072B8;",47,43,"","Firewall (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.firewall;fillColor=#DA4026;",
- 47,43,"","Firewall (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.firewall;fillColor=#7FBA42;",47,43,"","Firewall (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.firewall;fillColor=#CCCBCB;",
- 47,43,"","Firewall (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder;",50,45,"","Folder",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder;fillColor=#2072B8;",
- 50,45,"","Folder (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder;fillColor=#DA4026;",50,45,"","Folder (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder;fillColor=#7FBA42;",
- 50,45,"","Folder (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder;fillColor=#CCCBCB;",50,45,"","Folder (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder;",
- 33,30,"","Folder (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folders;",57,53,"","Folders",null,null,this.getTagsForStencil("mxgraph.office.concepts","folders","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder_open;",
- 56,43,"","Folder, Open",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder open","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder_public;",58,52,"","Folder, Public",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder public","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.folder_shared;",
- 54,52,"","Folder, Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder shared","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.form;",56,49,"","Form",null,null,this.getTagsForStencil("mxgraph.office.concepts","form","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.get_started;",
- 42,52,"","Get Started",null,null,this.getTagsForStencil("mxgraph.office.concepts","get started","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.globe_internet;",49,49,"","Globe, Internet",null,null,this.getTagsForStencil("mxgraph.office.concepts","globe internet","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.help;",
- 49,49,"","Help",null,null,this.getTagsForStencil("mxgraph.office.concepts","help","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.help;",38,38,"","Help (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","help","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home;",
- 51,50,"","Home",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home;fillColor=#2072B8;",51,50,"","Home (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home;fillColor=#DA4026;",
- 51,50,"","Home (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home;fillColor=#7FBA42;",51,50,"","Home (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home;fillColor=#CCCBCB;",
- 51,50,"","Home (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home;",39,38,"","Home (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home_page;",
- 53,43,"","Home Page",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home_page;fillColor=#2072B8;",53,43,"","Home Page (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home_page;fillColor=#DA4026;",
- 53,43,"","Home Page (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home_page;fillColor=#7FBA42;",53,43,"","Home Page (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.home_page;fillColor=#CCCBCB;",
- 53,43,"","Home Page (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.hybrid;",58,52,"","Hybrid",null,null,this.getTagsForStencil("mxgraph.office.concepts","hybrid","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.input_output_filter;",
- 46,46,"","Input Output Filter",null,null,this.getTagsForStencil("mxgraph.office.concepts","input output filter","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.install;",45,52,"","Install",null,null,this.getTagsForStencil("mxgraph.office.concepts","install","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.integration;",
- 44,43,"","Integration",null,null,this.getTagsForStencil("mxgraph.office.concepts","integration","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.lab;",47,50,"","Lab",null,null,this.getTagsForStencil("mxgraph.office.concepts","lab","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.learn;",
- 56,57,"","Learn",null,null,this.getTagsForStencil("mxgraph.office.concepts","learn","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.license;",45,52,"","License",null,null,this.getTagsForStencil("mxgraph.office.concepts","license","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.link;",
- 61,21,"","Link",null,null,this.getTagsForStencil("mxgraph.office.concepts","link","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.list_library;",52,48,"","List Library",null,null,this.getTagsForStencil("mxgraph.office.concepts","list library","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.mailbox;",
- 53,49,"","Mailbox",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.mailbox;",40,38,"","Mailbox (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.mailbox2;",
- 53,49,"","Mailbox",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox2","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.mailbox2;",40,38,"","Mailbox (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox2","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.maintenance;",
- 39,56,"","Maintenance",null,null,this.getTagsForStencil("mxgraph.office.concepts","maintenance","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.marketplace_shopping_bag;",36,46,"","Marketplace, Shopping Bag",null,null,this.getTagsForStencil("mxgraph.office.concepts","marketplace shopping bag","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.meets_requirements;",
- 56,53,"","Meets Requirements",null,null,this.getTagsForStencil("mxgraph.office.concepts","meets requirements","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.migration;",59,34,"","Migration",null,null,this.getTagsForStencil("mxgraph.office.concepts","migration","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.moes;",
- 40,47,"","MOEs",null,null,this.getTagsForStencil("mxgraph.office.concepts","moes","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.navigation;",53,40,"","Navigation",null,null,this.getTagsForStencil("mxgraph.office.concepts","navigation","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.node_generic;",
- 46,52,"","Node, Generic",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.node_generic;fillColor=#2072B8;",46,52,"","Node, Generic (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.node_generic;fillColor=#DA4026;",
- 46,52,"","Node, Generic (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.node_generic;fillColor=#7FBA42;",46,52,"","Node, Generic (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.node_generic;fillColor=#CCCBCB;",
- 46,52,"","Node, Generic (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.office_installed;",58,48,"","Office Installed",null,null,this.getTagsForStencil("mxgraph.office.concepts","office installed","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.on_premises;",
- 34,55,"","On Premises",null,null,this.getTagsForStencil("mxgraph.office.concepts","on premises","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.on_premises_directory;",50,59,"","On Premises Directory",null,null,this.getTagsForStencil("mxgraph.office.concepts","on premises directory","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.phishing;",
- 59,47,"","Phishing",null,null,this.getTagsForStencil("mxgraph.office.concepts","phishing","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.pin;",24,44,"","Pin",null,null,this.getTagsForStencil("mxgraph.office.concepts","pin","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.platform_options;",
- 58,52,"","Platform Options",null,null,this.getTagsForStencil("mxgraph.office.concepts","platform options","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.powershell;",45,45,"","PowerShell",null,null,this.getTagsForStencil("mxgraph.office.concepts","powershell","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.properties;",
- 50,49,"","Properties",null,null,this.getTagsForStencil("mxgraph.office.concepts","properties","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.publish;",57,48,"","Publish",null,null,this.getTagsForStencil("mxgraph.office.concepts","publish","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.remote_access;",
- 59,41,"","Remote Access",null,null,this.getTagsForStencil("mxgraph.office.concepts","remote access","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.script;",53,49,"","Script",null,null,this.getTagsForStencil("mxgraph.office.concepts","script","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.search;",
- 49,49,"","Search",null,null,this.getTagsForStencil("mxgraph.office.concepts","search","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.search;",35,35,"","Search (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","search","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.service_application;",
- 59,48,"","Service Application",null,null,this.getTagsForStencil("mxgraph.office.concepts","service application","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.settings;",48,48,"","Settings",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.settings_office_365;",
- 48,48,"","Settings, Office 365",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings office 365","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.settings_office_365;",31,31,"","Settings, Office 365 (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings office 365","office concept ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.sign_up;",51,47,"","Sign Up",null,null,this.getTagsForStencil("mxgraph.office.concepts","sign up","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.sound_file;",
- 40,50,"","Sound File",null,null,this.getTagsForStencil("mxgraph.office.concepts","sound file","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.tasks;",40,52,"","Tasks",null,null,this.getTagsForStencil("mxgraph.office.concepts","tasks","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.technical_diagram;",
- 50,56,"","Technical Diagram",null,null,this.getTagsForStencil("mxgraph.office.concepts","technical diagram","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.upgrade_application;",58,42,"","Upgrade Application",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade application","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.upgrade_server;",
- 39,52,"","Upgrade Server",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade server","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.upgrade_site;",59,48,"","Upgrade Site",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade site","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.upload;",
- 48,55,"","Upload",null,null,this.getTagsForStencil("mxgraph.office.concepts","upload","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.video_form;",58,49,"","Video Form",null,null,this.getTagsForStencil("mxgraph.office.concepts","video form","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.video_play;",
- 50,40,"","Video Play",null,null,this.getTagsForStencil("mxgraph.office.concepts","video play","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.voicemail;",53,34,"","Voicemail",null,null,this.getTagsForStencil("mxgraph.office.concepts","voicemail","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.voicemail_preview;",
- 57,52,"","Voicemail Preview",null,null,this.getTagsForStencil("mxgraph.office.concepts","voicemail preview","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.walkthrough;",41,58,"","Walkthrough",null,null,this.getTagsForStencil("mxgraph.office.concepts","walkthrough","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.website;",
- 59,49,"","Website",null,null,this.getTagsForStencil("mxgraph.office.concepts","website","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.web_conferencing;",60,56,"","Web Conferencing",null,null,this.getTagsForStencil("mxgraph.office.concepts","web conferencing","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.web_page;",
- 50,54,"","Web Page",null,null,this.getTagsForStencil("mxgraph.office.concepts","web page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.web_part;",45,52,"","Web Part",null,null,this.getTagsForStencil("mxgraph.office.concepts","web part","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.web_services;",
- 60,56,"","Web Services",null,null,this.getTagsForStencil("mxgraph.office.concepts","web services","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.whats_new;",55,38,"","Whats New",null,null,this.getTagsForStencil("mxgraph.office.concepts","whats new","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.writing_pen;",
- 54,54,"","Writing, Pen",null,null,this.getTagsForStencil("mxgraph.office.concepts","writing pen","office concept ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.concepts.writing_pencil;",50,50,"","Writing, Pencil",null,null,this.getTagsForStencil("mxgraph.office.concepts","writing pencil","office concept ").join(" "))];this.addPalette("officeConcepts",
- "Office / Concepts",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addOfficeDatabasesPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.address_book_store;",50,54,"","Address Book Store",null,null,this.getTagsForStencil("mxgraph.office.databases","address_book_store","office database db ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.application_store;",49,53,"","Application Store",null,null,this.getTagsForStencil("mxgraph.office.databases","application store","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database;",
- 35,49,"","Database",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database;fillColor=#2072B8;",35,49,"","Database (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database;fillColor=#DA4026;",
- 35,49,"","Database (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database;fillColor=#7FBA42;",35,49,"","Database (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database;fillColor=#CCCBCB;",
- 35,49,"","Database (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database;",28,38,"","Database (small)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_availability_group;",
- 59,59,"","Database Availability Group",null,null,this.getTagsForStencil("mxgraph.office.databases","availability group","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_cube;",47,52,"","Database Cube",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_cube;fillColor=#2072B8;",
- 47,52,"","Database Cube (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_cube;fillColor=#DA4026;",47,52,"","Database Cube (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_cube;fillColor=#7FBA42;",
- 47,52,"","Database Cube (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_cube;fillColor=#CCCBCB;",47,52,"","Database Cube (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_1;",
- 35,27,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_1;fillColor=#2072B8;",35,27,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_1;fillColor=#DA4026;",
- 35,27,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_1;fillColor=#7FBA42;",35,27,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_1;fillColor=#CCCBCB;",
- 35,27,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_2;",35,42,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_2;fillColor=#2072B8;",
- 35,42,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_2;fillColor=#DA4026;",35,42,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_2;fillColor=#7FBA42;",
- 35,42,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_2;fillColor=#CCCBCB;",35,42,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_3;",
- 35,57,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_3;fillColor=#2072B8;",35,57,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_3;fillColor=#DA4026;",
- 35,57,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_3;fillColor=#7FBA42;",35,57,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mini_3;fillColor=#CCCBCB;",
- 35,57,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mirror;",60,59,"","Database Mirror",null,null,this.getTagsForStencil("mxgraph.office.databases","mirror","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_mirror_witness_node;",
- 60,59,"","Database Mirror Witness Node",null,null,this.getTagsForStencil("mxgraph.office.databases","mirror witness node","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_partition_2;",57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_partition_3;",57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_partition_4;",
- 57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_partition_5;",57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_public_folder;",
- 53,54,"","Database Public Folder",null,null,this.getTagsForStencil("mxgraph.office.databases","public folder","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_server;",43,57,"","Database Server",null,null,this.getTagsForStencil("mxgraph.office.databases","server","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_server_blue;",
- 43,57,"","Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_server_orange;",43,57,"","Database Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_server_green;",43,57,"","Database Server (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.database_server_ghosted;",
- 43,57,"","Database Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.mailbox_database;",53,55,"","Mailbox Database",null,null,this.getTagsForStencil("mxgraph.office.databases","mailbox","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.monitoring_store;",
- 58,58,"","Monitoring Store",null,null,this.getTagsForStencil("mxgraph.office.databases","monitoring store","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.unified_contact_store;",54,55,"","Unified Contact Store",null,null,this.getTagsForStencil("mxgraph.office.databases","unified contact store","office database db ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.databases.web_store;",50,54,"","Web Store",null,null,this.getTagsForStencil("mxgraph.office.databases","web store","office database db ").join(" "))];this.addPalette("officeDatabases","Office / Databases",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addOfficeDevicesPalette=
- function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.bluetooth;",56,57,"","Bluetooth",null,null,this.getTagsForStencil("mxgraph.office.devices","bluetooth","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cd_dvd;",
- 49,49,"","CD, DVD",null,null,this.getTagsForStencil("mxgraph.office.devices","cd dvd compact disc digital video drive","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cell_phone_android_proportional;",17,31,"","Cell Phone, Android, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone android proportional",
- "office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cell_phone_android_standalone;",24,44,"","Cell Phone, Android, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone android standalone","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cell_phone_generic;",
- 26,47,"","Cell Phone, Generic",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone generic","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cell_phone_generic;",21,37,"","Cell Phone, Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone generic small","office device ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cell_phone_iphone_proportional;",17,29,"","Cell Phone, iPhone, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone iphone proportional","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cell_phone_iphone_standalone;",
- 25,42,"","Cell Phone, iPhone, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone iphone standalone","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cell_phone_windows_phone_proportional;",16,29,"","Cell Phone, Windows Phone, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone windows phone proportional",
- "office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.cell_phone_windows_phone_standalone;",24,42,"","Cell Phone, Windows Phone, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone windows standalone","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.data_jack;",
- 47,47,"","Data Jack",null,null,this.getTagsForStencil("mxgraph.office.devices","data jack","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.device_update_service;",50,54,"","Device Update Service",null,null,this.getTagsForStencil("mxgraph.office.devices","device update service","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.fax;",
- 57,47,"","Fax",null,null,this.getTagsForStencil("mxgraph.office.devices","fax","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.hard_disk;",40,54,"","Hard Disk",null,null,this.getTagsForStencil("mxgraph.office.devices","hard disk hdd drive","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.headset;",
- 36,48,"","Headset",null,null,this.getTagsForStencil("mxgraph.office.devices","headset","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.ipad_mini;",33,47,"","iPad, Mini",null,null,this.getTagsForStencil("mxgraph.office.devices","ipad mini","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.ip_gateway;",
- 59,40,"","IP Gateway",null,null,this.getTagsForStencil("mxgraph.office.devices","ip gateway","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.ip_pbx;",59,39,"","IP PBX",null,null,this.getTagsForStencil("mxgraph.office.devices","ip pbx","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.laptop;",
- 58,34,"","Laptop",null,null,this.getTagsForStencil("mxgraph.office.devices","laptop","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.lcd_monitor;",58,48,"","LCD Monitor",null,null,this.getTagsForStencil("mxgraph.office.devices","lcd monitor","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.lcd_monitor;",
- 39,32,"","LCD Monitor (small)",null,null,this.getTagsForStencil("mxgraph.office.devices","lcd monitor small","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.load_balancer;",59,39,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.office.devices","load balancer","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.mac_client;",
- 58,48,"","Mac Client",null,null,this.getTagsForStencil("mxgraph.office.devices","mac client","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.management_console;",58,48,"","Management Console",null,null,this.getTagsForStencil("mxgraph.office.devices","management console","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.microphone;",
- 53,37,"","Microphone",null,null,this.getTagsForStencil("mxgraph.office.devices","microphone","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.modem;",54,34,"","Modem",null,null,this.getTagsForStencil("mxgraph.office.devices","modem","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.nic;",
- 57,38,"","NIC",null,null,this.getTagsForStencil("mxgraph.office.devices","nic","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.phone_digital;",49,42,"","Phone, Digital",null,null,this.getTagsForStencil("mxgraph.office.devices","phone digital","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.phone_traditional;",
- 48,40,"","Phone, Traditional",null,null,this.getTagsForStencil("mxgraph.office.devices","phone traditional","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.phone_usb;",58,51,"","Phone, USB",null,null,this.getTagsForStencil("mxgraph.office.devices","phone usb","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.phone_voip;",
- 57,51,"","Phone, VoIP",null,null,this.getTagsForStencil("mxgraph.office.devices","phone voip voice over internet protocol","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.printer;",56,47,"","Printer",null,null,this.getTagsForStencil("mxgraph.office.devices","printer","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.roundtable;",
- 50,58,"","Roundtable",null,null,this.getTagsForStencil("mxgraph.office.devices","roundtable","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.router;",55,56,"","Router",null,null,this.getTagsForStencil("mxgraph.office.devices","router","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.session_border_controller;",
- 59,52,"","Session Border Controller",null,null,this.getTagsForStencil("mxgraph.office.devices","session border controller","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.shadowed_router;",59,59,"","Shadowed Router",null,null,this.getTagsForStencil("mxgraph.office.devices","shadowed router","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.stylus;",
- 57,57,"","Stylus",null,null,this.getTagsForStencil("mxgraph.office.devices","stylus","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.switch;",55,18,"","Switch",null,null,this.getTagsForStencil("mxgraph.office.devices","switch","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.tablet_android;",
- 56,37,"","Tablet, Android",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet android","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.tablet_ipad;",39,52,"","Tablet, iPad",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet ipad","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.tablet_windows_7inch;",
- 34,47,"","Tablet, Windows, 7inch",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet windows seven inch","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.tablet_windows_8;",56,35,"","Tablet, Windows 8",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet windows eight","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.tv;",
- 59,45,"","TV",null,null,this.getTagsForStencil("mxgraph.office.devices","tv television","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.video_camera;",52,25,"","Video Camera",null,null,this.getTagsForStencil("mxgraph.office.devices","video camera","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.video_gateway;",
- 59,41,"","Video Gateway",null,null,this.getTagsForStencil("mxgraph.office.devices","video gateway","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.webcam;",40,50,"","Webcam",null,null,this.getTagsForStencil("mxgraph.office.devices","webcam","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.webcam_hd;",
- 56,59,"","Webcam, HD",null,null,this.getTagsForStencil("mxgraph.office.devices","webcam hd high definition","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.workstation;",53,56,"","Workstation",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.workstation_pc;",
- 53,59,"","Workstation, PC",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation pc personal computer","office device ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.devices.workstation_visual_studio;",53,59,"","Workstation, Visual Studio",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation visual studio","office device ").join(" "))];
- this.addPalette("officeDevices","Office / Devices",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addOfficeSecurityPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.active_directory;",53,46,"","Active Directory",null,null,this.getTagsForStencil("mxgraph.office.security","active directory",
- "office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.address_book_policies;",55,53,"","Address Book Policies",null,null,this.getTagsForStencil("mxgraph.office.security","address book policies","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.certificate;",
- 58,50,"","Certificate",null,null,this.getTagsForStencil("mxgraph.office.security","certificate","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.certificate;",39,33,"","Certificate (small)",null,null,this.getTagsForStencil("mxgraph.office.security","certificate small","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.credentials;",
- 56,58,"","Credentials",null,null,this.getTagsForStencil("mxgraph.office.security","credentials","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.domain;",53,46,"","Domain",null,null,this.getTagsForStencil("mxgraph.office.security","domain","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.domain;",
- 41,36,"","Domain (small)",null,null,this.getTagsForStencil("mxgraph.office.security","domain","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.email_address_policy;",55,53,"","Email Address Policy",null,null,this.getTagsForStencil("mxgraph.office.security","email address policy","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.federation_service;",
- 58,59,"","Federation Service",null,null,this.getTagsForStencil("mxgraph.office.security","federation service","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.federation_trust;",58,59,"","Federation Trust",null,null,this.getTagsForStencil("mxgraph.office.security","federation trust","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.irm_protected_message;",
- 56,50,"","IRM-Protected Message",null,null,this.getTagsForStencil("mxgraph.office.security","irm protected message","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.key_permissions;",25,53,"","Key, Permissions",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.key_permissions;fillColor=#2072B8;",
- 25,53,"","Key, Permissions (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.key_permissions;fillColor=#DA4026;",25,53,"","Key, Permissions (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.key_permissions;fillColor=#7FBA42;",
- 25,53,"","Key, Permissions (green)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.key_permissions;fillColor=#CCCBCB;",25,53,"","Key, Permissions (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.key_permissions;",
- 19,40,"","Key, Permissions (small)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions small","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_protected;",38,52,"","Lock, Protected",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_protected;fillColor=#2072B8;",
- 38,52,"","Lock, Protected (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_protected;fillColor=#DA4026;",38,52,"","Lock, Protected (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_protected;fillColor=#7FBA42;",
- 38,52,"","Lock, Protected (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_protected;fillColor=#CCCBCB;",38,52,"","Lock, Protected (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_protected;",
- 28,37,"","Lock, Protected (small)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected small","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_unprotected;",38,55,"","Lock, Unprotected",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_unprotected;fillColor=#2072B8;",
- 38,55,"","Lock, Unprotected (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_unprotected;fillColor=#DA4026;",38,55,"","Lock, Unprotected (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_unprotected;fillColor=#7FBA42;",38,55,"","Lock, Unprotected (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_unprotected;fillColor=#CCCBCB;",
- 38,55,"","Lock, Unprotected (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_unprotected;",28,40,"","Lock, Unprotected (small)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected small","office security ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_with_key_security;",47,58,"","Lock With Key, Security",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_with_key_security_blue;",
- 47,58,"","Lock With Key, Security (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_with_key_security_orange;",47,58,"","Lock With Key, Security (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security",
- "office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_with_key_security_green;",47,58,"","Lock With Key, Security (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.lock_with_key_security_ghosted;",
- 47,58,"","Lock With Key, Security (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.management_role;",45,45,"","Management Role",null,null,this.getTagsForStencil("mxgraph.office.security","management role","office security ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.policy;",53,49,"","Policy",null,null,this.getTagsForStencil("mxgraph.office.security","policy","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.policy;",
- 39,36,"","Policy (small)",null,null,this.getTagsForStencil("mxgraph.office.security","policy small","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.protected_voice_mail;",59,51,"","Protected Voice Mail",null,null,this.getTagsForStencil("mxgraph.office.security","protected voice mail","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.retention_policy;",
- 54,55,"","Retention Policy",null,null,this.getTagsForStencil("mxgraph.office.security","retention policy","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.retention_policy_tag;",56,58,"","Retention Policy Tag",null,null,this.getTagsForStencil("mxgraph.office.security","retention policy tag","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.role_assignment_policy;",
- 55,54,"","Role Assignment Policy",null,null,this.getTagsForStencil("mxgraph.office.security","role assignment policy","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.role_group;",59,56,"","Role Group",null,null,this.getTagsForStencil("mxgraph.office.security","role group","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.secure_messaging;",
- 55,46,"","Secure Messaging",null,null,this.getTagsForStencil("mxgraph.office.security","secure messaging","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.security_access_portal;",64,55,"","Security Access Portal",null,null,this.getTagsForStencil("mxgraph.office.security","security access portal","office security ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.sharing_policy;",56,53,"","Sharing Policy",null,null,this.getTagsForStencil("mxgraph.office.security","sharing policy","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.split_domain_user;",
- 59,55,"","Split-Domain User",null,null,this.getTagsForStencil("mxgraph.office.security","split domain user","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.token;",41,52,"","Token",null,null,this.getTagsForStencil("mxgraph.office.security","token","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.token;",
- 29,37,"","Token (small)",null,null,this.getTagsForStencil("mxgraph.office.security","token small","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.token_service;",60,56,"","Token Service",null,null,this.getTagsForStencil("mxgraph.office.security","token service","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.trusted_application_server;",
- 46,57,"","Trusted Application Server",null,null,this.getTagsForStencil("mxgraph.office.security","trusted application server","office security ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.um_mailbox_policy;",55,53,"","UM Mailbox Policy",null,null,this.getTagsForStencil("mxgraph.office.security","um mailbox policy","office security ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.security.universal_security_group;",58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.security","universal security group","office security ").join(" "))];this.addPalette("officeSecurity","Office / Security",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};
- Sidebar.prototype.addOfficeServersPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.3rd_party_mail_server;",47,59,"","3rd Party Mail Server",null,null,this.getTagsForStencil("mxgraph.office.servers","3rd party mail server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.active_directory_federation_services_proxy;",
- 44,55,"","Active Directory Federation Services Proxy",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services proxy","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.active_directory_federation_services_server;",45,56,"","Active Directory Federation Services Server",null,null,this.getTagsForStencil("mxgraph.office.servers",
- "active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.active_directory_federation_services_server_blue;",45,56,"","Active Directory Federation Services Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.active_directory_federation_services_server_orange;",45,56,"","Active Directory Federation Services Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.active_directory_federation_services_server_green;",
- 45,56,"","Active Directory Federation Services Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.active_directory_federation_services_server_ghosted;",45,56,"","Active Directory Federation Services Server (ghosted)",
- null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.application_server;",46,56,"","Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.application_server_blue;",
- 46,56,"","Application Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.application_server_orange;",46,56,"","Application Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.application_server_green;",46,56,"","Application Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.application_server_ghosted;",
- 46,56,"","Application Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.call_admission_control_service;",50,60,"","Call Admission Control Service",null,null,this.getTagsForStencil("mxgraph.office.servers","call admission control service",
- "office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.certificate_authority;",46,59,"","Certificate Authority",null,null,this.getTagsForStencil("mxgraph.office.servers","certificate authority","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.cluster_server;",
- 49,59,"","Cluster Server",null,null,this.getTagsForStencil("mxgraph.office.servers","cluster_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.database_server;",43,56,"","Database Server",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.database_server_blue;",
- 43,56,"","Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.database_server_orange;",43,56,"","Database Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.database_server_green;",
- 43,56,"","Database Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.database_server_ghosted;",43,56,"","Database Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.datacenter;",
- 53,53,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.office.servers","datacenter","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.dirsync_server;",47,56,"","DirSync Server",null,null,this.getTagsForStencil("mxgraph.office.servers","dirsync server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.domain_controller;",
- 45,55,"","Domain Controller",null,null,this.getTagsForStencil("mxgraph.office.servers","domain controller","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.excahnge_client_access_server_role;",52,59,"","Exchange Client Access Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","excahnge client access server role",
- "office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.exchange_edge_transport_server_role;",52,55,"","Exchange Edge Transport Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange edge transport server role","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.exchange_hub_transport_server_role;",
- 52,59,"","Exchange Hub Transport Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange hub transport server role","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.exchange_mailbox_server_role;",52,59,"","Exchange Mailbox Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange mailbox server role",
- "office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.exchange_um_server_role;",52,59,"","Exchange UM Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange um server role","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.exchange_client_access_server;",
- 57,59,"","Exchange Client Access Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange client access server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.exchange_edge_transport_server;",57,55,"","Exchange Edge Transport Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange edge transport server",
- "office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.exchange_mailbox_server;",57,59,"","Exchange Mailbox Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange mailbox server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.exchange_server;",
- 57,55,"","Exchange Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.file_server;",45,56,"","File Server",null,null,this.getTagsForStencil("mxgraph.office.servers","file server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.hybrid_server;",
- 59,52,"","Hybrid Server",null,null,this.getTagsForStencil("mxgraph.office.servers","hybrid server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.mainframe;",58,42,"","Mainframe",null,null,this.getTagsForStencil("mxgraph.office.servers","mainframe","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.mainframe_host;",
- 44,42,"","Mainframe Host",null,null,this.getTagsForStencil("mxgraph.office.servers","mainframe host","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.monitoring_sql_reporting_services;",50,59,"","Monitoring SQL Reporting Services",null,null,this.getTagsForStencil("mxgraph.office.servers","monitoring sql reporting services","office server ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.network;",34,57,"","Network",null,null,this.getTagsForStencil("mxgraph.office.servers","network","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.office_web_apps_server;",
- 52,56,"","Office Web Apps Server",null,null,this.getTagsForStencil("mxgraph.office.servers","office web apps server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.on_premises_server;",44,58,"","On Premises Server",null,null,this.getTagsForStencil("mxgraph.office.servers","on premises server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.physical_host;fillColor=#2072B8;",
- 27,52,"","Physical Host",null,null,this.getTagsForStencil("mxgraph.office.servers","physical host","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.physical_host_farm;fillColor=#2072B8;",56,49,"","Physical Host Farm",null,null,this.getTagsForStencil("mxgraph.office.servers","physical host farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.reverse_proxy;",
- 41,53,"","Reverse Proxy",null,null,this.getTagsForStencil("mxgraph.office.servers","reverse proxy","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.scom;",56,53,"","SCOM",null,null,this.getTagsForStencil("mxgraph.office.servers","scom","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_disaster;",
- 46,57,"","Server Disaster",null,null,this.getTagsForStencil("mxgraph.office.servers","server disaster","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_farm;",56,49,"","Server Farm",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_farm;fillColor=#2072B8;",
- 56,49,"","Server Farm (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_farm;fillColor=#DA4026;",56,49,"","Server Farm (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_farm;fillColor=#7FBA42;",
- 56,49,"","Server Farm (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_farm;fillColor=#CCCBCB;",56,49,"","Server Farm (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_generic;",
- 27,52,"","Server, Generic",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_generic;fillColor=#2072B8;",27,52,"","Server, Generic (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_generic;fillColor=#DA4026;",
- 27,52,"","Server, Generic (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_generic;fillColor=#7FBA42;",27,52,"","Server, Generic (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_generic;fillColor=#CCCBCB;",
- 27,52,"","Server, Generic (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_generic;",20,39,"","Server, Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic small","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.server_side_code;",
- 49,56,"","Server Side Code",null,null,this.getTagsForStencil("mxgraph.office.servers","server side code","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.sharepoint_server;",56,55,"","Sharepoint Server",null,null,this.getTagsForStencil("mxgraph.office.servers","sharepoint server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_back_end_server;",
- 54,60,"","Skype for Business Back End Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business back end server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_back_end_server_mirror;",54,60,"","Skype for Business Back End Server Mirror",null,null,this.getTagsForStencil("mxgraph.office.servers",
- "skype for business back end server mirror","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_director;",54,55,"","Skype for Business Director",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business director","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_director_array;",
- 70,60,"","Skype for Business Director Array",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business director array","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_edge_server;",54,55,"","Skype for Business Edge Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business edge server",
- "office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_edge_server_pool;",70,60,"","Skype for Business Edge Server Pool",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business edge server pool","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_front_end_pool;",
- 70,60,"","Skype for Business Front End Pool",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business front end pool","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_front_end_server;",54,60,"","Skype for Business Front End Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business front end server",
- "office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_mediation_server;",54,60,"","Skype for Business Mediation Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business mediation server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_monitoring_server;",
- 54,60,"","Skype for Business Monitoring Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business monitoring server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_persistent_chat_server;",54,58,"","Skype for Business Persistent Chat Server",null,null,this.getTagsForStencil("mxgraph.office.servers",
- "skype for business persistent chat server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.skype_for_business_server;",54,55,"","Skype for Business Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.sql_server;",
- 43,56,"","SQL Server",null,null,this.getTagsForStencil("mxgraph.office.servers","sql server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.survivable_branch_appliance;",37,59,"","Survivable Branch Appliance",null,null,this.getTagsForStencil("mxgraph.office.servers","survivable branch appliance","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.survivable_branch_server;",
- 42,58,"","Survivable Branch Server",null,null,this.getTagsForStencil("mxgraph.office.servers","survivable branch server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.topology_builder;",59,59,"","Topology Builder",null,null,this.getTagsForStencil("mxgraph.office.servers","topology builder","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.trusted_application_pool;",
- 59,59,"","Trusted Application Pool",null,null,this.getTagsForStencil("mxgraph.office.servers","trusted application pool","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.trusted_application_server;",43,52,"","Trusted Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers","trusted application server","office server ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.tunnel_angled;",55,35,"","Tunnel Angled",null,null,this.getTagsForStencil("mxgraph.office.servers","tunnel angled","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.tunnel_straight;",
- 59,10,"","Tunnel Straight",null,null,this.getTagsForStencil("mxgraph.office.servers","tunnel straight","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.universal_security_group;",58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.servers","universal security group","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.video_interop_server;",
- 54,60,"","Video Interop Server",null,null,this.getTagsForStencil("mxgraph.office.servers","video interop server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_application_server;",48,55,"","Virtual Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual application server","office server ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_application_server;fillColor=#2072B8;",48,55,"","Virtual Application Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_database_server;",
- 41,56,"","Virtual Database Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual database server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_database_server;fillColor=#2072B8;",41,56,"","Virtual Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual database server","office server ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_server;",28,52,"","Virtual Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_server;fillColor=#2072B8;",
- 28,52,"","Virtual Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_server;",20,37,"","Virtual Server (small)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server small","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_web_server;",
- 44,55,"","Virtual Web Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.virtual_web_server;fillColor=#2072B8;",44,55,"","Virtual Web Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.vociemail_preview_partner;",
- 46,56,"","Vociemail Preview Partner",null,null,this.getTagsForStencil("mxgraph.office.servers","vociemail preview partner","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.web_server;",48,57,"","Web Server",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.web_server_blue;",
- 48,57,"","Web Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.web_server_orange;",48,57,"","Web Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.web_server_green;",
- 48,57,"","Web Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.web_server_ghosted;",48,57,"","Web Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.windows_router;",
- 52,59,"","Windows Router",null,null,this.getTagsForStencil("mxgraph.office.servers","windows router","office server ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.servers.windows_server;",52,55,"","Windows Server",null,null,this.getTagsForStencil("mxgraph.office.servers","windows server","office server ").join(" "))];this.addPalette("officeServers","Office / Servers",
- !1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addOfficeServicesPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.3rd_party_service;",53,54,"","3rd Party Service",null,null,this.getTagsForStencil("mxgraph.office.services","3rd party service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.access_services;",
- 59,49,"","Access Services",null,null,this.getTagsForStencil("mxgraph.office.services","access services","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.business_connectivity_services;",34,51,"","Business Connectivity Services",null,null,this.getTagsForStencil("mxgraph.office.services","business connectivity services","office service ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.call_admission_control_service;",50,59,"","Call Admission Control Service",null,null,this.getTagsForStencil("mxgraph.office.services","call admission control service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.central_management_service;",
- 51,54,"","Central Management Service",null,null,this.getTagsForStencil("mxgraph.office.services","central management service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.conference_announcement_service;",59,59,"","Conference Announcement Service",null,null,this.getTagsForStencil("mxgraph.office.services","conference announcement service",
- "office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.device_update_service;",50,54,"","Device Update Service",null,null,this.getTagsForStencil("mxgraph.office.services","device update service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.email_service;",
- 58,48,"","Email Service",null,null,this.getTagsForStencil("mxgraph.office.services","email service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.excel_services;",60,49,"","Excel Services",null,null,this.getTagsForStencil("mxgraph.office.services","excel services","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.federation_service;",
- 58,59,"","Federation Service",null,null,this.getTagsForStencil("mxgraph.office.services","federation service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.lync_storage_service;",65,58,"","Lync Storage Service",null,null,this.getTagsForStencil("mxgraph.office.services","lync storage service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.lync_web_app_client;",
- 83,51,"","Lync Web App Client",null,null,this.getTagsForStencil("mxgraph.office.services","lync web app client","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.mobility_service;",45,53,"","Mobility Service",null,null,this.getTagsForStencil("mxgraph.office.services","mobility service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.network_file_share_service;",
- 55,53,"","Network File Share Service",null,null,this.getTagsForStencil("mxgraph.office.services","network file share service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.online_hosted_services;",56,52,"","Online Hosted Services",null,null,this.getTagsForStencil("mxgraph.office.services","online hosted services","office service ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.outlook_web_app;",83,51,"","Outlook Web App",null,null,this.getTagsForStencil("mxgraph.office.services","outlook web app","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.powerpoint_automation_services;",
- 59,49,"","PowerPoint Automation Services",null,null,this.getTagsForStencil("mxgraph.office.services","powerpoint automation services","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.push_notification_service;",50,58,"","Push Notification Service",null,null,this.getTagsForStencil("mxgraph.office.services","push notification service",
- "office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.registrar_service;",56,52,"","Registrar Service",null,null,this.getTagsForStencil("mxgraph.office.services","registrar service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.response_group_service;",
- 58,54,"","Response Group Service",null,null,this.getTagsForStencil("mxgraph.office.services","response group service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.skype_for_business_storage_service;",62,58,"","Skype for Business Storage Service",null,null,this.getTagsForStencil("mxgraph.office.services","skype for business storage service",
- "office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.user_services;",59,59,"","User Services",null,null,this.getTagsForStencil("mxgraph.office.services","user services","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.verification_service;",
- 57,59,"","Verification Service",null,null,this.getTagsForStencil("mxgraph.office.services","verification service","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.web_services;",60,56,"","Web Services",null,null,this.getTagsForStencil("mxgraph.office.services","web services","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.word_automation_services;",
- 60,49,"","Word Automation Services",null,null,this.getTagsForStencil("mxgraph.office.services","word automation services","office service ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.services.xmpp_service;",58,52,"","XMPP Service",null,null,this.getTagsForStencil("mxgraph.office.services","xmpp service","office service ").join(" "))];this.addPalette("officeServices",
- "Office / Services",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addOfficeSitesPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.access_services;",59,49,"","Access Services",null,null,this.getTagsForStencil("mxgraph.office.sites","access services","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.blog_site;",
- 56,49,"","Blog Site",null,null,this.getTagsForStencil("mxgraph.office.sites","blog site","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.business_connectivity_services;",34,51,"","Business Connectivity Services",null,null,this.getTagsForStencil("mxgraph.office.sites","business connectivity services","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.excel_services;",
- 60,49,"","Excel Services",null,null,this.getTagsForStencil("mxgraph.office.sites","excel services","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.meeting_workspace_site;",58,50,"","Meeting Workspace Site",null,null,this.getTagsForStencil("mxgraph.office.sites","meeting workspace site","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.my_site;",
- 58,49,"","My Site",null,null,this.getTagsForStencil("mxgraph.office.sites","my site","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.powerpoint_automation_services;",59,49,"","PowerPoint Automation Services",null,null,this.getTagsForStencil("mxgraph.office.sites","powerpoint automation services","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.publish;",
- 57,48,"","Publish",null,null,this.getTagsForStencil("mxgraph.office.sites","publish","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.site_collection;",52,40,"","Site Collection",null,null,this.getTagsForStencil("mxgraph.office.sites","site collection","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.site_shared;",
- 56,50,"","Site Shared",null,null,this.getTagsForStencil("mxgraph.office.sites","site shared","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.site_team;",60,49,"","Site, Team",null,null,this.getTagsForStencil("mxgraph.office.sites","site team","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.subsite;",
- 53,40,"","Subsite",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.subsite;fillColor=#2072B8;",53,40,"","Subsite (blue)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.subsite;fillColor=#DA4026;",
- 53,40,"","Subsite (orange)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.subsite;fillColor=#7FBA42;",53,40,"","Subsite (green)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.subsite;fillColor=#CCCBCB;",
- 53,40,"","Subsite (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.subsite;",38,29,"","Subsite (small)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute small","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.upgrade_site;",
- 59,48,"","Upgrade Site",null,null,this.getTagsForStencil("mxgraph.office.sites","upgrade site","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.website;",59,49,"","Website",null,null,this.getTagsForStencil("mxgraph.office.sites","website","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.website_public;",
- 58,48,"","Website, Public",null,null,this.getTagsForStencil("mxgraph.office.sites","website public","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.wiki_site;",59,50,"","Wiki Site",null,null,this.getTagsForStencil("mxgraph.office.sites","wiki_site","office site ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.sites.word_automation_services;",
- 60,49,"","Word Automation Services",null,null,this.getTagsForStencil("mxgraph.office.sites","word automation services","office site ").join(" "))];this.addPalette("officeSites","Office / Sites",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addOfficeUsersPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.administrator;",
- 58,56,"","Administrator",null,null,this.getTagsForStencil("mxgraph.office.users","administrator","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.approver;",59,55,"","Approver",null,null,this.getTagsForStencil("mxgraph.office.users","approver","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.call_center_agent;",
- 46,55,"","Call Center Agent",null,null,this.getTagsForStencil("mxgraph.office.users","call center agent","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.communications;",54,58,"","Communications",null,null,this.getTagsForStencil("mxgraph.office.users","communications","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.conferencing_attendant;",
- 53,59,"","Conferencing Attendant",null,null,this.getTagsForStencil("mxgraph.office.users","conferencing attendant","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.credentials;",56,58,"","Credentials",null,null,this.getTagsForStencil("mxgraph.office.users","credentials","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.csv_file;",
- 59,43,"","CSV File",null,null,this.getTagsForStencil("mxgraph.office.users","csv comma separated value file","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.distribution_group;",58,59,"","Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.users","distribution group","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.dynamic_distribution_group;",
- 58,59,"","Dynamic Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.users","dynamic distribution group","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.mail_user;",58,59,"","Mail User",null,null,this.getTagsForStencil("mxgraph.office.users","mail user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.meeting;",
- 59,38,"","Meeting",null,null,this.getTagsForStencil("mxgraph.office.users","meeting","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.mobile_user;",59,56,"","Mobile User",null,null,this.getTagsForStencil("mxgraph.office.users","mobile user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.online_user;",
- 54,43,"","Online User",null,null,this.getTagsForStencil("mxgraph.office.users","online user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.on_premises_user;",49,59,"","On-Premises User",null,null,this.getTagsForStencil("mxgraph.office.users","on premises user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.outlook_user;",
- 63,55,"","Outlook User",null,null,this.getTagsForStencil("mxgraph.office.users","outlook user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.response_group;",58,54,"","Response Group",null,null,this.getTagsForStencil("mxgraph.office.users","response group","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.role_group;",
- 59,56,"","Role Group",null,null,this.getTagsForStencil("mxgraph.office.users","role group","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.skype_commercial_user;",59,56,"","Skype Commercial User",null,null,this.getTagsForStencil("mxgraph.office.users","skype commercial user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.skype_for_business_user;",
- 59,56,"","Skype for Business User",null,null,this.getTagsForStencil("mxgraph.office.users","skype for business user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.tenant_admin;",56,58,"","Tenant Admin",null,null,this.getTagsForStencil("mxgraph.office.users","tenant admin","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.um_enabled_user;",
- 58,59,"","UM-Enabled User",null,null,this.getTagsForStencil("mxgraph.office.users","um enabled user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.universal_security_group;",58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.users","universal security group","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user;",
- 46,50,"","User",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user;fillColor=#2072B8;",46,50,"","User (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user;fillColor=#DA4026;",
- 46,50,"","User (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user;fillColor=#7FBA42;",46,50,"","User (green)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user;fillColor=#CCCBCB;",
- 46,50,"","User (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user;",32,35,"","User (small)",null,null,this.getTagsForStencil("mxgraph.office.users","user small","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users;",
- 46,50,"","Users",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users;fillColor=#2072B8;",46,50,"","Users (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users;fillColor=#DA4026;",
- 46,50,"","Users (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users;fillColor=#7FBA42;",46,50,"","Users (green)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users;fillColor=#CCCBCB;",
- 46,50,"","Users (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users_two;",57,43,"","Users, Two",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users_two;fillColor=#2072B8;",
- 57,43,"","Users, Two (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users_two;fillColor=#DA4026;",57,43,"","Users, Two (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users_two;fillColor=#7FBA42;",
- 57,43,"","Users, Two (green)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.users_two;fillColor=#CCCBCB;",57,43,"","Users, Two (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user_accounts;",
- 59,59,"","User Accounts",null,null,this.getTagsForStencil("mxgraph.office.users","user accounts","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user_external;",59,50,"","User External",null,null,this.getTagsForStencil("mxgraph.office.users","user external","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user_services;",
- 59,59,"","User Services",null,null,this.getTagsForStencil("mxgraph.office.users","user services","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.user_store;",50,55,"","User Store",null,null,this.getTagsForStencil("mxgraph.office.users","user store","office user ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.office.users.writer;",
- 54,59,"","Writer",null,null,this.getTagsForStencil("mxgraph.office.users","writer","office user ").join(" "))];this.addPalette("officeUsers","Office / Users",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addPidInstrumentsPalette=function(){var a="html=1;align=center;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2";this.addPaletteFunctions("pidInstruments","Proc. Eng. / Instruments",!1,[this.createVertexTemplateEntry(a+"inst.discInst;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
- "discInst","pid process instrumentation engineering instrument engineering discrete control room").join(" ")),this.createVertexTemplateEntry(a+"inst.discInst;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete field").join(" ")),
- this.createVertexTemplateEntry(a+"inst.discInst;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Discrete Instrument (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete inaccessible").join(" ")),this.createVertexTemplateEntry(a+"inst.discInst;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',
- "Discrete Instrument (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.sharedCont;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Shared Control/Display in DCS (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
- "sharedCont","pid process instrumentation engineering instrument engineering shared control display room").join(" ")),this.createVertexTemplateEntry(a+"inst.sharedCont;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Shared Control/Display in DCS (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs field").join(" ")),
- this.createVertexTemplateEntry(a+"inst.sharedCont;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Shared Control/Display in DCS (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs inaccessible").join(" ")),this.createVertexTemplateEntry(a+"inst.sharedCont;mounting=local",
- 50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Shared Control/Display in DCS (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.compFunc;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',
- "Computer Function (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function control room").join(" ")),this.createVertexTemplateEntry(a+"inst.compFunc;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Computer Function (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc",
- "pid process instrumentation engineering instrument engineering computer function field").join(" ")),this.createVertexTemplateEntry(a+"inst.compFunc;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Computer Function (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function inaccessible").join(" ")),
- this.createVertexTemplateEntry(a+"inst.compFunc;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Computer Function (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.progLogCont;mounting=room",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',
- "Programmable Logic Control (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc room").join(" ")),this.createVertexTemplateEntry(a+"inst.progLogCont;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Programmable Logic Control (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
- "progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc field").join(" ")),this.createVertexTemplateEntry(a+"inst.progLogCont;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Programmable Logic Control (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc inaccessible").join(" ")),
- this.createVertexTemplateEntry(a+"inst.progLogCont;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:width;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Programmable Logic Control (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.logic;mounting=room",
- 50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Logic (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering control room").join(" ")),this.createVertexTemplateEntry(a+"inst.logic;mounting=field",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',
- "Logic (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering field").join(" ")),this.createVertexTemplateEntry(a+"inst.logic;mounting=inaccessible",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Logic (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering inaccessible").join(" ")),
- this.createVertexTemplateEntry(a+"inst.logic;mounting=local",50,50,'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> ',"Logic (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.indicator;mounting=room;overflow=fill;indType=inst",50,100,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>',
- "Indicator (Instrument)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator").join(" ")),this.createVertexTemplateEntry(a+"inst.indicator;mounting=room;overflow=fill;indType=ctrl",50,100,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>',
- "Indicator (Control)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator control").join(" ")),this.createVertexTemplateEntry(a+"inst.indicator;mounting=room;overflow=fill;indType=func",50,100,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>',
- "Indicator (Function)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator function").join(" ")),this.createVertexTemplateEntry(a+"inst.indicator;mounting=room;overflow=fill;indType=plc",50,100,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>',
- "Indicator (PLC)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator plc programmable logic control").join(" "))])};Sidebar.prototype.addPidValvesPalette=function(){var a,b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2valves.valve;valveType=";a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;html=1;"+
- mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2valves.";this.addPaletteFunctions("pidValves","Proc. Eng. / Valves",!1,[this.createVertexTemplateEntry(b+"gate",100,60,"","Gate Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate").join(" ")),this.createVertexTemplateEntry(b+"gate;defState=closed",100,60,"","Normally Closed Gate Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve",
- "pid process instrumentation engineering normally closed nc gate").join(" ")),this.createVertexTemplateEntry(b+"ball",100,60,"","Ball Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering ball").join(" ")),this.createVertexTemplateEntry(b+"ball;defState=closed",100,60,"","Normally Closed Ball Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering normally closed nc ball").join(" ")),this.createVertexTemplateEntry(b+
- "globe",100,60,"","Globe Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering globe").join(" ")),this.createVertexTemplateEntry(b+"butterfly",100,60,"","Butterfly Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering butterfly").join(" ")),this.createVertexTemplateEntry(b+"check;",100,60,"","Check Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering check").join(" ")),
- this.createVertexTemplateEntry(b+"plug",100,60,"","Plug Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering plug").join(" ")),this.createVertexTemplateEntry(b+"needle",100,60,"","Needle Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering needle").join(" ")),this.createVertexTemplateEntry(b+"selfDrain",100,60,"","Self Draining Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves",
- "valve","pid process instrumentation engineering self draining").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=man",100,100,"","Gate Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate manual").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=diaph",100,100,"","Gate Valve (Diaphragm)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate diaphragm").join(" ")),
- this.createVertexTemplateEntry(b+"gate;actuator=balDiaph",100,100,"","Gate Valve (Balanced Diaphragm)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate balanced diaphragm").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=digital",100,100,"","Gate Valve (Digital)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate digital").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=elHyd",
- 100,100,"","Gate Valve (Electro-Hydraulic)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate electro hydraulic").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=key",100,100,"","Gate Valve (Key)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate key").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=motor",100,100,"","Gate Valve (Motor)",null,null,this.getTagsForStencil("mxgraph.pid2valves",
- "valve","pid process instrumentation engineering gate motor").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=pilot",100,100,"","Gate Valve (Pilot)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate pilot").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=solenoid",100,100,"","Gate Valve (Solenoid)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate solenoid").join(" ")),
- this.createVertexTemplateEntry(b+"gate;actuator=solenoidManRes",100,100,"","Gate Valve (Solenoid With Manual Reset)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate solenoid manual reset").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=spring",100,100,"","Gate Valve (Spring)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate spring").join(" ")),this.createVertexTemplateEntry(b+
- "gate;actuator=weight",100,100,"","Gate Valve (Weight)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate weight").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=singActing",100,100,"","Gate Valve (Single Acting Cylinder)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate single acting cylinder").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=dblActing",100,100,
- "","Gate Valve (Double Acting Cylinder)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate double acting cylinder").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=angBlow",100,100,"","Angle Blowdown Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle blowdown").join(" ")),this.createVertexTemplateEntry(a+"blockBleedValve;actuator=none",100,130,"","Integrated Block and Bleed Valve",
- null,null,this.getTagsForStencil("mxgraph.pid2valves","blockBleedValve","pid process instrumentation engineering integrated block bleed").join(" ")),this.createVertexTemplateEntry(a+"blockBleedValve;actuator=man",100,170,"","Integrated Block and Bleed Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","blockBleedValve","pid process instrumentation engineering integrated block bleed manual").join(" ")),this.createVertexTemplateEntry(b+"angle;actuator=none",100,80,"","Angle Valve",
- null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle").join(" ")),this.createVertexTemplateEntry(b+"angle;actuator=man",100,120,"","Angle Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle manual").join(" ")),this.createVertexTemplateEntry(b+"angleGlobe;actuator=none",100,80,"","Angle Globe Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle globe").join(" ")),
- this.createVertexTemplateEntry(b+"angleGlobe;actuator=man",100,120,"","Angle Globe Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle globe manual").join(" ")),this.createVertexTemplateEntry(b+"threeWay;actuator=none",100,80,"","3 Way Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering three way").join(" ")),this.createVertexTemplateEntry(b+"threeWay;actuator=man",100,
- 120,"","3 Way Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering three way manual").join(" ")),this.createVertexTemplateEntry(a+"autoRecircValve",100,60,"","Auto Recirculation Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","blockBleedValve","pid process instrumentation engineering auto recirculation").join(" "))])};Sidebar.prototype.addPidCompressorsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+
- "=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.compressors.";this.addPaletteFunctions("pidCompressors","Proc. Eng. / Compressors",!1,[this.createVertexTemplateEntry(a+"ac_air_compressor",100,65,"","AC Air Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","ac_air_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"centrifugal_compressor",70,70,"","Centrifugal Compressor",
- null,null,this.getTagsForStencil("mxgraph.pid.compressors","centrifugal_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.pid.compressors.centrifugal_compressor_-_turbine_driven;dashed=0;fontSize=8;html=1;overflow=fill;",100,70,'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr style="height:25%;"><td></td></tr><tr style="height:75%;"><td align="left" style="padding-left:11%;width:100%">T</td></tr></table>',
- "Centrifugal Compressor - Turbine Driven",null,null,this.getTagsForStencil("mxgraph.pid.compressors","centrifugal_compressor_-_turbine_driven","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"compressor",100,100,"","Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"compressor_and_silencers",90,80,"","Compressor and Silencers",null,null,
- this.getTagsForStencil("mxgraph.pid.compressors","compressor_and_silencers","pid process instrumentation engineering silencer").join(" ")),this.createVertexTemplateEntry(a+"liquid_ring_compressor",90,90,"","Liquid Ring Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","liquid_ring_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"reciprocating_compressor",100,40,"","Reciprocating Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors",
- "reciprocating_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"reciprocating_compressor_2",50,65,"","Reciprocating Compressor 2",null,null,this.getTagsForStencil("mxgraph.pid.compressors","reciprocating_compressor_2","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"rotary_compressor",42,91,"","Rotary Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","rotary_compressor","pid process instrumentation engineering ").join(" "))])};
- Sidebar.prototype.addPidEnginesPalette=function(){var a="dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.engines.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.engines.";this.addPaletteFunctions("pidEngines","Proc. Eng. / Engines",!1,[this.createVertexTemplateEntry(a+"electric_motor;fontSize=45;",100,100,"M","Electric Motor",null,null,this.getTagsForStencil("mxgraph.pid.engines",
- "electric_motor","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"electric_motor_(ac);fontSize=45;",100,100,"M","Electric Motor (AC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","electric_motor_(ac)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"electric_motor_(dc);fontSize=45;",100,100,"M","Electric Motor (DC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","electric_motor_(dc)","pid process instrumentation engine motor ").join(" ")),
- this.createVertexTemplateEntry(a+"gear;fontSize=45;",100,100,"G","Gear",null,null,this.getTagsForStencil("mxgraph.pid.engines","gear","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"generator;fontSize=45;",100,100,"G","Generator",null,null,this.getTagsForStencil("mxgraph.pid.engines","generator","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"generator_(ac);fontSize=45;",100,100,"G","Generator (AC)",null,null,this.getTagsForStencil("mxgraph.pid.engines",
- "generator_(ac)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"generator_(dc);fontSize=45;",100,100,"G","Generator (DC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","generator_(dc)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(b+"turbine",70,100,"","Turbine",null,null,this.getTagsForStencil("mxgraph.pid.engines","turbine","pid process instrumentation engine motor ").join(" "))])};Sidebar.prototype.addPidFiltersPalette=
- function(){var a="html=1;dashed=0;align=center;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.filters.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.filters.";this.addPaletteFunctions("pidFilters","Proc. Eng. / Filters",!1,[this.createVertexTemplateEntry(b+"filter;",50,50,"","Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","filter","pid process instrumentation filter ").join(" ")),
- this.createVertexTemplateEntry(b+"gas_filter;",50,100,"","Gas Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"gas_filter_(bag,_candle,_cartridge);",50,100,"","Gas Filter (Bag, Candle, Cartridge)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(bag,_candle,_cartridge)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"gas_filter_(belt,_roll);",
- 50,100,"","Gas Filter (Belt, Roll)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(belt,_roll)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"gas_filter_(fixed_bed);",50,100,"","Gas Filter (Fixed Bed)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(fixed_bed)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(a+"gas_filter_(hepa);",50,100,"HEPA","Gas Filter (HEPA)",null,null,this.getTagsForStencil("mxgraph.pid.filters",
- "gas_filter_(hepa)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_filter;",50,100,"","Liquid Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_Filter_(bag,_candle,_cartridge);",50,100,"","Liquid Filter (Bag, Candle, Cartridge)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_Filter_(bag,_candle,_cartridge)","pid process instrumentation filter ").join(" ")),
- this.createVertexTemplateEntry(b+"liquid_filter_(belt,_roll);",50,100,"","Liquid Filter (Belt, Roll)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(belt,_roll)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(a+"liquid_filter_(biological);",50,100,"BIO","Liquid Filter (Biological)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(biological)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+
- "liquid_filter_(fixed_bed);",50,100,"","Liquid Filter (Fixed Bed)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(fixed_bed)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(a+"liquid_filter_(ion_exchanger);",50,100,"ION","Liquid Filter (Ion Exchanger)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(ion_exchanger)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_filter_(rotary,_drum_or_disc);",
- 50,100,"","Liquid Filter (Rotary, Drum or Disc)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(rotary,_drum_or_disc)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_filter_(rotary,_drum_or_disc,_scraper);",55,100,"","Liquid Filter (Rotary, Drum or Disc, Scraper)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(rotary,_drum_or_disc,_scraper)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+
- "press_filter;",100,50,"","Press Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","press_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"suction_filter;",50,100,"","Suction Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","suction_filter","pid process instrumentation filter ").join(" "))])};Sidebar.prototype.addPidFlowSensorsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+
- mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.flow_sensors.";this.addPaletteFunctions("pidFlow Sensors","Proc. Eng. / Flow Sensors",!1,[this.createVertexTemplateEntry(a+"averging_pitot_tube;",50,50,"","Averging Pitot Tube",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","averging_pitot_tube","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"coriolis;",50,50,"","Coriolis",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",
- "coriolis","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"flow_nozzle;",50,25,"","Flow Nozzle",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","flow_nozzle","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"flume;",50,50,"","Flume",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","flume","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.pid.flow_sensors.magnetic;dashed=0;align=center;html=1;fontSize=25;",
- 50,50,"M","Magnetic",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","magnetic","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"pitot_tube;",50,50,"","Pitot Tube",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","pitot_tube","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"positive_displacement;",50,30,"","Positive Displacement",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","positive_displacement",
- "process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"rotameter;",75,50,"","Rotameter",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","rotameter","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"target;",50,50,"","Target",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","target","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"turbine;",50,50,"","Turbine",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",
- "turbine","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"ultrasonic;",50,50,"","Ultrasonic",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","ultrasonic","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"v-cone;",50,50,"","V-cone",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","v-cone","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"venturi;",50,40,"","Venturi",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",
- "venturi","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"vortex;",50,50,"","Vortex",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","vortex","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"wedge;",50,50,"","Wedge",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","wedge","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"weir;",50,50,"","Weir",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",
- "weir","process instrumentation sensor ").join(" "))])};Sidebar.prototype.addPidPipingPalette=function(){var a="html=1;dashed=0;align=center;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.";this.addPaletteFunctions("pidPiping","Proc. Eng. / Piping",!1,[this.createVertexTemplateEntry(b+"basket_strainer;",50,45,"","Basket Strainer",
- null,null,this.getTagsForStencil("mxgraph.pid.piping","basket_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"blank;",20,60,"","Blank",null,null,this.getTagsForStencil("mxgraph.pid.piping","blank","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"breather;",50,30,"","Breather",null,null,this.getTagsForStencil("mxgraph.pid.piping","breather","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"cap;",
- 10,20,"","Cap",null,null,this.getTagsForStencil("mxgraph.pid.piping","cap","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"closed_figure_8_blind;",20,80,"","Closed Figure 8 Blind",null,null,this.getTagsForStencil("mxgraph.pid.piping","closed_figure_8_blind","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"concentric_reducer;",20,20,"","Concentric Reducer",null,null,this.getTagsForStencil("mxgraph.pid.piping","concentric_reducer","process instrumentation piping ").join(" ")),
- this.createVertexTemplateEntry(b+"cone_strainer;",30,30,"","Cone Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","cone_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"damper;",50,20,"","Damper",null,null,this.getTagsForStencil("mxgraph.pid.piping","damper","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"desuper_heater;",50,50,"DS","Desuper Heater",null,null,this.getTagsForStencil("mxgraph.pid.piping","desuper_heater",
- "process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"detonation_arrestor;",50,20,"D","Detonation Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.piping","detonation_arrestor","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"diverter_valve;",50,35,"","Diverter Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","diverter_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"double_flange;",5,
- 20,"","Double Flange",null,null,this.getTagsForStencil("mxgraph.pid.piping","double_flange","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"duplex_strainer;",50,40,"","Duplex Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","duplex_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"eccentric_reducer;",20,15,"","Eccentric Reducer",null,null,this.getTagsForStencil("mxgraph.pid.piping","eccentric_reducer","process instrumentation piping ").join(" ")),
- this.createVertexTemplateEntry(b+"excess_flow_valve;",50,25,"","Excess Flow Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","excess_flow_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"exhaust_head;",50,40,"","Exhaust Head",null,null,this.getTagsForStencil("mxgraph.pid.piping","exhaust_head","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"expansion_joint;",50,20,"","Expansion Joint",null,null,this.getTagsForStencil("mxgraph.pid.piping",
- "expansion_joint","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"flame_arrestor;",50,20,"F","Flame Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.piping","flame_arrestor","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"flange;",5,20,"","Flange",null,null,this.getTagsForStencil("mxgraph.pid.piping","flange","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"flange_in;",10,20,"","Flange In",null,null,
- this.getTagsForStencil("mxgraph.pid.piping","flange_in","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"flexible_hose;",50,25,"","Flexible Hose",null,null,this.getTagsForStencil("mxgraph.pid.piping","flexible_hose","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"hose_connection;",20,20,"","Hose Connection",null,null,this.getTagsForStencil("mxgraph.pid.piping","hose_connection","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+
- "in-line_mixer;",50,10,"","In-Line Mixer",null,null,this.getTagsForStencil("mxgraph.pid.piping","in-line_mixer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"in-line_silencer;",50,20,"S","In-Line Silencer",null,null,this.getTagsForStencil("mxgraph.pid.piping","in-line_silencer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"open_figure_8_blind;",20,80,"","Open Figure 8 Blind",null,null,this.getTagsForStencil("mxgraph.pid.piping","open_figure_8_blind",
- "process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"orifice_(quick_change);",10,50,"","Orifice (Quick Change)",null,null,this.getTagsForStencil("mxgraph.pid.piping","orifice_(quick_change)","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"plug;",10,10,"","Plug",null,null,this.getTagsForStencil("mxgraph.pid.piping","plug","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"pulsation_dampener;",50,150,"","Pulsation Dampener",
- null,null,this.getTagsForStencil("mxgraph.pid.piping","pulsation_dampener","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.removable_spool;html=1;overflow=fill;",50,30,'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td valign="bottom" align="center">RS</td></tr></table>',"Removable Spool",null,null,this.getTagsForStencil("mxgraph.pid.piping","removable_spool",
- "process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"rotary_valve;",50,20,"","Rotary Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","rotary_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"spacer;",20,60,"","Spacer",null,null,this.getTagsForStencil("mxgraph.pid.piping","spacer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"steam_trap;",50,50,"T","Steam Trap",null,null,this.getTagsForStencil("mxgraph.pid.piping",
- "steam_trap","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"t-type_strainer;",20,35,"","T-Type Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","t-type_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"temporary_strainer;",30,30,"","Temporary Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","temporary_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"vent_silencer;",
- 20,80,"S","Vent Silencer",null,null,this.getTagsForStencil("mxgraph.pid.piping","vent_silencer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"welded_connection;",50,20,"","Welded Connection",null,null,this.getTagsForStencil("mxgraph.pid.piping","welded_connection","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"y-type_strainer;",50,35,"","Y-Type Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","y-type_strainer","process instrumentation piping ").join(" "))])};
- Sidebar.prototype.addPidMiscPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.misc.";this.addPaletteFunctions("pidMisc","Proc. Eng. / Misc",!1,[this.createVertexTemplateEntry(a+"misc.fan;fanType=common",
- 50,50,"","Fan",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan","process instrumentation ").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=common",50,120,"","Column",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation ").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=tray",50,120,"","Column (Tray)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation tray").join(" ")),this.createVertexTemplateEntry(a+
- "misc.column;columnType=fixed",50,180,"","Column (Fixed Bed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation fixed bed").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=fluid",50,120,"","Column (Fluidized Bed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation fluidized bed").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=baffle",50,120,"","Column (Staggered Baffle Trays)",null,null,
- this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation staggered baffle tray").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=bubble",50,120,"","Column (Bubble Cap Trays)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation bubble cap tray").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=valve",50,120,"","Column (Valve Trays)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation valve tray").join(" ")),
- this.createVertexTemplateEntry(a+"misc.column;columnType=nozzle",50,180,"","Column (Fixed Bed, Spray Nozzle)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation fixed bed spray nozzle").join(" ")),this.createVertexTemplateEntry(a+"misc.conveyor",200,50,"","Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"aerator_with_sparger;",35,100,"","Aerator With Sparger",null,null,
- this.getTagsForStencil("mxgraph.pid.misc","aerator_with_sparger","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"air_cooler;",70,20,"","Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","air_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"air_filter;",40,65,"","Air Filter",null,null,this.getTagsForStencil("mxgraph.pid.misc","air_filter","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"air_separator;",65.5,
- 106,"","Air Separator",null,null,this.getTagsForStencil("mxgraph.pid.misc","air_separator","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"back_draft_damper;",62,32,"","Back Draft Damper",null,null,this.getTagsForStencil("mxgraph.pid.misc","back_draft_damper","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"bag_filling_machine;",80,100,"","Bag Filling Machine",null,null,this.getTagsForStencil("mxgraph.pid.misc","bag_filling_machine","process instrumentation ").join(" ")),
- this.createVertexTemplateEntry(b+"belt_skimmer;",70,98,"","Belt Skimmer",null,null,this.getTagsForStencil("mxgraph.pid.misc","belt_skimmer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"bin;",100,65,"","Bin",null,null,this.getTagsForStencil("mxgraph.pid.misc","bin","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"boiler_(dome);",100,120,"","Boiler (Dome)",null,null,this.getTagsForStencil("mxgraph.pid.misc","boiler_(dome)","process instrumentation ").join(" ")),
- this.createVertexTemplateEntry(b+"boiler_(dome,_hot_liquid);",100,120,"","Boiler (Dome, Hot Liquid)",null,null,this.getTagsForStencil("mxgraph.pid.misc","boiler_(dome,_hot_liquid)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"box_truck;",120,80,"","Box Truck",null,null,this.getTagsForStencil("mxgraph.pid.misc","box_truck","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"bucket_elevator;",65,200,"","Bucket Elevator",null,null,this.getTagsForStencil("mxgraph.pid.misc",
- "bucket_elevator","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"chiller;",155,115,"","Chiller",null,null,this.getTagsForStencil("mxgraph.pid.misc","chiller","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"combustion_chamber;",130,100,"","Combustion Chamber",null,null,this.getTagsForStencil("mxgraph.pid.misc","combustion_chamber","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor;",200,60,"","Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc",
- "conveyor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(belt);",200,50,"","Conveyor (Belt)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(belt,_closed);",240,80,"","Conveyor (Belt, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(belt,_closed,_reversible);",
- 240,80,"","Conveyor (Belt, Closed, Reversible)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt,_closed,_reversible)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(chain,_closed);",240,80,"","Conveyor (Chain, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(chain,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(screw,_closed);",220,80,"","Conveyor (Screw, Closed)",null,null,
- this.getTagsForStencil("mxgraph.pid.misc","conveyor_(screw,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(vibrating,_closed);",240,80,"","Conveyor (Vibrating, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(vibrating,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooler;",85,90,"","Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+
- "cooling_tower",100,120,"","Cooling Tower",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(dry,_forced_draught);",100,120,"","Cooling Tower (Dry, Forced Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(dry,_forced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(dry,_induced_draught);",100,120,"","Cooling Tower (Dry, Induced Draught)",
- null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(dry,_induced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(dry,_natural_draught);",100,120,"","Cooling Tower (Dry, Natural Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(dry,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(wet,_forced_draught);",100,120,"","Cooling Tower (Wet, Forced Draught)",
- null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet,_forced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(wet,_induced_draught);",100,120,"","Cooling Tower (Wet, Induced Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet,_induced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(wet,_natural_draught);",100,120,"","Cooling Tower (Wet, Natural Draught)",
- null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(wet-dry,_natural_draught);",100,120,"","Cooling Tower (Wet-Dry, Natural Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet-dry,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"covered_gas_vent;",80,100,"","Covered Gas Vent",null,null,this.getTagsForStencil("mxgraph.pid.misc",
- "covered_gas_vent","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"crane;",100,100,"","Crane",null,null,this.getTagsForStencil("mxgraph.pid.misc","crane","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"curved_gas_vent;",30,70,"","Curved Gas Vent",null,null,this.getTagsForStencil("mxgraph.pid.misc","curved_gas_vent","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cyclone;",100,80,"","Cyclone",null,null,this.getTagsForStencil("mxgraph.pid.misc",
- "cyclone","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"dryer;",80,100,"","Dryer",null,null,this.getTagsForStencil("mxgraph.pid.misc","dryer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"elevator_(bucket);",160,250,"","Elevator (Bucket)",null,null,this.getTagsForStencil("mxgraph.pid.misc","elevator_(bucket)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"elevator_(bucket,_z-form);",430,250,"","Elevator (Bucket, Z-Form)",
- null,null,this.getTagsForStencil("mxgraph.pid.misc","elevator_(bucket,_z-form)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"fan;",100,100,"","Fan",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"fan_2;",58,8,"","Fan 2",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan_2","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"filter;",100,100,"","Filter",null,null,
- this.getTagsForStencil("mxgraph.pid.misc","filter","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"filter_2;",100,100,"","Filter 2",null,null,this.getTagsForStencil("mxgraph.pid.misc","filter_2","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"firing_system,_burner;",100,100,"","Firing System, Burner",null,null,this.getTagsForStencil("mxgraph.pid.misc","firing_system,_burner","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"flame_arrestor;",
- 100,40,"","Flame Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.misc","flame_arrestor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"flexible_pipe;",60,16,"","Flexible Pipe",null,null,this.getTagsForStencil("mxgraph.pid.misc","flexible_pipe","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"forced_flow_air_cooler;",70,30,"","Forced Flow Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","forced_flow_air_cooler","process instrumentation ").join(" ")),
- this.createVertexTemplateEntry(b+"forklift_(manual);",140,100,"","Forklift (Manual)",null,null,this.getTagsForStencil("mxgraph.pid.misc","forklift_(manual)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"forklift_(truck);",140,100,"","Forklift (Truck)",null,null,this.getTagsForStencil("mxgraph.pid.misc","forklift_(truck)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"funnel",40,80,"","Funnel",null,null,this.getTagsForStencil("mxgraph.pid.misc",
- "funnel","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"gas_flare;",60,100,"","Gas Flare",null,null,this.getTagsForStencil("mxgraph.pid.misc","gas_flare","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"induced_flow_air_cooler;",93,30,"","Induced Flow Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","induced_flow_air_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"industrial_truck;",120,20,"","Industrial Truck",
- null,null,this.getTagsForStencil("mxgraph.pid.misc","industrial_truck","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"lift;",100,100,"","Lift",null,null,this.getTagsForStencil("mxgraph.pid.misc","lift","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"loading_arm;",120,80,"","Loading Arm",null,null,this.getTagsForStencil("mxgraph.pid.misc","loading_arm","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"mixer;",80,100,"","Mixer",
- null,null,this.getTagsForStencil("mxgraph.pid.misc","mixer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"palletizer;",80,100,"","Palletizer",null,null,this.getTagsForStencil("mxgraph.pid.misc","palletizer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"protective_palette_covering;",80,100,"","Protective Palette Covering",null,null,this.getTagsForStencil("mxgraph.pid.misc","protective_palette_covering","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+
- "roller_conveyor;",160,20,"","Roller Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc","roller_conveyor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"rolling_bin;",100,65,"","Rolling Bin",null,null,this.getTagsForStencil("mxgraph.pid.misc","rolling_bin","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"rotary_screen;",100,65,"","Rotary Screen",null,null,this.getTagsForStencil("mxgraph.pid.misc","rotary_screen","process instrumentation ").join(" ")),
- this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer;",80,120,"","Screening Device, Sieve, Strainer",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(basket_reel);",80,180,"","Screening Device, Sieve, Strainer (Basket Reel)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(basket_reel)","process instrumentation ").join(" ")),
- this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(coarse_and_fine_screens);",80,120,"","Screening Device, Sieve, Strainer (Coarse and Fine Screens)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(coarse_and_fine_screens)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(coarse_rake);",80,120,"","Screening Device, Sieve, Strainer (Coarse Rake)",null,null,this.getTagsForStencil("mxgraph.pid.misc",
- "screening_device,_sieve,_strainer_(coarse_rake)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(fine_rake);",80,120,"","Screening Device, Sieve, Strainer (Fine Rake)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(fine_rake)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(rotating_drum)",80,120,"","Screening Device, Sieve, Strainer (Rotating Drum)",
- null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(rotating_drum)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(vibrating);",80,120,"","Screening Device, Sieve, Strainer (Vibrating)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(vibrating)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"ship",105,60,"","Ship",null,null,this.getTagsForStencil("mxgraph.pid.misc",
- "ship","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"silencer;",100,30,"","Silencer",null,null,this.getTagsForStencil("mxgraph.pid.misc","silencer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"spraying_device;",60,20,"","Spraying Device",null,null,this.getTagsForStencil("mxgraph.pid.misc","spraying_device","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"spray_cooler;",100,120,"","Spray Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc",
- "spray_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"stack,_chimney;",60,100,"","Stack, Chimney",null,null,this.getTagsForStencil("mxgraph.pid.misc","stack,_chimney","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"steam_trap;",53,53,"","Steam Trap",null,null,this.getTagsForStencil("mxgraph.pid.misc","steam_trap","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"tank_car,_tank_wagon;",127,80,"","Tank Car, Tank Wagon",
- null,null,this.getTagsForStencil("mxgraph.pid.misc","tank_car,_tank_wagon","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"viewing_glass;",80,50,"","Viewing Glass",null,null,this.getTagsForStencil("mxgraph.pid.misc","viewing_glass","process instrumentation ").join(" "))])}})();(function(){Sidebar.prototype.addRackGeneralPalette=function(){this.addPaletteFunctions("rackGeneral","Rack / General",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;",180,228.6,"","Rack Cabinet",null,null,"rack equipment cabinet"),
- this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;",210,228.6,"","Numbered Rack Cabinet",null,null,"rack equipment cabinet numbered"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;text;",
- 160,15,"","Spacing",null,null,"rack equipment spacing"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rackGeneral.plate;fillColor=#e8e8e8;",160,15,"","Cover Plate",null,null,"rack equipment cover plate"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.general.1u_rack_server;",160,
- 15,"","Server",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rackGeneral.horCableDuct;",160,15,"","Horizontal Cable Duct",null,null,"rack equipment horizontal cable duct"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rackGeneral.horRoutingBank;",160,
- 20,"","Horizontal Routing Bank",null,null,"rack equipment horizontal routing bank"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rackGeneral.neatPatch;",160,30,"","Neat-Patch",null,null,"rack equipment neat patch"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rackGeneral.shelf;container=1;collapsible=0",
- 160,15,"","Shelf",null,null,"rack equipment shelf"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rackGeneral.channelBase;",200,30,"","Channel Base",null,null,"rack equipment channel base"),this.createVertexTemplateEntry("shape=mxgraph.rackGeneral.cabinetLeg;html=1;shadow=0;dashed=0;fillColor=#444444;strokeColor=#444444;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",
- 50,50,"","Cabinet Leg",null,null,"rack equipment cabinet leg support"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.general.cat5e_enhanced_patch_panel_48_ports;",160,30,"","CAT5e Enhanced Patch Panel 48 ports",null,null,"rack equipment cat5e enhanced patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.general.cat5e_rack_mount_patch_panel_24_ports;",
- 160,15,"","CAT5e Rack Mount Patch Panel 24 ports",null,null,"rack equipment cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.general.cat5e_rack_mount_patch_panel_96_ports;",160,60,"","CAT5e Rack Mount Patch Panel 96 ports",null,null,"rack equipment cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.general.hub;",
- 160,30,"","Hub",null,null,"rack equipment hub"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;shape=mxgraph.rack.general.server_1;",73,150,"","Server 1",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;shape=mxgraph.rack.general.server_2;",73,150,"","Server 2",
- null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;shape=mxgraph.rack.general.server_3;",73,150,"","Server 3",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.general.switches_1;",160,30,"","Switches 1",null,null,"rack equipment server"),
- this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.general.switches_2;",160,30,"","Switches 2",null,null,"rack equipment server")])};Sidebar.prototype.addRackF5Palette=function(){this.addPaletteFunctions("rackF5","Rack / F5",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.arx_500;",
- 168,20,"","ARX 500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.arx_1000;",168,40,"","ARX 1000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.arx_1500;",168,20,"","ARX 1500",null,null,"rack equipment arx"),
- this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.arx_2000;",168,40,"","ARX 2000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.arx_2500;",168,20,"","ARX 2500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.arx_4000;",
- 168,60,"","ARX 4000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.arx_5000;",168,20,"","ARX 5000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.arx_6000;",168,240,"","ARX 6000",null,null,"rack equipment arx"),
- this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_1600;",168,20,"","BIG-IP 1600",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_2x00;",168,20,"","BIG-IP 2x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_3600;",
- 168,20,"","BIG-IP 3600",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_3900;",168,20,"","BIG-IP 3900",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_4x00;",168,20,"","BIG-IP 4x00",null,
- null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_5x00;",168,20,"","BIG-IP 5x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_6900;",168,40,"","BIG-IP 6900",null,null,"rack equipment big ip"),
- this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_89x0;",168,40,"","BIG-IP 89x0",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_7x00;",168,40,"","BIG-IP 7x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_10x00;",
- 168,40,"","BIG-IP 10x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.big_ip_110x0;",168,60,"","BIG-IP 110x0",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.em_4000;",168,20,"","EM 4000",null,null,
- "rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.firepass_1200;",168,20,"","FirePass 1200",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.firepass_4100;",168,40,"","FirePass 4100",null,null,"rack equipment big ip"),
- this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.viprion_2400;",168,60,"","VIPRION 2400",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.viprion_4400;",168,120,"","VIPRION 4400",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;shape=mxgraph.rack.f5.viprion_4800;",
- 168,320,"","VIPRION 4800",null,null,"rack equipment big ip")])}})();(function(){Sidebar.prototype.addSysMLModelElementsPalette=function(a){var b=[this.addDataEntry("sysml model element comment",180,80,"Comment","1ZS7bsMgFIafhrXCOJGytk6bpZUqZWlHFE4NEgYLn8ROn74Hg5I4FylDlg6W///cgM8WrKyaYRVkqz+8AsvKV1ZWwXtMqhkqsJYJbhQrl0wITg8TbzeyxZjlrQzg8J4GkRp20m4hRSrfNLFZcIQBU7rDvc3pTss2SueRXi+d+Y2umJOW1tSOjIUfjKlWboyr30e3LDiFNDY2apK9NghrKontPZ2fYnkvEGjlm+cZQ/kwK/ANYNhTyT5lZ+m4vDcKdW6Y55gGU2uc1sku+fow6QiLROZ1nV15we6CFqga1tk67yIxcOo5BN+fRAaDX2T50yy77+hIK9lpUJnYCby0Thw+wdT5bdjA5MPeQW6KOoCVaHbTwdco5UGf3ow/S54izriiDDVgLjpDe9jDXbRnD6e9+Pe0i8WjcJM9Xjqp/PRO+gM="),
- this.addDataEntry("sysml model element constraint note",180,80,"Constraint Note","1ZQxb8IwEIV/jVcUO1BYIaUsVKrE0o4WvsaWHDtyDEn663uOLSAUJAaWDlHuPd8921+kkLyouo3jtXy3AjTJ1yQvnLU+VlVXgNaEZUqQ/JUwluFD2NudVTqsZjV3YPwjAywOHLk+QHTIfFVQki/RxXJLyRzdbE0nXXDYS4m5q+CwST+shfnG9zrNN5LXoTTW42vVqJ+g6AxrrlVpUGj4DiFNzffKlNtBvdIMLekrHWosW6k87LAljLcIaNh2OCw4D93dCw9Wuu0GbAXe9djSx9Vp5JG1SniZBmbJk6BK6cd9vIm6PCWdaWKRgN6Gm/+Fe00LRAm7JI01gRgYsXTOthdOp/wnymwyTeorKKwFbySIROwCXtwnhI8wNfbg9jD68g+QG6N2oLlXx3HwLUop6MMqzD+lsCuunrsSfGq6Qns6w0O0p0+nvfj3tOniWbhRnv9Ksf3yp/UL"),
- this.addDataEntry("sysml model element constraint textual note",160,60,"Constraint Textual Note","lVNNb8MgDP01SNuNgtSel6TrZZMm9bAzTdyASiAidEn362cCaZV+SN0ByX72g+dnQXjeDBsnWvlpK9CErwnPnbU+Rs2Qg9aEUVURXhDGKB7C3h9UF2OVtsKB8c8QWCT8CH2EiKw1NEjGm5aE8QUlPHsR5oRNdVCpShH4BsW+Rm7nTzpxOynaEDoo8fWs884e4FtVXiLIENlb47epf4G59I1OYS+Vh20rylDr8SnEhFa1wbREQeAQSGrBeRgeTjxCadwN2Aa8C/L7pCN0LKMrVIKqZaJNmOhiXp+pF/8wSBbet5Pf2ElWWWkNOiEU6mMUhXuyKm6sm0bVsPdzY8K0wfW31NGoqgqsTIsd6C/bKa9sKLg4y5nwcVWfEzNRHmpnj6bKrbZobmGsgWlH6ndcUbIEJzC4UrGb1NKnFsHuL2K4WsIpefd//zG9fJWxNvtJfw=="),
- this.addDataEntry("sysml model element constraint textual note",160,0,"Constraint Textual Note","lVNBbsIwEHyNj5WMI5UzCS2nSpU49GySJVg4XuQsNPD6rmNDSBskerDkHc+s7RlbZEXTrbw+7D6wAiuyN5EVHpHirOkKsFYoaSqRLYVSkodQ7w9WZ/2qPGgPjp4RqCg4aXuEiIh5XqJryWvDLZQk6EjMl5HX0tkm3gk8mVLbhTW1Y2iDRNiILN9Rw9dYzngKrlp4j99cOnQQkKqGdWqSIKs3YHNd7muPR1cVaNEPq1t0tDaXwJ9JrvlguIcvU9GOIcVIPFlo/NCDHkoGrAAbIH9migeryZzGOt3Gsr7xbtJPjJZcKS0efQkJvTf5SuxS51c57k3a10B/hDy5O98A9ZlN55dN5adduF0dHlVIqDeD7ZoI0UNrLnrTl3KcnU65Wtiyi/nvuAkP/84ubs+vy0FJadfbC5VhB+geZqimM0yCl6R4OtKR54PBXA6fL+Zx/zd/AA=="),
- this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.composite;symbol0=folder;fontStyle=1;spacingTop=15;tabWidth=80;tabHeight=20;tabPosition=left;symbol1=triangle;symbol1Width=7;symbol1Height=10;symbol1Align=right;symbol1VerticalAlign=top;symbol1Spacing=8;symbol1VSpacing=25;symbol1Direction=north;strokeWidth=2;whiteSpace=wrap;align=center;",160,90,"Model","Model",null,null,this.getTagsForStencil("","","sysml model element model").join(" ")),this.addDataEntry("sysml model element package diagram",
- 300,120,"Package Diagram","3VVNj5swEP01HHdlTBJpjyHp7h7aqmoOPZswGCsGu8YkpL++Y2wCaNlVKlU9VAqK580H4/dGQ5Tsqu7FMF1+UTnIKPkUJTujlPWnqtuBlBElIo+SfUQpwSeiz+94495LNDNQ23sSqE84M9mCRyK6kZiaaoQbe5Ue3vxsXUtpxQwXdZRsie5u5oNVGqHVFJJQYPw29nEWOvvApOAu1bvSsSieePjvX50NgD7xAcMrZGMc8b+vrIJJgB4D6Kx7WtoKqd3H6GtKph1addyx/thcm0o+anY8MY542h3EL+d/ImiElveh5QbDRM0/99Y+dhHqDKaQ6oJ2IZBaDLJGneCHyG0ZXmng2JpGnOE7NL44uTWJ6UjOu+r1UJDuBVQF1lwx5BKqozchXmFSguDlkBZkJ6zxAL/ljsOAhzAPy7ORLM1GRJP+3oc2C5zFb9geKC6UzMEs82ZZNlC0CvbrcIF45YFvqhFWqIkAhapt0KevMtH1UgoLB3yRc15Q2nsppssUDwlrn3H15ibwOhEgXhJg/Rf4X93HP/2/+X8iMwHoPxRgvSQAq9zNwsqZWqLSytgbxmcRy2sJcg6HYNaqdusH6nxrTL9PlAakPs1ZU0IeWHZciiOT27CY+s2bSpaBTHEcuFFtne+UVGZWctCMzjXzDbkuPlYHm1atOcJsL1hc9GAno/pWQwOSWdx7s+p/oAia46ew982+lL8B"),
- this.addDataEntry("sysml model element package tab",300,120,"Package (Tab)","3VVNj9sgEP01HCsRnGy1x3XS3T200qqp1DMxE4wWGwuP89Ff38GQjb1xVqlU9dCDZd4bZhjeQ8CyZXV48rIpvzkFlmVfWLb0zmEcVYclWMsEN4plKyYEp4+JxyvRWR/ljfRQ4y0JIibspO0gMi+yeJUaUqUWjzYF2lI2Ybh1VoFnWX5Ym1+BuOcEpDW6JmBhSwvnbSMLU+uvPVrNJmbswKMppH1INLrmIm9xZn6E8OrTnBiUm59GYUn4M4/4GYwuQ4ZIxItrDRo3WK/EyoZWQkn07hVONQLjoeh8a3bwHdq4qVAnaUONwuGqvj2VxH0CVwH6I03Zp+oUzXj0gJenLkNaMobLNhL6LfdsFw2SY9PuZRfuMXHHRNbrve42zc1eTvg1kHn+XubZ/JrMW1djOhd9lYHs+9IgrGmhENzTkb9VYjEt8SlhETOOEd4lXQcGzKYMWPwF/ee36S/+b/3v+ciA7B8asJgyQFZhZxb77Q2RqRrn8Y3ToxkJvTMKlIZ1grWr6ZdDrR68d3tiXAMkfa5kW4JKKk/fa1ZuwOZ0HLR3Xa2Wzjo/KnnyTIw9iw2FLj52h5p2nS9gdC+g9BpwcFQvPfRgJdK9N6r+B44QPD9WfWz0lv0G"),
- this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;strokeWidth=2;html=1;whiteSpace=wrap;align=center;",160,90,"Package1","Package (Name)",null,null,this.getTagsForStencil("","","sysml model element package name").join(" ")),this.createVertexTemplateEntry("shape=note;size=15;align=left;spacingLeft=10;html=1;whiteSpace=wrap;",160,60,"<<problem>>\nDescription","Problem",null,null,this.getTagsForStencil("","","sysml model element problem").join(" ")),this.createVertexTemplateEntry("shape=note;size=15;align=left;spacingLeft=10;html=1;whiteSpace=wrap;",
- 160,60,"<<rationale>>\nDescription","Rationale",null,null,this.getTagsForStencil("","","sysml model element rationale").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;",160,80,"\n<<view>>\n{viewpoint = View name}\nName","View (Name)",null,null,this.getTagsForStencil("","","sysml model element view name").join(" ")),this.createVertexTemplateEntry("shape=folder;html=1;tabWidth=80;tabHeight=40;tabPosition=left;align=left;verticalAlign=top;spacingLeft=10;whiteSpace=wrap;",
- 160,120,"<<view>>\nName","View",null,null,this.getTagsForStencil("","","sysml model element view").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",120,140,'<p style="margin:0px;margin-top:4px;text-align:center;"><<viewpoint>><br/><b>Name</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:left;">stakeholders="..."<br/>purpose="..."<br>concerns="..."<br>languages="..."<br>methods="..."</p>',"Viewpoint",null,null,this.getTagsForStencil("",
- "","sysml model element viewpoint").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<conform>>","Conform",null,this.getTagsForStencil("","","sysml model element conform").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<stereotype1>>\ndependency1","Dependency",null,this.getTagsForStencil("","","sysml model element dependency").join(" ")),
- this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<import>>","Public Package Import",null,this.getTagsForStencil("","","sysml model element public package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<access>>","Private Package Import",null,this.getTagsForStencil("","","sysml model element private package import").join(" ")),
- this.createEdgeTemplateEntry("edgeStyle=none;html=1;"+mxConstants.STYLE_STARTARROW+"=sysMLPackCont;startSize=12;"+mxConstants.STYLE_ENDARROW+"=none;",160,0,"","Package Containment",null,this.getTagsForStencil("","","sysml model element package containment").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endSize=12;endArrow=block;endFill=0;dashed=1;",160,0,"","Realization",null,this.getTagsForStencil("","","sysml model element realization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",
- 160,0,"<<refine>>","Refine",null,this.getTagsForStencil("","","sysml model element refine").join(" "))];this.addPalette("sysmlModel Elements","SysML / Model Elements",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addSysMLBlocksPalette=function(a){var b=[this.addDataEntry("sysml block block definition diagram",300,100,"Block Definition Diagram","1VbbjtMwEP2avCBtlUtbxGPTsvsCPFAkeHWSqWPVsYPj3vh6xrcm3bS7K1gESK0an5nxeM4ZTxply+b4oEhbf5QV8Ch7H2VLJaV2T81xCZxHacyqKFtFaRrjN0rvb1gTa41bokDolwSkLmBP+A4cEqVzjqF5i3CnT9zB8+87c6S8IYoyEWWLuD2el3datghNhxCHDfovEuen4ajvCGfUhDpT3m+KT9T/2tRFAIqqChiWUPR+sft8Ig10LSkhGbi1vVt6UUNa6wYJXiVo67SSW/jKKl0HpCat8WuO1Kgx6U5dwye4+ZZQxHNOCuDfjDOmznJfzMoXY07BBP1gV6vEeMg9qA2XB1xvGJKe5QrKnerYHj5Dx36YZPH5mOiMJN1U0UJewgeQDWh1QpeDLwCtWeyUjmtgtA5hASSdA+g5tm8KfPB9cb1HslGP5FyW22TEb6AQ6zScbKTQa281DA/oP9RMw9ooh8AB+R4wWmLRoF5KTHqdmBAwcxGnwJFbDmhLrtE2ewXWptdZS/8H1t7Ff4222Yg2PLce91qoW7n0Q5pM7awkfOFdCqm1bNAAolooZW+kkALsGMDNA1Yx0khRfanNgHOmtbumyTQA9/Ym2zRQUQhC+e0wgXfoL7Zxe1oHrEvuVAkXtw2TUdCDVrqtlgtQwInG2XIB/o4S85ESYxWUGWSk4GGWDVR4NCAfi2JfGW6o5jhjqZI7US0ll6qn014Fr4BvrVIKgffEpzy/3p7r99mTDN79KQrfjiiMJ5M3v8JiaPN/mcZXYhGX/f8fa7v4e/QT"),
- this.addDataEntry("sysml block relation",160,0,"Relation","zVRNb8IwDP01vUwaCi3aHcrgNGkS+wOhMW20NEapYYVfP9MmLVVh2qYddqjkPNvPHy9NlKRlvXZyX7ygAhMlz1GSOkRqrbJOwZgoFlpFyTKKY8FfFK/ueKeNV+ylA0vfSYjbhKM0B2gRziVPU9HJeFQanVs2nc4LJl4UVHKvyymbR3CkM2nmPmSLRFiyA6yaO4cfjFm0TLSoiMkDprQs0aq3Qtvg2ujzpd50FoCVNqEMqBw2viFP13Z5cdydvoH86GvAEsidOKQeJDgwkvRxyCKr9ph3WR3RK2rm70MqPLgMPHq97BAYyj2JITePmAONEtm46raHGu1u65iMdBxr6KDSZ7ltjmKoYZDXwI5uSEq4Z9TILZiFzN5zhwerUjToejF2aDv9/JgZWgsZ+ZLdXRQXeqjvahZ/qdnjT0UbbPWLFc5GKxSTycNvthh+kv+8xj/aIh/7x6q9t9dv2Sc="),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;verticalAlign=top;align=left;whiteSpace=wrap;",220,340,'<p style="margin:0px;margin-top:4px;text-align:center;"><<block>><br/>{encapsulated}<br/><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>constraints</i></p><p style="margin:0px;margin-left:8px;text-align:left;">{x > y}</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-left:8px;text-align:left;">operation1 (p1 : Type1) : Type2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>parts</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 : Block2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>references</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property2 : Block3 [0..*] {ordered}</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property3 : Integer = 99 {readOnly}<br/>property4 : Real = 10.0</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property5 : Type1</p>',
- "Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.createVertexTemplateEntry("shape=umlActor;html=1;verticalLabelPosition=bottom;verticalAlign=top;align=center;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",160,80,"<p><<actor>><br/><b>ActorName</b></p>","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,180,'<p style="margin:0px;margin-top:4px;text-align:center;"><<valueType>><br/><b>ValueType1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-left:8px;text-align:left;">operation1 (p1 : Type1) : Type2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 : Type3</p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<valueType>></p><p style="margin:0px;margin-left:8px;text-align:left;">unit = UnitName</p>',
- "ValueType",null,null,this.getTagsForStencil("","","sysml block value type valuetype").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<enumeration>><br/><b>Enumeration1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:left;">literalName1<br/>literalName2</p>',"Enumeration",null,null,this.getTagsForStencil("","","sysml block enumeration").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",
- 80,40,'<p style="margin:13px;"><b><i>Name</i></b></p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",80,40,'<p style="margin:5px;">{abstract}<br/><b><i>Name</i></b></p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",
- 80,40,'<p style="margin:5px;"><b><i>Name</i></b><br/>{abstract}</p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<stereotype1>><br/><b>Block1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<stereotype1>></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 = value</p>',
- "Stereotype Property Compartment",null,null,this.getTagsForStencil("","","sysml block stereotype property compartment").join(" ")),this.addDataEntry("sysml block namespace compartment",300,100,"Namespace Compartment","1VZNj5swEP01XCplZSBJ1WNIunvqpanUs4EJWDE2Nc5Xf30HfyQEQnbbbrXbQxTzxmO/efNsCOJldXxStC6/yBx4EH8O4qWSUttRdVwC50FEWB7EqyCKCP6C6HEkGpooqakCoV+SENmEPeU7sEgQzTmmJjXCjT5xC89/7FpKSUVVwUQQL0h9PD9OtKwRmhpIw1FPKGdFOytDGqAQvayAo8L9m31SDyRcZtvQw0g57U9FrO5jpWqL64G3uW+k0JOG/UR0EXb5n8v5Xe7MA4JW0NQ0gw5Vdp9+dMUxakpat0MFWRt3JFYcNqZKXaE1ViEO5R7UhssDPm4Y9jJODiXTsDa7x6sDWgmxRiu5he8s16XLw4V3qmF7+ApWgxU588AlsfRRCxnI+ecJZAVanXDKwa2O0ZhYm5ESWFH6NOc9QhsLFOfciyNx4Ex526DxwKDGJ9FzAnYUa/u+dhPDEb283p2mv0CY6LYwPmFmM072ce7U6MgW3pJt9gqqTW+rFv8Pqn0ibybbbCAb8tbhQDVft7LbJ23BLKN84fBUai0rDIDIF0qZwyqkAHMwcUWP5YxWUuTfyvYOsqG1PZvh1AOP5pCbFkBegG+JW67TMMuynXNfeaxE7lQGV+cLdypAd8wz3h+boIBTjbfJFfg32s8H2g91V+3VRVPub69O9b0Ls98R84ZKOE2BJzTbFkruRL6UXKqLlsbxTn5npkwKgSfDbXl+mz7n8NldBSf/SsKPAwnJw8OHP1FxzNjvScZXUhEfL59bJnb1NfYL"),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",250,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>namespace</i></p>',"Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.addDataEntry("sysml block structure compartment",300,100,"Structure Compartment","1VZNj5swEP01XCplZSBJ1WNIunvqpanUs4EJWDE2Nc5Xf30HfyQEQnbbbrXbQxTzxmO/efNsCOJldXxStC6/yBx4EH8O4qWSUttRdVwC50FEWB7EqyCKCP6C6HEkGpooqakCoV+SENmEPeU7sEgQzTmmJjXCjT5xC89/7FpKSUVVwUQQL0h9PD9OtKwRmhpIw1FPKGdFOytDGqAQvayAo8L9m31SDyRcZtvQw0g57U9FrO5jpWqL64G3uW+k0JOG/UR0EXb5n8v5Xe7MA4JW0NQ0gw5Vdp9+dMUxakpat0MFWRt3JFYcNqZKXaE1ViEO5R7UhssDPm4Y9jJODiXTsDa7x6sDWgmxRiu5he8s16XLw4V3qmF7+ApWgxU588AlsfRRCxnI+ecJZAVanXDKwa2O0ZhYm5ESWFH6NOc9QhsLFOfciyNx4Ex526DxwKDGJ9FzAnYUa/u+dhPDEb283p2mv0CY6LYwPmFmM072ce7U6MgW3pJt9gqqTW+rFv8Pqn0ibybbbCAb8tbhQDVft7LbJ23BLKN84fBUai0rDIDIF0qZwyqkAHMwcUWP5YxWUuTfyvYOsqG1PZvh1AOP5pCbFkBegG+JW67TMMuynXNfeaxE7lQGV+cLdypAd8wz3h+boIBTjbfJFfg32s8H2g91V+3VRVPub69O9b0Ls98R84ZKOE2BJzTbFkruRL6UXKqLlsbxTn5npkwKgSfDbXl+mz7n8NldBSf/SsKPAwnJw8OHP1FxzNjvScZXUhEfL59bJnb1NfYL"),
- this.addDataEntry("sysml block relation",160,0,"Relation","3VTLboMwEPwa3x2Ieg/kcapUKV/gwNZYNV60bFKSr68BB4IIVQ499YDkHe+MvTMWIk7L5kCqKt4xByvinYhTQuR+VTYpWCsiaXIRb0UUSf+JaL+wu+p2ZaUIHL9CiHrCRdkz9EgWNGq+2gBdgNhkym6s0c5DJ2TGUsRJwaW/8Xbll+DyDRF++9Kh88SkZkX8DDuaWyu8Wt+BvbGtjGxlcg3HcDISF6jRKbsb0aS/Xdu3OHIHhXkPgCUwXX0LgVVsLlOeqvtSD30D9QONVxxbajxTBgF99PTe2ATlNznV9jNq4BnRLx7uN0JdRM/jimdxzdMiqM1NnbpSTkNSIUAyuvBeJYvBWnUCm6jsSxOeXZ6iRRpT/EQ3hBhGzdA5yDgcOzw72Z4AzWJS0fOkpoSXc5sY+4uL65mL8Kc2Mlb/zUNfjj+l/uE+/rN+AA=="),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,60,'<p style="margin:0px;margin-top:10px;text-align:center;"><<unit>><br/><p style="margin:0px;margin-left:8px;text-align:center;">{quantityKind = QuantityKind1}<br/><b>Unit1</b></p>',"Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Unit1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<unit>><br/>{quantityKind = QuantityKind1}</p>',
- "Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,60,'<p style="margin:0px;margin-top:10px;text-align:center;"><<quantityKind>><br/><p style="margin:0px;margin-left:8px;text-align:center;"><b>QuantityKind1</b></p>',"Quantity Kind",null,null,this.getTagsForStencil("","","sysml block quantity kind").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;fontSize=15;whiteSpace=wrap;",
- 70,30,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"><B>i1: Type1</b><br/>',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addDataEntry("sysml block instance specification",280,30,"Instance Specification","3VVNj5swEP01HFcCk416DWG7p5VWSv+AgQlYNR7XOF/76zvGBkLYtDmt1B6ieJ7nDeP3PBCl2/b8arhu3rACGaUvUbo1iNav2vMWpIxYLKoozSPGYvpF7Pud3aTfjTU3oOwjBOYJRy4P4JGIrSVRM01wZy/Sw+tfB9dS1nJTCxWlm1ifx/DJoiZo1UMWzvaJS1G7rJLaADOgFZRouBXotg6qAiOFovrZVJ9WdfjvuxgBkRCHWvpx0ZAMu3Su4pZRGHfaEWSzY7Cu4dotDZRuv7EtSZ5T7QyPYPYSTxTuBWmUZntUdic+XHryTPGpERZ2mpcOOZFl4wOISge8a0EPBf1fAVuw5kIpJ1HZxmd88y7FDYi6Caw0YLzzcT0yJz9pESz93N70n7GXTfay/8PeQGBx8PEL7F4t7N4kC43caUTJ5cabmBdoLbZztUBVG2N6tVCD8sggFnNhVcMu1ERjG6xRcfkyoUE6lzcTrsODKWH28rF0y8DOLuwD8hqQdNeO8+qfiReo7yio4pTiGwno9RtySBwMX98Y49tdEHtvxv4esut5YZdOF3YZ6MQHL/ownrsUxjA3/hZlt872c5tJXoDMePmzNkhTuUWJNLK5wn42r6cgHLREpWh+wjPHT8jfxmD1xzEIhIddu3PlKZw+jl7y62/nbw=="),
- this.addDataEntry("sysml block relation",160,0,"Relation","jVPBbsIwDP2a3Esi7U4L4zRpEl8QWi+NlsaV60Lh65c2gdIBEodK9rP9Er/XCFU0w450W39hBU6orVAFIXKMmqEA54TMbCXURkiZhU/IzxfV1VTNWk3g+Z0BGQeO2vUQkXXi6PjsEnQEYltqt3bW+AAdkBkbofKam3DjzSqE4Ks1EZ5Cii34iOztZaRYyTGtDOwTJxLXaNBrt53RPJ479r1cZoLSJjvABpjOoYXAabbH5ZzuYmpufbfRb7SBcW7psKcSEnqv1rVxSMwf2ZKbNRngh8EQ3N1vhibxnxuhHoxo1YMRBJ296MOUZkv9dfKGrKmDWPl/zxjbgDp9AJfr8tcQ9r4q0CGFokc/GvCDnq+WpUVL9B5KTmfefqdspIfhpU/yuU/LgbddW8g6axjS+aFEye/f0R8="),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",
- 120,60,'<p style="margin:0px;margin-top:10px;text-align:center;text-decoration:underline;">instance1: Type1<br/></p><p style="margin:0px;margin-top:4px;text-align:center;">value1</p>',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",160,80,'<p style="margin:0px;margin-top:10px;text-align:center;text-decoration:underline;">instance1: Type1<br/></p><hr/><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">property1 = 10<br/>property2 = "value"</p>',
- "Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addDataEntry("sysml block instance specification",200,180,"Instance Specification","1ZXLTsMwEEW/xstKrl0qtn1AV2wAibVJpomFExvHfYSvZxw7SSNSqUVIwKKqfccznvG5UghfFceNFSZ/0Ckowu8IX1mtXVgVxxUoRRiVKeFrwhjFH2H3Z6LTJkqNsFC6SxJYSNgLtYOgEDZXmLo0KFeuVkGev+98S8tC2EyWhC+oOXbbidMGpZtGcnB0E6Fk5k8l2AbYVk0h0VY4qX1oV6ZglSyx/rKvj6us+ecLvP+5NjBtG8qtH6ONRxEl02ts0DOrcmH80kLSFHAFvu96iku9B7tV+oDbrcQH4ctDLh08GZH4hAPyQK1yVr/Bi0xdHvOw0s5Wcg+PUMkPf5R2F2NJnPIsh0aKEDagC3C2xiOHWN2zoIEVzUFmeZt2G0VRBSHrcnusuIhkxynzP0pZlpUTZeIZ0wYuNVYbfMd62huA/Z4BLgLLxsG2CRFfHUnE7Qn2jvAA++wHsM/+OHb2BTtrsIceX09xeyPwK4zw3TFnp5KCreu0weghMjJa718czV9KvQFGBuonbg/2xQKw09r/wupsaPX5iNXnY1an11sdt/03sokNPqGf"),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,160,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;">: Type1</p><hr/>',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<stereotype>>\ndependency1","Dependency",null,null,this.getTagsForStencil("",
- "","sysml block dependency").join(" ")),this.addDataEntry("sysml block reference association",250,0,"Reference Association","3VRRa4MwEP41eRlMoq6UPda269Ng0F+Q6lXDYk7OtLP99Yuaap11jMJg7EHIfXffJfm+eCxc5tWGRJG9YgKKhWsWLgnRtKu8WoJSLOAyYeGKBQG3HwteJrJ+k+WFINDmJ4SgJRyFOkCLiLLEWAojUbtupTkplzwCGRkLtVAy1RbaoTGYszDKTG7PvvLtEnSyIMIPG2IBukW28ly38IM6TFLYup5IJsMUtVDrHo3afeu6yWs1kLvTBjAHQydbQqDs0Y9DnijbMO3qOuobStuxLynxQDE49Fq3S2HldJvxYW8jKAUzItrF1fl6qLHhtiXhyBLueWMrCEp5Frsm5EMHhHNHwd6qFX01zWBhUSV2oCIRv6eEB50sUSHZpEZdO7BHbS6euZvGqDXExm3ZvSxet4dq0qjgtlGO8OgYP/ZtIOw3Kj6NVGTzCCkBgoTNbcx9z3u4R1WSafbXZeXe8y/pOhvpWpD9zcmc7nqiU2J2g+Wf6WnDfri3w+F69n8C"),
- this.addDataEntry("sysml block reference association",250,0,"Reference Association","3ZVRb4IwEMc/TV+WzFSYM3sUdD4tWeInqHBis9IjR3Xop1+BDmTIYoxLzB5Iete74/r7H5T5YVosSWTbN4xBMX/B/JAQTb1KixCUYh6XMfPnzPO4fZj3OrA7rnZ5Jgi0uSTBqxP2Qu2g9og8x0gKI1G7ark5KLe5BzIyEmqmZKKta43GYMr8YGtS2/t8bJeg4xkRflpTo4bSEyewckWQzBYT1EItWm9Qv6iMGzxH5XKHWAKmYOhgQwiU7XXfzRN5bSZNXJP6jtJWbENy3FEEznsK6juwcKAmvFvbCErA9BLt4qS/1lVxP6+B39OgD54gl0exrkze5S2cFgo2FlXwUyKDmfUqsQYViOgjIdzpOESF1Aq0QW1W8lgWH7tjRqg1RMa9spkjXpaHYlAl77xKLuHRZVwsWofqLwifeggzwsy2evBuiLKZ9n9Oc9KjyaYBUgwEMZtam/PR6OEasCST7b0PKR+9/BHX58EpveqDH4J5Z2N6M57WbC/G+j97em9+AQ=="),
- this.addDataEntry("sysml block part association",250,0,"Part Association","3VXLasMwEPwaXQo1st0QeozzOhUK6Q8o1sYWlbVmraRJvr6yrThO3ZQQKJQeDNrZ3Vlpxkgsnhb7JYkyf0EJmsVzFk8J0barYj8FrVnElWTxjEURdx+LFleyYZPlpSAw9paGqG3YCb2FFhFVhakSVqHxbJU9aJ/cAVmVCj3RKjMOWqO1WLA4yW3h9j4L3RKMnBDhhwuxBNMiK3WsKcKoDmUGK8+JZHPM0Ag9P6NJZQXZhdInyibuUzTAaYpUokAj33JVD2v3XM+4KkkDeT2WgAVYOrgSAu2OvbvsE1UbZl1d1/qKyjGeSyrcUgoe7Wt+Ktx7zUf8ktsdJgM7aHSL3v7OUGPh93bGAzt5EAxtJKjUUaybkF+6J7yzGjZOreSr4RZLh2qxBp2I9D0j3Bo5RY3kkgZN7d4GTWeWP2mKxkBq/cjur+Q1PeyvGhV9b5RveOTBc9tzs3MX0v6g49NARzZOkCQQSDZ2MQ+D4OEeXUll+V8X9vd0HQ10LcldEmQPd/2k18TsrqV/pqcLz09Dez30X45P"),
- this.addDataEntry("sysml block part association",250,0,"Part Association","3VXLbsIwEPwaXyoVmaQU9Uh4nSpVoj9g4iWx6nijjaHA19ckJoGmqRCiEuohkne8s17P2DELx9l2TiJPX1GCZuGUhWNCtNUo245BaxZwJVk4YUHA3ceCWcdsv5zluSAw9hJCUBE2Qq+hQkRRYKyEVWh8tcLutJ/cAFkVCz3SKjEOWqK1mLEwSm3mep/03RCMHBHhpwsNGjggMoGFL4JkU0zQCD1t0KiwguxM6WONMl6o/YHRD47AsaxUIkMj31PleoiqJg9rdGpQQl6AOWAGlnYuhUC7fW7OeaKowqTOq6lvqFzFJqXANcXg0VORj4lbL/KAn9d2m0nAtohucNJfA5We/exf2PKvbRpBofZiWYb83CvhfdSwclJF3+21mDtUiyXoSMQfCeHayDFqpMbcFZraKb/NGI2B2Pol6zPID+Vh2+lS8LNLnvDIey8V52LbznT9RcSnlog5Ye6a3QU3FLO+K/9ez0FLTzaMkCQQSDZ0Mee93sM10pJK0ns/qH+n63PnOb3q0neJeWcH9WZ6urB5WKt/7em7+wU="),
- this.addDataEntry("sysml block shared association",250,0,"Shared Association","3VXLasMwEPwaXQo1st0QeozzOhUK6Q8o1sYWlbVmraRJvr6yrThO3ZQQKJQeDNrZ3Vlpxkgsnhb7JYkyf0EJmsVzFk8J0barYj8FrVnElWTxjEURdx+LFleyYZPlpSAw9paGqG3YCb2FFhFVhakSVqHxbJU9aJ/cAVmVCj3RKjMOWqO1WLA4yW3h9j4L3RKMnBDhhwuxBNMiK3WsKcKoDmUGK8+JZHPM0Ag9P6NJZQXZhdI1JT/FfYoGOE2RShRo5Fuu6mHtnusZVyVpIK/HErAASwdXQqDdsXeXfaJqw6yr61pfUTnGc0mFW0rBo33NT4V7r/mIX3K7w2RgB41u0dvfGWos/N7OeGAnD4KhjQSVOop1E/JL94R3VsPGqZV8Ndxi6VAt1qATkb5nhFsjp6iRXNKgqd3boOnM8idN0RhIrR/Z/ZW8pof9VaOi743yDY88eG57bnbuQtofdHwa6MjGCZIEAsnGLuZhEDzcoyupLP/rwv6erqOBriW5S4Ls4a6f9JqY3bX0z/R04flpaK+H/svxCQ=="),
- this.addDataEntry("sysml block shared association",250,0,"Shared Association","3VXLbsIwEPwaXyoVmaQU9Uh4nSpVoj9g4iWx6nijjaHA19chJoGmqRCiEuohkne8s17P2DELx9l2TiJPX1GCZuGUhWNCtNUo245BaxZwJVk4YUHA3ceCWcds/zDLc0Fg7CWEoCJshF5DhYiiwFgJq9D4aoXdaT+5AbIqFnqkVWIctERrMWNhlNrM9T7puyEYOSLCTxcaNFAiMoGFL4JkU0zQCD1t0KiwguxM6bIGP8YLtS8Z/eAIHMtKJTI08j1VroeoarJco1ODA+QFmANmYGnnUgi02+fmnCeKKkzqvJr6hspVbFIKXFMMHj0V+Zi49SIP+Hltt5kEbIvoBif9NdDBs5/9C1v+tU0jKNReLA8hP/dKeB81rJxU0Xd7LeYO1WIJOhLxR0K4NnKMGqkxd4WmdspvM0ZjILZ+yfoM8rI8bDtdCn52yRMeee+l4lxs25muv4j41BIxJ8xds7vghmLWd+Xf6zlo6cmGEZIEAsmGLua813u4RlpSSXrvB/XvdH3uPKdXXfouMe/soN5MTxc2D2v1rz19d78A"),
- this.addDataEntry("sysml block multibranch part association",250,50,"Multibranch Part Association","7VbBbuIwEP2aXPZQBbts99rQwqnSSt0fMPGQWHU8kWMo8PU7iU1oGiJStbS7UpGQPDOZ5/F7eeCIz4rtwooyf0AJOuL3EZ9ZROdXxXYGWkcsVjLidxFjMX0jNh+oTppqXAoLxo1pYL5hI/QafEZUFaZKOIUmoFVup0NxA9apVOhbrTJDqSU6h0XEk9wVNPvdhJa0gSorakhWSusZarRNM4+bD+UrZ/EJTlXCNLQLbAdP1KTCcRaABTi7o0cODYz7lp2PQ/SspMt95tpnclBZ7jopUfkwa1GP1NEisHeaSd5jsrRY0kl2fRpBZvAYQtBLfL4/JrpUUo3WOVq1R+MEFRIRuLd+/GRQEzDy1toGwKCpoS2ujYR64JpsLZagE5E+ZU3+oEd41g9dT9oRosK1TaHz8rxBG99gQdP7tekCn+I+AP1GRfgtCpvGHYWnXQAnbAYu9LzSrx1plKTXPUnjq6sfPTUtVGovlk0YdwU8p5XD8qwQKxL+Ue1r9MlY2VI0BlIXhmp/Bc45i3+oemOdMx10Dnu3cw6Ef/vmhG/iSxnn5z9onPf4YvolvrgZ9AW/hC80rMbaQipRoJF/cmV67qDH5kq3+xl5kID9j9a59F/Mr57G/dvCCJsMaPe5Lrn5DJdQeLwde8JfXp7/Ag=="),
- this.addDataEntry("sysml block multibranch shared association",250,50,"Multibranch Shared Association","7VbbToQwEP0aXnwwbOuqr7LqPpmY6A90YRYaS4eU7vXrHWjZFVkiZl0viSQknZnOYTiHExrwSb6eGlFkD5iACvhdwCcG0bpVvp6AUgELZRLw24CxkO6A3fdUR3U1LIQBbYc0MNewFGoBLiPKEmMprETt0Uq7Ub64BGNlLNSNkqmm1AytxTzgUWZzmv12REt6gCxKaojmUqkJKjR1Mw/ri/L+mYQF696565QfegqYgzUb2tI0MO5aNi720UomNnOZC5fJQKaZbaVE6cJ0h7oniBaeo8N88Q5fhcGC3mTTJQuSFJ58CGqGq7t9ok0Y1WidoZFb1FZQIRKeYePGj3qZB53cGFMDaNQVtMGFTqAauCJbiRmoSMQvaZ1v9PB73dDVpC0hSlyYGFqfyCe0cQ0GFH1FyzbwIe490CNKwt+hsHHYUnjcBrDCpGB9zzv9diMNkvSiI2l4fn7WUdNAKbdiVofhAYHeCPpeK4vFh0LMSfgnua3QR0Nli1FriK0fauf1j5zFv1S9oc4Z9zqHHe2chvB/3xzwTXgq41z+QuMc44vxj/jiqtcX/BS+UDAfaotEihx18pxJ3XEHbbuX1Ts1USMB+4vWOfUv5rqjcfe00GcTL9ivccnVd7iEwv0Z2BH+9oj8Cg=="),
- this.createEdgeTemplateEntry("edgeStyle=none;html=1;endSize=12;endArrow=block;endFill=0;",160,0,"","Generalization",null,this.getTagsForStencil("","","sysml block generalization").join(" ")),this.addDataEntry("sysml block multibranch generalization",140,50,"Multibranch Generalization","7VXLbsIwEPwa350Y2l4hPE6VKvEFBm8TC8eLnOX59XViF3AFag70UIlIkbyzu5P1TCwzUdSHuZOb6h0VGCamTBQOkcKqPhRgDMu5VkxMWJ5z/7J8diebdVm+kQ4s9WnIQ8NOmi0EJAANHU0EduBIr6QZGV1aDy2RCGsmxhXVft5J5peeVG8a3zD+1MYUaNB1zYJ3j8cbcriGW5k4gf8KHO7uooPiFuaANZA7+pLY8PIWOo5xUyKEe62oCtAgIBXosqIEkk0IyzPrRS6/iIrdVk/8rh6oEhYxBLPE/fQCJApatdCntirLQzhyDvet3gZX6wDNdDvKhHeKL7tshU6f0JL0ibHDrVWgYkmYpR0gkbXBrVtBYn9/pSOHAyNJ71LiW0pGog/Unv/M8srTDpKuBIpFP+Q/z9DLkcEDHYkKf///Hrp7FK7ssmjhH1mRDXhydoZ/Zs3waU1Pax5thQ8vN0oov75wvgA="),
- this.addDataEntry("sysml block generalization set",140,50,"Generalization Set","7VXJbsIwEP0a37NA6ZWE5VQJiS9w8JBMcTJoYtavrxO7QApIOdBDpUaKNO/Nouc3jiLitDzOWW6LD1KgRTwVccpExkXlMQWtRRSgEvFERFFgXxHNnmTDNhtsJUNl+jRErmEv9Q4cI0aJwvqT0A4YTVy6Nift07Ydt7UFSWFKK3cS2nCNWqekiduaOGgfy9eGaQOPMlpmoBdUo0GqbI4xL6zgRGrMG6xh3UCvDtjA8ekJW8ofbw5UguGTLfENb++u4+QPHDt4QGUKRw0cU4DTcEPJ2sH8MvVqpQ28m4+dje+dvfNS5bD0EHRGh+mVuLUXKrXEc1MVRg6OmelgcaZptXHUDBspk8bcdpaNC2I8U2WkTSRMu0qB8iVOSyOgY2tNO15B52r0d9rPYNDS4L47+JGTftCivWqXKaOg22Ek52B80Q/7Lxp6bWTwwo14h5ubiavW3+9w7G9wRsZQ2V1XRRX8oVWEg6Dz7Qx/bTXD/9X0XM2rV2Hh9W/jym9/Rl8="),
- this.addDataEntry("sysml block generalization set",150,80,"Generalization Set","5ZXBboMwDIafJncITPQ6YO1pUqU+QVo8iGYSFFIGe/oFErUwilYxqZceEPlt/5blT1FIkJTtTrGqeJcZIAneSJAoKbU9lW0CiIR6PCNBSij1zEfodiHrD1mvYgqEvsdAraFheAYbsYFad+gCkOVwcFJIYX5xoUszaeqbI4jsVSn5ZeQR5enThrYc+wLPqgP/7s0+NdK273suTjyE3Lg7kCVo1ZkSBcg0b6Y+VluZX+ou1r3kpiP1Wmfwpg7NVA7aFY03tODrrNz8alPLszrBrI05jIa/hob130YRPA2KcCWK8FEowqdBEa1EET0KxcscRRTLBhSyquIiJ1G6no1LZqwuIHNpZEfAvay55lKYmOJ5YRDEDHnea4QP/S9i7cSwll93+yotLH7GbzPld+eN/JufkdfHy5aP37Yf"),
- this.addDataEntry("sysml block block namespace containment",140,70,"Block Namespace Containment","7ZXPjoIwEMafhjtQ192roOtlTUx8gmpHaCyMKfUPPv0OtKJ1McvBwx6WxKTztfMxfD8MAUuL81zzfb5AASpgs4ClGtHYVXFOQakgDqUI2DSI45B+Qfz5ZDdqd8M911CaIQ2xbThydQCrWKEytXLCEbSRG64mSmYlSWs0BouAJbkpaN5pREsylfuKGpKtVCpFhbptZmF7kV4ZjTvo23ET0F3g/PQpWsk9whywAKNrOuIaxh+2o7Ylc+VJCpNbaWSVHGSWG0/ilS2zzvUWFy1cYv3psd/TA5HBypWg1nia3QQvwVKs5KU5FcW2nGiNJ6qrulp8Lflml2KTRtK6kJ6jlheSOFkkGg+lgGasJlLuUCnYNh2PBAspBN2/HbWZz0u9woPegPd2DAfhPDQobuTRN+4L2hktUZJ/5/IeejijsW9guM7AuJ4HWN1Ig/iNXsjPUblm3RN798e5g1tiCT/w/V0y0chHcyX1ejRv/2gGonk1Cipv3x97/P7z9A0="),
- this.addDataEntry("sysml block participant property",400,140,"Participant Property","5ZfbbtswDEC/xi8DWviS2x7tZOvLBhTrFyg2YwuVLU9WmmRfP+qW1LfBRdKhQB+aiqTpkEekqHjRujw+CFIXP3kGzIu+edFacC7NqjyugTEv9GnmRRsvDH3888LvI9ZAW/2aCKjkFIfQOLwQtgejSRhPn626kSdm1U1BarUUkOKLk0KWGOsmwOWOV/LJPqjkQ0ElPNUkVYoDZoY6wmheoZhiWCBQYb8WhITjaOhaZeN+AF6CFCd85EAzWZgn5iY7vwCaF9bLZuyTxsj52fPCARcWxTCWaBhL8JGxWIfIMfkPmGY9TF64YApE3cK0+L1XBZ2UROQUE479+ngW7yRHFvFMqzBveWexxK+wuDfgKrf/9fdsnSJuGp5KSiTlVeCsGP+261EIlV5Hiaq6q3tLCgx2aIxXb82BlKoMWF/C/ZY0pTXBTXeGtpOVfG+ZQJWphQrTrwWvsXxUQQTeUmsCbYzxUxextjh8HRjvGk9o4wl78YTD+zC51zh2zI7xA4o7qqp1sNtu0FyukU5GXPRbLfIHem11g16b93pNl/y54juwIMvBHT8Vr6ANDHcoFkIDs0aFhaaExfZI2nIpeXmmpl7XYtbwvUihNUQk9gLI1gE6gawAhim8tN9+DahFD5SrwYGphhVCq/yHbt9N1IbkTmfT3OOEGNkCe+QNVTuh6tNsvNEnJH3OBd9X2ZozLi7A9Xygf/R4sOWR8qrC2iZbF54/qWTn/yzZO+txc87LHueB8XgFXz0WPivc1WgRj0L+Zc+bEcoO3OQyttvyMUC/F+ev/RvMMuEiAwGZGVf+/f2XGyMfruxPwdsF3boyXjm6MtIUkFnzhHE1u/1ssq6PnKr7kYMY+u3rQtC5BpiBaZ06DM9RDGFF8fIT0Tz++hfkXw=="),
- this.addDataEntry("sysml block participant property",400,260,"Participant Property","5ZhLj9owEMc/TS6VWOXBY/cYoN1LK612Dz2bZEgsnDh1HB799B07NmxIQEHQ7lYcAHvMmJmf/3hGcYJZtn0WpEh/8BiYE3x1gpngXNajbDsDxhzfpbETzB3fd/Hl+N9OrHp61S2IgFz2cfBrhzVhFdSWKePRyphLuWPGXKakUEMBEW48TWWGsc49HJZS8BX8pLFMjWXJc/lmXNV8k1IJbwWJlGGDuaKNMJrkOI0wUBBoMIGAkLA9mYw2mUyegWcgxQ6/sjE/jqujOl83BZqkxsswcElZz5O954EMDgycblBBNyjv/wJlHAJL6R+AG7bAOf6YKTRFA9z4V6VEP82ISCgmHLrFdj8dSI4swqE2Yd5yYLCE77DYHXCUmE/9OwtrCMuSR5ISSXnu2VWMf3Hsgbbi2JYKlfKRsVcKl8ZLrQEFU0WyEvAuLno+1ivEyFFSS8Y3OF1SdZydcsSdKlHSNbxCSX+rBfc2mrRa29XTcVuhwbhDot7oBhodfaRGSaa4svYM2Uka0YIgQLvQdGrKvCHQyRTyGIPXcbuF4AUejsLtO5N5t8tZozUUvt40xHd9Aeode/+VesuzLcaYlCnEZy7KXhocXqLBjlvS67omH28gwfEdSdC7UoJeS4IX3OafXILe08dpcNLSoK6Y+4J5hA7iBGz3kvMcmvjw7EMhND6zqLjQiLDQdDQLLiXP9tjUdg1oJa9EBI0+VaLMQTY6sh4VRgDDFNbN3a8B9dgCZdXd0TijRGiefIelCjJoQrLNHdOrpwkxsgD2wkuqTkKptT742j4l0SoRvMrjGWdcHIDr9rIu0p6RR8TzHJVOFjY8t5dmJ2c1OzAeN+f81OLc0W9fwVdfl/cK10bdoeKTlF/NhXMCsyXXW8fmXD4H6b8G2mvX9smUixgEVhNVCl334eHLjZl3a/s+gLefalxdvBq1v0fBGt6+OhnXF05VN3boWZsNg3fUCNQl0zgdMdxH0YUVp4fnUPXX3z+m+gM="),
- this.addDataEntry("sysml block participant property",400,80,"Participant Property","5ZZfT+MwDMA/TV+QDvXPxu4e18Hxckjo+ARZY9qINK7SjG18etwm3ShpUREDIfEwLXbi1P7FjhMkq3J3rVlV3CAHGSRXQbLSiMaOyt0KpAziUPAguQziOKRfEP8dmY3a2bBiGpSZYhBbg0cmN2A1qcTswalrs5dOXResaoYaMto4LUxJvl5GNLxHZe7cwkbeFsLAXcWyRrGlyEjHpMgViRm5BZoU7rOgDexGXW9Vzu9rwBKM3tOSreCmsCvmNrqwAJEXzspFHLLayvnB8siBBg7FMJZkGEv0nbE4g6Rj8gWYZh6mZV1jJpgRqN4D6wRxRzMX0N7KFz6GKP4kDnOPgxc78By6dFCo6C8FxZda4/ao8Yg0Vj0eNW50Br3aNUznYHp5O4GaBkmn9Njf/SMMLjwGlcaKTnQ/cJlQGQiV/4P7xsmkH3lXFLKdTZukEBmTS6deozFY0oRka5C3WIsm2Zqssmdq9SnLHnKNG8VXKFEfEbdlKZ7aqnQnn6FSlJFs3bkXTkrH+Zvp+MtZnJzzwuM8UGgf4Guw+rlwf48m8Sjk/+4qGaHcgZucxu5Yvgfoz+L8x78wFylqDhp4sCA5DM/Pz06MfDizfwTvzul3dqgXcP1mxVldAJ/erman703O9BYF7XiASMnTewlErzq8bZjO6BXDgxdDWEk8vszt8pcP92c="),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",300,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Assoctiation1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<participant>> {end = property 1} p1 : Blcok 1<br/><<participant>> {end = property 2} p2 : Blcok 2</p>',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",
- 300,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Assoctiation1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;",150,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 1}<br/><br/><b>p1 : Block 1</b></p>',"Participant",
- null,null,this.getTagsForStencil("","","sysml block participant").join(" ")),this.addDataEntry("sysml block connector property",400,250,"Connector Property","5ZhLb+MgEMc/jY+RDE6z6TGPbk8rVe1Keyb2xEbFxovJaz/9jg12bONUadNN1e0hCQwMjx/Df0S8YJHu7xXLkx8yAuEFd16wUFJqU0r3CxDCoz6PvGDpUerjx6PfT7SSqtXPmYJMn+NAjcOWiQ0Yi0cnAl3nOZoLfRDGPPm9KZc0T5mKeeYFMz/fN9WRljmaxpVJw16PmOBx2SvEZYBC63EELMX2t5pnVRvmQobPpDbjklf9rokqN9Izoinv216/9tGkbROwRocZ8d0dmabh/bAUh5oLtxbKLINQS9WYuy625oe4fR8nwe9ZUciQM81l1jBZ9fZ/+Xx0aD56Pd7DwbKWmR4V/A8cz+B0/PDaUGi1CfVGQWul/OXV0866aZGwvCwqZFduX6d4H5cEi3ILai3kDqtrjhcomO8SruEpZ2HpsMP7a1Ygn+EXj3Ri/XCkjSr4Fh7B7GfpNxPjkLj9k/e2MtlLew8yBa0O2GVnR8fWsW/utp8AjxPrRm+skRXGEDe+RxnAglWCYVUIHFXISRUmE48GpNzCz0MO5BUAyyN9sh3JCXw2DpYt0TiDEx3mZB2s/PkH618ja2GcDlAcvwPEsQuRuhDpJ4AY+B9H8cahGJIhhexBhCiGGlUmM+iChCyaKVVdZ9tY8uEhEzOLbyW1lmmDrxzuZXg4u9yoEDoXSKPkgW6Fg4tYgcAtbLujXwJs4gAbuKcYMzyLH+1RBV06dQgp03yajWArEA+y4OUZYIPNjZV5zsLnWMlNFi2kwETUkK6C2GghsfFh0xVb1evzzwramxeD1jq8O99vDt8hIbwIcJUivybdqSuagSuawScQzX7mmVxPM29diGMX4vgTQHQyzxUp1ven8za6MM28LZtM3Wxye6VsQsiXSSfG/eqKR9wn+P+ZUD6Kr/uYCenQm/dsMfwXQkfGXaFr1KcldIQOvffeQ+ncp8rFShexIoHINr9N9szJXSBy1vVBcpyllZh7OWXaQ2h01nr1KDbLGAKL1eM/d6Z7+4+9vw=="),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,120,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b><hr/><<connector>> c1 : Association1<br/><<connector>> c2 : Association2<hr/></p>',"Connector Property",null,null,this.getTagsForStencil("","","sysml block connector property").join(" ")),this.addDataEntry("sysml block internal block diagram",300,100,"Internal Block Diagram","3ZbBjpswEIafhuOuwGxS9QhJu5f20q3UXg1MwIrB1JgE+vQdYzuAnGxXaqSqlYKC/5mx8TfjgSDe1cOzpG31WRTAg/hDEO+kEMrc1cMOOA9IyIog3geEhHgF5OMNazRZw5ZKaNRbAogJOFHeg1ECsuUYmrYod2rkRt7+6PUjpTWVJWuCOAnb4TJ8UKJF6WkpcTigfxIZPwWDeqCclTrUmNJ5Urwr7f+0dOYElhVOwy1ks19ofikX+TFauLSzC1k9P6lUjXD3Edo6JcURvrFCVU6paKv96qHUmXjsxq7mjy3Nj7REPeU0A/5dO4chDu1G9nYjHTqypvw0jdAFpcVq4gTywMUZhweG7OP0XDEFLxiklzzjgt4z6Skk5L3s2Am+QMd+glVtukAi0ZspnySb72cQNSg5osvZzo7WODRlEVbAysqFOZF2RigvsXMF4Y0tousFFXsF1SKFBPMSkHhi83VsIfLy41KA21ZrgAfRqBfrGN3A5zKSIwOQb+VErnNyARsTMTpkZrigGF2juLkDxCcfIvEhkn8B4vvwr1HceBRzXYrULz69RZZTnlgCmVBK1GuC0BSJlNM5bkSjuwIUJTimVjIza8PrvHB10cscVmdGYecEtagAn6oEThX2hNXsf8Jo6zHy6UjdgGjGXQ9aQHElI03m0psgpw6aYkMtpeibYie4kDO2qTpNk4ts4nPRNFjFdtnLe+x31bh5vRpNwN0pvvPPa3xPjNP79f9iiMP5K2eyrT6CfgE="),
- this.addDataEntry("sysml block property",300,120,"Property","tVTLbsIwEPyaXCqBnEcR1wAt6qGXUqlnQ5bYaoJdx5CkX981dggpQUqk9gDsjr2v2cFeuMyrtaKSvYoEMi988sKlEkJbK6+WkGVeQHjihSsvCAh+vOD5zql/PiWSKjjoIQGBDTjR7AgWsUCh68wBBaPSmAp2mHLBdI5drnw0C63EJ3zwRDNEAkRKxjVsJN2ZgBKnurll4jDTURX8BG9Q8G9zlSDqOgGlobo7zRlyo6xB5KBVjVdKlx1PQ2InJgx4ypowRwOhhQXSS2xLDhqOn36uwh6uZpnhRHYYm30dzfoWOVUpP3hhTGR1cSdaIClxdA0p26gDcXw9oRlPTag7WuzFQU8sWbFv87WF0ErNL5lOH5qWcBjZ4KPa7JTfIfGgeos1SbcNIHE3uMcYv99rCf5VJ9vfQUwZ1h1YXeJesFqK9YyPHZKof5rBAhWopn0mSnT33Ox1oGTd+Kur8QdoM+jXpgtoFFh33Svl+lGPcud/INzoRrjKbxc15h9vZLhxF42f0IJBMuo5+A9u/XmX3LCH3L5n4XE8uei2r/P5rPN4/wA="),
- this.createVertexTemplateEntry("html=1;strokeWidth=1;shape=mxgraph.sysml.package;html=1;overflow=fill;whiteSpace=wrap;",300,135,'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>idb</b> Block1</p>',"Package",null,null,this.getTagsForStencil("","","sysml block package").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",100,80,'<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;"><b>p1 : Type1</b><hr/>x : Integer = 4</p>',
- "Property",null,null,this.getTagsForStencil("","","sysml block property").join(" ")),this.addDataEntry("sysml block property",250,160,"Property","tVXJbsIwEP0aXyqBHBu4s7Scemmr9mxgSKw62HUMJP36TuKsVUBBpYck4zeefZ5C+DJO11aY6FnvQBH+SPjSau28FKdLUIowKneErwhjFB/Cni5og0JLjbBwcEMMmDc4CXUEjxA2U2i6MAgnLlMenn0d85QWsbChPBA+pyatjyOnDUKTNmRlGLkadJC6kVAyzE1L1WKvD26UyG+MMA+8vyYQSmH+pePxQ5USlmEq/KY0O+G32BqwvcEM9o/iFXy/ZQaCKkhk8w7+itzNhnXyYEkkTC5a2BYOXIyjXQUo6hPYvdJnPO4lzoIvzpF08GrENjc44yogljirP+FD7lxU2qGno03kCV7A92xF68DoEku8uAIFVM5/DToGZzO8ci6952sw9WtCI/DDKcxmJSgSD4S1bbNRKJRL1b9g/O4LNnSYVZxNPV3emS5vDXJzfbhXtqC/ip7Vvn9hsgLkQTop1Hve46RVgRxS1R95rmDvmiI7JXhVTwGppxmGo9MxrefUbm/K6iuNvdM7kXXc/T8RBxGM9ROsNOAljTJ/rKjWol8w6aMfvZ1+eGz+HYWu82v5AQ=="),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",100,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p3 : Type3</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>initialValues</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x1 = 5.0<br/>x2 = "today"</p>',"Property",null,null,this.getTagsForStencil("","","sysml block property").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",
- 300,70,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p1 : [Type1]</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><<normal>> {mean = 2, stdDeviation = 0.1} x : Real</p>',"Property Specific Type",null,null,this.getTagsForStencil("","","sysml block property specific type").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",
- 100,70,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p2</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">y : Integer = 5</p>',"Property Specific Type",null,null,this.getTagsForStencil("","","sysml block property specific type").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<stereotype1>>\ndependency1",
- "Dependency",null,null,this.getTagsForStencil("","","sysml block dependency").join(" ")),this.addDataEntry("sysml block property",160,0,"Property","zVTBboMwDP2aXCatgjDtXmjX06RJPeycggtRQ4yM29F+/QJkpYx2qqYddohkv/g58XtRRJSUzYpUVbxiBkZESxElhMh9VDYJGCNkoDMRLYSUgVtCvtzYDbvdoFIElu8hyJ5wUGYPPdIDNR+NBw5ArFNl5kbn1kEbZMZSRHHBpbvvInQh2GxOhB8utWihRbIc1r4JEheYo1VmOaBxzYQ7eNcZF65GOqQ/umXenKaD/CgrwBKYjq6EwCjWhzFP1X2an+vO1DfUruNQUuOeUvDopVxfhY3v/ByMe7OiHHhCdMHF/QaoU/+6E9HEiXBiBUGtT2rTpcHYAeXdMbB1UsXfTWOsHGrUBkys0l1OuLdZggZpsGyLltf61DYP/ZgpWgsp+yPPrylo20Nz0yV53SVPePSMu00bqfqDhE8TCYPZ7OE3KpLOi/8u4x+p6NLhu+nf7eVv9Ak="),
- this.addDataEntry("sysml block binding connector",160,0,"Binding Connector","zVSxboMwEP0aj5XAVNlDknaqVClDZwcuxorxpceRknx9DbgQmqTKkKEDku/53jN+72SRLMrmldS+eMMcrEhWIlkQIverslmAtUJGJhfJUkgZ+U/Ilxu7cbcb7RWB43sIsicclK2hR4ScqXIvktR6gXRawWet7ADpSUOoWrWKjzaoHYDYZMrOrdHOQxtkxtJ3Flz6yy7jVtXlcyL88qVDBy2Sa1gHESQuUKNTdjWiacWEO/gwORe+Rw5Ht8ybVnRQ8OEVsASmo28hsIrNYcpTVV/qoW+gvqPximNLhTVlENBzr38am6A8i6barEgDXxD94uz/RqiL7nqMyUWM8UUUBJU5qU1XRtMEVEjHwrZN8XdojN0EqA3YVGU7TVi7fIEWaYxsi47X5tSKx+GaGToHGYcjh1GMWnlobqYkr6cUCE+BcXdoE1f/sPD5MRaS0cV/9/BBFvpyfKj6oT1/x74B"),
- this.addDataEntry("sysml block bidirectional connector",160,0,"Bidirectional Connector","3VXBboMwDP2aXCatCrD1XmjX06RJ/YIUXIgWYhRMR/v1C5BBGe1UTZ1U7QCKH89O/J5FWBDl9dqIInvFBBQLViyIDCJ1q7yOQCnmc5mwYMl8n9uH+S8XvnrtV14IA5quSfC7hL1QFXRIbGtwFizsW5QlxlKQRN3RSjooR9uDIRkLtVAy1RbaIhHmLAgzym0XS88uQScLY/DDhho1NEiSwsYVQUMZpqiFWg1o2G3U8C521EKunTVgDmQOlmJA2aPux3mi7MK05/WpbyhtxYFSYmVicOipZF/E2lWe83FtEiYFmiTaxcn5Bqh14LwbwcQNPpt5E+0NlPIotm3Ix5ILZ4eCnVUr/O4SYWFRJbagQhG/pwYrnUSo0Awe7VDTRh6b4p7rNEatISa3ZT9UvCkP9UWj/PNGuYRHl3G1byNhf1DxaaJicUsN+0n/5zI+nxvGh98IaWSa3fs0/pWK8+kw+rfU8M6m8UYy2nC4A7sf6ekV+Qk="),
- this.addDataEntry("sysml block unidirectional connector",160,0,"Unidirectional Connector","3VXBboMwDP2aXCatCrD1XmjX06RJ/YIUXIgWYhRMR/v1C5BBGe1UTZ1U7QCKH89O/J5FWBDl9dqIInvFBBQLViyIDCJ1q7yOQCnmc5mwYMl8n9uH+S8XvnrtV14IA5quSfC7hL1QFXRIbGtwFizsW5QlxlKQRN3RSjooR9uDIRkLtVAy1RbaIhHmLAgzym0XS88uQScLY/DDhho1NEiSwsYVQUMZpqiFWg1o2G3U8C521EKunTVgDmQOlmJA2aPux3mi7MK05/WpbyhtxYFSYmVicOipZF/E2lWe83FtEiYFmiTaxcn5Bqh14LwbwcQNPpt5E+0NlPIotm3Ix5ILZ4eCnVUr/O4SYWFRJbagQhG/pwYrnUSo0Awe7VDTRh6b4p7rNEatISa3ZT9UvCkP9UWj/PNGuYRHl3G1byNhf1DxaaJicUsN+0n/5zI+nxvGh98IaWSa3fs0/pWK8+kw+rfU8M6m8UYy2nC4A7sf6ekV+Qk=")];
- this.addPalette("sysmlBlocks","SysML / Blocks",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addSysMLPortsAndFlowsPalette=function(a){var b=this,d=[this.addDataEntry("sysml port flow port",160,60,"Port","xVTRTsMgFP0aXpcOjO+21b1oYjJ/gLV3hQjcBphr9/XSQrvptmiixocmcA6HnntOU8IK3a0sb8UT1qAIuyessIg+rnRXgFKEZrImrCSUZuEh9OEKuxzZrOUWjP+OgEbBG1c7iMiL5cZp6ZxEE0nne5VI4XWwWC4Jy53g7YDqrhncL1zvtFq0aP3AbtH4ddIN+72QHtYtrwZgHwQB40o2Jmyr4BVsAJIXsB66q/OMUBpmBajB2z4c2cvai3TiNs6cCZCNSLIJ4y7um1l6TCcsUkCXw2JnYbXLs4imXCxU4dX5SWIWnDzwzZzJNL+NLvNhcFlxdZfwDXqPOhCKb0A9o5N+6ISVCran5x8/0R7bSZTz6rWxuDN1gQpDxqVBA1M/8jBayeboKzQm2E4e54/nq0ro5Ur6xKZLThqiFwqiv1DQzXlB9AcF/X+Ek+Am3fLnkYbt8eczch/+Te8="),
- this.addDataEntry("sysml port flow port conjugated",200,60,"Port (Conjugated Ports)","xVTLboMwEPwaXyNiotwDaXNpparJDziwAau2F9lOAzn027uAyUMkaqVG6gHkndm1ZmcQLE51vbKiKl8xB8XiJxanFtH3J12noBTjkcxZvGScR/Qw/nyHnXZsVAkLxv9mgPcDn0LtoUc2VhinpXMSTU8636hAll6TxOWUxYkrRdWiui5a9RPXOK0mFVrPid2h8esw13VXIpOmeJdF2eoiVXFyKKWHNRFt04EuIUwoWRgqM9IPloCgD6yH+u6OHRQWXAFq8LahloPMfRn2jHofohKCBCrnAROur4vT6NkxOgTTbhsYjwysSA2tt6D312Y6snDwzUJGMpILRy04eRTbk2eDF7ZXnLQmyEyoRcC36D1qIpTYgnpDJ71scQW7y/aXM4st7bEaZhKRfRQW9yZPUSHZvTRoYIhPHjslwaQMjSHJQd/pw/opGn47mmaIpZ+4SmocFH9AULNxUPwiKP6HoP7Zy2FgFm657+38Md5Sef5DddzVD+wb"),
- this.addDataEntry("sysml port flow port flow property",160,80,"Ports with Flow Properties","7ZTLboMwEEW/xtuI4KbqtoE2m1aqlP6AAxOwanuQPWkgX18DJi9S9aFI3XSBZN87V5o5g8x4ouuFFVX5jDkoxh8YTywi9SddJ6AUiyOZM56yOI78x+LHT9xp50aVsGDoO4G4D7wLtYFeebXCOC2dk2h601GjglmS9i2mU8bnrhRVq+q6aLufuMZpNanQEvfuGg0tQ66t3paSYFmJrBW2PuA1oWRh/DXzvYL1QugFLEH96TydFIZZAGog2/iSrcypDBW3/cxRCbIoQ+wuaML192IfPdDxhwDoMiw+glVNR4gsOLkTq+4a+aGOkA0D276teTupzIS6D/oKiVB7Q4kVqBd0ktol8FTB+rj+6cwmrIbQXGRvhcWNyRNU6KGmBg0MC5G7bh8BRYbGQEah1/2v8tUC4ssLaELgCpxvxpzjf86nnGdX4Dwbc+a/4XyG7TLmvyM2BIZnIRDkPyfor4enufNOXu4P"),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",160,70,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>ports</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">p1 : ITransCmd</p>',"Port (Compartment Notation)",null,null,this.getTagsForStencil("","","sysml port flow port compartment notation").join(" ")),this.addDataEntry("sysml port flow nested port",
- 160,60,"Nested Port","7ZXLboMwEEW/xtsIcJp9gTabVoqU/oADE7DqB7KdBvL1tbHJk6iPdFVlgeS54yvPnLEwwhlv54o09assgSH8hHCmpDR+xdsMGENJREuEc5Qkkf1Q8nwlG/fZqCEKhPmOIfGGD8I24JU3RYTmVGsqhU9q07GQrA23JeYxwqmuSeNU3lau+onuNGcTAdpAuZDKnp6upTDLYHaWbU0NLBtSOGFrXVYjjFbChoUtGJQVQkGgDLRXm+ql0NEcJAejOrtlS0tThx0z33hUA63qYBs0on1c7a0HRHYRKI0TwxfEmngSX5BSoOmOrPowsm0dkRtaVr6w1PVKC8Ieg85pWTpfysgK2EJqatwscM5gfbz/5SxtZDOYUlK8V0puRJlJJi3WXEgBw0jorp9IgFFIIaAwodb9jflqBMn4CLpgmN5OejpGOrmTPiWN/+BOP4yRxnfSp6Sns9tJz0ZI/4bzGbZ/gTkYhjdp+JP8/H7b8PCC9rmTB/YT"),
- this.addEntry("sysml port flow proxy port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<proxy>>\np1",new mxGeometry(0,20,20,20),"shape=rect;html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],
- a.geometry.width,a.geometry.height,"Proxy Port")}),this.addEntry("sysml port flow full port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<full>>\np1",new mxGeometry(0,20,20,20),"shape=rect;html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");e.geometry.relative=!1;e.setConnectable(!1);
- e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Full Port")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>flow properties</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">in gearSelect: Gear<br/>in engineTorque: Torque<br/>out wheelsTorque: Torque</p>',
- "Flow Property",null,null,this.getTagsForStencil("","","sysml port flow flow property").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",250,150,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">prov Boolean selectGear(g : Gear)<br/>reqd Torque getTorque()</p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">prov temperature : Integer<br/>reqd geometry : Spline</p>',
- "Required and Provided Features",null,null,this.getTagsForStencil("","","sysml port flow required provided feature").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<interfaceBlock>>\n<b>ISpeedObserver</b></p><hr/><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">notifySpeedChange(): void</p>',"Interface Block",null,null,this.getTagsForStencil("","","sysml port flow interface block").join(" ")),
- this.addDataEntry("sysml port flow item flow",120,180,"Item Flow","1ZXBbtswDIafRscFjt0Gu8bJ2ks3DEgO21GxGVuYLHkUk9h9+lG2nMRNuhVYVmAHA+JPUhY/UrZIFlXziLIuP9sctEg+iWSB1lK/qpoFaC3iSOUiWYo4jvgR8cMr3mnnjWqJYOgtCXGfsJd6B70CphDJnDVeKAMinok4mUYiSftQR60OoSVVfODllH2ulLVXq6bwtUxc6yo9UQTVg7YHDthaQ6uQ6hO2LC8VsrUK1rrtdrA7Pnh6KDl3VcvMSwfekjWpVWHYzLg2wOOB9oAEzav1d1Io/hFsBYQth4SEgCc6qJzKXvoYpBJUUYZNZkGTrreL40YntrwIeK+jTi5Qn7ElNK7HvkZpXKWcU9b8I+JfxsSVeQ/gbfBeIX7Ubo387gL52uJPXr/kCnkBAytjeeqT9Az1wAH706Vg8jmihzwEQ6PoG5vR5D5Y30MuY8H2zOVN7ztdKP/uEUxnd5jB6H6SxAJoNEdvQI6gJan9ePe/4Xl/wbO+QIng1LPcdGZ0naOGrcfoeNqUKZ46a9ldAz9aKpN6HiLJ+jnUcgP6q3WK/J045g/BTy/cG0tkqyEvldmPAu3O5AurLZ561t0P9Qz9u7syMmsMZBROf/x4/mni7377ifkQMm7ejdl7d2MM9r9tyI36webpP935Rr/xXw=="),
- this.addDataEntry("sysml port flow item flow property",140,180,"Item Flow (Item Property)","1ZXfb5swEMf/Gj8uIpBGew3J2pdumpQ+bI8OXMCqsZl9SaB//c7YkFDardLSSntA8n3vB/bnfMCSddXcGV6XX3UOkiVfWLI2WqNfVc0apGRxJHKWbFgcR/Sw+PYV77zzRjU3oPAtCbFPOHJ5AK+AKliyIo0WQgGLlyxO5hFLUh9qsZUhtMSKNryZk8+WvHZq1RTuLDPb2krOBEJ1K/WJAvZa4TakuoQ9yRthyNoG66HtKugDbTw9lZS7rXnmpBOVJI1LUSgyMzobmGFDRzAIzavn76Rw+DvQFaBpKSQkLDye6CRyLL30OUgliKIMRZZB49bbxVDozJYWAe/LqJMJ6gu2aJT12B8MV7YS1gqt3on4tzFxoT4QeLiPURuC42kDBu3aHVhMOoDa/HLrDrxfP0cOeQE9RqVpIJL0ogs9IuN3moLKV8Y4/n0wNAJ/kBnNboL1M+QSMdNeuJzpfOdZc+8ecbb6YDIYjS5yUwCOrtgbumFAchTHcfV/YXszYVtPUBqw4onvOjN6maOEvcNo6SIKVdx31qabEHfrRMblKkSidldU8h3I79oKdOMy5PfB98/cO42oqz4v5dljYfRB5WsttTn3rBsd8QT+3d0xMq0UZBh2P3xX/zYMiz8Ow6eQcfVuLD+6G2Ow/21DrtQPMs+/8M43+sP/Bg=="),
- this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;flowDir=N;flowType=in;whiteSpace=wrap;align=center;",200,80,"eng:Engine","Item Flow North In",null,null,this.getTagsForStencil("","","sysml port flow item flow north in").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;flowDir=E;flowType=out;whiteSpace=wrap;align=center;",200,80,"eng:Engine","Item Flow East Out",null,null,this.getTagsForStencil("","","sysml port flow item flow east out").join(" ")),
- this.addDataEntry("sysml port flow item flow",470,370,"Item Flow","7Vnbkps4EP0aHsfFxZeZR18m2a2aVE0lrs3mUQYZVAOICDm25+vTumAbJBMHEye7ycPUoBYtus+RulttJ5hnu7cMFck7GuHUCR6dYM4o5eop281xmjq+SyInWDi+78Kf4785M+vJWbdADOf8EgVfKXxB6QYrCc5jJ5iCDB5IjtV8yfepnk94BlYuPCeYlQkqhDTbxcKBQbkvs3RAOM7epHQLL6xpzj9oVanAGX3BH0nEEy1Zw4sLwmD0qEfLvVwzp/Bt0ChQSPL4PYkT4Q94E8y2CXziA0yI97bwZZChlMQ5DEPwG8NyM+0XZhzvzmIjRRqYt5hmmLM9vKIVhgo6d6vtFQquliVYWwTDsZahUo3jw0pH4OFBY2/nITB44CwvFRFLhvIyRZzQ/Co2LOg3+Dmy8bGNjSe8Fq57oxuScUD5lI3hD2JjaLCxpOzzxjwMOIpxBaDG6ISRCodU4jUT/pMQpVMt5lSAhfNoypggqFoB7wj/Vy8hnj/BszsYyXfBETHlVoPjnLJNGFRDuKQbFuLaYeeIxZjX9t0FPDAstuCX+urXgDwyQw/gMX18NlBmuCSvaCWHbivE9Q06soC+opzTDCZStMLpMy2JPFcGSU+N6breDIUvMaObPJrTlLIjd/JEkVd5oPRGDGme45Br+w8R+VvHYdh6HO60Ru+sjM1AJFhZdmKFqWPZjOL/Y15+FC0TgxbHH6cCmKLGyvjzRpQOswzOOAF8pm6xOwzvZMSZDqUIfOR3mqjpSaSuVoCnWP+X31lVgtBTaWlaljQkMi2J3ajeAj9WTU2QFU1ZwoTrDeH3uKK2hc0XvWEE43elpHzqDh5wds47lIkwnJojYB22HCkQUF9N1JXUaCJiuCNKk4WIwIUzUf//zp9I/iInBF4Q2EYzzxktDog2MOjZEF4ZwhuGLJuGWMmwsXYRQfaNdRkdUKJsQr5h2G5FIwJVFQ+DY1wPQBQO8VpWPYs1EYfKWqeYBRGstGElHNz3WNkqI9s15ctez/pm+TKcWMoXf9RD/XJvSa3mbuxcS+o4bpb39TA/7LdYn7QG3kDDVuHtWsrFsQXvAzHX4P1gwXvgGQB3z5jCcyNlZiSKxFpGyqwWOZczVeF5q4R5354wx3Xigh7oqAyu8+H/4aMDH31cpzzPxkfwh48OfDz0wYfZ9eHN/GAp+C/OD0/HCsySHvTl7KbZwb//menBs3R3OuYH6z33+3b/Ny5Ut938aiueLZt6yQZmN4d3zAa/Gfq9xH6zzcM7xv7fDP1eIr3ZzvmHrJi9l9zezDzbsLm0gem3dTD9lhamEebrXU192Tntap5Dtve2jGf2Zf7CiN8a2o694V8ZWPMKO98wae6NsZ20gTv5j6JrXlhNWA18TlA9xRynK7p9PApmUgATCWXkFaIlEv2XCJUJjrT6GcROsZhY4uWV6GjVZ0rELrr0Aqo400oNiA9W2FCH4fF3XPX66c+8XwE="),
- this.addDataEntry("sysml port flow item flow",200,120,"Item Flow","7ZXfasIwFMafJrdSm22wS1unDBwI7gVie2yD+VOSuLY+/U6bVN1WcYNdetGQfOd84ZzfKYTQVDZLw6ryTecgCH0hNDVaO7+TTQpCkDjiOaFzEscRfiReXIlO+2hUMQPK/cYQe8MHEwfwiqte1YqrPaqEznB9X/sc61oRckonsdL5lNDElqzqVNkUXRMT21opJtyBXAhdr2CHZSQ7rdwm2DtTXWLCpmJZJ9ToQ40JXig8Zlg5GBRCZWAcNFe766XQ2hK0BGdaTKl57srQYeQJRCXwohxsAUvErBeKk/cMCzeB1zg7OsJuMv0By4DlR7btj4g0uYA39Cw8JotEuCo8tHnXWNK1zzMmZiFT8jzvbkoE24JYa8sd1xdXDPmrb2Gnq8GUsGxfGH1QeaqFRtJzpRUMU+LHfkgBT6aVgsyF6k9/062pxONTaQO3f2D/MMY+vrO/xf7pH9g/jrGnd/a32D//nT0ez29BH/vyVHwC"),
- this.addDataEntry("sysml port flow item flow",200,120,"Item Flow","7ZVdb4IwFIZ/TW8N0m3JLgXULHGJmb+gwhk09oO0dYC/fgco6hxmH/HSC0j79rzNOc9LAqGxrJeGlcWrzkAQOic0Nlq7fiXrGIQgYcAzQhMShgE+JFxcOZ12p0HJDCj3G0PYGz6Y2EOvQPmiVlztUCV0hu/5uq+xrhG+pnASO02mhEa2YGWryjpvh5jYxkox4Q7kQujqjecF9hG9a+U23t+6qgIrNiVLW6FCI2pM8FzhNsXWwaDgWwPjoL46Xif52ZagJTjTYEnFM1f4EYMeQVBA301n81wCZnshP3pPtHDhgY3DoyPwJtNvtAxYfmDbbotMozN6w8zGc7KIhKvcY0va0aIWAE+ZmPlaybOsvSsSbAtirS13XJ9fMhhWF+dOl4MrYukuN3qvslgLjbATpRUMQfFDl5MnlGqlIHV+gOMX9VMw4Xgw9UUojUd5gzgexuII73H8I46nG8TxOBYHvcfxjzie/x4Hbk9/ke7sy0/mEw=="),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<interface>><br/><b>ISpeedObserver</b></p><hr/><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">notifySpeedChange(): void</p>',"Interface",null,null,this.getTagsForStencil("","","sysml port flow interface").join(" ")),this.addDataEntry("sysml port flow item flow",250,60,"Required Interface","3ZVNj5swEIZ/DdeImN2qPW7IdrXSrhR1e2iPDkzAqvFQe5LA/vqOwZAvokbVnhopkv2OZxi/jw1RklbNk5V1+Yo56Ch5jJLUIlI/qpoUtI5ErPIoWUZCxPyPxNcr0XkXjWtpwdAtCaJP2Em9hV75bqVxlXJOoemDjlodgiVV3OJyHiULV8raq1VT+O5nrnWVntVo6Y6jGzT0FvL86n2pCN5qmXlhzwmsSa0Kw9OMewXLQugFLEFzdT+dFDbzBFgB2ZaXhIQv/XbjvcqpDAmfglaCKspQZdCk6+fFWOlgFg+CX9PeJRfe1fMLxwabLGT86MWRgRacepfrbmF8ZIeGjV/pbVCZ1A9BXiMRVhzQcg16hU6RJ8SV+12NCS9nccJ6yFrI7FdhcWvyFDWy5UuDBgZc6r2jFY8kMjSG2w49jmfpb4TENKE2RC8JiQlA4gMA3V0Aeu5Od1rlF5wgL2A4sMGUI1a3sgGTP1iLe9b4Pry+fIPfz94WHwj+fvazRtGPgN2Pf/rx7N6DUFoPbCKRbLrfCMQ3eWK7w63N4OQq335XQg0LWpLanRaesj0UWqHi+oclJG0BFNQzOONDb+J1f4XXUpL8WGD9nTintbK4O8c1F/8Lr3b6zffP+Hh6+E71y48/Y38A"),
- this.addDataEntry("sysml port flow provided interface",250,60,"Provided Interface","3ZVdb9owFIZ/jW9RcNppuyxhqyqtUrXuYrs0ySGxavtktoGkv37HiROgCRqaelUkJPs9Hzl+XkNYmunm3oq6esQCFEu/sjSziL5f6SYDpRhPZMHSNeM8oS/j3y5El100qYUF468p4H3BXqgd9MpPK4zT0jmJpg8636oYrLymEddLlq5cJeqg6qYM0y9c67Ra1Gj9DUW3aPxzrAvZh0p6eK5FHoQDFZAmlCwNbXOaFSwJcRawHpqL5+mkeJh7QA3etpQSC770x00OsvBVLPgUtQpkWcUugyZcvy/HTkdYtIi85tmlE3b1ckJswGQhp0evTgBacPJVbLrEhPZKbECtRP5SWtyZIkOFBGVt0MAAVL52PJORVY7GUOPYZXT7Xwz5PMM2RqcM+QxC/g4IbyYIH7r7l+liQhKKEoYrFaGc0Bwuk4Jt4BwAyFyouyhv0HvUFABT3FmLB9Loxj5+/wF/HgKWEIh8P4ddI/2vaExY/w7rxW0wQio1eMN4uu0+oyFhyDPsDnc2h7Mf2/W3OfawoISX+/PGc9hjoyeU1P+Y4oUtwUf1jTnjQ6/y6/aCX2vhxfsa5rGecevJ4v6tXUv+Ufxq5/+b/ts+2h7fJH366YvmLw==")];
- this.addPalette("sysmlPorts and Flows","SysML / Ports and Flows",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addSysMLConstraintBlocksPalette=function(a){var b=[this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,180,'<p style="margin:0px;margin-top:4px;text-align:center;"><<constraint>><br/><b>ConstraintBlock1</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>constraints</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">{{L1} x > y }<br/>nested: ConstraintBlock2</p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>parameters</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x: Real<br/>y: Real</p>',
- "Constraint Block",null,null,this.getTagsForStencil("","","sysml constraint block ").join(" ")),this.addDataEntry("sysml constraint block parametric diagram",300,170,"Parametric Diagram","7Zddb5swFIZ/DZet+CjJdhlg600nTe3FsksHTsCKwcw4CezX7xibBAJ0VZt10jQpUfD5wPbzHh+I5YV5fS9ImX3hCTDL+2R5oeBc6qu8DoExy7VpYnmR5bo2fi3384zXab12SQQU8iUJrk44ELYHbbHcBcPUoERzJRumzYsfe7WkICcipYXlreyyPg1vJC/RdNc3Mdhi/MrRcRJqeUMYTVWqdgXnm+JVan7bqTedAffR2XALm3OcrT8B4/HO6YWU5xB3sH43kznCjRz0VRkplTWvU8X9tmqqnN2WJN6RFO0BIxtgaxWMk3iBWXZkll1hIC3Sh3YUOSqCH0BsGT/ieEsRrxccMyrhCSPVPEecRSVKwXfwjSYyMwsREO9FRQ/wCBX9qULt09LxlghtVtXWZCS9B56DFA2GHM3d0evZWnk7A5pmXdrSGEmlDekp91wkeGHqZLpmvFHNhLibFZpCXuAuCcVVvoK/IHmU5hiw5YV8MqnODM1OlRiRgHgpNncaW5fgGTqNHvtm2KPq+FNU7StQvRtRrVuo8xyFqhqyYV3hXBSqQkFjwlbGnNMkYaf6/sorKimfiH+4cA/zAjwmqeD7Igk54wg+KngBnWi6ittDMTwnCvtIV725mBcFxNJs5NSxfielNy2lkc71366IP1Kk+a/IqxVZXkGRxUgRBkWqzqbqPo9A2Eidrtlgr1VIe2Jd4pmj3T7cRtptuJQ8v07fuWg7C3/UdtyJruNeoeksR0DNpP8ST8d5P6AfJt6nLghCkayEaN8WzEHtQYQkhe5AGi/UVH5XDeUWO5Ierk1/QR6i0T6/G64HR1nd73mKuDa+FzEMnu0SX+JA9g7d/DNTJwhgROKbzMD4FpAf/yTI5V8BuXwPkDg8/3tofYM/F78A"),
- this.addDataEntry("sysml constraint block constraint property",150,100,"Constraint Property","7VTLbsIwEPwaX1FIinrOo+VCpap8gUkW26ofkW1Kwtd3nRgoDaituPYQyZ7dsXdmIpOsVN3S0pa/mAYkyZ5IVlpj/LhSXQlSkjQRDckqkqYJfiR9vlGdD9WkpRa0/w0hHQkfVO5gRMo5yfLSaOctFdrHE53vZWzgXuGYFbYVjtM2oKpjQcHM9U7JGd5OVcUUNmyN9utIDYQ9Fx7WLa0DsEcOYlQKpnFb48hgEYgjgfXQ3ZQ1QFHTEowCb3ts2YvG89ixGKUnHATjR1oSQepGgJ24Z5dwEY26blo2MQ3nzBF5Ayonfllw4kA3wzZBeV/8O0qXsMX5iiBZ1FTmEVaiaQKtkHQD8tU44YW50r/6Vr7kFbR+Z9bsdFMaadDgShsNx3DEYcgmDOYwF6HZaji8CvZO8hvF1UZrqH3UdPrHfoosvR5ZH6uL+4N5mATT/wdzbzCPfw8Gt+cnbKhdvHCf"),
- this.addDataEntry("sysml constraint block constraint property",150,120,"Constraint Property","3VTLboMwEPwaHxMRk0a9xtDmkkpR0x9wwAGrflDbSUi/vmswIPJQK/VS9YDwzu7Y3pkFFCeyXhlalS86ZwLFTyhOjNauXck6YUIgHPEcxSnCOIIH4ec72VmTjSpqmHI/IeCWcKTiwFoE4YUAKqkAtu4sWnjxcfBXIpKagisUL6Oq7sOJ0xVA8wZyrHYTKnjhqzK4BjOADjvAqghvKoFGxHWUaWWdoRx66PAxp4ua6p3x/Q3btmAHJDO4B/SS9HvOuhqg7S55gFWXWDk+AI+UwaWTYFsKxxBb0sqjsi68o1N7tlJMfTcb4yUi+sjMXugT1Ow5GBGTU8kd21Y087wTsPojoBS0vOtrAwVTV0xL5swZSk48d2WoeGi9j0rGi7KjhYGIqG2BoucOYwKLMCm3pya+mpq6FfmVUXElkGGWf9JdE0ZezkGwMCepYHuvrW+ZZ1QsAyx5nnsaEXTHxEZb7ri+Ub++SI95hGbvhdEHlSdaaJjGVGnlsxZk56pYN5ulXs4OevNupV6rmOy1ctvQzax3B0xVLHOhrf47+841fNu135gxvzLj/C/NePyDZkA4/Kub3OhX/gU=")];
- this.addPalette("sysmlConstraint Blocks","SysML / Constraint Blocks",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addSysMLActivitiesPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;whiteSpace=wrap;align=center;",160,80,"Action","Action",null,null,this.getTagsForStencil("","","sysml activity action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.callBehAct;whiteSpace=wrap;align=center;",
- 160,80,"action name:\nbehavior name","Call Behavior Action",null,null,this.getTagsForStencil("","callBehAct","sysml activity call behavior action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.accEvent;strokeWidth=2;whiteSpace=wrap;align=center;",100,60,"Event","Accept Event Action",null,null,this.getTagsForStencil("","accEvent","sysml activity accept event action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.timeEvent;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;",
- 35,40,"","Time Event",null,null,this.getTagsForStencil("","timeEvent","sysml activity time event").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.sendSigAct;strokeWidth=2;whiteSpace=wrap;align=center;",100,60,"Signal","Send Signal Action",null,null,this.getTagsForStencil("","sendSigAct","sysml activity send signal action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.actFinal;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;",40,40,"",
- "Activity Final",null,null,this.getTagsForStencil("","actFinal","sysml activity activity final").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.actParamNode;align=left;spacingLeft=15;verticalAlign=top;spacingTop=-3;",300,135,"act","Activity Parameter Node",null,null,this.getTagsForStencil("","act","sysml activity activity parameter node").join(" ")),this.createVertexTemplateEntry("shape=rect;rounded=1;html=1;whiteSpace=wrap;align=center;",160,80,"<<controlOperator>>\nCallBehaviorAction",
- "Control Operator",null,null,this.getTagsForStencil("","","sysml activity control operator").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;labelX=135;html=1;overflow=fill;",250,120,'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>act</b> [ControlOperator]</p>',"Control Operator",null,null,this.getTagsForStencil("","package","sysml activity control operator").join(" ")),this.addDataEntry("sysml activity decision node",
- 200,80,"Decision Node","7ZXJboMwEIafxneWpOo1kDSXVoqUJzBhBFaNB5kh29PXYIclTVS6ST30gDTzz+JhPpBZGBfHteZl/oIpSBauWBhrRLJWcYxBShZ4ImXhkgWBZx4WPN2J+m3UK7kGRVMKAluw57IGq1ihopN0QpXzsjF1jkVSVyyMcirMoEvfmHvQJHZcPvME5AYrQQKViSVIhMUgYSFFpgo7FWFpIu5kE4fj3elbyY2+BiyA9MmkuIJH+3Leyboz5x5ESvlYykFkOY01Xlk/6/r2izKG29XtvYUf7w3SDLbOBZngYdULwxW2MWPnqMUZFXETiHizrmbpduzxGof7BZUutG4bKFRNa421SqGZ0zOebMBEfPeatXqMEnWfWxHXdKnHEtRF24pzM7cfdKCa1xlhqrDWOxh9RhPIaZCcxH7c6hYJV7pBYTp2xH3vCp4ZNgNyWVf8umMnIZ29RzqPsprrlM2X36Z7ATiRpWPxGZam+q9SC7zxj/rwaxDntyCCrOCf4VcZ/jQz4/b3m00fXn9v"),
- this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.flowFinal;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;",40,40,"","Flow Final",null,null,this.getTagsForStencil("","flowFinal","sysml activity flow final").join(" ")),this.addDataEntry("sysml activity fork node",200,80,"Fork Node","7ZZNb4JAEIZ/DXdYrPZq0XppExMPPa8yhU2XHbKMn7++Czt+QDQ1RpMeJCHZfeeD2feBhCBOis3EyjL/xBR0EI+DOLGI5FfFJgGtAxGqNIhHgRChuwPxfiEaNdGwlBYMXVMgfMFK6iV4xQsVbTULVS7Lemlh4Vq+5VS4KUeRW34rrRPUaJvEOGwup6/AklpI/SHnoKdYKVJoXM4cibA4SRhqlZnCj0pYugiP4+KwuXikRuLzTAALILt1KVzQ9ycO1yql3Es9r+Sgspx7vHKWrPw+O/Q5uuUWbNh58+K/zYM0gxlvQc9xPT4Kp1Y2MbfO0aodGpK6Fk06tLbRDZq6wuLSpFA/vva5Imlpn4ElmEaz+ANffPZ4nzVTu3qESBw8ridrOVzh0i6g9VpcYboFLUmt2q3OmcqlU1Suowi3TKaDwc2aAXFSh8ThqVfB6d0fzv61baNh47touhhcxb+DwF+MCJkCQ4keBuXlCeVWKPHDoPSfUG6F8vIwKIMnlFuhDO4FxW2Pf2I+/fRH7Rc="),
- this.createVertexTemplateEntry("shape=ellipse;html=1;illColor=#000000;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;",40,40,"","Initial Node",null,null,this.getTagsForStencil("","","sysml activity initial node").join(" ")),this.addDataEntry("sysml activity join node",200,80,"Join Node","7ZZNb8IwDIZ/Ta6oNBvsugLjskmTdtg5tKbNltZVahjs189NMigfk5AAaQcqVXLs1076PjlUyFG5mlpVFy+YgRFyIuTIIpKPytUIjBFxpDMhxyKOI35F/PRHte+qUa0sVHRKQ+wblsoswGfEMPlAXTU1pJzo9XpiOPaihtYmiJpC1W1oIeVtkoJKPvm4z+FcGzNCg9YJZeQezi/Bkk6VeVYzMK/YaNJYsWaGRFiywLSFRKWfucVFlXVmzN3TmfFodN72EtacDV/ANVj96YJLBQumgCWQXbPkt0EOfMuXzqjwuTufKUDnRRjy4L2MVOPX+WbQ1mEOgsnHDZeHhu+bC1kOb2EJZoZfk22ia7WrcVyg1d9YkeJC4syDdrPWdaiyR2udCmtgz5KGLH7Ce/hO6TVv+rvdrB9v7GzPsGNmgwubws6lOcFfC0aRXu6OOmZfaH3lm0dbLnEUHF8HJnsASNkcKDTtMdic4iQsd5fH8ntbnenK0h6IDpoKKzhAdwjKTfl3qAKa/tXQ3N/QnIdGXg3N4IbmPDT3V0MzvKE5D83wUmh4uf2f8/Lu794P"),
- this.addDataEntry("sysml activity is control",300,60,"Is Control","zVTLboMwEPwaXyMCbaMeA0lzqlQpl/bowApbMjYymwD5+q7BQEgTKYdW6gFpd/bh8Qwyi5Ki2VleineTgWLRlkWJNQb7qGgSUIqFgcxYtGFhGNDHwrc71WVXDUpuQeMjA2E/cOLqCD2yTlEa3cMVtsrDAgsit1myKK4ELx1aNLnjvajaqlALWSVGozXUFddCIuxLnrq2mpoI40rmmtKUmIElwJ8MFqG5y76DPPUdmALQttTiB177ywW1zFD4AX/hQIDMhd/y4jFe9Xk+bpqkocCrc1up6IdSbBWn/sqrzQ/BIMth71NQB1NvJyC+ULOrUSyMlWdax52AFXKLa2u7iimBhIutOeoMHJvAjelsqGuj3U6npEy5WnuhDwbRFK61kfg5jFH85eLF83DMXp4dx2U4euKozxypzNGmMPtjHjDJguIoT/NVtyzwox9G0sYwaL3gV6YR1xzQN135Np76kJVPf2zl4MTcpps23jeN2LSjay6ZbKOl/860ZjDNu/bbJlI6vYp9++Wj+Q0="),
- this.addDataEntry("sysml activity is stream",300,60,"Is Stream","zVTLboMwEPwaXyMCbaMeA0lzqlQpl/bowAos2RjZmwD5+q7BQEgTKYdW6gFpd/bhYQbMokQ1O8Or4l1nIFm0ZVFitMY+Uk0CUrIwEBmLNiwMA3pY+HanuuyqQcUNlPjIQNgPnLg8Qo+sUxS67GGLrfRwgYrIbZYsim3BK4eqJne8F7a1Si6ETXSJRlNXXBcCYV/x1LXV1EQYlyIvKU2JGRgC/MlgEJq77DvIU9+BVoCmpRY/8Nq/XFCLDAs/4F84KEDkhd/y4jFu+zwfN03SUODVua1U9EMptootGuCKrTY/9IIsh71PQR50vZ2A+ELMrkZxoY04k4Dc6WeRG1wb01V0BaRbbPSxzMCRCdxYmQ31UpdupxNSpFyuvc4HjaiVa20Efg5jFH+5ePE8HLMXZ8dxGY6WOOozQ6w+mhRmH8wDHhmQHMVpvuqWA370QwvaGAat1/vKM+KaA/qmK9vGUx9y8ulvnRyMmLt008X7ntGf1I6muWRyjZb+O8+awTNv2m97SOl0J/btl1fmNw=="),
- this.addDataEntry("sysml activity is stream",300,60,"Is Stream","zVTJboMwEP0aXyMCbaUes58qVeKSHl0YYUtekJkEyNd3DCaQTcohhx6QZt4sfn7PgiUr3ewcL8WXzUGxZMOSlbMW+0g3K1CKxZHMWbJmcRzRx+Ltg+q8q0Yld2DwmYG4HzhydYAeWWQorenhClsVYIGayK3nLFlWgpce1U3hec+qttJqJqsUHXBNDbWQCGnJM99VUw9hXMnCUJoRMXAEhIPBITQPyXdQYL4DqwFdSy1h4LO/W1TLHEUYCPeNBMhChC0fAeNVnxfnTaMyFARx7guV3Ah1IxHkBaQhBfVr680ILCf6dTWKhXXyZA1y5UVF7nDhXFexJZBWS2cPJgdPIPJjJh/qxhq/ExqJ+6FK8Y+PZ+/DtlSePJV5fFbbM7zQurIHl8HFU3hCfgeKozxerronbhj9tpI2xlEbpLyyg7gWgKHpypHzqU+Z9PZ6k/wDlVln0cSABwYR0f00GQ2h2X9nRzPYEfx4tT2Ujj+yvn36n/sD"),
- this.addEntry("sysml activity is stream",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;");a.vertex=!0;var e=new mxCell("{stream}",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],
- 250,100,"Is Stream")}),this.addDataEntry("sysml activity local pre precondition post postcondition",150,180,"Local Pre- and Postconditions","5ZVNb4MwDIZ/Te6QtL33a71s0qQeds7Ag2ghQcEtbX/9HEhbEEWqtHWatAPCfp03kCeGMLEsDhsny/zFpqCZWDOxdNZiGxWHJWjNeKRSJlaM84guxp9GqnFTjUrpwOA9Bt4a9lLvoFW0TaR+dZBYkypU1jA+Y1zEERML0ip0UtHcja3Cow62KpelD41Fui1yLGgtq5jCSp18IZ76GJ39hDeVYk4SJ0VqlRmKNXygH1DKRJnsuclW3lLnCmFLsp+kJlAdU0KrBEdCWAU4hMMoiUYKGDZgC0B3pCF1eBs/ItCKclBZHmyToMmqzbOL9cqVgoD2NmYxwDxPWrYjGIk/9jE6uzMppGeoA5AP53Q2BBzHNp1N27RLMbpBcfoDFCcjzWor/DfdGgy8vwvxuUm72yAe1MzTwTYM+EKawTakoN9tvb4KXdpNjeLcOnWyBqXudbrfRTDp3LlmlLEGLvj8I3rwKrtzCfR+ayhdBtj7BO9A7EBLVPv+7N8BNvv7wMQQ2OTXgFF6PfGaWu9A/AI="),
- this.addDataEntry("sysml activity merge node",200,80,"Merge Node","7ZXPboMwDMafJncInbRrS7teNqlSnyAUC6KFGAXTf0+/hKQUunbrpE7aYQck53PsON8PKSxJq/3SiLp8wxwUSxYsSQ0i+ajap6AU45HMWTJnnEf2Y/zlRjbuslEtDGi6p4D7gq1QLXjFCw0dVBCaUtQuNCVWWduwZFZSZQedxzbcgiG5EepVZKBW2EiSqG2OsB5kp0oWuvIjZUiElU2Gk+0W2N+cvpPC6EvACsgc7JZQ8OwvF+1kTqWXJkEqQRYljTXR+HXRNzo7Y4NgznWjku+NgryAdViCynC3OAtDz7qcjUs08oiahE3MhLPIuezHHls3tM1gq3NwU0V2pZzvM7F5Lzo9RYXGpjRqdyjofGpMdxjWoL2ylkc3Ycx7Bm7wEYEGW7OB0R9yBxQDSpDcjltd8zyUrlDajj3MOAqYDmO4pw4kTAEUii7A9VPcxXLyeJYnXF+Ra+wN6DOPkxKY/YRv1/Gv8uQXPPmv8Xz65/mbPB/Nzy7PD5zfPnz/PgA="),
- this.addDataEntry("sysml activity no buffer",300,60,"No Buffer","zZTBboMwDIafJteKwlZpx9JuPU2a1Mt2TMGFSCFGwW2hTz8HApSulXrYoQck+4/t2P4AEa2KemNlmX9iClpE7yJaWUTqrKJegdYiDFQqorUIw4AfEX7cOZ23p0EpLRh6JCHsEo5SH6BTlgkpNJ1cUaO9nFPBza3nIoqrXJZOLerM9T2rmqrQM1Wt0JBFjopPuSLYljJxYScOYk1qlRl2E+4MLAv+ZrAE9d3uW8m3vgEsgGzDIT7hrRsuOKmUcp/gBw5yUFnuqyy8JqvOz4ZK42rY8Nu5vanoz6ZEuJCFG01TO86lZzA+7Pc8Z69mkxjvXe0Y0gy23gW9w9P7KMQXANoztnO06sxLl27nFUlLS2vbEyyBdx1bPJgU3ACBSzNpf27QuJpu+SqReunZ7JAICxdaK/ru09j+cfbstb9mq86ux3k4TOFan0Cs8GATmLxkD3C1oCWp47TULWo+9QsVVwyDxjO64sy9ZkA+6Ar1cOtD9F+ej34Pb0r2Jvn7nPmLbQbQzhlJc9Gn41z3nD3o/+bO7vjv7cIvf82/"),
- this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"object node name:\n type name\n[state, state ...]","Object Node",null,null,this.getTagsForStencil("","","sysml activity object node").join(" ")),this.addEntry("sysml activity object node",function(){var a=new mxCell("Action",new mxGeometry(0,0,120,60),"html=1;shape=mxgraph.sysml.isControl;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("pin name: type name\n[state, state ...]",new mxGeometry(0,30,
- 0,0),"resizable=0;html=1;align=right;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;spacingRight=5;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Object Node")}),this.addDataEntry("sysml activity optional",300,60,"Optional","zZTBboMwDIafJteKwlZpx9J2PU2a1Mt2TMGCSAlGwS3Qp58DAUrXSj3ssAOS/cd2bH+AiDam2VtZ5h+YghbRTkQbi0i9ZZoNaC3CQKUi2oowDPgR4fuD02V3GpTSQkHPJIR9wlnqE/TKOiGFRS9X1Gov52S4ue1SRHGVy9Kppslc34uqrYxeqGqDBVnkqLjOFcGhlIkLqzmINalVVrCbcGdgWfA3gyVoHnbfSb71PaABsi2H+IS3frigVinlPsEPHOSgstxXWXlNVr2fjZWm1bDht3N/U9GvTYlwJY0bTVM3zrWHpdui1KOazWK8d7NjSDM4eBf0EevdJMRXALoztnO06sJLl27nFUlLa2u7EyyBdx1bPBUpuAECl1akw3mBhavplq8SqdeezRGJ0LjQRtHXkMb2t7MXr8M1B3VxPS7DcQrX+gxihSebwOwle4KrBS1Jneel7lHzqZ+ouGIYtJ7RDWfuNQPyQTeox1ufov/y/+gP8OZk75J/zJm/2HYE7ZyJNBf9d5ybgbMH/dfc2Z3+vX349a/5Bw=="),
- this.addEntry("sysml activity optional",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var e=new mxCell("<<optional>>",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=
- !0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Optional")}),this.addDataEntry("sysml activity overwrite",300,60,"Overwrite","zZTBboMwDIafJteKwlZpx9J2PU2a1Mt2TMGCSCFGwS3Qp58DAUrXSj3ssAOS/cd2bH+AiDZFs7eyzD8wBS2inYg2FpF6q2g2oLUIA5WKaCvCMOBHhO8PTpfdaVBKC4aeSQj7hLPUJ+iVdUIKTS9X1Gov51Rwc9uliOIql6VTiyZzfS+qtir0QlUbNGSRo+I6VwSHUiYurOYg1qRWmWE34c7AsuBvBkvQPOy+k3zre8ACyLYc4hPe+uGCWqWU+wQ/cJCDynJfZeU1WfV+NlaaVsOG3879TUW/NiXClSzcaJq6ca495Llqy1sY5WwW5L2bJUOawcG7oI9Y7yYhviLQnbGdo1UX3rp0S69IWlpb251gCbzs2OLJpOAmCFyaSYdzg8bVdNtXidRrD+eIRFi40EbR15DG9rezF6/DNQd1cT0uw3EK1/qMYoUnm8DsLXsCrAUtSZ3npe5h86mfqLhiGLQe0g1o7jUD8kE3rMdbn8L/8g/xD/TmaO+ifwyav9l2JO2cCTUX/XegmwG0J/3X4Nmd/r59+PXP+Qc="),
- this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.paramSet;whiteSpace=wrap;align=center;",160,100,"Action","Parameter Set",null,null,this.getTagsForStencil("","paramSet","sysml activity parameter set").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.paramActSet;align=left;spacingLeft=15;verticalAlign=top;spacingTop=-3;fontStyle=1;",250,120,"act","Parameter Set",null,null,this.getTagsForStencil("","paramActSet","sysml activity parameter set").join(" ")),this.addDataEntry("sysml activity probability",
- 120,160,"Probability","zVTLboMwEPwaXyNi2uQcoM2llSqlP2DMBqwaG9lOA/n6rsEhb7WRqqoHJO/sjj2eQSZxWrdLw5rqVRcgSfxE4tRo7YZV3aYgJaGRKEicEUoj/Ah9vtGd9t2oYQaU+wmBDoRPJjcwIAvuhFYDbF0nA1y5GsVlUxIntmKNR+u29LontrO1nDRG5ywXUrgOZ7aVcLBqGPeDWxxDjElRKiw5agODQDgbjIP2pv4eCuKXoGtwpsORrShcFSbCHaMKRFntabMAMjsA5cg92IGL4Mh1d+ILd8g88fqO7oqH+86M0HiKy6QfXjXAxVpwNngZkXl24agBK3Ys70tPPHJ475SEtfNbokO4l1wEONfO6RobkuUg37QV/TEX8y9n7VNewvhHafRGFamWGvPIlFYoJllr5VZi53X1N7IYo1BlEtgZfRyz41op4C7cYvzbvsuUXs+0PcuzG+qHX0jy4X8m6XRzf4xHpHszfPfUPw9wrO9IEMvDK9j3Th7JLw=="),
- this.addDataEntry("sysml activity probability",120,160,"Probability","zVRdb4MgFP01PK6x0I/nqVtfuqRJ9wdQqZIh1yDttL9+gFRb22Zrsix7MOGec0+4nCMgEpXNStGqeIOMCUReEIkUgO5WZRMxIRAOeIZIjDAOzIfw6x126tigoopJ/RMB7gQHKvasQ2iqO6zWrfBYoUszWTxFJKwLWlm0bHI79KRu61JMjGijIDE8FTyXhhdsp217RVMu87Wr4rlBDkxpnlLx7Bs1VEPfuy3iJ2KQHUi99SPYjf2gRs2au4d1kD/pikHJtGpNyyfPdOE7vCFBwXhenGQLD9K6A/JeO3hnFt6+21aSKyvRMrTzGWNowgXXdhTHLBAm08CaYZu3FUv5zniiOUjbsoyvElCs5keauNIKzxIZOT72NwGtoTSEoAkTG6i52+aqfz2iL3UhTT9yBXuZRSBAGV6CZKeY+NGlFAxBhl4d43mfXQpSslT7U/S/5neZ4tuZNqM8266e/UKSs/+ZZHdTHozxTPRoht1l/OsA+/qBBE05PJmOu3hRvwA="),
- this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",120,60,"<<continuous>>\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",120,60,"<<discrete>>\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",140,
- 120,"{ rate = constant }\n{ rate = distribution }\n<<continuous>>\n<<discrete>>\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",140,80,'<p style="margin:0px;margin-top:4px;text-align:center;">Object Node</p><hr/><p style="margin:0px;margin-top:4px;text-align:center;"><<rate>><br/>rate = constant<br/>rate = distribution</p>',"Rate",null,
- null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.addEntry("sysml activity rate",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var e=new mxCell("{ rate = constant }\n{ rate = distributuion}\n<<continuous>>\n<<discrete>>",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");
- e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Rate")}),this.addDataEntry("sysml activity rate",300,60,"Rate","7ZVNj5swEIZ/ja8RgTarHgO73dNKK+XSHh0YgbXGg+xhA/vrOwZDlnxUqOqhhx5QPK/H43dGD0EkWd09W9lUL1iAFsmTSDKLSOOq7jLQWsSRKkTyKOI44kfE3+/sbofdqJEWDK05EI8H3qVuYVT2OSk0o+yo10GuqGZzj1uRpK6SjVfrrvS+N653td4ol6Ehi5yVnipFcGhk7tNOnMSa1Ko0HObsDCwL4WawBN1d94MUrD8D1kC255Rw4NvYXHRSBVXhQGg4qkCVVaiyC5p0Y1zOlc6j4UWYzu1JJVeTEg/cQ2QlAf8MUpSjcSTZPAsPLOxEnGwj3+x1bqEcWXVsqfXzXmbHO1n7oWm6ivgKUqbF1s16uciaojXF2ENuwZv6XakLFKAo4RBC0Ec8PZ2F9BMnwx6vK7Tqg11LjwaPx9Le2mEHG2AkUoutKcDP2fsFU0z7Bo2v6RlRudT7gBChNwedoh/TGV7/9OvNV9+aPIJOZf5WDpUz1GjP1QYHB/Xh7W/juUHf1QJDh63NYfGarCDTgpak3pelbnEXjr6iGnDpA2UXpLLXEigkXcA637qK3y//+f1Dfif8lmzeZPcOqfy/2M+o+mAtq3zfP0dqN5EaUP3b5HJ4/v6N6Z8/j78A"),
- this.addEntry("sysml activity control flow",function(){var a=new mxCell("",new mxGeometry(0,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");a.vertex=!0;var e=new mxCell("",new mxGeometry(100,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow=open;labelBackgroundColor=none;endSize=12;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,
- e,d],160,60,"Control Flow")}),this.addDataEntry("sysml activity control flow",160,60,"Control Flow","zVNNb4MwDP01ufNR7d7Srqed+AUpsUi0ECMTCu2vnyEZDGnVusu0QyT72c/4PRKRF814JtnqN1RgRX4SeUGIPkTNWIC1IkuMEvlRZFnCR2SvD6rpXE1aSeD8M4QsEK7S9hCQAHT+ZiPQadlOIUHFIw/aN7zlMeWQsHcKVMwGbTyUraym5oEVMRanA3kYH244Q3G9M2ADnm7cMhjldeh4CSISDabWkbWLmOxCXi/MVS4HUfH36vP/q/6TkESZf+DG7mc3QNVQxhTsBYfTCnz1Zq5xrJHMHZ2XdgKd2hPNOLbgGLHyAvYgq/d6NrNAi8RVh26ap2SnF3+ZXJr79N00W6yd1tkY22FPFWyutpdUg9/87yfsJ7DSm+t2+i/M5XR9xHNt88Y/AA=="),this.addDataEntry("sysml activity object flow",
- 260,60,"Object Flow","3ZVNb8IwDIZ/Te4lZdxHYZw49bBzaKwmIo0rN1Dg189tM1g10JDQkLZDJft1X8d5+hGRZtVhRao2a9TgRLoUaUaIYYiqQwbOCZlYLdKFkDLhS8i3G9VJX01qReDDPQY5GPbK7WBQBqEJRxeFxqi6CwkKbjk3oeIpFxMOCXdeg45ZEwi38G51MKxIVlpjA+S1Kjp7y3tkLa4HFOBwc+ZeigOvACsIdORb2tibq7NhW4kBW5romkZNNUNenp0XABxEBtd5pI/w+H0Cn4YkbvUJRKZ/6Q2JBvlEPi8/8wFdQh5TcBtslxfhK62+xrFBsif0QblO9PqVqNexBs+KUxtwc1Vsyx5vhg6Jqx49XIXMHXJ76hafyDPfbqYR3QZ3VMDorxAUlRBGH8Ydz4DAqWD34+6PEJ79Q8Lpd8LTpxHm9HLC9LXRAfQB"),this.addEntry("sysml activity object flow",
- function(){var a=new mxCell("",new mxGeometry(0,0,60,40),"html=1;shape=mxgraph.sysml.objFlowR;strokeWidth=2;whiteSpace=wrap;");a.vertex=!0;var e=new mxCell("",new mxGeometry(140,0,60,40),"html=1;shape=mxgraph.sysml.objFlowL;strokeWidth=2;whiteSpace=wrap;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow=open;labelBackgroundColor=none;strokeWidth=2;endSize=12;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);
- return b.createVertexTemplateFromCells([a,e,d],200,60,"Object Flow")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.objFlowR;whiteSpace=wrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowR","sysml activity object flow").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.objFlowL;whiteSpace=wrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowL","sysml activity object flow").join(" ")),this.addDataEntry("sysml activity probability",
- 350,80,"Probability","7ZXbboMwDIafhnsKZb3uabvZpEp9ggAeiRZiFExPTz+H0FK2Vuu0TdvFLpCc3wdsf0EE8bzcPVhRySfMQQfxMojnFpG8Ve7moHUQhSoP4kUQRSE/QXR/xTtqvWElLBi6JSHyCRuhG/CKF2ra606opaicaSWWaVMH8UxSyY0uRmxupSJYVyJzEVseg7UNWFKZ0I8iBb3CWpFCw+4UibA8C5hqVZjSd0roUrtu2A+7qxO1UjfOA2AJZPccckxIEp+y9+exX0C4VTnJoSRBFZKGmqj9uTgV7rfHRrfAy8uMP14m5AWsuyPoFLfLXjjfa+tjW6JVBzQk2DETbl+OhG97uMfzBYPJp9a2BQwaV9piY3JwfYZ80o7MTGQvRavPUaPtY2sSlo75WIE5amt1cH2PohMpN86AU42NzWBwt25AZ0ELUpthqUskutQVKq7YI58kwxRutgDqot7wO732JqTj90gnMzeUxVSkSity/bceH7SuIFPPTKW99OyaLL58CY6cb0TeIfsMcs7+q3DjJBx8z3fhT7FO/ln/FuvvZsvH/h/qw89/sa8="),
- this.addDataEntry("sysml activity probability",250,60,"Probability","7VRNb4MwDP01uVYU1vVc6NrTpGlctmMAF7IFjEJaYL9+Dkk/aJlU7bTDkBD284t5PIewICq7reJ18YwZSBY8sSBSiNpGZReBlMz3RMaCNfN9j27mb36ozoeqV3MFlb5ngW8XHLjcg0VWqRZYWbjRvXRwoUsSt56zIGwKXhu07HKje9b0TSlnmHxsJLavRGgLoSGueWpYLXEI41LkFaUpCQNFgHsxKA3dj+IHyCnfApagVU+UVmS6cIxH+4FeASIv3LIjxhub56elZysocG5MOxPcOMOWoZGnMOGJkEIbJUPFkuIaUrETKbf+eWy5vnERshxil1ZY0SO8MPbGI+MONZQrV0hQayypAFW2UgpbwrCGyiKx+DJ9575JO6HfXFsTv1PszRaU7YSUEUpUg6JgN1yES56ADHn6mSvcV9mR4lTaLzHyR7NqcK9SGG2lO8Y3nrcCSZYdxo2nJucavaCg/qcu/uJq2JqrHLRjXc37JOKuLfDwB7eAxvp//pPz76f//V9vB0rP57ClXx7T3w=="),
- this.addDataEntry("sysml activity probability",250,60,"Probability","3VRNb4MwDP01XCcK23ou7dbTPiQu2zGAC9lCjIJb6H79HJK2o2ulqqdpSAj72THPfoYgntf90oimesICVBA/BPHcIJKz6n4OSgVRKIsgXgRRFPIdRI9nopMhGjbCgKZLDkTuwEaoNTjkJfuAnBh7Zj4u2tJW+WhbicaaxubESVdJgrQRucU67oIxoWSp2c2ZAhgG/CvAEPRnaQ6Q57gErIHMllM6WVDlM+5dK2EFsqz8sR0mWueX+6OHptnwfZ+eQfxrBsE0sfQMZiKTSpJlMkRcUtpALlcyFyRR29B08WtQUJSQelej5kdSUc0UFpNTM7LT4YJq5gMZEmHNAdDFzBjsGMMGtENS+WXrTiLr9pLefFlrv7Md3sTsraRSc1RoBkbxargYVyIDlYj8szS41sUuxbN0nVj6I61aXJscRktzgXxjvQ0oHtlmXPiUcr7QK0pNhyrR3ZHYJEwJ5LOO9N6TuGgFbv/gChA21+s//c/6b09/+1evA7uHP65L//lD/gY="),
- this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=top;labelBackgroundColor=none;",160,0,"{ rate = constant }\n{rate = distribution}\n<<continuous>>\n<<discrete>>","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.addDataEntry("sysml activity in block definition diagram activity association",400,250,"In Block Definition Diagrams, Activity, Association","7ZZNc5swEIZ/jY7NgGSTXBM7yaW91JlprwI2oFgfjJA/6K/vCoQNxe64044znfbgGfbdXSQ9i98RYQu1f7a8Kj+ZHCRhj4QtrDGue1L7BUhJaCRywpaE0gh/hD6dycZtNqq4Be0uaaBdw5bLDXRKmuedVrtGBq10Cne2jAl7qEteeVXtC7/pm7qplbypeLbmBeoPkqcgv2LBbI4Rl6LQGEh4db4Z64QuPrbR0hdswTqRcXkfCp2pjnUvPlh+YKi8Gu1WYUPtNpw1a/giclcGxUK2sbXYwmeoxTdfF6EajoerwP4solYKfJ7BKHC2wZJdeDtmGeswRiWIogxtdB5EXndCceg9EseHAP30ANhkAIQmXHkK0rUHGEY8c2IrXHNQi1FNHxHK4mhUHmmuYDLXfpjIzncOxrwrhYMVjsGndzjpwTAzBAf2Urj0NNzQ0HNtunAWwgH6mJ5An/wB8rP/5Afk4+SK6OcT9J6X0QOAJ6mBzu+tNTuMtNEwBgd5Ab1FhCzWPwm/i9YLaset6/tzwZXR+UspdJ8KpXEfrzobienUyH60rdQ4Z9RhMH4rPx8LHstsbAYjE8BFC3CDr/Ps8MJrLUiO39l4rd8ZTPJv/yfiu/ezo9tfQp9Kk60v5B5q/xboV3Wiuwl1k755FAMnwnvZFYzp/dwnmbrP7TXcB8PjRbfNje7B3wE="),
- this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.actPart;strokeWidth=3;verticalAlign=top;rotation=-90;whiteSpace=wrap;",100,100,"Partition Name","Activity Partition",null,null,this.getTagsForStencil("","actPart","sysml activity activity partition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;strokeWidth=2;verticalAlign=top;whiteSpace=wrap;align=center;",140,50,"(Partition Name)\nAction","Activity Partition",null,null,this.getTagsForStencil("","","sysml activity activity partition").join(" ")),
- this.addEntry("sysml activity interruptible activity region",function(){var a=new mxCell("region name",new mxGeometry(0,0,160,60),"shape=rect;html=1;rounded=1;verticalAlign=top;dashed=1;strokeWidth=2;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;edgeStyle=none;align=center;verticalAlign=bottom;exitX=1;exitY=0.5;fillColor=#ffffff;");e.geometry.setTerminalPoint(new mxPoint(250,30),!1);e.geometry.relative=
- !0;e.geometry.x=1;e.edge=!0;a.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,e],250,60,"Interruptible Activity Region")}),this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;dashed=1;strokeWidth=2;verticalAlign=top;whiteSpace=wrap;align=center;",160,60,"<<structured>> node name","Structured Activity Node",null,null,this.getTagsForStencil("","","sysml activity structured activity node").join(" "))];this.addPalette("sysmlActivities","SysML / Activities",a||!1,mxUtils.bind(this,
- function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addSysMLInteractionsPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;overflow=fill;labelX=95;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;",160,80,'<p style="margin:0px;margin-top:4px;margin-left:5px;text-align:left;"><b>sd</b> Interaction1</p>',"Sequence Diagram",null,null,this.getTagsForStencil("","package","sysml interaction sequence diagram").join(" ")),
- this.addEntry("sysml interaction lifeline",function(){var a=new mxCell("b1:Block1",new mxGeometry(0,0,160,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;dashed=1;endArrow=none;align=center;verticalAlign=bottom;exitX=0.5;exitY=1;");e.geometry.setTerminalPoint(new mxPoint(80,150),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;a.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,e],160,150,"Lifeline")}),
- this.addDataEntry("sysml interaction execution specification",160,220,"Execution Specification","xZTbboMwDIafJveU7NDbQrdeTZrUJ8iIR6IFgkJa6NvPJS40W6sxddKQkOLTj/1hhfG86jdONOrFSjCMPzGeO2t9OFV9DsawNNGS8TVL0wRflj5fiS6GaNIIB7WfU5CGgr0wOwietwXjq8zY4oPEWn8wFGuVaI5HBwWqZ8pX2PAaC7JOaQ/bRhTHcIfjoE8YXdZoFtgLOHTQt8B56K/2O7io2Q3YCrw7YEqnpVeU8RBmShToUlHZySfaYJdj6TQ9HgjAZRj8G4xfEHjXxuTWWDckchieG4emgkea7UDJCdlnTNILSJZ/gOTuZyQgS9iSWdsaYixStAokGVDLlXO2mzKD2lEiYtPanSsgWlEvXAk++lEzCDowwut9rH4LkPv/BzJ/+njhZrMgoVerUX9UWcZbOK7cSSH8ICr6AnTs6RJjNKcLL6Sf34ef"),
- this.addDataEntry("sysml interaction execution specification",160,220,"Execution Specification","zZTNbsIwDMefJvfSbBNXKBsnpEl9giyxmmhpU6WBlrefIaaQUaRKm7QdKsVf/9q/WGG8qIetF63eOQWW8VfGC+9ciKd6KMBalmdGMb5heZ7hx/K3B9HFOZq1wkMT5hTkseAg7B6i52PB+GptnfwksS4cLcU6LdrT0YNE9bUONTa8wYJ1r02AshXyFO5xHPQJa6oGTYm9gEcH/Qt8gOFhv2cXNbsFV0PwR0zpjQqaMl7iTJkGU2kqu/hEF+1qLL1OjwcCMA2D38GAAWTZgvxPJKiALjY7UnJG9i2ofALU8hdAPd2BugMEqoKSzMY1kEJSotOgyIBGrbx3/TUzqp0kEjid23sJyeIG4SsIyfXNQOjBimAOqfpPgDz/PZD506cbN5sFCb07g/qjyjJdw3EtLwrxgqjoG9CxpynGaF6fwZh++0p+AQ=="),
- this.addEntry("sysml interaction use",function(){var a=new mxCell("Interaction3",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.package;labelX=40;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("ref",new mxGeometry(0,0,0,0),"html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;spacingLeft=5;spacingTop=-2;fontStyle=1;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],
- a.geometry.width,a.geometry.height,"Interaction Use")}),this.addDataEntry("sysml interaction combined fragment",350,320,"Combined Fragment","1ZhRb9owEIB/TR6Z4pjQ9pHAVk3apGmdtL2a5EiiOnHmmAL79btghyQYSsTCSiUQ8fnuHH/nO9s4dJZtHiUrkq8iAu7Qjw6dSSGUfso2M+Dc8dw0cujc8TwXv4736UQv2fW6BZOQqz4GnjZ4YXwFWuJ4E46mQYHiUm25Fk9+r6pXCjIm4zR36NQtNvvmSIkCReO2iMMS9adE6ynYqBHjaVyZ6q6gcYpPsfndDb2oBWVUi3AGi0bN1Z/PuQLJQpWKnLQUi0bR60zCS1SGhOekcp2wopJmm7iC/6Hclhn/ULDwmcUoDzhbAP9VKbsuNluW4gXkkos1NpcpwkRfSopn+JlGKjE6EsKVLNMX+A5l+qcax92/D5ojjpPx2olMsB5BZKDkFlXWxjv2Ul/H1E0gjRNjRk2gXVZqQby3bcKPD2YFHF8N1FoNC5zNFEUBF+EzsYDWFHG+qktpnaQKnpBn1b1GxCgzC2AeQhW4vkC840CMATXT3urm2DRbuO6P0RoA1tiG5bVgeTcIi4zfjJZv06ItWvQGaXn+m9GaWLQYVrchyhn1sbUUuXoyfkiLnqnMFbU0ZHxqxLvyHpToLc3jLzudud9IflTd8xEdiHoX+oMN3XOPUCeTAbDfHdkND5hDHk2l3FX/XOTQXZkQxVBzNb0RKxOITL/2Vmm9DgdHFCsZQqsq27wkcKZwi+m4OjZ7Y/pNpDjInvNdlzN1D/gp3MdBGaMDhPu36EX1/iapjq9Cldz/N6wPN4nVvwrWfRm4Plbi3gjX4SF2GZK7fgxtP+cc6fUwSDCIHQw/SJe7l6leoz70uxg2f/5aoEQB+dlAHe58C6GUyOr9M8DtNJZilUczwYVszHCYJ33MJ94/RdgQHhmLYUs88fvF6WxRsxwNmH32hTQrY/viUZ9YpD4BtMN6YQz1EKHIczxwskU9UF0NzlzaTtzauha9w9n3vELsCxumB/AS3jAZDkPzPpLDOrZfmhyWowGTw75yYnLY29OtJceJA+y1k8O+ciIt+6L53vaIgdf9w4Xr/vBIZjm6eN1js/kDVKu3/x/9Cw=="),
- this.addDataEntry("sysml interaction state invariant configuration",120,220,"State Invariant / Continuations","xVTLboMwEPwaXyMCpfeEtDlFqpRTjxbeYksGI9sJ8Pdd4gVCHhJSpfSAvM9hZ7wyS7Ky3Vtey4MRoFnywZLMGuODVbYZaM3iSAmW7FgcR/ix+PNJdn3JRjW3UPklDXFoOHN9ghBhyeY7BJ3vNAWd5HVvWsgRdit9iZPu1mg2Unk41jzv0w3ywBjXqqjQzXEIsBign4D10D4d9BKiKfdgSvC2w5JGCS+pgshEElQhqS2lGHfBL8bWiTYaxPyxCsmdCnV/IMP0Toor7oMqZVv0F7hynSv1Kjc9o+0PHkdqe4lQHWUjEuQVwr3dr8+tXiAKGHSoTAXz9RHcSRDkQCU21ppmqgxoPcRMDWdONofZBntuC/Cz61ygmQXNvTrP0f8iSPr/gixnP1+xxVoQ0JdRiD+ivNM60RoOD8+IEC6Imm4EHWd6pDG603sYyq+fy18="),
- this.addDataEntry("sysml interaction coregion",250,220,"Coregion","1ZZbb4IwFIB/TV8NUJjuUXHzackSH/bcwRk0K5S09bZfv0ILCmjmJmpmYtJz5ZzvlFKEw2y7EKRIX3gMDOEnhEPBuTKrbBsCY8hzaIzwHHmeo//Iez5hdSurUxABuTonwDMBa8JWYDQSBbMVCuYIT2fGKNWO1caUFOVSQKTTz1KV6Yrnrl5uUqpgWZCoNG90P1pHGE1yLUa6GBBaYR8GQsH2ZMGVyla7AJ6BEjvtsqGxSq2HY5pyUqBJasMCqyPSyEkTum9fLyyB4zRwj0aPwEHLNYxsm5TzG8mdzNgo4gISyvPSQQn+CW+2cHwhABvg2z53HRYHfLwjeMYD4PF/xlMz0YG0kNDeIx+UsZAzLipf7FS/gahM2lTcSY+K34fiX84k+D9M/FsxefiZCcQJLK2Y87wDJSYyhdgKkMdTIfhm72mylSlaZCRfiQha55oiIoF2Y2fwE8CIout29kuAjO8PxO8DCe4HZHJ/IFfo3oa+cqozNq9h0D6wm9O5zmBGYoM6CJsqzqL62KOa4WG5Sl2sqnW8gPIrV55RNCJsar/271wpntXOS/pVPsn1frVNrz+V7ljc643FdfpzGXi/X30uN3tbenPp3uv+PBct7u/Vxv3w2v0N"),
- this.addDataEntry("sysml interaction creation destruction event",250,220,"Creation/Destruction Event","1Zdtb4MgEIB/jd8VtNs+tt3LlzVZ0l9A9aZkKAZZbffrh4J2SJfZ9W0zacLdcVfuOTzEw/N88yRImS14AszDDx6eC86lHuWbOTDmIZ8mHr73EPLVz0OP31iD1uqXREAhxzgg7bAm7B20ZhV4eDpjPH4zwSq5ZcZWZaRshgJiFX2WyVwt+F45zOqMSliWJG7MtUpH6QijaaHEWK0FhFKY/wIhYfPteluVWewT8Byk2KopNU1kZmb4Oic/A5pmxg0bHam0nPauu+zVwADYDwO7MFAHA/0lGJ1DZJLeajk04iVYhQ6rnwC9UsbmnHHRWjG0jw3uFEzubCY3LhO0B0nP6Rgm0XgmypGWFbhY/PY5OZbw1qISYYdK6EIJj0cy+TdIgk4+O5Obn5lAksLSiAUvGigJqTJITPpQJFMheL0zO2yaEBaZir+LGKy2L4lIQVqbdwQ/AYxIurajHwPk9vpAIhfI5HpA7q4P5AzZG9cXTlXE/jUcnGF9d+4i6JIYpwHCfhWjqAa+gzUWQCSMgfuFJy9BneSzpvnQmLCpOdlXXEqe66lL+tH4BugUGxFfqhTDWgRnrEVw2BYHtuL1w06xpx7tFCV2dTm2EhO3EuHVKhGdrxLuFeDA96HaVovnjYW7SczuR4exvxxof9B+ht+BvwatxN01Tk//esv7BA=="),
- this.addDataEntry("sysml interaction duration constraint",250,250,"Duration Constraint","zZbNjpswEMefxpdKQXwsjXoMod1DVW2ltA/g4hFYMhjZzibp03ccuwnBREFbVO0himfsGWZ+/5GBZNv2+Kxo33yTDATJPpNsq6Q0btUetyAESWPOSFaSNI3xR9Ivd3aT827cUwWdmROQuoBXKvbgPCTb/NSgnF+bk/B+3dDeLhVUmLloTIvFlgkuDw03sOtpZbcP2Ar6qOB1h2aFdWCyrPDPAWXgeLfWs8sX+gyyBaNOeOTAmWn8idj1EzfA68aH5d5HtbPrS+i1c1z45qdBZCGIdcGiKPvAyLoMaAza/wumPdZWxkifdCsixlvoNJcIoVDSUHNelqtPMTosBl5RsfGUjLTMNCLkXf3DGuUq/xdiPmDl1Y9PI3qPiD4tQPQpJDqmCKyGnTc72eFfwahugHm00LGNUvJw3R5wd9lsihs6Wu5VBTfTPQOYAoESvd6mmureh36XHDNeQOe3nIOJNFTVYHzQCOGlillU84DqFu8N9Nh9tldu0GaAHpAcYJY9dBMD+ksaI1t3dMd/2zRJel+D/w58PeLthiDgHaR5lGc53T6GulHFXva2GLxp4ihKsqmLZjHl/O1SeLvM36+ayUwZHsoZJLozF2/Qcx3o+fJ1cfEm3gvvWLY0Xkq28evnzbKhef2WcseHn1p/AA=="),
- this.addDataEntry("sysml interaction duration constraint",250,200,"Time Constraint","3ZbbUoMwEIafJpcyHFq5LqC9cJw6U18gJStkDIQJoQef3kBiQZFprVSrF0yzm/13tv9HMiAvzLZzgYv0nhNgyLtBXig4l3qVbUNgDLk2JciLkOva6kHu7cCu0+zaBRaQy2MErhasMatAZ3SilDtmEkASWJow57n6CVKZqUkjRy0JLlMgJoCczITgm7ZSd6tbDA7YpMx0c+AZSLFTJQIYlnT9XodLHSb7ur30gVPV0bW35o/Z7xUlr0QMpqhryIBu9xZ+6COxSED2+qhFZ/o21dj9ufXev7XeO9V778fMn/TMD7Egi6qeBvmBbVmOh/zoi0Q6EHgBucqsQUgaYzZjNFFxtOJS8kxtlAWOaZ4EJo6mWr6kL3Vrx72Es2MwOJPjMBzk2Ws08GKcwHPa47m4Gx2e5EVL7rEOLhqbPxY252zYrvt3oB9Iy1J9g++dP7OJDTpBk1SZHzC8Ahbg+DkRvMpJyBkXY1yZxroro/htkkPC8cj5PXKy8XEzGjIGT3+I2KGr7ujDNz3XnanC9rtSl3c/O18B"),
- this.addDataEntry("sysml interaction message",250,250,"Message","zZbfboIwFMafhmS7gzJ1t4LTqyVLeIIKJ9CsUFKqyJ5+B1tUQDNHCHpB6L/zcc7vowXL9dPDRtI8+RQRcMv9sFxfCqF0Kz34wLlFbBZZ7soixMbLIusbs85x1s6phEzdE0B0wJ7yHeiRrWO5S4+L8NuIFariZq5IaF43JYSo7iUqxYRXGOCVCVMQ5DSsp0ssB8coZ3GG3RBzAYkD5lkgFRxu5nscMsluQKSgZIVLShapxKywdU12AixOTJhrxmih+/Ep9Fw9NgyA6zDcPgzSwCDPBKMJmJmip4Dz1oPTIwJRDIHpZiLDmxfRIoHIcLlABFm0lFKU55VarZZo0SjETobQelnvACSBU8X2balr1ZvQL8FQ8QS24VqZ5846/BSVMSgT1EF4yuIuqrPHU3WnokrsybDOe1hpUWVhgHuQ8nsIX4cqcsA97NWbloWUL82e3gqlRKqXBuynlnHIbfiTv7+LDmftfo/zn4Z1dcbza9Hzq7bLp5y/IC2avg73bFuf3v8wDbtrxhuhZ7HQmY/kYU9oPBPfB51lo+y0tmmt4/FhDvaOO3ughd2vUVdnsIPYPf9p6uWXP6K/"),
- this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=sysMLLost;endSize=12;verticalAlign=bottom;",160,0,"lost","Lost Message",null,this.getTagsForStencil("","","sysml interaction lost message").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=bottom;startArrow=sysMLFound;startSize=12;",160,0,"found","Found Message",null,this.getTagsForStencil("","","sysml interaction found message").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;dashed=1;strokeWidth=2;",
- 160,0,"","General Ordering",null,this.getTagsForStencil("","","sysml interaction general ordering").join(" "))];this.addPalette("sysmlInteractions","SysML / Interactions",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addSysMLStateMachinesPalette=function(a){var b=this,d=[this.addDataEntry("sysml state machine choice pseudo state",150,100,"Choice Pseudo State","zZXbcoIwEIafJvcctPeC1ulFZ5zxCYLZQqaBZUJQ9OmbkKCgMqVjnfaCmd1/k+zyfxxIGOfNWtIye0cGgoQrEsYSUdkob2IQggQeZyRckiDw9EWC15Gq31a9kkoo1JQNgd2wp6IGq1ihUkfhhCqjpQllhnlSVySMMpXrQZe+DgVNQGyw4opjYRbxNNONIyp4anIBHybdg1R8R8XCyTlnTJ9ve+saNKPzt5Ibfg2Yg5JHveTo5re35x04U5mVZk7KwM7S12hl8/R80MUbHTh77lsVfm8VsBS2LgWR4GF1EfqutTUdZyj5CQtFRc+yzsJrzxJUCnNdkFgXDMxUXkcgorvPtNVjFCh1qcDCNIWCLaRsm2EJhVW2/GQm9LWvkb0HM/iAgKIyBTV4RiZAkSCo4vvhUfc8d1s3yPWJgdcMYXY7KqzlDtyiK1DnrpPYzW7ZzaM3RoIXYaw2ZnhkvnwYaMfsDs5bEj/kOIGaNeyPqLk30veuKNpH6TcozkcppsbhpyF0H7HHCI6+zv8YrT9/FludXn5ydnn/H/gF"),
- this.addDataEntry("sysml state machine composite state",220,190,"Composite State","zZXbbqMwEIafhsutACc9XDak25uuVG1X2msXJmDVMMienPr0HRunCQ20lTZbFQnJ888B+2NsRyKrN7dGttUvLEBH4iYSmUGkblRvMtA6SmNVRGIepWnMb5T+HPEm3hu30kBDn0lIu4SV1EvolAzrFq0ieCBJEApa2urgt5Vs3bDelG7WZ3Zra32Wc5ZPiMRMalU2HKFhwXOYrcCQyqW+DjJhy6ptZa6a8o8z5j/EXrnzWfPk0klk8An+qoIqJ7FiIF8aq1bwG6x6dvOIWQ2L4A/BZhSElwKFW8AayGw5ZB2qOxgBVlyBKqtd2lUQpe2E8jV3z5UHAe0wZnGEeZQrJ6rWOo4V1Tose6G0zlCj8bEi9s8B2zv5CPre/TaFjvEjEmHNAdo5ZjJ/Kg0um+KgxsI/o//nU0jTYaQhYUdz25nTYB4CH+CdngD35Aj3B83MbUV94h4XFMFaV25DcIO64DX3/UGb54wDzGmQXfaRnR8jS+IBZpMTMJsOMxtv1G/KLBFfCO38430NRclHaWc22LzZ2NAU18bgmk1soemUh+5kS9JXQK7I+3j4m7g0OfTOG5KmhN1yhyEa0JL4PO1V/xckF98UyeQYyfT/IGFzf4F7X+9+fwE="),
- this.createVertexTemplateEntry("shape=mxgraph.sysml.compState;html=1;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=18;",200,160,"CompositeState1","Composite State",null,null,this.getTagsForStencil("","compState","sysml state machine composite state").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;labelPosition=left;verticalLabelPosition=bottom;spacingBottom=10;align=right;verticalAlign=bottom;resizable=0;",20,20,"again","Entry Point",null,null,this.getTagsForStencil("","compState",
- "sysml state machine entry point").join(" ")),this.addEntry("sysml state machine exit point",function(){var a=new mxCell("aborted",new mxGeometry(0,10,20,20),"shape=mxgraph.sysml.flowFinal;labelPosition=right;verticalLabelPosition=top;spacingTop=5;spacingLeft=3;align=left;verticalAlign=top;resizable=0;");a.vertex=!0;return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Exit Point")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.actFinal;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",
- 40,40,"","Final State",null,null,this.getTagsForStencil("","actFinal","sysml state machine final state").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;fontSize=18;align=center;",40,40,"H*","History, Deep Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine history deep pseudo state").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;fontSize=18;align=center;",40,40,"H","History, Shallow Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine history shallow pseudo state").join(" ")),
- this.createVertexTemplateEntry("shape=ellipse;html=1;fillColor=#000000;fontSize=18;fontColor=#ffffff;",40,40,"","Initial Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine initial pseudo state").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;fillColor=#000000;fontSize=18;fontColor=#ffffff;",40,40,"","Junction Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine junction pseudo state").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.accEvent;flipH=1;whiteSpace=wrap;align=center;",
- 140,40,"Req(Id)","Receive Signal Action",null,null,this.getTagsForStencil("","accEvent","sysml state machine receive signal action").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.sendSigAct;whiteSpace=wrap;align=center;",140,40,"TurnOn","Send Signal Action",null,null,this.getTagsForStencil("","sendSigAct","sysml state machine send signal action").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",140,40,"MinorReq := Id;","Action",null,null,
- this.getTagsForStencil("","","sysml state machine action").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.region;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=25;",200,160,"S","Region",null,null,this.getTagsForStencil("","","sysml state machine region").join(" ")),this.createVertexTemplateEntry("shape=rect;rounded=1;html=1;whiteSpace=wrap;align=center;",100,40,"State1","Simple State",null,null,this.getTagsForStencil("","","sysml state machine simple state").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.simpleState;html=1;overflow=fill;whiteSpace=wrap;align=center;",
- 200,100,'<p style="margin:0px;margin-top:4px;text-align:center;">State2<hr/></p><p style="margin:0px;margin-left:8px;text-align:left;">entry / entryActivity<br/>do / doActivity<br/>exit / exitActivity</p>',"Simple State",null,null,this.getTagsForStencil("","simpleState","sysml state machine simple state").join(" ")),this.createVertexTemplateEntry("shape=rect;rounded=1;html=1;whiteSpace=wrap;align=center;",120,40,"State1, State2","State List",null,null,this.getTagsForStencil("","","sysml state machine state list").join(" ")),
- this.addEntry("sysml state machine state machine",function(){var a=new mxCell("ReadAmountSM",new mxGeometry(0,0,160,120),"shape=mxgraph.sysml.stateMachine;verticalAlign=top;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=top;align=left;labelBackgroundColor=none;spacingLeft=5;spacingTop=-2;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,
- a.geometry.height,"State Machine")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.x;",40,40,"","Terminate Node",null,null,this.getTagsForStencil("","x","sysml state machine terminate node").join(" ")),this.addEntry("sysml state machine submachine state",function(){var a=new mxCell("ReadAmount :\nReadAmountSM",new mxGeometry(0,0,160,120),"shape=mxgraph.sysml.submState;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=bottom;align=left;labelBackgroundColor=none;spacingLeft=5;spacingBottom=2;");
- e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Submachine State")}),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;strokeWidth=3;verticalAlign=bottom;",160,0,"trigger[guard]/activity","Transition",null,this.getTagsForStencil("","","sysml state machine transition").join(" "))];this.addPalette("sysmlState Machines","SysML / State Machines",a||!1,mxUtils.bind(this,function(a){for(var b=
- 0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addSysMLUseCasesPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("shape=ellipse;html=1;strokeWidth=3;fontStyle=1;whiteSpace=wrap;align=center;",120,60,"UseCaseName","Use Case",null,null,this.getTagsForStencil("","","sysml use case use case").join(" ")),this.addEntry("sysml use case ",function(){var a=new mxCell("\nextension points\np1, p2",new mxGeometry(0,0,160,80),"html=1;shape=mxgraph.sysml.useCaseExtPt;whiteSpace=wrap;align=center;");
- a.vertex=!0;var e=new mxCell("UseCaseName",new mxGeometry(80,17,0,0),"resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Use Case")}),this.createVertexTemplateEntry("shape=umlActor;html=1;verticalLabelPosition=bottom;verticalAlign=top;align=center;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("",
- "umlActor","sysml use case ").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;html=1;whiteSpace=wrap;align=center;",80,40,'<p style="margin:0px;margin-top:4px;text-align:center;"><<actor>><br/><b>ActorName</b></p>',"Actor",null,null,this.getTagsForStencil("","","sysml use case ").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;verticalAlign=top;fontStyle=1;whiteSpace=wrap;align=center;",120,60,"SubjectName","Subject",null,null,this.getTagsForStencil("",
- "","sysml use case subject").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;",160,0,"","Communication Path",null,this.getTagsForStencil("","","sysml use case communication path").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;",160,0,"<<include>>","Include",null,this.getTagsForStencil("","","sysml use case include").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;startArrow=open;endArrow=none;startSize=12;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;",
- 160,0,"<<extend>>","Extend",null,this.getTagsForStencil("","","sysml use case extend").join(" ")),this.addDataEntry("sysml use case extend condition",250,80,"Extend with Condition","tVTLjtswDPwaXQvH2kevsbfdSwsUyKU9KjFrC5VFQ1Y2Tr++pMRknWyyj0MPgcUhh6JmFCld99NjMEP3HRtwSn9Rug6IMa/6qQbnVFnYRukHVZYF/VT59Up2kbLFYAL4+B5CmQlPxm0hIzX6xkaLXuklZdR9tUZ0YDwFMA0BxpGT91R7p0q9KJSuYIrgE0x7o+WtmTvQODV/ZZcx7p3sMnZm4KXHSJ9qtH85WtzyejAb69tv8JtPwIhxtqVxHlyCql1nI6yoiik7ko4wOQaECNNVKRIkOjwC9hDDnkqEIEoVO9vETiAtWAe27aTLjWBmzHF77PSsMy1E6suy6xeyk5qm55O4mI4zj5K8zRFrTyokOtP3IFnIc1dd7B0LTEsWyW6MW0rJGmPEnhIBt74BnpA9dWYNrjKbP23Ca3QYkmGeDaN5liHgjhAcwGdkJS6SyFVjxi71WhzHg6aFj3oTwJlon055l5QX6o90+8pinys+n3kVTWghStH8b3HgHS7PnRCv9BlxGzbwok+y/Tj9u27CzYWbcOYl67aSUOSf2TlzQpIf8fHEJphs/Mm0T7cS/XrdwCzDyUvyHz09eFO87s0Vj9/2hsLnhzeXz9/lfw=="),
- this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=block;endFill=0;endSize=12;verticalAlign=bottom;",160,0,"","Generalization",null,this.getTagsForStencil("","","sysml use case generalization").join(" "))];this.addPalette("sysmlUse Cases","SysML / UseCases",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addSysMLAllocationsPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;html=1;whiteSpace=wrap;align=center;",
- 120,60,'<p style="margin:0px;margin-top:4px;text-align:center;"><<allocated>><br/><b>Named<br/>Element</b></p>',"Allocated Stereotype",null,null,this.getTagsForStencil("","","sysml allocation allocated stereotype").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;",200,120,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>BlockName</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedFrom</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedTo</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p>',
- "Allocation derived properties (Block)",null,null,this.getTagsForStencil("","","sysml allocation derived property block").join(" ")),this.addDataEntry("sysml allocation derived property comment",270,140,"Allocation derived properties (Comment)","xVRNb+MgEP01HCPZOK16rZO2l3Yv6R8g9sRGHQzF5Ku/fgdM7bKJpVZa7R4sz7xhhuHxGFas1OnJCtO+6BqQFQ+sWFmt3WCp0woQGc9kzYo14zyjj/HHmWgeopkRFjr3nQQ+JBwE7mFAGL9FSi0Nwb074wDfvu99S6UStpEdK+4zcxrdhdOGoDzBEHZuAh2c3EKgbHzuECqnqmQ18R/23n4CAlFXwkH9aLX6jNJpthcZ1p9xAoWijkq89ABBETevZwNjIE2KXvYwrPwlFMztMtPsq/7/rdIeZtqEJ5fJ+1YYb3ba0a9snSLhrXMye/nhA/mNt42oZNc8h9ta34QThgtcxwv8kqcPYHeoj+TuJCmsKI+tdLChEr7ekQT+Jb+iZsGOnVEu6WNWwQGK8n0CrcDZMy2JCctB4NlR1q6Noi4i1oJs2ljlLmKiH/xmrDQ9DzLiC7n+WoqL15IwP8OyhcqztdOd28Ro/i8IOsdodslQzq8wtPwLDC2vzJM/aLF639Xg12ephlBsAUtRvTVhyUqjtkGknRcpdPW9tUFhEalF34Y6+UgU1A0kNPV6bytIZp2j+QQuudBvkGkBhZOHtPoPmCJ3muohlgz93w=="),
- this.addDataEntry("sysml allocation derived property internal block diagram",250,160,"Allocation derived properties (Internal Block Diagram)","xVVNb8IwDP01OSKVdENcKV+nTdM2aedQTBstIVkaoOzXz2nSQqFssAuHqvaz/XCcZ0risSznhun8SS1BkHhK4rFRynpLlmMQgtCIL0k8IZRG+BA6uxDtV9FIMwNre00B9QVbJjbgEUIHAksTjXBh98LDg6+NaymRzGR8TeJRpMvG7VmlEXqoIAul7THBM5eVYhtgED0woJWFN5NYlohzbyFU+tlA7fTa84nGHe3A6MEaSBzNM5NQRzB5cZqNmD7F8jYtbY2CFjnTzjSQVslW4rVN+miqLZiVUDt0VxznHCeFNeoTPvjS5ghSRHY5t/CmWeoodnjxiIVxTZpxIY/lKROjEKgGfELmfhBb2JiCb+EVCv7tGKOmY8cB5UVdVFAQxRyUBGv2mLIL7E4bj147UQ48y+uyQQBZ4YGsqT3IDI2gtG7VxfdUXVsjL8zYvySSd6msSzfd3a/U2vb89Yz6xydoDnRr97wGmECJMwvLmVHyqDP+/267Zy1ghcHR8LxdH7lxwUGAxGO+7zX8vubR1GeeXJG+53JetV60e71CQfhXjvberXfqePn6Hcs3vH330D18TapY62PzAw=="),
- this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.simpleState;html=1;overflow=fill;whiteSpace=wrap;align=center;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>ActivityName</b><hr/></p><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedTo</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p>',"Allocation Derived Properties (Activity Diagram)",null,null,this.getTagsForStencil("","","sysml allocation derived property activity diagram").join(" ")),
- this.addEntry("sysml allocation activity partition",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<allocate>><br/>:ElementName<hr/></p>',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;verticalAlign=top;");a.vertex=!0;var e=new mxCell("ActionName",new mxGeometry(65,70,120,60),"html=1;shape=mxgraph.sysml.cont;fontStyle=1;whiteSpace=wrap;align=center;");e.vertex=!0;return b.createVertexTemplateFromCells([a,
- e],250,160,"Allocation Activity Partition")}),this.addEntry("sysml allocation general",function(){var a=new mxCell("Client",new mxGeometry(0,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("Supplier",new mxGeometry(200,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("<<allocate>>",new mxGeometry(0,0,0,0),"rounded=0;html=1;verticalAlign=top;labelBackgroundColor=none;endArrow=open;dashed=1;endSize=12;");
- d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],300,60,"Allocation (General)")})];this.addPalette("sysmlAllocations","SysML / Allocations",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addSysMLRequirementsPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;overflow=fill;labelX=110;strokeWidth=2;align=center;",160,80,'<p style="margin:0px;margin-top:4px;margin-left:7px;text-align:left;"><b>req</b> ReqDiagram</p>',
- "Requirement Diagram",null,null,this.getTagsForStencil("","package","sysml requirement diagram").join(" ")),this.createVertexTemplateEntry("shape=rect;overflow=fill;html=1;whiteSpace=wrap;align=center;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><<requirement>><br/><b>Requirement Name</b><hr/></p><p style="margin:0px;margin-left:8px;text-align:left;">text="The system shall do"<br/>Id="62j32."</p>',"Requirement",null,null,this.getTagsForStencil("","package","sysml requirement ").join(" ")),
- this.createVertexTemplateEntry("shape=rect;overflow=fill;html=1;whiteSpace=wrap;align=center;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><<testCase>><br/><b>TestCaseName</b><hr/></p>',"Test Case",null,null,this.getTagsForStencil("","package","sysml requirement test case").join(" ")),this.addDataEntry("sysml requirement containment relationship",300,180,"Requirement Containment Relationship","5ZXfboIwFMafpvdQnNkuB27ezMTEJ6hwQpsVykoR2dPvtBRdjSYmy5zJLkjOn37fob8GSpKs2i81a/hKFSBJ8kKSTCtlxqjaZyAloZEoSLIglEb4EPp6oRu7btQwDbW5RkBHwY7JDsYKoXNWNSRJJRqkYabhoxMaKms+Ncpg2ZQRmsQRhuvxTdyQ1gzSD2k5a2yoIbcCbirc+SLGsOfCwKZhuW33yAVrTIqyxjRHK9BugHtp0Ab2FzfuSn7XS1AVGD3gEi94GrlEvSgM9wLPKuIgSu5d5r7G2jEvD05Hqhh4sOchJ78MOeNCFvE9QR5OiN6C8uwWlOk9UZ4Ej57eX1B/OEP9hJBWXV2AXR+FgCTbgkxZ/l66JZmSCpEsalWjMoW6eNZa9d8qRQkb7wtyq/qXYyF1BWxYlCJnOCNtDdNm8miHdvW2xmGZsljH5kZ8WrOYHk7CzgjOoVWdziH4W6KyBBN821eclgbJjNiF7j9BP//n6Gc3Q4/p8Up2veDG/gI="),
- this.addEntry("sysml requirement copy dependency",function(){var a=new mxCell("<<requirement>>\nSlave",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nMaster",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("<<copy>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");d.geometry.relative=!0;d.edge=
- !0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Copy Dependency")}),this.addEntry("sysml requirement master callout",function(){var a=new mxCell("Master\n<<requirement>> Master",new mxGeometry(0,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>> Slave",new mxGeometry(200,0,160,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=
- !0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Master Callout")}),this.addEntry("sysml requirement derive dependency",function(){var a=new mxCell("<<requirement>>\nClient",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nSupplier",
- new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("<<deriveReq>>",new mxGeometry(0,0,0,0),"endArrow=open;html=1;edgeStyle=none;endSize=12;dashed=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Derive Dependency")}),this.addEntry("sysml requirement derive callout",function(){var a=new mxCell("<<requirement>>\nReqA",new mxGeometry(0,0,
- 120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("Derived\n<<requirement>> ReqB",new mxGeometry(200,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Derive Callout")}),this.addEntry("sysml requirement derive callout",
- function(){var a=new mxCell("DerivedFrom\n<<requirement>> ReqA",new mxGeometry(0,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nReqB",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,
- !1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Derive Callout")}),this.addEntry("sysml requirement satisfy dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("<<satisfy>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");
- d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Satisfy Dependency")}),this.addEntry("sysml requirement satisfy callout",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("Satisfies\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");
- e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement satisfy callout",function(){var a=new mxCell("SatisfiedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nReqA",
- new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement verify dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");
- a.vertex=!0;var e=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("<<verify>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Verify Dependency")}),this.addEntry("sysml requirement verify callout",function(){var a=
- new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("Verifies\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,
- e,d],360,60,"Verify Callout")}),this.addEntry("sysml requirement verify callout",function(){var a=new mxCell("VerifiedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nReqA",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=
- !0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Verify Callout")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nClient",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("<<refine>>",new mxGeometry(0,
- 0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Refine Dependency")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("Refines\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");
- e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Refine Callout")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("RefinedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nReqA",
- new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Refine Callout")}),this.addEntry("sysml requirement trace dependency",function(){var a=new mxCell("<<requirement>>\nClient",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");
- a.vertex=!0;var e=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("<<trace>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Trace Dependency")}),this.addEntry("sysml requirement refine callout",function(){var a=new mxCell("NamedElement",
- new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("TracedFrom\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Refine Callout")}),
- this.addEntry("sysml requirement trace callout",function(){var a=new mxCell("TracedTo\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<requirement>>\nReqA",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,
- !0);e.insertEdge(d,!1);return b.createVertexTemplateFromCells([a,e,d],360,60,"Trace Callout")})];this.addPalette("sysmlRequirements","SysML / Requirements",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addSysMLProfilesPalette=function(a){var b=this,d=[this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"<<stereotype>>\nStereotypeName","Stereotype",null,null,this.getTagsForStencil("","","sysml profile stereotype").join(" ")),
- this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"<<metaclass>>\nMetaClassName","Metaclass",null,null,this.getTagsForStencil("","","sysml profile metaclass").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;",160,100,"<<profile>>\nProfileName","Profile",null,null,this.getTagsForStencil("","","sysml profile profile").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;",
- 160,100,"<<modelLibrary>>\nLibraryName","Model Library",null,null,this.getTagsForStencil("","","sysml profile model library").join(" ")),this.addEntry("sysml profile extension",function(){var a=new mxCell("<<metaclass>>\nMetaClassName",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var e=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=
- !0;var d=new mxCell("{required}",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=1;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!1);e.insertEdge(d,!0);return b.createVertexTemplateFromCells([a,e,d],120,180,"Extension")}),this.addEntry("sysml profile generalization",function(){var a=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=
- !0;var d=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=0;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);d.insertEdge(f,!0);return b.createVertexTemplateFromCells([a,d,f],120,180,"Generalization")}),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",
- 160,0,"<<apply>>{strict}","Profile Application",null,this.getTagsForStencil("","","sysml profile profile application").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=top;",160,0,"<<reference>>","Metamodel Reference",null,this.getTagsForStencil("","","sysml profile metamodel reference").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=bottom;",160,0,"propertyName",
- "Unidirectional Association",null,this.getTagsForStencil("","","sysml profile unidirectional association").join(" "))];this.addPalette("sysmlProfiles","SysML / Profiles",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addSysMLStereotypesPalette=function(a){var b=[this.addDataEntry("sysml stereotype note",320,150,"Stereotype Note","3ZZdb5swFIZ/DZeVwCTRbgPpetNOkSLt3oETsGYwM4ck7NfvGDtQAkk7tdKkXkSx3/Nh8/Aa8MK4OD9pXuUvKgXphY9eGGul0I6KcwxSeswXqRduPMZ8+nns+41o0EX9imso8T0FzBYcuWzAKh5bSSqNKpJrbKWVV78bs6Wo4DoTpReu/ercTx9QVSQFI03CAQcR4YwPXIrM1NpQNHSlUeb+u7X3rwReUO9ITmc1ggaFbQU/eAF9bFw3bqsNCNd6q1UFGtuuONz8NAR2qEWZzaa/NBLFvZqYeL3VJFJKAi9HbVweZe2vMZBWDRob3RBW57wyw1IhGBrij5kFSzOueEJbeO4wb4ySYyFNlIbqCPog1YmmB0FeCKNTLhB2VGManMiK/XKUSjfuprU6yfnqCVQBqFtKcQUL6zz/JFLMndu+OS0HkeWuy0XjtZ1nfafBtzRw1p23cTix8aOEwmyUrTwWBj5dkqV9g6KGxFA+qBJ3LhqMuc1RcobeJLQS6A9ia100mHKbw7b4BGyLL4DNFVwedP8D43KCccsxnwWnVVOmYOoMW8n3ICOe/Mo6PVZS6e5Il+ZIGx4i4XLtcHVP2QjKdK11d35d3h36dn1IMxhhrVWjExgdHaSnNuDIFu+Ar0FyFMdx94+gXM28j+4inOJIeZ134X9nwT7/wl3pVglzqi5uDZZXbg2vbGhvh6u6wtdvY44oTYevB5v++uPiLw=="),
- this.addDataEntry("sysml stereotype note",320,150,"Stereotype Note","rZRNj9owEIZ/jY8rJTGLet3Adi/daiWk3r1kSCw5tutMgPTXdxybZA2hXak9IMbvfNg8fjHjm/b84oRtXk0FivFnxjfOGAxRe96AUqzIZMX4lhVFRh9WfL2TzcdsZoUDjZ9pKELDUagegsKKtaLW0pLc4aCCvP7Z+yOVrXC11Iw/ZfY8LR/QWJLyRFNwwFlEOOODULL2vSFVzlMpquP3uPf7B0G0NLtUt6sOwYHBwcJ30cKUS/vSsc6DiKPfnLHgcBib+faHJ7BDJ3W9WP7aK5R/6tkQr78NKY1RIHQyJtZR1fs1BtLsrBXJhRRdI6wPtUHwNOQvv8offWzFno7wbcS89UqDrfJZCs0R3EGZEy0PkrzAy1MjEXbU4wecyIrTdlRKF3fXWqMUffUCpgV0A5XEhlVwXnaSFTbRbV+i1oCsmzjlookurOtp0uxbCqJ1l23Mb2z8rKD1By3WrOB5Rj8p0L5D0cHeUz4YjbuYzVNuS5Siobd72gncP2IbYja/5baEbfUfsK0W/v1XgJzpdQW+3jMEXT05N5pHG+19V4muGdNXuMIgqGpIOHSmd3tI3h6k9wIwucdP0HKgBMpjOn2JRWx9M9K74WLO/DHiu1DnVzjDqWLXFdHpGEuQaTk/36H84+v+Gw=="),
- this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"<<stereotypeName>>\n{PropertyName=ValueString;\nBooleanPropertyName}\nNodeName","Stereotype (Node)",null,null,this.getTagsForStencil("","","sysml stereotype node").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",400,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>NodeName</b><hr/></p><p style="margin:0px;margin-left:10px;text-align:left;"><<stereotypeName>>{PropertyName=ValueString}ElementName<br/><<stereotypeName>>{PropertyName=ValueString};<br/>BooleanPropertyName<br/>ElementName</p>',
- "Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" ")),this.addDataEntry("sysml stereotype edge",200,180,"Stereotype (Edge)","3VTBboMwDP2a3CmZ2vOgXU+bKlXaPQM3iRYSZEwp+/oFCO2ytVJ32WEHJD8/G/OeQxjPq9MWRa2eXQmG8Q3jOTpHU1SdcjCGpYkuGV+zNE38w9KnG+xiZJNaIFi6pyGdGo7CtDBlNgaqoTldspQvEsazF1HBVNZQb0JZo0Q9hAiFH5QdnKV9YBceK6pMCDulCfa1KAau80p9ThgtrYeFnwToE+EzAAlON6WMqaBjC64Cwt6XdLokFSqC3ESBliq0LUNONBOW59aLMT4I3lz3if8Dn/pvHv2Fbw8/fPOGiWrQZmjU8xU1XiRQ72CyMlAyKpzR7DpbZTt0tXekH7v4+nUYtifUVsalmXMGhI3KV+udIHV1dWDLR0TXeWSdhXhbUEqYFxlYI97AZKJ4l+haW+bOOLyw8yoNHK4dhBHrjxEm50UPU6I1N67FAqIzSQIlUPQ733EYEIwgfYzf/otNe3i5pUYuusQ+AQ=="),
- this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",300,120,'<p style="margin:0px;margin-top:4px;text-align:center;"><b><<stereotypeName>></br>NodeName</b><hr/></p><p style="margin:0px;margin-left:10px;text-align:left;"><<stereotypeName>><br/>PropertyName=ValueString<br/>MultiPropertyName=ValueString, ValueString<br/>BooleanPropertyName<br/></p>',"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" "))];
- this.addPalette("sysmlStereotypes","SysML / Stereotypes",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){Sidebar.prototype.addVeeamPalette=function(){this.addVeeam2DPalette();this.addVeeam3DPalette()};Sidebar.prototype.addVeeam2DPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.1ftvm;",70,70,"","1FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.1ftvm_error;",
- 70,78,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm error","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.1ftvm_running;",70,78,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1frvm running","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.1ftvm_unavailable;",70,78,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm unavailable","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.1ftvm_warning;",
- 70,78,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.2d","1ftvm warning","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.1_click_failover_orchestration;",44,44,"","1 Click Failover Orchestration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one click failover orchestration","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.2ftvm;",70,70,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.2ftvm_error;",
- 70,78,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm error","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.2ftvm_running;",70,78,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm running","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.2ftvm_unavailable;",70,78,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm unavailable","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.2ftvm_warning;",
- 70,78,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.2d","2ftvm warning","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.agent;",38,38,"","Agent",null,null,this.getTagsForStencil("mxgraph.veeam.2d","agent","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.alarm;",
- 62,46,"","Alarm",null,null,this.getTagsForStencil("mxgraph.veeam.2d","alarm","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.alert;",30,30,"","Alert",null,null,this.getTagsForStencil("mxgraph.veeam.2d","alert","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.assisted_failover_and_failback;",
- 46,46,"","Assisted Failover and Failback",null,null,this.getTagsForStencil("mxgraph.veeam.2d","assisted failover and failback","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.backup_browser;",46,46,"","Backup Browser",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup browser","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.backup_from_storage_snapshots;",46,46,"","Backup from Storage Snapshots",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup from storage snapshots","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.backup_repository;",
- 52,48,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup repository","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.backup_repository_2;",58,50,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup repository","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.built_in_wan_acceleration;",46,46,"","Built-in WAN Acceleration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","built in wan acceleration wireless area network","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.cd;",
- 46,46,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cd compact disc","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.cloud;",66,46,"","Cloud",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.cloud_gateway;",
- 46,46,"","Cloud Gateway",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud gateway","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.database;",58,50,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.2d","database db","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.datastore;",
- 44,44,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.datastore_snapshot;",46,12,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore snapshot","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.datastore_volume;",46,12,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.2d","datastore volume","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.data_mover;",
- 38,38,"","Data Mover",null,null,this.getTagsForStencil("mxgraph.veeam.2d","data mover","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.disaster_recovery;",46,46,"","Disaster Recovery",null,null,this.getTagsForStencil("mxgraph.veeam.2d","disaster recovery","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.download;",46,46,"","Download",null,null,this.getTagsForStencil("mxgraph.veeam.2d","download","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.emc_data_domain_boost;",
- 46,46,"","EMC Data Domain Boost",null,null,this.getTagsForStencil("mxgraph.veeam.2d","emc data domain boost","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.encryption_object;",46,46,"","Encryption Object",null,null,this.getTagsForStencil("mxgraph.veeam.2d","encryption object","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.end_to_end_encryption;",46,46,"","End to end Encryption",null,null,this.getTagsForStencil("mxgraph.veeam.2d","end to end encryption","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.esx_esxi;",
- 30,46,"","ESX/ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.2d","esx esxi","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.exagrid;",46,46,"","ExaGrid",null,null,this.getTagsForStencil("mxgraph.veeam.2d","exagrid","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.failover_protective_snapshot;",
- 46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.2d","failover protective snapshot","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.failover_protective_snapshot_locked;",54,50,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.2d",
- "failover protective snapshot locked","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.failover_protective_snapshot_running;",56,50,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","failover protective snapshot running","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.file;",34,46,"","File",null,null,this.getTagsForStencil("mxgraph.veeam.2d","file","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.file_system_browser;",
- 46,46,"","File System Browser",null,null,this.getTagsForStencil("mxgraph.veeam.2d","file system browser","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.folder;",48,46,"","Folder",null,null,this.getTagsForStencil("mxgraph.veeam.2d","folder","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.forward_incremental_backup_increment;fillColor=#999A98;",
- 34,24,"","Forward Incremental Backup - Increment (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","forward incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.forward_incremental_backup_increment;",34,24,"","Forward Incremental Backup - Increment (blue)",null,null,this.getTagsForStencil("mxgraph.veeam.2d",
- "forward incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.free_datastore;",46,46,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","free datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.full_datastore;",
- 46,46,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.full_veeam_backup;fillColor=#999A98;",26,42,"","Full Veeam Backup (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.full_veeam_backup;fillColor=#24B14B;",26,42,"","Full Veeam Backup (green)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.full_veeam_backup;fillColor=#EF8F21;",
- 26,42,"","Full Veeam Backup (orange)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.full_veeam_backup;fillColor=#FBB715;",26,42,"","Full Veeam Backup (yellow)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","full veeam backup","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.group;",40,46,"","Group",null,null,this.getTagsForStencil("mxgraph.veeam.2d","group","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.hard_drive;",
- 38,46,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hard drive","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.hp_storeonce;",46,46,"","HP StoreOnce",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hp storeonce","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.hyper_v_host;",
- 124,120,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hyper host","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.hyper_v_vmware_host;",124,120,"","VMware/Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","hyper vmware host","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.letter;",46,36,"","Letter",null,null,this.getTagsForStencil("mxgraph.veeam.2d","letter","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.license;",
- 46,46,"","License",null,null,this.getTagsForStencil("mxgraph.veeam.2d","license","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.lost_space;",46,46,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.2d","lost space","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.lun;",
- 58,22,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.2d","lun","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.medium_datastore;",46,46,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.2d","medium datastore","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.monitoring_console;",
- 46,46,"","Monitoring Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","monitoring console","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.native_tape_support;",46,46,"","Native Tape Support",null,null,this.getTagsForStencil("mxgraph.veeam.2d","native tape support","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.network_card;",46,32,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.2d","network card","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.on_demand_sandbox;",
- 46,46,"","On Demand Sandbox",null,null,this.getTagsForStencil("mxgraph.veeam.2d","on demand sandbox","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.physical_storage;",76,26,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.2d","physical storage","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.powershell_extension;",46,46,"","PowerShell Extension",null,null,this.getTagsForStencil("mxgraph.veeam.2d","powershell extension","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.private_key;",
- 56,52,"","Private Key",null,null,this.getTagsForStencil("mxgraph.veeam.2d","private key","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.privilege;",50,48,"","Privilege",null,null,this.getTagsForStencil("mxgraph.veeam.2d","privilege","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.proxy;",
- 46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.2d","proxy","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.proxy_appliance;",46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.2d","proxy appliance","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.quick_migration;",
- 46,46,"","Quick Migration",null,null,this.getTagsForStencil("mxgraph.veeam.2d","quick migration","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.remote_site;",42,44,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.2d","remote site","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.remote_storage;",46,46,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.2d","remote storage","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.replication_from_a_backup;",
- 46,46,"","Replication from a Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","replication from a backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.report;",34,46,"","Report",null,null,this.getTagsForStencil("mxgraph.veeam.2d","report","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.resource_pool;",46,46,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.2d","resource pool","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.restful_apis;",
- 46,46,"","RESTful APIs",null,null,this.getTagsForStencil("mxgraph.veeam.2d","restful apis api","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.restore_data_from_the_vm_backup;",46,46,"","Restore Data from the VM Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","restore data from the vm backup",
- "veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.reversed_incremental_backup_increment;fillColor=#999A98;",34,24,"","Reversed Incremental Backup - Increment (grey)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","reversed incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.reversed_incremental_backup_increment;fillColor=#6E5CA7;",
- 34,24,"","Reversed Incremental Backup - Increment (purple)",null,null,this.getTagsForStencil("mxgraph.veeam.2d","reversed incremental backup increment","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.role;",34,46,"","Role",null,null,this.getTagsForStencil("mxgraph.veeam.2d","role","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.scheduled_backups;",46,46,"","Scheduled Backups",null,null,this.getTagsForStencil("mxgraph.veeam.2d","Scheduled Backups","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.search;",
- 46,46,"","Search",null,null,this.getTagsForStencil("mxgraph.veeam.2d","search","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.self_service_recovery;",46,46,"","Self-Service Recovery",null,null,this.getTagsForStencil("mxgraph.veeam.2d","self service recovery","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.service;",46,46,"","Service",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.service_console;",
- 46,46,"","Service Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service console","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.service_vnic;",60,54,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.2d","service vnic","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.sure_backup;",46,46,"","SureBackup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","sure backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.sure_replica;",
- 46,46,"","SureReplica",null,null,this.getTagsForStencil("mxgraph.veeam.2d","sure replica","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.switch;",74,12,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.2d","switch","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.tape;",
- 60,32,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.tape_checked;",70,42,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape checked","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.tape_device;",
- 52,52,"","Tape Device",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape device","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.tape_ejecting;",70,42,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape ejecting","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.tape_library;",40,46,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape library","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.tape_licensed;",
- 68,38,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape licensed","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.tape_recording;",70,42,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape recording","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.tape_server;",74,72,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","tape server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.transport_service;",
- 38,38,"","Transport Service",null,null,this.getTagsForStencil("mxgraph.veeam.2d","transport service","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.user;",26,46,"","User",null,null,this.getTagsForStencil("mxgraph.veeam.2d","user","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.u_air;",
- 46,46,"","U-AIR",null,null,this.getTagsForStencil("mxgraph.veeam.2d","air","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vapp;",48,48,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vapp","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vapp_started;",
- 60,54,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vapp started","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeamzip;",46,46,"","VeeamZIP",null,null,this.getTagsForStencil("mxgraph.veeam.2d","veeamzip zip","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_availability_suite;",
- 46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.2d","availability suite","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_backup_and_replication_server;",74,72,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup and replication server",
- "veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_backup_enterprise_manager_server;",74,72,"","Veeam Backup Enterprise Manager Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup enterprise manager server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_backup_search_server;",
- 74,72,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup search server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_backup_shell;",46,46,"","Veeam Backup Shell",null,null,this.getTagsForStencil("mxgraph.veeam.2d","backup shell","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_cloud_connect;",46,46,"","Veeam Cloud Connect",null,null,this.getTagsForStencil("mxgraph.veeam.2d","cloud connect","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_explorer;",
- 46,46,"","Veeam Explorer",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_explorer_for_active_directory;",46,46,"","Veeam Explorer for Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for active directory",
- "veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_explorer_for_exchange;",46,46,"","Veeam Explorer for Exchange",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for exchange","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_explorer_for_sharepoint;",
- 46,46,"","Veeam Explorer for SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for sharepoint","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_explorer_for_sql;",46,46,"","Veeam Explorer for SQL",null,null,this.getTagsForStencil("mxgraph.veeam.2d","explorer for sql","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_logo;fillColor=#232020;",144,38,"","Veeam Logo",null,null,this.getTagsForStencil("mxgraph.veeam.2d","logo","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_one_business_view;",
- 46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one business view","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_one_monitor;",46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one monitor","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_one_reporter;",46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one reporter","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.veeam_one_server;",
- 46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.2d","one server","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.virtual_lab;",46,46,"","Virtual Lab",null,null,this.getTagsForStencil("mxgraph.veeam.2d","virtual lab","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.virtual_machine;",46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.2d","","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.virtual_switch;",
- 46,46,"","Virtual Switch",null,null,this.getTagsForStencil("mxgraph.veeam.2d","switch","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vmware_host;",124,120,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vmware host","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_backup;",
- 50,46,"","VM Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_failed;",56,54,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm failed","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_image_full_backup;",
- 38,52,"","VM Image Full Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm image full backup","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_image_incremental_backup;",38,52,"","VM Image Incremental Backup",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm image incremental backup",
- "veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_linux;",46,84,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm linux","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_locked;",
- 56,52,"","VM Locked",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm locked","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_no_network;",54,52,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm no network","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_problem;",
- 56,52,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm problem","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_running;",56,54,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm running","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_saved_state;",
- 56,54,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm saved state","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vm_windows;",46,84,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vm windows","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vnic;",
- 46,46,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vnic","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.vsb_file;",34,46,"",".vsb File",null,null,this.getTagsForStencil("mxgraph.veeam.2d","vsb file","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.wan_accelerator;",
- 46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.2d","wan accelerator wireless area network","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.web_console;",46,46,"","Web Console",null,null,this.getTagsForStencil("mxgraph.veeam.2d","web console","veeam 2d two dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.web_ui;",46,46,"","Web UI",null,null,this.getTagsForStencil("mxgraph.veeam.2d","web ui user interface","veeam 2d two dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.2d.workstation;",
- 68,46,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.2d","workstation","veeam 2d two dimension vmware virtual machine ").join(" "))];this.addPalette("veeam2D","Veeam / 2D",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))};Sidebar.prototype.addVeeam3DPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.1ftvm;",68,62,"","1FTVM",
- null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.1ftvm_error;",68,62,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm error","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.1ftvm_running;",
- 68,62,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.1ftvm_unavailable;",68,62,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm unavailable","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.1ftvm_warning;",
- 68,62,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm warning","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.2ftvm;",68,62,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.2ftvm_error;",
- 68,62,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm error","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.2ftvm_running;",68,62,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.2ftvm_unavailable;",
- 68,62,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm unavailable","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.2ftvm_warning;",68,62,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm warning","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.backup_repository;",
- 62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.backup_repository_2;",62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.cd;",
- 68,26,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.3d","cd","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.database;",58,62,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.3d","database","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.datastore;",
- 44,60,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.datastore_snapshot;",54,34,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore snapshot","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.datastore_volume;",
- 54,34,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore volume","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.esx_esxi;",38,52,"","ESX ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.3d","esx esxi","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.failover_protective_snapshot;",
- 46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.failover_protective_snapshot_locked;",56,46,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot locked",
- "veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.failover_protective_snapshot_running;",58,46,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.free_datastore;",
- 44,60,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","free datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.full_datastore;",44,60,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","full datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.hard_drive;fillColor=#637D8A;gradientColor=#324752;strokeColor=none;",
- 62,28,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hard drive","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.hyper_v_host;",110,98,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hyper-v host","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.lost_space;",
- 44,60,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lost space","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.lun;",72,40,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lun","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.medium_datastore;",
- 44,60,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","medium datastore","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.network_card;",38,40,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.3d","network card","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.physical_storage;",
- 108,60,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","physical_storage","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.proxy;",46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.proxy_appliance;",
- 46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy appliance","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.remote_site;",46,60,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote site","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.remote_storage;",
- 52,62,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote storage","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.resource_pool;",56,32,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.3d","resource pool","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.service_vnic;",
- 72,64,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","service vnic","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.switch;",110,58,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.3d","switch","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.tape;",
- 58,58,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.tape_checked;",70,58,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape checked","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.tape_ejecting;",
- 70,58,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape ejecting","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.tape_library;",62,74,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape library","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.tape_licensed;",
- 70,58,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape licensed","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.tape_recording;",70,58,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape recording","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.tape_server;",
- 46,46,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vapp;",92,62,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vapp_started;",
- 92,62,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp started","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_availability_suite;",46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam availability suite","veeam 3d three dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_backup_and_replication_server;",46,46,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup and replication server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_backup_enterprise_manager_server;",
- 46,46,"","Veeam Backup Enterprise Manager Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup enterprise manager server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_backup_enterprise_manager_server_2d;",40,40,"","Veeam Backup Enterprise Manager Server 2D",null,null,this.getTagsForStencil("mxgraph.veeam.3d",
- "veeam backup enterprise manager derver 2d two dimensional","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_backup_search_server;",46,46,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup search server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_one_business_view;",
- 46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one business view","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_one_monitor;",46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one monitor","veeam 3d three dimension vmware virtual machine ").join(" ")),
- this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_one_reporter;",46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one reporter","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.veeam_one_server;",
- 46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one server","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.virtual_machine;",46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.3d","virtual machine","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vmware_host;",
- 110,98,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vmware host","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vm_failed;",56,46,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm failed","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vm_linux;",
- 46,60,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm linux","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vm_no_network;",58,46,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm no network","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vm_problem;",
- 56,46,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm problem","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vm_running;",56,46,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm running","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vm_saved_state;",
- 58,48,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm saved state","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vm_windows;",46,60,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm windows","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.vnic;",
- 62,62,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vnic","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.wan_accelerator;",46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.3d","wan accelerator","veeam 3d three dimension vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.veeam.3d.workstation;",
- 76,62,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.3d","workstation","veeam 3d three dimension vmware virtual machine ").join(" "))];this.addPalette("veeam3D","Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();(function(){Sidebar.prototype.addWebIconsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.webicons.";this.addPaletteFunctions("webicons","Web Icons",!1,[this.createVertexTemplateEntry(a+"adfty;fillColor=#66E8F3;gradientColor=#1C7CBA",102.4,102.4,"","Adfty",null,null,this.getTagsForStencil("mxgraph.webicons","adfty","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"adobe_pdf;fillColor=#F40C0C;gradientColor=#610603",102.4,102.4,"","Adobe PDF",null,null,this.getTagsForStencil("mxgraph.webicons",
- "adobe pdf","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aim;fillColor=#27E1E5;gradientColor=#0A4361",102.4,102.4,"","Aim",null,null,this.getTagsForStencil("mxgraph.webicons","aim","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"allvoices;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Allvoices",null,null,this.getTagsForStencil("mxgraph.webicons","allvoices","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"amazon;fillColor=#FFFFFF;gradientColor=#DFDEDE",
- 102.4,102.4,"","Amazon",null,null,this.getTagsForStencil("mxgraph.webicons","amazon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"amazon_2;fillColor=#605658;gradientColor=#231F20",102.4,102.4,"","Amazon",null,null,this.getTagsForStencil("mxgraph.webicons","amazon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Android",null,null,this.getTagsForStencil("mxgraph.webicons","android","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"apache;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Apache",null,null,this.getTagsForStencil("mxgraph.webicons","apache db database","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apple;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Apple",null,null,this.getTagsForStencil("mxgraph.webicons","apple","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apple_classic;fillColor=#66E8F3;gradientColor=#1C7CBA",102.4,102.4,
- "","Apple (classic)",null,null,this.getTagsForStencil("mxgraph.webicons","apple classic","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"arduino;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Arduino",null,null,this.getTagsForStencil("mxgraph.webicons","arduino","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ask;fillColor=#F33543;gradientColor=#B50E11",102.4,102.4,"","Ask",null,null,this.getTagsForStencil("mxgraph.webicons","ask","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"atlassian;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.webicons","atlassian","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"audioboo;fillColor=#EB35CF;gradientColor=#8C0E35",102.4,102.4,"","Audioboo",null,null,this.getTagsForStencil("mxgraph.webicons","audioboo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aws;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"",
- "AWS",null,null,this.getTagsForStencil("mxgraph.webicons","aws amazon web service","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aws_s3;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.webicons","aws s3 amazon web service","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"baidu;fillColor=#738FE8;gradientColor=#1F2470",102.4,102.4,"","Baidu",null,null,this.getTagsForStencil("mxgraph.webicons","baidu","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"bebo;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Bebo",null,null,this.getTagsForStencil("mxgraph.webicons","bebo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"behance;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Behance",null,null,this.getTagsForStencil("mxgraph.webicons","behance","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bing;fillColor=#0A776E;gradientColor=#053D39",102.4,102.4,"","Bing",null,null,
- this.getTagsForStencil("mxgraph.webicons","bing","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bitbucket;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.webicons","bitbucket","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blinklist;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Blinklist",null,null,this.getTagsForStencil("mxgraph.webicons","blinklist","web icons icon").join(" ")),this.createVertexTemplateEntry(a+
- "blogger;fillColor=#FDE47C;gradientColor=#F55F21",102.4,102.4,"","Blogger",null,null,this.getTagsForStencil("mxgraph.webicons","blogger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blogmarks;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Blogmarks",null,null,this.getTagsForStencil("mxgraph.webicons","blogmarks","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bookmarks.fr;fillColor=#F9FAF4;gradientColor=#DCDFBB",102.4,102.4,"","Bookmarks.fr",null,null,this.getTagsForStencil("mxgraph.webicons",
- "bookmarks.fr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"box;fillColor=#4CDFEF;gradientColor=#153EA0",102.4,102.4,"","Box",null,null,this.getTagsForStencil("mxgraph.webicons","box","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buddymarks;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Buddymarks",null,null,this.getTagsForStencil("mxgraph.webicons","buddymarks","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buffer;fillColor=#FFFFFF;gradientColor=#DFDEDE",
- 102.4,102.4,"","Buffer",null,null,this.getTagsForStencil("mxgraph.webicons","buffer","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buzzfeed;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Buzzfeed",null,null,this.getTagsForStencil("mxgraph.webicons","buzzfeed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"chrome;fillColor=#FFFFFF;gradientColor=#DFDEDE",103.2,104,"","Chrome",null,null,this.getTagsForStencil("mxgraph.webicons","chrome","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"citeulike;fillColor=#ACD65E;gradientColor=#2E3618",102.4,102.4,"","Citeulike",null,null,this.getTagsForStencil("mxgraph.webicons","citeulike","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"confluence;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Confluence",null,null,this.getTagsForStencil("mxgraph.webicons","confluence","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"connotea;fillColor=#E9FDFC;gradientColor=#BADBE9",102.4,
- 102.4,"","Connotea",null,null,this.getTagsForStencil("mxgraph.webicons","connotea","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dealsplus;fillColor=#B569B5;gradientColor=#7A467A",102.4,102.4,"","Dealsplus",null,null,this.getTagsForStencil("mxgraph.webicons","dealsplus","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"delicious",102.4,102.4,"","Delicious",null,null,this.getTagsForStencil("mxgraph.webicons","delicious","web icons icon").join(" ")),this.createVertexTemplateEntry(a+
- "designfloat;fillColor=#247BE0;gradientColor=#0A1F42",102.4,102.4,"","Designfloat",null,null,this.getTagsForStencil("mxgraph.webicons","designfloat","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"deviantart;fillColor=#00C659;gradientColor=#00813B",102.4,102.4,"","Deviantart",null,null,this.getTagsForStencil("mxgraph.webicons","deviantart","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"digg;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Digg",null,null,this.getTagsForStencil("mxgraph.webicons",
- "digg","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"diigo;fillColor=#2C7DE0;gradientColor=#1E5599",102.4,102.4,"","Diigo",null,null,this.getTagsForStencil("mxgraph.webicons","diiigo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dopplr;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Dopplr",null,null,this.getTagsForStencil("mxgraph.webicons","dopplr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"drawio1;fillColor=#2174CE;gradientColor=#134277",
- 102.4,102.4,"","Draw.io",null,null,this.getTagsForStencil("mxgraph.webicons","drawio draw io","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"drawio2;fillColor=#2174CE;gradientColor=#134277",102.4,102.4,"","Draw.io",null,null,this.getTagsForStencil("mxgraph.webicons","drawio draw io","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dribbble;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Dribbble",null,null,this.getTagsForStencil("mxgraph.webicons","dribbble",
- "web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dropbox;fillColor=#0BAAFE;gradientColor=#0080E6",102.4,102.4,"","Dropbox",null,null,this.getTagsForStencil("mxgraph.webicons","dropbox","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dropbox2;fillColor=#2FB8FC;gradientColor=#0080E6",102.4,102.4,"","Dropbox",null,null,this.getTagsForStencil("mxgraph.webicons","dropbox","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"drupal;fillColor=#FFFFFF;gradientColor=#DFDEDE",
- 102.4,102.4,"","Drupal",null,null,this.getTagsForStencil("mxgraph.webicons","drupal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dzone;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Dzone",null,null,this.getTagsForStencil("mxgraph.webicons","dzone","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ebay;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Ebay",null,null,this.getTagsForStencil("mxgraph.webicons","ebay","web icons icon").join(" ")),this.createVertexTemplateEntry(a+
- "edmodo;fillColor=#2F81CE;gradientColor=#1F5487",102.4,102.4,"","Edmodo",null,null,this.getTagsForStencil("mxgraph.webicons","edmodo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"evernote;fillColor=#D4EF75;gradientColor=#399F1F",102.4,102.4,"","Evernote",null,null,this.getTagsForStencil("mxgraph.webicons","evernote","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"facebook;fillColor=#6294E4;gradientColor=#1A2665",102.4,102.4,"","Facebook",null,null,this.getTagsForStencil("mxgraph.webicons",
- "facebook","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fancy;fillColor=#C3ECF8;gradientColor=#348DD4",102.4,102.4,"","Fancy",null,null,this.getTagsForStencil("mxgraph.webicons","fancy","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fark;fillColor=#EBEBF1;gradientColor=#8482A7",102.4,102.4,"","Fark",null,null,this.getTagsForStencil("mxgraph.webicons","fark","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fashiolista;fillColor=#FFFFFF;gradientColor=#DFDEDE",
- 102.4,102.4,"","Fashiolista",null,null,this.getTagsForStencil("mxgraph.webicons","fashiolista","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"feed;fillColor=#FFAC75;gradientColor=#FF6600",102.4,102.4,"","Feed",null,null,this.getTagsForStencil("mxgraph.webicons","feed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"feedburner;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Feedburner",null,null,this.getTagsForStencil("mxgraph.webicons","feedburner","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"flickr;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Flickr",null,null,this.getTagsForStencil("mxgraph.webicons","flickr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"folkd;fillColor=#27A2E9;gradientColor=#0A2977",102.4,102.4,"","Folkd",null,null,this.getTagsForStencil("mxgraph.webicons","folkd","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"forrst;fillColor=#3E6B32;gradientColor=#111C0D",102.4,102.4,"","Forrst",null,null,
- this.getTagsForStencil("mxgraph.webicons","forrst","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fotolog;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Fotolog",null,null,this.getTagsForStencil("mxgraph.webicons","fotolog","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"freshbump;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Freshbump",null,null,this.getTagsForStencil("mxgraph.webicons","freshbump","web icons icon").join(" ")),this.createVertexTemplateEntry(a+
- "fresqui;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Fresqui",null,null,this.getTagsForStencil("mxgraph.webicons","fresqui","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"friendfeed;fillColor=#7BDCEF;gradientColor=#21379E",102.4,102.4,"","Friendfeed",null,null,this.getTagsForStencil("mxgraph.webicons","fiendfeed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"funp;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Funp",null,null,this.getTagsForStencil("mxgraph.webicons",
- "funp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fwisp;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Fwisp",null,null,this.getTagsForStencil("mxgraph.webicons","fwisp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gabbr;fillColor=#FBAC39;gradientColor=#EA2B0E",102.4,102.4,"","Gabbr",null,null,this.getTagsForStencil("mxgraph.webicons","gabbr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gamespot;fillColor=#695D5D;gradientColor=#100E0E",
- 102.4,102.4,"","Gamespot",null,null,this.getTagsForStencil("mxgraph.webicons","gamespot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"github;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Github",null,null,this.getTagsForStencil("mxgraph.webicons","github","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gmail;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Gmail",null,null,this.getTagsForStencil("mxgraph.webicons","gmail","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"google;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Google",null,null,this.getTagsForStencil("mxgraph.webicons","google","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_drive;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Google Drive",null,null,this.getTagsForStencil("mxgraph.webicons","google drive","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_hangout;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,
- 102.4,"","Google Hangout",null,null,this.getTagsForStencil("mxgraph.webicons","google hangout","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_play;fillColor=#000000",69.4,20.6,"","Google Play",null,null,this.getTagsForStencil("mxgraph.webicons","google play","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA",60,10.4,"","Google Play Light",null,null,this.getTagsForStencil("mxgraph.webicons","google play light",
- "web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_photos;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Google Photos",null,null,this.getTagsForStencil("mxgraph.webicons","google photos","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_plus;fillColor=#F24B46;gradientColor=#AD3832",102.4,102.4,"","Google Plus",null,null,this.getTagsForStencil("mxgraph.webicons","google plus","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"grooveshark;fillColor=#695D5D;gradientColor=#000000",
- 102.4,102.4,"","Grooveshark",null,null,this.getTagsForStencil("mxgraph.webicons","grooveshark","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"hatena;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Hatena",null,null,this.getTagsForStencil("mxgraph.webicons","hatena","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"html5;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","HTML5",null,null,this.getTagsForStencil("mxgraph.webicons","html5 html","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"identi.ca;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Identi.ca",null,null,this.getTagsForStencil("mxgraph.webicons","identi.ca","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"instagram;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Instagram",null,null,this.getTagsForStencil("mxgraph.webicons","instagram","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"instapaper;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,
- 102.4,"","Instapaper",null,null,this.getTagsForStencil("mxgraph.webicons","instapaper","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ios;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","iOS",null,null,this.getTagsForStencil("mxgraph.webicons","ios","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"jamespot;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Jamespot",null,null,this.getTagsForStencil("mxgraph.webicons","jamespot","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"java;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Java",null,null,this.getTagsForStencil("mxgraph.webicons","java","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"joomla;fillColor=#1F457D;gradientColor=#081220",102.4,102.4,"","Joomla",null,null,this.getTagsForStencil("mxgraph.webicons","joomla","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"jquery;fillColor=#0BB9EA;gradientColor=#032F80",102.4,102.4,"","Jquery",null,null,
- this.getTagsForStencil("mxgraph.webicons","jquery","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"json;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","JSON",null,null,this.getTagsForStencil("mxgraph.webicons","json","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"json_2;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","JSON",null,null,this.getTagsForStencil("mxgraph.webicons","json","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"last.fm;fillColor=#F33543;gradientColor=#BD0E11",
- 102.4,102.4,"","Last.fm",null,null,this.getTagsForStencil("mxgraph.webicons","last.fm last fm","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"linkagogo;fillColor=#F6F5FA;gradientColor=#C8C1E1",102.4,102.4,"","Linkagogo",null,null,this.getTagsForStencil("mxgraph.webicons","linkagogo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"linkedin;fillColor=#0095DB;gradientColor=#006391",102.4,102.4,"","LinkedIn",null,null,this.getTagsForStencil("mxgraph.webicons","linkedin",
- "web icons icon").join(" ")),this.createVertexTemplateEntry(a+"livejournal;fillColor=#2690E5;gradientColor=#0A2463",102.4,102.4,"","Livejournal",null,null,this.getTagsForStencil("mxgraph.webicons","livejournal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mail.ru;fillColor=#267BE0;gradientColor=#0A1F42",102.4,102.4,"","Mail.ru",null,null,this.getTagsForStencil("mxgraph.webicons","mail.ru","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"meetup;fillColor=#F83263;gradientColor=#D40D19",
- 102.4,102.4,"","Meetup",null,null,this.getTagsForStencil("mxgraph.webicons","meetup","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"meneame;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Meneame",null,null,this.getTagsForStencil("mxgraph.webicons","meneame","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"messenger_2;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger_3;fillColor=#09BEFC;gradientColor=#0060FA",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mind_body_green;fillColor=#E0EEF8;gradientColor=#4496D5",
- 102.4,102.4,"","Mind Body Green",null,null,this.getTagsForStencil("mxgraph.webicons","mind body green","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mongodb;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","MongoDb",null,null,this.getTagsForStencil("mxgraph.webicons","mongodb","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"myspace;fillColor=#3C69E2;gradientColor=#101B54",102.4,102.4,"","MySpace",null,null,this.getTagsForStencil("mxgraph.webicons","myspace",
- "web icons icon").join(" ")),this.createVertexTemplateEntry(a+"n4g;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","N4g",null,null,this.getTagsForStencil("mxgraph.webicons","n4g","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netlog;fillColor=#FA3743;gradientColor=#E10E11",102.4,102.4,"","Netlog",null,null,this.getTagsForStencil("mxgraph.webicons","netlog","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netvibes;fillColor=#99DB00;gradientColor=#638E00",102.4,
- 102.4,"","Netvibes",null,null,this.getTagsForStencil("mxgraph.webicons","netvibes","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netvouz;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Netvouz",null,null,this.getTagsForStencil("mxgraph.webicons","netvouz","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"networkedblogs;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Networkedblogs",null,null,this.getTagsForStencil("mxgraph.webicons","networkedblogs",
- "web icons icon").join(" ")),this.createVertexTemplateEntry(a+"newsvine;fillColor=#008733;gradientColor=#00441B",102.4,102.4,"","Newsvine",null,null,this.getTagsForStencil("mxgraph.webicons","newsvine","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"odnoklassniki;fillColor=#FDE15A;gradientColor=#F24317",102.4,102.4,"","Odnoklassniki",null,null,this.getTagsForStencil("mxgraph.webicons","odnoklassniki","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"oknotizie;fillColor=#FFFFFF;gradientColor=#DFDEDE",
- 102.4,102.4,"","Oknotizie",null,null,this.getTagsForStencil("mxgraph.webicons","oknotizie","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"onedrive;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","OneDrive",null,null,this.getTagsForStencil("mxgraph.webicons","onedrive","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"oracle;fillColor=#FA3743;gradientColor=#E10E11",102.4,102.4,"","Oracle",null,null,this.getTagsForStencil("mxgraph.webicons","oracle","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"paypal;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Paypal",null,null,this.getTagsForStencil("mxgraph.webicons","paypal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"phone;fillColor=#76F21E;gradientColor=#079704",102.4,102.4,"","Phone",null,null,this.getTagsForStencil("mxgraph.webicons","phone","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"phonefavs;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Phonefavs",
- null,null,this.getTagsForStencil("mxgraph.webicons","phonefavs","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"pinterest;fillColor=#E50B28;gradientColor=#890616",102.4,102.4,"","Pinterest",null,null,this.getTagsForStencil("mxgraph.webicons","pinterest","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"plaxo;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Plaxo",null,null,this.getTagsForStencil("mxgraph.webicons","plaxo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+
- "playfire;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Playfire",null,null,this.getTagsForStencil("mxgraph.webicons","playfire","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"plurk;fillColor=#FF5656;gradientColor=#A8312D",102.4,102.4,"","Plurk",null,null,this.getTagsForStencil("mxgraph.webicons","plurk","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"pocket;fillColor=#FF4460;gradientColor=#B73143",102.4,102.4,"","Pocket",null,null,this.getTagsForStencil("mxgraph.webicons",
- "pocket","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"protopage;fillColor=#4B78C0;gradientColor=#294282",102.4,102.4,"","Protopage",null,null,this.getTagsForStencil("mxgraph.webicons","protopage","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"readernaut;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Readernaut",null,null,this.getTagsForStencil("mxgraph.webicons","readernaut","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"reddit;fillColor=#F3F8FC;gradientColor=#B4D2F0",
- 102.4,102.4,"","Reddit",null,null,this.getTagsForStencil("mxgraph.webicons","reddit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"rss;fillColor=#FDE532;gradientColor=#F4600D",102.4,102.4,"","RSS",null,null,this.getTagsForStencil("mxgraph.webicons","rss","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"scoopit;fillColor=#8CD845;gradientColor=#4E7A27",102.4,102.4,"","Scoopit",null,null,this.getTagsForStencil("mxgraph.webicons","scoopit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+
- "scribd;fillColor=#1D637D;gradientColor=#071920",102.4,102.4,"","Scribd",null,null,this.getTagsForStencil("mxgraph.webicons","scribd","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"segnalo;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Segnalo",null,null,this.getTagsForStencil("mxgraph.webicons","segnalo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sina;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Sina",null,null,this.getTagsForStencil("mxgraph.webicons",
- "sina","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sitejot;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Sitejot",null,null,this.getTagsForStencil("mxgraph.webicons","sitejot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"skype;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Skype",null,null,this.getTagsForStencil("mxgraph.webicons","skype","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"skyrock;fillColor=#47B8FF;gradientColor=#006AAD",
- 102.4,102.4,"","Skyrock",null,null,this.getTagsForStencil("mxgraph.webicons","skyrock","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"slashdot;fillColor=#03B2AC;gradientColor=#012C2C",102.4,102.4,"","Slashdot",null,null,this.getTagsForStencil("mxgraph.webicons","slashdot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sms;fillColor=#86D466;gradientColor=#42B418",102.4,102.4,"","SMS",null,null,this.getTagsForStencil("mxgraph.webicons","sms","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"socialvibe;fillColor=#FA16E2;gradientColor=#DF064B",102.4,102.4,"","Socialvibe",null,null,this.getTagsForStencil("mxgraph.webicons","socialvibe","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"society6;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Society6",null,null,this.getTagsForStencil("mxgraph.webicons","society6","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sonico;fillColor=#3FEAF6;gradientColor=#117EC9",102.4,102.4,
- "","Sonico",null,null,this.getTagsForStencil("mxgraph.webicons","sonico","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"soundcloud;fillColor=#F78E11;gradientColor=#F93A0E",102.4,102.4,"","Soundcloud",null,null,this.getTagsForStencil("mxgraph.webicons","soundcloud","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sourceforge;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.webicons","sourceforge","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"sourceforge_2;fillColor=#0078AF;gradientColor=#00385E",102.4,102.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.webicons","sourceforge","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"spring.me;fillColor=#3CBEF2;gradientColor=#2B8AAF",102.4,102.4,"","Spring.me",null,null,this.getTagsForStencil("mxgraph.webicons","spring me","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stackexchange;fillColor=#FFFFFF;gradientColor=#DFDEDE",
- 102.4,102.4,"","Stackexchange",null,null,this.getTagsForStencil("mxgraph.webicons","stackexchange stack exchange","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stackoverflow;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","StackOverflow",null,null,this.getTagsForStencil("mxgraph.webicons","stackoverflow stack overflow","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"startaid;fillColor=#47B0E5;gradientColor=#2F7599",102.4,102.4,"","Startaid",null,null,this.getTagsForStencil("mxgraph.webicons",
- "startaid","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"startlap;fillColor=#B9E6F0;gradientColor=#3062A2",102.4,102.4,"","Startlap",null,null,this.getTagsForStencil("mxgraph.webicons","startlap","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"steam;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Steam",null,null,this.getTagsForStencil("mxgraph.webicons","steam","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stumbleupon;fillColor=#FA823C;gradientColor=#E12110",
- 102.4,102.4,"","StumbleUpon",null,null,this.getTagsForStencil("mxgraph.webicons","stumbleupon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stumpedia;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Stumpedia",null,null,this.getTagsForStencil("mxgraph.webicons","stumpedia","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"technorati;fillColor=#99EC92;gradientColor=#288925",102.4,102.4,"","Technorati",null,null,this.getTagsForStencil("mxgraph.webicons","technorati",
- "web icons icon").join(" ")),this.createVertexTemplateEntry(a+"translate;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Translate",null,null,this.getTagsForStencil("mxgraph.webicons","translate","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"tumblr;fillColor=#588BBC;gradientColor=#172330",102.4,102.4,"","Tumblr",null,null,this.getTagsForStencil("mxgraph.webicons","tumblr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"tunein;fillColor=#FFFFFF;gradientColor=#DFDEDE",
- 102.4,102.4,"","Tunein",null,null,this.getTagsForStencil("mxgraph.webicons","tunein","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"twitter;fillColor=#49EAF7;gradientColor=#137BD0",102.4,102.4,"","Twitter",null,null,this.getTagsForStencil("mxgraph.webicons","twitter","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"two;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Two",null,null,this.getTagsForStencil("mxgraph.webicons","two","web icons icon").join(" ")),this.createVertexTemplateEntry(a+
- "typepad;fillColor=#CBD372;gradientColor=#818748",102.4,102.4,"","Typepad",null,null,this.getTagsForStencil("mxgraph.webicons","typepad","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viadeo;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Viadeo",null,null,this.getTagsForStencil("mxgraph.webicons","viadeo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viber;fillColor=#9964C4;gradientColor=#52366B",102.4,102.4,"","Viber",null,null,this.getTagsForStencil("mxgraph.webicons",
- "viber","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viddler;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Viddler",null,null,this.getTagsForStencil("mxgraph.webicons","viddler","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"vimeo;fillColor=#A4EDF9;gradientColor=#2B8ED9",102.4,102.4,"","Vimeo",null,null,this.getTagsForStencil("mxgraph.webicons","vimeo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"virb;fillColor=#536873;gradientColor=#161A1D",
- 102.4,102.4,"","Virb",null,null,this.getTagsForStencil("mxgraph.webicons","virb","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"vkontakte;fillColor=#5F94CC;gradientColor=#39587A",102.4,102.4,"","Vkontakte",null,null,this.getTagsForStencil("mxgraph.webicons","vkontakte","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wakoopa;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Wakoopa",null,null,this.getTagsForStencil("mxgraph.webicons","wakoopa","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"weheartit;fillColor=#FF7AA2;gradientColor=#FF4577",102.4,102.4,"","Weheartit",null,null,this.getTagsForStencil("mxgraph.webicons","weheartit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"whatsapp;fillColor=#4FE238;gradientColor=#138709",102.4,102.4,"","Whatsapp",null,null,this.getTagsForStencil("mxgraph.webicons","whatsapp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wix;fillColor=#8AE3F2;gradientColor=#2451B0",102.4,102.4,"",
- "Wix",null,null,this.getTagsForStencil("mxgraph.webicons","wix","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wordpress;fillColor=#35E2EE;gradientColor=#0E4D99",102.4,102.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.webicons","wordpress","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wordpress_2;fillColor=#35E2EE;gradientColor=#0E4D99",102.4,102.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.webicons","wordpress","web icons icon").join(" ")),
- this.createVertexTemplateEntry(a+"xanga;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Xanga",null,null,this.getTagsForStencil("mxgraph.webicons","xanga","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xerpi;fillColor=#7F719B;gradientColor=#32264B",102.4,102.4,"","Xerpi",null,null,this.getTagsForStencil("mxgraph.webicons","xerpi","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xing;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Xing",null,null,this.getTagsForStencil("mxgraph.webicons",
- "xing","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yahoo;fillColor=#AC37AE;gradientColor=#2E0E2D",102.4,102.4,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.webicons","yahoo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yahoo_2;fillColor=#AC37AE;gradientColor=#2E0E2D",102.4,102.4,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.webicons","yahoo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yammer;fillColor=#00AFE0;gradientColor=#005F7A",
- 102.4,102.4,"","Yammer",null,null,this.getTagsForStencil("mxgraph.webicons","yammer","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yandex;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Yandex",null,null,this.getTagsForStencil("mxgraph.webicons","yandex","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yelp;fillColor=#EF5140;gradientColor=#9C1410",102.4,102.4,"","Yelp",null,null,this.getTagsForStencil("mxgraph.webicons","yelp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+
- "yoolink;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Yoolink",null,null,this.getTagsForStencil("mxgraph.webicons","yoolink","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"youmob;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Youmob",null,null,this.getTagsForStencil("mxgraph.webicons","youmob","web icons icon").join(" "))])};Sidebar.prototype.addWebLogosPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.weblogos.";this.addPaletteFunctions("weblogos",
- "Web Logos",!1,[this.createVertexTemplateEntry(a+"adfty;fillColor=#66E8F3;gradientColor=#1C7CBA",91.2,.2*458,"","Adfty",null,null,this.getTagsForStencil("mxgraph.weblogos","adfty","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"adobe_pdf;fillColor=#A60908",69.4,.2*338,"","Adobe PDF",null,null,this.getTagsForStencil("mxgraph.weblogos","adobe pdf","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aim",.2*312,68.4,"","Aim",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "aim","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"allvoices",84,.2*398,"","Allvoices",null,null,this.getTagsForStencil("mxgraph.weblogos","allvoices","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"amazon",.2*314,68.2,"","Amazon",null,null,this.getTagsForStencil("mxgraph.weblogos","amazon","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#A4CA39;strokeColor=none",.2*338,80,"","Android",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "android","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apache",42.6,85.2,"","Apache",null,null,this.getTagsForStencil("mxgraph.weblogos","apache db database","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apple;fillColor=#1B1C1C;strokeColor=none",.2*312,76.2,"","Apple",null,null,this.getTagsForStencil("mxgraph.weblogos","apple","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apple_classic",.2*312,76.2,"","Apple (classic)",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "apple classic","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"app_store;fillColor=#000000;strokeColor=none",61.2,20,"","App Store",null,null,this.getTagsForStencil("mxgraph.weblogos","app store application","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"app_store_iphone;fillColor=#75797C;strokeColor=none",61.2,20,"","App Store iPhone",null,null,this.getTagsForStencil("mxgraph.weblogos","app store iphone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "arduino;fillColor=#36868D;strokeColor=none",67.4,32,"","Arduino",null,null,this.getTagsForStencil("mxgraph.weblogos","arduino","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ask;fillColor=#D22028;strokeColor=none",.2*343,50.6,"","Ask",null,null,this.getTagsForStencil("mxgraph.weblogos","ask","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"atlassian;fillColor=#59AFE1;strokeColor=none",60.2,55,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.weblogos","atlassian",
- "web logos logo").join(" ")),this.createVertexTemplateEntry(a+"audioboo;fillColor=#B9217E",54,79.4,"","Audioboo",null,null,this.getTagsForStencil("mxgraph.weblogos","audioboo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aws",63.6,.2*292,"","AWS",null,null,this.getTagsForStencil("mxgraph.weblogos","aws amazon web service","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aws_s3",61.6,57.6,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.weblogos","aws s3 amazon web service",
- "web logos logo").join(" ")),this.createVertexTemplateEntry(a+"baidu;fillColor=#3F4D9E",71,77,"","Baidu",null,null,this.getTagsForStencil("mxgraph.weblogos","baidu","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bebo;fillColor=#EC1C23;strokeColor=none",.2*279,71.4,"","Bebo",null,null,this.getTagsForStencil("mxgraph.weblogos","bebo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"behance;fillColor=#3A3333",73.8,45.6,"","Behance",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "behance","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bing;fillColor=#008373;strokeColor=none",53,66.2,"","Bing",null,null,this.getTagsForStencil("mxgraph.weblogos","bing","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bitbucket;fillColor=#205081;strokeColor=none",65.2,74.8,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.weblogos","bitbucket","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blinklist;fillColor=#3A3333;strokeColor=none",81.2,
- 72,"","Blinklist",null,null,this.getTagsForStencil("mxgraph.weblogos","blinklist","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blogger;fillColor=#F66C2A;strokeColor=none",58,58.2,"","Blogger",null,null,this.getTagsForStencil("mxgraph.weblogos","blogger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blogmarks",37.6,64.4,"","Blogmarks",null,null,this.getTagsForStencil("mxgraph.weblogos","blogmarks","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bookmarks.fr",
- 70.2,.2*314,"","Bookmarks.fr",null,null,this.getTagsForStencil("mxgraph.weblogos","bookmarks.fr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"box;fillColor=#2771B9;strokeColor=none",44.6,64.2,"","Box",null,null,this.getTagsForStencil("mxgraph.weblogos","box","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buddymarks",79.4,57,"","Buddymarks",null,null,this.getTagsForStencil("mxgraph.weblogos","buddymarks","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "buffer;fillColor=#221F1F;strokeColor=none",70.4,.2*302,"","Buffer",null,null,this.getTagsForStencil("mxgraph.weblogos","buffer","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buzzfeed;fillColor=#ED3223;strokeColor=none",78,78,"","Buzzfeed",null,null,this.getTagsForStencil("mxgraph.weblogos","buzzfeed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"chrome",74.8,75.4,"","Chrome",null,null,this.getTagsForStencil("mxgraph.weblogos","chrome","web logos logo").join(" ")),
- this.createVertexTemplateEntry(a+"citeulike;fillColor=#698139",.2*378,36,"","Citeulike",null,null,this.getTagsForStencil("mxgraph.weblogos","citeulike","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"confluence;fillColor=#1F5081;strokeColor=none",.2*389,66.8,"","Confluence",null,null,this.getTagsForStencil("mxgraph.weblogos","confluence","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"connotea",81,.2*413,"","Connotea",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "connotea","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dealsplus;fillColor=#935492",76,.2*333,"","Dealsplus",null,null,this.getTagsForStencil("mxgraph.weblogos","dealsplus","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"designfloat;strokeColor=none",72,72,"","Designfloat",null,null,this.getTagsForStencil("mxgraph.weblogos","designfloat","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"deviantart;fillColor=#009544;strokeColor=none;",62,86.4,"","Deviantart",
- null,null,this.getTagsForStencil("mxgraph.weblogos","deviantart","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"digg;fillColor=#ffffff",58,56,"","Digg",null,null,this.getTagsForStencil("mxgraph.weblogos","digg","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"diigo;fillColor=#2973D2;strokeColor=none",61.2,68.8,"","Diigo",null,null,this.getTagsForStencil("mxgraph.weblogos","diiigo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dopplr;fillColor=#F9634D;strokeColor=none",
- 102.4,102.4,"","Dopplr",null,null,this.getTagsForStencil("mxgraph.weblogos","dopplr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drawio1;fillColor=#1A5BA3",49.6,68.2,"","Draw.io",null,null,this.getTagsForStencil("mxgraph.weblogos","drawio draw io","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drawio2;fillColor=#1A5BA3",52.2,70.8,"","Draw.io",null,null,this.getTagsForStencil("mxgraph.weblogos","drawio draw io","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "dribbble;fillColor=#EB548D",67.4,67.2,"","Dribbble",null,null,this.getTagsForStencil("mxgraph.weblogos","dribbble","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dropbox;fillColor=#0287EA",73.4,62,"","Dropbox2",null,null,this.getTagsForStencil("mxgraph.weblogos","dropbox","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drupal",60.6,69,"","Drupal",null,null,this.getTagsForStencil("mxgraph.weblogos","drupal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "dzone",.2*438,61.2,"","Dzone",null,null,this.getTagsForStencil("mxgraph.weblogos","dzone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ebay",81.2,34.4,"","Ebay",null,null,this.getTagsForStencil("mxgraph.weblogos","ebay","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"edmodo;fillColor=#276CB0;strokeColor=none",69.2,73.8,"","Edmodo",null,null,this.getTagsForStencil("mxgraph.weblogos","edmodo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"evernote;fillColor=#3F3F3F",
- .2*317,75.2,"","Evernote",null,null,this.getTagsForStencil("mxgraph.weblogos","evernote","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fancy;fillColor=#6DB3E3",39.2,79,"","Fancy",null,null,this.getTagsForStencil("mxgraph.weblogos","fancy","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fark;fillColor=#B1B0C7;gradientColor=#ffffff;strokeColor=#B1B0C7",44.2,70.2,"","Fark",null,null,this.getTagsForStencil("mxgraph.weblogos","fark","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "fashiolista",.2*388,73.2,"","Fashiolista",null,null,this.getTagsForStencil("mxgraph.weblogos","fashiolista","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"feed;fillColor=#000000",.2*302,59.2,"","Feed",null,null,this.getTagsForStencil("mxgraph.weblogos","feed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"feedburner",68.4,74.4,"","Feedburner",null,null,this.getTagsForStencil("mxgraph.weblogos","feedburner","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "flickr",71.2,.2*156,"","Flickr",null,null,this.getTagsForStencil("mxgraph.weblogos","flickr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"folkd;fillColor=#165AA6",.2*419,43.6,"","Folkd",null,null,this.getTagsForStencil("mxgraph.weblogos","folkd","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"forrst;fillColor=#27431F",.2*264,73.2,"","Forrst",null,null,this.getTagsForStencil("mxgraph.weblogos","forrst","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "fotolog;fillColor=#000000;strokeColor=none",47.6,47.6,"","Fotolog",null,null,this.getTagsForStencil("mxgraph.weblogos","fotolog","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"freshbump;fillColor=#C2D952;strokeColor=none",71.2,76,"","Freshbump",null,null,this.getTagsForStencil("mxgraph.weblogos","freshbump","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fresqui",102.4,102.4,"","Fresqui",null,null,this.getTagsForStencil("mxgraph.weblogos","fresqui","web logos logo").join(" ")),
- this.createVertexTemplateEntry(a+"friendfeed;fillColor=#4172BB",73.8,71,"","Friendfeed",null,null,this.getTagsForStencil("mxgraph.weblogos","fiendfeed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"funp",75,40,"","Funp",null,null,this.getTagsForStencil("mxgraph.weblogos","funp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fwisp;fillColor=#66676A;strokeColor=none",65.4,66,"","Fwisp",null,null,this.getTagsForStencil("mxgraph.weblogos","fwisp","web logos logo").join(" ")),
- this.createVertexTemplateEntry(a+"gabbr;fillColor=#F05B1E",64.4,66,"","Gabbr",null,null,this.getTagsForStencil("mxgraph.weblogos","gabbr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"gamespot",.2*408,.2*408,"","Gamespot",null,null,this.getTagsForStencil("mxgraph.weblogos","gamespot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"github",75,75,"","Github",null,null,this.getTagsForStencil("mxgraph.weblogos","github","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "gmail",64.8,.2*234,"","Gmail",null,null,this.getTagsForStencil("mxgraph.weblogos","gmail","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google",65.2,69.4,"","Google",null,null,this.getTagsForStencil("mxgraph.weblogos","google","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_drive",66.4,58,"","Google Drive",null,null,this.getTagsForStencil("mxgraph.weblogos","google drive","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_hangout;fillColor=#4BA139;strokeColor=none",
- 64.8,75.4,"","Google Hangout",null,null,this.getTagsForStencil("mxgraph.weblogos","google hangout","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_play;fillColor=#000000",69.4,20.6,"","Google Play",null,null,this.getTagsForStencil("mxgraph.weblogos","google play","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA",60,10.4,"","Google Play Light",null,null,this.getTagsForStencil("mxgraph.weblogos","google play light",
- "web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_photos",87.2,87.2,"","Google Photos",null,null,this.getTagsForStencil("mxgraph.weblogos","google photos","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_plus;fillColor=#DD4C40;strokeColor=none",.2*328,44,"","Google+",null,null,this.getTagsForStencil("mxgraph.weblogos","google plus","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"grooveshark;fillColor=#000000;strokeColor=none",62.2,62.2,"","Grooveshark",
- null,null,this.getTagsForStencil("mxgraph.weblogos","grooveshark","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"hatena",86.2,44.2,"","Hatena",null,null,this.getTagsForStencil("mxgraph.weblogos","hatena","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"html5",.2*262,74,"","HTML5",null,null,this.getTagsForStencil("mxgraph.weblogos","html5 html","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"identi.ca",74.2,47.6,"","Identi.ca",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "identi.ca","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"instagram;fillColor=#6FC0E4;gradientColor=#1E305B",72.2,72.2,"","Instagram",null,null,this.getTagsForStencil("mxgraph.weblogos","instagram","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"instapaper",27.6,70.2,"","Instapaper",null,null,this.getTagsForStencil("mxgraph.weblogos","instapaper","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ios;fillColor=#695D5D;gradientColor=#100E0E",.2*368,.2*197,
- "","iOS",null,null,this.getTagsForStencil("mxgraph.weblogos","ios","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"jamespot;fillColor=#695D5D;gradientColor=#100E0E",78,78,"","Jamespot",null,null,this.getTagsForStencil("mxgraph.weblogos","jamespot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"java",34.4,65,"","Java",null,null,this.getTagsForStencil("mxgraph.weblogos","java","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"joomla;fillColor=#1F457D;gradientColor=#081220",
- 66,.2*328,"","Joomla",null,null,this.getTagsForStencil("mxgraph.weblogos","joomla","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"jquery;fillColor=#0BB9EA;gradientColor=#032F80",73.8,67,"","Jquery",null,null,this.getTagsForStencil("mxgraph.weblogos","jquery","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"json",70,75.8,"","JSON",null,null,this.getTagsForStencil("mxgraph.weblogos","json","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"json_2",80.4,.2*126,
- "","JSON",null,null,this.getTagsForStencil("mxgraph.weblogos","json","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"last.fm;fillColor=#F33543;gradientColor=#BD0E11",83.2,50,"","Last.fm",null,null,this.getTagsForStencil("mxgraph.weblogos","last.fm last fm","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"linkagogo;fillColor=#F6F5FA;gradientColor=#C8C1E1",102.2,80,"","Linkagogo",null,null,this.getTagsForStencil("mxgraph.weblogos","linkagogo","web logos logo").join(" ")),
- this.createVertexTemplateEntry(a+"linkedin;fillColor=#0095DB;gradientColor=#006391",.2*287,60.6,"","LinkedIn",null,null,this.getTagsForStencil("mxgraph.weblogos","linkedin","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"livejournal;fillColor=#2690E5;gradientColor=#0A2463",64,.2*343,"","Livejournal",null,null,this.getTagsForStencil("mxgraph.weblogos","livejournal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mail.ru;fillColor=#267BE0;gradientColor=#0A1F42",81.2,.2*
- 393,"","Mail.ru",null,null,this.getTagsForStencil("mxgraph.weblogos","mail.ru","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mathoverflow;fillColor=#656463;gradientColor=#F28711;gradientDirection=east",59,48.2,"","MathOverflow",null,null,this.getTagsForStencil("mxgraph.weblogos","mathoverflow","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"meetup;fillColor=#413E3E;strokeColor=none",74.8,30,"","Meetup",null,null,this.getTagsForStencil("mxgraph.weblogos","meetup","web logos logo").join(" ")),
- this.createVertexTemplateEntry(a+"meneame",76,.2*338,"","Meneame",null,null,this.getTagsForStencil("mxgraph.weblogos","meneame","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger",.2*413,.2*384,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger_2",64.4,64.8,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "messenger_3;fillColor=#437BBD;strokeColor=#dddddd",64.4,64.8,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mind_body_green;strokeColor=#888888",81.4,.2*464,"","Mind Body Green",null,null,this.getTagsForStencil("mxgraph.weblogos","mind body green","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mongodb",41.2,86.2,"","MongoDb",null,null,this.getTagsForStencil("mxgraph.weblogos","mongodb",
- "web logos logo").join(" ")),this.createVertexTemplateEntry(a+"myspace;fillColor=#003399;strokeColor=none",63,70.2,"","MySpace",null,null,this.getTagsForStencil("mxgraph.weblogos","myspace","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"n4g;fillColor=#000000;strokeColor=none",88.2,31.8,"","N4g",null,null,this.getTagsForStencil("mxgraph.weblogos","n4g","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netlog;fillColor=#F42424;strokeColor=none",.2*383,68.8,"","Netlog",null,
- null,this.getTagsForStencil("mxgraph.weblogos","netlog","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netvibes;fillColor=#84BD00;strokeColor=none",.2*309,.2*309,"","Netvibes",null,null,this.getTagsForStencil("mxgraph.weblogos","netvibes","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netvouz",57.2,.2*287,"","Netvouz",null,null,this.getTagsForStencil("mxgraph.weblogos","netvouz","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"networkedblogs",.2*394,.2*
- 394,"","Networkedblogs",null,null,this.getTagsForStencil("mxgraph.weblogos","networkedblogs","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"newsvine;fillColor=#005221;strokeColor=none",40.6,77.2,"","Newsvine",null,null,this.getTagsForStencil("mxgraph.weblogos","newsvine","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"odnoklassniki;fillColor=#F58220;strokeColor=none",.2*247,82,"","Odnoklassniki",null,null,this.getTagsForStencil("mxgraph.weblogos","odnoklassniki","web logos logo").join(" ")),
- this.createVertexTemplateEntry(a+"oknotizie",.2*237,70.4,"","Oknotizie",null,null,this.getTagsForStencil("mxgraph.weblogos","oknotizie","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"onedrive;fillColor=#094AB1;strokeColor=none",71.2,43.2,"","OneDrive",null,null,this.getTagsForStencil("mxgraph.weblogos","onedrive","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"oracle;fillColor=#FF0000;strokeColor=none",90,23,"","Oracle",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "oracle","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"paypal",51.2,58,"","Paypal",null,null,this.getTagsForStencil("mxgraph.weblogos","paypal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"phone;fillColor=#36BE0F;strokeColor=none",.2*289,54.2,"","Phone",null,null,this.getTagsForStencil("mxgraph.weblogos","phone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"phonefavs",64.4,.2*394,"","Phonefavs",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "phonefavs","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"pinterest;fillColor=#BD081C;strokeColor=none",.2*384,74.4,"","Pinterest",null,null,this.getTagsForStencil("mxgraph.weblogos","pinterest","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"plaxo;fillColor=#414F5C;strokeColor=none",80,80,"","Plaxo",null,null,this.getTagsForStencil("mxgraph.weblogos","plaxo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"playfire;fillColor=#FDA21A;gradientColor=#FEE635;strokeColor=none",
- 62,61.6,"","Playfire",null,null,this.getTagsForStencil("mxgraph.weblogos","playfire","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"plurk;fillColor=#E9443D;strokeColor=none",102.4,102.4,"","Plurk",null,null,this.getTagsForStencil("mxgraph.weblogos","plurk","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"pocket;fillColor=#EE4056;strokeColor=none",.2*314,.2*289,"","Pocket",null,null,this.getTagsForStencil("mxgraph.weblogos","pocket","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "protopage;fillColor=#4B78C0;gradientColor=#294282",.2*394,80,"","Protopage",null,null,this.getTagsForStencil("mxgraph.weblogos","protopage","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"readernaut;fillColor=#000000;strokeColor=none",72,72,"","Readernaut",null,null,this.getTagsForStencil("mxgraph.weblogos","readernaut","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"reddit;fillColor=#F3F8FC;gradientColor=#B4D2F0",88,.2*368,"","Reddit",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "reddit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"rss;fillColor=#F56800;strokeColor=none",.2*408,.2*408,"","RSS",null,null,this.getTagsForStencil("mxgraph.weblogos","rss","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"scoopit;fillColor=#6CAB36;strokeColor=none",58,70,"","Scoopit",null,null,this.getTagsForStencil("mxgraph.weblogos","scoopit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"scribd;fillColor=#3D3533;strokeColor=none",.2*289,69.2,"",
- "Scribd",null,null,this.getTagsForStencil("mxgraph.weblogos","scribd","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"segnalo",.2*403,.2*389,"","Segnalo",null,null,this.getTagsForStencil("mxgraph.weblogos","segnalo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sina",.2*429,.2*343,"","Sina",null,null,this.getTagsForStencil("mxgraph.weblogos","sina","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sitejot",77.2,66,"","Sitejot",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "sitejot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"skype;fillColor=#2AACE2;strokeColor=none",.2*388,.2*394,"","Skype",null,null,this.getTagsForStencil("mxgraph.weblogos","skype","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"skyrock;fillColor=#009AFF;strokeColor=none",67.8,70.4,"","Skyrock",null,null,this.getTagsForStencil("mxgraph.weblogos","skyrock","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"slashdot;fillColor=#026664;strokeColor=none",.2*
- 262,62,"","Slashdot",null,null,this.getTagsForStencil("mxgraph.weblogos","slashdot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sms;fillColor=#48B921;strokeColor=none",69.2,64,"","SMS",null,null,this.getTagsForStencil("mxgraph.weblogos","sms","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"socialvibe;fillColor=#EE2F7F;strokeColor=none",50,50,"","Socialvibe",null,null,this.getTagsForStencil("mxgraph.weblogos","socialvibe","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "society6;fillColor=#000000;strokeColor=none",74.8,53,"","Society6",null,null,this.getTagsForStencil("mxgraph.weblogos","society6","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sonico;fillColor=#01AEF0;strokeColor=none",69.2,63.2,"","Sonico",null,null,this.getTagsForStencil("mxgraph.weblogos","sonico","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"soundcloud;fillColor=#FE4600;strokeColor=none",73.4,32.6,"","Soundcloud",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "soundcloud","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sourceforge",74.2,74.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.weblogos","sourceforge","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sourceforge_2;fillColor=#00547E;strokeColor=none",63.2,.2*234,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.weblogos","sourceforge","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"spring.me;fillColor=#0374B8;strokeColor=none",73.2,
- 31.6,"","Spring.me",null,null,this.getTagsForStencil("mxgraph.weblogos","spring me","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"stackexchange",.2*319,79,"","Stackexchange",null,null,this.getTagsForStencil("mxgraph.weblogos","stackexchange stack exchange","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"stackoverflow",.2*272,64,"","StackOverflow",null,null,this.getTagsForStencil("mxgraph.weblogos","stackoverflow stack overflow","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "startaid;fillColor=#409FCF;strokeColor=none",41.2,42.6,"","Startaid",null,null,this.getTagsForStencil("mxgraph.weblogos","startaid","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"startlap;fillColor=#B9E6F0;gradientColor=#3062A2",82,84.2,"","Startlap",null,null,this.getTagsForStencil("mxgraph.weblogos","startlap","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"steam;fillColor=#695D5D;gradientColor=#100E0E",85.2,39.6,"","Steam",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "steam","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"stumbleupon;fillColor=#EB4924;strokeColor=none",102.4,102.4,"","StumbleUpon",null,null,this.getTagsForStencil("mxgraph.weblogos","stumbleupon","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"stumpedia",67,.2*338,"","Stumpedia",null,null,this.getTagsForStencil("mxgraph.weblogos","stumpedia","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"translate",68.4,67,"","Translate",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "translate","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"tumblr;fillColor=#36465D;strokeColor=none",40.6,65.2,"","Tumblr",null,null,this.getTagsForStencil("mxgraph.weblogos","tumblr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"tunein",70,70,"","Tunein",null,null,this.getTagsForStencil("mxgraph.weblogos","tunein","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"twitter;fillColor=#1DA1F2;strokeColor=none",80,70,"","Twitter",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "twitter","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"two;fillColor=#FF6D00;strokeColor=none",75.4,20,"","Two",null,null,this.getTagsForStencil("mxgraph.weblogos","two","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"typepad;fillColor=#ADB560;strokeColor=none",64.8,.2*192,"","Typepad",null,null,this.getTagsForStencil("mxgraph.weblogos","typepad","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"viadeo",73.4,84,"","Viadeo",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "viadeo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"viber;fillColor=#7D539F;strokeColor=none",77.4,85.2,"","Viber",null,null,this.getTagsForStencil("mxgraph.weblogos","viber","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"viddler;fillColor=#1896E0;gradientColor=#06253F",82,.2*106,"","Viddler",null,null,this.getTagsForStencil("mxgraph.weblogos","viddler","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"vimeo;fillColor=#1AB7EA;strokeColor=none",62.6,
- 58,"","Vimeo",null,null,this.getTagsForStencil("mxgraph.weblogos","vimeo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"virb;fillColor=#000000;strokeColor=none",66,.2*353,"","Virb",null,null,this.getTagsForStencil("mxgraph.weblogos","virb","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"vkontakte;fillColor=#4C75A3;strokeColor=none",70.4,40,"","Vkontakte",null,null,this.getTagsForStencil("mxgraph.weblogos","vkontakte","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "wakoopa;fillColor=#FF6D00;strokeColor=none",.2*413,.2*224,"","Wakoopa",null,null,this.getTagsForStencil("mxgraph.weblogos","wakoopa","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"weheartit;fillColor=#FF4577;strokeColor=none",82.2,.2*348,"","Weheartit",null,null,this.getTagsForStencil("mxgraph.weblogos","weheartit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"whatsapp;fillColor=#00E676;strokeColor=#dddddd",74.4,74.8,"","Whatsapp",null,null,this.getTagsForStencil("mxgraph.weblogos",
- "whatsapp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"wix;strokeColor=#dddddd",74,61.6,"","Wix",null,null,this.getTagsForStencil("mxgraph.weblogos","wix","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"wordpress;fillColor=#00A7DA;strokeColor=none",.2*333,65.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.weblogos","wordpress","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"wordpress_2;fillColor=#00A7DA;strokeColor=none",68.8,68.8,"","Wordpress",
- null,null,this.getTagsForStencil("mxgraph.weblogos","wordpress","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"xanga;fillColor=#000000;strokeColor=none",70,38,"","Xanga",null,null,this.getTagsForStencil("mxgraph.weblogos","xanga","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"xerpi;fillColor=#7F719B;gradientColor=#32264B;strokeColor=none",70.2,.2*328,"","Xerpi",null,null,this.getTagsForStencil("mxgraph.weblogos","xerpi","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "xing",65,73.8,"","Xing",null,null,this.getTagsForStencil("mxgraph.weblogos","xing","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yahoo;fillColor=#65106E;strokeColor=none",74.4,43.6,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.weblogos","yahoo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yahoo_2;fillColor=#65106E;strokeColor=none",80,46.6,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.weblogos","yahoo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "yammer;fillColor=#0093BE;strokeColor=none",.2*348,59.6,"","Yammer",null,null,this.getTagsForStencil("mxgraph.weblogos","yammer","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yandex",31.8,66.4,"","Yandex",null,null,this.getTagsForStencil("mxgraph.weblogos","yandex","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yelp;fillColor=#C41200;strokeColor=none",.2*317,83,"","Yelp",null,null,this.getTagsForStencil("mxgraph.weblogos","yelp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "yoolink",79.2,79.2,"","Yoolink",null,null,this.getTagsForStencil("mxgraph.weblogos","yoolink","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"youmob",76,76.2,"","Youmob",null,null,this.getTagsForStencil("mxgraph.weblogos","youmob","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"youtube;fillColor=#FF2626;gradientColor=#B5171F",.2*786,65.8,"","Youtube",null,null,this.getTagsForStencil("mxgraph.weblogos","youtube","web logos logo").join(" ")),this.createVertexTemplateEntry(a+
- "youtube_2;fillColor=#FF2626;gradientColor=#B5171F",.2*232,32.6,"","Youtube",null,null,this.getTagsForStencil("mxgraph.weblogos","youtube","web logos logo").join(" "))])}})();
- DrawioFile=function(a,b){mxEventSource.call(this);this.ui=a;this.data=b||""};mxUtils.extend(DrawioFile,mxEventSource);DrawioFile.prototype.autosaveDelay=1500;DrawioFile.prototype.maxAutosaveDelay=3E4;DrawioFile.prototype.autosaveThread=null;DrawioFile.prototype.lastAutosave=null;DrawioFile.prototype.modified=!1;DrawioFile.prototype.changeListenerEnabled=!0;DrawioFile.prototype.lastAutosaveRevision=null;DrawioFile.prototype.maxAutosaveRevisionDelay=18E5;DrawioFile.prototype.descriptorChanged=function(){this.fireEvent(new mxEventObject("descriptorChanged"))};
- DrawioFile.prototype.contentChanged=function(){this.fireEvent(new mxEventObject("contentChanged"))};DrawioFile.prototype.save=function(a,b,c,d){this.updateFileData();this.clearAutosave()};DrawioFile.prototype.updateFileData=function(){this.setData(this.ui.getFileData())};DrawioFile.prototype.saveAs=function(a,b,c){};DrawioFile.prototype.saveFile=function(a,b,c,d){};DrawioFile.prototype.getPublicUrl=function(a){a(null)};DrawioFile.prototype.isRestricted=function(){return!1};
- DrawioFile.prototype.isModified=function(){return this.modified};DrawioFile.prototype.setModified=function(a){this.modified=a};DrawioFile.prototype.isAutosaveOptional=function(){return!1};DrawioFile.prototype.isAutosave=function(){return this.ui.editor.autosave};DrawioFile.prototype.isRenamable=function(){return!1};DrawioFile.prototype.rename=function(a,b,c){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.move=function(a,b,c){};DrawioFile.prototype.getHash=function(){return""};
- DrawioFile.prototype.getId=function(){return""};DrawioFile.prototype.isEditable=function(){return!this.ui.editor.chromeless};DrawioFile.prototype.getUi=function(){return this.ui};DrawioFile.prototype.getTitle=function(){return""};DrawioFile.prototype.setData=function(a){this.data=a};DrawioFile.prototype.getData=function(){return this.data};
- DrawioFile.prototype.open=function(){this.ui.setFileData(this.getData());this.changeListener=mxUtils.bind(this,function(a,b){var c=null!=b?b.getProperty("edit"):null;!this.changeListenerEnabled||!this.isEditable()||null!=c&&c.ignoreEdit||(this.setModified(!0),this.isAutosave()?(this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("saving"))+"..."),this.autosave(this.autosaveDelay,this.maxAutosaveDelay,mxUtils.bind(this,function(a){null!=this.autosaveThread||this.ui.getCurrentFile()!=this||
- this.isModified()||this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved")))}),mxUtils.bind(this,function(a){this.ui.getCurrentFile()==this&&this.addUnsavedStatus(a)}))):this.addUnsavedStatus())});this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener);this.ui.editor.graph.addListener("gridSizeChanged",this.changeListener);this.ui.editor.graph.addListener("shadowVisibleChanged",this.changeListener);this.ui.addListener("pageFormatChanged",this.changeListener);
- this.ui.addListener("pageScaleChanged",this.changeListener);this.ui.addListener("backgroundColorChanged",this.changeListener);this.ui.addListener("backgroundImageChanged",this.changeListener);this.ui.addListener("foldingEnabledChanged",this.changeListener);this.ui.addListener("mathEnabledChanged",this.changeListener);this.ui.addListener("gridEnabledChanged",this.changeListener);this.ui.addListener("guidesEnabledChanged",this.changeListener);this.ui.addListener("pageViewChanged",this.changeListener)};
- DrawioFile.prototype.addUnsavedStatus=function(a){a instanceof Error&&null!=a.message?this.ui.editor.setStatus('<div class="geStatusAlert" style="cursor:pointer;overflow:hidden;">'+mxUtils.htmlEntities(mxResources.get("unsavedChanges"))+" ("+mxUtils.htmlEntities(a.message)+")</div>"):(this.ui.editor.setStatus('<div class="geStatusAlert" style="cursor:pointer;overflow:hidden;">'+mxUtils.htmlEntities(mxResources.get("unsavedChangesClickHereToSave"))+"</div>"),null!=this.ui.statusContainer&&(a=this.ui.statusContainer.getElementsByTagName("div"),
- 0<a.length&&mxEvent.addListener(a[0],"click",mxUtils.bind(this,function(){this.ui.actions.get(null==this.ui.mode?"saveAs":"save").funct()}))))};
- DrawioFile.prototype.autosave=function(a,b,c,d){null==this.lastAutosave&&(this.lastAutosave=(new Date).getTime());a=(new Date).getTime()-this.lastAutosave<b?a:0;this.clearAutosave();this.autosaveThread=window.setTimeout(mxUtils.bind(this,function(){this.lastAutosave=this.autosaveThread=null;if(this.isModified()&&this.isAutosaveNow()){var a=this.isAutosaveRevision();a&&(this.lastAutosaveRevision=(new Date).getTime());this.save(a,mxUtils.bind(this,function(a){this.autosaveCompleted();null!=c&&c(a)}),
- mxUtils.bind(this,function(a){null!=d&&d(a)}))}else null!=c&&c(null)}),a)};DrawioFile.prototype.isAutosaveNow=function(){return!0};DrawioFile.prototype.autosaveCompleted=function(){};DrawioFile.prototype.clearAutosave=function(){null!=this.autosaveThread&&(window.clearTimeout(this.autosaveThread),this.autosaveThread=null)};DrawioFile.prototype.isAutosaveRevision=function(){var a=(new Date).getTime();return null==this.lastAutosaveRevision||a-this.lastAutosaveRevision>this.maxAutosaveRevisionDelay};
- DrawioFile.prototype.close=function(a){this.isAutosave()&&this.isModified()&&this.save(this.isAutosaveRevision(),null,null,a);this.destroy()};DrawioFile.prototype.hasSameExtension=function(a,b){if(null!=a&&null!=b){var c=a.lastIndexOf("."),d=0<c?a.substring(c):"",c=b.lastIndexOf(".");return d===(0<c?b.substring(c):"")}return a==b};
- DrawioFile.prototype.destroy=function(){this.clearAutosave();null!=this.changeListener&&(this.ui.editor.graph.model.removeListener(this.changeListener),this.ui.editor.graph.removeListener(this.changeListener),this.ui.removeListener(this.changeListener),this.changeListener=null)};LocalFile=function(a,b,c,d){DrawioFile.call(this,a,b);this.title=c;this.mode=d?null:App.MODE_DEVICE};mxUtils.extend(LocalFile,DrawioFile);LocalFile.prototype.isAutosave=function(){return!1};LocalFile.prototype.getMode=function(){return this.mode};LocalFile.prototype.getTitle=function(){return this.title};LocalFile.prototype.isRenamable=function(){return!0};LocalFile.prototype.save=function(a,b,c){this.saveAs(this.title,b,c)};LocalFile.prototype.saveAs=function(a,b,c){this.saveFile(a,!1,b,c)};
- LocalFile.prototype.saveFile=function(a,b,c,d){this.title=a;this.updateFileData();var f=this.getData();this.ui.isOfflineApp()||this.ui.isLocalFileSave()?this.ui.doSaveLocalFile(f,a,"text/xml"):f.length<MAX_REQUEST_SIZE?(b=a.lastIndexOf("."),b=0<b?a.substring(b+1):"xml",(new mxXmlRequest(SAVE_URL,"format="+b+"&filename="+encodeURIComponent(a)+"&xml="+encodeURIComponent(f))).simulate(document,"_blank")):this.ui.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,
- function(){mxUtils.popup(f)}));this.setModified(!1);this.contentChanged();null!=c&&c()};LocalFile.prototype.rename=function(a,b,c){this.title=a;this.descriptorChanged();null!=b&&b()};LocalFile.prototype.open=function(){this.ui.setFileData(this.getData());this.changeListener=mxUtils.bind(this,function(a,b){this.setModified(!0);this.addUnsavedStatus()});this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener)};LocalLibrary=function(a,b,c){LocalFile.call(this,a,b,c)};mxUtils.extend(LocalLibrary,LocalFile);LocalLibrary.prototype.getHash=function(){return"F"+this.getTitle()};LocalLibrary.prototype.isAutosave=function(){return!1};LocalLibrary.prototype.saveAs=function(a,b,c){this.saveFile(a,!1,b,c)};LocalLibrary.prototype.updateFileData=function(){};LocalLibrary.prototype.open=function(){};StorageFile=function(a,b,c){DrawioFile.call(this,a,b);this.title=c};mxUtils.extend(StorageFile,DrawioFile);StorageFile.prototype.autosaveDelay=2E3;StorageFile.prototype.maxAutosaveDelay=2E4;StorageFile.prototype.getMode=function(){return App.MODE_BROWSER};StorageFile.prototype.isAutosaveOptional=function(){return!0};StorageFile.prototype.getHash=function(){return"L"+encodeURIComponent(this.getTitle())};StorageFile.prototype.getTitle=function(){return this.title};
- StorageFile.prototype.isRenamable=function(){return!0};StorageFile.prototype.save=function(a,b,c){this.saveAs(this.getTitle(),b,c)};StorageFile.prototype.saveAs=function(a,b,c){DrawioFile.prototype.save.apply(this,arguments);this.saveFile(a,!1,b,c)};
- StorageFile.prototype.saveFile=function(a,b,c,d){if(this.isEditable()){var f=mxUtils.bind(this,function(){this.isRenamable()&&(this.title=a);try{this.ui.setLocalData(this.title,this.getData(),mxUtils.bind(this,function(){this.setModified(!1);this.contentChanged();null!=c&&c()}))}catch(g){null!=d&&d(g)}});this.isRenamable()&&"."==a.charAt(0)&&null!=d?d({message:mxResources.get("invalidName")}):this.ui.getLocalData(a,mxUtils.bind(this,function(b){this.isRenamable()&&this.getTitle()!=a&&null!=b?this.ui.confirm(mxResources.get("replaceIt",
- [a]),f,d):f()}))}else null!=c&&c()};StorageFile.prototype.rename=function(a,b,c){var d=this.getTitle();this.title=a;this.hasSameExtension(d,a)||this.setData(this.ui.getFileData());this.saveFile(a,!1,mxUtils.bind(this,function(){d!=a&&this.ui.removeLocalData(d,b)}),c)};StorageFile.prototype.open=function(){DrawioFile.prototype.open.apply(this,arguments);this.saveFile(this.getTitle())};
- StorageFile.prototype.destroy=function(){DrawioFile.prototype.destroy.apply(this,arguments);null!=this.storageListener&&(mxEvent.removeListener(window,"storage",this.storageListener),this.storageListener=null)};StorageLibrary=function(a,b,c){StorageFile.call(this,a,b,c)};mxUtils.extend(StorageLibrary,StorageFile);StorageLibrary.prototype.isAutosave=function(){return!0};StorageLibrary.prototype.saveAs=function(a,b,c){this.saveFile(a,!1,b,c)};StorageLibrary.prototype.getHash=function(){return"L"+encodeURIComponent(this.title)};StorageLibrary.prototype.getTitle=function(){return".scratchpad"==this.title?mxResources.get("scratchpad"):this.title};
- StorageLibrary.prototype.isRenamable=function(a,b,c){return".scratchpad"!=this.title};StorageLibrary.prototype.open=function(){};UrlLibrary=function(a,b,c){StorageFile.call(this,a,b,c);a=c;b=a.lastIndexOf("/");0<=b&&(a=a.substring(b+1));this.fname=a};mxUtils.extend(UrlLibrary,StorageFile);UrlLibrary.prototype.getHash=function(){return"U"+encodeURIComponent(this.title)};UrlLibrary.prototype.getTitle=function(){return this.fname};UrlLibrary.prototype.isAutosave=function(){return!1};UrlLibrary.prototype.isEditable=function(a,b,c){return!1};UrlLibrary.prototype.saveAs=function(a,b,c){};UrlLibrary.prototype.open=function(){};var StorageDialog=function(a,b,c){function d(e,d,f,g,q,t){function w(){mxEvent.addListener(u,"click",null!=t?t:function(){f!=App.MODE_GOOGLE||a.isDriveDomain()?f==App.MODE_GOOGLE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(f,k.checked);b()})):(a.setMode(f,k.checked),b()):window.location.hostname=DriveClient.prototype.newAppHostname})}var u=document.createElement("a");u.style.overflow="hidden";u.style.display=
- mxClient.IS_QUIRKS?"inline":"inline-block";u.className="geBaseButton";u.style.fontSize="11px";u.style.position="relative";u.style.margin="4px";u.style.padding="8px 10px 12px 10px";u.style.width="68px";u.style.height="80px";u.style.whiteSpace="nowrap";u.setAttribute("title",d);mxClient.IS_QUIRKS&&(u.style.cssFloat="left",u.style.zoom="1");var x=document.createElement("div");x.style.textOverflow="ellipsis";x.style.overflow="hidden";if(null!=e){var l=document.createElement("img");l.setAttribute("src",
- e);l.setAttribute("border","0");l.setAttribute("align","absmiddle");l.style.width="60px";l.style.height="60px";l.style.paddingBottom="6px";u.appendChild(l)}else x.style.paddingTop="5px",x.style.whiteSpace="normal",mxClient.IS_IOS?(u.style.padding="0px 10px 20px 10px",u.style.top="6px"):mxClient.IS_FF&&(x.style.paddingTop="0px",x.style.marginTop="-2px");u.appendChild(x);mxUtils.write(x,d);if(null!=q)for(e=0;e<q.length;e++)mxUtils.br(x),mxUtils.write(x,q[e]);if(null!=g&&null==a[g]){l.style.visibility=
- "hidden";mxUtils.setOpacity(x,10);var p=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});p.spin(u);var v=window.setTimeout(function(){null==a[g]&&(p.stop(),u.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(){null!=a[g]&&(window.clearTimeout(v),mxUtils.setOpacity(x,100),l.style.visibility="",p.stop(),w(),"drive"==g&&null!=n.parentNode&&n.parentNode.removeChild(n))}))}else w();h.appendChild(u);
- ++m>=c&&(mxUtils.br(h),m=0)}c=null!=c?c:3;var f=document.createElement("div");f.style.textAlign="center";f.style.whiteSpace="nowrap";f.style.paddingTop="0px";f.style.paddingBottom="20px";var g=a.addLanguageMenu(f);null!=g&&(g.style.bottom="28px");if(!a.isOffline()&&1<a.getServiceCount()){g=document.createElement("a");g.setAttribute("href","https://support.draw.io/display/DO/Selecting+Storage");g.setAttribute("title",mxResources.get("help"));g.setAttribute("target","_blank");g.style.position="absolute";
- g.style.textDecoration="none";g.style.cursor="pointer";g.style.fontSize="12px";g.style.bottom="28px";g.style.left="26px";g.style.color="gray";var l=document.createElement("img");l.setAttribute("border","0");l.setAttribute("valign","bottom");l.setAttribute("src",Editor.helpImage);l.style.marginRight="2px";g.appendChild(l);mxUtils.write(g,mxResources.get("help"));f.appendChild(g)}var e=document.createElement("div");e.style.position="absolute";e.style.cursor="pointer";e.style.fontSize="12px";e.style.bottom=
- "28px";e.style.color="gray";mxUtils.write(e,mxResources.get("decideLater"));a.isOfflineApp()?e.style.right="20px":(mxUtils.setPrefixedStyle(e.style,"transform","translate(-50%,0)"),e.style.left="50%");this.init=function(){if(mxClient.IS_QUIRKS||8==document.documentMode)e.style.marginLeft=-Math.round(e.clientWidth/2)+"px"};f.appendChild(e);mxEvent.addListener(e,"click",function(){a.hideDialog();var b=Editor.useLocalStorage;a.createFile(a.defaultFilename,null,null,null,null,null,null,!0);Editor.useLocalStorage=
- b});var h=document.createElement("div");mxClient.IS_QUIRKS&&(h.style.whiteSpace="nowrap",h.style.cssFloat="left");h.style.border="1px solid #d3d3d3";h.style.borderWidth="1px 0px 1px 0px";h.style.padding="18px 0px 18px 0px";var k=document.createElement("input");k.setAttribute("type","checkbox");k.setAttribute("checked","checked");k.defaultChecked=!0;var m=0,n=document.createElement("p"),g=document.createElement("p");g.style.fontSize="16pt";g.style.padding="0px";g.style.paddingTop="4px";g.style.paddingBottom=
- "16px";g.style.margin="0px";g.style.color="gray";mxUtils.write(g,mxResources.get("saveDiagramsTo")+":");f.appendChild(g);"function"===typeof window.DriveClient&&d(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive");null!=a.gitHub&&d(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub");"function"===typeof window.DropboxClient&&d(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox");"function"===typeof window.OneDriveClient&&
- d(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE,"oneDrive");mxClient.IS_IOS&&"device"!=urlParams.storage||d(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE);!isLocalStorage||"1"!=urlParams.browser&&"1"!=urlParams.offline?!Graph.fileSupport||mxClient.IS_IE||mxClient.IS_IE11||d(null,mxResources.get("import"),null,null,["",mxResources.get("gliffy"),mxResources.get("formatVssx"),mxResources.get("formatVsdx"),mxResources.get("lucidchart")],
- function(){var b=document.createElement("input");b.setAttribute("type","file");mxEvent.addListener(b,"change",function(){null!=b.files&&(a.hideDialog(),a.openFiles(b.files,!0))});b.click()}):d(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER);f.appendChild(h);g=document.createElement("p");g.style.marginTop="12px";g.style.marginBottom="10px";g.appendChild(k);l=document.createElement("span");l.style.color="gray";l.style.fontSize="12px";mxUtils.write(l," "+mxResources.get("rememberThisSetting"));
- g.appendChild(l);mxUtils.br(g);var p=a.getRecent();if(null!=p&&0<p.length){var t=document.createElement("select");t.style.marginTop="14px";t.style.width="140px";var q=document.createElement("option");q.setAttribute("value","");q.setAttribute("selected","selected");q.style.textAlign="center";mxUtils.write(q,mxResources.get("openRecent")+"...");t.appendChild(q);for(q=0;q<p.length;q++)(function(a){var b=a.mode;b==App.MODE_GOOGLE?b="googleDrive":b==App.MODE_ONEDRIVE&&(b="oneDrive");var e=document.createElement("option");
- e.setAttribute("value",a.id);mxUtils.write(e,a.title+" ("+mxResources.get(b)+")");t.appendChild(e)})(p[q]);g.appendChild(t);mxEvent.addListener(t,"change",function(b){""!=t.value&&a.loadFile(t.value)})}else g.style.marginTop="20px",h.style.padding="30px 0px 26px 0px";h.appendChild(g);mxEvent.addListener(l,"click",function(a){k.checked=!k.checked;mxEvent.consume(a)});mxClient.IS_SVG&&isLocalStorage&&"0"!=urlParams.gapi&&(null==document.documentMode||10<=document.documentMode)&&window.setTimeout(function(){null==
- a.drive&&(n.style.padding="8px",n.style.fontSize="9pt",n.style.marginTop="-14px",n.innerHTML='<a style="background-color:#dcdcdc;padding:5px;color:black;text-decoration:none;" href="https://plus.google.com/u/0/+DrawIo1/posts/1HTrfsb5wDN" target="_blank"><img border="0" src="'+mxGraph.prototype.warningImage.src+'" align="top"> '+mxResources.get("googleDriveMissingClickHere")+"</a>",f.appendChild(n))},5E3);this.container=f},SplashDialog=function(a){var b=document.createElement("div");b.style.textAlign=
- "center";a.addLanguageMenu(b);var c=null,d=a.getServiceCount();!a.isOffline()&&1<d&&(c=document.createElement("a"),c.setAttribute("href","https://support.draw.io/display/DO/Selecting+Storage"),c.setAttribute("title",mxResources.get("help")),c.setAttribute("target","_blank"),c.style.position="absolute",c.style.fontSize="12px",c.style.textDecoration="none",c.style.cursor="pointer",c.style.bottom="22px",c.style.left="26px",c.style.color="gray",d=document.createElement("img"),d.setAttribute("border",
- "0"),d.setAttribute("valign","bottom"),d.setAttribute("src",Editor.helpImage),d.style.marginRight="2px",c.appendChild(d),mxUtils.write(c,mxResources.get("help")),b.appendChild(c));d=document.createElement("p");d.style.fontSize="16pt";d.style.padding="0px";d.style.paddingTop="2px";d.style.margin="0px";d.style.color="gray";var f=document.createElement("img");f.setAttribute("border","0");f.setAttribute("align","absmiddle");f.style.width="40px";f.style.height="40px";f.style.marginRight="12px";f.style.paddingBottom=
- "4px";var g="";a.mode==App.MODE_GOOGLE?(f.src=IMAGE_PATH+"/google-drive-logo.svg",g=mxResources.get("googleDrive"),null!=c&&c.setAttribute("href","https://support.draw.io/display/DO/Using+draw.io+with+Google+Drive")):a.mode==App.MODE_DROPBOX?(f.src=IMAGE_PATH+"/dropbox-logo.svg",g=mxResources.get("dropbox"),null!=c&&c.setAttribute("href","https://support.draw.io/display/DO/Using+draw.io+with+Dropbox")):a.mode==App.MODE_ONEDRIVE?(f.src=IMAGE_PATH+"/onedrive-logo.svg",g=mxResources.get("oneDrive"),
- null!=c&&c.setAttribute("href","https://support.draw.io/display/DO/Using+draw.io+with+OneDrive")):a.mode==App.MODE_GITHUB?(f.src=IMAGE_PATH+"/github-logo.svg",g=mxResources.get("github")):a.mode==App.MODE_BROWSER?(f.src=IMAGE_PATH+"/osa_database.png",g=mxResources.get("browser")):(f.src=IMAGE_PATH+"/osa_drive-harddisk.png",g=mxResources.get("device"));var l=document.createElement("div");l.style.margin="4px 0px 0px 0px";var e=document.createElement("button");e.className="geBigButton";e.style.overflow=
- "hidden";e.style.width="340px";mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?(l.style.padding="42px 0px 56px 0px",e.style.marginBottom="12px"):(d.appendChild(f),mxUtils.write(d,g),b.appendChild(d),l.style.border="1px solid #d3d3d3",l.style.borderWidth="1px 0px 1px 0px",l.style.padding="18px 0px 24px 0px",e.style.marginBottom="8px");mxClient.IS_QUIRKS&&(l.style.whiteSpace="nowrap",l.style.cssFloat="left");mxClient.IS_QUIRKS&&(e.style.width="340px");mxUtils.write(e,mxResources.get("createNewDiagram"));
- mxEvent.addListener(e,"click",function(){a.hideDialog();a.actions.get("new").funct()});l.appendChild(e);mxUtils.br(l);e=document.createElement("button");e.className="geBigButton";e.style.marginBottom="22px";e.style.overflow="hidden";e.style.width="340px";mxClient.IS_QUIRKS&&(e.style.width="340px");mxUtils.write(e,mxResources.get("openExistingDiagram"));mxEvent.addListener(e,"click",function(){a.actions.get("open").funct()});l.appendChild(e);c="undefined";a.mode==App.MODE_GOOGLE?c=mxResources.get("googleDrive"):
- a.mode==App.MODE_DROPBOX?c=mxResources.get("dropbox"):a.mode==App.MODE_ONEDRIVE?c=mxResources.get("oneDrive"):a.mode==App.MODE_GITHUB?c=mxResources.get("github"):a.mode==App.MODE_DEVICE?c=mxResources.get("device"):a.mode==App.MODE_BROWSER&&(c=mxResources.get("browser"));mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||(f=function(b){e.style.marginBottom="24px";var c=document.createElement("a");c.setAttribute("href","javascript:void(0)");c.style.display="block";c.style.marginTop="6px";mxUtils.write(c,
- mxResources.get("signOut"));e.style.marginBottom="16px";l.style.paddingBottom="18px";mxEvent.addListener(c,"click",function(){a.confirm(mxResources.get("areYouSure"),function(){b()})});l.appendChild(c)},d=null!=a.drive?a.drive.getUser():null,a.mode==App.MODE_GOOGLE&&null!=d?(e.style.marginBottom="24px",f=document.createElement("a"),f.setAttribute("href","javascript:void(0)"),f.style.display="block",f.style.marginTop="6px",mxUtils.write(f,mxResources.get("changeUser")+" ("+d.displayName+")"),e.style.marginBottom=
- "16px",l.style.paddingBottom="18px",mxEvent.addListener(f,"click",function(){a.hideDialog();a.drive.clearUserId();a.drive.setUser(null);gapi.auth.signOut();a.setMode(App.MODE_GOOGLE);a.hideDialog();a.showSplash();a.drive.authorize(!1,mxUtils.bind(this,mxUtils.bind(this,function(){a.hideDialog();a.showSplash()})),mxUtils.bind(this,function(b){a.handleError(b,null,function(){a.hideDialog();a.showSplash()})}))}),l.appendChild(f)):a.mode==App.MODE_ONEDRIVE&&null!=a.oneDrive?f(function(){a.oneDrive.logout()}):
- a.mode==App.MODE_GITHUB&&null!=a.gitHub?f(function(){a.gitHub.logout();window.open("https://www.github.com/logout")}):a.mode==App.MODE_DROPBOX&&null!=a.dropbox&&f(function(){a.dropbox.logout();window.open("https://www.dropbox.com/logout")}),f=document.createElement("a"),f.setAttribute("href","javascript:void(0)"),f.style.display="block",f.style.marginTop="8px",mxUtils.write(f,mxResources.get("notUsingService",[c])),mxEvent.addListener(f,"click",function(){a.hideDialog(!1);a.setMode(null);a.clearMode();
- a.showSplash(!0)}),l.appendChild(f));b.appendChild(l);this.container=b},ConfirmDialog=function(a,b,c,d,f,g,l,e,h){var k=document.createElement("div");k.style.textAlign="center";var m=document.createElement("div");m.style.padding="6px";m.style.overflow="auto";m.style.maxHeight="40px";mxClient.IS_QUIRKS&&(m.style.height="60px");mxUtils.write(m,b);k.appendChild(m);m=document.createElement("div");m.style.textAlign="center";m.style.whiteSpace="nowrap";var n=document.createElement("input");n.setAttribute("type",
- "checkbox");g=mxUtils.button(g||mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d(n.checked)});g.className="geBtn";null!=e&&(g.innerHTML=e+"<br>"+g.innerHTML,g.style.paddingBottom="8px",g.style.paddingTop="8px",g.style.height="auto",g.style.width="40%");a.editor.cancelFirst&&m.appendChild(g);f=mxUtils.button(f||mxResources.get("ok"),function(){a.hideDialog();null!=c&&c(n.checked)});m.appendChild(f);null!=l?(f.innerHTML=l+"<br>"+f.innerHTML+"<br>",f.style.paddingBottom="8px",f.style.paddingTop=
- "8px",f.style.height="auto",f.className="geBtn",f.style.width="40%"):f.className="geBtn gePrimaryBtn";a.editor.cancelFirst||m.appendChild(g);k.appendChild(m);h?(m.style.marginTop="10px",m=document.createElement("p"),m.style.marginTop="20px",m.appendChild(n),l=document.createElement("span"),mxUtils.write(l," "+mxResources.get("rememberThisSetting")),m.appendChild(l),k.appendChild(m),mxEvent.addListener(l,"click",function(a){n.checked=!n.checked;mxEvent.consume(a)})):m.style.marginTop="16px";this.container=
- k},ErrorDialog=function(a,b,c,d,f,g,l,e,h){h=null!=h?h:!0;var k=document.createElement("div");k.style.textAlign="center";if(null!=b){var m=document.createElement("div");m.style.padding="0px";m.style.margin="0px";m.style.fontSize="18px";m.style.paddingBottom="16px";m.style.marginBottom="16px";m.style.borderBottom="1px solid #c0c0c0";m.style.color="gray";mxUtils.write(m,b);k.appendChild(m)}b=document.createElement("div");b.style.padding="6px";b.innerHTML=c;k.appendChild(b);c=document.createElement("div");
- c.style.marginTop="16px";c.style.textAlign="right";null!=g&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();g()}),b.className="geBtn",c.appendChild(b),c.style.textAlign="center");var n=mxUtils.button(d,function(){h&&a.hideDialog();null!=f&&f()});n.className="geBtn";c.appendChild(n);null!=l&&(d=mxUtils.button(l,function(){h&&a.hideDialog();null!=e&&e()}),d.className="geBtn gePrimaryBtn",c.appendChild(d));this.init=function(){n.focus()};k.appendChild(c);this.container=k},EmbedDialog=
- function(a,b,c,d,f){d=document.createElement("div");var g=/^https?:\/\//.test(b)||/^mailto:\/\//.test(b);mxUtils.write(d,mxResources.get(5E5>b.length?g?"link":"mainEmbedNotice":"preview")+":");mxUtils.br(d);var l=document.createElement("div");l.style.position="absolute";l.style.top="30px";l.style.right="30px";l.style.color="gray";mxUtils.write(l,a.formatFileSize(b.length));d.appendChild(l);var e=document.createElement("textarea");e.setAttribute("autocomplete","off");e.setAttribute("autocorrect","off");
- e.setAttribute("autocapitalize","off");e.setAttribute("spellcheck","false");e.style.marginTop="10px";e.style.resize="none";e.style.height="150px";e.style.width="440px";e.style.border="1px solid gray";e.value=mxResources.get("updatingDocument");d.appendChild(e);mxUtils.br(d);this.init=function(){window.setTimeout(function(){5E5>b.length?(e.value=b,e.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?e.select():document.execCommand("selectAll",!1,null)):(e.setAttribute("readonly",
- "true"),e.value=b.substring(0,340)+"... ("+mxResources.get("drawingTooLarge")+")")},0)};l=document.createElement("div");l.style.position="absolute";l.style.bottom="36px";l.style.right="32px";var h=null;mxClient.IS_CHROMEAPP||navigator.standalone||!(g||mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode))||(h=mxUtils.button(mxResources.get(5E5>b.length?"preview":"openInNewWindow"),function(){var d=5E5>b.length?e.value:b;if(null!=f)f(d);else if(g)try{var h=window.open(d);(null==c||
- 0<c)&&window.setTimeout(mxUtils.bind(this,function(){null!=h&&null!=h.location.href&&h.location.href.substring(0,8)!=d.substring(0,8)&&(h.close(),a.handleError({message:mxResources.get("drawingTooLarge")}))}),c||500)}catch(q){a.handleError({message:q.message||mxResources.get("drawingTooLarge")})}else{var k=window.open().document;k.writeln("<html><head><title>"+encodeURIComponent(mxResources.get("preview"))+'</title><meta charset="utf-8"></head><body>'+b+"</body></html>");k.close()}}),h.className=
- "geBtn",l.appendChild(h));if(!g||7500<b.length){var k=mxUtils.button(mxResources.get("download"),function(){a.saveData("embed.txt","txt",b,"text/plain")});k.className="geBtn";l.appendChild(k)}if(g&&!a.isOffline()){if(51200>b.length){var m=mxUtils.button("",function(){try{var b="https://www.facebook.com/sharer.php?p[url]="+encodeURIComponent(e.value);window.open(b)}catch(p){a.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}),k=document.createElement("img");k.setAttribute("src",
- Editor.facebookImage);k.setAttribute("border","0");m.appendChild(k);m.setAttribute("title",mxResources.get("facebook")+" ("+a.formatFileSize(51200)+" max)");m.style.verticalAlign="bottom";m.style.paddingTop="4px";m.style.minWidth="46px";m.className="geBtn";l.appendChild(m)}7168>b.length&&(m=mxUtils.button("",function(){try{var b="https://twitter.com/intent/tweet?text="+encodeURIComponent("Check out the diagram I made using @drawio")+"&url="+encodeURIComponent(e.value);window.open(b)}catch(p){a.handleError({message:p.message||
- mxResources.get("drawingTooLarge")})}}),k=document.createElement("img"),k.setAttribute("src",Editor.tweetImage),k.setAttribute("border","0"),k.style.marginBottom="5px",m.appendChild(k),m.setAttribute("title",mxResources.get("twitter")+" ("+a.formatFileSize(7168)+" max)"),m.style.verticalAlign="bottom",m.style.paddingTop="4px",m.style.minWidth="46px",m.className="geBtn",l.appendChild(m))}k=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});l.appendChild(k);m=mxUtils.button(mxResources.get("copy"),
- function(){e.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?e.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");a.alert(mxResources.get("copiedToClipboard"))});5E5>b.length?mxClient.IS_SF||null!=document.documentMode?k.className="geBtn gePrimaryBtn":(l.appendChild(m),m.className="geBtn gePrimaryBtn",k.className="geBtn"):(l.appendChild(h),k.className="geBtn",h.className="geBtn gePrimaryBtn");d.appendChild(l);this.container=d},GoogleSitesDialog=function(a,
- b){function c(){var a=null!=y.getTitle()?y.getTitle():this.defaultFilename;if(C.checked&&""!=p.value){var b="https://www.draw.io/gadget.xml?type=4&diagram="+encodeURIComponent(mxUtils.htmlEntities(p.value));null!=a&&(b+="&title="+encodeURIComponent(a));0<E.length&&(b+="&s="+E);""!=t.value&&"0"!=t.value&&(b+="&border="+t.value);""!=n.value&&(b+="&height="+n.value);b+="&pan="+(q.checked?"1":"0");b+="&zoom="+(w.checked?"1":"0");b+="&fit="+(z.checked?"1":"0");b+="&resize="+(v.checked?"1":"0");b+="&x0="+
- Number(m.value);b+="&y0="+h;f.mathEnabled&&(b+="&math=1");x.checked?b+="&edit=_blank":u.checked&&(b+="&edit="+encodeURIComponent(mxUtils.htmlEntities(window.location.href)));k.value=b}else y.constructor==DriveFile||y.constructor==DropboxFile?(b="https://www.draw.io/gadget.xml?embed=0&diagram=",""!=p.value?b+=encodeURIComponent(mxUtils.htmlEntities(p.value))+"&type=3":(b+=y.getHash().substring(1),b=y.constructor==DropboxFile?b+"&type=2":b+"&type=1"),null!=a&&(b+="&title="+encodeURIComponent(a)),""!=
- n.value&&(a=parseInt(n.value)+parseInt(m.value),b+="&height="+a),k.value=b):k.value=""}var d=document.createElement("div"),f=a.editor.graph,g=f.getGraphBounds(),l=f.view.scale,e=Math.floor(g.x/l-f.view.translate.x),h=Math.floor(g.y/l-f.view.translate.y);mxUtils.write(d,mxResources.get("googleGadget")+":");mxUtils.br(d);var k=document.createElement("input");k.setAttribute("type","text");k.style.marginBottom="8px";k.style.marginTop="2px";k.style.width="410px";d.appendChild(k);mxUtils.br(d);this.init=
- function(){k.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?k.select():document.execCommand("selectAll",!1,null)};mxUtils.write(d,mxResources.get("top")+":");var m=document.createElement("input");m.setAttribute("type","text");m.setAttribute("size","4");m.style.marginRight="16px";m.style.marginLeft="4px";m.value=e;d.appendChild(m);mxUtils.write(d,mxResources.get("height")+":");var n=document.createElement("input");n.setAttribute("type","text");n.setAttribute("size","4");n.style.marginLeft=
- "4px";n.value=Math.ceil(g.height/l);d.appendChild(n);mxUtils.br(d);g=document.createElement("hr");g.setAttribute("size","1");g.style.marginBottom="16px";g.style.marginTop="16px";d.appendChild(g);mxUtils.write(d,mxResources.get("publicDiagramUrl")+":");mxUtils.br(d);var p=document.createElement("input");p.setAttribute("type","text");p.setAttribute("size","28");p.style.marginBottom="8px";p.style.marginTop="2px";p.style.width="410px";p.value=b||"";d.appendChild(p);mxUtils.br(d);mxUtils.write(d,mxResources.get("borderWidth")+
- ":");var t=document.createElement("input");t.setAttribute("type","text");t.setAttribute("size","3");t.style.marginBottom="8px";t.style.marginLeft="4px";t.value="0";d.appendChild(t);mxUtils.br(d);var q=document.createElement("input");q.setAttribute("type","checkbox");q.setAttribute("checked","checked");q.defaultChecked=!0;q.style.marginLeft="16px";d.appendChild(q);mxUtils.write(d,mxResources.get("pan")+" ");var w=document.createElement("input");w.setAttribute("type","checkbox");w.setAttribute("checked",
- "checked");w.defaultChecked=!0;w.style.marginLeft="8px";d.appendChild(w);mxUtils.write(d,mxResources.get("zoom")+" ");var u=document.createElement("input");u.setAttribute("type","checkbox");u.style.marginLeft="8px";u.setAttribute("title",window.location.href);d.appendChild(u);mxUtils.write(d,mxResources.get("edit")+" ");var x=document.createElement("input");x.setAttribute("type","checkbox");x.style.marginLeft="8px";d.appendChild(x);mxUtils.write(d,mxResources.get("asNew")+" ");mxUtils.br(d);var v=
- document.createElement("input");v.setAttribute("type","checkbox");v.setAttribute("checked","checked");v.defaultChecked=!0;v.style.marginLeft="16px";d.appendChild(v);mxUtils.write(d,mxResources.get("resize")+" ");var z=document.createElement("input");z.setAttribute("type","checkbox");z.style.marginLeft="8px";d.appendChild(z);mxUtils.write(d,mxResources.get("fit")+" ");var C=document.createElement("input");C.setAttribute("type","checkbox");C.style.marginLeft="8px";d.appendChild(C);mxUtils.write(d,mxResources.get("embed")+
- " ");var E=a.getBasenames().join(";"),y=a.getCurrentFile();mxEvent.addListener(q,"change",c);mxEvent.addListener(w,"change",c);mxEvent.addListener(v,"change",c);mxEvent.addListener(z,"change",c);mxEvent.addListener(u,"change",c);mxEvent.addListener(x,"change",c);mxEvent.addListener(C,"change",c);mxEvent.addListener(n,"change",c);mxEvent.addListener(m,"change",c);mxEvent.addListener(t,"change",c);mxEvent.addListener(p,"change",c);c();mxEvent.addListener(k,"click",function(){k.focus();mxClient.IS_FF||
- 5<=document.documentMode||mxClient.IS_QUIRKS?k.select():document.execCommand("selectAll",!1,null)});g=document.createElement("div");g.style.paddingTop="12px";g.style.textAlign="right";l=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});l.className="geBtn gePrimaryBtn";g.appendChild(l);d.appendChild(g);this.container=d},CreateGraphDialog=function(a,b,c){var d=document.createElement("div");d.style.textAlign="right";this.init=function(){var b=document.createElement("div");b.style.position=
- "relative";b.style.border="1px solid gray";b.style.width="100%";b.style.height="360px";b.style.overflow="hidden";b.style.marginBottom="16px";mxEvent.disableContextMenu(b);d.appendChild(b);var g=new Graph(b);g.setCellsCloneable(!0);g.setPanning(!0);g.setAllowDanglingEdges(!1);g.connectionHandler.select=!1;g.view.setTranslate(20,20);g.border=20;g.panningHandler.useLeftButtonForPanning=!0;var l="curved=1;";g.cellRenderer.installCellOverlayListeners=function(a,b,e){mxCellRenderer.prototype.installCellOverlayListeners.apply(this,
- arguments);mxEvent.addListener(e.node,mxClient.IS_POINTER?"pointerdown":"mousedown",function(e){b.fireEvent(new mxEventObject("pointerdown","event",e,"state",a))});!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&mxEvent.addListener(e.node,"touchstart",function(e){b.fireEvent(new mxEventObject("pointerdown","event",e,"state",a))})};g.getAllConnectionConstraints=function(){return null};g.connectionHandler.marker.highlight.keepOnTop=!1;g.connectionHandler.createEdgeState=function(a){a=g.createEdge(null,null,
- null,null,null,l);return new mxCellState(this.graph.view,a,this.graph.getCellStyle(a))};var e=g.getDefaultParent(),h=mxUtils.bind(this,function(a){var b=new mxCellOverlay(this.connectImage,"Add outgoing");b.cursor="hand";b.addListener(mxEvent.CLICK,function(b,c){g.connectionHandler.reset();g.clearSelection();var d=g.getCellGeometry(a),k;n(function(){k=g.insertVertex(e,null,"Entry",d.x,d.y,80,30,"rounded=1;");h(k);g.view.refresh(k);g.insertEdge(e,null,"",a,k,l)},function(){g.scrollCellToVisible(k)})});
- b.addListener("pointerdown",function(a,b){var e=b.getProperty("event"),c=b.getProperty("state");g.popupMenuHandler.hideMenu();g.stopEditing(!1);var d=mxUtils.convertPoint(g.container,mxEvent.getClientX(e),mxEvent.getClientY(e));g.connectionHandler.start(c,d.x,d.y);g.isMouseDown=!0;g.isMouseTrigger=mxEvent.isMouseEvent(e);mxEvent.consume(e)});g.addCellOverlay(a,b)});g.getModel().beginUpdate();var k;try{k=g.insertVertex(e,null,"Start",0,0,80,30,"ellipse"),h(k)}finally{g.getModel().endUpdate()}var m;
- "horizontalTree"==c?(m=new mxCompactTreeLayout(g),m.edgeRouting=!1,m.levelDistance=30,l="edgeStyle=elbowEdgeStyle;elbow=horizontal;"):"verticalTree"==c?(m=new mxCompactTreeLayout(g,!1),m.edgeRouting=!1,m.levelDistance=30,l="edgeStyle=elbowEdgeStyle;elbow=vertical;"):"verticalFlow"==c?m=new mxHierarchicalLayout(g,mxConstants.DIRECTION_NORTH):"horizontalFlow"==c?m=new mxHierarchicalLayout(g,mxConstants.DIRECTION_WEST):"organic"==c?(m=new mxFastOrganicLayout(g,!1),m.forceConstant=80):"circle"==c&&(m=
- new mxCircleLayout(g));if(null!=m){var n=function(a,b){g.getModel().beginUpdate();try{null!=a&&a(),m.execute(g.getDefaultParent(),k)}catch(v){throw v;}finally{var e=new mxMorphing(g);e.addListener(mxEvent.DONE,mxUtils.bind(this,function(){g.getModel().endUpdate();null!=b&&b()}));e.startAnimation()}},p=mxEdgeHandler.prototype.connect;mxEdgeHandler.prototype.connect=function(a,b,e,c,d){p.apply(this,arguments);n()};g.resizeCell=function(){mxGraph.prototype.resizeCell.apply(this,arguments);n()};g.connectionHandler.addListener(mxEvent.CONNECT,
- function(){n()})}var t=mxUtils.button(mxResources.get("close"),function(){a.confirm(mxResources.get("areYouSure"),function(){null!=b.parentNode&&(g.destroy(),b.parentNode.removeChild(b));a.hideDialog()})});t.className="geBtn";a.editor.cancelFirst&&d.appendChild(t);var q=mxUtils.button(mxResources.get("insert"),function(){g.clearCellOverlays();var e=a.editor.graph.getFreeInsertPoint(),e=a.editor.graph.importCells(g.getModel().getChildren(g.getDefaultParent()),e.x,e.y),c=a.editor.graph.view,d=c.getBounds(e);
- d.x-=c.translate.x;d.y-=c.translate.y;a.editor.graph.scrollRectToVisible(d);a.editor.graph.setSelectionCells(e);null!=b.parentNode&&(g.destroy(),b.parentNode.removeChild(b));a.hideDialog()});d.appendChild(q);q.className="geBtn gePrimaryBtn";a.editor.cancelFirst||d.appendChild(t)};this.container=d};
- CreateGraphDialog.prototype.connectImage=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjQ3OTk0QjMyRDcyMTFFNThGQThGNDVBMjNBMjFDMzkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjQ3OTk0QjQyRDcyMTFFNThGQThGNDVBMjNBMjFDMzkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyRjA0N0I2MjJENzExMUU1OEZBOEY0NUEyM0EyMUMzOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGNDc5OTRCMjJENzIxMUU1OEZBOEY0NUEyM0EyMUMzOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjIf+MgAAATlSURBVHjanFZraFxFFD735u4ru3ls0yZG26ShgmJoKK1J2vhIYzBgRdtIURHyw1hQUH9IxIgI2h8iCEUF/1RRlNQYCsYfCTHVhiTtNolpZCEStqSC22xIsrs1bDfu7t37Gs/cO3Ozxs1DBw73zpk555vzmHNGgJ0NYatFgmNLYUHYUoHASMz5ijmgVLmxgfKCUiBxC4ACJAeSG8nb1dVVOTc3dyoSibwWDofPBIPBJzo7O8vpGtvjpDICGztxkciECpF2LS0tvZtOpwNkk5FKpcYXFxffwL1+JuPgllPj8nk1F6RoaGjoKCqZ5ApljZDZO4SMRA0SuG2QUJIQRV8HxMOM9vf3H0ZZH9Nhg20MMl2QkFwjIyNHWlpahtADnuUMwLcRHX5aNSBjCJYEsSSLUeLEbhGe3ytCmQtA1/XY+Pj46dbW1iDuyCJp9BC5ycBj4hoeHq5ra2sbw0Xn1ZgBZ+dVkA1Lc+6p0Ck2p0QS4Ox9EhwpEylYcmBg4LH29vYQLilIOt0u5FhDfevNZDI/u93uw6PLOrwTUtjxrbPYbhD42WgMrF8JmR894ICmCgnQjVe8Xu8pXEkzMJKbuo5oNPomBbm1ZsD7s2kwFA1JZ6QBUXWT1nmGNc/qoMgavDcrQzxjQGFh4aOYIJ0sFAXcEtui4uLiVjr5KpSBVFYDDZVrWUaKRRWSAYeK0fmKykgDXbVoNaPChRuyqdDv97czL5nXxQbq6empQmsaklkDBiNpSwFVrmr2P6UyicD5piI4f8wHh0oEm8/p4h8pyGiEWvVQd3e3nxtjAzU1NR2jP7NRBWQ8GbdEzzJAmc0V3RR4cI8Dvmwuhc8fKUFA0d6/ltHg5p+Kuaejo6OeY0jcNJ/PV00ZS0nFUoZRvvFS1bZFsKHCCQ2Pl8H0chY+C96B6ZUsrCQ1qKtwQVFRURW/QhIXMAzDPAZ6BgOr8tTa8dDxCmiYGApaJbJMxSzV+brE8pdgWkcpY5dbMF1AR9XH8/xu2ilef48bvn92n82ZwHh+8ssqTEXS9p7dHisiiURikd8PbpExNTU1UVNTA3V3Y7lC16n0gpB/NwpNcZjfa7dScC4Qh0kOQCwnlEgi3F/hMVl9fX0zvKrzSk2lfXjRhj0eT/2rvWG4+Pta3oJY7XfC3hInXAv/ldeFLx8shQ+eqQL0UAAz7ylkpej5eNZRVBWL6BU6ef14OYiY1oqyTtmsavr/5koaRucT1pzx+ZpL1+GV5nLutksUgIcmtwTRiuuVZXnU5XId7A2swJkfFsymRWC91hHg1Viw6x23+7vn9sPJ+j20BE1hCXqSWaNSQ8ScbknRZWxub1PGCw/fBV+c3AeijlUbY5bBjEqr9GuYZP4jP41WudGSC6erTRCqdGZm5i1WvXWeDHnbBCZGc2Nj4wBl/hZOwrmBBfgmlID1HmGJutHaF+tKoevp/XCgstDkjo2NtWKLuc6AVN4mNjY+s1XQxoenOoFuDPHGtnRbJj9ej5GvL0dI7+giuRyMk1giazc+DP6vgUDgOJVlOv7R+PJ12QIeL6SyeDz+Kfp8ZrNWjgDTsVjsQ7qXyTjztXJhm9ePxFLfMTg4eG9tbe1RTP9KFFYQfHliYmIS69kCC7jKYmKwxxD5P88tkVkqbPPcIps9t4T/+HjcuJ/s5BFJgf4WYABCtxGuxIZ90gAAAABJRU5ErkJggg==":IMAGE_PATH+
- "/handle-connect.png",26,26);
- var BackgroundImageDialog=function(a,b){var c=document.createElement("div");c.style.whiteSpace="nowrap";var d=document.createElement("h2");mxUtils.write(d,mxResources.get("backgroundImage"));d.style.marginTop="0px";c.appendChild(d);mxUtils.write(c,mxResources.get("image")+" "+mxResources.get("url")+":");mxUtils.br(c);var d=a.editor.graph.backgroundImage,f=document.createElement("input");f.setAttribute("type","text");f.style.marginTop="4px";f.style.marginBottom="4px";f.style.width="350px";f.value=
- null!=d?d.src:"";var g=!1,l=function(){g||""==f.value||a.isOffline()?(e.value="",h.value=""):a.loadImage(mxUtils.trim(f.value),function(a){e.value=a.width;h.value=a.height},function(){a.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"));f.value="";e.value="";h.value=""})};this.init=function(){f.focus();if(Graph.fileSupport){f.setAttribute("placeholder",mxResources.get("dragImagesHere"));var b=c.parentNode,e=null;mxEvent.addListener(b,"dragleave",function(a){null!=
- e&&(e.parentNode.removeChild(e),e=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(c){null==e&&(!mxClient.IS_IE||10<document.documentMode)&&(e=a.highlightElement(b));c.stopPropagation();c.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(b){null!=e&&(e.parentNode.removeChild(e),e=null);if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxBackgroundSize,function(a,b,e,c,d,h){f.value=a;l()},function(){},
- function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!0,a.maxBackgroundBytes,a.maxBackgroundBytes);else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var c=b.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)&&(f.value=decodeURIComponent(c),l())}b.stopPropagation();b.preventDefault()}),!1)}};c.appendChild(f);mxUtils.br(c);mxUtils.br(c);mxUtils.write(c,mxResources.get("width")+":");var e=document.createElement("input");
- e.setAttribute("type","text");e.style.width="60px";e.style.marginLeft="4px";e.style.marginRight="16px";e.value=null!=d?d.width:"";c.appendChild(e);mxUtils.write(c,mxResources.get("height")+":");var h=document.createElement("input");h.setAttribute("type","text");h.style.width="60px";h.style.marginLeft="4px";h.style.marginRight="16px";h.value=null!=d?d.height:"";c.appendChild(h);d=mxUtils.button(mxResources.get("reset"),function(){f.value="";e.value="";h.value="";g=!1});mxEvent.addListener(d,"mousedown",
- function(){g=!0});mxEvent.addListener(d,"touchstart",function(){g=!0});d.className="geBtn";d.width="100";c.appendChild(d);mxUtils.br(c);mxEvent.addListener(f,"change",l);ImageDialog.filePicked=function(a){a.action==google.picker.Action.PICKED&&null!=a.docs[0].thumbnails&&(a=a.docs[0].thumbnails[a.docs[0].thumbnails.length-1],null!=a&&(f.value=a.url,l()));f.focus()};d=document.createElement("div");d.style.marginTop="40px";d.style.textAlign="right";var k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});
- k.className="geBtn";a.editor.cancelFirst&&d.appendChild(k);if(!a.isOffline()&&"undefined"!=typeof google&&"undefined"!=typeof google.picker&&window.self===window.top){var m=mxUtils.button(mxResources.get("search"),function(){if(null==a.imageSearchPicker){var b=(new google.picker.PickerBuilder).setLocale(mxLanguage).addView(google.picker.ViewId.IMAGE_SEARCH).enableFeature(google.picker.Feature.NAV_HIDDEN);a.imageSearchPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.imageSearchPicker.setVisible(!0);
- a.movePickersToTop()});m.className="geBtn";d.appendChild(m);null!=a.drive&&"1"==urlParams.photos&&(m=mxUtils.button(mxResources.get("googlePlus"),function(){a.spinner.spin(document.body,mxResources.get("authorizing"))&&a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();if(null==a.photoPicker){var b=gapi.auth.getToken().access_token,b=(new google.picker.PickerBuilder).setAppId(a.drive.appId).setLocale(mxLanguage).setOAuthToken(b).addView(google.picker.ViewId.PHOTOS).addView(google.picker.ViewId.PHOTO_ALBUMS).addView(google.picker.ViewId.PHOTO_UPLOAD);
- a.photoPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.photoPicker.setVisible(!0);a.movePickersToTop()}))}),m.className="geBtn",d.appendChild(m))}m=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();b(""!=f.value?new mxImage(mxUtils.trim(f.value),e.value,h.value):null)});m.className="geBtn gePrimaryBtn";d.appendChild(m);a.editor.cancelFirst||d.appendChild(k);c.appendChild(d);this.container=c},ParseDialog=function(a,b){function c(b,e){var c=b.split("\n");if("plantUmlPng"==
- e||"plantUmlSvg"==e){var c="plantUmlPng"==e?"https://exp.draw.io/plantuml2/png/":"https://exp.draw.io/plantuml2/svg/",d=a.editor.graph;if(a.spinner.spin(document.body,mxResources.get("inserting"))){var h=function(a){if(10>a)return String.fromCharCode(48+a);a-=10;if(26>a)return String.fromCharCode(65+a);a-=26;if(26>a)return String.fromCharCode(97+a);a-=26;return 0==a?"-":1==a?"_":"?"},k=function(a,b,e){c1=a>>2;c2=(a&3)<<4|b>>4;c3=(b&15)<<2|e>>6;c4=e&63;r="";r+=h(c1&63);r+=h(c2&63);r+=h(c3&63);return r+=
- h(c4&63)},g=new XMLHttpRequest;g.open("GET",c+function(a){r="";for(m=0;m<a.length;m+=3)r=m+2==a.length?r+k(a.charCodeAt(m),a.charCodeAt(m+1),0):m+1==a.length?r+k(a.charCodeAt(m),0,0):r+k(a.charCodeAt(m),a.charCodeAt(m+1),a.charCodeAt(m+2));return r}(d.bytesToString(pako.deflateRaw(unescape(encodeURIComponent(b))))),!0);g.responseType="blob";g.onload=function(e){200<=this.status&&300>this.status?(e=new FileReader,e.readAsDataURL(this.response),e.onload=function(e){var c=new Image;c.onload=function(){a.spinner.stop();
- d.getModel().beginUpdate();try{cell=d.insertVertex(null,null,b,f.x,f.y,c.width,c.height,"shape=image;noLabel=1;verticalAlign=top;aspect=fixed;imageAspect=0;image="+a.convertDataUri(e.target.result)+";")}finally{d.getModel().endUpdate()}d.setSelectionCell(cell);d.scrollCellToVisible(d.getSelectionCell())};c.src=e.target.result},e.onerror=function(b){a.handleError(b)}):(a.spinner.stop(),a.handleError(e))};g.onerror=function(b){a.handleError(b)};g.send()}}else if("list"==e){if(0<c.length){var d=a.editor.graph,
- n=new mxCell(c[0],new mxGeometry(0,0,160,30),"swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;");n.vertex=!0;g=d.getPreferredSizeForCell(n);null!=g&&n.geometry.width<g.width+10&&(n.geometry.width=g.width+10);if(1<c.length)for(var m=1;m<c.length;m++)if("--"==c[m])g=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;"),
- g.vertex=!0,n.geometry.height+=g.geometry.height,n.insert(g);else if(0<c[m].length&&";"!=c[m].charAt(0)){var l=new mxCell(c[m],new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");l.vertex=!0;g=d.getPreferredSizeForCell(l);null!=g&&l.geometry.width<g.width&&(l.geometry.width=g.width);n.geometry.width=Math.max(n.geometry.width,l.geometry.width);n.geometry.height+=
- l.geometry.height;n.insert(l)}d.setSelectionCells(d.importCells([n],f.x,f.y));d.scrollCellToVisible(d.getSelectionCell())}}else{for(var l=function(a){var b=p[a];null==b&&(b=new mxCell(a,new mxGeometry(0,0,80,30)),b.vertex=!0,p[a]=b,y.push(b));return b},p={},y=[],m=0;m<c.length;m++)if(";"!=c[m].charAt(0)){var A=c[m].split("->");if(2==A.length){var B=l(A[0]),A=l(A[1]),F=new mxCell("",new mxGeometry);F.edge=!0;B.insertEdge(F,!0);A.insertEdge(F,!1);y.push(F)}}if(0<y.length){c=document.createElement("div");
- c.style.visibility="hidden";document.body.appendChild(c);d=new Graph(c);d.getModel().beginUpdate();try{y=d.importCells(y);for(m=0;m<y.length;m++)d.getModel().isVertex(y[m])&&(g=d.getPreferredSizeForCell(y[m]),y[m].geometry.width=Math.max(y[m].geometry.width,g.width),y[m].geometry.height=Math.max(y[m].geometry.height,g.height));n=new mxFastOrganicLayout(d);n.disableEdgeStyle=!1;n.forceConstant=120;n.execute(d.getDefaultParent())}finally{d.getModel().endUpdate()}d.clearCellOverlays();a.editor.graph.setSelectionCells(a.editor.graph.importCells(d.getModel().getChildren(d.getDefaultParent()),
- f.x,f.y));a.editor.graph.scrollCellToVisible(a.editor.graph.getSelectionCell());d.destroy();c.parentNode.removeChild(c)}}}function d(){return"list"==e.value?"Person\n-name: String\n-birthDate: Date\n--\n+getName(): String\n+setName(String): void\n+isBirthday(): boolean":"plantUmlPng"==e.value?"@startuml\nskinparam backgroundcolor transparent\nskinparam shadowing false\nAlice -> Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: another authentication Response\n@enduml":
- "plantUmlSvg"==e.value?"@startuml\nskinparam shadowing false\nAlice -> Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: another authentication Response\n@enduml":";Example:\na->b\nb->c\nc->a\n"}var f=a.editor.graph.getFreeInsertPoint(),g=document.createElement("div");g.style.textAlign="right";var l=document.createElement("textarea");l.style.resize="none";l.style.width="100%";l.style.height="354px";l.style.marginBottom=
- "16px";var e=document.createElement("select"),h=document.createElement("option");h.setAttribute("value","list");h.setAttribute("selected","selected");mxUtils.write(h,mxResources.get("list"));e.appendChild(h);h=document.createElement("option");h.setAttribute("value","diagram");mxUtils.write(h,mxResources.get("diagram"));e.appendChild(h);h=document.createElement("option");h.setAttribute("value","plantUmlSvg");mxUtils.write(h,mxResources.get("plantUml")+" ("+mxResources.get("formatSvg")+")");var k=document.createElement("option");
- k.setAttribute("value","plantUmlPng");mxUtils.write(k,mxResources.get("plantUml")+" ("+mxResources.get("formatPng")+")");/.*\.draw\.io$/.test(window.location.hostname)&&Graph.fileSupport&&!a.isOffline()&&(e.appendChild(h),e.appendChild(k));var m=d();l.value=m;g.appendChild(l);this.init=function(){l.focus()};Graph.fileSupport&&(l.addEventListener("dragover",function(a){a.stopPropagation();a.preventDefault()},!1),l.addEventListener("drop",function(a){a.stopPropagation();a.preventDefault();if(0<a.dataTransfer.files.length){a=
- a.dataTransfer.files[0];var b=new FileReader;b.onload=function(a){l.value=a.target.result};b.readAsText(a)}},!1));g.appendChild(e);mxEvent.addListener(e,"change",function(){var a=d();if(0==l.value.length||l.value==m)m=a,l.value=m});h=mxUtils.button(mxResources.get("close"),function(){l.value==m?a.hideDialog():a.confirm(mxResources.get("areYouSure"),function(){a.hideDialog()})});h.className="geBtn";a.editor.cancelFirst&&g.appendChild(h);k=mxUtils.button(mxResources.get("insert"),function(){a.hideDialog();
- c(l.value,e.value)});g.appendChild(k);k.className="geBtn gePrimaryBtn";a.editor.cancelFirst||g.appendChild(h);this.container=g},NewDialog=function(a,b,c,d){function f(){if(d)c||a.hideDialog(),d(t,n.value);else{var b=n.value;if(null!=b&&0<b.length){var e=a.mode==App.MODE_ONEDRIVE||a.mode==App.MODE_GOOGLE&&(null==a.stateArg||null==a.stateArg.folderId)?a.mode:null;a.pickFolder(e,function(e){a.createFile(b,t,null!=p&&0<p.length?p:null,null,function(){a.hideDialog()},null,e)},e!=App.MODE_GOOGLE)}}}function g(a,
- b,e){null!=q&&(q.style.backgroundColor="transparent",q.style.border="1px solid transparent");t=b;p=e;q=a;q.style.backgroundColor="#e6eff8";q.style.border="1px solid #ccd9ea"}function l(a,b,e,c,d){var h=document.createElement("div");h.className="geTemplate";h.style.height="140px";h.style.width="140px";null!=c&&0<c.length&&h.setAttribute("title",c);if(null!=a&&0<a.length){a.substring(0,a.length-4);h.style.backgroundImage="url("+TEMPLATE_PATH+"/"+a.substring(0,a.length-4)+".png)";h.style.backgroundPosition=
- "center center";h.style.backgroundRepeat="no-repeat";var k=!1;mxEvent.addListener(h,"click",function(e){w.setAttribute("disabled","disabled");h.style.backgroundColor="transparent";h.style.border="1px solid transparent";mxUtils.get(TEMPLATE_PATH+"/"+a,mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()&&(w.removeAttribute("disabled"),g(h,a.getText(),b),k&&f())}))});mxEvent.addListener(h,"dblclick",function(a){k=!0})}else h.innerHTML='<table width="100%" height="100%"><tr><td align="center" valign="middle">'+
- mxResources.get(e)+"</td></tr></table>",d&&g(h),mxEvent.addListener(h,"click",function(a){g(h)}),mxEvent.addListener(h,"dblclick",function(a){f()});u.appendChild(h)}function e(){function a(){for(var a=!0;b<C.length&&(a||0!=mxUtils.mod(b,30));)a=C[b++],l(a.url,a.libs,a.title,a.tooltip,a.select),a=!1}var b=0;mxEvent.addListener(u,"scroll",function(b){u.scrollTop+u.clientHeight>=u.scrollHeight&&(a(),mxEvent.consume(b))});var e=null,c;for(c in v){var d=document.createElement("div"),h=mxResources.get(c),
- k=v[c];null==h&&(h=c.substring(0,1).toUpperCase()+c.substring(1));18<h.length&&(h=h.substring(0,18)+"…");d.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;";d.setAttribute("title",h+" ("+k.length+")");mxUtils.write(d,d.getAttribute("title"));x.appendChild(d);null==e&&(e=d,e.style.backgroundColor="#ebf2f9");(function(c,h){mxEvent.addListener(d,"click",function(){e!=h&&(e.style.backgroundColor="",e=h,e.style.backgroundColor=
- "#ebf2f9",u.scrollTop=0,u.innerHTML="",b=0,C=v[c],a())})})(c,d)}a()}c=null!=c?c:!0;var h=document.createElement("div");h.style.height="100%";var k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.height="46px";h.appendChild(k);var m=document.createElement("img");m.setAttribute("border","0");m.setAttribute("align","absmiddle");m.style.width="40px";m.style.height="40px";m.style.marginRight="10px";m.style.paddingBottom="4px";m.src=a.mode==App.MODE_GOOGLE?IMAGE_PATH+"/google-drive-logo.svg":
- a.mode==App.MODE_DROPBOX?IMAGE_PATH+"/dropbox-logo.svg":a.mode==App.MODE_ONEDRIVE?IMAGE_PATH+"/onedrive-logo.svg":a.mode==App.MODE_GITHUB?IMAGE_PATH+"/github-logo.svg":a.mode==App.MODE_BROWSER?IMAGE_PATH+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";!b&&c&&k.appendChild(m);c&&mxUtils.write(k,(null==a.mode||a.mode==App.MODE_GOOGLE||a.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"))+":");m=".xml";a.mode==App.MODE_GOOGLE&&null!=a.drive?m=a.drive.extension:
- a.mode==App.MODE_DROPBOX&&null!=a.dropbox?m=a.dropbox.extension:a.mode==App.MODE_ONEDRIVE&&null!=a.oneDrive?m=a.oneDrive.extension:a.mode==App.MODE_GITHUB&&null!=a.gitHub&&(m=a.gitHub.extension);var n=document.createElement("input");n.setAttribute("value",a.defaultFilename+m);n.style.marginRight="20px";n.style.marginLeft="10px";n.style.width=b?"220px":"450px";this.init=function(){c&&(n.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll",
- !1,null))};c&&k.appendChild(n);var p=null,t=null,q=null,w=mxUtils.button(mxResources.get("create"),function(){f()});w.className="geBtn gePrimaryBtn";var u=document.createElement("div");u.style.border="1px solid #d3d3d3";u.style.position="absolute";u.style.left="160px";u.style.right="34px";u.style.top=c?"72px":"40px";u.style.bottom="76px";u.style.margin="6px 0 0 -1px";u.style.padding="6px";u.style.overflow="auto";var x=document.createElement("div");x.style.cssText="position:absolute;left:30px;width:128px;top:72px;bottom:76px;margin-top:6px;overflow:auto;border:1px solid #d3d3d3;";
- c||(x.style.top="40px");var v={},z=1;v.basic=[{title:"blankDiagram",select:!0}];var C=v.basic;if(!b){h.appendChild(x);h.appendChild(u);var E=!1;mxUtils.get(TEMPLATE_PATH+"/index.xml",function(a){if(!E){E=!0;for(a=a.getXml().documentElement.firstChild;null!=a;){if("undefined"!==typeof a.getAttribute){var b=a.getAttribute("url");if(null!=b){var c=b.indexOf("/"),b=b.substring(0,c),c=v[b];null==c&&(z++,c=[],v[b]=c);c.push({url:a.getAttribute("url"),libs:a.getAttribute("libs"),title:a.getAttribute("title"),
- tooltip:a.getAttribute("url")})}}a=a.nextSibling}e()}})}mxEvent.addListener(n,"keypress",function(a){13==a.keyCode&&f()});k=document.createElement("div");k.style.marginTop=b?"4px":"16px";k.style.textAlign="right";k.style.position="absolute";k.style.left="40px";k.style.bottom="30px";k.style.right="40px";m=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)});m.className="geBtn";a.editor.cancelFirst&&k.appendChild(m);if(!b&&!a.isOffline()&&c&&null==d){var y=mxUtils.button(mxResources.get("help"),
- function(){window.open("https://support.draw.io/display/DO/Creating+and+Opening+Files")});y.className="geBtn";k.appendChild(y)}b||"1"==urlParams.embed||(b=mxUtils.button(mxResources.get("fromTemplateUrl"),function(){var b=new FilenameDialog(a,"",mxResources.get("create"),function(b){null!=b&&0<b.length&&(b=a.getUrl(window.location.pathname+"?mode="+a.mode+"&title="+encodeURIComponent(n.value)+"&create="+encodeURIComponent(b)),null==a.getCurrentFile()?window.location.href=b:window.openWindow(b))},
- mxResources.get("url"));a.showDialog(b.container,300,80,!0,!0);b.init()}),b.className="geBtn",k.appendChild(b));k.appendChild(w);a.editor.cancelFirst||null!=d||k.appendChild(m);h.appendChild(k);this.container=h},CreateDialog=function(a,b,c,d,f,g,l,e,h,k,m,n,p,t,q){function w(e,c,d,h){function k(){mxEvent.addListener(f,"click",function(){var e=d;if(l){var c=z.value,h=c.lastIndexOf(".");if(0>b.lastIndexOf(".")&&0>h){var e=null!=e?e:y.value,k="";e==App.MODE_GOOGLE?k=a.drive.extension:e==App.MODE_GITHUB?
- k=a.gitHub.extension:e==App.MODE_DROPBOX?k=a.dropbox.extension:e==App.MODE_ONEDRIVE?k=a.oneDrive.extension:e==App.MODE_DEVICE&&(k=".xml");0<=h&&(c=c.substring(0,h));z.value=c+k}}u(d)})}var f=document.createElement("a");f.style.overflow="hidden";var w=document.createElement("img");w.src=e;w.setAttribute("border","0");w.setAttribute("align","absmiddle");w.style.width="60px";w.style.height="60px";w.style.paddingBottom="6px";f.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";f.className="geBaseButton";
- f.style.position="relative";f.style.margin="4px";f.style.padding="8px 8px 10px 8px";f.style.whiteSpace="nowrap";f.appendChild(w);mxClient.IS_QUIRKS&&(f.style.cssFloat="left",f.style.zoom="1");f.style.color="gray";f.style.fontSize="11px";var g=document.createElement("div");f.appendChild(g);mxUtils.write(g,c);if(null!=h&&null==a[h]){w.style.visibility="hidden";mxUtils.setOpacity(g,10);var m=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,
- top:"40%",zIndex:2E9});m.spin(f);var q=window.setTimeout(function(){null==a[h]&&(m.stop(),f.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(){null!=a[h]&&(window.clearTimeout(q),mxUtils.setOpacity(g,100),w.style.visibility="",m.stop(),k())}))}else k();C.appendChild(f);++E==n&&(mxUtils.br(C),E=0)}function u(b){var e=z.value;if(null==b||null!=e&&0<e.length)a.hideDialog(),c(e,b)}l=null!=l?l:!0;e=null!=e?e:!0;n=null!=n?n:3;var x=document.createElement("div");null==
- d&&a.addLanguageMenu(x);var v=document.createElement("h2");mxUtils.write(v,f||mxResources.get("create"));v.style.marginTop="0px";v.style.marginBottom="24px";x.appendChild(v);mxUtils.write(x,mxResources.get("filename")+":");var z=document.createElement("input");z.setAttribute("value",b);z.style.width="280px";z.style.marginLeft="10px";z.style.marginBottom="20px";this.init=function(){z.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?z.select():document.execCommand("selectAll",!1,
- null)};x.appendChild(z);null!=p&&null!=t&&"image/"==t.substring(0,6)&&(z.style.width="160px",f=document.createElement("img"),f.setAttribute("src","data:"+t+(q?";base64,":";utf8,")+p),f.style.position="absolute",f.style.top="70px",f.style.right="100px",f.style.maxWidth="120px",f.style.maxHeight="80px",mxUtils.setPrefixedStyle(f.style,"transform","translate(50%,-50%)"),x.appendChild(f));mxUtils.br(x);var C=document.createElement("div");C.style.textAlign="center";var E=0;C.style.marginTop="6px";x.appendChild(C);
- var y=document.createElement("select");y.style.marginLeft="10px";a.isOfflineApp()||a.isOffline()||("function"===typeof window.DriveClient&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_GOOGLE),mxUtils.write(p,mxResources.get("googleDrive")),y.appendChild(p),w(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive")),null!=a.gitHub&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_GITHUB),mxUtils.write(p,mxResources.get("github")),
- y.appendChild(p),w(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub")),"function"===typeof window.DropboxClient&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_DROPBOX),mxUtils.write(p,mxResources.get("dropbox")),y.appendChild(p),a.mode==App.MODE_DROPBOX&&p.setAttribute("selected","selected"),w(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox")),"function"===typeof window.OneDriveClient&&(p=document.createElement("option"),
- p.setAttribute("value",App.MODE_ONEDRIVE),mxUtils.write(p,mxResources.get("oneDrive")),y.appendChild(p),a.mode==App.MODE_ONEDRIVE&&p.setAttribute("selected","selected"),w(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE,"oneDrive")));if(!Editor.useLocalStorage||"device"==urlParams.storage||null!=a.getCurrentFile()&&!mxClient.IS_IOS)p=document.createElement("option"),p.setAttribute("value",App.MODE_DEVICE),mxUtils.write(p,mxResources.get("device")),y.appendChild(p),a.mode!=
- App.MODE_DEVICE&&e||p.setAttribute("selected","selected"),m&&w(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE);e&&isLocalStorage&&"0"!=urlParams.browser&&(e=document.createElement("option"),e.setAttribute("value",App.MODE_BROWSER),mxUtils.write(e,mxResources.get("browser")),y.appendChild(e),a.mode==App.MODE_BROWSER&&e.setAttribute("selected","selected"),w(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER));e=document.createElement("div");e.style.marginTop=
- "26px";e.style.textAlign="center";null!=k&&(p=mxUtils.button(mxResources.get("help"),function(){window.open(k)}),p.className="geBtn",e.appendChild(p));p=mxUtils.button(mxResources.get("cancel"),function(){null!=d?d():(a.fileLoaded(null),a.hideDialog(),window.close(),window.location.href=a.getUrl())});p.className="geBtn";a.editor.cancelFirst&&e.appendChild(p);null==d&&(t=mxUtils.button(mxResources.get("decideLater"),function(){u(null)}),t.className="geBtn",e.appendChild(t));h&&(h=mxUtils.button(mxResources.get("openInNewWindow"),
- function(){u("_blank")}),h.className="geBtn",e.appendChild(h));mxClient.IS_IOS||(g=mxUtils.button(g||mxResources.get("create"),function(){u(m?"download":App.MODE_DEVICE)}),g.className="geBtn gePrimaryBtn",e.appendChild(g));a.editor.cancelFirst||e.appendChild(p);mxEvent.addListener(z,"keypress",function(b){13==b.keyCode?u(App.MODE_DEVICE):27==b.keyCode&&(a.fileLoaded(null),a.hideDialog(),window.close())});x.appendChild(e);this.container=x},PopupDialog=function(a,b,c,d,f){f=null!=f?f:!0;var g=document.createElement("div");
- g.style.textAlign="left";mxUtils.write(g,mxResources.get("fileOpenLocation"));mxUtils.br(g);mxUtils.br(g);var l=mxUtils.button(mxResources.get("openInThisWindow"),function(){f&&a.hideDialog();null!=d&&d()});l.className="geBtn";l.style.marginBottom="8px";l.style.width="280px";g.appendChild(l);mxUtils.br(g);var e=mxUtils.button(mxResources.get("openInNewWindow"),function(){f&&a.hideDialog();null!=c&&c();window.open(b)});e.className="geBtn gePrimaryBtn";e.style.width=l.style.width;g.appendChild(e);mxUtils.br(g);
- mxUtils.br(g);mxUtils.write(g,mxResources.get("allowPopups"));this.container=g},ImageDialog=function(a,b,c,d,f,g){g=null!=g?g:!0;var l=a.editor.graph,e=document.createElement("div");mxUtils.write(e,b);b=document.createElement("div");b.className="geTitle";b.style.backgroundColor="transparent";b.style.borderColor="transparent";b.style.whiteSpace="nowrap";b.style.textOverflow="clip";b.style.cursor="default";mxClient.IS_VML||(b.style.paddingRight="20px");var h=document.createElement("input");h.setAttribute("value",
- c);h.setAttribute("type","text");h.setAttribute("spellcheck","false");h.setAttribute("autocorrect","off");h.setAttribute("autocomplete","off");h.setAttribute("autocapitalize","off");h.style.marginTop="6px";h.style.width=(Graph.fileSupport?420:340)+(mxClient.IS_QUIRKS?20:-20)+"px";h.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="100% 50%";h.style.paddingRight="14px";c=document.createElement("div");c.setAttribute("title",
- mxResources.get("reset"));c.style.position="relative";c.style.left="-16px";c.style.width="12px";c.style.height="14px";c.style.cursor="pointer";c.style.display=mxClient.IS_VML?"inline":"inline-block";c.style.top=(mxClient.IS_VML?0:3)+"px";c.style.background="url('"+a.editor.transparentImage+"')";mxEvent.addListener(c,"click",function(){h.value="";h.focus()});b.appendChild(h);b.appendChild(c);e.appendChild(b);var k=function(b,e,c){var h="data:"==b.substring(0,5);(!a.isOffline()||h&&"undefined"===typeof chrome)&&
- a.spinner.spin(document.body,mxResources.get("inserting"))?a.loadImage(b,function(h){a.spinner.stop();a.hideDialog();var k=null!=e&&null!=c?Math.max(e/h.width,c/h.height):Math.min(1,Math.min(520/h.width,520/h.height));g&&(b=a.convertDataUri(b));d(b,Math.round(Number(h.width)*k),Math.round(Number(h.height)*k))},function(){a.spinner.stop();d(null);a.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"))}):(b=a.convertDataUri(b),e=null==e?120:e,c=null==c?100:c,a.hideDialog(),
- d(b,e,c))},m=function(b){if(null!=b&&0<b.length){var e=f?null:l.getModel().getGeometry(l.getSelectionCell());null!=e?k(b,e.width,e.height):k(b)}else a.hideDialog(),d(null)};this.init=function(){h.focus();if(Graph.fileSupport){h.setAttribute("placeholder",mxResources.get("dragImagesHere"));var b=e.parentNode,c=null;mxEvent.addListener(b,"dragleave",function(a){null!=c&&(c.parentNode.removeChild(c),c=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(e){null==
- c&&(!mxClient.IS_IE||10<document.documentMode)&&(c=a.highlightElement(b));e.stopPropagation();e.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(b){null!=c&&(c.parentNode.removeChild(c),c=null);if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxImageSize,function(a,b,e,c,d,h){m(a)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!mxEvent.isControlDown(b));else if(0<=mxUtils.indexOf(b.dataTransfer.types,
- "text/uri-list")){var e=b.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)($|\?)/i.test(e)&&m(decodeURIComponent(e))}b.stopPropagation();b.preventDefault()}),!1)}};c=document.createElement("div");c.style.marginTop=mxClient.IS_QUIRKS?"22px":"14px";c.style.textAlign="right";b=mxUtils.button(mxResources.get("cancel"),function(){a.spinner.stop();a.hideDialog()});b.className="geBtn";a.editor.cancelFirst&&c.appendChild(b);ImageDialog.filePicked=function(a){a.action==google.picker.Action.PICKED&&
- null!=a.docs[0].thumbnails&&(a=a.docs[0].thumbnails[a.docs[0].thumbnails.length-1],null!=a&&(h.value=a.url));h.focus()};if(Graph.fileSupport){var n=document.createElement("input");n.setAttribute("multiple","multiple");n.setAttribute("type","file");if(null==document.documentMode){mxEvent.addListener(n,"change",function(b){a.importFiles(n.files,0,0,a.maxImageSize,function(a,b,e,c,d,h){m(a)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},
- !0)});var p=mxUtils.button(mxResources.get("open"),function(){n.click()});p.className="geBtn";c.appendChild(p)}}document.createElement("canvas").getContext&&"data:image/"==h.value.substring(0,11)&&(p=mxUtils.button(mxResources.get("crop"),function(){var b=new CropImageDialog(a,h.value,function(a){h.value=a});a.showDialog(b.container,200,160,!0,!0);b.init()}),p.className="geBtn",c.appendChild(p));"undefined"!=typeof google&&"undefined"!=typeof google.picker&&window.self===window.top&&(p=mxUtils.button(mxResources.get("search"),
- function(){if(null==a.imageSearchPicker){var b=(new google.picker.PickerBuilder).setLocale(mxLanguage).addView(google.picker.ViewId.IMAGE_SEARCH).enableFeature(google.picker.Feature.NAV_HIDDEN);a.imageSearchPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.imageSearchPicker.setVisible(!0);a.movePickersToTop()}),p.className="geBtn",c.appendChild(p),null!=a.drive&&"1"==urlParams.photos&&(p=mxUtils.button(mxResources.get("googlePlus"),function(){a.spinner.spin(document.body,mxResources.get("authorizing"))&&
- a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();if(null==a.photoPicker){var b=gapi.auth.getToken().access_token,b=(new google.picker.PickerBuilder).setAppId(a.drive.appId).setLocale(mxLanguage).setOAuthToken(b).addView(google.picker.ViewId.PHOTOS).addView(google.picker.ViewId.PHOTO_ALBUMS).addView(google.picker.ViewId.PHOTO_UPLOAD);a.photoPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.photoPicker.setVisible(!0);a.movePickersToTop()}))}),p.className="geBtn",
- c.appendChild(p)));mxEvent.addListener(h,"keypress",function(a){13==a.keyCode&&m(h.value)});p=mxUtils.button(mxResources.get("apply"),function(){m(h.value)});p.className="geBtn gePrimaryBtn";c.appendChild(p);a.editor.cancelFirst||c.appendChild(b);Graph.fileSupport&&(c.style.marginTop="120px",e.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')",e.style.backgroundPosition="center 65%",e.style.backgroundRepeat="no-repeat",b=document.createElement("div"),b.style.position="absolute",b.style.width=
- "420px",b.style.top="58%",b.style.textAlign="center",b.style.fontSize="18px",b.style.color="#a0c3ff",mxUtils.write(b,mxResources.get("dragImagesHere")),e.appendChild(b));e.appendChild(c);this.container=e},LinkDialog=function(a,b,c,d,f){function g(a,b,e){e=mxUtils.button("",e);e.className="geBtn";e.setAttribute("title",b);b=document.createElement("img");b.style.height="26px";b.style.width="26px";b.setAttribute("src",a);e.style.minWidth="42px";e.style.verticalAlign="middle";e.appendChild(b);u.appendChild(e)}
- var l=document.createElement("div");mxUtils.write(l,mxResources.get("editLink")+":");var e=document.createElement("div");e.className="geTitle";e.style.backgroundColor="transparent";e.style.borderColor="transparent";e.style.whiteSpace="nowrap";e.style.textOverflow="clip";e.style.cursor="default";mxClient.IS_VML||(e.style.paddingRight="20px");var h=document.createElement("input");h.setAttribute("placeholder",mxResources.get("dragUrlsHere"));h.setAttribute("type","text");h.style.marginTop="6px";h.style.width=
- "400px";h.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="100% 50%";h.style.paddingRight="14px";var k=document.createElement("div");k.setAttribute("title",mxResources.get("reset"));k.style.position="relative";k.style.left="-16px";k.style.width="12px";k.style.height="14px";k.style.cursor="pointer";k.style.display=mxClient.IS_VML?"inline":"inline-block";k.style.top=(mxClient.IS_VML?0:3)+"px";k.style.background="url('"+a.editor.transparentImage+
- "')";mxEvent.addListener(k,"click",function(){h.value="";h.focus()});var m=document.createElement("input");m.style.cssText="margin-right:8px;margin-bottom:8px;";m.setAttribute("value","url");m.setAttribute("type","radio");m.setAttribute("name","current-linkdialog");var n=document.createElement("input");n.style.cssText="margin-right:8px;margin-bottom:8px;";n.setAttribute("value","url");n.setAttribute("type","radio");n.setAttribute("name","current-linkdialog");var p=document.createElement("select");
- p.style.width="380px";if(f&&null!=a.pages){null!=b&&a.editor.graph.isPageLink(b)?(n.setAttribute("checked","checked"),n.defaultChecked=!0):(h.setAttribute("value",b),m.setAttribute("checked","checked"),m.defaultChecked=!0);h.style.width="380px";e.appendChild(m);e.appendChild(h);e.appendChild(k);mxUtils.br(e);e.appendChild(n);f=!1;for(k=0;k<a.pages.length;k++){var t=document.createElement("option");mxUtils.write(t,a.pages[k].getName()||mxResources.get("pageWithNumber",[k+1]));t.setAttribute("value",
- "data:page/id,"+a.pages[k].getId());b==t.getAttribute("value")&&(t.setAttribute("selected","selected"),f=!0);p.appendChild(t)}if(!f&&n.checked){var q=document.createElement("option");mxUtils.write(q,mxResources.get("pageNotFound"));q.setAttribute("disabled","disabled");q.setAttribute("selected","selected");q.setAttribute("value","pageNotFound");p.appendChild(q);mxEvent.addListener(p,"change",function(){null==q.parentNode||q.selected||q.parentNode.removeChild(q)})}e.appendChild(p)}else h.setAttribute("value",
- b),e.appendChild(h),e.appendChild(k);l.appendChild(e);var w=mxUtils.button(c,function(){a.hideDialog();d(n.checked?"pageNotFound"!==p.value?p.value:b:h.value,LinkDialog.selectedDocs)});w.style.verticalAlign="middle";w.className="geBtn gePrimaryBtn";this.init=function(){n.checked?p.focus():(h.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?h.select():document.execCommand("selectAll",!1,null));mxEvent.addListener(p,"focus",function(){m.removeAttribute("checked");n.setAttribute("checked",
- "checked");n.checked=!0});mxEvent.addListener(h,"focus",function(){n.removeAttribute("checked");m.setAttribute("checked","checked");m.checked=!0});if(Graph.fileSupport){var b=l.parentNode,e=null;mxEvent.addListener(b,"dragleave",function(a){null!=e&&(e.parentNode.removeChild(e),e=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(c){null==e&&(!mxClient.IS_IE||10<document.documentMode)&&(e=a.highlightElement(b));c.stopPropagation();c.preventDefault()}));
- mxEvent.addListener(b,"drop",mxUtils.bind(this,function(a){null!=e&&(e.parentNode.removeChild(e),e=null);0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")&&(h.value=decodeURIComponent(a.dataTransfer.getData("text/uri-list")),m.setAttribute("checked","checked"),m.checked=!0,w.click());a.stopPropagation();a.preventDefault()}),!1)}};var u=document.createElement("div");u.style.marginTop="20px";u.style.textAlign="right";c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});c.style.verticalAlign=
- "middle";c.className="geBtn";a.editor.cancelFirst&&u.appendChild(c);LinkDialog.selectedDocs=null;LinkDialog.filePicked=function(a){if(a.action==google.picker.Action.PICKED){LinkDialog.selectedDocs=a.docs;var b=a.docs[0].url;"application/mxe"==a.docs[0].mimeType||"application/vnd.jgraph.mxfile"==a.docs[0].mimeType?(b=DriveClient.prototype.oldAppHostname,b="https://"+b+"/#G"+a.docs[0].id):"application/mxr"==a.docs[0].mimeType||"application/vnd.jgraph.mxfile.realtime"==a.docs[0].mimeType?(b=DriveClient.prototype.newAppHostname,
- b="https://"+b+"/#G"+a.docs[0].id):"application/vnd.google-apps.folder"==a.docs[0].mimeType&&(b="https://drive.google.com/#folders/"+a.docs[0].id);h.value=b;h.focus()}else LinkDialog.selectedDocs=null;h.focus()};"undefined"!=typeof google&&"undefined"!=typeof google.picker&&null!=a.drive&&g(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googlePlus"),function(){a.spinner.spin(document.body,mxResources.get("authorizing"))&&a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();if(null==
- a.linkPicker){var b=gapi.auth.getToken().access_token,e=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0).setSelectFolderEnabled(!0),c=(new google.picker.DocsView).setIncludeFolders(!0).setSelectFolderEnabled(!0),b=(new google.picker.PickerBuilder).setAppId(a.drive.appId).setLocale(mxLanguage).setOAuthToken(b).addView(e).addView(c).addView(google.picker.ViewId.RECENTLY_PICKED).addView(google.picker.ViewId.IMAGE_SEARCH).addView(google.picker.ViewId.VIDEO_SEARCH).addView(google.picker.ViewId.MAPS);
- "1"==urlParams.photos&&b.addView(google.picker.ViewId.PHOTOS).addView(google.picker.ViewId.PHOTO_ALBUMS).addView(google.picker.ViewId.PHOTO_UPLOAD);a.linkPicker=b.setCallback(function(a){LinkDialog.filePicked(a)}).build()}a.linkPicker.setVisible(!0);a.movePickersToTop()}))});"undefined"!=typeof Dropbox&&"undefined"!=typeof Dropbox.choose&&g(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),function(){Dropbox.choose({linkType:"direct",cancel:function(){},success:function(a){h.value=a[0].link;
- h.focus()}})});null!=a.oneDrive&&g(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),function(){a.oneDrive.pickFile(function(a){h.value=a.value[0].webUrl;h.focus()},!0)});null!=a.gitHub&&g(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),function(){a.gitHub.pickFile(function(a){if(null!=a){a=a.split("/");var b=a[0],e=a[1],c=a[2];a=a.slice(3,a.length).join("/");h.value="https://github.com/"+b+"/"+e+"/blob/"+c+"/"+a;h.focus()}})});mxEvent.addListener(h,"keypress",function(b){13==b.keyCode&&
- (a.hideDialog(),d(n.checked?p.value:h.value,LinkDialog.selectedDocs))});u.appendChild(w);a.editor.cancelFirst||u.appendChild(c);l.appendChild(u);this.container=l},AboutDialog=function(a){var b=document.createElement("div");b.style.marginTop="6px";b.setAttribute("align","center");var c=document.createElement("img");c.style.border="0px";c.setAttribute("width","176");c.setAttribute("width","151");c.style.width="170px";c.style.height="219px";c.setAttribute("src",IMAGE_PATH+"/logo-flat.png");b.appendChild(c);
- mxUtils.br(b);c=document.createElement("small");c.innerHTML="v "+EditorUi.VERSION;c.style.color="#505050";b.appendChild(c);mxUtils.br(b);mxUtils.br(b);c=document.createElement("small");c.style.color="#505050";c.innerHTML='© 2005-2017 <a href="https://www.jgraph.com/" style="color:inherit;" target="_blank">JGraph Ltd</a>.<br>All Rights Reserved.';b.appendChild(c);mxEvent.addListener(b,"click",function(b){"A"!=mxEvent.getSource(b).nodeName&&a.hideDialog()});this.container=b},FeedbackDialog=function(a){var b=
- document.createElement("div"),c=document.createElement("div");mxUtils.write(c,mxResources.get("sendYourFeedbackToDrawIo"));c.style.fontSize="18px";c.style.marginBottom="18px";b.appendChild(c);c=document.createElement("div");mxUtils.write(c,mxResources.get("yourEmailAddress")+" ("+mxResources.get("required")+")");b.appendChild(c);var d=document.createElement("input");d.setAttribute("type","text");d.style.marginTop="6px";d.style.width="600px";var f=mxUtils.button(mxResources.get("sendMessage"),function(){var b=
- (l.checked?"\nDiagram:\n"+a.getFileData():"")+"\nBrowser:\n"+navigator.userAgent;b.length>FeedbackDialog.maxAttachmentSize?a.alert(mxResources.get("drawingTooLarge")):(a.hideDialog(),a.spinner.spin(document.body)&&mxUtils.post(null!=FeedbackDialog.feedbackUrl?FeedbackDialog.feedbackUrl:"/email","email="+encodeURIComponent(d.value)+"&version="+encodeURIComponent(EditorUi.VERSION)+"&url="+encodeURIComponent(window.location.href)+"&body="+encodeURIComponent("Feedback:\n"+h.value+b),function(b){a.spinner.stop();
- 200<=b.getStatus()&&299>=b.getStatus()?a.alert(mxResources.get("feedbackSent")):a.alert(mxResources.get("errorSendingFeedback"))},function(){a.spinner.stop();a.alert(mxResources.get("errorSendingFeedback"))}))});f.className="geBtn gePrimaryBtn";f.setAttribute("disabled","disabled");var g=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;mxEvent.addListener(d,"change",function(){0<d.value.length&&
- 0<g.test(d.value)?f.removeAttribute("disabled"):f.setAttribute("disabled","disabled")});mxEvent.addListener(d,"keyup",function(){0<d.value.length&&g.test(d.value)?f.removeAttribute("disabled"):f.setAttribute("disabled","disabled")});b.appendChild(d);this.init=function(){d.focus()};var l=document.createElement("input");l.setAttribute("type","checkbox");l.setAttribute("checked","checked");l.defaultChecked=!0;c=document.createElement("p");c.style.marginTop="14px";c.appendChild(l);var e=document.createElement("span");
- mxUtils.write(e," "+mxResources.get("includeCopyOfMyDiagram"));c.appendChild(e);mxEvent.addListener(e,"click",function(a){l.checked=!l.checked;mxEvent.consume(a)});b.appendChild(c);c=document.createElement("div");mxUtils.write(c,mxResources.get("feedback"));b.appendChild(c);var h=document.createElement("textarea");h.style.resize="none";h.style.width="600px";h.style.height="140px";h.style.marginTop="6px";h.setAttribute("placeholder",mxResources.get("commentsNotes"));b.appendChild(h);c=document.createElement("div");
- c.style.marginTop="26px";c.style.textAlign="right";e=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});e.className="geBtn";a.editor.cancelFirst?(c.appendChild(e),c.appendChild(f)):(c.appendChild(f),c.appendChild(e));b.appendChild(c);this.container=b};FeedbackDialog.maxAttachmentSize=1E6;
- var RevisionDialog=function(a,b){var c=document.createElement("div"),d=document.createElement("h3");d.style.marginTop="0px";mxUtils.write(d,mxResources.get("revisionHistory"));c.appendChild(d);var f=document.createElement("div");f.style.position="absolute";f.style.overflow="auto";f.style.width="170px";f.style.height="378px";c.appendChild(f);var g=document.createElement("div");g.style.position="absolute";g.style.border="1px solid lightGray";g.style.left="199px";g.style.width="470px";g.style.height=
- "376px";g.style.overflow="hidden";mxEvent.disableContextMenu(g);c.appendChild(g);var l=new Graph(g);l.setEnabled(!1);l.setPanning(!0);l.panningHandler.ignoreCell=!0;l.panningHandler.useLeftButtonForPanning=!0;l.minFitScale=null;l.maxFitScale=null;l.centerZoom=!0;var e=0,h=null,k=0,m=l.getGlobalVariable;l.getGlobalVariable=function(a){return"page"==a&&null!=h&&null!=h[k]?h[k].getAttribute("name"):"pagenumber"==a?k+1:m.apply(this,arguments)};l.getLinkForCell=function(){return null};Editor.MathJaxRender&&
- l.addListener(mxEvent.SIZE,mxUtils.bind(this,function(b,e){a.editor.graph.mathEnabled&&Editor.MathJaxRender(l.container)}));var n=new Spinner({lines:11,length:15,width:6,radius:10,corners:1,rotate:0,direction:1,color:"#000",speed:1.4,trail:60,shadow:!1,hwaccel:!1,className:"spinner",zIndex:2E9,top:"50%",left:"50%"}),p=a.getCurrentFile(),t=null,q=null,w=null,u=null,x=mxUtils.button("",function(){null!=w&&l.zoomIn()});x.className="geSprite geSprite-zoomin";x.setAttribute("title",mxResources.get("zoomIn"));
- x.style.outline="none";x.style.border="none";x.style.margin="2px";x.setAttribute("disabled","disabled");mxUtils.setOpacity(x,20);var v=mxUtils.button("",function(){null!=w&&l.zoomOut()});v.className="geSprite geSprite-zoomout";v.setAttribute("title",mxResources.get("zoomOut"));v.style.outline="none";v.style.border="none";v.style.margin="2px";v.setAttribute("disabled","disabled");mxUtils.setOpacity(v,20);var z=mxUtils.button("",function(){null!=w&&(l.maxFitScale=8,l.fit(8),l.center())});z.className=
- "geSprite geSprite-fit";z.setAttribute("title",mxResources.get("fit"));z.style.outline="none";z.style.border="none";z.style.margin="2px";z.setAttribute("disabled","disabled");mxUtils.setOpacity(z,20);var C=mxUtils.button("",function(){null!=w&&(l.zoomActual(),l.center())});C.className="geSprite geSprite-actualsize";C.setAttribute("title",mxResources.get("actualSize"));C.style.outline="none";C.style.border="none";C.style.margin="2px";C.setAttribute("disabled","disabled");mxUtils.setOpacity(C,20);var E=
- document.createElement("div");E.style.position="absolute";E.style.textAlign="right";E.style.color="gray";E.style.marginTop="10px";E.style.backgroundColor="transparent";E.style.top="440px";E.style.right="32px";E.style.maxWidth="380px";E.style.cursor="default";var y=mxUtils.button(mxResources.get("download"),function(){if(null!=w){var b=a.getCurrentFile(),b=null!=b&&null!=b.getTitle()?b.getTitle():a.defaultFilename,e=mxUtils.getXml(w.documentElement);a.isLocalFileSave()?a.saveLocalFile(e,b,"text/xml"):
- (e="undefined"===typeof pako?"&xml="+encodeURIComponent(e):"&data="+encodeURIComponent(a.editor.graph.compress(e)),(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(b)+"&format=xml"+e)).simulate(document,"_blank"))}});y.className="geBtn";y.setAttribute("disabled","disabled");var A=mxUtils.button(mxResources.get("restore"),function(){null!=w&&null!=u&&a.confirm(mxResources.get("areYouSure"),function(){a.spinner.spin(document.body,mxResources.get("restoring"))&&p.save(!0,function(b){a.spinner.stop();
- a.replaceFileData(u);a.hideDialog()},function(b){a.spinner.stop();a.editor.setStatus("");a.handleError(b,null!=b?mxResources.get("errorSavingFile"):null)})})});A.className="geBtn";A.setAttribute("disabled","disabled");var B=document.createElement("select");B.setAttribute("disabled","disabled");B.style.maxWidth="80px";B.style.position="relative";B.style.top="-2px";B.style.verticalAlign="bottom";B.style.marginRight="6px";B.style.display="none";var F=null;mxEvent.addListener(B,"change",function(a){null!=
- F&&(F(a),mxEvent.consume(a))});var G=mxUtils.button(mxResources.get("openInNewWindow"),function(){null!=w&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(mxUtils.getXml(w.documentElement)),window.openWindow(a.getUrl()))});G.className="geBtn";G.setAttribute("disabled","disabled");var I=mxUtils.button(mxResources.get("show"),function(){null!=q&&window.open(q.getUrl())});I.className="geBtn gePrimaryBtn";I.setAttribute("disabled","disabled");d=document.createElement("div");
- d.style.position="absolute";d.style.top="482px";d.style.width="640px";d.style.textAlign="right";var D=document.createElement("div");D.className="geToolbarContainer";D.style.backgroundColor="transparent";D.style.padding="2px";D.style.border="none";D.style.left="199px";D.style.top="442px";var M=null;if(null==p||null==a.drive&&p.constructor==window.DriveFile||null==a.dropbox&&p.constructor==window.DropboxFile)g.style.display="none",D.style.display="none",mxUtils.write(f,mxResources.get("notAvailable"));
- else if(null!=b&&0<b.length){g.style.cursor="move";var H=document.createElement("table");H.style.border="1px solid lightGray";H.style.borderCollapse="collapse";H.style.borderSpacing="0px";H.style.width="100%";var K=document.createElement("tbody"),T=(new Date).toDateString();null!=a.currentPage&&null!=a.pages&&(e=mxUtils.indexOf(a.pages,a.currentPage));for(var L=b.length-1;0<=L;L--){var N=function(c){var d=new Date(c.modifiedDate),f=null;if(0<=d.getTime()){var m=function(b){n.stop();var c=mxUtils.parseXml(b),
- m=a.editor.extractGraphModel(c.documentElement,!0);if(null!=m){var q=function(b){null!=b&&(b=t(mxUtils.parseXml(a.editor.graph.decompress(mxUtils.getTextContent(b))).documentElement));return b},t=function(a){var b=a.getAttribute("background");if(null==b||""==b||b==mxConstants.NONE)b="#ffffff";g.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,l.getModel());l.maxFitScale=1;l.fit(8);l.center();return a};B.style.display="none";B.innerHTML="";w=c;u=b;h=parseSelectFunction=null;k=0;if("mxfile"==
- m.nodeName){c=m.getElementsByTagName("diagram");h=[];for(b=0;b<c.length;b++)h.push(c[b]);k=Math.min(e,h.length-1);0<h.length&&q(h[k]);if(1<h.length)for(B.removeAttribute("disabled"),B.style.display="",b=0;b<h.length;b++)c=document.createElement("option"),mxUtils.write(c,h[b].getAttribute("name")||mxResources.get("pageWithNumber",[b+1])),c.setAttribute("value",b),b==k&&c.setAttribute("selected","selected"),B.appendChild(c);F=function(){k=e=parseInt(B.value);q(h[e])}}else t(m);E.innerHTML="";mxUtils.write(E,
- d.toLocaleDateString()+" "+d.toLocaleTimeString());E.setAttribute("title",f.getAttribute("title"));x.removeAttribute("disabled");v.removeAttribute("disabled");z.removeAttribute("disabled");C.removeAttribute("disabled");null!=p&&p.isRestricted()||(a.editor.graph.isEnabled()&&A.removeAttribute("disabled"),y.removeAttribute("disabled"),I.removeAttribute("disabled"),G.removeAttribute("disabled"));mxUtils.setOpacity(x,60);mxUtils.setOpacity(v,60);mxUtils.setOpacity(z,60);mxUtils.setOpacity(C,60)}else B.style.display=
- "none",B.innerHTML="",E.innerHTML="",mxUtils.write(E,mxResources.get("errorLoadingFile"))},f=document.createElement("tr");f.style.borderBottom="1px solid lightGray";f.style.fontSize="12px";f.style.cursor="pointer";var D=document.createElement("td");D.style.padding="6px";D.style.whiteSpace="nowrap";c==b[b.length-1]?mxUtils.write(D,mxResources.get("current")):d.toDateString()===T?mxUtils.write(D,d.toLocaleTimeString()):mxUtils.write(D,d.toLocaleDateString()+" "+d.toLocaleTimeString());f.appendChild(D);
- f.setAttribute("title",d.toLocaleDateString()+" "+d.toLocaleTimeString()+" "+a.formatFileSize(parseInt(c.fileSize))+(null!=c.lastModifyingUserName?" "+c.lastModifyingUserName:""));mxEvent.addListener(f,"click",function(a){q!=c&&(n.stop(),null!=t&&(t.style.backgroundColor=""),q=c,t=f,t.style.backgroundColor="#ebf2f9",u=w=null,E.removeAttribute("title"),E.innerHTML=mxResources.get("loading")+"...",g.style.backgroundColor="#ffffff",l.getModel().clear(),A.setAttribute("disabled","disabled"),y.setAttribute("disabled",
- "disabled"),x.setAttribute("disabled","disabled"),v.setAttribute("disabled","disabled"),C.setAttribute("disabled","disabled"),z.setAttribute("disabled","disabled"),G.setAttribute("disabled","disabled"),I.setAttribute("disabled","disabled"),B.setAttribute("disabled","disabled"),mxUtils.setOpacity(x,20),mxUtils.setOpacity(v,20),mxUtils.setOpacity(z,20),mxUtils.setOpacity(C,20),n.spin(g),c.getXml(function(a){q==c&&m(a)},function(a){n.stop();B.style.display="none";B.innerHTML="";E.innerHTML="";mxUtils.write(E,
- mxResources.get("errorLoadingFile"))}),mxEvent.consume(a))});mxEvent.addListener(f,"dblclick",function(a){I.click();window.getSelection?window.getSelection().removeAllRanges():document.selection&&document.selection.empty();mxEvent.consume(a)},!1);K.appendChild(f)}return f}(b[L]);null!=N&&L==b.length-1&&(M=N)}H.appendChild(K);f.appendChild(H)}else g.style.display="none",D.style.display="none",mxUtils.write(f,mxResources.get("noRevisions"));this.init=function(){null!=M&&M.click()};f=mxUtils.button(mxResources.get("close"),
- function(){a.hideDialog()});f.className="geBtn";D.appendChild(B);D.appendChild(x);D.appendChild(v);D.appendChild(C);D.appendChild(z);a.editor.cancelFirst?(d.appendChild(f),d.appendChild(y),d.appendChild(G),d.appendChild(A),d.appendChild(I)):(d.appendChild(y),d.appendChild(G),d.appendChild(A),d.appendChild(I),d.appendChild(f));c.appendChild(d);c.appendChild(D);c.appendChild(E);this.container=c},DraftDialog=function(a,b,c,d,f,g,l,e){var h=document.createElement("div"),k=document.createElement("div");
- k.style.marginTop="0px";k.style.whiteSpace="nowrap";k.style.overflow="auto";mxUtils.write(k,b);h.appendChild(k);var m=document.createElement("div");m.style.position="absolute";m.style.border="1px solid lightGray";m.style.marginTop="10px";m.style.width="640px";m.style.top="46px";m.style.bottom="74px";m.style.overflow="hidden";mxEvent.disableContextMenu(m);h.appendChild(m);var n=new Graph(m);n.setEnabled(!1);n.setPanning(!0);n.panningHandler.ignoreCell=!0;n.panningHandler.useLeftButtonForPanning=!0;
- n.minFitScale=null;n.maxFitScale=null;n.centerZoom=!0;b=mxUtils.parseXml(c);var p=a.editor.extractGraphModel(b.documentElement,!0),t=0,q=null,w=n.getGlobalVariable;n.getGlobalVariable=function(a){return"page"==a&&null!=q&&null!=q[t]?q[t].getAttribute("name"):"pagenumber"==a?t+1:w.apply(this,arguments)};n.getLinkForCell=function(){return null};b=mxUtils.button("",function(){n.zoomIn()});b.className="geSprite geSprite-zoomin";b.setAttribute("title",mxResources.get("zoomIn"));b.style.outline="none";
- b.style.border="none";b.style.margin="2px";mxUtils.setOpacity(b,60);c=mxUtils.button("",function(){n.zoomOut()});c.className="geSprite geSprite-zoomout";c.setAttribute("title",mxResources.get("zoomOut"));c.style.outline="none";c.style.border="none";c.style.margin="2px";mxUtils.setOpacity(c,60);k=mxUtils.button("",function(){n.maxFitScale=8;n.fit(8);n.center()});k.className="geSprite geSprite-fit";k.setAttribute("title",mxResources.get("fit"));k.style.outline="none";k.style.border="none";k.style.margin=
- "2px";mxUtils.setOpacity(k,60);var u=mxUtils.button("",function(){n.zoomActual();n.center()});u.className="geSprite geSprite-actualsize";u.setAttribute("title",mxResources.get("actualSize"));u.style.outline="none";u.style.border="none";u.style.margin="2px";mxUtils.setOpacity(u,60);f=mxUtils.button(l||mxResources.get("discard"),f);f.className="geBtn";var x=document.createElement("select");x.style.maxWidth="80px";x.style.position="relative";x.style.top="-2px";x.style.verticalAlign="bottom";x.style.marginRight=
- "6px";x.style.display="none";d=mxUtils.button(g||mxResources.get("edit"),d);d.className="geBtn gePrimaryBtn";g=document.createElement("div");g.style.position="absolute";g.style.bottom="30px";g.style.width="640px";g.style.textAlign="right";l=document.createElement("div");l.className="geToolbarContainer";l.style.cssText="box-shadow:none !important;background-color:transparent;padding:2px;border-style:none !important;bottom:30px;";this.init=function(){function b(a){if(null!=a){var b=a.getAttribute("background");
- if(null==b||""==b||b==mxConstants.NONE)b="#ffffff";m.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,n.getModel());n.maxFitScale=1;n.fit(8);n.center()}}function e(e){null!=e&&(e=b(mxUtils.parseXml(a.editor.graph.decompress(mxUtils.getTextContent(e))).documentElement));return e}mxEvent.addListener(x,"change",function(a){t=parseInt(x.value);e(q[t]);mxEvent.consume(a)});if("mxfile"==p.nodeName){var c=p.getElementsByTagName("diagram");q=[];for(var d=0;d<c.length;d++)q.push(c[d]);0<q.length&&
- e(q[t]);if(1<q.length)for(x.style.display="",d=0;d<q.length;d++)c=document.createElement("option"),mxUtils.write(c,q[d].getAttribute("name")||mxResources.get("pageWithNumber",[d+1])),c.setAttribute("value",d),d==t&&c.setAttribute("selected","selected"),x.appendChild(c)}else b(p)};l.appendChild(x);l.appendChild(b);l.appendChild(c);l.appendChild(u);l.appendChild(k);b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)});b.className="geBtn";e=null!=e?mxUtils.button(mxResources.get("ignore"),
- e):null;null!=e&&(e.className="geBtn");a.editor.cancelFirst?(g.appendChild(b),null!=e&&g.appendChild(e),g.appendChild(f),g.appendChild(d)):(g.appendChild(d),g.appendChild(f),null!=e&&g.appendChild(e),g.appendChild(b));h.appendChild(g);h.appendChild(l);this.container=h},FindWindow=function(a,b,c,d,f){function g(){var a=e.model.getDescendants(e.model.getRoot()),b=n.value.toLowerCase(),c=p.checked?new RegExp(b):null,d=null;h!=b&&(h=b,k=null);var f=null==k;if(e.isEnabled()&&0<b.length)for(var g=0;g<a.length;g++){var m=
- e.view.getState(a[g]);if(null!=m&&null!=m.cell.value&&(f||null==d)&&(e.model.isVertex(m.cell)||e.model.isEdge(m.cell))){e.isHtmlLabel(m.cell)?(t.innerHTML=e.getLabel(m.cell),label=mxUtils.extractTextWithWhitespace([t])):label=e.getLabel(m.cell);label=mxUtils.trim(label.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")).toLowerCase();var q;if(!(q=null==c&&label.substring(0,b.length)===b)&&(q=null!=c)&&!(q=c.test(label)))a:{q=c;var l=m.cell;if("object"===typeof l.value&&null!=l.value.attributes)for(var l=l.value.attributes,
- B=0;B<l.length;B++)if("label"!=l[B].nodeName&&q.test(l[B].nodeValue.toLowerCase())){q=!0;break a}q=!1}if(q)if(f){d=m;break}else null==d&&(d=m)}f=f||m==k}null!=d?(k=d,e.setSelectionCell(k.cell),e.scrollCellToVisible(k.cell)):e.clearSelection();return!e.isEnabled()||0==b.length||null!=d}var l=a.actions.get("find"),e=a.editor.graph,h=null,k=null,m=document.createElement("div");m.style.userSelect="none";m.style.overflow="hidden";m.style.padding="10px";m.style.height="100%";var n=document.createElement("input");
- n.setAttribute("placeholder",mxResources.get("find"));n.setAttribute("type","text");n.style.marginTop="4px";n.style.marginBottom="6px";n.style.width="170px";n.style.fontSize="12px";n.style.borderRadius="4px";n.style.padding="6px";m.appendChild(n);var p=document.createElement("input");p.setAttribute("type","checkbox");m.appendChild(p);mxUtils.write(m,mxResources.get("regularExpression"));var t=document.createElement("div");mxUtils.br(m);var q=mxUtils.button(mxResources.get("reset"),function(){n.value=
- "";n.style.backgroundColor="";h=k=null;n.focus()});q.setAttribute("title",mxResources.get("reset"));q.style.marginTop="6px";q.style.marginRight="4px";q.style.backgroundColor="#f5f5f5";q.style.backgroundImage="none";q.className="geBtn";m.appendChild(q);q=mxUtils.button(mxResources.get("find"),function(){try{n.style.backgroundColor=g()?"":"#ffcfcf"}catch(w){a.handleError(w)}});q.setAttribute("title",mxResources.get("find")+" (Enter)");q.style.marginTop="6px";q.style.backgroundColor="#4d90fe";q.style.backgroundImage=
- "none";q.className="geBtn gePrimaryBtn";m.appendChild(q);mxEvent.addListener(n,"keyup",function(a){if(91==a.keyCode||17==a.keyCode)mxEvent.consume(a);else if(27==a.keyCode)l.funct();else if(h!=n.value.toLowerCase()||13==a.keyCode)try{n.style.backgroundColor=g()?"":"#ffcfcf"}catch(u){n.style.backgroundColor="#ffcfcf"}});mxEvent.addListener(m,"keydown",function(b){70==b.keyCode&&a.keyHandler.isControlDown(b)&&!mxEvent.isShiftDown(b)&&(l.funct(),mxEvent.consume(b))});this.window=new mxWindow(mxResources.get("find"),
- m,b,c,d,f,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!1);this.window.setClosable(!0);this.window.addListener("show",mxUtils.bind(this,function(){this.window.isVisible()?(n.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll",!1,null)):e.container.focus()}))},TagsWindow=function(a,b,c,d,f){function g(a){a=null!=a?a:e.model.getDescendants(e.model.getRoot());for(var b=m.value.split(" "),c=[],
- d=0;d<a.length;d++)if(e.model.isVertex(a[d])||e.model.isEdge(a[d])){var k=null!=a[d].value&&"object"==typeof a[d].value?mxUtils.trim(a[d].value.getAttribute(h)||""):"",f=!0;if(0<k.length)for(var k=k.toLowerCase().split(" "),g=0;g<b.length&&f;g++)var n=mxUtils.trim(b[g]).toLowerCase(),f=f&&(0==n.length||0<=mxUtils.indexOf(k,n));else f=0==mxUtils.trim(m.value).length;f&&c.push(a[d])}return c}function l(a,b){e.model.beginUpdate();try{for(var c=0;c<a.length;c++)e.model.setVisible(a[c],b)}finally{e.model.endUpdate()}}
- var e=a.editor.graph,h="tags",k=document.createElement("div");k.style.userSelect="none";k.style.overflow="hidden";k.style.padding="10px";k.style.height="100%";var m=document.createElement("input");m.setAttribute("placeholder",mxResources.get("allTags"));m.setAttribute("type","text");m.style.marginTop="4px";m.style.width="240px";m.style.fontSize="12px";m.style.borderRadius="4px";m.style.padding="6px";k.appendChild(m);mxEvent.addListener(m,"dblclick",function(){var b=new FilenameDialog(a,h,mxResources.get("ok"),
- mxUtils.bind(this,function(a){null!=a&&0<a.length&&(h=a)}),mxResources.get("enterPropertyName"));a.showDialog(b.container,300,80,!0,!0);b.init()});m.setAttribute("title",mxResources.get("doubleClickChangeProperty"));mxUtils.br(k);var n=mxUtils.button(mxResources.get("hide"),function(){l(g(),!1)});n.setAttribute("title",mxResources.get("hide"));n.style.marginTop="8px";n.style.marginRight="4px";n.style.backgroundColor="#f5f5f5";n.style.backgroundImage="none";n.className="geBtn";k.appendChild(n);n=mxUtils.button(mxResources.get("show"),
- function(){var a=g();l(a,!0);e.setSelectionCells(a)});n.setAttribute("title",mxResources.get("show"));n.style.marginTop="8px";n.style.marginRight="4px";n.style.backgroundColor="#f5f5f5";n.style.backgroundImage="none";n.className="geBtn";k.appendChild(n);var p=a.actions.get("tags"),n=mxUtils.button(mxResources.get("close"),function(){p.funct()});n.setAttribute("title",mxResources.get("close")+" (Enter/Esc)");n.style.marginTop="8px";n.style.backgroundColor="#4d90fe";n.style.backgroundImage="none";n.className=
- "geBtn gePrimaryBtn";k.appendChild(n);mxEvent.addListener(m,"keyup",function(a){13!=a.keyCode&&27!=a.keyCode||p.funct()});this.window=new mxWindow(mxResources.get("tags"),k,b,c,d,f,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!1);this.window.setClosable(!0);this.window.addListener("show",mxUtils.bind(this,function(){this.window.isVisible()?(m.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?m.select():document.execCommand("selectAll",
- !1,null)):e.container.focus()}))},AuthDialog=function(a,b,c,d){var f=document.createElement("div");f.style.textAlign="center";var g=document.createElement("p");g.style.fontSize="16pt";g.style.padding="0px";g.style.margin="0px";g.style.color="gray";mxUtils.write(g,mxResources.get("authorizationRequired"));var l="Unknown",e=document.createElement("img");e.setAttribute("border","0");e.setAttribute("align","absmiddle");e.style.marginRight="10px";b==a.drive?(l=mxResources.get("googleDrive"),e.src=IMAGE_PATH+
- "/google-drive-logo-white.svg"):b==a.dropbox?(l=mxResources.get("dropbox"),e.src=IMAGE_PATH+"/dropbox-logo-white.svg"):b==a.oneDrive?(l=mxResources.get("oneDrive"),e.src=IMAGE_PATH+"/onedrive-logo-white.svg"):b==a.gitHub&&(l=mxResources.get("github"),e.src=IMAGE_PATH+"/github-logo-white.svg");a=document.createElement("p");mxUtils.write(a,mxResources.get("authorizeThisAppIn",[l]));var h=document.createElement("input");h.setAttribute("type","checkbox");l=mxUtils.button(mxResources.get("authorize"),
- function(){d(h.checked)});l.insertBefore(e,l.firstChild);l.style.marginTop="6px";l.className="geBigButton";f.appendChild(g);f.appendChild(a);f.appendChild(l);c&&(c=document.createElement("p"),c.style.marginTop="20px",c.appendChild(h),g=document.createElement("span"),mxUtils.write(g," "+mxResources.get("rememberMe")),c.appendChild(g),f.appendChild(c),h.checked=!0,h.defaultChecked=!0,mxEvent.addListener(g,"click",function(a){h.checked=!h.checked;mxEvent.consume(a)}));this.container=f},MoreShapesDialog=
- function(a,b,c){c=null!=c?c:a.sidebar.entries;var d=document.createElement("div");if(b){b=document.createElement("div");b.className="geDialogTitle";mxUtils.write(b,mxResources.get("shapes"));b.style.position="absolute";b.style.top="0px";b.style.left="0px";b.style.lineHeight="40px";b.style.height="40px";b.style.right="0px";mxClient.IS_QUIRKS&&(b.style.width="718px");var f=document.createElement("div"),g=document.createElement("div");f.style.position="absolute";f.style.top="40px";f.style.left="0px";
- f.style.width="202px";f.style.bottom="60px";f.style.overflow="auto";mxClient.IS_QUIRKS&&(f.style.height="437px",f.style.marginTop="1px");g.style.position="absolute";g.style.left="202px";g.style.right="0px";g.style.top="40px";g.style.bottom="60px";g.style.overflow="auto";g.style.borderLeft="1px solid rgb(211, 211, 211)";g.style.textAlign="center";mxClient.IS_QUIRKS&&(g.style.width=parseInt(b.style.width)-202+"px",g.style.height=f.style.height,g.style.marginTop=f.style.marginTop);var l=null,e=[],h=
- document.createElement("div");h.style.position="relative";h.style.left="0px";h.style.right="0px";for(var k=0;k<c.length;k++)(function(b){var c=h.cloneNode(!1);c.style.fontWeight="bold";c.style.backgroundColor="#e5e5e5";c.style.padding="6px 0px 6px 20px";mxUtils.write(c,b.title);f.appendChild(c);for(var d=0;d<b.entries.length;d++)(function(b){var c=h.cloneNode(!1);c.style.cursor="pointer";c.style.padding="4px 0px 4px 20px";var m=document.createElement("input");m.setAttribute("type","checkbox");m.checked=
- a.sidebar.isEntryVisible(b.id);m.defaultChecked=m.checked;c.appendChild(m);mxUtils.write(c," "+b.title);f.appendChild(c);var n=function(a){if(null==a||"INPUT"!=mxEvent.getSource(a).nodeName)null!=b.imageCallback?b.imageCallback(g):null!=b.image?g.innerHTML='<img border="0" src="'+b.image+'"/>':(g.innerHTML="<br>",mxUtils.write(g,mxResources.get("noPreview"))),null!=l&&(l.style.backgroundColor=""),l=c,l.style.backgroundColor="#ebf2f9",null!=a&&mxEvent.consume(a)};mxEvent.addListener(c,"click",n);mxEvent.addListener(c,
- "dblclick",function(a){m.checked=!m.checked;mxEvent.consume(a)});e.push(function(){return m.checked?b.id:null});0==k&&0==d&&n()})(b.entries[d])})(c[k]);d.style.padding="30px";d.appendChild(b);d.appendChild(f);d.appendChild(g);c=document.createElement("div");c.className="geDialogFooter";c.style.position="absolute";c.style.paddingRight="16px";c.style.color="gray";c.style.left="0px";c.style.right="0px";c.style.bottom="0px";c.style.height="60px";c.style.lineHeight="52px";mxClient.IS_QUIRKS&&(c.style.width=
- b.style.width,c.style.paddingTop="12px");var m=document.createElement("input");m.setAttribute("type","checkbox");if(isLocalStorage||mxClient.IS_CHROMEAPP)b=document.createElement("span"),b.style.paddingRight="20px",b.appendChild(m),mxUtils.write(b," "+mxResources.get("rememberThisSetting")),m.checked=!0,m.defaultChecked=!0,mxEvent.addListener(b,"click",function(a){mxEvent.getSource(a)!=m&&(m.checked=!m.checked,mxEvent.consume(a))}),mxClient.IS_QUIRKS&&(b.style.position="relative",b.style.top="-6px"),
- c.appendChild(b);b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});b.className="geBtn";var n=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();for(var b=[],c=0;c<e.length;c++){var d=e[c].apply(this,arguments);null!=d&&b.push(d)}a.sidebar.showEntries(b.join(";"),m.checked,!0)});n.className="geBtn gePrimaryBtn"}else{var p=document.createElement("table"),t=document.createElement("tbody");d.style.height="100%";d.style.overflow="auto";var q=document.createElement("tr");
- p.style.width="100%";b=document.createElement("td");var n=document.createElement("td"),w=document.createElement("td"),u=mxUtils.bind(this,function(b,e,c){var d=document.createElement("input");d.type="checkbox";p.appendChild(d);d.checked=a.sidebar.isEntryVisible(c);var h=document.createElement("span");mxUtils.write(h,e);e=document.createElement("div");e.style.display="block";e.appendChild(d);e.appendChild(h);mxEvent.addListener(h,"click",function(a){d.checked=!d.checked;mxEvent.consume(a)});b.appendChild(e);
- return function(){return d.checked?c:null}});q.appendChild(b);q.appendChild(n);q.appendChild(w);t.appendChild(q);p.appendChild(t);for(var e=[],x=0,k=0;k<c.length;k++)for(t=0;t<c[k].entries.length;t++)x++;for(var v=[b,n,w],z=0,k=0;k<c.length;k++)(function(a){for(var b=0;b<a.entries.length;b++){var c=a.entries[b];e.push(u(v[Math.floor(z/(x/3))],c.title,c.id));z++}})(c[k]);d.appendChild(p);c=document.createElement("div");c.style.marginTop="18px";c.style.textAlign="center";m=document.createElement("input");
- isLocalStorage&&(m.setAttribute("type","checkbox"),m.checked=!0,m.defaultChecked=!0,c.appendChild(m),b=document.createElement("span"),mxUtils.write(b," "+mxResources.get("rememberThisSetting")),c.appendChild(b),mxEvent.addListener(b,"click",function(a){m.checked=!m.checked;mxEvent.consume(a)}));d.appendChild(c);b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});b.className="geBtn";n=mxUtils.button(mxResources.get("apply"),function(){for(var b=["search"],c=0;c<e.length;c++){var d=
- e[c].apply(this,arguments);null!=d&&b.push(d)}a.sidebar.showEntries(0<b.length?b.join(";"):"",m.checked);a.hideDialog()});n.className="geBtn gePrimaryBtn";c=document.createElement("div");c.style.marginTop="26px";c.style.textAlign="right"}a.editor.cancelFirst?(c.appendChild(b),c.appendChild(n)):(c.appendChild(n),c.appendChild(b));d.appendChild(c);this.container=d},PluginsDialog=function(a){function b(){if(0==f.length)d.innerHTML=mxResources.get("noPlugins");else{d.innerHTML="";for(var e=0;e<f.length;e++){var c=
- document.createElement("span");c.style.whiteSpace="nowrap";var h=document.createElement("span");h.className="geSprite geSprite-delete";h.style.position="relative";h.style.cursor="pointer";h.style.top="5px";h.style.marginRight="4px";h.style.display="inline-block";c.appendChild(h);mxUtils.write(c,f[e]);d.appendChild(c);mxUtils.br(d);mxEvent.addListener(h,"click",function(e){return function(){a.confirm(window.parent.mxResources.get("delete")+' "'+f[e]+'"?',function(){f.splice(e,1);b()})}}(e))}}}var c=
- document.createElement("div"),d=document.createElement("div");d.style.height="120px";d.style.overflow="auto";var f=mxSettings.getPlugins().slice();c.appendChild(d);b();var g=mxUtils.button(mxResources.get("add"),function(){var e="",c=urlParams.p;if(null!=c&&0<c.length){for(var d=c.split(";"),c=0;c<d.length;c++){var h=App.pluginRegistry[d[c]];null!=h&&(e+=h+";")}";"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1))}e=new FilenameDialog(a,e,mxResources.get("add"),function(a){if(null!=a&&0<a.length){d=
- a.split(";");for(a=0;a<d.length;a++)0<d[a].length&&0>mxUtils.indexOf(f,d[a])&&f.push(d[a]);b()}},mxResources.get("enterValue")+" ("+mxResources.get("url")+")");a.showDialog(e.container,300,80,!0,!0);e.init()});g.className="geBtn";var l=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});l.className="geBtn";var e=mxUtils.button(mxResources.get("apply"),function(){mxSettings.setPlugins(f);mxSettings.save();a.hideDialog();a.alert(mxResources.get("restartForChangeRequired"))});e.className=
- "geBtn gePrimaryBtn";var h=document.createElement("div");h.style.marginTop="14px";h.style.textAlign="right";a.editor.cancelFirst?(h.appendChild(l),h.appendChild(g),h.appendChild(e)):(h.appendChild(g),h.appendChild(e),h.appendChild(l));c.appendChild(h);this.container=c},CropImageDialog=function(a,b,c){var d=document.createElement("div"),f=document.createElement("table"),g=document.createElement("tbody"),l=document.createElement("tr"),e=document.createElement("td"),h=document.createElement("td");f.style.paddingLeft=
- "6px";mxUtils.write(e,mxResources.get("left")+":");var k=document.createElement("input");k.setAttribute("type","text");k.style.width="100px";k.value="0";this.init=function(){k.focus();k.select()};h.appendChild(k);l.appendChild(e);l.appendChild(h);g.appendChild(l);l=document.createElement("tr");e=document.createElement("td");h=document.createElement("td");mxUtils.write(e,mxResources.get("top")+":");var m=document.createElement("input");m.setAttribute("type","text");m.style.width="100px";m.value="0";
- h.appendChild(m);l.appendChild(e);l.appendChild(h);g.appendChild(l);l=document.createElement("tr");e=document.createElement("td");h=document.createElement("td");mxUtils.write(e,mxResources.get("right")+":");var n=document.createElement("input");n.setAttribute("type","text");n.style.width="100px";n.value="0";h.appendChild(n);l.appendChild(e);l.appendChild(h);g.appendChild(l);l=document.createElement("tr");e=document.createElement("td");h=document.createElement("td");mxUtils.write(e,mxResources.get("bottom")+
- ":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px";p.value="0";h.appendChild(p);l.appendChild(e);l.appendChild(h);g.appendChild(l);l=document.createElement("tr");e=document.createElement("td");h=document.createElement("td");mxUtils.write(e,mxResources.get("circle")+":");l.appendChild(e);var t=document.createElement("input");t.setAttribute("type","checkbox");h.appendChild(t);l.appendChild(h);g.appendChild(l);f.appendChild(g);d.appendChild(f);var f=mxUtils.button(mxResources.get("cancel"),
- function(){a.hideDialog()}),q=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var e=document.createElement("canvas"),d=e.getContext("2d"),h=new Image;h.onload=function(){var a=h.width,b=h.height,f=parseInt(k.value),g=parseInt(m.value),a=Math.max(1,a-f-parseInt(n.value)),b=Math.max(1,b-g-parseInt(p.value));e.width=a;e.height=b;t.checked&&(d.fillStyle="#000000",d.arc(a/2,b/2,Math.min(a/2,b/2),0,2*Math.PI),d.fill(),d.globalCompositeOperation="source-in");d.drawImage(h,f,g,a,b,0,0,a,
- b);c(e.toDataURL())};h.src=b});mxEvent.addListener(d,"keypress",function(a){13==a.keyCode&&q.click()});g=document.createElement("div");g.style.marginTop="20px";g.style.textAlign="right";a.editor.cancelFirst?(g.appendChild(f),g.appendChild(q)):(g.appendChild(q),g.appendChild(f));d.appendChild(g);this.container=d},EditGeometryDialog=function(a,b){var c=a.editor.graph,d=1==b.length?c.getCellGeometry(b[0]):null,f=document.createElement("div"),g=document.createElement("table"),l=document.createElement("tbody"),
- e=document.createElement("tr"),h=document.createElement("td"),k=document.createElement("td");g.style.paddingLeft="6px";mxUtils.write(h,mxResources.get("left")+":");var m=document.createElement("input");m.setAttribute("type","text");m.style.width="100px";m.value=null!=d?d.x:"";this.init=function(){m.focus();m.select()};k.appendChild(m);e.appendChild(h);e.appendChild(k);l.appendChild(e);e=document.createElement("tr");h=document.createElement("td");k=document.createElement("td");mxUtils.write(h,mxResources.get("top")+
- ":");var n=document.createElement("input");n.setAttribute("type","text");n.style.width="100px";n.value=null!=d?d.y:"";k.appendChild(n);e.appendChild(h);e.appendChild(k);l.appendChild(e);e=document.createElement("tr");h=document.createElement("td");k=document.createElement("td");mxUtils.write(h,mxResources.get("width")+":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px";p.value=null!=d?d.width:"";k.appendChild(p);e.appendChild(h);e.appendChild(k);l.appendChild(e);
- e=document.createElement("tr");h=document.createElement("td");k=document.createElement("td");mxUtils.write(h,mxResources.get("height")+":");var t=document.createElement("input");t.setAttribute("type","text");t.style.width="100px";t.value=null!=d?d.height:"";k.appendChild(t);e.appendChild(h);e.appendChild(k);l.appendChild(e);e=document.createElement("tr");h=document.createElement("td");k=document.createElement("td");mxUtils.write(h,mxResources.get("rotation")+":");var q=document.createElement("input");
- q.setAttribute("type","text");q.style.width="100px";q.value=1==b.length?mxUtils.getValue(c.getCellStyle(b[0]),mxConstants.STYLE_ROTATION,0):"";k.appendChild(q);e.appendChild(h);e.appendChild(k);l.appendChild(e);g.appendChild(l);f.appendChild(g);var d=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()}),w=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();c.getModel().beginUpdate();try{for(var e=0;e<b.length;e++){var d=c.getCellGeometry(b[e]);null!=d&&(d=d.clone(),c.isCellMovable(b[e])&&
- (0<mxUtils.trim(m.value).length&&(d.x=Number(m.value)),0<mxUtils.trim(n.value).length&&(d.y=Number(n.value))),c.isCellResizable(b[e])&&(0<mxUtils.trim(p.value).length&&(d.width=Number(p.value)),0<mxUtils.trim(t.value).length&&(d.height=Number(t.value))),c.getModel().setGeometry(b[e],d));0<mxUtils.trim(q.value).length&&c.setCellStyles(mxConstants.STYLE_ROTATION,Number(q.value),[b[e]])}}finally{c.getModel().endUpdate()}});mxEvent.addListener(f,"keypress",function(a){13==a.keyCode&&w.click()});g=document.createElement("div");
- g.style.marginTop="20px";g.style.textAlign="right";a.editor.cancelFirst?(g.appendChild(d),g.appendChild(w)):(g.appendChild(w),g.appendChild(d));f.appendChild(g);this.container=f},LibraryDialog=function(a,b,c,d,f,g){function l(a){for(a=document.elementFromPoint(a.clientX,a.clientY);null!=a&&a.parentNode!=t;)a=a.parentNode;var b=null;if(null!=a)for(var e=t.firstChild,b=0;null!=e&&e!=a;)e=e.nextSibling,b++;return b}function e(b,c,d,h,k,f,g,n,x){try{if(null==c||"image/"==c.substring(0,6))if(null==b&&
- null!=g||null==w[b]){var p=function(){D.innerHTML="";D.style.cursor="pointer";D.style.whiteSpace="nowrap";D.style.textOverflow="ellipsis";mxUtils.write(D,null!=M.title&&0<M.title.length?M.title:mxResources.get("untitled"));D.style.color=null==M.title||0==M.title.length?"#d0d0d0":""};t.style.backgroundImage="";q.style.display="none";var A=k,B=f;if(k>a.maxImageSize||f>a.maxImageSize){var E=Math.min(1,Math.min(a.maxImageSize/Math.max(1,k)),a.maxImageSize/Math.max(1,f));k*=E;f*=E}A>B?(B=Math.round(100*
- B/A),A=100):(A=Math.round(100*A/B),B=100);var G=document.createElement("div");G.setAttribute("draggable","true");G.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";G.style.position="relative";G.style.cursor="move";mxUtils.setPrefixedStyle(G.style,"transition","transform .1s ease-in-out");if(null!=b){var y=document.createElement("img");y.setAttribute("src",z.convert(b));y.style.width=A+"px";y.style.height=B+"px";y.style.margin="10px";y.style.paddingBottom=Math.floor((100-B)/2)+"px";y.style.paddingLeft=
- Math.floor((100-A)/2)+"px";G.appendChild(y)}else if(null!=g){var F=a.stringToCells(a.editor.graph.decompress(g.xml));0<F.length&&(a.sidebar.createThumb(F,100,100,G,null,!0,!1),G.firstChild.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",G.firstChild.style.cursor="")}var I=document.createElement("img");I.setAttribute("src",Editor.closeImage);I.setAttribute("border","0");I.setAttribute("title",mxResources.get("delete"));I.setAttribute("align","top");I.style.paddingTop="4px";I.style.marginLeft=
- "-22px";I.style.cursor="pointer";mxEvent.addListener(I,"dragstart",function(a){mxEvent.consume(a)});null==b&&null!=g&&(I.style.position="relative");(function(a,b,e){mxEvent.addListener(I,"click",function(c){w[b]=null;for(var d=0;d<m.length;d++)if(null!=m[d].data&&m[d].data==b||null!=m[d].xml&&null!=e&&m[d].xml==e.xml){m.splice(d,1);break}G.parentNode.removeChild(a);0==m.length&&(t.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')",q.style.display="");mxEvent.consume(c)});mxEvent.addListener(I,
- "dblclick",function(a){mxEvent.consume(a)})})(G,b,g);G.appendChild(I);G.style.marginBottom="30px";var D=document.createElement("div");D.style.position="absolute";D.style.boxSizing="border-box";D.style.bottom="-18px";D.style.left="10px";D.style.right="10px";D.style.backgroundColor="#ffffff";D.style.overflow="hidden";D.style.textAlign="center";var M=null;null!=b?(M={data:b,w:k,h:f,title:x},null!=n&&(M.aspect=n),w[b]=y,m.push(M)):null!=g&&(g.aspect="fixed",m.push(g),M=g);mxEvent.addListener(D,"keydown",
- function(a){13==a.keyCode&&null!=v&&(v(),v=null,mxEvent.consume(a))});p();G.appendChild(D);mxEvent.addListener(D,"mousedown",function(a){"true"!=D.getAttribute("contentEditable")&&mxEvent.consume(a)});F=function(b){if(mxClient.IS_IOS||mxClient.IS_QUIRKS||mxClient.IS_FF||!(null==document.documentMode||9<document.documentMode)){var e=new FilenameDialog(a,M.title||"",mxResources.get("ok"),function(a){null!=a&&(M.title=a,p())},mxResources.get("enterValue"));a.showDialog(e.container,300,80,!0,!0);e.init();
- mxEvent.consume(b)}else if("true"!=D.getAttribute("contentEditable")){null!=v&&(v(),v=null);if(null==M.title||0==M.title.length)D.innerHTML="";D.style.textOverflow="";D.style.whiteSpace="";D.style.cursor="text";D.style.color="";D.setAttribute("contentEditable","true");D.focus();document.execCommand("selectAll",!1,null);v=function(){D.removeAttribute("contentEditable");D.style.cursor="pointer";M.title=D.innerHTML;p()};mxEvent.consume(b)}};mxEvent.addListener(D,"click",F);mxEvent.addListener(G,"dblclick",
- F);t.appendChild(G);mxEvent.addListener(G,"dragstart",function(a){null==b&&null!=g&&(I.style.visibility="hidden",D.style.visibility="hidden");mxClient.IS_FF&&null!=g.xml&&a.dataTransfer.setData("Text",g.xml);u=l(a);mxClient.IS_GC&&(G.style.opacity="0.9");window.setTimeout(function(){mxUtils.setPrefixedStyle(G.style,"transform","scale(0.5,0.5)");mxUtils.setOpacity(G,30);I.style.visibility="";D.style.visibility=""},0)});mxEvent.addListener(G,"dragend",function(a){"hidden"==I.style.visibility&&(I.style.visibility=
- "",D.style.visibility="");u=null;mxUtils.setOpacity(G,100);mxUtils.setPrefixedStyle(G.style,"transform",null)})}else C||(C=!0,a.handleError({message:mxResources.get("fileExists")}));else{k=!1;try{if(a.spinner.stop(),A=mxUtils.parseXml(b),"mxlibrary"==A.documentElement.nodeName){B=JSON.parse(mxUtils.getTextContent(A.documentElement));if(null!=B&&0<B.length)for(var H=0;H<B.length;H++)null!=B[H].xml?e(null,null,0,0,0,0,B[H]):e(B[H].data,null,0,0,B[H].w,B[H].h,null,"fixed",B[H].title);k=!0}else if("mxfile"==
- A.documentElement.nodeName){for(var K=A.documentElement.getElementsByTagName("diagram"),H=0;H<K.length;H++){var B=mxUtils.getTextContent(K[H]),F=a.stringToCells(a.editor.graph.decompress(B)),S=a.editor.graph.getBoundingBoxFromGeometry(F);e(null,null,0,0,0,0,{xml:B,w:S.width,h:S.height})}k=!0}}catch(X){}k||(a.spinner.stop(),a.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(X){}return null}function h(a){a.dataTransfer.dropEffect=null!=u?"move":"copy";a.stopPropagation();a.preventDefault()}
- function k(b){b.stopPropagation();b.preventDefault();C=!1;x=l(b);if(null!=u)null!=x&&x<t.children.length?(m.splice(x>u?x-1:x,0,m.splice(u,1)[0]),t.insertBefore(t.children[u],t.children[x])):(m.push(m.splice(u,1)[0]),t.appendChild(t.children[u]));else if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxImageSize,E(b));else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var c=decodeURIComponent(b.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(c)||
- /(\.png)($|\?)/i.test(c)||/(\.gif)($|\?)/i.test(c)||/(\.svg)($|\?)/i.test(c))&&a.loadImage(c,function(a){e(c,null,0,0,a.width,a.height);t.scrollTop=t.scrollHeight})}b.stopPropagation();b.preventDefault()}var m=[];c=document.createElement("div");c.style.height="100%";var n=document.createElement("div");n.style.whiteSpace="nowrap";n.style.height="40px";c.appendChild(n);mxUtils.write(n,mxResources.get("filename")+":");null==b&&(b=a.defaultLibraryName+".xml");var p=document.createElement("input");p.setAttribute("value",
- b);p.style.marginRight="20px";p.style.marginLeft="10px";p.style.width="500px";null==f||f.isRenamable()||p.setAttribute("disabled","true");this.init=function(){if(null==f||f.isRenamable())p.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?p.select():document.execCommand("selectAll",!1,null)};n.appendChild(p);var t=document.createElement("div");t.style.borderWidth="1px 0px 1px 0px";t.style.borderColor="#d3d3d3";t.style.borderStyle="solid";t.style.marginTop="6px";t.style.overflow=
- "auto";t.style.height="340px";t.style.backgroundPosition="center center";t.style.backgroundRepeat="no-repeat";0==m.length&&Graph.fileSupport&&(t.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')");var q=document.createElement("div");q.style.position="absolute";q.style.width="640px";q.style.top="260px";q.style.textAlign="center";q.style.fontSize="22px";q.style.color="#a0c3ff";mxUtils.write(q,mxResources.get("dragImagesHere"));c.appendChild(q);var w={},u=null,x=null,v=null;b=function(a){"true"!=
- mxEvent.getSource(a).getAttribute("contentEditable")&&null!=v&&(v(),v=null,mxEvent.consume(a))};mxEvent.addListener(t,"mousedown",b);mxEvent.addListener(t,"pointerdown",b);mxEvent.addListener(t,"touchstart",b);var z=new mxUrlConverter,C=!1;if(null!=d)for(b=0;b<d.length;b++)n=d[b],e(n.data,null,0,0,n.w,n.h,n,n.aspect,n.title);mxEvent.addListener(t,"dragleave",function(a){q.style.cursor="";for(var b=mxEvent.getSource(a);null!=b;){if(b==t||b==q){a.stopPropagation();a.preventDefault();break}b=b.parentNode}});
- var E=function(b){return function(c,d,h,k,f,g,m,w,n){null!=n&&!a.isOffline()&&(new XMLHttpRequest).upload&&a.isRemoteFileFormat(c,n.name)?a.parseFile(n,mxUtils.bind(this,function(c){4==c.readyState&&(a.spinner.stop(),200<=c.status&&299>=c.status&&(e(c.responseText,d,h,k,f,g,m,"fixed",mxEvent.isAltDown(b)?null:m.substring(0,m.lastIndexOf(".")).replace(/_/g," ")),t.scrollTop=t.scrollHeight))})):(e(c,d,h,k,f,g,m,"fixed",mxEvent.isAltDown(b)?null:m.substring(0,m.lastIndexOf(".")).replace(/_/g," ")),t.scrollTop=
- t.scrollHeight)}};mxEvent.addListener(t,"dragover",h);mxEvent.addListener(t,"drop",k);mxEvent.addListener(q,"dragover",h);mxEvent.addListener(q,"drop",k);c.appendChild(t);d=document.createElement("div");d.style.textAlign="right";d.style.marginTop="20px";b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)});b.setAttribute("id","btnCancel");b.className="geBtn";a.editor.cancelFirst&&d.appendChild(b);n=mxUtils.button(mxResources.get("export"),function(){var b=a.createLibraryDataFromImages(m),
- e=p.value;/(\.xml)$/i.test(e)||(e+=".xml");a.isLocalFileSave()?a.saveLocalFile(b,e,"text/xml",null,null,!0):(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(e)+"&format=xml&xml="+encodeURIComponent(b))).simulate(document,"_blank")});n.setAttribute("id","btnDownload");n.className="geBtn";d.appendChild(n);var y=document.createElement("input");y.setAttribute("multiple","multiple");y.setAttribute("type","file");null==document.documentMode&&(mxEvent.addListener(y,"change",function(b){C=!1;a.importFiles(y.files,
- 0,0,a.maxImageSize,function(a,e,c,d,h,k,f,g,m){E(b)(a,e,c,d,h,k,f,g,m);y.value=""});t.scrollTop=t.scrollHeight}),n=mxUtils.button(mxResources.get("import"),function(){null!=v&&(v(),v=null);y.click()}),n.setAttribute("id","btnAddImage"),n.className="geBtn",d.appendChild(n));n=mxUtils.button(mxResources.get("addImageUrl"),function(){null!=v&&(v(),v=null);a.showImageDialog(mxResources.get("addImageUrl"),"",function(a,b,c){C=!1;if(null!=a){if("data:image/"==a.substring(0,11)){var d=a.indexOf(",");0<d&&
- (a=a.substring(0,d)+";base64,"+a.substring(d+1))}e(a,null,0,0,b,c);t.scrollTop=t.scrollHeight}})});n.setAttribute("id","btnAddImageUrl");n.className="geBtn";d.appendChild(n);this.saveBtnClickHandler=function(b,e,c,d){a.saveLibrary(b,e,c,d)};n=mxUtils.button(mxResources.get("save"),mxUtils.bind(this,function(){null!=v&&(v(),v=null);this.saveBtnClickHandler(p.value,m,f,g)}));n.setAttribute("id","btnSave");n.className="geBtn gePrimaryBtn";d.appendChild(n);a.editor.cancelFirst||d.appendChild(b);c.appendChild(d);
- this.container=c},EditShapeDialog=function(a,b,c,d,f){d=null!=d?d:300;f=null!=f?f:120;var g,l,e=document.createElement("table"),h=document.createElement("tbody");e.style.cellPadding="4px";g=document.createElement("tr");l=document.createElement("td");l.setAttribute("colspan","2");l.style.fontSize="10pt";mxUtils.write(l,c);g.appendChild(l);h.appendChild(g);g=document.createElement("tr");l=document.createElement("td");var k=document.createElement("textarea");k.style.outline="none";k.style.resize="none";
- k.style.width=d-200+"px";k.style.height=f+"px";this.textarea=k;this.init=function(){k.focus();k.scrollTop=0};l.appendChild(k);g.appendChild(l);l=document.createElement("td");c=document.createElement("div");c.style.position="relative";c.style.border="1px solid gray";c.style.top="6px";c.style.width="200px";c.style.height=f+4+"px";c.style.overflow="hidden";c.style.marginBottom="16px";mxEvent.disableContextMenu(c);l.appendChild(c);var m=new Graph(c);m.setEnabled(!1);var n=a.editor.graph.cloneCells([b])[0];
- m.addCells([n]);c=m.view.getState(n);var p="";null!=c.shape&&null!=c.shape.stencil&&(p=mxUtils.getPrettyXml(c.shape.stencil.desc));mxUtils.write(k,p||"");c=m.getGraphBounds();f=Math.min(160/c.width,(f-40)/c.height);m.view.scaleAndTranslate(f,20/f-c.x,20/f-c.y);g.appendChild(l);h.appendChild(g);g=document.createElement("tr");l=document.createElement("td");l.setAttribute("colspan","2");l.style.paddingTop="2px";l.style.whiteSpace="nowrap";l.setAttribute("align","right");f=mxUtils.button(mxResources.get("cancel"),
- function(){a.hideDialog()});f.className="geBtn";a.editor.cancelFirst&&l.appendChild(f);a.isOffline()||(c=mxUtils.button(mxResources.get("help"),function(){window.open("https://desk.draw.io/support/solutions/articles/16000052874")}),c.className="geBtn",l.appendChild(c));var t=function(b,e,c){var d=k.value,h=mxUtils.parseXml(d),d=mxUtils.getPrettyXml(h.documentElement),h=h.documentElement.getElementsByTagName("parsererror");if(null!=h&&0<h.length)a.showError(mxResources.get("error"),mxResources.get("containsValidationErrors"),
- mxResources.get("ok"));else if(c&&a.hideDialog(),h=!b.model.contains(e),!c||h||d!=p){d=a.editor.graph.compress(d);b.getModel().beginUpdate();try{if(h){var f=a.editor.graph.getInsertPoint();e.geometry.x=f.x;e.geometry.y=f.y;b.addCell(e)}b.setCellStyles(mxConstants.STYLE_SHAPE,"stencil("+d+")",[e])}catch(C){throw C;}finally{b.getModel().endUpdate()}h&&b.setSelectionCell(e)}};c=mxUtils.button(mxResources.get("preview"),function(){t(m,n,!1)});c.className="geBtn";l.appendChild(c);c=mxUtils.button(mxResources.get("apply"),
- function(){t(a.editor.graph,b,!0)});c.className="geBtn gePrimaryBtn";l.appendChild(c);a.editor.cancelFirst||l.appendChild(f);g.appendChild(l);h.appendChild(g);e.appendChild(h);this.container=e},CustomDialog=function(a,b,c,d,f,g){var l=document.createElement("div");l.appendChild(b);b=document.createElement("div");b.style.marginTop="16px";b.style.textAlign="right";var e=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d()});e.className="geBtn";a.editor.cancelFirst&&b.appendChild(e);
- if(!a.isOffline()&&null!=g){var h=mxUtils.button(mxResources.get("help"),function(){window.open(g)});h.className="geBtn";b.appendChild(h)}f=mxUtils.button(f||mxResources.get("ok"),function(){a.hideDialog();null!=c&&c()});b.appendChild(f);f.className="geBtn gePrimaryBtn";a.editor.cancelFirst||b.appendChild(e);l.appendChild(b);this.cancelBtn=e;this.okButton=f;this.container=l};(function(){Editor.prototype.appName="draw.io";Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
- IMAGE_PATH+"/delete.png";Editor.plusImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDdCMTdENjVCOEM4MTFFNDlCRjVBNDdCODU5NjNBNUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDdCMTdENjZCOEM4MTFFNDlCRjVBNDdCODU5NjNBNUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowN0IxN0Q2M0I4QzgxMUU0OUJGNUE0N0I4NTk2M0E1QyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowN0IxN0Q2NEI4QzgxMUU0OUJGNUE0N0I4NTk2M0E1QyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtjrjmgAAAAtSURBVHjaYvz//z8DMigvLwcLdHZ2MiKLMzEQCaivkLGsrOw/dU0cAr4GCDAARQsQbTFrv10AAAAASUVORK5CYII=":
- IMAGE_PATH+"/plus.png";Editor.spinImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDAAMAPUxAEVriVp7lmCAmmGBm2OCnGmHn3OPpneSqYKbr4OcsIScsI2kto6kt46lt5KnuZmtvpquvpuvv56ywaCzwqK1xKu7yay9yq+/zLHAzbfF0bjG0bzJ1LzK1MDN18jT28nT3M3X3tHa4dTc49Xd5Njf5dng5t3k6d/l6uDm6uru8e7x8/Dz9fT29/b4+Pj5+fj5+vr6+v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkKADEAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAADAAMAAAGR8CYcEgsOgYAIax4CCQuQldrCBEsiK8VS2hoFGOrlJDA+cZQwkLnqyoJFZKviSS0ICrE0ec0jDAwIiUeGyBFGhMPFBkhZo1BACH5BAkKAC4ALAAAAAAMAAwAhVB0kFR3k1V4k2CAmmWEnW6Lo3KOpXeSqH2XrIOcsISdsImhtIqhtJCmuJGnuZuwv52wwJ+ywZ+ywqm6yLHBzbLCzrXEz7fF0LnH0rrI0r7L1b/M1sXR2cfT28rV3czW3s/Z4Nfe5Nvi6ODm6uLn6+Ln7OLo7OXq7efs7+zw8u/y9PDy9PX3+Pr7+////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZDQJdwSCxGDAIAoVFkFBwYSyIwGE4OkCJxIdG6WkJEx8sSKj7elfBB0a5SQg1EQ0SVVMPKhDM6iUIkRR4ZFxsgJl6JQQAh+QQJCgAxACwAAAAADAAMAIVGa4lcfZdjgpxkg51nhp5ui6N3kqh5lKqFnbGHn7KIoLOQp7iRp7mSqLmTqbqarr6br7+fssGitcOitcSuvsuuv8uwwMyzw861xNC5x9K6x9K/zNbDztjE0NnG0drJ1NzQ2eDS2+LT2+LV3ePZ4Oba4ebb4ufc4+jm6+7t8PLt8PPt8fPx8/Xx9PX09vf19/j3+Pn///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGQ8CYcEgsUhQFggFSjCQmnE1jcBhqGBXiIuAQSi7FGEIgfIzCFoCXFCZiPO0hKBMiwl7ET6eUYqlWLkUnISImKC1xbUEAIfkECQoAMgAsAAAAAAwADACFTnKPT3KPVHaTYoKcb4yjcY6leZSpf5mtgZuvh5+yiqG0i6K1jqW3kae5nrHBnrLBn7LCoLPCobTDqbrIqrvIs8LOtMPPtcPPtcTPuMbRucfSvcrUvsvVwMzWxdHaydTcytXdzNbezdff0drh2ODl2+Ln3eTp4Obq4ujs5Ont5uvu6O3w6u7w6u7x7/L09vj5+vr7+vv7////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkdAmXBILHIcicOCUqxELKKPxKAYgiYd4oMAEWo8RVmjIMScwhmBcJMKXwLCECmMGAhPI1QRwBiaSixCMDFhLSorLi8wYYxCQQAh+QQJCgAxACwAAAAADAAMAIVZepVggJphgZtnhp5vjKN2kah3kqmBmq+KobSLorWNpLaRp7mWq7ybr7+gs8KitcSktsWnuManucexwM2ywc63xtG6yNO9ytS+ytW/zNbDz9jH0tvL1d3N197S2+LU3OPU3ePV3eTX3+Xa4efb4ufd5Onl6u7r7vHs7/Lt8PLw8/Xy9Pby9fb09ff2+Pn3+Pn6+vr///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGSMCYcEgseiwSR+RS7GA4JFGF8RiWNiEiJTERgkjFGAQh/KTCGoJwpApnBkITKrwoCFWnFlEhaAxXLC9CBwAGRS4wQgELYY1CQQAh+QQJCgAzACwAAAAADAAMAIVMcI5SdZFhgZtti6JwjaR4k6mAma6Cm6+KobSLorWLo7WNo7aPpredsMCescGitMOitcSmuMaqu8ixwc2zws63xdC4xtG5x9K9ytXAzdfCztjF0NnF0drK1d3M1t7P2N/P2eDT2+LX3+Xe5Onh5+vi5+vj6Ozk6e3n7O/o7O/q7vHs7/Lt8PPu8fPx8/X3+Pn6+vv7+/v8/Pz///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRcCZcEgsmkIbTOZTLIlGqZNnchm2SCgiJ6IRqljFmQUiXIVnoITQde4chC9Y+LEQxmTFRkFSNFAqDAMIRQoCAAEEDmeLQQAh+QQJCgAwACwAAAAADAAMAIVXeZRefplff5lhgZtph59yjqV2kaeAmq6FnbGFnrGLorWNpLaQp7mRqLmYrb2essGgs8Klt8apusitvcquv8u2xNC7yNO8ydS8ytTAzdfBzdfM1t7N197Q2eDU3OPX3+XZ4ObZ4ebc4+jf5erg5erg5uvp7fDu8fPv8vTz9fb09vf19/j3+Pn4+fn5+vr6+/v///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRUCYcEgspkwjEKhUVJ1QsBNp0xm2VixiSOMRvlxFGAcTJook5eEHIhQcwpWIkAFQECkNy9AQWFwyEAkPRQ4FAwQIE2llQQAh+QQJCgAvACwAAAAADAAMAIVNcY5SdZFigptph6BvjKN0kKd8lquAmq+EnbGGn7KHn7ONpLaOpbearr+csMCdscCescGhtMOnuMauvsuzws60w862xdC9ytW/y9a/zNbCztjG0drH0tvK1N3M1t7N19/U3ePb4uff5urj6Ozk6e3l6u7m6u7o7PDq7vDt8PPv8vTw8vTw8/X19vf6+vv///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGQ8CXcEgsvlytVUplJLJIpSEDUESFTELBwSgCCQEV42kjDFiMo4uQsDB2MkLHoEHUTD7DRAHC8VAiZ0QSCgYIDxhNiUEAOw==":
- IMAGE_PATH+"/spin.gif";Editor.tweetImage=IMAGE_PATH+"/tweet.png";Editor.facebookImage=IMAGE_PATH+"/facebook.png";Editor.blankImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==";Editor.hiResImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAA+CAMAAACLMWy1AAAAh1BMVEUAAABMTExERERBQUFBQUFFRUVAQEBCQkJAQEA6OjpDQ0NKSkpBQUFBQUFERERERERBQUFCQkJCQkJCQkJJSUlBQUFCQkJDQ0NDQ0NCQkJDQ0NBQUFBQUFCQkJBQUFCQkJCQkJDQ0NCQkJHR0dBQUFCQkJCQkJAQEBCQkJDQ0NAQEBERERCQkIk1hS2AAAAKnRSTlMAAjj96BL7PgQFRwfu3TYazKuVjRXl1V1DPCn1uLGjnWNVIgy9hU40eGqPkM38AAACG0lEQVRYw+2X63KbMBCFzwZblgGDceN74muatpLe//m6MHV3gHGFAv2RjM94MAbxzdnVsQbBDKwH8AH8MDAyafzjqYeyOG04XE7RS8nIRDXg6BlT+rA0nmtAPh+NQRDxIASIMG44rAMrGunBgHwy3uUldxggIStGKp2f+DQc2O4h4eQsX3O2IFB/oEbsjOKbStnjAEA+zJ0ylZTbgvoDn8xNyn6Dbj5Kd4GsNpABa6duQPfSdEj88TgMAhKuCWjAkgmFXPLnsD0pWd3OFGdrMugQII/eOMPEiGOzqPMIeWrcSoMCg71W1pXBPvCP+gS/OdXqQ3uW23+93XGWLl/OaBb805bNcBPoEIcVJsnHzcxpZH86u5KZ9gDby5dQCcnKqdbke4ItI4Tzd7IW9hZQt4EO6GG9b9sYuuK9Wwn8TIr2xKbF2+3Nhr+qxChJ/AI6pIfCu4z4Zowp4ZUNihz79vewzctnHDwTvQO/hCdFBzrUGDOPn2Y/F8YKT4oOATLvlhOznzmBSdFBJWtc58y7r+UVFOCQczy3wpN6pegDqHtsCPTGvH9JuTO0Dyg8icldYPk+RB6g8Aofj4m2EKBvtTmUPD9xDd1pPcSReV2U5iD/ik2yrngtvvqBfPzOvKiDTKTsCdoHZJ7pLLffgTwlJ5vJdtJV2/jiAYaLvLGhMAEDO5QcDg2M/jOw/8Zn+K3ZwJvHT7ZffgC/NvA3zcybTeIfE4EAAAAASUVORK5CYII=":
- IMAGE_PATH+"/img-hi-res.png";Editor.loResImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAA+CAMAAACLMWy1AAAAS1BMVEVAQEAAAAA1NTVBQUFDQ0NDQ0NFRUVERERBQUFBQUFBQUFAQEBBQUFBQUFCQkJCQkJCQkJBQUFCQkJDQ0NDQ0NCQkJCQkJCQkJGRkb5/XqTAAAAGXRSTlP+AAWODlASCsesX+Lc2LyWe3pwa1tCPjohjSJfoAAAAI1JREFUWMPt1MkKhTAMRuG0anvneXr/J71nUypKcdqI/N8yhLMKMZE1CahnClDQzMPB44ED3EgeCubgDWnWQMHpwTtKwTe+UHD4sJ94wbUEHHFGhILlYDeSnsQeabeCgsPBgB0MOZZ9oGA5GJFiJSfUULAfjLjARrhCwX7wh2YCDwVbwZkUBKqFFJRN+wOcwSgR2sREcgAAAABJRU5ErkJggg==":
- IMAGE_PATH+"/img-lo-res.png";Editor.defaultCustomLibraries=[];Editor.defaultCsvValue='##\n## Example CSV import. Use ## for comments and # for configuration. Paste CSV below.\n## The following names are reserved and should not be used (or ignored):\n## id, tooltip, placeholder(s), link and label (see below)\n##\n#\n## Node label with placeholders and HTML.\n## Default is \'%name_of_first_column%\'.\n#\n# label: %name%<br><i style="color:gray;">%position%</i><br><a href="mailto:%email%">Email</a>\n#\n## Node style (placeholders are replaced once).\n## Default is the current style for nodes.\n#\n# style: label;image=%image%;whiteSpace=wrap;html=1;rounded=1;fillColor=%fill%;strokeColor=%stroke%;\n#\n## Uses the given column name as the identity for cells (updates existing cells).\n## Default is no identity (empty value or -).\n#\n# identity: -\n#\n## Connections between rows ("from": source colum, "to": target column).\n## Label, style and invert are optional. Defaults are \'\', current style and false.\n## The target column may contain a comma-separated list of values.\n## Multiple connect entries are allowed.\n#\n# connect: {"from": "manager", "to": "name", "invert": true, "label": "manages", \\\n# "style": "curved=1;endArrow=blockThin;endFill=1;fontSize=11;"}\n# connect: {"from": "refs", "to": "id", "style": "curved=1;fontSize=11;"}\n#\n## Node width. Possible value are px or auto. Default is auto.\n#\n# width: auto\n#\n## Node height. Possible value are px or auto. Default is auto.\n#\n# height: auto\n#\n## Padding for autosize. Default is 0.\n#\n# padding: -26\n#\n## Comma-separated list of ignored columns for metadata. (These can be\n## used for connections and styles but will not be added as metadata.)\n#\n# ignore: id,image,fill,stroke\n#\n## Column to be renamed to link attribute (used as link).\n#\n# link: url\n#\n## Spacing between nodes. Default is 40.\n#\n# nodespacing: 40\n#\n## Spacing between parallel edges. Default is 40.\n#\n# edgespacing: 40\n#\n## Name of layout. Possible values are auto, none, verticaltree, horizontaltree,\n## verticalflow, horizontalflow, organic, circle. Default is auto.\n#\n# layout: auto\n#\n## ---- CSV below this line. First line are column names. ----\nname,position,id,location,manager,email,fill,stroke,refs,url,image\nEvan Miller,CFO,emi,Office 1,,me@example.com,#dae8fc,#6c8ebf,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-9-2-128.png\nEdward Morrison,Brand Manager,emo,Office 2,Evan Miller,me@example.com,#d5e8d4,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-10-3-128.png\nRon Donovan,System Admin,rdo,Office 3,Evan Miller,me@example.com,#d5e8d4,#82b366,"emo,tva",https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-2-128.png\nTessa Valet,HR Director,tva,Office 4,Evan Miller,me@example.com,#d5e8d4,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-3-128.png\n';
- Editor.configure=function(a){if(null!=a){Menus.prototype.defaultFonts=a.defaultFonts||Menus.prototype.defaultFonts;ColorDialog.prototype.presetColors=a.presetColors||ColorDialog.prototype.presetColors;ColorDialog.prototype.defaultColors=a.defaultColors||ColorDialog.prototype.defaultColors;StyleFormatPanel.prototype.defaultColorSchemes=a.defaultColorSchemes||StyleFormatPanel.prototype.defaultColorSchemes;if(null!=a.css){var b=document.createElement("style");b.setAttribute("type","text/css");b.appendChild(document.createTextNode(a.css));
- var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(b,e)}null!=a.defaultLibraries&&(Sidebar.prototype.defaultEntries=a.defaultLibraries);null!=a.defaultCustomLibraries&&(Editor.defaultCustomLibraries=a.defaultCustomLibraries);null!=a.defaultVertexStyle&&(Graph.prototype.defaultVertexStyle=a.defaultVertexStyle);null!=a.defaultEdgeStyle&&(Graph.prototype.defaultEdgeStyle=a.defaultEdgeStyle);a.emptyDiagramXml&&(EditorUi.prototype.emptyDiagramXml=a.emptyDiagramXml);a.thumbWidth&&
- (Sidebar.prototype.thumbWidth=a.thumbWidth);a.thumbHeight&&(Sidebar.prototype.thumbHeight=a.thumbHeight);a.emptyLibraryXml&&(EditorUi.prototype.emptyLibraryXml=a.emptyLibraryXml);a.sidebarWidth&&(EditorUi.prototype.hsplitPosition=a.sidebarWidth);a.fontCss&&(b=document.createElement("style"),b.setAttribute("type","text/css"),b.appendChild(document.createTextNode(a.fontCss)),e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(b,e),Editor.prototype.fontCss=a.fontCss);if(null!=a.plugins)for(App.initPluginCallback(),
- b=0;b<a.plugins.length;b++)mxscript(a.plugins[b])}};Editor.prototype.editButtonLink=null!=urlParams.edit?decodeURIComponent(urlParams.edit):null;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="&dev=1",Editor.prototype.editBlankFallbackUrl+="&dev=1");var a=Editor.prototype.setGraphXml;Editor.prototype.setGraphXml=function(b){b=null!=b&&"mxlibrary"!=b.nodeName?this.extractGraphModel(b):null;if(null!=b){var e=b.getElementsByTagName("parsererror");if(null!=e&&0<e.length){var e=e[0],c=e.getElementsByTagName("div");
- null!=c&&0<c.length&&(e=c[0]);throw{message:mxUtils.getTextContent(e)};}if("mxGraphModel"==b.nodeName){e=b.getAttribute("style")||"default-style2";if("1"==urlParams.embed||null!=e&&""!=e)e!=this.graph.currentStyle&&(c=null!=this.graph.themes?this.graph.themes[e]:mxUtils.load(STYLE_PATH+"/"+e+".xml").getDocumentElement(),null!=c&&(d=new mxCodec(c.ownerDocument),d.decode(c,this.graph.getStylesheet())));else if(c=null!=this.graph.themes?this.graph.themes["default-old"]:mxUtils.load(STYLE_PATH+"/default-old.xml").getDocumentElement(),
- null!=c){var d=new mxCodec(c.ownerDocument);d.decode(c,this.graph.getStylesheet())}this.graph.currentStyle=e;this.graph.mathEnabled="1"==urlParams.math||"1"==b.getAttribute("math");e=b.getAttribute("backgroundImage");null!=e?(e=JSON.parse(e),this.graph.setBackgroundImage(new mxImage(e.src,e.width,e.height))):this.graph.setBackgroundImage(null);mxClient.NO_FO=this.graph.mathEnabled?!0:this.originalNoForeignObject;this.graph.setShadowVisible("1"==b.getAttribute("shadow"),!1)}a.apply(this,arguments)}else throw{message:mxResources.get("notADiagramFile")||
- "Invalid data",toString:function(){return this.message}};};var b=Editor.prototype.getGraphXml;Editor.prototype.getGraphXml=function(a){a=null!=a?a:!0;var e=b.apply(this,arguments);null!=this.graph.currentStyle&&"default-style2"!=this.graph.currentStyle&&e.setAttribute("style",this.graph.currentStyle);null!=this.graph.backgroundImage&&e.setAttribute("backgroundImage",JSON.stringify(this.graph.backgroundImage));e.setAttribute("math",this.graph.mathEnabled?"1":"0");e.setAttribute("shadow",this.graph.shadowVisible?
- "1":"0");return e};Editor.prototype.isDataSvg=function(a){try{var b=mxUtils.parseXml(a).documentElement.getAttribute("content");if(null!=b&&(null!=b&&"<"!=b.charAt(0)&&"%"!=b.charAt(0)&&(b=unescape(window.atob?atob(b):Base64.decode(cont,b))),null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b)),null!=b&&0<b.length)){var e=mxUtils.parseXml(b).documentElement;return"mxfile"==e.nodeName||"mxGraphModel"==e.nodeName}}catch(x){}return!1};Editor.prototype.extractGraphModel=function(a,b){if(null!=a&&"undefined"!==
- typeof pako){var e=a.ownerDocument.getElementsByTagName("div"),c=[];if(null!=e&&0<e.length)for(var d=0;d<e.length;d++)if("mxgraph"==e[d].getAttribute("class")){c.push(e[d]);break}0<c.length&&(e=c[0].getAttribute("data-mxgraph"),null!=e?(c=JSON.parse(e),null!=c&&null!=c.xml&&(c=mxUtils.parseXml(c.xml),a=c.documentElement)):(c=c[0].getElementsByTagName("div"),0<c.length&&(e=mxUtils.getTextContent(c[0]),e=this.graph.decompress(e),0<e.length&&(c=mxUtils.parseXml(e),a=c.documentElement))))}if(null!=a&&
- "svg"==a.nodeName)if(e=a.getAttribute("content"),null!=e&&"<"!=e.charAt(0)&&"%"!=e.charAt(0)&&(e=unescape(window.atob?atob(e):Base64.decode(cont,e))),null!=e&&"%"==e.charAt(0)&&(e=decodeURIComponent(e)),null!=e&&0<e.length)a=mxUtils.parseXml(e).documentElement;else throw{message:mxResources.get("notADiagramFile")};null==a||b||(c=null,"diagram"==a.nodeName?c=a:"mxfile"==a.nodeName&&(e=a.getElementsByTagName("diagram"),0<e.length&&(c=e[Math.max(0,Math.min(e.length-1,urlParams.page||0))])),null!=c&&
- (e=this.graph.decompress(mxUtils.getTextContent(c)),null!=e&&0<e.length&&(a=mxUtils.parseXml(e).documentElement)));null==a||"mxGraphModel"==a.nodeName||b&&"mxfile"==a.nodeName||(a=null);return a};var c=Editor.prototype.resetGraph;Editor.prototype.resetGraph=function(){this.graph.mathEnabled="1"==urlParams.math;this.graph.view.x0=null;this.graph.view.y0=null;mxClient.NO_FO=this.graph.mathEnabled?!0:this.originalNoForeignObject;c.apply(this,arguments)};Editor.prototype.originalNoForeignObject=mxClient.NO_FO;
- var d=Editor.prototype.updateGraphComponents;Editor.prototype.updateGraphComponents=function(){d.apply(this,arguments);mxClient.NO_FO=this.graph.mathEnabled&&null!=Editor.MathJaxRender?!0:this.originalNoForeignObject};Editor.initMath=function(a,b){a=null!=a?a:"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_HTMLorMML";Editor.mathJaxQueue=[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,
- messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});MathJax.Hub.Register.StartupHook("Begin",function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};
- Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};var e=Editor.prototype.init;Editor.prototype.init=function(){e.apply(this,arguments);this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};var c=document.getElementsByTagName("script");if(null!=c&&0<c.length){var d=
- document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.prototype.csvToArray=function(a){if(!/^\s*(?:'[^'\\]*(?:\\[\S\s][^'\\]*)*'|"[^"\\]*(?:\\[\S\s][^"\\]*)*"|[^,'"\s\\]*(?:\s+[^,'"\s\\]+)*)\s*(?:,\s*(?:'[^'\\]*(?:\\[\S\s][^'\\]*)*'|"[^"\\]*(?:\\[\S\s][^"\\]*)*"|[^,'"\s\\]*(?:\s+[^,'"\s\\]+)*)\s*)*$/.test(a))return null;var b=[];a.replace(/(?!\s*$)\s*(?:'([^'\\]*(?:\\[\S\s][^'\\]*)*)'|"([^"\\]*(?:\\[\S\s][^"\\]*)*)"|([^,'"\s\\]*(?:\s+[^,'"\s\\]+)*))\s*(?:,|$)/g,
- function(a,e,c,d){void 0!==e?b.push(e.replace(/\\'/g,"'")):void 0!==c?b.push(c.replace(/\\"/g,'"')):void 0!==d&&b.push(d);return""});/,\s*$/.test(a)&&b.push("");return b};if(window.ColorDialog){var f=ColorDialog.addRecentColor;ColorDialog.addRecentColor=function(a,b){f.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()};var g=ColorDialog.resetRecentColors;ColorDialog.resetRecentColors=function(){g.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);
- mxSettings.save()}}if(null!=window.StyleFormatPanel){var l=Format.prototype.init;Format.prototype.init=function(){l.apply(this,arguments);this.editorUi.editor.addListener("fileLoaded",this.update)};var e=Format.prototype.refresh;Format.prototype.refresh=function(){null!=this.editorUi.getCurrentFile()||"1"==urlParams.embed?e.apply(this,arguments):this.clear()};var h=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(a){a=h.apply(this,arguments);var b=this.editorUi;
- if(b.editor.graph.isEnabled()){var e=b.getCurrentFile();null!=e&&e.isAutosaveOptional()&&(e=this.createOption(mxResources.get("autosave"),function(){return b.editor.autosave},function(a){b.editor.setAutosave(a)},{install:function(a){this.listener=function(){a(b.editor.autosave)};b.editor.addListener("autosaveChanged",this.listener)},destroy:function(){b.editor.removeListener(this.listener)}}),a.appendChild(e))}return a};StyleFormatPanel.prototype.defaultColorSchemes=[[null,{fill:"#f5f5f5",stroke:"#666666"},
- {fill:"#dae8fc",stroke:"#6c8ebf"},{fill:"#d5e8d4",stroke:"#82b366"},{fill:"#ffe6cc",stroke:"#d79b00"},{fill:"#fff2cc",stroke:"#d6b656"},{fill:"#f8cecc",stroke:"#b85450"},{fill:"#e1d5e7",stroke:"#9673a6"}],[null,{fill:"#f5f5f5",stroke:"#666666",gradient:"#b3b3b3"},{fill:"#dae8fc",stroke:"#6c8ebf",gradient:"#7ea6e0"},{fill:"#d5e8d4",stroke:"#82b366",gradient:"#97d077"},{fill:"#ffcd28",stroke:"#d79b00",gradient:"#ffa500"},{fill:"#fff2cc",stroke:"#d6b656",gradient:"#ffd966"},{fill:"#f8cecc",stroke:"#b85450",
- gradient:"#ea6b66"},{fill:"#e6d0de",stroke:"#996185",gradient:"#d5739d"}],[null,{fill:"#eeeeee",stroke:"#36393d"},{fill:"#f9f7ed",stroke:"#36393d"},{fill:"#ffcc99",stroke:"#36393d"},{fill:"#cce5ff",stroke:"#36393d"},{fill:"#ffff88",stroke:"#36393d"},{fill:"#cdeb8b",stroke:"#36393d"},{fill:"#ffcccc",stroke:"#36393d"}]];var k=StyleFormatPanel.prototype.init;StyleFormatPanel.prototype.init=function(){"image"!=this.format.createSelectionState().style.shape&&this.container.appendChild(this.addStyles(this.createPanel()));
- k.apply(this,arguments)};var m=StyleFormatPanel.prototype.addStyleOps;StyleFormatPanel.prototype.addStyleOps=function(a){var b=mxUtils.button(mxResources.get("copyStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("copyStyle").funct()}));b.setAttribute("title",mxResources.get("copyStyle")+" ("+this.editorUi.actions.get("copyStyle").shortcut+")");b.style.marginBottom="2px";b.style.width="100px";b.style.marginRight="2px";a.appendChild(b);b=mxUtils.button(mxResources.get("pasteStyle"),mxUtils.bind(this,
- function(a){this.editorUi.actions.get("pasteStyle").funct()}));b.setAttribute("title",mxResources.get("pasteStyle")+" ("+this.editorUi.actions.get("pasteStyle").shortcut+")");b.style.marginBottom="2px";b.style.width="100px";a.appendChild(b);mxUtils.br(a);return m.apply(this,arguments)};StyleFormatPanel.prototype.addStyles=function(a){function b(a){function b(a){var b=mxUtils.button("",function(b){c.getModel().beginUpdate();try{var e=c.getSelectionCells();for(b=0;b<e.length;b++){for(var d=c.getModel().getStyle(e[b]),
- k=0;k<h.length;k++)d=mxUtils.removeStylename(d,h[k]);null!=a?(d=mxUtils.setStyle(d,mxConstants.STYLE_FILLCOLOR,a.fill),d=mxUtils.setStyle(d,mxConstants.STYLE_STROKECOLOR,a.stroke),d=mxUtils.setStyle(d,mxConstants.STYLE_GRADIENTCOLOR,a.gradient)):(d=mxUtils.setStyle(d,mxConstants.STYLE_FILLCOLOR,"#ffffff"),d=mxUtils.setStyle(d,mxConstants.STYLE_STROKECOLOR,"#000000"),d=mxUtils.setStyle(d,mxConstants.STYLE_GRADIENTCOLOR,null));c.getModel().setStyle(e[b],d)}}finally{c.getModel().endUpdate()}});b.style.width=
- "36px";b.style.height="30px";b.style.margin="0px 6px 6px 0px";null!=a?(null!=a.gradient?mxClient.IS_IE&&(mxClient.IS_QUIRKS||10>document.documentMode)?b.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr='"+a.fill+"', EndColorStr='"+a.gradient+"', GradientType=0)":b.style.backgroundImage="linear-gradient("+a.fill+" 0px,"+a.gradient+" 100%)":b.style.backgroundColor=a.fill,b.style.border="1px solid "+a.stroke):(b.style.backgroundColor="#ffffff",b.style.border="1px solid #000000");
- d.appendChild(b)}d.innerHTML="";for(var e=0;e<a.length;e++)0<e&&0==mxUtils.mod(e,4)&&mxUtils.br(d),b(a[e])}function e(a){mxEvent.addListener(a,"mouseenter",function(){a.style.opacity="1"});mxEvent.addListener(a,"mouseleave",function(){a.style.opacity="0.5"})}var c=this.editorUi.editor.graph,d=document.createElement("div");d.style.whiteSpace="normal";d.style.paddingLeft="24px";d.style.paddingRight="20px";a.style.paddingLeft="16px";a.style.paddingBottom="6px";a.style.position="relative";a.appendChild(d);
- var h="plain-gray plain-blue plain-green plain-turquoise plain-orange plain-yellow plain-red plain-pink plain-purple gray blue green turquoise orange yellow red pink purple".split(" ");null==this.editorUi.currentScheme&&(this.editorUi.currentScheme=0);var k=document.createElement("div");k.style.cssText="position:absolute;left:10px;top:8px;bottom:8px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ4eHh3d3d1dXVxcXF2dnZ2dnZ2dnZxcXF2dnYmb3w1AAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADRJREFUCNdjwACMAmBKaiGYs2oJmLPKAZ3DabU8AMRTXpUKopislqFyVzCAuUZgikkBZjoAcMYLnp53P/UAAAAASUVORK5CYII=);";
- mxEvent.addListener(k,"click",mxUtils.bind(this,function(){this.editorUi.currentScheme=mxUtils.mod(this.editorUi.currentScheme-1,this.defaultColorSchemes.length);b(this.defaultColorSchemes[this.editorUi.currentScheme])}));var f=document.createElement("div");f.style.cssText="position:absolute;left:202px;top:8px;bottom:8px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYBuwCcAAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADZJREFUCNdjQAOMAmBKaiGY8loF5rKswsZlrVo8AUiFrTICcbIWK8A5DF1gDoMymMPApIAwHwCS0Qx/U7qCBQAAAABJRU5ErkJggg==);";
- 1<this.defaultColorSchemes.length&&(a.appendChild(k),a.appendChild(f));mxEvent.addListener(f,"click",mxUtils.bind(this,function(){this.editorUi.currentScheme=mxUtils.mod(this.editorUi.currentScheme+1,this.defaultColorSchemes.length);b(this.defaultColorSchemes[this.editorUi.currentScheme])}));e(k);e(f);b(this.defaultColorSchemes[this.editorUi.currentScheme]);return a};StyleFormatPanel.prototype.addEditOps=function(a){var b=this.format.getSelectionState(),e=null;1==this.editorUi.editor.graph.getSelectionCount()&&
- (e=mxUtils.button(mxResources.get("editStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editStyle").funct()})),e.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").shortcut+")"),e.style.width="202px",e.style.marginBottom="2px",a.appendChild(e));var c=this.editorUi.editor.graph,d=c.view.getState(c.getSelectionCell());1==c.getSelectionCount()&&null!=d&&null!=d.shape&&null!=d.shape.stencil?(b=mxUtils.button(mxResources.get("editShape"),mxUtils.bind(this,
- function(a){this.editorUi.actions.get("editShape").funct()})),b.setAttribute("title",mxResources.get("editShape")),b.style.marginBottom="2px",null==e?b.style.width="202px":(e.style.width="100px",b.style.width="100px",b.style.marginLeft="2px"),a.appendChild(b)):b.image&&(b=mxUtils.button(mxResources.get("editImage"),mxUtils.bind(this,function(a){this.editorUi.actions.get("image").funct()})),b.setAttribute("title",mxResources.get("editImage")),b.style.marginBottom="2px",null==e?b.style.width="202px":
- (e.style.width="100px",b.style.width="100px",b.style.marginLeft="2px"),a.appendChild(b));return a}}Graph.prototype.defaultThemeName="default-style2";Graph.prototype.lastPasteXml=null;Graph.prototype.pasteCounter=0;Graph.prototype.defaultScrollbars="0"!=urlParams.sb;Graph.prototype.defaultPageVisible="0"!=urlParams.pv;Graph.prototype.shadowId="dropShadow";Graph.prototype.edgeMode="move"!=urlParams.edge;var n=Graph.prototype.init;Graph.prototype.init=function(){function a(a){b=a;if(mxClient.IS_QUIRKS||
- 7==document.documentMode||8==document.documentMode)b=mxUtils.clone(a)}n.apply(this,arguments);var b=null;mxEvent.addListener(this.container,"mouseenter",a);mxEvent.addListener(this.container,"mousemove",a);mxEvent.addListener(this.container,"mouseleave",function(a){b=null});this.isMouseInsertPoint=function(){return null!=b};var e=this.getInsertPoint;this.getInsertPoint=function(){return null!=b?this.getPointForEvent(b):e.apply(this,arguments)};var c=this.layoutManager.getLayout;this.layoutManager.getLayout=
- function(a){var b=this.graph.view.getState(a),b=null!=b?b.style:this.graph.getCellStyle(a);if("undefined"!=typeof mxRackContainer&&"rack"==b.childLayout){var e=new mxStackLayout(this.graph,!1);e.setChildGeometry=function(a,b){b.height=Math.max(b.height,20);if(1<b.height/20){var e=b.height%20;b.height+=10<e?20-e:-e}this.graph.getModel().setGeometry(a,b)};e.fill=!0;e.unitSize=mxRackContainer.unitSize|20;e.marginLeft=b.marginLeft||0;e.marginRight=b.marginRight||0;e.marginTop=b.marginTop||0;e.marginBottom=
- b.marginBottom||0;e.resizeParent=!1;return e}return c.apply(this,arguments)}};var p=Graph.prototype.loadStylesheet;Graph.prototype.loadStylesheet=function(){p.apply(this,arguments);this.currentStyle="default-style2"};Graph.prototype.isPageLink=function(a){return null!=a&&"data:page/"==a.substring(0,10)};Graph.prototype.addSvgShadow=function(a,b,e){e=null!=e?e:!1;var c=a.ownerDocument,d=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"filter"):c.createElement("filter");d.setAttribute("id",
- this.shadowId);var h=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):c.createElement("feGaussianBlur");h.setAttribute("in","SourceAlpha");h.setAttribute("stdDeviation","1.7");h.setAttribute("result","blur");d.appendChild(h);h=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"feOffset"):c.createElement("feOffset");h.setAttribute("in","blur");h.setAttribute("dx","3");h.setAttribute("dy","3");h.setAttribute("result","offsetBlur");d.appendChild(h);h=null!=c.createElementNS?
- c.createElementNS(mxConstants.NS_SVG,"feFlood"):c.createElement("feFlood");h.setAttribute("flood-color","#3D4574");h.setAttribute("flood-opacity","0.4");h.setAttribute("result","offsetColor");d.appendChild(h);h=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"feComposite"):c.createElement("feComposite");h.setAttribute("in","offsetColor");h.setAttribute("in2","offsetBlur");h.setAttribute("operator","in");h.setAttribute("result","offsetBlur");d.appendChild(h);h=null!=c.createElementNS?
- c.createElementNS(mxConstants.NS_SVG,"feBlend"):c.createElement("feBlend");h.setAttribute("in","SourceGraphic");h.setAttribute("in2","offsetBlur");d.appendChild(h);h=a.getElementsByTagName("defs");0==h.length?(c=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"defs"):c.createElement("defs"),null!=a.firstChild?a.insertBefore(c,a.firstChild):a.appendChild(c)):c=h[0];c.appendChild(d);e||((b||a.getElementsByTagName("g")[0]).setAttribute("filter","url(#"+this.shadowId+")"),isNaN(parseInt(a.getAttribute("width")))||
- (a.setAttribute("width",parseInt(a.getAttribute("width"))+6),a.setAttribute("height",parseInt(a.getAttribute("height"))+6)));return d};Graph.prototype.setShadowVisible=function(a,b){mxClient.IS_SVG&&(b=null!=b?b:!0,(this.shadowVisible=a)?this.view.getDrawPane().setAttribute("filter","url(#"+this.shadowId+")"):this.view.getDrawPane().removeAttribute("filter"),b&&this.fireEvent(new mxEventObject("shadowVisibleChanged")))};Graph.prototype.selectUnlockedLayer=function(){if(null==this.defaultParent){var a=
- this.model.getChildCount(this.model.root),b,e=0;do b=this.model.getChildAt(this.model.root,e);while(e++<a&&"1"==mxUtils.getValue(this.getCellStyle(b),"locked","0"));null!=b&&this.setDefaultParent(b)}};mxStencilRegistry.libraries.mockup=[SHAPES_PATH+"/mockup/mxMockupButtons.js"];mxStencilRegistry.libraries.arrows2=[SHAPES_PATH+"/mxArrows.js"];mxStencilRegistry.libraries.atlassian=[STENCIL_PATH+"/atlassian.xml"];mxStencilRegistry.libraries.bpmn=[SHAPES_PATH+"/bpmn/mxBpmnShape2.js",STENCIL_PATH+"/bpmn.xml"];
- mxStencilRegistry.libraries.er=[SHAPES_PATH+"/er/mxER.js"];mxStencilRegistry.libraries.ios=[SHAPES_PATH+"/mockup/mxMockupiOS.js"];mxStencilRegistry.libraries.rackGeneral=[SHAPES_PATH+"/rack/mxRack.js",STENCIL_PATH+"/rack/general.xml"];mxStencilRegistry.libraries.rackF5=[STENCIL_PATH+"/rack/f5.xml"];mxStencilRegistry.libraries.lean_mapping=[SHAPES_PATH+"/mxLeanMap.js",STENCIL_PATH+"/lean_mapping.xml"];mxStencilRegistry.libraries.basic=[SHAPES_PATH+"/mxBasic.js",STENCIL_PATH+"/basic.xml"];mxStencilRegistry.libraries.ios7icons=
- [STENCIL_PATH+"/ios7/icons.xml"];mxStencilRegistry.libraries.ios7ui=[SHAPES_PATH+"/ios7/mxIOS7Ui.js",STENCIL_PATH+"/ios7/misc.xml"];mxStencilRegistry.libraries.android=[SHAPES_PATH+"/mxAndroid.js",STENCIL_PATH+"/android/android.xml"];mxStencilRegistry.libraries["electrical/transmission"]=[SHAPES_PATH+"/mxElectrical.js",STENCIL_PATH+"/electrical/transmission.xml"];mxStencilRegistry.libraries["mockup/buttons"]=[SHAPES_PATH+"/mockup/mxMockupButtons.js"];mxStencilRegistry.libraries["mockup/containers"]=
- [SHAPES_PATH+"/mockup/mxMockupContainers.js"];mxStencilRegistry.libraries["mockup/forms"]=[SHAPES_PATH+"/mockup/mxMockupForms.js"];mxStencilRegistry.libraries["mockup/graphics"]=[SHAPES_PATH+"/mockup/mxMockupGraphics.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/markup"]=[SHAPES_PATH+"/mockup/mxMockupMarkup.js"];mxStencilRegistry.libraries["mockup/misc"]=[SHAPES_PATH+"/mockup/mxMockupMisc.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/navigation"]=
- [SHAPES_PATH+"/mockup/mxMockupNavigation.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/text"]=[SHAPES_PATH+"/mockup/mxMockupText.js"];mxStencilRegistry.libraries.floorplan=[SHAPES_PATH+"/mxFloorplan.js",STENCIL_PATH+"/floorplan.xml"];mxStencilRegistry.libraries.bootstrap=[SHAPES_PATH+"/mxBootstrap.js",STENCIL_PATH+"/bootstrap.xml"];mxStencilRegistry.libraries.gmdl=[SHAPES_PATH+"/mxGmdl.js",STENCIL_PATH+"/gmdl.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",
- STENCIL_PATH+"/cabinets.xml"];mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];
- mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=function(a){var b=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?b="mxgraph.er":"sysML"==a.substring(0,5)&&(b="mxgraph.sysml"));return b};
- var t=mxMarker.createMarker;mxMarker.createMarker=function(a,b,e,c,d,h,k,f,g,m){if(null!=e&&null==mxMarker.markers[e]){var n=this.getPackageForType(e);null!=n&&mxStencilRegistry.getStencil(n)}return t.apply(this,arguments)};PrintDialog.prototype.create=function(a,b){function e(){p.value=Math.max(1,Math.min(f,Math.max(parseInt(p.value),parseInt(l.value))));l.value=Math.max(1,Math.min(f,Math.min(parseInt(p.value),parseInt(l.value))))}function c(b){function e(b,e,d){var h=b.getGraphBounds(),k=0,f=0,
- m=V.get(),g=1/b.pageScale,n=K.checked;if(n)var g=parseInt(O.value),w=parseInt(R.value),g=Math.min(m.height*w/(h.height/b.view.scale),m.width*g/(h.width/b.view.scale));else g=parseInt(H.value)/(100*b.pageScale),isNaN(g)&&(c=1/b.pageScale,H.value="100 %");m=mxRectangle.fromRectangle(m);m.width=Math.ceil(m.width*c);m.height=Math.ceil(m.height*c);g*=c;!n&&b.pageVisible?(h=b.getPageLayout(),k-=h.x*m.width,f-=h.y*m.height):n=!0;if(null==e){e=PrintDialog.createPrintPreview(b,g,m,0,k,f,n);e.pageSelector=
- !1;e.mathEnabled=!1;b=a.getCurrentFile();null!=b&&(e.title=b.getTitle());var u=e.writeHead;e.writeHead=function(b){u.apply(this,arguments);null!=a.editor.fontCss&&(b.writeln('<style type="text/css">'),b.writeln(a.editor.fontCss),b.writeln("</style>"))};if("undefined"!==typeof MathJax){var l=e.renderPage;e.renderPage=function(a,b,e,c,d,h){var k=l.apply(this,arguments);this.graph.mathEnabled?this.mathEnabled=!0:k.className="geDisableMathJax";return k}}e.open(null,null,d,!0)}else{m=b.background;if(null==
- m||""==m||m==mxConstants.NONE)m="#ffffff";e.backgroundColor=m;e.autoOrigin=n;e.appendGraph(b,g,k,f,d,!0)}return e}var c=parseInt(S.value)/100;isNaN(c)&&(c=1,S.value="100 %");var c=.75*c,h=l.value,k=p.value,f=!n.checked,m=null;f&&(f=h==g&&k==g);if(!f&&null!=a.pages&&a.pages.length){var w=0,f=a.pages.length-1;n.checked||(w=parseInt(h)-1,f=parseInt(k)-1);for(var u=w;u<=f;u++){var t=a.pages[u],h=t==a.currentPage?d:null;if(null==h){var h=a.createTemporaryGraph(d.getStylesheet()),k=!0,w=!1,q=null,x=null;
- null==t.viewState&&null==t.mapping&&null==t.root&&a.updatePageRoot(t);null!=t.viewState?(k=t.viewState.pageVisible,w=t.viewState.mathEnabled,q=t.viewState.background,x=t.viewState.backgroundImage):null!=t.mapping&&null!=t.mapping.diagramMap&&(w="0"!=t.mapping.diagramMap.get("mathEnabled"),q=t.mapping.diagramMap.get("background"),x=t.mapping.diagramMap.get("backgroundImage"),x=null!=x&&0<x.length?JSON.parse(x):null);h.background=q;h.backgroundImage=null!=x?new mxImage(x.src,x.width,x.height):null;
- h.pageVisible=k;h.mathEnabled=w;var v=h.getGlobalVariable;h.getGlobalVariable=function(a){return"page"==a?t.getName():"pagenumber"==a?u+1:v.apply(this,arguments)};document.body.appendChild(h.container);a.updatePageRoot(t);h.model.setRoot(t.root)}m=e(h,m,u!=f);h!=d&&h.container.parentNode.removeChild(h.container)}}else m=e(d);m.mathEnabled&&(f=m.wnd.document,f.writeln('<script type="text/x-mathjax-config">'),f.writeln("MathJax.Hub.Config({"),f.writeln('messageStyle: "none",'),f.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),
- f.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),f.writeln("TeX: {"),f.writeln('extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]'),f.writeln("},"),f.writeln("tex2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("},"),f.writeln("asciimath2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("}"),f.writeln("});"),b&&(f.writeln("MathJax.Hub.Queue(function () {"),f.writeln("window.print();"),f.writeln("});")),f.writeln("\x3c/script>"),
- f.writeln('<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js">\x3c/script>'));m.closeDocument();!m.mathEnabled&&b&&PrintDialog.printPreview(m)}var d=a.editor.graph,h=document.createElement("div"),k=document.createElement("h3");k.style.width="100%";k.style.textAlign="center";k.style.marginTop="0px";mxUtils.write(k,b||mxResources.get("print"));h.appendChild(k);var f=1,g=1,m=document.createElement("div");m.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";
- var n=document.createElement("input");n.style.cssText="margin-right:8px;margin-bottom:8px;";n.setAttribute("value","all");n.setAttribute("type","radio");n.setAttribute("name","pages-printdialog");m.appendChild(n);k=document.createElement("span");mxUtils.write(k,mxResources.get("printAllPages"));m.appendChild(k);mxUtils.br(m);var w=n.cloneNode(!0);n.setAttribute("checked","checked");w.setAttribute("value","range");m.appendChild(w);k=document.createElement("span");mxUtils.write(k,mxResources.get("pages")+
- ":");m.appendChild(k);var l=document.createElement("input");l.style.cssText="margin:0 8px 0 8px;";l.setAttribute("value","1");l.setAttribute("type","number");l.setAttribute("min","1");l.style.width="50px";m.appendChild(l);k=document.createElement("span");mxUtils.write(k,mxResources.get("to"));m.appendChild(k);var p=l.cloneNode(!0);m.appendChild(p);mxEvent.addListener(l,"focus",function(){w.checked=!0});mxEvent.addListener(p,"focus",function(){w.checked=!0});mxEvent.addListener(l,"change",e);mxEvent.addListener(p,
- "change",e);if(null!=a.pages&&(f=a.pages.length,null!=a.currentPage))for(k=0;k<a.pages.length;k++)if(a.currentPage==a.pages[k]){g=k+1;l.value=g;p.value=g;break}l.setAttribute("max",f);p.setAttribute("max",f);1<f&&h.appendChild(m);var t=document.createElement("div");t.style.marginBottom="10px";var q=document.createElement("input");q.style.marginRight="8px";q.setAttribute("value","adjust");q.setAttribute("type","radio");q.setAttribute("name","printZoom");t.appendChild(q);k=document.createElement("span");
- mxUtils.write(k,mxResources.get("adjustTo"));t.appendChild(k);var H=document.createElement("input");H.style.cssText="margin:0 8px 0 8px;";H.setAttribute("value","100 %");H.style.width="50px";t.appendChild(H);mxEvent.addListener(H,"focus",function(){q.checked=!0});h.appendChild(t);var m=m.cloneNode(!1),K=q.cloneNode(!0);K.setAttribute("value","fit");q.setAttribute("checked","checked");k=document.createElement("div");k.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";
- k.appendChild(K);m.appendChild(k);t=document.createElement("table");t.style.display="inline-block";var T=document.createElement("tbody"),L=document.createElement("tr"),N=L.cloneNode(!0),Q=document.createElement("td"),J=Q.cloneNode(!0),W=Q.cloneNode(!0),P=Q.cloneNode(!0),Y=Q.cloneNode(!0),U=Q.cloneNode(!0);Q.style.textAlign="right";P.style.textAlign="right";mxUtils.write(Q,mxResources.get("fitTo"));var O=document.createElement("input");O.style.cssText="margin:0 8px 0 8px;";O.setAttribute("value","1");
- O.setAttribute("min","1");O.setAttribute("type","number");O.style.width="40px";J.appendChild(O);k=document.createElement("span");mxUtils.write(k,mxResources.get("fitToSheetsAcross"));W.appendChild(k);mxUtils.write(P,mxResources.get("fitToBy"));var R=O.cloneNode(!0);Y.appendChild(R);mxEvent.addListener(O,"focus",function(){K.checked=!0});mxEvent.addListener(R,"focus",function(){K.checked=!0});k=document.createElement("span");mxUtils.write(k,mxResources.get("fitToSheetsDown"));U.appendChild(k);L.appendChild(Q);
- L.appendChild(J);L.appendChild(W);N.appendChild(P);N.appendChild(Y);N.appendChild(U);T.appendChild(L);T.appendChild(N);t.appendChild(T);m.appendChild(t);h.appendChild(m);m=document.createElement("div");k=document.createElement("div");k.style.fontWeight="bold";k.style.marginBottom="12px";mxUtils.write(k,mxResources.get("paperSize"));m.appendChild(k);k=document.createElement("div");k.style.marginBottom="12px";var V=PageSetupDialog.addPageFormatPanel(k,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);
- m.appendChild(k);k=document.createElement("span");mxUtils.write(k,mxResources.get("pageScale"));m.appendChild(k);var S=document.createElement("input");S.style.cssText="margin:0 8px 0 8px;";S.setAttribute("value","100 %");S.style.width="60px";m.appendChild(S);h.appendChild(m);k=document.createElement("div");k.style.cssText="text-align:right;margin:62px 0 0 0;";m=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});m.className="geBtn";a.editor.cancelFirst&&k.appendChild(m);a.isOffline()||
- (t=mxUtils.button(mxResources.get("help"),function(){window.open("https://desk.draw.io/support/solutions/articles/16000048947")}),t.className="geBtn",k.appendChild(t));PrintDialog.previewEnabled&&(t=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();c(!1)}),t.className="geBtn",k.appendChild(t));t=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();c(!0)});t.className="geBtn gePrimaryBtn";k.appendChild(t);a.editor.cancelFirst||k.appendChild(m);
- h.appendChild(k);this.container=h}})();(function(){EditorUi.VERSION="7.1.5";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.enableLogging=/.*\.draw\.io$/.test(window.location.hostname);EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.prototype.emptyDiagramXml='<mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/></root></mxGraphModel>';EditorUi.prototype.emptyLibraryXml="<mxlibrary>[]</mxlibrary>";EditorUi.prototype.mode=null;EditorUi.prototype.sidebarFooterHeight=
- 36;EditorUi.prototype.defaultCustomShapeStyle="shape=stencil(tZRtTsQgEEBPw1+DJR7AoN6DbWftpAgE0Ortd/jYRGq72R+YNE2YgTePloEJGWblgA18ZuKFDcMj5/Sm8boZq+BgjCX4pTyqk6ZlKROitwusOMXKQDODx5iy4pXxZ5qTHiFHawxB0JrQZH7lCabQ0Fr+XWC1/E8zcsT/gAi+Subo2/3Mh6d/oJb5nU1b5tW7r2knautaa3T+U32o7f7vZwpJkaNDLORJjcu7t59m2jXxqX9un+tt022acsfmoKaQZ+vhhswZtS6Ne/ThQGt0IV0N3Yyv6P3CeT9/tHO0XFI5cAE=);whiteSpace=wrap;html=1;";EditorUi.prototype.maxBackgroundSize=1600;EditorUi.prototype.maxImageSize=520;EditorUi.prototype.resampleThreshold=
- 1E5;EditorUi.prototype.maxImageBytes=1E6;EditorUi.prototype.maxBackgroundBytes=25E5;EditorUi.prototype.currentFile=null;EditorUi.prototype.printPdfExport=!1;EditorUi.prototype.pdfPageExport=!0;EditorUi.prototype.formatEnabled="0"!=urlParams.format;(function(){EditorUi.prototype.useCanvasForExport=!1;EditorUi.prototype.jpgSupported=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var e=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=
- null!=e&&6<e.length}catch(n){}};b.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(m){}try{a=document.createElement("canvas");a.width=a.height=1;var c=a.toDataURL("image/jpeg");EditorUi.prototype.jpgSupported=null!==c.match("image/jpeg")}catch(m){}})();
- EditorUi.prototype.getLocalData=function(a,b){b(localStorage.getItem(a))};EditorUi.prototype.setLocalData=function(a,b,c){localStorage.setItem(a,b);c()};EditorUi.prototype.removeLocalData=function(a,b){localStorage.removeItem(a);b()};EditorUi.prototype.setMathEnabled=function(a){this.editor.graph.mathEnabled=a;this.editor.updateGraphComponents();this.editor.graph.refresh();this.fireEvent(new mxEventObject("mathEnabledChanged"))};EditorUi.prototype.isMathEnabled=function(a){return this.editor.graph.mathEnabled};
- EditorUi.prototype.movePickersToTop=function(){for(var a=document.getElementsByTagName("div"),b=0;b<a.length;b++)"picker modal-dialog picker-dialog"==a[b].className&&(a[b].style.zIndex=mxPopupMenu.prototype.zIndex+1)};EditorUi.prototype.isOfflineApp=function(){return"1"==urlParams.offline};EditorUi.prototype.isOffline=function(){return this.isOfflineApp()||!navigator.onLine||"1"==urlParams.stealth};EditorUi.prototype.createSpinner=function(a,b,c){c=null!=c?c:24;var e=new Spinner({lines:12,length:c,
- width:Math.round(c/3),radius:Math.round(c/2),rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),d=e.spin;e.spin=function(c,h){var k=!1;this.active||(d.call(this,c),this.active=!0,null!=h&&(k=document.createElement("div"),k.style.position="absolute",k.style.whiteSpace="nowrap",k.style.background="#4B4243",k.style.color="white",k.style.fontFamily="Helvetica, Arial",k.style.fontSize="9pt",k.style.padding="6px",k.style.paddingLeft="10px",k.style.paddingRight="10px",k.style.zIndex=
- 2E9,k.style.left=Math.max(0,a)+"px",k.style.top=Math.max(0,b+70)+"px",mxUtils.setPrefixedStyle(k.style,"borderRadius","6px"),mxUtils.setPrefixedStyle(k.style,"boxShadow","2px 2px 3px 0px #ddd"),mxUtils.setPrefixedStyle(k.style,"transform","translate(-50%,-50%)"),k.innerHTML=h+"...",c.appendChild(k),e.status=k,mxClient.IS_VML&&(null==document.documentMode||8>=document.documentMode)&&(k.style.left=Math.round(Math.max(0,a-k.offsetWidth/2))+"px",k.style.top=Math.round(Math.max(0,b+70-k.offsetHeight/2))+
- "px")),this.pause=mxUtils.bind(this,function(){var a=function(){};this.active&&(a=mxUtils.bind(this,function(){this.spin(c,h)}));this.stop();return a}),k=!0);return k};var h=e.stop;e.stop=function(){h.call(this);this.active=!1;null!=e.status&&(e.status.parentNode.removeChild(e.status),e.status=null)};e.pause=function(){return function(){}};return e};EditorUi.parsePng=function(a,b,c){function e(a,b){var e=h;h+=b;return a.substring(e,h)}function d(a){a=e(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<
- 8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}var h=0;if(e(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=c&&c();else if(e(a,4),"IHDR"!=e(a,4))null!=c&&c();else{e(a,17);do{c=d(a);var k=e(a,4);if(null!=b&&b(h-8,k,c))break;value=e(a,c);e(a,4);if("IEND"==k)break}while(c)}};EditorUi.prototype.isCompatibleString=function(a){try{var b=mxUtils.parseXml(a),e=this.editor.extractGraphModel(b.documentElement,!0);return null!=e&&0==e.getElementsByTagName("parsererror").length}catch(m){}return!1};
- var a=EditorUi.prototype.extractGraphModelFromHtml;EditorUi.prototype.extractGraphModelFromHtml=function(b){var e=a.apply(this,arguments);if(null==e)try{var c=b.indexOf("<mxfile ");if(0<=c){var d=b.lastIndexOf("</mxfile>");d>c&&(e=b.substring(c,d+15).replace(/>/g,">").replace(/</g,"<").replace(/\\"/g,'"').replace(/\n/g,""))}else var f=mxUtils.parseXml(b),g=this.editor.extractGraphModel(f.documentElement,null!=this.pages),e=null!=g?mxUtils.getXml(g):""}catch(t){}return e};EditorUi.prototype.validateFileData=
- function(a){if(null!=a&&0<a.length){var b=a.indexOf('<meta charset="utf-8">');0<=b&&(a=a.slice(0,b)+'<meta charset="utf-8"/>'+a.slice(b+23-1,a.length))}return a};EditorUi.prototype.replaceFileData=function(a){a=this.validateFileData(a);a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;var b=null!=a?this.editor.extractGraphModel(a,!0):null;null!=b&&(a=b);if(null!=a){b=this.editor.graph;b.model.beginUpdate();try{var e=null!=this.pages?this.pages.slice():null,c=a.getElementsByTagName("diagram");
- if("0"!=urlParams.pages||1<c.length||1==c.length&&c[0].hasAttribute("name")){this.fileNode=a;this.pages=null!=this.pages?this.pages:[];for(var d=c.length-1;0<=d;d--){var f=this.updatePageRoot(new DiagramPage(c[d]));null==f.getName()&&f.setName(mxResources.get("pageWithNumber",[d+1]));b.model.execute(new ChangePage(this,f,0==d?f:null,0))}}else"0"!=urlParams.pages&&null==this.fileNode&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")),
- this.currentPage.setName(mxResources.get("pageWithNumber",[1])),b.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(a),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root);if(null!=e)for(d=0;d<e.length;d++)b.model.execute(new ChangePage(this,e[d],null))}finally{b.model.endUpdate()}}};EditorUi.prototype.createFileData=function(a,b,c,d,f,g,l,q,w,u){b=null!=b?b:this.editor.graph;f=null!=f?f:!1;w=null!=w?w:!0;var e,h=null;null==c||
- c.getMode()==App.MODE_DEVICE||c.getMode()==App.MODE_BROWSER?e="_blank":h=e=d;if(null==a)return"";var k=a;if("mxfile"!=k.nodeName.toLowerCase()){var m=b.zapGremlins(mxUtils.getXml(a)),k=b.compress(m);if(b.decompress(k)!=m)return m;m=a.ownerDocument.createElement("diagram");mxUtils.setTextContent(m,k);k=a.ownerDocument.createElement("mxfile");k.appendChild(m)}u?(k=k.cloneNode(!0),k.removeAttribute("userAgent"),k.removeAttribute("version"),k.removeAttribute("editor"),k.removeAttribute("type")):(k.setAttribute("userAgent",
- navigator.userAgent),k.setAttribute("version",EditorUi.VERSION),k.setAttribute("editor","www.draw.io"),a=null!=c?c.getMode():this.mode,null!=a&&k.setAttribute("type",a));a=mxUtils.getXml(k);if(!g&&!f&&(l||null!=c&&/(\.html)$/i.test(c.getTitle())))a=this.getHtml2(mxUtils.getXml(k),b,null!=c?c.getTitle():null,e,h);else if(g||!f&&null!=c&&/(\.svg)$/i.test(c.getTitle()))null==c||c.getMode()!=App.MODE_DEVICE&&c.getMode()!=App.MODE_BROWSER||(d=null),a=this.getEmbeddedSvg(a,b,d,null,q,w,h);return a};EditorUi.prototype.getXmlFileData=
- function(a,b){a=null!=a?a:!0;b=null!=b?b:!1;var c=this.editor.getGraphXml(a);if(a&&null!=this.fileNode&&null!=this.currentPage){var e=this.editor.graph.compress(this.editor.graph.zapGremlins(mxUtils.getXml(c)));mxUtils.setTextContent(this.currentPage.node,e);c=this.fileNode.cloneNode(!1);if(b)c.appendChild(this.currentPage.node);else for(var d=0;d<this.pages.length;d++){var h=this.pages[d].mapping;this.currentPage!=this.pages[d]&&null!=h&&h.needsUpdate&&(e=(new mxCodec(mxUtils.createXmlDocument())).encode(h.graphModel),
- h.writeRealtimeToNode(e),e=this.editor.graph.compress(this.editor.graph.zapGremlins(mxUtils.getXml(e))),mxUtils.setTextContent(this.pages[d].node,e),h.needsUpdate=!1);c.appendChild(this.pages[d].node)}}return c};EditorUi.prototype.getFileData=function(a,b,c,d,f,g,l,q){f=null!=f?f:!0;l=null!=l?l:this.getXmlFileData(f,null!=g?g:!1);g=this.editor.graph;var e=this.getCurrentFile();if(null!=this.pages&&this.currentPage!=this.pages[0]&&(b||!a&&null!=e&&/(\.svg)$/i.test(e.getTitle()))){g=this.createTemporaryGraph(g.getStylesheet());
- var h=g.getGlobalVariable,k=this.pages[0];g.getGlobalVariable=function(a){return"page"==a?k.getName():"pagenumber"==a?1:h.apply(this,arguments)};document.body.appendChild(g.container);g.model.setRoot(k.root)}a=this.createFileData(l,g,e,window.location.href,a,b,c,d,f,q);g!=this.editor.graph&&g.container.parentNode.removeChild(g.container);return a};EditorUi.prototype.getHtml=function(a,b,c,d,f,g){g=null!=g?g:!0;var e=null,h="https://www.draw.io/js/embed-static.min.js";if(null!=b){var e=g?b.getGraphBounds():
- b.getBoundingBox(b.getSelectionCells()),k=b.view.scale;g=Math.floor(e.x/k-b.view.translate.x);k=Math.floor(e.y/k-b.view.translate.y);e=b.background;null==f&&(b=this.getBasenames().join(";"),0<b.length&&(h="https://www.draw.io/embed.js?s="+b));a.setAttribute("x0",g);a.setAttribute("y0",k)}null!=a&&(a.setAttribute("pan","1"),a.setAttribute("zoom","1"),a.setAttribute("resize","0"),a.setAttribute("fit","0"),a.setAttribute("border","20"),a.setAttribute("links","1"),null!=d&&a.setAttribute("edit",d));null!=
- f&&(f=f.replace(/&/g,"&"));a=null!=a?this.editor.graph.zapGremlins(mxUtils.getXml(a)):"";d=this.editor.graph.compress(a);this.editor.graph.decompress(d)!=a&&(d=encodeURIComponent(a));return(null==f?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':"")+"<!DOCTYPE html>\n<html"+(null!=f?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==f?null!=c?"<title>"+mxUtils.htmlEntities(c)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=f?
- '<meta http-equiv="refresh" content="0;URL=\''+f+"'\"/>\n":"")+"</head>\n<body"+(null==f&&null!=e&&e!=mxConstants.NONE?' style="background-color:'+e+';">':">")+'\n<div class="mxgraph" style="position:relative;overflow:auto;width:100%;">\n<div style="width:1px;height:1px;overflow:hidden;">'+d+"</div>\n</div>\n"+(null==f?'<script type="text/javascript" src="'+h+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+f+'" target="_blank"><img border="0" src="https://www.draw.io/images/drawlogo128.png"/></a>')+
- "\n</body>\n</html>\n"};EditorUi.prototype.getHtml2=function(a,b,c,d,f){d="https://www.draw.io/js/viewer.min.js";null!=b&&null==f&&(b=this.getBasenames().join(";"),0<b.length&&(d="https://www.draw.io/embed2.js?s="+b));null!=f&&(f=f.replace(/&/g,"&"));a={highlight:"#0000ff",nav:this.editor.graph.foldingEnabled,resize:!0,xml:this.editor.graph.zapGremlins(a),toolbar:"pages zoom layers lightbox"};null!=this.pages&&null!=this.currentPage&&(a.page=mxUtils.indexOf(this.pages,this.currentPage));return(null==
- f?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':"")+"<!DOCTYPE html>\n<html"+(null!=f?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==f?null!=c?"<title>"+mxUtils.htmlEntities(c)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=f?'<meta http-equiv="refresh" content="0;URL=\''+f+"'\"/>\n":"")+'<meta charset="utf-8"/>\n</head>\n<body>\n<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(a))+
- '"></div>\n'+(null==f?'<script type="text/javascript" src="'+d+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+f+'" target="_blank"><img border="0" src="https://www.draw.io/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.setFileData=function(a){a=this.validateFileData(a);this.pages=this.fileNode=this.currentPage=null;var b=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;a=null!=b?this.editor.extractGraphModel(b,
- !0):null;null!=a&&(b=a);if(null!=b&&"mxfile"==b.nodeName&&(a=b.getElementsByTagName("diagram"),"0"!=urlParams.pages||1<a.length||1==a.length&&a[0].hasAttribute("name"))){this.fileNode=b;this.pages=[];for(b=0;b<a.length;b++){var c=new DiagramPage(a[b]);null==c.getName()&&c.setName(mxResources.get("pageWithNumber",[b+1]));this.pages.push(c)}this.currentPage=this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];b=this.currentPage.node}"0"!=urlParams.pages&&null==this.fileNode&&null!=
- b&&(this.fileNode=b.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(b.ownerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1])),this.pages=[this.currentPage]);this.editor.setGraphXml(b);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root)};EditorUi.prototype.getBaseFilename=function(){var a=this.getCurrentFile(),a=null!=a&&null!=a.getTitle()?a.getTitle():this.defaultFilename;if(/(\.xml)$/i.test(a)||/(\.html)$/i.test(a)||
- /(\.svg)$/i.test(a))a=a.substring(0,a.lastIndexOf("."));return a};EditorUi.prototype.downloadFile=function(a,b,c,d,f,g){try{d=null!=d?d:this.editor.graph.isSelectionEmpty();var e=this.getBaseFilename(),h=e+"."+a;if("xml"==a){var k='<?xml version="1.0" encoding="UTF-8"?>\n'+(b?mxUtils.getXml(this.editor.getGraphXml(d)):this.getFileData(!0,null,null,null,d,f));this.saveData(h,a,k,"text/xml")}else if("html"==a)k=this.getHtml2(this.getFileData(!0),this.editor.graph,e),this.saveData(h,a,k,"text/html");
- else if("svg"!=a&&"xmlsvg"!=a||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==a?h=e+".png":"jpeg"==a&&(h=e+".jpg"),this.saveRequest(h,a,mxUtils.bind(this,function(b,c){try{var e=this.editor.graph.pageVisible;null!=g&&(this.editor.graph.pageVisible=g);var h=this.createDownloadRequest(b,a,d,c);this.editor.graph.pageVisible=e;return h}catch(B){this.handleError(B)}}));else{var m=null,n=mxUtils.bind(this,function(a){a.length<=MAX_REQUEST_SIZE?this.saveData(h,"svg",a,"image/svg+xml"):
- this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(m)}))});if("svg"==a){var l=this.editor.graph.background;l==mxConstants.NONE&&(l=null);var p=this.editor.graph.getSvg(l,null,null,null,null,d);c&&this.editor.graph.addSvgShadow(p);this.convertImages(p,mxUtils.bind(this,mxUtils.bind(this,function(a){this.spinner.stop();n('<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'+
- mxUtils.getXml(a))})))}else h=e+".svg",m=this.getFileData(!1,!0,null,mxUtils.bind(this,function(a){this.spinner.stop();n(a)}),d)}}catch(C){this.handleError(C)}};EditorUi.prototype.createDownloadRequest=function(a,b,c,d){var e=this.editor.graph.getGraphBounds();c=this.getFileData(!0,null,null,null,c,"xmlpng"!=b);var h="";if(e.width*e.height>MAX_AREA||c.length>MAX_REQUEST_SIZE)throw{message:mxResources.get("drawingTooLarge")};e="0";if("xmlpng"==b&&(e="1",b="png",null!=this.pages&&null!=this.currentPage))for(var k=
- 0;k<this.pages.length;k++)if(this.pages[k]==this.currentPage){h="&from="+k;break}return new mxXmlRequest(EXPORT_URL,"format="+b+h+"&base64="+d+"&embedXml="+e+"&xml="+encodeURIComponent(c)+(null!=a?"&filename="+encodeURIComponent(a):""))};EditorUi.prototype.setMode=function(a,b){this.mode=a};EditorUi.prototype.fileLoaded=function(a){var b=!1;this.hideDialog();var c=this.getCurrentFile();this.setCurrentFile(null);null!=c&&(c.removeListener(this.descriptorChangedListener),c.close());this.editor.graph.model.clear();
- this.editor.undoManager.clear();var e=mxUtils.bind(this,function(){this.setGraphEnabled(!1);this.setCurrentFile(null);null!=c&&this.updateDocumentTitle();this.editor.graph.model.clear();this.editor.undoManager.clear();null!=window.location.hash&&0<window.location.hash.length&&(window.location.hash="");null!=this.fname&&(this.fnameWrapper.style.display="none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.updateUi();this.showSplash()});if(null!=a)try{this.setCurrentFile(a);
- a.addListener("descriptorChanged",this.descriptorChangedListener);a.addListener("contentChanged",this.descriptorChangedListener);this.descriptorChanged();a.open();this.setGraphEnabled(!0);this.setMode(a.getMode());this.editor.undoManager.clear();this.updateUi();null==a.realtime&&(a.isEditable()?this.editor.setStatus(""):this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("readOnly"))));this.editor.chromeless?this.editor.graph.lightbox&&this.lightboxFit():(this.editor.graph.selectUnlockedLayer(),
- this.showLayersDialog(),this.restoreLibraries(),window.self!==window.top&&window.focus());this.chromelessResize&&this.chromelessResize();this.editor.fireEvent(new mxEventObject("fileLoaded"));b=!0;if(this.enableLogging&&!this.isOffline()&&null!=a.getMode())try{var d=new Image,f=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";d.src=f+"/log?msg=storageMode:"+encodeURIComponent(a.getMode())+"&v="+encodeURIComponent(EditorUi.VERSION)}catch(t){}if(this.mode==a.getMode()&&a.getMode()!=App.MODE_DEVICE&&
- null!=a.getMode())try{this.addRecent({id:a.getHash(),title:a.getTitle(),mode:a.getMode()})}catch(t){}try{mxSettings.setOpenCounter(mxSettings.getOpenCounter()+1),mxSettings.save()}catch(t){}}catch(t){null!=window.console&&console.log("error in fileLoaded:",a,t);if(this.enableLogging&&!this.isOffline())try{d=new Image,f=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"",d.src=f+"/log?v="+encodeURIComponent(EditorUi.VERSION)+"&msg=errorInFileLoaded:url:"+encodeURIComponent(window.location.href)+(null!=
- t&&null!=t.message?":err:"+encodeURIComponent(t.message):"")+(null!=t&&null!=t.stack?"&stack="+encodeURIComponent(t.stack):"")}catch(q){}this.handleError(t,mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){null!=urlParams.url&&this.spinner.spin(document.body,mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]):null!=c?c.constructor==DriveFile?this.loadFile(c.getHash()):this.fileLoaded(c):e()}))}else e();return b};EditorUi.prototype.restoreLibraries=function(){};
- EditorUi.prototype.saveLibrary=function(a,b,c,d,f,g,l){};EditorUi.prototype.toggleScratchpad=function(){if(isLocalStorage||mxClient.IS_CHROMEAPP)null==this.scratchpad?this.getLocalData(".scratchpad",mxUtils.bind(this,function(a){null==a&&(a=this.emptyLibraryXml);this.loadLibrary(new StorageLibrary(this,a,".scratchpad"))})):this.closeLibrary(this.scratchpad)};EditorUi.prototype.createLibraryDataFromImages=function(a){var b=mxUtils.createXmlDocument(),c=b.createElement("mxlibrary");mxUtils.setTextContent(c,
- JSON.stringify(a));b.appendChild(c);return mxUtils.getXml(b)};EditorUi.prototype.closeLibrary=function(a){null!=a&&(this.removeLibrarySidebar(a.getHash()),a.constructor!=LocalLibrary&&mxSettings.removeCustomLibrary(a.getHash()),".scratchpad"==a.title&&(this.scratchpad=null))};EditorUi.prototype.removeLibrarySidebar=function(a){var b=this.sidebar.palettes[a];if(null!=b){for(var c=0;c<b.length;c++)b[c].parentNode.removeChild(b[c]);delete this.sidebar.palettes[a]}};EditorUi.prototype.repositionLibrary=
- function(a){var b=this.sidebar.container;if(null==a){var c=this.sidebar.palettes["L.scratchpad"];null==c&&(c=this.sidebar.palettes.search);null!=c&&(a=c[c.length-1].nextSibling)}a=null!=a?a:b.firstChild.nextSibling.nextSibling;var c=b.lastChild,d=c.previousSibling;b.insertBefore(c,a);b.insertBefore(d,c)};EditorUi.prototype.loadLibrary=function(a){var b=mxUtils.parseXml(a.getData());if("mxlibrary"==b.documentElement.nodeName){var c=JSON.parse(mxUtils.getTextContent(b.documentElement));this.libraryLoaded(a,
- c,b.documentElement.getAttribute("title"))}else throw{message:mxResources.get("notALibraryFile")};};EditorUi.prototype.getLibraryStorageHint=function(a){return""};EditorUi.prototype.libraryLoaded=function(a,b,c){a.constructor!=LocalLibrary&&mxSettings.addCustomLibrary(a.getHash());".scratchpad"==a.title&&(this.scratchpad=a);var d=this.sidebar.palettes[a.getHash()],d=null!=d?d[d.length-1].nextSibling:null;this.removeLibrarySidebar(a.getHash());var e=null,h=mxUtils.bind(this,function(b,c){if(0==b.length&&
- a.isEditable())null==e&&(e=document.createElement("div"),mxUtils.setPrefixedStyle(e.style,"borderRadius","6px"),e.style.border="3px dotted lightGray",e.style.textAlign="center",e.style.padding="8px",e.style.color="#B3B3B3",mxUtils.write(e,mxResources.get("dragElementsHere"))),c.appendChild(e);else for(var d=0;d<b.length;d++){var h=b[d],f=h.data;if(null!=f){var f=this.convertDataUri(f),k="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==h.aspect&&(k+="aspect=fixed;");
- c.appendChild(this.sidebar.createVertexTemplate(k+"image="+f,h.w,h.h,"",h.title||"",!1,!1,!1))}else null!=h.xml&&(f=this.stringToCells(this.editor.graph.decompress(h.xml)),0<f.length&&c.appendChild(this.sidebar.createVertexTemplateFromCells(f,h.w,h.h,h.title||"",!0,!1,!1)))}});c=null!=c&&0<c.length?c:a.getTitle();var f=this.sidebar.addPalette(a.getHash(),c,!0,mxUtils.bind(this,function(a){h(b,a)}));this.repositionLibrary(d);var k=f.parentNode.previousSibling;c=k.getAttribute("title");null!=c&&0<c.length&&
- ".scratchpad"!=a.title&&k.setAttribute("title",this.getLibraryStorageHint(a)+"\n"+c);var g=document.createElement("div");g.style.position="absolute";g.style.right="0px";g.style.top="5px";mxClient.IS_QUIRKS||8==document.documentMode||(g.style.backgroundColor="inherit");k.style.position="relative";var l=document.createElement("img");l.setAttribute("src",Dialog.prototype.closeImage);l.setAttribute("title",mxResources.get("close"));l.setAttribute("align","top");l.setAttribute("border","0");l.className=
- "geButton";l.style.marginRight="1px";l.style.marginTop="-1px";g.appendChild(l);var x=null;mxEvent.addListener(l,"click",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b)){var c=mxUtils.bind(this,function(){this.closeLibrary(a)});null!=x?this.confirm(mxResources.get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources.get("discardChanges")):c();mxEvent.consume(b)}}));mxEvent.addListener(f,"mousemove",mxUtils.bind(this,function(a){mxEvent.getSource(a)==f?f.setAttribute("title",mxResources.get("libraryTooltip")):
- f.removeAttribute("title")}));if(a.isEditable()){var v=this.editor.graph,z=mxUtils.bind(this,function(c){this.showLibraryDialog(a.getTitle(),f,b,a,a.getMode());mxEvent.consume(c)}),C=mxUtils.bind(this,function(c){a.setModified(!0);a.isAutosave()?(null!=A&&null!=A.parentNode&&A.parentNode.removeChild(A),A=l.cloneNode(!1),A.setAttribute("src",Editor.spinImage),A.setAttribute("title",mxResources.get("saving")),A.style.cursor="default",A.style.marginRight="2px",A.style.marginTop="-2px",g.insertBefore(A,
- g.firstChild),k.style.paddingRight=18*g.childNodes.length+"px",this.saveLibrary(a.getTitle(),b,a,a.getMode(),!0,!0,function(){null!=A&&null!=A.parentNode&&(A.parentNode.removeChild(A),k.style.paddingRight=18*g.childNodes.length+"px")})):null==x&&(x=l.cloneNode(!1),x.setAttribute("src",IMAGE_PATH+"/download.png"),x.setAttribute("title",mxResources.get("save")),g.insertBefore(x,g.firstChild),mxEvent.addListener(x,"click",mxUtils.bind(this,function(c){this.saveLibrary(a.getTitle(),b,a,a.getMode(),a.constructor==
- LocalLibrary,!0,function(){null==x||a.isModified()||(k.style.paddingRight=18*g.childNodes.length+"px",x.parentNode.removeChild(x),x=null)});mxEvent.consume(c)})),k.style.paddingRight=18*g.childNodes.length+"px")}),E=mxUtils.bind(this,function(a,c,d,h){a=v.cloneCells(mxUtils.sortCells(v.model.getTopmostCells(a)));for(var k=0;k<a.length;k++){var g=v.getCellGeometry(a[k]);null!=g&&g.translate(-c.x,-c.y)}f.appendChild(this.sidebar.createVertexTemplateFromCells(a,c.width,c.height,h||"",!0,!1,!1));a={xml:this.editor.graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(a))),
- w:c.width,h:c.height};null!=h&&(a.title=h);b.push(a);C(d);null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null)}),y=mxUtils.bind(this,function(a){if(v.isSelectionEmpty())v.getRubberband().isActive()?(v.getRubberband().execute(a),v.getRubberband().reset()):this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var b=v.getSelectionCells(),c=v.view.getBounds(b),d=v.view.scale;c.x/=d;c.y/=d;c.width/=d;c.height/=d;c.x-=v.view.translate.x;
- c.y-=v.view.translate.y;E(b,c)}mxEvent.consume(a)});f.style.border="3px solid transparent";mxEvent.addGestureListeners(f,function(){},mxUtils.bind(this,function(a){v.isMouseDown&&null!=v.panningManager&&null!=v.graphHandler.shape&&(v.graphHandler.shape.node.style.visibility="hidden",null!=e?e.style.border="3px dotted rgb(254, 137, 12)":f.style.border="3px dotted rgb(254, 137, 12)",f.style.cursor="copy",v.panningManager.stop(),v.autoScroll=!1,null!=v.graphHandler.guide&&v.graphHandler.guide.setVisible(!1),
- null!=v.graphHandler.hint&&(v.graphHandler.hint.style.visibility="hidden"),mxEvent.consume(a))}),mxUtils.bind(this,function(a){v.isMouseDown&&null!=v.panningManager&&null!=v.graphHandler&&(f.style.border="3px solid transparent",null!=e&&(e.style.border="3px dotted lightGray"),f.style.cursor="default",this.sidebar.showTooltips=!0,v.panningManager.stop(),v.graphHandler.reset(),v.isMouseDown=!1,v.autoScroll=!0,y(a),mxEvent.consume(a))}));mxEvent.addListener(f,"mouseleave",mxUtils.bind(this,function(a){v.isMouseDown&&
- null!=v.graphHandler.shape&&(v.graphHandler.shape.node.style.visibility="visible",f.style.border="3px solid transparent",f.style.cursor="",v.autoScroll=!0,null!=v.graphHandler.guide&&v.graphHandler.guide.setVisible(!0),null!=v.graphHandler.hint&&(v.graphHandler.hint.style.visibility="visible"),null!=e&&(e.style.border="3px dotted lightGray"))}));Graph.fileSupport&&(mxEvent.addListener(f,"dragover",mxUtils.bind(this,function(a){null!=e?e.style.border="3px dotted rgb(254, 137, 12)":f.style.border="3px dotted rgb(254, 137, 12)";
- a.dataTransfer.dropEffect="copy";f.style.cursor="copy";this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()})),mxEvent.addListener(f,"drop",mxUtils.bind(this,function(a){f.style.border="3px solid transparent";f.style.cursor="";null!=e&&(e.style.border="3px dotted lightGray");0<a.dataTransfer.files.length&&this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(c,d,k,g,m,n,l,u,w){if(null!=c&&"image/"==d.substring(0,6))c="shape=image;verticalLabelPosition=bottom;verticalAlign=top;aspect=fixed;image="+
- this.convertDataUri(c),c=[new mxCell("",new mxGeometry(0,0,m,n),c)],c[0].vertex=!0,E(c,new mxRectangle(0,0,m,n),a,mxEvent.isAltDown(a)?null:l.substring(0,l.lastIndexOf(".")).replace(/_/g," ")),null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null);else{var p=!1,t=mxUtils.bind(this,function(c,d){if(null!=c&&"text/xml"==d){var k=mxUtils.parseXml(c);if("mxlibrary"==k.documentElement.nodeName)try{var g=JSON.parse(mxUtils.getTextContent(k.documentElement));h(g,f);b=b.concat(g);C(a);
- this.spinner.stop();p=!0}catch(V){}else if("mxfile"==k.documentElement.nodeName)try{for(var m=k.documentElement.getElementsByTagName("diagram"),k=0;k<m.length;k++){var g=mxUtils.getTextContent(m[k]),n=this.stringToCells(this.editor.graph.decompress(g)),l=this.editor.graph.getBoundingBoxFromGeometry(n);E(n,new mxRectangle(0,0,l.width,l.height),a)}p=!0}catch(V){null!=window.console&&console.log("error in drop handler:",V)}}p||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));
- null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null)});!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,l)&&null!=w?this.parseFile(w,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?t(a.responseText,"text/xml"):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):t(c,d)}}));a.stopPropagation();a.preventDefault()})),
- mxEvent.addListener(f,"dragleave",function(a){null!=e?e.style.border="3px dotted lightGray":(f.style.border="3px solid transparent",f.style.cursor="");a.stopPropagation();a.preventDefault()}));l=l.cloneNode(!1);l.setAttribute("src",IMAGE_PATH+"/edit.gif");l.setAttribute("title",mxResources.get("edit"));g.insertBefore(l,g.firstChild);mxEvent.addListener(l,"click",z);mxEvent.addListener(f,"dblclick",function(a){mxEvent.getSource(a)==f&&z(a)});l=l.cloneNode(!1);l.setAttribute("src",Editor.plusImage);
- l.setAttribute("title",mxResources.get("add"));g.insertBefore(l,g.firstChild);this.isOffline()||".scratchpad"!=a.title||(c=document.createElement("span"),c.setAttribute("title",mxResources.get("help")),c.style.cssText="color:gray;text-decoration:none;",c.className="geButton",mxUtils.write(c,"?"),mxEvent.addGestureListeners(c,mxUtils.bind(this,function(a){window.open("https://desk.draw.io/support/solutions/articles/16000042367");mxEvent.consume(a)})),g.insertBefore(c,g.firstChild));var A=null;mxEvent.addListener(l,
- "click",y)}k.appendChild(g);k.style.paddingRight=18*g.childNodes.length+"px"};"1"==urlParams.offline?EditorUi.prototype.footerHeight=4:("atlas"==uiTheme?("undefined"!==typeof Toolbar&&(Toolbar.prototype.unselectedBackground=mxClient.IS_QUIRKS?"none":"linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",Toolbar.prototype.selectedBackground="rgb(242, 242, 242)"),Editor.prototype.initialTopSpacing=3,EditorUi.prototype.menubarHeight=41,EditorUi.prototype.toolbarHeight=38,EditorUi.prototype.hsplitPosition=
- 188,Sidebar.prototype.thumbWidth=46,Sidebar.prototype.thumbHeight=46,Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1,Sidebar.prototype.thumbBorder=2):"1"==urlParams.savesidebar&&(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64),EditorUi.prototype.footerHeight=760<=screen.width&&240<=screen.height?46:0,EditorUi.prototype.createFooter=function(){var a=document.getElementById("geFooter");if(null!=a){a.style.visibility="visible";var b=document.createElement("img");b.setAttribute("border",
- "0");b.setAttribute("src",Dialog.prototype.closeImage);b.setAttribute("title",mxResources.get("hide"));a.appendChild(b);mxClient.IS_QUIRKS&&(b.style.position="relative",b.style.styleFloat="right",b.style.top="-30px",b.style.left="164px",b.style.cursor="pointer");mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.hideFooter()}))}return a});EditorUi.prototype.hideFooter=function(){var a=document.getElementById("geFooter");null!=a&&(this.footerHeight=0,a.style.display="none",this.refresh())};
- EditorUi.prototype.showImageDialog=function(a,b,c,d,f){a=new ImageDialog(this,a,b,c,d,f);this.showDialog(a.container,Graph.fileSupport?440:360,Graph.fileSupport?200:90,!0,!0);a.init()};EditorUi.prototype.showBackgroundImageDialog=function(a){a=null!=a?a:mxUtils.bind(this,function(a){a=new ChangePageSetup(this,null,a);a.ignoreColor=!0;this.editor.graph.model.execute(a)});var b=new BackgroundImageDialog(this,mxUtils.bind(this,function(b){a(b)}));this.showDialog(b.container,360,200,!0,!0);b.init()};
- EditorUi.prototype.showLibraryDialog=function(a,b,c,d,f){a=new LibraryDialog(this,a,b,c,d,f);this.showDialog(a.container,620,440,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()}));a.init()};EditorUi.prototype.createSidebarFooterContainer=function(){var a=this.createDiv("geSidebarContainer");a.style.position="absolute";a.style.overflow="hidden";a.style.borderWidth="3px";var b=document.createElement("a");b.setAttribute("href","javascript:void(0);");
- b.className="geTitle";b.style.height="100%";b.style.paddingTop="9px";mxUtils.write(b,mxResources.get("moreShapes")+"...");mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.actions.get("shapes").funct();mxEvent.consume(a)}));a.appendChild(b);return a};EditorUi.prototype.handleError=function(a,b,c){var d=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},e=null!=a&&null!=a.error?a.error:a;if(null!=e||null!=b){a=mxUtils.htmlEntities(mxResources.get("unknownError"));
- var h=mxResources.get("ok"),f=null;b=null!=b?b:mxResources.get("error");if(null!=e)if(null!=e.retry&&(h=mxResources.get("cancel"),f=function(){d();e.retry()}),"undefined"!=typeof gapi&&"undefined"!=typeof gapi.drive&&"undefined"!=typeof gapi.drive.realtime&&e.type==gapi.drive.realtime.ErrorType.FORBIDDEN)a=mxUtils.htmlEntities(mxResources.get("forbidden"));else if(404==e.code||404==e.status||"undefined"!=typeof gapi&&"undefined"!=typeof gapi.drive&&"undefined"!=typeof gapi.drive.realtime&&e.type==
- gapi.drive.realtime.ErrorType.NOT_FOUND){a=mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied"));var k=window.location.hash;null!=k&&"#G"==k.substring(0,2)&&(k=k.substring(2),a+=' <a href="https://drive.google.com/open?id='+k+'" target="_blank">'+mxUtils.htmlEntities(mxResources.get("tryOpeningViaThisPage"))+"</a>")}else e.code==App.ERROR_TIMEOUT?a=mxUtils.htmlEntities(mxResources.get("timeout")):e.code==App.ERROR_BUSY?a=mxUtils.htmlEntities(mxResources.get("busy")):null!=e.message?a=mxUtils.htmlEntities(e.message):
- null!=e.response&&null!=e.response.error&&(a=mxUtils.htmlEntities(e.response.error));this.showError(b,a,h,c,f)}else null!=c&&c()};EditorUi.prototype.showError=function(a,b,c,d,f,g,l){a=new ErrorDialog(this,a,b,c,d,f,g,l);this.showDialog(a.container,340,150,!0,!1);a.init()};EditorUi.prototype.alert=function(a,b){var c=new ErrorDialog(this,null,a,mxResources.get("ok"),b);this.showDialog(c.container,340,100,!0,!1);c.init()};EditorUi.prototype.confirm=function(a,b,c,d,f){var e=null!=this.spinner&&null!=
- this.spinner.pause?this.spinner.pause():function(){};this.showDialog((new ConfirmDialog(this,a,function(){e();null!=b&&b()},function(){e();null!=c&&c()},d,f)).container,340,90,!0,!1)};EditorUi.prototype.setCurrentFile=function(a){this.currentFile=a};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};EditorUi.prototype.isDiagramEmpty=function(){var a=this.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(a.getChildAt(a.root,0))};EditorUi.prototype.isExportToCanvas=
- function(){return mxClient.IS_CHROMEAPP||!this.editor.graph.mathEnabled&&this.useCanvasForExport};EditorUi.prototype.createSvgDataUri=function(a){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(a)))};EditorUi.prototype.createImageDataUri=function(a,b,c){var d=a.toDataURL("image/"+c);if(6>=d.length||d==a.cloneNode(!1).toDataURL("image/"+c))throw{message:"Invalid image"};null!=b&&(d=this.writeGraphModelToPng(d,"zTXt","mxGraphModel",atob(this.editor.graph.compress(b))));return d};
- EditorUi.prototype.saveCanvas=function(a,b,c){var d="jpeg"==c?"jpg":c,e=this.getBaseFilename()+"."+d;a=this.createImageDataUri(a,b,c);this.saveData(e,d,a.substring(a.lastIndexOf(",")+1),"image/"+c,!0)};EditorUi.prototype.isLocalFileSave=function(){return"remote"!=urlParams.save&&(mxClient.IS_IE||"undefined"!==typeof window.Blob&&"undefined"!==typeof window.URL)&&9!=document.documentMode&&8!=document.documentMode&&7!=document.documentMode&&!mxClient.IS_QUIRKS||this.isOfflineApp()||mxClient.IS_IOS};
- EditorUi.prototype.doSaveLocalFile=function(a,b,c,d,f){if(window.Blob&&navigator.msSaveOrOpenBlob)a=d?this.base64ToBlob(a,c):new Blob([a],{type:c}),navigator.msSaveOrOpenBlob(a,b);else if(mxClient.IS_IE)c=window.open("about:blank","_blank"),null==c?mxUtils.popup(a,!0):(c.document.write(a),c.document.close(),c.document.execCommand("SaveAs",!0,b),c.close());else if(mxClient.IS_IOS)b=new TextareaDialog(this,b+":",a,null,null,mxResources.get("close")),b.textarea.style.width="600px",b.textarea.style.height=
- "380px",this.showDialog(b.container,620,460,!0,!0),b.init(),document.execCommand("selectall",!1,null);else{var e=document.createElement("a"),h=!mxClient.IS_SF&&"undefined"!==typeof e.download;if(h||this.isOffline()){e.href=URL.createObjectURL(d?this.base64ToBlob(a,c):new Blob([a],{type:c}));h?e.download=b:e.setAttribute("target","_blank");document.body.appendChild(e);try{window.setTimeout(function(){URL.revokeObjectURL(e.href)},0),e.click(),e.parentNode.removeChild(e)}catch(q){}}else this.createEchoRequest(a,
- b,c,d,f).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest=function(a,b,c,d,f,g){a="xml="+encodeURIComponent(a);return new mxXmlRequest(SAVE_URL,a+(null!=c?"&mime="+c:"")+(null!=f?"&format="+f:"")+(null!=g?"&base64="+g:"")+(null!=b?"&filename="+encodeURIComponent(b):"")+(d?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";for(var c=atob(a),d=c.length,e=Math.ceil(d/1024),h=Array(e),f=0;f<e;++f){for(var g=1024*f,l=Math.min(g+1024,d),u=Array(l-g),x=0;g<l;++x,++g)u[x]=
- c[g].charCodeAt(0);h[f]=new Uint8Array(u)}return new Blob(h,{type:b})};EditorUi.prototype.saveLocalFile=function(a,b,c,d,f,g){g=null!=g?g:!1;f="vsdx"!=f&&(!mxClient.IS_IOS||!navigator.standalone);b=new CreateDialog(this,b,mxUtils.bind(this,function(b,e){try{if("_blank"==e)if(null==c||"image/"!=c.substring(0,6)||"image/svg"==c.substring(0,9)&&!mxClient.IS_SVG)h=window.open("about:blank"),null==h?mxUtils.popup(a,!0):(h.document.write(mxUtils.htmlEntities(a,!1)),h.document.close());else if(mxClient.IS_EDGE||
- 11==document.documentMode||10==document.documentMode){var h=window.open("about:blank");null==h?mxUtils.popup(a,!0):(h.document.write('<html><img src="data:'+c+(d?";base64,"+a:";charset=utf8,"+encodeURIComponent(a))+'"/></html>'),h.document.close())}else h=window.open("data:"+c+(d?";base64,"+a:";charset=utf8,"+encodeURIComponent(a))),null==h&&mxUtils.popup(a,!0);else e==App.MODE_DEVICE?this.doSaveLocalFile(a,b,c,d):null!=b&&0<b.length&&this.pickFolder(e,mxUtils.bind(this,function(h){try{this.exportFile(a,
- b,c,d,e,h)}catch(x){this.handleError(x)}}))}catch(u){this.handleError(u)}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,g,f,null,null,g?3:4,a,c,d);this.showDialog(b.container,380,this.getServiceCount(g)-1<(g?4:5)?270:390,!0,!0);b.init()};EditorUi.prototype.saveData=function(a,b,c,d,f){this.isLocalFileSave()?this.saveLocalFile(c,a,d,f,b):this.saveRequest(a,b,mxUtils.bind(this,function(a,e){return this.createEchoRequest(c,a,d,f,b,e)}),c,
- f,d)};EditorUi.prototype.saveRequest=function(a,b,c,d,f,g){var e=!mxClient.IS_IOS||!navigator.standalone;a=new CreateDialog(this,a,mxUtils.bind(this,function(a,e){if("_blank"==e||null!=a&&0<a.length){var h=c("_blank"==e?null:a,e==App.MODE_DEVICE||null==e||"_blank"==e?"0":"1");null!=h&&(e==App.MODE_DEVICE||"_blank"==e?h.simulate(document,"_blank"):this.pickFolder(e,mxUtils.bind(this,function(c){g=null!=g?g:"pdf"==b?"application/pdf":"image/"+b;if(null!=d)try{this.exportFile(d,a,g,!0,e,c)}catch(v){this.handleError(v)}else this.spinner.spin(document.body,
- mxResources.get("saving"))&&h.send(mxUtils.bind(this,function(){this.spinner.stop();if(200<=h.getStatus()&&299>=h.getStatus())try{this.exportFile(h.getText(),a,g,!0,e,c)}catch(v){this.handleError(v)}else this.handleError({message:mxResources.get("errorSavingFile")})}),function(a){this.spinner.stop();this.handleError(a)})})))}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,!1,e,null,null,4,d,g,f);this.showDialog(a.container,380,5>this.getServiceCount(!1)-
- 1?270:390,!0,!0);a.init()};EditorUi.prototype.exportFile=function(a,b,c,d,f,g){};EditorUi.prototype.pickFolder=function(a,b,c){b(null)};EditorUi.prototype.exportSvg=function(a,b,c,d,f,g,l,q,w){if(this.spinner.spin(document.body,mxResources.get("export"))){var e=this.editor.graph.isSelectionEmpty();c=null!=c?c:e;e=b?null:this.editor.graph.background;e==mxConstants.NONE&&(e=null);null==e&&0==b&&(e="#ffffff");var h=this.editor.graph.getSvg(e,a,l,q,null,c);d&&this.editor.graph.addSvgShadow(h);var k=this.getBaseFilename()+
- ".svg",m=mxUtils.bind(this,function(a){this.spinner.stop();f&&a.setAttribute("content",this.getFileData(!0,null,null,null,c,w));var b='<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'+mxUtils.getXml(a);this.isLocalFileSave()||b.length<=MAX_REQUEST_SIZE?this.saveData(k,"svg",b,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(b)}))});this.convertMath(this.editor.graph,
- h,!1,mxUtils.bind(this,function(){g?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.convertImages(h,m,this.thumbImageCache)):m(h)}))}};EditorUi.prototype.addCheckbox=function(a,b,c,d,f,g){g=null!=g?g:!0;var e=document.createElement("input");e.style.marginRight="8px";e.style.marginTop="16px";e.setAttribute("type","checkbox");c&&(e.setAttribute("checked","checked"),e.defaultChecked=!0);d&&e.setAttribute("disabled","disabled");g&&(a.appendChild(e),mxUtils.write(a,b),f||mxUtils.br(a));return e};
- EditorUi.prototype.addEditButton=function(a,b){var c=this.addCheckbox(a,mxResources.get("edit")+":",!0,null,!0);c.style.marginLeft="24px";var d=this.getCurrentFile(),e="";null!=d&&d.getMode()!=App.MODE_DEVICE&&d.getMode()!=App.MODE_BROWSER&&(e=window.location.href);var h=document.createElement("select");h.style.width="120px";h.style.marginLeft="8px";h.style.marginRight="10px";h.className="geBtn";d=document.createElement("option");d.setAttribute("value","blank");mxUtils.write(d,mxResources.get("makeCopy"));
- h.appendChild(d);d=document.createElement("option");d.setAttribute("value","custom");mxUtils.write(d,mxResources.get("custom")+"...");h.appendChild(d);a.appendChild(h);mxEvent.addListener(h,"change",mxUtils.bind(this,function(){if("custom"==h.value){var a=new FilenameDialog(this,e,mxResources.get("ok"),function(a){null!=a?e=a:h.value="blank"},mxResources.get("url"),null,null,null,null,function(){h.value="blank"});this.showDialog(a.container,300,80,!0,!1);a.init()}}));mxEvent.addListener(c,"change",
- mxUtils.bind(this,function(){c.checked&&(null==b||b.checked)?h.removeAttribute("disabled"):h.setAttribute("disabled","disabled")}));mxUtils.br(a);return{getLink:function(){return c.checked?"blank"===h.value?"_blank":e:null},getEditInput:function(){return c},getEditSelect:function(){return h}}};EditorUi.prototype.addLinkSection=function(a,b){function c(){f.innerHTML='<div style="width:100%;height:100%;box-sizing:border-box;'+(null!=h&&h!=mxConstants.NONE?"border:1px solid black;background-color:"+
- h:"background-position:center center;background-repeat:no-repeat;background-image:url('"+Dialog.prototype.closeImage+"')")+';"></div>'}mxUtils.write(a,mxResources.get("links")+":");var d=document.createElement("select");d.style.width="100px";d.style.marginLeft="8px";d.style.marginRight="10px";d.className="geBtn";var e=document.createElement("option");e.setAttribute("value","auto");mxUtils.write(e,mxResources.get("automatic"));d.appendChild(e);e=document.createElement("option");e.setAttribute("value",
- "blank");mxUtils.write(e,mxResources.get("openInNewWindow"));d.appendChild(e);e=document.createElement("option");e.setAttribute("value","self");mxUtils.write(e,mxResources.get("openInThisWindow"));d.appendChild(e);b&&(e=document.createElement("option"),e.setAttribute("value","frame"),mxUtils.write(e,mxResources.get("openInThisWindow")+" ("+mxResources.get("iframe")+")"),d.appendChild(e));a.appendChild(d);mxUtils.write(a,mxResources.get("borderColor")+":");var h="#0000ff",f=null,f=mxUtils.button("",
- mxUtils.bind(this,function(a){this.pickColor(h||"none",function(a){h=a;c()});mxEvent.consume(a)}));c();f.style.padding=mxClient.IS_FF?"4px 2px 4px 2px":"4px";f.style.marginLeft="4px";f.style.height="22px";f.style.width="22px";f.style.position="relative";f.style.top=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE?"6px":"1px";f.className="geColorBtn";a.appendChild(f);mxUtils.br(a);return{getColor:function(){return h},getTarget:function(){return d.value},focus:function(){d.focus()}}};EditorUi.prototype.createLink=
- function(a,b,c,d,f,g,l,q){var e=this.getCurrentFile(),h=[];d&&(h.push("lightbox=1"),"auto"!=a&&h.push("target="+a),null!=b&&b!=mxConstants.NONE&&h.push("highlight="+("#"==b.charAt(0)?b.substring(1):b)),null!=f&&0<f.length&&h.push("edit="+encodeURIComponent(f)),g&&h.push("layers=1"),this.editor.graph.foldingEnabled&&h.push("nav=1"));if(c&&null!=this.pages&&null!=this.currentPage)for(a=0;a<this.pages.length;a++)if(this.pages[a]==this.currentPage){0<a&&h.push("page="+a);break}a=!0;null!=l?c="#U"+encodeURIComponent(l):
- (e=this.getCurrentFile(),q||null==e||e.constructor!=window.DriveFile?c="#R"+encodeURIComponent(c?this.getFileData(!0,null,null,null,null,null,null,!0):this.editor.graph.compress(mxUtils.getXml(this.editor.getGraphXml()))):(c="#"+e.getHash(),a=!1));a&&null!=e&&null!=e.getTitle()&&e.getTitle()!=this.defaultFilename&&h.push("title="+encodeURIComponent(e.getTitle()));return(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?"https://www.draw.io/":"https://"+location.host+"/")+(0<h.length?"?"+h.join("&"):"")+
- c};EditorUi.prototype.createHtml=function(a,b,c,d,f,g,l,q,w,u,x){var e=this.getBasenames(),h={};""!=f&&f!=mxConstants.NONE&&(h.highlight=f);"auto"!==d&&(h.target=d);w||(h.lightbox=!1);h.nav=this.editor.graph.foldingEnabled;c=parseInt(c);isNaN(c)||100==c||(h.zoom=c/100);c=[];l&&(c.push("pages"),h.resize=!0,null!=this.pages&&null!=this.currentPage&&(h.page=mxUtils.indexOf(this.pages,this.currentPage)));b&&(c.push("zoom"),h.resize=!0);q&&c.push("layers");0<c.length&&(w&&c.push("lightbox"),h.toolbar=
- c.join(" "));null!=u&&0<u.length&&(h.edit=u);null!=a?h.url=a:h.xml=this.getFileData(!0,null,null,null,null,!l);b='<div class="mxgraph" style="'+(g?"max-width:100%;":"")+(""!=c?"border:1px solid transparent;":"")+'" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(h))+'"></div>';e=0<e.length?"s="+e.join(";"):"";a=null!=a?"fetch="+encodeURIComponent(a):"";x(b,'<script type="text/javascript" src="'+(0<e.length||0<a.length?("1"==urlParams.dev?"https://test.draw.io/embed2.js?dev=1&"+e:"https://www.draw.io/embed2.js?"+
- e)+"&"+a:"1"==urlParams.dev?"https://test.draw.io/js/viewer.min.js":"https://www.draw.io/js/viewer.min.js")+'">\x3c/script>')};EditorUi.prototype.showHtmlDialog=function(a,b,c,d){var e=document.createElement("div");e.style.whiteSpace="nowrap";var h=document.createElement("h3");mxUtils.write(h,mxResources.get("html"));h.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";e.appendChild(h);var f=document.createElement("div");f.style.cssText="border-bottom:1px solid lightGray;padding-bottom:8px;margin-bottom:12px;";
- var g=document.createElement("input");g.style.cssText="margin-right:8px;margin-top:8px;margin-bottom:8px;";g.setAttribute("value","url");g.setAttribute("type","radio");g.setAttribute("name","type-embedhtmldialog");h=g.cloneNode(!0);h.setAttribute("value","copy");f.appendChild(h);var k=document.createElement("span");mxUtils.write(k,mxResources.get("includeCopyOfMyDiagram"));f.appendChild(k);mxUtils.br(f);f.appendChild(g);k=document.createElement("span");mxUtils.write(k,mxResources.get("publicDiagramUrl"));
- f.appendChild(k);var m=this.getCurrentFile();null==c&&null!=m&&m.constructor==window.DriveFile&&(k=document.createElement("a"),k.style.paddingLeft="12px",k.style.color="gray",k.setAttribute("href","javascript:void(0);"),mxUtils.write(k,mxResources.get("share")),f.appendChild(k),mxEvent.addListener(k,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(m.getId())})));h.setAttribute("checked","checked");null==c&&g.setAttribute("disabled","disabled");e.appendChild(f);var l=
- this.addLinkSection(e),v=this.addCheckbox(e,mxResources.get("zoom"),!0,null,!0);mxUtils.write(e,":");var z=document.createElement("input");z.setAttribute("type","text");z.style.marginRight="16px";z.style.width="60px";z.style.marginLeft="4px";z.style.marginRight="12px";z.value="100%";e.appendChild(z);var C=this.addCheckbox(e,mxResources.get("fit"),!0),f=null!=this.pages&&1<this.pages.length,E=E=this.addCheckbox(e,mxResources.get("allPages"),f,!f),y=this.addCheckbox(e,mxResources.get("layers"),!0),
- A=this.addCheckbox(e,mxResources.get("lightbox"),!0),B=this.addEditButton(e,A),F=B.getEditInput();F.style.marginBottom="16px";mxEvent.addListener(A,"change",function(){A.checked?F.removeAttribute("disabled"):F.setAttribute("disabled","disabled");F.checked&&A.checked?B.getEditSelect().removeAttribute("disabled"):B.getEditSelect().setAttribute("disabled","disabled")});a=new CustomDialog(this,e,mxUtils.bind(this,function(){d(g.checked?c:null,v.checked,z.value,l.getTarget(),l.getColor(),C.checked,E.checked,
- y.checked,A.checked,B.getLink())}),null,a,b);this.showDialog(a.container,340,360,!0,!0);h.focus()};EditorUi.prototype.showPublishLinkDialog=function(a,b,c,d,f,g){var e=document.createElement("div");e.style.whiteSpace="nowrap";var h=document.createElement("h3");mxUtils.write(h,a||mxResources.get("link"));h.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";e.appendChild(h);var k=this.getCurrentFile(),h="https://desk.draw.io/support/solutions/articles/16000051941";a=0;if(null!=
- k&&k.constructor==window.DriveFile&&!b){a=80;var h="https://desk.draw.io/support/solutions/articles/16000039384",m=document.createElement("div");m.style.cssText="border-bottom:1px solid lightGray;padding-bottom:14px;padding-top:6px;margin-bottom:14px;text-align:center;";var l=document.createElement("div");l.style.whiteSpace="normal";mxUtils.write(l,mxResources.get("linkAccountRequired"));m.appendChild(l);l=mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){this.drive.showPermissions(k.getId())}));
- l.style.marginTop="12px";l.className="geBtn";m.appendChild(l);e.appendChild(m);l=document.createElement("a");l.style.paddingLeft="12px";l.style.color="gray";l.style.fontSize="11px";l.setAttribute("href","javascript:void(0);");mxUtils.write(l,mxResources.get("check"));m.appendChild(l);mxEvent.addListener(l,"click",mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(a){this.spinner.stop();a=new ErrorDialog(this,
- null,mxResources.get(null!=a?"diagramIsPublic":"diagramIsNotPublic"),mxResources.get("ok"));this.showDialog(a.container,300,80,!0,!1);a.init()}))}))}var n=null,p=null;if(null!=c||null!=d)a+=30,mxUtils.write(e,mxResources.get("width")+":"),n=document.createElement("input"),n.setAttribute("type","text"),n.style.marginRight="16px",n.style.width="50px",n.style.marginLeft="6px",n.style.marginRight="16px",n.style.marginBottom="10px",n.value="100%",e.appendChild(n),mxUtils.write(e,mxResources.get("height")+
- ":"),p=document.createElement("input"),p.setAttribute("type","text"),p.style.width="50px",p.style.marginLeft="6px",p.style.marginBottom="10px",p.value=d+"px",e.appendChild(p),mxUtils.br(e);var C=this.addLinkSection(e,g);c=null!=this.pages&&1<this.pages.length;var E=null;if(null==k||k.constructor!=window.DriveFile||b)E=this.addCheckbox(e,mxResources.get("allPages"),c,!c);var y=this.addCheckbox(e,mxResources.get("lightbox"),!0),A=this.addEditButton(e,y),B=A.getEditInput(),F=this.addCheckbox(e,mxResources.get("layers"),
- !0);F.style.marginLeft=B.style.marginLeft;F.style.marginBottom="16px";F.style.marginTop="8px";mxEvent.addListener(y,"change",function(){y.checked?(F.removeAttribute("disabled"),B.removeAttribute("disabled")):(F.setAttribute("disabled","disabled"),B.setAttribute("disabled","disabled"));B.checked&&y.checked?A.getEditSelect().removeAttribute("disabled"):A.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,e,mxUtils.bind(this,function(){f(C.getTarget(),C.getColor(),null==E?
- !0:E.checked,y.checked,A.getLink(),F.checked,null!=n?n.value:null,null!=p?p.value:null)}),null,mxResources.get("create"),h);this.showDialog(b.container,340,246+a,!0,!0);null!=n?(n.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll",!1,null)):C.focus()};EditorUi.prototype.showRemoteExportDialog=function(a,b,c,d){var e=document.createElement("div");e.style.whiteSpace="nowrap";var h=document.createElement("h3");mxUtils.write(h,mxResources.get("image"));
- h.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";e.appendChild(h);var f=this.addCheckbox(e,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),g=d?null:this.addCheckbox(e,mxResources.get("includeCopyOfMyDiagram"),!0);null!=g&&(g.style.marginBottom="16px");a=new CustomDialog(this,e,mxUtils.bind(this,function(){c(!f.checked,null!=g?g.checked:!1)}),null,a,b);this.showDialog(a.container,300,d?100:146,!0,!0)};EditorUi.prototype.showExportDialog=function(a,
- b,c,d,f,g,l,q){l=null!=l?l:!0;var e=document.createElement("div");e.style.whiteSpace="nowrap";var h=this.editor.graph,k="jpeg"==q?170:280,m=document.createElement("h3");mxUtils.write(m,a);m.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px";e.appendChild(m);mxUtils.write(e,mxResources.get("zoom")+":");var n=document.createElement("input");n.setAttribute("type","text");n.style.marginRight="16px";n.style.width="60px";n.style.marginLeft="4px";n.style.marginRight="12px";n.value=
- this.lastExportZoom||"100%";e.appendChild(n);mxUtils.write(e,mxResources.get("borderWidth")+":");var p=document.createElement("input");p.setAttribute("type","text");p.style.marginRight="16px";p.style.width="60px";p.style.marginLeft="4px";p.value=this.lastExportBorder||"0";e.appendChild(p);mxUtils.br(e);var t=this.addCheckbox(e,mxResources.get("transparentBackground"),h.background==mxConstants.NONE||null==h.background,null,null,"jpeg"!=q),y=this.addCheckbox(e,mxResources.get("selectionOnly"),!1,h.isSelectionEmpty()),
- A=document.createElement("input");A.style.marginTop="16px";A.style.marginRight="8px";A.style.marginLeft="24px";A.setAttribute("disabled","disabled");A.setAttribute("type","checkbox");g&&(e.appendChild(A),mxUtils.write(e,mxResources.get("crop")),mxUtils.br(e),k+=26,mxEvent.addListener(y,"change",function(){y.checked?A.removeAttribute("disabled"):A.setAttribute("disabled","disabled")}));h.isSelectionEmpty()||(A.setAttribute("checked","checked"),A.defaultChecked=!0);var B=this.addCheckbox(e,mxResources.get("shadow"),
- h.shadowVisible),F=document.createElement("input");F.style.marginTop="16px";F.style.marginRight="8px";F.setAttribute("type","checkbox");!this.isOffline()&&this.canvasSupported||F.setAttribute("disabled","disabled");b&&(e.appendChild(F),mxUtils.write(e,mxResources.get("embedImages")),mxUtils.br(e),k+=26);var G=this.addCheckbox(e,mxResources.get("includeCopyOfMyDiagram"),l,null,null,"jpeg"!=q),I=null!=this.pages&&1<this.pages.length,D=this.addCheckbox(e,I?mxResources.get("allPages"):"",I,!I,null,"jpeg"!=
- q);D.style.marginLeft="24px";D.style.marginBottom="16px";I||(D.style.visibility="hidden");mxEvent.addListener(G,"change",function(){G.checked&&I?D.removeAttribute("disabled"):D.setAttribute("disabled","disabled")});l&&I||D.setAttribute("disabled","disabled");a=new CustomDialog(this,e,mxUtils.bind(this,function(){this.lastExportBorder=p.value;this.lastExportZoom=n.value;f(n.value,t.checked,!y.checked,B.checked,G.checked,F.checked,p.value,A.checked,!D.checked)}),null,c,d);this.showDialog(a.container,
- 320,k,!0,!0);n.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(a,b,c,d,f){var e=document.createElement("div");e.style.whiteSpace="nowrap";var h=this.editor.graph;if(null!=b){var g=document.createElement("h3");mxUtils.write(g,b);g.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";e.appendChild(g)}var k=this.addCheckbox(e,mxResources.get("fit"),!0),
- m=this.addCheckbox(e,mxResources.get("shadow"),h.shadowVisible&&d,!d),l=this.addCheckbox(e,c),n=this.addCheckbox(e,mxResources.get("lightbox"),!0),z=this.addEditButton(e,n),C=z.getEditInput(),E=1<h.model.getChildCount(h.model.getRoot()),y=this.addCheckbox(e,mxResources.get("layers"),E,!E);y.style.marginLeft=C.style.marginLeft;y.style.marginBottom="12px";y.style.marginTop="8px";mxEvent.addListener(n,"change",function(){n.checked?(E&&y.removeAttribute("disabled"),C.removeAttribute("disabled")):(y.setAttribute("disabled",
- "disabled"),C.setAttribute("disabled","disabled"));C.checked&&n.checked?z.getEditSelect().removeAttribute("disabled"):z.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,e,mxUtils.bind(this,function(){a(k.checked,m.checked,l.checked,n.checked,z.getLink(),y.checked)}),null,mxResources.get("embed"),f);this.showDialog(b.container,280,280,!0,!0)};EditorUi.prototype.createEmbedImage=function(a,b,c,d,f,g,l,q){function e(b){var e=" ",k="";d&&(e=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('https://www.draw.io/?client=1&lightbox=1"+
- (f?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",k+="cursor:pointer;");a&&(k+="max-width:100%;");var m="";c&&(m=' width="'+Math.round(h.width)+'" height="'+Math.round(h.height)+'"');l('<img src="'+b+'"'+m+(""!=k?' style="'+k+'"':"")+e+"/>")}var h=this.editor.graph.getGraphBounds();if(this.isExportToCanvas())this.exportToCanvas(mxUtils.bind(this,function(a){var b=d?this.getFileData(!0):null;a=this.createImageDataUri(a,b,"png");e(a)}),null,null,null,mxUtils.bind(this,function(a){q({message:mxResources.get("unknownError")})}),
- null,!0,c?2:1,null,b);else if(b=this.getFileData(!0),h.width*h.height<=MAX_AREA&&b.length<=MAX_REQUEST_SIZE){var k="";c&&(k="&w="+Math.round(2*h.width)+"&h="+Math.round(2*h.height));var m=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(d?"1":"0")+k+"&xml="+encodeURIComponent(b));m.send(mxUtils.bind(this,function(){200<=m.getStatus()&&299>=m.getStatus()?e("data:image/png;base64,"+m.getText()):q({message:mxResources.get("unknownError")})}))}else q({message:mxResources.get("drawingTooLarge")})};
- EditorUi.prototype.createEmbedSvg=function(a,b,c,d,f,g,l){var e=this.editor.graph.getSvg(),h=e.getElementsByTagName("a");if(null!=h)for(var k=0;k<h.length;k++){var m=h[k].getAttribute("href");null!=m&&"#"==m.charAt(0)&&"_blank"==h[k].getAttribute("target")&&h[k].removeAttribute("target")}d&&e.setAttribute("content",this.getFileData(!0));b&&this.editor.graph.addSvgShadow(e);if(c){var n=" ",p="";d&&(n="onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('https://www.draw.io/?client=1&lightbox=1"+
- (f?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",p+="cursor:pointer;");a&&(p+="max-width:100%;");this.convertImages(e,mxUtils.bind(this,function(a){l('<img src="'+this.createSvgDataUri(mxUtils.getXml(a))+'"'+(""!=p?' style="'+p+'"':"")+n+"/>")}))}else p="",d&&(e.setAttribute("onclick","(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('https://www.draw.io/?client=1&lightbox=1"+
- (f?"&edit=_blank":"")+(g?"&layers=1":"")+"');}}})(this);"),p+="cursor:pointer;"),a&&(a=parseInt(e.getAttribute("width")),b=parseInt(e.getAttribute("height")),e.setAttribute("viewBox","0 0 "+a+" "+b),p+="max-width:100%;max-height:"+b+"px;",e.removeAttribute("height")),""!=p&&e.setAttribute("style",p),l(mxUtils.getXml(e))};EditorUi.prototype.timeSince=function(a){a=Math.floor((new Date-a)/1E3);var b=Math.floor(a/31536E3);if(1<b)return b+" "+mxResources.get("years");b=Math.floor(a/2592E3);if(1<b)return b+
- " "+mxResources.get("months");b=Math.floor(a/86400);if(1<b)return b+" "+mxResources.get("days");b=Math.floor(a/3600);if(1<b)return b+" "+mxResources.get("hours");b=Math.floor(a/60);return 1<b?b+" "+mxResources.get("minutes"):1==b?b+" "+mxResources.get("minute"):null};EditorUi.prototype.convertMath=function(a,b,c,d){d()};EditorUi.prototype.getEmbeddedSvg=function(a,b,c,d,f,g,l){l=b.background;l==mxConstants.NONE&&(l=null);b=b.getSvg(l,null,null,null,null,g);null!=a&&b.setAttribute("content",a);null!=
- c&&b.setAttribute("resource",c);if(null!=f)this.convertImages(b,mxUtils.bind(this,function(a){f((d?"":'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')+mxUtils.getXml(a))}));else return(d?"":'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')+mxUtils.getXml(b)};EditorUi.prototype.exportImage=function(a,b,c,d,f,g,l,
- q,w){w=null!=w?w:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"))){var e=this.editor.graph.isSelectionEmpty();c=null!=c?c:e;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.exportToCanvas(mxUtils.bind(this,function(a){this.spinner.stop();try{this.saveCanvas(a,f?this.getFileData(!0,null,null,null,c,q):null,w)}catch(v){"Invalid image"==v.message?this.downloadFile(w):this.handleError(v)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop();
- this.handleError(a)}),null,c,a||1,b,d,null,null,g,l)}catch(x){this.spinner.stop(),this.handleError(x)}}};EditorUi.prototype.loadFonts=function(a){if(null!=this.editor.fontCss&&null==this.editor.resolvedFontCss){var b=this.editor.fontCss.split("url("),c=0,d={},e=mxUtils.bind(this,function(){if(0==c){for(var e=[b[0]],h=1;h<b.length;h++){var f=b[h].indexOf(")");e.push("url(");e.push(d[b[h].substring(0,f)]);e.push(b[h].substring(f))}this.editor.resolvedFontCss=e.join("");a()}});if(0<b.length)for(var f=
- 1;f<b.length;f++){var g=b[f].indexOf(")");mxUtils.bind(this,function(a){if(null==d[a]){d[a]=a;c++;var b="application/x-font-ttf";/(\.svg)($|\?)/i.test(a)?b="image/svg+xml":/(\.otf)($|\?)/i.test(a)?b="application/x-font-opentype":/(\.woff)($|\?)/i.test(a)?b="application/font-woff":/(\.woff2)($|\?)/i.test(a)?b="application/font-woff2":/(\.eot)($|\?)/i.test(a)?b="application/vnd.ms-fontobject":/(\.sfnt)($|\?)/i.test(a)&&(b="application/font-sfnt");var h=a;/^https?:\/\//.test(h)&&!this.isCorsEnabledForUrl(h)&&
- (h=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(h,mxUtils.bind(this,function(b){d[a]=b;c--;e()}),mxUtils.bind(this,function(a){c--;e()}),!0,null,"data:"+b+";charset=utf-8;base64,")}})(b[f].substring(0,g))}}else a()};EditorUi.prototype.exportToCanvas=function(a,b,c,d,f,g,l,q,w,u,x,v,z,C){g=null!=g?g:!0;v=null!=v?v:this.editor.graph;z=null!=z?z:0;var e=w?null:v.background;e==mxConstants.NONE&&(e=null);null==e&&(e=d);null==e&&0==w&&(e="#ffffff");this.convertImages(v.getSvg(e,null,null,C,null,
- null!=l?l:!0),mxUtils.bind(this,function(c){var d=new Image;d.onload=mxUtils.bind(this,function(){try{var h=document.createElement("canvas"),k=parseInt(c.getAttribute("width")),m=parseInt(c.getAttribute("height"));q=null!=q?q:1;null!=b&&(q=g?Math.min(1,Math.min(3*b/(4*m),b/k)):b/k);k=Math.ceil(q*k)+2*z;m=Math.ceil(q*m)+2*z;h.setAttribute("width",k);h.setAttribute("height",m);var l=h.getContext("2d");null!=e&&(l.beginPath(),l.rect(0,0,k,m),l.fillStyle=e,l.fill());l.scale(q,q);l.drawImage(d,z/q,z/q);
- a(h)}catch(M){null!=f&&f(M)}});d.onerror=function(a){null!=f&&f(a)};try{u&&this.editor.graph.addSvgShadow(c);var h=mxUtils.bind(this,function(){if(null!=this.editor.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.editor.resolvedFontCss;c.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(v,c,!0,mxUtils.bind(this,function(){d.src=this.createSvgDataUri(mxUtils.getXml(c))}))});this.loadFonts(h)}catch(F){null!=f&&f(F)}}),c,x)};EditorUi.prototype.createImageUrlConverter=
- function(){var a=new mxUrlConverter;a.updateBaseUrl();var b=a.convert;a.convert=function(c){null!=c&&("http://"!=c.substring(0,7)&&"https://"!=c.substring(0,8)||c.substring(0,a.baseUrl.length)==a.baseUrl?"chrome-extension://"!=c.substring(0,19)&&(c=b.apply(this,arguments)):c=PROXY_URL+"?url="+encodeURIComponent(c));return c};return a};EditorUi.prototype.convertImages=function(a,b,c,d){null==d&&(d=this.createImageUrlConverter());var e=0,h=c||{};c=mxUtils.bind(this,function(c,f){for(var g=a.getElementsByTagName(c),
- k=0;k<g.length;k++)mxUtils.bind(this,function(c){var g=d.convert(c.getAttribute(f));if(null!=g&&"data:"!=g.substring(0,5)){var k=h[g];null==k?(e++,this.convertImageToDataUri(g,function(d){null!=d&&(h[g]=d,c.setAttribute(f,d));e--;0==e&&b(a)})):c.setAttribute(f,k)}})(g[k])});c("image","xlink:href");c("img","src");0==e&&b(a)};EditorUi.prototype.loadUrl=function(a,b,c,d,f,g){try{var e=d||/(\.png)($|\?)/i.test(a)||/(\.jpe?g)($|\?)/i.test(a)||/(\.gif)($|\?)/i.test(a);f=null!=f?f:!0;var h=mxUtils.bind(this,
- function(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=b){var d=a.getText();if(e){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var d=Array(a.length),h=0;h<a.length;h++)d[h]=String.fromCharCode(a[h]);d=d.join("")}g=null!=g?g:"data:image/png;base64,";d=g+this.base64Encode(d)}b(d)}}else null!=c&&c({code:App.ERROR_UNKNOWN})}),function(){null!=
- c&&c({code:App.ERROR_UNKNOWN})},e,this.timeout,function(){f&&null!=c&&c({code:App.ERROR_TIMEOUT,retry:h})})});h()}catch(w){null!=c&&c(w)}};EditorUi.prototype.isCorsEnabledForUrl=function(a){return"https?://raw.githubusercontent.com/"===a.substring(0,34)||/^https?:\/\/.*\.github\.io\//.test(a)||/^https?:\/\/(.*\.)?rawgit\.com\//.test(a)};EditorUi.prototype.convertImageToDataUri=function(a,b){if(/(\.svg)$/i.test(a))mxUtils.get(a,mxUtils.bind(this,function(a){b(this.createSvgDataUri(a.getText()))}),
- function(){b()});else{var c=new Image;c.onload=function(){var a=document.createElement("canvas"),d=a.getContext("2d");a.height=c.height;a.width=c.width;d.drawImage(c,0,0);b(a.toDataURL())};c.onerror=function(){b()};c.src=a}};EditorUi.prototype.importXml=function(a,b,c,d,f){b=null!=b?b:0;c=null!=c?c:0;var e=[];try{var h=this.editor.graph;if(null!=a&&0<a.length){var g=mxUtils.parseXml(a),k=this.editor.extractGraphModel(g.documentElement,null!=this.pages);if(null!=k&&"mxfile"==k.nodeName&&null!=this.pages){var m=
- k.getElementsByTagName("diagram");if(1==m.length)k=mxUtils.parseXml(h.decompress(mxUtils.getTextContent(m[0]))).documentElement;else if(1<m.length){h.model.beginUpdate();try{for(var l=0;l<m.length;l++){var n=this.updatePageRoot(new DiagramPage(m[l])),z=this.pages.length;null==n.getName()&&n.setName(mxResources.get("pageWithNumber",[z+1]));h.model.execute(new ChangePage(this,n,n,z))}}finally{h.model.endUpdate()}}}if(null!=k&&"mxGraphModel"===k.nodeName){var C=new mxGraphModel;(new mxCodec(k.ownerDocument)).decode(k,
- C);var E=C.getChildCount(C.getRoot());h.model.getChildCount(h.model.getRoot());h.model.beginUpdate();try{a={};for(l=0;l<E;l++){var y=C.getChildAt(C.getRoot(),l);if(1!=E||h.isCellLocked(h.getDefaultParent()))y=h.importCells([y],0,0,h.model.getRoot(),null,a)[0],A=h.model.getChildren(y),h.moveCells(A,b,c),e=e.concat(A);else var A=C.getChildren(y),e=e.concat(h.importCells(A,b,c,h.getDefaultParent(),null,a))}if(d){h.isGridEnabled()&&(b=h.snap(b),c=h.snap(c));var B=h.getBoundingBoxFromGeometry(e,!0);null!=
- B&&h.moveCells(e,b-B.x,c-B.y)}}finally{h.model.endUpdate()}}}}catch(F){throw f||this.handleError(F,mxResources.get("invalidOrMissingFile")),F;}return e};EditorUi.prototype.importLucidChart=function(a,b,c,d,f){var e=mxUtils.bind(this,function(){if(this.pasteLucidChart)try{this.insertLucidChart(a,b,c,d,f),null==this.updateAd||this.lucidchartTweetShown||"1"==urlParams.embed||(this.adsHtml.push('<a title="'+mxResources.get("loveIt",["draw.io"])+'" target="_blank" href="https://twitter.com/intent/tweet?text='+
- encodeURIComponent("I've just copy and pasted my Lucidchart diagram into www.draw.io")+'" onclick="javascript:window.open(this.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,left=\'+((screen.width-640)/2)+\',top=\'+((screen.height-280)/3)+\',height=280,width=640\');return false;"\'><img border="0" align="absmiddle" style="margin-top:-2px;padding-right:8px;" src="'+Editor.tweetImage+'"/>Paste from Lucidchart?</a>'),this.updateAd(this.adsHtml.length-1,200),this.lucidchartTweetShown=
- !0)}catch(t){this.handleError(t)}finally{null!=f&&f()}});this.pasteLucidChart||this.loadingExtensions||this.isOffline()?window.setTimeout(e,0):(this.loadingExtensions=!0,"1"==urlParams.dev?mxscript("js/diagramly/Extensions.js",e):mxscript("js/extensions.min.js",e))};EditorUi.prototype.insertLucidChart=function(a,b,c,d,f){f=JSON.parse(a);a=[];if(null!=f.state){f=JSON.parse(f.state);for(var e in f.Pages)a.push(f.Pages[e]);a.sort(function(a,b){return a.Properties.Order<b.Properties.Order?-1:a.Properties.Order>
- b.Properties.Order?1:0})}else a.push(f);if(0<a.length){this.editor.graph.getModel().beginUpdate();try{if(this.pasteLucidChart(a[0],b,c,d),null!=this.pages){var h=this.currentPage;for(b=1;b<a.length;b++)this.insertPage(),this.pasteLucidChart(a[b]);this.selectPage(h)}}finally{this.editor.graph.getModel().endUpdate()}}};EditorUi.prototype.insertTextAt=function(a,b,c,d,f,g,l){g=null!=g?g:!0;l=null!=l?l:!0;if(null!=a)if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a))this.parseFile(new Blob([a.replace(/\s+/g,
- " ")],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&this.editor.graph.setSelectionCells(this.insertTextAt(a.responseText,b,c,!0))}));else if("data:"==a.substring(0,5)||!this.isOffline()&&(f||/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(a))){var e=this.editor.graph;if("data:image/png;base64,"==a.substring(0,22)){var h=this.extractGraphModelFromPng(a),k=this.importXml(h,b,c,g,!0);if(0<k.length)return k}if("data:image/svg+xml;"==a.substring(0,
- 19))try{if(h=null,"data:image/svg+xml;base64,"==a.substring(0,26)?(h=a.substring(a.indexOf(",")+1),h=window.atob&&!mxClient.IS_SF?atob(h):Base64.decode(h,!0)):h=decodeURIComponent(a.substring(a.indexOf(",")+1)),k=this.importXml(h,b,c,g,!0),0<k.length)return k}catch(x){}this.loadImage(a,mxUtils.bind(this,function(d){if("data:"==a.substring(0,5))this.resizeImage(d,a,mxUtils.bind(this,function(a,d,h){e.setSelectionCell(e.insertVertex(null,null,"",e.snap(b),e.snap(c),d,h,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+
- this.convertDataUri(a)+";"))}),l,this.maxImageSize);else{var h=Math.min(1,Math.min(this.maxImageSize/d.width,this.maxImageSize/d.height)),f=Math.round(d.width*h);d=Math.round(d.height*h);e.setSelectionCell(e.insertVertex(null,null,"",e.snap(b),e.snap(c),f,d,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+a+";"))}}),mxUtils.bind(this,function(){var h=null;e.getModel().beginUpdate();try{h=e.insertVertex(e.getDefaultParent(),
- null,a,e.snap(b),e.snap(c),1,1,"text;"+(d?"html=1;":"")),e.updateCellSize(h),e.fireEvent(new mxEventObject("textInserted","cells",[h]))}finally{e.getModel().endUpdate()}e.setSelectionCell(h)}))}else{a=this.editor.graph.zapGremlins(mxUtils.trim(a));if(this.isCompatibleString(a))return this.importXml(a,b,c,g);if(0<a.length)if('{"state":"{\\"Properties\\":'==a.substring(0,26))this.importLucidChart(a,b,c,g);else{e=this.editor.graph;f=null;e.getModel().beginUpdate();try{f=e.insertVertex(e.getDefaultParent(),
- null,"",e.snap(b),e.snap(c),1,1,"text;"+(d?"html=1;":"")),e.fireEvent(new mxEventObject("textInserted","cells",[f])),f.value=a,e.updateCellSize(f),/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/i.test(f.value)&&e.setLinkForCell(f,f.value),f.geometry.width+=e.gridSize,f.geometry.height+=e.gridSize}finally{e.getModel().endUpdate()}return[f]}}return[]};
- EditorUi.prototype.formatFileSize=function(a){var b=-1;do a/=1024,b++;while(1024<a);return Math.max(a,.1).toFixed(1)+" kB; MB; GB; TB;PB;EB;ZB;YB".split(";")[b]};EditorUi.prototype.convertDataUri=function(a){if("data:"==a.substring(0,5)){var b=a.indexOf(";");0<b&&(a=a.substring(0,b)+a.substring(a.indexOf(",",b+1)))}return a};EditorUi.prototype.isRemoteFileFormat=function(a,b){return/(\.*<graphml xmlns=\".*)/.test(a)||/(\"contentType\":\s*\"application\/gliffy\+json\")/.test(a)||null!=b&&/(\.vsdx)($|\?)/i.test(b)||
- null!=b&&/(\.vssx)($|\?)/i.test(b)};EditorUi.prototype.importFile=function(a,b,c,d,f,g,l,q,w,u,x){u=null!=u?u:!0;var e=!1,h=null;"image"==b.substring(0,5)?(w=!1,"image/png"==b.substring(0,9)&&(b=x?null:this.extractGraphModelFromPng(a),null!=b&&0<b.length&&(h=this.importXml(b,c,d,u),w=!0)),w||(h=this.editor.graph,b=a.indexOf(";"),0<b&&(a=a.substring(0,b)+a.substring(a.indexOf(",",b+1))),u&&h.isGridEnabled()&&(c=h.snap(c),d=h.snap(d)),h=[h.insertVertex(null,null,"",c,d,f,g,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+
- a+";")])):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a,l)?(e=!0,this.parseFile(null!=w?w:new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){if(4==a.readyState){var b=null;200<=a.status&&299>=a.status&&(a=a.responseText,null!=a&&"<mxlibrary"==a.substring(0,10)?(null!=l&&".vssx"==l.toLowerCase().substring(l.length-5)&&(l=l.substring(0,l.length-5)+".xml"),this.loadLibrary(new LocalLibrary(this,a,l))):b=this.importXml(a,c,d,u));null!=q&&q(b)}}),
- l)):/(\.vsd)($|\?)/i.test(l)||(h=this.insertTextAt(this.validateFileData(a),c,d,!0,null,u));e||null==q||q(h);return h};EditorUi.prototype.base64Encode=function(a){for(var b="",c=0,d=a.length,e,f,g;c<d;){e=a.charCodeAt(c++)&255;if(c==d){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4);b+="==";break}f=a.charCodeAt(c++);if(c==d){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>
- 2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4|(f&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f&15)<<2);b+="=";break}g=a.charCodeAt(c++);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4|(f&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f&15)<<2|(g&192)>>6);
- b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g&63)}return b};EditorUi.prototype.importFiles=function(a,b,c,d,f,g,l,q,w,u,x,v){b=null!=b?b:0;c=null!=c?c:0;d=null!=d?d:this.maxImageSize;u=null!=u?u:this.maxImageBytes;var e=null!=b&&null!=c,h=!0,k=!1;if(!mxClient.IS_CHROMEAPP&&null!=a)for(var m=x||this.resampleThreshold,n=0;n<a.length;n++)if("image/"==a[n].type.substring(0,6)&&a[n].size>m){k=!0;break}var p=mxUtils.bind(this,function(){var k=this.editor.graph,m=k.gridSize;
- f=null!=f?f:mxUtils.bind(this,function(a,b,c,d,f,h,g,k,l){return null!=a&&"<mxlibrary"==a.substring(0,10)?(this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,a,g)),null):this.importFile(a,b,c,d,f,h,g,k,l,e,v)});g=null!=g?g:mxUtils.bind(this,function(a){k.setSelectionCells(a)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var n=a.length,w=n,p=[],t=mxUtils.bind(this,function(a,b){p[a]=b;if(0==--w){this.spinner.stop();if(null!=q)q(p);else{var c=[];k.getModel().beginUpdate();
- try{for(var d=0;d<p.length;d++){var e=p[d]();null!=e&&(c=c.concat(e))}}finally{k.getModel().endUpdate()}}g(c)}}),A=0;A<n;A++)mxUtils.bind(this,function(e){var g=a[e],k=new FileReader;k.onload=mxUtils.bind(this,function(a){if(null==l||l(g))if("image/"==g.type.substring(0,6))if("image/svg"==g.type.substring(0,9)){var k=a.target.result,n=k.indexOf(","),w=atob(k.substring(n+1)),p=mxUtils.parseXml(w),w=p.getElementsByTagName("svg");if(0<w.length){var w=w[0],q=v?null:w.getAttribute("content");null!=q&&
- "<"!=q.charAt(0)&&"%"!=q.charAt(0)&&(q=unescape(window.atob?atob(q):Base64.decode(q,!0)));null!=q&&"%"==q.charAt(0)&&(q=decodeURIComponent(q));null==q||"<mxfile "!==q.substring(0,8)&&"<mxGraphModel "!==q.substring(0,14)?t(e,mxUtils.bind(this,function(){try{if(k.substring(0,n+1),null!=p){var a=p.getElementsByTagName("svg");if(0<a.length){var h=a[0],l=parseFloat(h.getAttribute("width")),u=parseFloat(h.getAttribute("height")),w=h.getAttribute("viewBox");if(null==w||0==w.length)h.setAttribute("viewBox",
- "0 0 "+l+" "+u);else if(isNaN(l)||isNaN(u)){var x=w.split(" ");3<x.length&&(l=parseFloat(x[2]),u=parseFloat(x[3]))}k=this.createSvgDataUri(mxUtils.getXml(a[0]));var t=Math.min(1,Math.min(d/Math.max(1,l)),d/Math.max(1,u));return f(k,g.type,b+e*m,c+e*m,Math.max(1,Math.round(l*t)),Math.max(1,Math.round(u*t)),g.name)}}}catch(Z){}return null})):t(e,mxUtils.bind(this,function(){return f(q,"text/xml",b+e*m,c+e*m,0,0,g.name)}))}}else{w=!1;if("image/png"==g.type){var A=v?null:this.extractGraphModelFromPng(a.target.result);
- if(null!=A&&0<A.length){var z=new Image;z.src=a.target.result;t(e,mxUtils.bind(this,function(){return f(A,"text/xml",b+e*m,c+e*m,z.width,z.height,g.name)}));w=!0}}w||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),mxResources.get("cancel"),mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(a.target.result,mxUtils.bind(this,function(k){this.resizeImage(k,
- a.target.result,mxUtils.bind(this,function(k,l,n){t(e,mxUtils.bind(this,function(){if(null!=k&&k.length<u){var w=h&&this.isResampleImage(a.target.result,x)?Math.min(1,Math.min(d/l,d/n)):1;return f(k,g.type,b+e*m,c+e*m,Math.round(l*w),Math.round(n*w),g.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),h,d,x)})))}else f(a.target.result,g.type,b+e*m,c+e*m,240,160,g.name,function(a){t(e,function(){return a})})});/(\.vsdx)($|\?)/i.test(g.name)||/(\.vssx)($|\?)/i.test(g.name)?
- f(null,g.type,b+e*m,c+e*m,240,160,g.name,function(a){t(e,function(){return a})},g):"image"==g.type.substring(0,5)?k.readAsDataURL(g):k.readAsText(g)})(A)});k?this.confirmImageResize(function(a){h=a;p()},w):p()};EditorUi.prototype.confirmImageResize=function(a,b){b=null!=b?b:!1;var c=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},d=isLocalStorage||mxClient.IS_CHROMEAPP?mxSettings.getResizeImages():null,e=function(d,e){if(d||b)mxSettings.setResizeImages(d?e:null),mxSettings.save();
- c();a(e)};null==d||b?this.showDialog((new ConfirmDialog(this,mxResources.get("resizeLargeImages"),function(a){e(a,!0)},function(a){e(a,!1)},mxResources.get("resize"),mxResources.get("actualSize"),'<img style="margin-top:8px;" src="'+Editor.loResImage+'"/>','<img style="margin-top:8px;" src="'+Editor.hiResImage+'"/>',isLocalStorage||mxClient.IS_CHROMEAPP)).container,340,isLocalStorage||mxClient.IS_CHROMEAPP?220:200,!0,!0):e(!1,d)};EditorUi.prototype.parseFile=function(a,b,c){c=null!=c?c:a.name;var d=
- new FormData;d.append("format","xml");d.append("upfile",a,c);var e=new XMLHttpRequest;e.open("POST",OPEN_URL);e.onreadystatechange=function(){b(e)};e.send(d)};EditorUi.prototype.isResampleImage=function(a,b){b=null!=b?b:this.resampleThreshold;return a.length>b};EditorUi.prototype.resizeImage=function(a,b,c,d,f,g){f=null!=f?f:this.maxImageSize;var e=Math.max(1,a.width),h=Math.max(1,a.height);if(d&&this.isResampleImage(b,g))try{var k=Math.max(e/f,h/f);if(1<k){var l=Math.round(e/k),m=Math.round(h/k),
- n=document.createElement("canvas");n.width=l;n.height=m;n.getContext("2d").drawImage(a,0,0,l,m);var p=n.toDataURL();if(p.length<b.length){var C=document.createElement("canvas");C.width=l;C.height=m;var E=C.toDataURL();p!==E&&(b=p,e=l,h=m)}}}catch(y){}c(b,e,h)};EditorUi.prototype.crcTable=[];for(var b=0;256>b;b++)for(var c=b,d=0;8>d;d++)c=1==(c&1)?3988292384^c>>>1:c>>>1,EditorUi.prototype.crcTable[b]=c;EditorUi.prototype.updateCRC=function(a,b,c,d){for(var e=0;e<d;e++)a=EditorUi.prototype.crcTable[(a^
- b[c+e])&255]^a>>>8;return a};EditorUi.prototype.writeGraphModelToPng=function(a,b,c,d,f){function e(a,b){var c=k;k+=b;return a.substring(c,k)}function h(a){a=e(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function g(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a,!0);var k=0;if(e(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=f&&f();else if(e(a,
- 4),"IHDR"!=e(a,4))null!=f&&f();else{e(a,17);f=a.substring(0,k);do{var l=h(a);if("IDAT"==e(a,4)){f=a.substring(0,k-8);c=c+String.fromCharCode(0)+("zTXt"==b?String.fromCharCode(0):"")+d;d=4294967295;d=this.updateCRC(d,b,0,4);d=this.updateCRC(d,c,0,c.length);f+=g(c.length)+b+c+g(d^4294967295);f+=a.substring(k-8,a.length);break}f+=a.substring(k-8,k-4+l);d=e(a,l);e(a,4)}while(l);return"data:image/png;base64,"+(window.btoa?btoa(f):Base64.encode(f,!0))}};EditorUi.prototype.extractGraphModelFromPng=function(a){var b=
- null;try{var c=a.substring(a.indexOf(",")+1),d=window.atob&&!mxClient.IS_SF?atob(c):Base64.decode(c,!0);EditorUi.parsePng(d,mxUtils.bind(this,function(a,c,e){a=d.substring(a+8,a+8+e);"zTXt"==c?(e=a.indexOf(String.fromCharCode(0)),"mxGraphModel"==a.substring(0,e)&&(a=this.editor.graph.bytesToString(pako.inflateRaw(a.substring(e+2))).replace(/\+/g," "),null!=a&&0<a.length&&(b=a))):"tEXt"==c&&(a=a.split(String.fromCharCode(0)),1<a.length&&"mxGraphModel"==a[0]&&(b=a[1]));if(null!=b||"IDAT"==c)return!0}))}catch(n){}null!=
- b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));return b};EditorUi.prototype.loadImage=function(a,b,c){var d=new Image;d.onload=function(){b(d)};null!=c&&(d.onerror=c);d.src=a};var f=EditorUi.prototype.init;EditorUi.prototype.init=function(){function a(a){var c=a.indexOf(",");0<c&&(a=b.getPageById(a.substring(c+1)))&&b.selectPage(a)}"undefined"!==typeof window.mxSettings&&(this.formatWidth=mxSettings.getFormatWidth());var b=this,c=this.editor.graph,
- d=c.addClickHandler;c.addClickHandler=function(b,e,f){var h=e;e=function(b,d){if(null==d){var e=mxEvent.getSource(b);"a"==e.nodeName.toLowerCase()&&(d=e.getAttribute("href"))}null!=d&&c.isPageLink(d)&&(a(d),mxEvent.consume(b));null!=h&&h(b,d)};d.call(this,b,e,f)};f.apply(this,arguments);mxClient.IS_SVG&&this.editor.graph.addSvgShadow(c.view.canvas.ownerSVGElement,null,!0);b.actions.get("print").funct=function(){b.showDialog((new PrintDialog(b)).container,360,null!=b.pages&&1<b.pages.length?420:360,
- !0,!0)};this.defaultFilename=mxResources.get("untitledDiagram");var g=c.getGlobalVariable;c.getGlobalVariable=function(a){return"page"==a&&null!=b.currentPage?b.currentPage.getName():"pagenumber"==a?null!=b.currentPage&&null!=b.pages?mxUtils.indexOf(b.pages,b.currentPage)+1:1:g.apply(this,arguments)};var l=c.createLinkForHint;c.createLinkForHint=function(d,e){var f=c.isPageLink(d);if(f){var h=d.indexOf(",");0<h&&(h=b.getPageById(d.substring(h+1)),e=null!=h?h.getName():mxResources.get("pageNotFound"))}h=
- l.apply(this,arguments);f&&mxEvent.addListener(h,"click",function(b){a(d);mxEvent.consume(b)});return h};var t=c.labelLinkClicked;c.labelLinkClicked=function(b,d,e){var f=d.getAttribute("href");c.isPageLink(f)?(a(f),mxEvent.consume(e)):t.apply(this,arguments)};this.editor.getOrCreateFilename=function(){var a=b.defaultFilename,c=b.getCurrentFile();null!=c&&(a=null!=c.getTitle()?c.getTitle():a);return a};var q=this.actions.get("print");q.setEnabled(!mxClient.IS_IOS||!navigator.standalone);q.visible=
- q.isEnabled();if(!this.editor.chromeless){var w=function(){window.setTimeout(function(){u.innerHTML=" ";u.focus();document.execCommand("selectAll",!1,null)},0)};this.keyHandler.bindAction(70,!0,"find");this.keyHandler.bindAction(67,!0,"copyStyle",!0);this.keyHandler.bindAction(86,!0,"pasteStyle",!0);this.keyHandler.bindAction(77,!0,"editGeometry",!0);this.keyHandler.bindAction(88,!0,"insertText",!0);this.keyHandler.bindAction(75,!0,"insertRectangle");this.keyHandler.bindAction(75,!0,"insertEllipse",
- !0);mxClient.IS_IE||c.container.addEventListener("paste",mxUtils.bind(this,function(a){var b=this.editor.graph;if(!mxEvent.isConsumed(a))try{for(var c=a.clipboardData||a.originalEvent.clipboardData,d=!1,e=0;e<c.types.length;e++)if("text/"===c.types[e].substring(0,5)){d=!0;break}if(!d){var f=c.items;for(index in f){var h=f[index];if("file"===h.kind){if(b.isEditing())this.importFiles([h.getAsFile()],0,0,this.maxImageSize,function(a,c,d,e,f,h){b.insertImage(a,f,h)},function(){},function(a){return"image/"==
- a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()});else{var g=this.editor.graph.getInsertPoint();this.importFiles([h.getAsFile()],g.x,g.y,this.maxImageSize);mxEvent.consume(a)}break}}}}catch(K){}}),!1);var u=document.createElement("div");u.style.position="absolute";u.style.whiteSpace="nowrap";u.style.overflow="hidden";u.style.display="block";u.contentEditable=!0;mxUtils.setOpacity(u,0);u.style.width="1px";u.style.height="1px";u.innerHTML=" ";var x=!1;this.keyHandler.bindControlKey(88,
- null);this.keyHandler.bindControlKey(67,null);this.keyHandler.bindControlKey(86,null);mxEvent.addListener(document,"keydown",mxUtils.bind(this,function(a){var b=mxEvent.getSource(a);null==c.container||!c.isEnabled()||c.isMouseDown||c.isEditing()||null!=this.dialog||"INPUT"==b.nodeName||"TEXTAREA"==b.nodeName||!(224==a.keyCode||!mxClient.IS_MAC&&17==a.keyCode||mxClient.IS_MAC&&91==a.keyCode)||x||(u.style.left=c.container.scrollLeft+10+"px",u.style.top=c.container.scrollTop+10+"px",c.container.appendChild(u),
- x=!0,mxClient.IS_QUIRKS?window.setTimeout(function(){u.focus();document.execCommand("selectAll",!1,null)},0):(u.focus(),document.execCommand("selectAll",!1,null)))}));mxEvent.addListener(document,"keyup",mxUtils.bind(this,function(a){var b=a.keyCode;window.setTimeout(mxUtils.bind(this,function(){!x||224!=b&&17!=b&&91!=b||(x=!1,c.isEditing()||null!=this.dialog||null==c.container||c.container.focus(),u.parentNode.removeChild(u))}),0)}));mxEvent.addListener(u,"copy",mxUtils.bind(this,function(a){c.isEnabled()&&
- (mxClipboard.copy(c),this.copyCells(u),w())}));mxEvent.addListener(u,"cut",mxUtils.bind(this,function(a){c.isEnabled()&&(this.copyCells(u,!0),w())}));mxEvent.addListener(u,"paste",mxUtils.bind(this,function(a){c.isEnabled()&&!c.isCellLocked(c.getDefaultParent())&&(u.innerHTML=" ",u.focus(),window.setTimeout(mxUtils.bind(this,function(){this.pasteCells(a,u);u.innerHTML=" "}),0))}),!0);var v=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==u?!0:v.apply(this,
- arguments)}}this.spinner=this.createSpinner(document.body.clientWidth/2-2,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,24);Graph.fileSupport&&this.editor.graph.addListener(mxEvent.EDITING_STARTED,mxUtils.bind(this,function(a){var b=this.editor.graph,c=b.cellEditor.text2,d=null;null!=c&&(mxEvent.addListener(c,"dragleave",function(a){null!=d&&(d.parentNode.removeChild(d),d=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(c,"dragover",mxUtils.bind(this,
- function(a){null==d&&(!mxClient.IS_IE||10<document.documentMode)&&(d=this.highlightElement(c));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(c,"drop",mxUtils.bind(this,function(a){null!=d&&(d.parentNode.removeChild(d),d=null);if(0<a.dataTransfer.files.length)this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,function(a,c,d,e,f,h){b.insertImage(a,f,h)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},mxEvent.isControlDown(a));
- else if(0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")){var c=a.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)?this.loadImage(decodeURIComponent(c),mxUtils.bind(this,function(a){var d=Math.max(1,a.width);a=Math.max(1,a.height);var e=this.maxImageSize,e=Math.min(1,Math.min(e/Math.max(1,d)),e/Math.max(1,a));b.insertImage(decodeURIComponent(c),d*e,a*e)})):document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"))}else 0<=mxUtils.indexOf(a.dataTransfer.types,
- "text/html")?document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/html")):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"));a.stopPropagation();a.preventDefault()})))}));if("1"==urlParams.ruler&&"undefined"!==typeof mxRuler){q=document.createElement("div");q.style.position="absolute";q.style.top="95px";q.style.left="250px";q.style.width="2000px";q.style.height="30px";q.style.background="whiteSmoke";document.body.appendChild(q);
- var z=document.createElement("div");z.style.position="absolute";z.style.top="125px";z.style.left="220px";z.style.width="30px";z.style.height="1000px";z.style.background="whiteSmoke";document.body.appendChild(z);var C=document.createElement("div");C.style.position="absolute";C.style.top="95px";C.style.left="220px";C.style.width="30px";C.style.height="30px";C.style.background="whiteSmoke";document.body.appendChild(C);this.vRuler=new mxRuler(this.editor.graph,z,!0);this.hRuler=new mxRuler(this.editor.graph,
- q,!1)}if("1"==urlParams.test){q=document.getElementById("geFooter");null!=q&&(this.styleInput=document.createElement("input"),this.styleInput.setAttribute("type","text"),this.styleInput.style.position="absolute",this.styleInput.style.top="14px",this.styleInput.style.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility="hidden",this.styleInput.style.opacity="0.9",mxEvent.addListener(this.styleInput,"change",mxUtils.bind(this,function(){this.editor.graph.getModel().setStyle(this.editor.graph.getSelectionCell(),
- this.styleInput.value)})),q.appendChild(this.styleInput),this.editor.graph.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(a,b){if(0<this.editor.graph.getSelectionCount()){var c=this.editor.graph.getSelectionCell(),c=this.editor.graph.getModel().getStyle(c);this.styleInput.value=c||"";this.styleInput.style.visibility="visible"}else this.styleInput.style.visibility="hidden"})));var E=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==
- this.styleInput?!0:E.apply(this,arguments)}}q=document.getElementById("geInfo");null!=q&&q.parentNode.removeChild(q);if(Graph.fileSupport){var y=null;mxEvent.addListener(c.container,"dragleave",function(a){c.isEnabled()&&(null!=y&&(y.parentNode.removeChild(y),y=null),a.stopPropagation(),a.preventDefault())});mxEvent.addListener(c.container,"dragover",mxUtils.bind(this,function(a){null==y&&(!mxClient.IS_IE||10<document.documentMode)&&(y=this.highlightElement(c.container));null!=this.sidebar&&this.sidebar.hideTooltip();
- a.stopPropagation();a.preventDefault()}));mxEvent.addListener(c.container,"drop",mxUtils.bind(this,function(a){null!=y&&(y.parentNode.removeChild(y),y=null);if(c.isEnabled()){var b=mxUtils.convertPoint(c.container,mxEvent.getClientX(a),mxEvent.getClientY(a)),d=c.view.translate,e=c.view.scale,f=b.x/e-d.x,h=b.y/e-d.y;mxEvent.isAltDown(a)&&(h=f=0);if(0<a.dataTransfer.files.length)this.importFiles(a.dataTransfer.files,f,h,this.maxImageSize,null,null,null,null,mxEvent.isControlDown(a),null,null,mxEvent.isShiftDown(a));
- else{var g=0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):null,b=this.extractGraphModelFromEvent(a,null!=this.pages);if(null!=b)c.setSelectionCells(this.importXml(b,f,h,!0));else if(0<=mxUtils.indexOf(a.dataTransfer.types,"text/html")){var k=a.dataTransfer.getData("text/html"),b=document.createElement("div");b.innerHTML=k;var l=null,d=b.getElementsByTagName("img");null!=d&&1==d.length?(k=d[0].getAttribute("src"),/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(k)||
- (l=!0)):(b=b.getElementsByTagName("a"),null!=b&&1==b.length&&(k=b[0].getAttribute("href")));var m=!0,n=mxUtils.bind(this,function(){c.setSelectionCells(this.insertTextAt(k,f,h,!0,l,null,m))});l&&k.length>this.resampleThreshold?this.confirmImageResize(function(a){m=a;n()},mxEvent.isControlDown(a)):n()}else null!=g&&/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(g)?this.loadImage(decodeURIComponent(g),mxUtils.bind(this,function(a){var b=Math.max(1,a.width);a=Math.max(1,a.height);var d=this.maxImageSize,d=Math.min(1,
- Math.min(d/Math.max(1,b)),d/Math.max(1,a));c.setSelectionCell(c.insertVertex(null,null,"",f,h,b*d,a*d,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+g+";"))}),mxUtils.bind(this,function(a){c.setSelectionCells(this.insertTextAt(g,f,h,!0))})):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&c.setSelectionCells(this.insertTextAt(a.dataTransfer.getData("text/plain"),f,h,!0))}}a.stopPropagation();a.preventDefault()}),!1)}this.initPages();
- "1"==urlParams.embed&&this.initializeEmbedMode();"undefined"!==typeof window.mxSettings&&this.installSettings()};EditorUi.prototype.installSettings=function(){if(isLocalStorage||mxClient.IS_CHROMEAPP)ColorDialog.recentColors=mxSettings.getRecentColors(),this.editor.graph.currentEdgeStyle=mxSettings.getCurrentEdgeStyle(),this.editor.graph.currentVertexStyle=mxSettings.getCurrentVertexStyle(),this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[])),this.addListener("styleChanged",
- mxUtils.bind(this,function(a,b){mxSettings.setCurrentEdgeStyle(this.editor.graph.currentEdgeStyle);mxSettings.setCurrentVertexStyle(this.editor.graph.currentVertexStyle);mxSettings.save()})),this.editor.graph.connectionHandler.setCreateTarget(mxSettings.isCreateTarget()),this.fireEvent(new mxEventObject("copyConnectChanged")),this.addListener("copyConnectChanged",mxUtils.bind(this,function(a,b){mxSettings.setCreateTarget(this.editor.graph.connectionHandler.isCreateTarget());mxSettings.save()})),this.editor.graph.pageFormat=
- mxSettings.getPageFormat(),this.addListener("pageFormatChanged",mxUtils.bind(this,function(a,b){mxSettings.setPageFormat(this.editor.graph.pageFormat);mxSettings.save()})),this.editor.graph.view.gridColor=mxSettings.getGridColor(),this.addListener("gridColorChanged",mxUtils.bind(this,function(a,b){mxSettings.setGridColor(this.editor.graph.view.gridColor);mxSettings.save()})),mxClient.IS_CHROMEAPP&&(this.editor.addListener("autosaveChanged",mxUtils.bind(this,function(a,b){mxSettings.setAutosave(this.editor.autosave);
- mxSettings.save()})),this.editor.autosave=mxSettings.getAutosave()),null!=this.sidebar&&this.sidebar.showPalette("search",mxSettings.settings.search),!this.editor.chromeless&&null!=this.sidebar&&(mxSettings.settings.isNew||8>=parseInt(mxSettings.settings.version||0))&&(this.toggleScratchpad(),mxSettings.save()),this.addListener("formatWidthChanged",function(){mxSettings.setFormatWidth(this.formatWidth);mxSettings.save()})};EditorUi.prototype.copyCells=function(a,b){var c=this.editor.graph;if(c.isSelectionEmpty())a.innerHTML=
- "";else{var d=mxUtils.sortCells(c.model.getTopmostCells(c.getSelectionCells())),e=mxUtils.getXml(this.editor.graph.encodeCells(d));mxUtils.setTextContent(a,encodeURIComponent(e));b?(c.removeCells(d,!1),c.lastPasteXml=null):(c.lastPasteXml=e,c.pasteCounter=0);a.focus();document.execCommand("selectAll",!1,null)}};EditorUi.prototype.pasteCells=function(a,b){if(!mxEvent.isConsumed(a)){var c=b.getElementsByTagName("span");if(null!=c&&0<c.length&&"application/vnd.lucid.chart.objects"===c[0].getAttribute("data-lucid-type")){var d=
- c[0].getAttribute("data-lucid-content");null!=d&&0<d.length&&(this.importLucidChart(d,0,0),mxEvent.consume(a))}else{var d=this.editor.graph,e=mxUtils.trim(mxClient.IS_QUIRKS||8==document.documentMode?mxUtils.getTextContent(b):b.textContent),f=!1;try{var h=e.lastIndexOf("%3E");0<=h&&h<e.length-3&&(e=e.substring(0,h+3))}catch(w){}try{var c=b.getElementsByTagName("span"),g=null!=c&&0<c.length?mxUtils.trim(decodeURIComponent(c[0].textContent)):decodeURIComponent(e);this.isCompatibleString(g)&&(f=!0,e=
- g)}catch(w){}d.lastPasteXml==e?d.pasteCounter++:(d.lastPasteXml=e,d.pasteCounter=0);c=d.pasteCounter*d.gridSize;if(null!=e&&0<e.length&&(f||this.isCompatibleString(e)?d.setSelectionCells(this.importXml(e,c,c)):(f=d.getInsertPoint(),d.isMouseInsertPoint()&&(c=0,d.lastPasteXml==e&&0<d.pasteCounter&&d.pasteCounter--),d.setSelectionCells(this.insertTextAt(e,f.x+c,f.y+c,!0))),!d.isSelectionEmpty())){d.scrollCellToVisible(d.getSelectionCell());null!=this.hoverIcons&&this.hoverIcons.update(d.view.getState(d.getSelectionCell()));
- try{mxEvent.consume(a)}catch(w){}}}}};EditorUi.prototype.addFileDropHandler=function(a){if(Graph.fileSupport)for(var b=null,c=0;c<a.length;c++)mxEvent.addListener(a[c],"dragleave",function(a){null!=b&&(b.parentNode.removeChild(b),b=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(a[c],"dragover",mxUtils.bind(this,function(a){(this.editor.graph.isEnabled()||"1"!=urlParams.embed)&&null==b&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode)&&(b=this.highlightElement());
- a.stopPropagation();a.preventDefault()})),mxEvent.addListener(a[c],"drop",mxUtils.bind(this,function(a){null!=b&&(b.parentNode.removeChild(b),b=null);if(this.editor.graph.isEnabled()||"1"!=urlParams.embed)if(0<a.dataTransfer.files.length)this.hideDialog(),"1"==urlParams.embed?this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)):this.openFiles(a.dataTransfer.files,!0);else{var c=this.extractGraphModelFromEvent(a);if(null==
- c){var d=null!=a.dataTransfer?a.dataTransfer:a.clipboardData;null!=d&&(10==document.documentMode||11==document.documentMode?c=d.getData("Text"):(c=null,c=0<=mxUtils.indexOf(d.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(d.types,"text/html")?d.getData("text/html"):null,null!=c&&0<c.length?(d=document.createElement("div"),d.innerHTML=c,d=d.getElementsByTagName("img"),0<d.length&&(c=d[0].getAttribute("src"))):0<=mxUtils.indexOf(d.types,"text/plain")&&(c=d.getData("text/plain"))),
- null!=c&&("data:image/png;base64,"==c.substring(0,22)?(c=this.extractGraphModelFromPng(c),null!=c&&0<c.length&&this.openLocalFile(c,null,!0)):!this.isOffline()&&this.isRemoteFileFormat(c)?(new mxXmlRequest(OPEN_URL,"format=xml&data="+encodeURIComponent(c))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()&&this.openLocalFile(a.getText(),null,!0)})):/^https?:\/\//.test(c)&&(null==this.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(c):window.openWindow((mxClient.IS_CHROMEAPP?
- "https://www.draw.io/":"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(c)))))}else this.openLocalFile(c,null,!0)}a.stopPropagation();a.preventDefault()}))};EditorUi.prototype.highlightElement=function(a){var b=0,c=0,d,e;if(null==a){e=document.body;var f=document.documentElement;d=(e.clientWidth||f.clientWidth)-3;e=Math.max(e.clientHeight||0,f.clientHeight)-3}else b=a.offsetTop,c=a.offsetLeft,d=a.clientWidth,e=a.clientHeight;f=document.createElement("div");f.style.zIndex=
- mxPopupMenu.prototype.zIndex+2;f.style.border="3px dotted rgb(254, 137, 12)";f.style.pointerEvents="none";f.style.position="absolute";f.style.top=b+"px";f.style.left=c+"px";f.style.width=Math.max(0,d-3)+"px";f.style.height=Math.max(0,e-3)+"px";null!=a&&a.parentNode==this.editor.graph.container?this.editor.graph.container.appendChild(f):document.body.appendChild(f);return f};EditorUi.prototype.stringToCells=function(a){a=mxUtils.parseXml(a);var b=this.editor.extractGraphModel(a.documentElement);a=
- [];if(null!=b){var c=new mxCodec(b.ownerDocument),d=new mxGraphModel;c.decode(b,d);b=d.getChildAt(d.getRoot(),0);for(c=0;c<d.getChildCount(b);c++)a.push(d.getChildAt(b,c))}return a};EditorUi.prototype.openFiles=function(a,b){if(this.spinner.spin(document.body,mxResources.get("loading")))for(var c=0;c<a.length;c++)mxUtils.bind(this,function(a){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){var d=c.target.result,e=a.name;if(null!=e&&0<e.length)if(/(\.png)$/i.test(e)&&(e=e.substring(0,e.length-
- 4)+".xml"),Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(d,e))e=0<=e.lastIndexOf(".")?e.substring(0,e.lastIndexOf("."))+".xml":e+".xml",this.parseFile(a,mxUtils.bind(this,function(a){if(4==a.readyState)if(this.spinner.stop(),200<=a.status&&299>=a.status)if(a=a.responseText,"<mxlibrary"==a.substring(0,10)){null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,b);null!=e&&".vssx"==e.toLowerCase().substring(e.length-
- 5)&&(e=e.substring(0,filename.length-5)+".xml");try{this.loadLibrary(new LocalLibrary(this,a,e))}catch(u){this.handleError(u,mxResources.get("errorLoadingFile"))}}else this.openLocalFile(a,e,b);else this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile"))}));else if('{"state":"{\\"Properties\\":'==d.substring(0,26))/(\.json)$/i.test(e)&&(e=e.substring(0,e.length-5)+".xml"),this.openLocalFile(this.emptyDiagramXml,e,b),this.importLucidChart(d,
- 0,0,null,mxUtils.bind(this,function(){this.editor.undoManager.clear();this.spinner.stop()}));else if("<mxlibrary"==c.target.result.substring(0,10)){this.spinner.stop();null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,b);try{this.loadLibrary(new LocalLibrary(this,c.target.result,a.name))}catch(w){this.handleError(w,mxResources.get("errorLoadingFile"))}}else"image/png"==a.type.substring(0,9)&&(d=this.extractGraphModelFromPng(d)),this.spinner.stop(),
- this.openLocalFile(d,e,b)});c.onerror=mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a);window.openFile=null});"image"===a.type.substring(0,5)&&"image/svg"!==a.type.substring(0,9)?c.readAsDataURL(a):c.readAsText(a)})(a[c])};EditorUi.prototype.openLocalFile=function(a,b,c){var d=this.getCurrentFile(),e=mxUtils.bind(this,function(){window.openFile=null;if(null==b&&null!=this.getCurrentFile()&&this.isDiagramEmpty()){var d=mxUtils.parseXml(a);null!=d&&(this.editor.setGraphXml(d.documentElement),
- this.editor.graph.selectAll())}else this.fileLoaded(new LocalFile(this,a,b||this.defaultFilename,c))});null!=a&&0<a.length&&(null!=d&&d.isModified()?(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a,b),window.openWindow(this.getUrl(),null,mxUtils.bind(this,function(){this.confirm(mxResources.get("allChangesLost"),null,e,mxResources.get("cancel"),mxResources.get("discardChanges"))}))):e())};EditorUi.prototype.getBasenames=function(){var a={};if(null!=this.pages)for(var b=
- 0;b<this.pages.length;b++)this.updatePageRoot(this.pages[b]),this.addBasenamesForCell(this.pages[b].root,a);else this.addBasenamesForCell(this.editor.graph.model.getRoot(),a);var b=[],c;for(c in a)b.push(c);return b};EditorUi.prototype.addBasenamesForCell=function(a,b){function c(a){if(null!=a){var c=a.lastIndexOf(".");0<c&&(a=a.substring(c+1,a.length));null==b[a]&&(b[a]=!0)}}var d=this.editor.graph,e=d.getCellStyle(a);c(mxStencilRegistry.getBasenameForStencil(e[mxConstants.STYLE_SHAPE]));d.model.isEdge(a)&&
- (c(mxMarker.getPackageForType(e[mxConstants.STYLE_STARTARROW])),c(mxMarker.getPackageForType(e[mxConstants.STYLE_ENDARROW])));for(var e=d.model.getChildCount(a),f=0;f<e;f++)this.addBasenamesForCell(d.model.getChildAt(a,f),b)};EditorUi.prototype.setGraphEnabled=function(a){this.diagramContainer.style.visibility=a?"":"hidden";this.formatContainer.style.visibility=a?"":"hidden";this.sidebarFooterContainer.style.display=a?"":"none";this.sidebarContainer.style.display=a?"":"none";this.hsplit.style.display=
- a?"":"none";this.editor.graph.setEnabled(a);null!=this.tabContainer&&(this.tabContainer.style.visibility=a?"":"hidden")};EditorUi.prototype.initializeEmbedMode=function(){this.setGraphEnabled(!1);(window.opener||window.parent)!=window&&("1"!=urlParams.spin||this.spinner.spin(document.body,mxResources.get("loading")))&&this.installMessageHandler(mxUtils.bind(this,function(a,b,c){this.spinner.stop();this.addEmbedButtons();this.setGraphEnabled(!0);null!=a&&0<a.length?(this.setFileData(a),this.showLayersDialog()):
- (this.editor.graph.model.clear(),this.editor.fireEvent(new mxEventObject("resetGraphView")));this.editor.undoManager.clear();this.editor.modified=null!=c?c:!1;this.updateUi();window.self!==window.top&&window.focus();null!=this.format&&this.format.refresh()}))};EditorUi.prototype.showLayersDialog=function(){1<this.editor.graph.getModel().getChildCount(this.editor.graph.getModel().getRoot())&&(null==this.actions.layersWindow?this.actions.get("layers").funct():this.actions.layersWindow.window.setVisible(!0))};
- EditorUi.prototype.getPublicUrl=function(a,b){null!=a?a.getPublicUrl(b):b(null)};EditorUi.prototype.createLoadMessage=function(a){var b=this.editor.graph;return{event:a,pageVisible:b.pageVisible,translate:b.view.translate,scale:b.view.scale,page:b.view.getBackgroundPageBounds(),bounds:b.getGraphBounds()}};EditorUi.prototype.installMessageHandler=function(a){var b=null,c=!1,d=!1,e=null,f=mxUtils.bind(this,function(a,b){this.editor.modified&&"0"!=urlParams.modified?null!=urlParams.modified&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(urlParams.modified))):
- this.editor.setStatus("")});this.editor.graph.model.addListener(mxEvent.CHANGE,f);mxEvent.addListener(window,"message",mxUtils.bind(this,function(f){function h(a){if(null!=a&&"function"===typeof a.charAt&&"<"!=a.charAt(0))try{"data:image/svg+xml;base64,"==a.substring(0,26)?a=atob(a.substring(26)):"data:image/svg+xml;utf8,"==a.substring(0,24)&&(a=a.substring(24)),null!=a&&("%"==a.charAt(0)?a=decodeURIComponent(a):"<"!=a.charAt(0)&&(a=this.editor.graph.decompress(a)))}catch(I){}return a}var k=f.data;
- if("json"==urlParams.proto){try{k=JSON.parse(k)}catch(G){k=null}if(null==k)return;if("dialog"==k.action){this.showError(null!=k.titleKey?mxResources.get(k.titleKey):k.title,null!=k.messageKey?mxResources.get(k.messageKey):k.message,null!=k.buttonKey?mxResources.get(k.buttonKey):k.button);null!=k.modified&&(this.editor.modified=k.modified);return}if("prompt"==k.action){this.spinner.stop();var l=new FilenameDialog(this,k.defaultValue||"",null!=k.okKey?mxResources.get(k.okKey):null,function(a){null!=
- a&&g.postMessage(JSON.stringify({event:"prompt",value:a,message:k}),"*")},null!=k.titleKey?mxResources.get(k.titleKey):k.title);this.showDialog(l.container,300,80,!0,!1);l.init();return}if("draft"==k.action){l=null;l="data:image/png;base64,"==k.xml.substring(0,22)?this.extractGraphModelFromPng(k.xml):h(k.xml);this.spinner.stop();l=new DraftDialog(this,mxResources.get("draftFound",[k.name||this.defaultFilename]),l,mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",
- result:"edit",message:k}),"*")}),mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"discard",message:k}),"*")}),k.editKey?mxResources.get(k.editKey):null,k.discardKey?mxResources.get(k.discardKey):null,k.ignore?mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"ignore",message:k}),"*")}):null);this.showDialog(l.container,640,480,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));
- try{l.init()}catch(G){g.postMessage(JSON.stringify({event:"draft",error:G.toString(),message:k}),"*")}return}if("template"==k.action){this.spinner.stop();l=new NewDialog(this,!1,null!=k.callback,mxUtils.bind(this,function(b,c){b=b||this.emptyDiagramXml;null!=k.callback?g.postMessage(JSON.stringify({event:"template",xml:b,blank:b==this.emptyDiagramXml,name:c}),"*"):(a(b,f,b!=this.emptyDiagramXml),this.editor.modified||this.editor.setStatus(""))}));this.showDialog(l.container,620,440,!0,!1,mxUtils.bind(this,
- function(a){a&&this.actions.get("exit").funct()}));l.init();return}if("status"==k.action){null!=k.messageKey?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(k.messageKey))):null!=k.message&&this.editor.setStatus(mxUtils.htmlEntities(k.message));null!=k.modified&&(this.editor.modified=k.modified);return}if("spinner"==k.action){var m=null!=k.messageKey?mxResources.get(k.messageKey):k.message;null==k.show||k.show?this.spinner.spin(document.body,m):this.spinner.stop();return}if("export"==k.action){if("png"==
- k.format||"xmlpng"==k.format){if(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey):k.spin)){var n=null!=k.xml?k.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var p=this.editor.graph,q=mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();var b=this.createLoadMessage("export");b.format=k.format;b.message=k;b.data=a;b.xml=encodeURIComponent(n);g.postMessage(JSON.stringify(b),"*")}),t=mxUtils.bind(this,function(a){null==
- a&&(a=Editor.blankImage);"xmlpng"==k.format&&(a=this.writeGraphModelToPng(a,"zTXt","mxGraphModel",atob(this.editor.graph.compress(n))));p!=this.editor.graph&&p.container.parentNode.removeChild(p.container);q(a)});if(this.isExportToCanvas()){if(null!=this.pages&&this.currentPage!=this.pages[0]){var p=this.createTemporaryGraph(p.getStylesheet()),A=p.getGlobalVariable,B=this.pages[0];p.getGlobalVariable=function(a){return"page"==a?B.getName():"pagenumber"==a?1:A.apply(this,arguments)};document.body.appendChild(p.container);
- p.model.setRoot(B.root)}this.exportToCanvas(mxUtils.bind(this,function(a){t(a.toDataURL("image/png"))}),null,null,null,mxUtils.bind(this,function(){t(null)}),null,null,null,null,null,null,p)}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==k.format?"1":"0")+"&base64=1&xml="+encodeURIComponent(encodeURIComponent(n)))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?q("data:image/png;base64,"+a.getText()):t(null)}),mxUtils.bind(this,function(){t(null)}))}}else{null!=
- k.xml&&0<k.xml.length&&this.setFileData(k.xml);m=this.createLoadMessage("export");if("html2"==k.format||"html"==k.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length))l=this.getXmlFileData(),m.xml=mxUtils.getXml(l),m.data=this.getFileData(null,null,!0,null,null,null,l),m.format=k.format;else if("html"==k.format)n=this.editor.getGraphXml(),m.data=this.getHtml(n,this.editor.graph),m.xml=mxUtils.getXml(n),m.format=k.format;else{mxSvgCanvas2D.prototype.foAltText=null;l=this.editor.graph.background;
- l==mxConstants.NONE&&(l=null);m.xml=this.getFileData(!0);m.format="svg";if(k.embedImages||null==k.embedImages){if(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey):k.spin))this.editor.graph.setEnabled(!1),"xmlsvg"==k.format?this.getEmbeddedSvg(m.xml,this.editor.graph,null,!0,mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();m.data=this.createSvgDataUri(a);g.postMessage(JSON.stringify(m),"*")})):this.convertImages(this.editor.graph.getSvg(l),
- mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();m.data=this.createSvgDataUri(mxUtils.getXml(a));g.postMessage(JSON.stringify(m),"*")}));return}l="xmlsvg"==k.format?this.getEmbeddedSvg(this.getFileData(!0),this.editor.graph,null,!0):mxUtils.getXml(this.editor.graph.getSvg(l));m.data=this.createSvgDataUri(l)}g.postMessage(JSON.stringify(m),"*")}return}if("load"==k.action)d=1==k.autosave,this.hideDialog(),null!=k.modified&&null==urlParams.modified&&(urlParams.modified=
- k.modified),null!=k.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=k.saveAndExit),null!=k.title&&null!=this.buttonContainer&&(l=document.createElement("span"),mxUtils.write(l,k.title),"atlas"==uiTheme?(this.buttonContainer.style.paddingRight="12px",this.buttonContainer.style.paddingTop="12px"):(this.buttonContainer.style.paddingRight="38px",this.buttonContainer.style.paddingTop="6px"),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),
- this.buttonContainer.appendChild(l),this.embedFilenameSpan=l),k=null!=k.xmlpng?this.extractGraphModelFromPng(k.xmlpng):null!=k.xml&&"data:image/png;base64,"==k.xml.substring(0,22)?this.extractGraphModelFromPng(k.xml):k.xml;else{g.postMessage(JSON.stringify({error:"unknownMessage",data:JSON.stringify(k)}),"*");return}}k=h(k);c=!0;try{a(k,f)}catch(G){this.handleError(G)}c=!1;null!=urlParams.modified&&this.editor.setStatus("");var F=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&
- 1<this.pages.length?this.getFileData(!0):mxUtils.getXml(this.editor.getGraphXml())});e=F();d&&null==b&&(b=mxUtils.bind(this,function(a,b){var d=F();if(d!=e&&!c){var f=this.createLoadMessage("autosave");f.xml=d;d=JSON.stringify(f);(window.opener||window.parent).postMessage(d,"*")}e=d}),this.editor.graph.model.addListener(mxEvent.CHANGE,b),this.editor.graph.addListener("gridSizeChanged",b),this.editor.graph.addListener("shadowVisibleChanged",b),this.addListener("pageFormatChanged",b),this.addListener("pageScaleChanged",
- b),this.addListener("backgroundColorChanged",b),this.addListener("backgroundImageChanged",b),this.addListener("foldingEnabledChanged",b),this.addListener("mathEnabledChanged",b),this.addListener("gridEnabledChanged",b),this.addListener("guidesEnabledChanged",b),this.addListener("pageViewChanged",b));"1"!=urlParams.returnbounds&&"json"!=urlParams.proto||g.postMessage(JSON.stringify(this.createLoadMessage("load")),"*")}));var g=window.opener||window.parent,f="json"==urlParams.proto?JSON.stringify({event:"init"}):
- urlParams.ready||"ready";g.postMessage(f,"*")};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.menubar){var a=document.createElement("div");a.style.display="inline-block";a.style.position="absolute";a.style.paddingTop="atlas"==uiTheme?"2px":"3px";a.style.paddingLeft="8px";a.style.paddingBottom="2px";var b=document.createElement("button");mxUtils.write(b,mxResources.get("save"));b.setAttribute("title",mxResources.get("save")+" (Ctrl+S)");b.className="geBigButton";b.style.fontSize="12px";
- b.style.padding="4px 6px 4px 6px";b.style.borderRadius="3px";mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()}));a.appendChild(b);"1"==urlParams.saveAndExit&&(b=document.createElement("a"),mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),b.style.fontSize="12px",b.style.marginLeft="6px",b.style.padding="4px",b.style.cursor="pointer",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),
- a.appendChild(b));b=document.createElement("a");mxUtils.write(b,mxResources.get("exit"));b.setAttribute("title",mxResources.get("exit"));b.style.fontSize="12px";b.style.marginLeft="6px";b.style.marginRight="20px";b.style.padding="4px";b.style.cursor="pointer";mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("exit").funct()}));a.appendChild(b);this.toolbar.container.appendChild(a);this.toolbar.staticElements.push(a);a.style.right="atlas"!=uiTheme?"52px":"42px"}};EditorUi.prototype.showImportCsvDialog=
- function(){null==this.importCsvDialog&&(this.importCsvDialog=new TextareaDialog(this,mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(a){this.importCsv(a)}),null,null,620,430,null,!0,!0,mxResources.get("import")));this.showDialog(this.importCsvDialog.container,640,520,!0,!0);this.importCsvDialog.init()};EditorUi.prototype.importCsv=function(a){try{var b=a.split("\n"),c=[];if(0<b.length){var d={},e=null,f=null,g="auto",l="auto",w=40,u=40,x=0,v=this.editor.graph;v.getGraphBounds();
- for(var z=function(){v.setSelectionCells(O);v.scrollCellToVisible(v.getSelectionCell())},C=v.getFreeInsertPoint(),E=C.x,y=C.y,C=y,A=null,B="auto",F=[],G=null,I=null,D=0;D<b.length&&"#"==b[D].charAt(0);){a=b[D];for(D++;D<b.length&&"\\"==a.charAt(a.length-1)&&"#"==b[D].charAt(0);)a=a.substring(0,a.length-1)+mxUtils.trim(b[D].substring(1)),D++;if("#"!=a.charAt(1)){var M=a.indexOf(":");if(0<M){var H=mxUtils.trim(a.substring(1,M)),K=mxUtils.trim(a.substring(M+1));"label"==H?A=v.sanitizeHtml(K):"style"==
- H?e=K:"identity"==H&&0<K.length&&"-"!=K?f=K:"width"==H?g=K:"height"==H?l=K:"ignore"==H?I=K.split(","):"connect"==H?F.push(JSON.parse(K)):"link"==H?G=K:"padding"==H?x=parseFloat(K):"edgespacing"==H?w=parseFloat(K):"nodespacing"==H?u=parseFloat(K):"layout"==H&&(B=K)}}}var T=this.editor.csvToArray(b[D]);a=null;if(null!=f)for(var L=0;L<T.length;L++)if(f==T[L]){a=L;break}null==A&&(A="%"+T[0]+"%");if(null!=F)for(var N=0;N<F.length;N++)null==d[F[N].to]&&(d[F[N].to]={});v.model.beginUpdate();try{for(L=D+
- 1;L<b.length;L++){var Q=this.editor.csvToArray(b[L]);if(Q.length==T.length){var J=null,W=null!=a?Q[a]:null;null!=W&&(J=v.model.getCell(W));null==J&&(J=new mxCell(A,new mxGeometry(E,C,0,0),e||"whiteSpace=wrap;html=1;"),J.vertex=!0,J.id=W);for(var P=0;P<Q.length;P++)v.setAttributeForCell(J,T[P],Q[P]);v.setAttributeForCell(J,"placeholders","1");J.style=v.replacePlaceholders(J,J.style);for(N=0;N<F.length;N++)d[F[N].to][J.getAttribute(F[N].to)]=J;null!=G&&"link"!=G&&(v.setLinkForCell(J,J.getAttribute(G)),
- v.setAttributeForCell(J,G,null));var Y=this.editor.graph.getPreferredSizeForCell(J);J.geometry.width="auto"==g?Y.width+x:parseFloat(g);J.geometry.height="auto"==l?Y.height+x:parseFloat(l);C+=J.geometry.height+u;c.push(v.addCell(J))}}null==e&&v.fireEvent(new mxEventObject("cellsInserted","cells",c));for(var U=c.slice(),O=c.slice(),N=0;N<F.length;N++)for(var R=F[N],L=0;L<c.length;L++){var J=c[L],V=J.getAttribute(R.from);if(null!=V){v.setAttributeForCell(J,R.from,null);for(var S=V.split(","),P=0;P<S.length;P++){var X=
- d[R.to][S[P]];null!=X&&(O.push(v.insertEdge(null,null,R.label||"",R.invert?X:J,R.invert?J:X,R.style||v.createCurrentEdgeStyle())),mxUtils.remove(R.invert?J:X,U))}}}if(null!=I)for(L=0;L<c.length;L++)for(J=c[L],P=0;P<I.length;P++)v.setAttributeForCell(J,mxUtils.trim(I[P]),null);var ba=new mxParallelEdgeLayout(v);ba.spacing=w;var ea=function(){ba.execute(v.getDefaultParent());for(var a=0;a<c.length;a++){var b=v.getCellGeometry(c[a]);b.x=Math.round(v.snap(b.x));b.y=Math.round(v.snap(b.y));"auto"==g&&
- (b.width=Math.round(v.snap(b.width)));"auto"==l&&(b.height=Math.round(v.snap(b.height)))}};if("circle"==B){var ca=new mxCircleLayout(v);ca.resetEdges=!1;var fa=ca.isVertexIgnored;ca.isVertexIgnored=function(a){return fa.apply(this,arguments)||0>mxUtils.indexOf(c,a)};this.executeLayout(function(){ca.execute(v.getDefaultParent());ea()},!0,z);z=null}else if("horizontaltree"==B||"verticaltree"==B||"auto"==B&&O.length==2*c.length-1&&1==U.length){v.view.validate();var Z=new mxCompactTreeLayout(v,"horizontaltree"==
- B);Z.levelDistance=u;Z.edgeRouting=!1;Z.resetEdges=!1;this.executeLayout(function(){Z.execute(v.getDefaultParent(),0<U.length?U[0]:null)},!0,z);z=null}else if("horizontalflow"==B||"verticalflow"==B||"auto"==B&&1==U.length){v.view.validate();var da=new mxHierarchicalLayout(v,"horizontalflow"==B?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);da.intraCellSpacing=u;da.disableEdgeStyle=!1;this.executeLayout(function(){da.execute(v.getDefaultParent(),O);v.moveCells(O,E,y)},!0,z);z=null}else if("organic"==
- B||"auto"==B&&O.length>c.length){v.view.validate();var aa=new mxFastOrganicLayout(v);aa.forceConstant=3*u;aa.resetEdges=!1;var ga=aa.isVertexIgnored;aa.isVertexIgnored=function(a){return ga.apply(this,arguments)||0>mxUtils.indexOf(c,a)};ba=new mxParallelEdgeLayout(v);ba.spacing=w;this.executeLayout(function(){aa.execute(v.getDefaultParent());ea()},!0,z);z=null}this.hideDialog()}finally{v.model.endUpdate()}null!=z&&z()}}catch(ha){this.handleError(ha)}};EditorUi.prototype.getSearch=function(a){var b=
- "";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=a&&0<window.location.search.length){var c="?",d;for(d in urlParams)0>mxUtils.indexOf(a,d)&&null!=urlParams[d]&&(b+=c+d+"="+urlParams[d],c="&")}else b=window.location.search;return b};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0;if("1"==urlParams.offline)a+=window.location.search;else{var c="tmp libs clibs state fileId code share notitle data url embed client create title splash".split(" "),
- d;for(d in urlParams)0>mxUtils.indexOf(c,d)&&(a=0==b?a+"?":a+"&",null!=urlParams[d]&&(a+=d+"="+urlParams[d],b++))}return a};EditorUi.prototype.showLinkDialog=function(a,b,c){a=new LinkDialog(this,a,b,c,!0);this.showDialog(a.container,420,120,!0,!0);a.init()};var g=EditorUi.prototype.createOutline;EditorUi.prototype.createOutline=function(a){var b=g.apply(this,arguments),c=this.editor.graph,d=b.getSourceGraphBounds;b.getSourceGraphBounds=function(){if(mxUtils.hasScrollbars(c.container)&&c.pageVisible&&
- null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width-2*a.x/b),Math.ceil(this.source.minimumGraphSize.height-2*a.y/b))}return d.apply(this,arguments)};var e=b.getSourceContainerSize;b.getSourceContainerSize=function(){if(mxUtils.hasScrollbars(c.container)&&null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width*
- b-2*a.x),Math.ceil(this.source.minimumGraphSize.height*b-2*a.y))}return e.apply(this,arguments)};b.getOutlineOffset=function(a){if(mxUtils.hasScrollbars(c.container)&&null!=this.source.minimumGraphSize){var d=this.source.getPagePadding();return new mxPoint(Math.round(Math.max(0,(b.outline.container.clientWidth/a-(this.source.minimumGraphSize.width-2*d.x))/2)-d.x),Math.round(Math.max(0,(b.outline.container.clientHeight/a-(this.source.minimumGraphSize.height-2*d.y))/2)-d.y-5/a))}return new mxPoint(8/
- a,8/a)};var f=b.init;b.init=function(){f.apply(this,arguments);b.outline.view.getBackgroundPageBounds=function(){var a=c.getPageLayout(),b=c.getPageSize();return new mxRectangle(this.scale*(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*a.width*b.width,this.scale*a.height*b.height)};b.outline.view.validateBackgroundPage()};this.editor.addListener("pageSelected",function(a,c){var d=c.getProperty("change"),e=b.source,f=b.outline;f.pageScale=e.pageScale;f.pageFormat=
- e.pageFormat;f.background=e.background;f.pageVisible=e.pageVisible;f.background=e.background;var g=mxUtils.getCurrentStyle(e.container);f.container.style.backgroundColor=g.backgroundColor;null!=e.view.backgroundPageShape&&null!=f.view.backgroundPageShape&&(f.view.backgroundPageShape.fill=e.view.backgroundPageShape.fill);b.outline.view.clear(d.previousPage.root,!0);b.outline.view.validate()});return b};EditorUi.prototype.getServiceCount=function(a){var b=0;null==this.drive&&"function"!==typeof window.DriveClient||
- b++;null==this.dropbox&&"function"!==typeof window.DropboxClient||b++;null==this.oneDrive&&"function"!==typeof window.OneDriveClient||b++;null!=this.gitHub&&b++;a&&isLocalStorage&&("1"==urlParams.browser||mxClient.IS_IOS)&&b++;mxClient.IS_IOS||b++;return b};EditorUi.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates();var a=this.getCurrentFile(),b=null!=a||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.menus.get("viewPanels").setEnabled(b);this.menus.get("viewZoom").setEnabled(b);
- var c=("1"!=urlParams.embed||!this.editor.graph.isEnabled())&&(null==a||a.isRestricted());this.actions.get("makeCopy").setEnabled(!c);this.actions.get("print").setEnabled(!c);this.menus.get("exportAs").setEnabled(!c);this.menus.get("embed").setEnabled(!c);c="1"!=urlParams.embed||this.editor.graph.isEnabled();this.menus.get("openLibraryFrom").setEnabled(c);this.menus.get("newLibrary").setEnabled(c);this.menus.get("extras").setEnabled(c);a="1"==urlParams.embed&&this.editor.graph.isEnabled()||null!=
- a&&a.isEditable();this.actions.get("image").setEnabled(b);this.actions.get("zoomIn").setEnabled(b);this.actions.get("zoomOut").setEnabled(b);this.actions.get("resetView").setEnabled(b);this.menus.get("edit").setEnabled(b);this.menus.get("view").setEnabled(b);this.menus.get("importFrom").setEnabled(a);this.menus.get("arrange").setEnabled(a);null!=this.toolbar&&(null!=this.toolbar.edgeShapeMenu&&this.toolbar.edgeShapeMenu.setEnabled(a),null!=this.toolbar.edgeStyleMenu&&this.toolbar.edgeStyleMenu.setEnabled(a));
- if(this.isOfflineApp()){var d=applicationCache;if(null!=d&&null==this.offlineStatus){this.offlineStatus=document.createElement("div");this.offlineStatus.className="geItem";this.offlineStatus.style.position="absolute";this.offlineStatus.style.fontSize="8pt";this.offlineStatus.style.top="2px";this.offlineStatus.style.right="12px";this.offlineStatus.style.color="#666";this.offlineStatus.style.margin="4px";this.offlineStatus.style.padding="2px";this.offlineStatus.style.verticalAlign="middle";this.offlineStatus.innerHTML=
- "";this.menubarContainer.appendChild(this.offlineStatus);mxEvent.addListener(this.offlineStatus,"click",mxUtils.bind(this,function(){var a=this.offlineStatus.getElementsByTagName("img");null!=a&&0<a.length&&this.alert(a[0].getAttribute("title"))}));var d=window.applicationCache,f=null,b=mxUtils.bind(this,function(){var a=d.status,b;a==d.CHECKING&&(a=d.DOWNLOADING);switch(a){case d.UNCACHED:b="";break;case d.IDLE:b='<img title="draw.io is up to date." border="0" src="'+IMAGE_PATH+'/checkmark.gif"/>';
- break;case d.DOWNLOADING:b='<img title="Downloading new version..." border="0" src="'+IMAGE_PATH+'/spin.gif"/>';break;case d.UPDATEREADY:b='<img title="'+mxUtils.htmlEntities(mxResources.get("restartForChangeRequired"))+'" border="0" src="'+IMAGE_PATH+'/download.png"/>';break;case d.OBSOLETE:b='<img title="Obsolete" border="0" src="'+IMAGE_PATH+'/clear.gif"/>';break;default:b='<img title="Unknown" border="0" src="'+IMAGE_PATH+'/clear.gif"/>'}a!=f&&(this.offlineStatus.innerHTML=b,f=a)});mxEvent.addListener(d,
- "checking",b);mxEvent.addListener(d,"noupdate",b);mxEvent.addListener(d,"downloading",b);mxEvent.addListener(d,"progress",b);mxEvent.addListener(d,"cached",b);mxEvent.addListener(d,"updateready",b);mxEvent.addListener(d,"obsolete",b);mxEvent.addListener(d,"error",b);b()}}else this.updateUserElement()};EditorUi.prototype.updateButtonContainer=function(){};EditorUi.prototype.updateUserElement=function(){};var l=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates=function(){l.apply(this,
- arguments);var a=this.editor.graph,b=this.getCurrentFile(),c=null!=b&&b.isEditable()||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.actions.get("pageSetup").setEnabled(c);this.actions.get("autosave").setEnabled(null!=b&&b.isEditable()&&b.isAutosaveOptional());this.actions.get("guides").setEnabled(c);this.actions.get("shadowVisible").setEnabled(c);this.actions.get("connectionArrows").setEnabled(c);this.actions.get("connectionPoints").setEnabled(c);this.actions.get("copyStyle").setEnabled(c&&
- !a.isSelectionEmpty());this.actions.get("pasteStyle").setEnabled(c&&!a.isSelectionEmpty());this.actions.get("editGeometry").setEnabled(a.getModel().isVertex(a.getSelectionCell()));this.actions.get("createShape").setEnabled(c);this.actions.get("createRevision").setEnabled(c);this.actions.get("moveToFolder").setEnabled(null!=b);this.actions.get("makeCopy").setEnabled(null!=b&&!b.isRestricted());this.actions.get("editDiagram").setEnabled("1"==urlParams.embed&&this.editor.graph.isEnabled()||null!=b&&
- !b.isRestricted());this.actions.get("publishLink").setEnabled(null!=b&&!b.isRestricted());this.actions.get("tags").setEnabled("1"==urlParams.embed&&this.editor.graph.isEnabled()||null!=b&&!b.isRestricted());this.actions.get("close").setEnabled(null!=b);this.menus.get("publish").setEnabled(null!=b&&!b.isRestricted());a=a.view.getState(a.getSelectionCell());this.actions.get("editShape").setEnabled(c&&null!=a&&null!=a.shape&&null!=a.shape.stencil)};null!=window.ExportDialog&&(ExportDialog.showXmlOption=
- !1,ExportDialog.showGifOption=!1,ExportDialog.exportFile=function(a,b,c,d,f,g){var e=a.editor.graph;if("xml"==c)a.hideDialog(),a.saveData(b,"xml",mxUtils.getXml(a.editor.getGraphXml()),"text/xml");else if("svg"==c)a.hideDialog(),a.saveData(b,"svg",mxUtils.getXml(e.getSvg(d,f,g)),"image/svg+xml");else{var h=a.getFileData(!0,null,null,null,null,!0),k=e.getGraphBounds(),l=Math.floor(k.width*f/e.view.scale),m=Math.floor(k.height*f/e.view.scale);h.length<=MAX_REQUEST_SIZE&&l*m<MAX_AREA?(a.hideDialog(),
- a.saveRequest(b,c,function(a,b){return new mxXmlRequest(EXPORT_URL,"format="+c+"&base64="+(b||"0")+(null!=a?"&filename="+encodeURIComponent(a):"")+"&bg="+(null!=d?d:"none")+"&w="+l+"&h="+m+"&border="+g+"&xml="+encodeURIComponent(h))})):mxUtils.alert(mxResources.get("drawingTooLarge"))}})})();var mxSettings={currentVersion:16,defaultFormatWidth:600>screen.width?"0":"240",key:".drawio-config",getLanguage:function(){return mxSettings.settings.language},setLanguage:function(a){mxSettings.settings.language=a},getUi:function(){return mxSettings.settings.ui},setUi:function(a){mxSettings.settings.ui=a},getShowStartScreen:function(){return mxSettings.settings.showStartScreen},setShowStartScreen:function(a){mxSettings.settings.showStartScreen=a},getGridColor:function(){return mxSettings.settings.gridColor},
- setGridColor:function(a){mxSettings.settings.gridColor=a},getAutosave:function(){return mxSettings.settings.autosave},setAutosave:function(a){mxSettings.settings.autosave=a},getResizeImages:function(){return mxSettings.settings.resizeImages},setResizeImages:function(a){mxSettings.settings.resizeImages=a},getOpenCounter:function(){return mxSettings.settings.openCounter},setOpenCounter:function(a){mxSettings.settings.openCounter=a},getLibraries:function(){return mxSettings.settings.libraries},setLibraries:function(a){mxSettings.settings.libraries=
- a},addCustomLibrary:function(a){mxSettings.load();0>mxUtils.indexOf(mxSettings.settings.customLibraries,a)&&("L.scratchpad"===a?mxSettings.settings.customLibraries.splice(0,0,a):mxSettings.settings.customLibraries.push(a));mxSettings.save()},removeCustomLibrary:function(a){mxSettings.load();mxUtils.remove(a,mxSettings.settings.customLibraries);mxSettings.save()},getCustomLibraries:function(){return mxSettings.settings.customLibraries},getPlugins:function(){return mxSettings.settings.plugins},setPlugins:function(a){mxSettings.settings.plugins=
- a},getRecentColors:function(){return mxSettings.settings.recentColors},setRecentColors:function(a){mxSettings.settings.recentColors=a},getFormatWidth:function(){return parseInt(mxSettings.settings.formatWidth)},setFormatWidth:function(a){mxSettings.settings.formatWidth=a},getCurrentEdgeStyle:function(){return mxSettings.settings.currentEdgeStyle},setCurrentEdgeStyle:function(a){mxSettings.settings.currentEdgeStyle=a},getCurrentVertexStyle:function(){return mxSettings.settings.currentVertexStyle},
- setCurrentVertexStyle:function(a){mxSettings.settings.currentVertexStyle=a},isCreateTarget:function(){return mxSettings.settings.createTarget},setCreateTarget:function(a){mxSettings.settings.createTarget=a},getPageFormat:function(){return mxSettings.settings.pageFormat},setPageFormat:function(a){mxSettings.settings.pageFormat=a},init:function(){mxSettings.settings={language:"",libraries:Sidebar.prototype.defaultEntries,customLibraries:Editor.defaultCustomLibraries,plugins:[],recentColors:[],formatWidth:mxSettings.defaultFormatWidth,
- currentEdgeStyle:Graph.prototype.defaultEdgeStyle,currentVertexStyle:Graph.prototype.defaultVertexStyle,createTarget:!1,pageFormat:mxGraph.prototype.pageFormat,search:!0,showStartScreen:!0,gridColor:mxGraphView.prototype.gridColor,autosave:!0,resizeImages:null,openCounter:0,version:mxSettings.currentVersion,isNew:!0}},save:function(){if(isLocalStorage&&"undefined"!==typeof JSON)try{delete mxSettings.settings.isNew,mxSettings.settings.version=mxSettings.currentVersion,localStorage.setItem(mxSettings.key,
- JSON.stringify(mxSettings.settings))}catch(a){}},load:function(){isLocalStorage&&"undefined"!==typeof JSON&&mxSettings.parse(localStorage.getItem(mxSettings.key));null==mxSettings.settings&&mxSettings.init()},parse:function(a){null!=a&&(mxSettings.settings=JSON.parse(a),null==mxSettings.settings.plugins&&(mxSettings.settings.plugins=[]),null==mxSettings.settings.recentColors&&(mxSettings.settings.recentColors=[]),null==mxSettings.settings.libraries&&(mxSettings.settings.libraries=Sidebar.prototype.defaultEntries),
- null==mxSettings.settings.customLibraries&&(mxSettings.settings.customLibraries=Editor.defaultCustomLibraries),null==mxSettings.settings.ui&&(mxSettings.settings.ui=""),null==mxSettings.settings.formatWidth&&(mxSettings.settings.formatWidth=mxSettings.defaultFormatWidth),null!=mxSettings.settings.lastAlert&&delete mxSettings.settings.lastAlert,null==mxSettings.settings.currentEdgeStyle?mxSettings.settings.currentEdgeStyle=Graph.prototype.defaultEdgeStyle:10>=mxSettings.settings.version&&(mxSettings.settings.currentEdgeStyle.orthogonalLoop=
- 1,mxSettings.settings.currentEdgeStyle.jettySize="auto"),null==mxSettings.settings.currentVertexStyle&&(mxSettings.settings.currentVertexStyle=Graph.prototype.defaultVertexStyle),null==mxSettings.settings.createTarget&&(mxSettings.settings.createTarget=!1),null==mxSettings.settings.pageFormat&&(mxSettings.settings.pageFormat=mxGraph.prototype.pageFormat),null==mxSettings.settings.search&&(mxSettings.settings.search=!0),null==mxSettings.settings.showStartScreen&&(mxSettings.settings.showStartScreen=
- !0),null==mxSettings.settings.gridColor&&(mxSettings.settings.gridColor=mxGraphView.prototype.gridColor),null==mxSettings.settings.autosave&&(mxSettings.settings.autosave=!0),null!=mxSettings.settings.scratchpadSeen&&delete mxSettings.settings.scratchpadSeen)},clear:function(){isLocalStorage&&localStorage.removeItem(mxSettings.key)}};("undefined"==typeof mxLoadSettings||mxLoadSettings)&&mxSettings.load();Graph.prototype.defaultThemes[Graph.prototype.defaultThemeName]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="#ffffff"/><add as="strokeColor" value="#000000"/><add as="fontColor" value="#000000"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="#ffffff"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="#000000"/><add as="fontColor" value="#000000"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="#ffffff"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="#ffffff"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="white"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="#ffffff"/></add></mxStylesheet>').documentElement;function mxAsyncCanvas(a){mxAbstractCanvas2D.call(this);this.htmlCanvas=a;a.images=a.images||[];a.subCanvas=a.subCanvas||[]}mxUtils.extend(mxAsyncCanvas,mxAbstractCanvas2D);mxAsyncCanvas.prototype.htmlCanvas=null;mxAsyncCanvas.prototype.canvasIndex=0;mxAsyncCanvas.prototype.waitCounter=0;mxAsyncCanvas.prototype.onComplete=null;mxAsyncCanvas.prototype.incWaitCounter=function(){this.waitCounter++};
- mxAsyncCanvas.prototype.decWaitCounter=function(){this.waitCounter--;0==this.waitCounter&&null!=this.onComplete&&(this.onComplete(),this.onComplete=null)};mxAsyncCanvas.prototype.updateFont=function(){var a="";(this.state.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(a+="bold ");(this.state.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(a+="italic ");this.ctx.font=a+this.state.fontSize+"px "+this.state.fontFamily};mxAsyncCanvas.prototype.rotate=function(a,b,c,d,f){};
- mxAsyncCanvas.prototype.setAlpha=function(a){this.state.alpha=a};mxAsyncCanvas.prototype.setFontColor=function(a){this.state.fontColor=a};mxAsyncCanvas.prototype.setFontBackgroundColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBackgroundColor=a};mxAsyncCanvas.prototype.setFontBorderColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBorderColor=a};mxAsyncCanvas.prototype.setFontSize=function(a){this.state.fontSize=a};
- mxAsyncCanvas.prototype.setFontFamily=function(a){this.state.fontFamily=a};mxAsyncCanvas.prototype.setFontStyle=function(a){this.state.fontStyle=a};mxAsyncCanvas.prototype.rect=function(a,b,c,d){};mxAsyncCanvas.prototype.roundrect=function(a,b,c,d,f,g){};mxAsyncCanvas.prototype.ellipse=function(a,b,c,d){};mxAsyncCanvas.prototype.rewriteImageSource=function(a){if("http://"==a.substring(0,7)||"https://"==a.substring(0,8))a="/proxy?url="+encodeURIComponent(a);return a};
- mxAsyncCanvas.prototype.image=function(a,b,c,d,f,g,l,e){f=this.rewriteImageSource(f);a=this.htmlCanvas.images[f];null==a&&(a=new Image,a.onload=mxUtils.bind(this,function(){this.decWaitCounter()}),a.onerror=mxUtils.bind(this,function(){this.decWaitCounter()}),this.incWaitCounter(),this.htmlCanvas.images[f]=a,a.src=f)};mxAsyncCanvas.prototype.fill=function(){};mxAsyncCanvas.prototype.stroke=function(){};mxAsyncCanvas.prototype.fillAndStroke=function(){};
- mxAsyncCanvas.prototype.text=function(a,b,c,d,f,g,l,e,h,k,m,n){if(null!=f&&0!=f.length&&(a=this.state.scale,"html"==h&&"function"===typeof html2canvas)){this.incWaitCounter();var p=this.canvasIndex++;html2canvas(f,{onrendered:mxUtils.bind(this,function(a){this.htmlCanvas.subCanvas[p]=a;this.decWaitCounter()}),scale:a,logging:!0})}};mxAsyncCanvas.prototype.finish=function(a){0==this.waitCounter?a():this.onComplete=a};function mxJsCanvas(a){mxAbstractCanvas2D.call(this);this.ctx=a.getContext("2d");this.ctx.textBaseline="top";this.ctx.fillStyle="rgba(255,255,255,0)";this.ctx.strokeStyle="rgba(0, 0, 0, 0)";this.M_RAD_PER_DEG=Math.PI/180;this.images=null==this.images?[]:this.images;this.subCanvas=null==this.subCanvas?[]:this.subCanvas}mxUtils.extend(mxJsCanvas,mxAbstractCanvas2D);mxJsCanvas.prototype.ctx=null;mxJsCanvas.prototype.waitCounter=0;mxJsCanvas.prototype.onComplete=null;mxJsCanvas.prototype.images=null;
- mxJsCanvas.prototype.subCanvas=null;mxJsCanvas.prototype.canvasIndex=0;mxJsCanvas.prototype.hexToRgb=function(a){a=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,c,d,f){return c+c+d+d+f+f});return(a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a))?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:null};mxJsCanvas.prototype.incWaitCounter=function(){this.waitCounter++};
- mxJsCanvas.prototype.decWaitCounter=function(){this.waitCounter--;0==this.waitCounter&&null!=this.onComplete&&(this.onComplete(),this.onComplete=null)};mxJsCanvas.prototype.updateFont=function(){var a="";(this.state.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(a+="bold ");(this.state.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(a+="italic ");this.ctx.font=a+this.state.fontSize+"px "+this.state.fontFamily};
- mxJsCanvas.prototype.save=function(){this.states.push(this.state);this.state=mxUtils.clone(this.state);this.ctx.save()};mxJsCanvas.prototype.restore=function(){this.state=this.states.pop();this.ctx.restore()};mxJsCanvas.prototype.scale=function(a){this.state.scale*=a;this.state.strokeWidth*=a;this.ctx.scale(a,a)};mxJsCanvas.prototype.translate=function(a,b){this.state.dx+=a;this.state.dy+=b;this.ctx.translate(a,b)};
- mxJsCanvas.prototype.rotate=function(a,b,c,d,f){d-=this.state.dx;f-=this.state.dy;this.ctx.translate(d,f);(b||c)&&this.ctx.scale(b?-1:1,c?-1:1);this.ctx.rotate(a*this.M_RAD_PER_DEG);this.ctx.translate(-d,-f)};mxJsCanvas.prototype.setAlpha=function(a){this.state.alpha=a;this.ctx.globalAlpha=a};mxJsCanvas.prototype.setFillColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fillColor=a;this.state.gradientColor=null;this.ctx.fillStyle=a};
- mxJsCanvas.prototype.setGradient=function(a,b,c,d,f,g,l,e,h){c=this.ctx.createLinearGradient(0,d,0,d+g);d=this.state;d.fillColor=a;d.fillAlpha=null!=e?e:1;d.gradientColor=b;d.gradientAlpha=null!=h?h:1;d.gradientDirection=l;a=this.hexToRgb(a);b=this.hexToRgb(b);null!=a&&c.addColorStop(0,"rgba("+a.r+","+a.g+","+a.b+","+d.fillAlpha+")");null!=b&&c.addColorStop(1,"rgba("+b.r+","+b.g+","+b.b+","+d.gradientAlpha+")");this.ctx.fillStyle=c};
- mxJsCanvas.prototype.setStrokeColor=function(a){null!=a&&(a==mxConstants.NONE?(this.state.strokeColor=null,this.ctx.strokeStyle="rgba(0, 0, 0, 0)"):(this.ctx.strokeStyle=a,this.state.strokeColor=a))};mxJsCanvas.prototype.setStrokeWidth=function(a){this.ctx.lineWidth=a};mxJsCanvas.prototype.setDashed=function(a){if(this.state.dashed=a){a=this.state.dashPattern.split(" ");for(var b=0;b<a.length;b++)a[b]=parseInt(a[b],10);this.setLineDash(a)}else this.setLineDash([0])};
- mxJsCanvas.prototype.setLineDash=function(a){try{"function"===typeof this.ctx.setLineDash&&this.ctx.setLineDash(a)}catch(b){}};mxJsCanvas.prototype.setDashPattern=function(a){this.state.dashPattern=a;if(this.state.dashed){a=a.split(" ");for(var b=0;b<a.length;b++)a[b]=parseInt(a[b],10);this.ctx.setLineDash(a)}};mxJsCanvas.prototype.setLineCap=function(a){this.ctx.lineCap=a};mxJsCanvas.prototype.setLineJoin=function(a){this.ctx.lineJoin=a};
- mxJsCanvas.prototype.setMiterLimit=function(a){this.ctx.lineJoin=a};mxJsCanvas.prototype.setFontColor=function(a){this.ctx.fillStyle=a};mxJsCanvas.prototype.setFontBackgroundColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBackgroundColor=a};mxJsCanvas.prototype.setFontBorderColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBorderColor=a};mxJsCanvas.prototype.setFontSize=function(a){this.state.fontSize=a};
- mxJsCanvas.prototype.setFontFamily=function(a){this.state.fontFamily=a};mxJsCanvas.prototype.setFontStyle=function(a){this.state.fontStyle=a};mxJsCanvas.prototype.setShadow=function(a){(this.state.shadow=a)?(this.setShadowOffset(this.state.shadowDx,this.state.shadowDy),this.setShadowAlpha(this.state.shadowAlpha)):(this.ctx.shadowColor="transparent",this.ctx.shadowBlur=0,this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0)};
- mxJsCanvas.prototype.setShadowColor=function(a){if(null==a||a==mxConstants.NONE)a=null,this.ctx.shadowColor="transparent";this.state.shadowColor=a;if(this.state.shadow&&null!=a){var b=null!=this.state.shadowAlpha?this.state.shadowAlpha:1;a=this.hexToRgb(a);this.ctx.shadowColor="rgba("+a.r+","+a.g+","+a.b+","+b+")"}};mxJsCanvas.prototype.setShadowAlpha=function(a){this.state.shadowAlpha=a;this.setShadowColor(this.state.shadowColor)};
- mxJsCanvas.prototype.setShadowOffset=function(a,b){this.state.shadowDx=a;this.state.shadowDy=b;this.state.shadow&&(this.ctx.shadowOffsetX=a,this.ctx.shadowOffsetY=b)};mxJsCanvas.prototype.moveTo=function(a,b){this.ctx.moveTo(a,b);this.lastMoveX=a;this.lastMoveY=b};mxJsCanvas.prototype.lineTo=function(a,b){this.ctx.lineTo(a,b);this.lastMoveX=a;this.lastMoveY=b};mxJsCanvas.prototype.quadTo=function(a,b,c,d){this.ctx.quadraticCurveTo(a,b,c,d);this.lastMoveX=c;this.lastMoveY=d};
- mxJsCanvas.prototype.arcTo=function(a,b,c,d,f,g,l){a=mxUtils.arcToCurves(this.lastMoveX,this.lastMoveY,a,b,c,d,f,g,l);if(null!=a)for(b=0;b<a.length;b+=6)this.curveTo(a[b],a[b+1],a[b+2],a[b+3],a[b+4],a[b+5])};mxJsCanvas.prototype.curveTo=function(a,b,c,d,f,g){this.ctx.bezierCurveTo(a,b,c,d,f,g);this.lastMoveX=f;this.lastMoveY=g};mxJsCanvas.prototype.rect=function(a,b,c,d){this.begin();this.moveTo(a,b);this.lineTo(a+c,b);this.lineTo(a+c,b+d);this.lineTo(a,b+d);this.close()};
- mxJsCanvas.prototype.roundrect=function(a,b,c,d,f,g){this.begin();this.moveTo(a+f,b);this.lineTo(a+c-f,b);this.quadTo(a+c,b,a+c,b+g);this.lineTo(a+c,b+d-g);this.quadTo(a+c,b+d,a+c-f,b+d);this.lineTo(a+f,b+d);this.quadTo(a,b+d,a,b+d-g);this.lineTo(a,b+g);this.quadTo(a,b,a+f,b)};mxJsCanvas.prototype.ellipse=function(a,b,c,d){this.ctx.save();this.ctx.translate(a+c/2,b+d/2);this.ctx.scale(c/2,d/2);this.ctx.beginPath();this.ctx.arc(0,0,1,0,2*Math.PI,!1);this.ctx.restore()};
- mxJsCanvas.prototype.rewriteImageSource=function(a){if("http://"==a.substring(0,7)||"https://"==a.substring(0,8))a="/proxy?url="+encodeURIComponent(a);return a};
- mxJsCanvas.prototype.image=function(a,b,c,d,f,g,l,e){f=this.rewriteImageSource(f);f=this.images[f];if(null!=f&&0<f.height&&0<f.width){var h=this.ctx;h.save();if(g){g=f.width;var k=f.height,m=Math.min(c/g,d/k);a+=(c-g*m)/2;b+=(d-k*m)/2;c=g*m;d=k*m}l&&(h.translate(2*a+c,0),h.scale(-1,1));e&&(h.translate(0,2*b+d),h.scale(1,-1));h.drawImage(f,a,b,c,d);h.restore()}};mxJsCanvas.prototype.begin=function(){this.ctx.beginPath()};mxJsCanvas.prototype.close=function(){this.ctx.closePath()};
- mxJsCanvas.prototype.fill=function(){this.ctx.fill()};mxJsCanvas.prototype.stroke=function(){this.ctx.stroke()};mxJsCanvas.prototype.fillAndStroke=function(){if(this.state.shadow){this.ctx.stroke();this.ctx.fill();var a=this.ctx.shadowColor,b=this.ctx.shadowOffsetX,c=this.ctx.shadowOffsetY;this.ctx.shadowColor="transparent";this.ctx.shadowOffsetX=0;this.ctx.shadowOffsetY=0;this.ctx.stroke();this.ctx.shadowColor=a;this.ctx.shadowOffsetX=b;this.ctx.shadowOffsetY=c}else this.ctx.fill(),this.ctx.stroke()};
- mxJsCanvas.prototype.text=function(a,b,c,d,f,g,l,e,h,k,m,n){if(null!=f&&0!=f.length){c=this.state.scale;0!=n&&(this.ctx.translate(Math.round(a),Math.round(b)),this.ctx.rotate(n*Math.PI/180),this.ctx.translate(Math.round(-a),Math.round(-b)));if("html"==h){f=this.subCanvas[this.canvasIndex++];h=f.height;n=f.width;switch(l){case mxConstants.ALIGN_MIDDLE:b-=h/2/c;break;case mxConstants.ALIGN_BOTTOM:b-=h/c}switch(g){case mxConstants.ALIGN_CENTER:a-=n/2/c;break;case mxConstants.ALIGN_RIGHT:a-=n/c}this.ctx.save();
- if(null!=this.state.fontBackgroundColor||null!=this.state.fontBorderColor)null!=this.state.fontBackgroundColor&&(this.ctx.fillStyle=this.state.fontBackgroundColor,this.ctx.fillRect(Math.round(a)-.5,Math.round(b)-.5,Math.round(f.width/c),Math.round(f.height/c))),null!=this.state.fontBorderColor&&(this.ctx.strokeStyle=this.state.fontBorderColor,this.ctx.lineWidth=1,this.ctx.strokeRect(Math.round(a)-.5,Math.round(b)-.5,Math.round(f.width/c),Math.round(f.height/c)));this.ctx.scale(1/c,1/c);this.ctx.drawImage(f,
- Math.round(a*c),Math.round(b*c))}else{this.ctx.save();this.updateFont();n=document.createElement("div");n.innerHTML=f;n.style.position="absolute";n.style.top="-9999px";n.style.left="-9999px";n.style.fontFamily=this.state.fontFamily;n.style.fontWeight="bold";n.style.fontSize=this.state.fontSize+"pt";document.body.appendChild(n);h=[n.offsetWidth,n.offsetHeight];document.body.removeChild(n);f=f.split("\n");n=h[1];this.ctx.textBaseline="top";h=b;switch(l){case mxConstants.ALIGN_MIDDLE:this.ctx.textBaseline=
- "middle";b-=(f.length-1)*n/2;h=b-this.state.fontSize/2;break;case mxConstants.ALIGN_BOTTOM:this.ctx.textBaseline="alphabetic",b-=n*(f.length-1),h=b-this.state.fontSize}l=[];n=[];for(c=0;c<f.length;c++)n[c]=a,l[c]=this.ctx.measureText(f[c]).width,null!=g&&g!=mxConstants.ALIGN_LEFT&&(n[c]-=l[c],g==mxConstants.ALIGN_CENTER&&(n[c]+=l[c]/2));if(null!=this.state.fontBackgroundColor||null!=this.state.fontBorderColor){a=n[0];g=l[0];for(c=1;c<f.length;c++)a=Math.min(a,n[c]),g=Math.max(g,l[c]);this.ctx.save();
- a=Math.round(a)-.5;h=Math.round(h)-.5;null!=this.state.fontBackgroundColor&&(this.ctx.fillStyle=this.state.fontBackgroundColor,this.ctx.fillRect(a,h,g,this.state.fontSize*mxConstants.LINE_HEIGHT*f.length));null!=this.state.fontBorderColor&&(this.ctx.strokeStyle=this.state.fontBorderColor,this.ctx.lineWidth=1,this.ctx.strokeRect(a,h,g,this.state.fontSize*mxConstants.LINE_HEIGHT*f.length));this.ctx.restore()}for(c=0;c<f.length;c++)this.ctx.fillText(f[c],n[c],b),b+=this.state.fontSize*mxConstants.LINE_HEIGHT}this.ctx.restore()}};
- mxJsCanvas.prototype.getCanvas=function(){return canvas};mxJsCanvas.prototype.finish=function(a){0==this.waitCounter?a():this.onComplete=a};DrawioClient=function(a,b){mxEventSource.call(this);this.ui=a;this.cookieName=b;this.token=this.getPersistentToken()};mxUtils.extend(DrawioClient,mxEventSource);DrawioClient.prototype.token=null;DrawioClient.prototype.user=null;DrawioClient.prototype.setUser=function(a){this.user=a;this.fireEvent(new mxEventObject("userChanged"))};DrawioClient.prototype.getUser=function(){return this.user};
- DrawioClient.prototype.clearPersistentToken=function(){if(isLocalStorage)localStorage.removeItem("."+this.cookieName);else if("undefined"!=typeof Storage){var a=new Date;a.setYear(a.getFullYear()-1);document.cookie=this.cookieName+"=; expires="+a.toUTCString()}};
- DrawioClient.prototype.getPersistentToken=function(){var a=null;isLocalStorage&&(a=localStorage.getItem("."+this.cookieName));if(null==a&&"undefined"!=typeof Storage){var b=document.cookie,c=this.cookieName+"=",d=b.indexOf(c);0<=d&&(d+=c.length,a=b.indexOf(";",d),0>a?a=b.length:postCookie=b.substring(a),a=b.substring(d,a),a=0<a.length?a:null,null!=a&&isLocalStorage&&(b=new Date,b.setYear(b.getFullYear()-1),document.cookie=c+"; expires="+b.toUTCString(),localStorage.setItem("."+this.cookieName,a)))}return a};
- DrawioClient.prototype.setPersistentToken=function(a){if(null!=a)if(isLocalStorage)localStorage.setItem("."+this.cookieName,a);else{if("undefined"!=typeof Storage){var b=new Date;b.setYear(b.getFullYear()+10);a=this.cookieName+"="+a+"; path=/; expires="+b.toUTCString();"https"==document.location.protocol.toLowerCase()&&(a+=";secure");document.cookie=a}}else this.clearPersistentToken()};DrawioUser=function(a,b,c,d,f){this.id=a;this.email=b;this.displayName=c;this.pictureUrl=d;this.locale=f};function DriveRealtime(a,b){this.realtimeAutosaveDelay=this.defaultRealtimeAutosaveDelay;this.realtimeMaxAutosaveDelay=this.defaultRealtimeMaxAutosaveDelay;this.file=a;this.doc=b;this.rtModel=this.doc.getModel();this.root=this.rtModel.getRoot();this.ui=a.getUi();this.graph=this.ui.editor.graph;this.model=this.graph.model;this.userId=this.ui.drive.user.id;this.ui.allowAnimation=!1;this.codec=new mxCodec;this.disconnectListener=mxUtils.bind(this,function(){this.sessionExpiredError()});this.ui.drive.addListener("disconnected",
- this.disconnectListener);this.autosaveChangeListener=mxUtils.bind(this,function(){var a=this.ui.drive.enableThumbnails;this.ui.drive.enableThumbnails=this.ui.editor.autosave;this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("saving"))+"...");this.file.save(!0,mxUtils.bind(this,function(){this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved")))}));this.ui.drive.enableThumbnails=a});this.ui.editor.addListener("autosaveChanged",this.autosaveChangeListener)}
- DriveRealtime.prototype.logLevel=2;DriveRealtime.prototype.updateStatusInterval=2E4;DriveRealtime.prototype.diagramsKey="diagrams";DriveRealtime.prototype.diagrams=null;DriveRealtime.prototype.rootKey="root";DriveRealtime.prototype.diagramMap=null;DriveRealtime.prototype.chatHistory=null;DriveRealtime.prototype.saving=!1;DriveRealtime.prototype.defaultRealtimeAutosaveDelay=5E3;DriveRealtime.prototype.defaultRealtimeMaxAutosaveDelay=6E4;DriveRealtime.prototype.realtimeHeartbeat=3E4;
- DriveRealtime.prototype.ignoreChange=!1;DriveRealtime.prototype.ignorePageFormatChanged=!1;DriveRealtime.prototype.ignoreScaleChanged=!1;DriveRealtime.prototype.ignoreBackgroundColorChanged=!1;DriveRealtime.prototype.ignoreShadowVisibleChanged=!1;DriveRealtime.prototype.ignoreBackgroundImageChanged=!1;DriveRealtime.prototype.ignoreMathEnabledChanged=!1;DriveRealtime.prototype.getDiagramMap=function(){return null!=this.ui.currentPage?this.ui.currentPage.mapping.diagramMap:this.diagramMap};
- DriveRealtime.prototype.getCurrentPage=function(){return null!=this.page?this.page:this.ui.currentPage};
- DriveRealtime.prototype.start=function(){"1"==urlParams.reset&&(this.root.clear(),this.log("reset realtime"));var a=this.createPrefix();this.model.prefix=a+"-";this.ui.editor.resetGraph();this.diagrams=this.root.get(this.diagramsKey);a=!1;null==this.diagrams&&(this.diagrams=this.rtModel.createList(),this.root.set(this.diagramsKey,this.diagrams),a=!0,this.log("realtime model initialized"));var b=!1;if(""!=this.file.getData()){this.ui.fileNode=null;this.ui.pages=null;this.ui.setFileData(this.file.getData());
- this.log("xml converted");if(this.root.has("cells")&&a)try{(new Image).src="https://log.draw.io/log?severity=CONFIG&msg=converted-oldrt&v="+encodeURIComponent(EditorUi.VERSION)+"&ts="+(new Date).getTime()}catch(f){}if(null!=this.ui.pages)for(a=0;a<this.ui.pages.length;a++){var c=this.ui.pages[a],d=this.rtModel.createMap();this.diagrams.push(d);this.ui.updatePageRoot(c);c.mapping=new RealtimeMapping(this,d,c);this.file.isEditable()&&(d.set("id",c.getId()),""!=c.getName()?d.set("name",c.getName()):
- d.has("name")||d.set("name",mxResources.get("pageWithNumber",[a+1])));c.setName(d.get("name")||mxResources.get("pageWithNumber",[a+1]));c.mapping.init()}else"0"==urlParams.pages?(this.diagramMap=this.rtModel.createMap(),this.diagrams.push(this.diagramMap),this.page=new DiagramPage(document.createElement("diagram")),this.page.mapping=new RealtimeMapping(this,this.diagramMap,this.page),this.diagramMap.set("name",mxResources.get("pageWithNumber",[1])),this.diagramMap.set("id",this.page.getId()),this.page.setName(this.diagramMap.get("name")),
- this.page.mapping.init()):(this.ui.fileNode=mxUtils.createXmlDocument().createElement("mxfile"),this.ui.pages=[],d=this.rtModel.createMap(),this.diagrams.push(d),c=new DiagramPage(this.ui.fileNode.ownerDocument.createElement("diagram")),c.mapping=new RealtimeMapping(this,d,c),this.ui.currentPage=c,this.file.isEditable()&&!c.mapping.diagramMap.has("name")&&(c.mapping.diagramMap.set("name",mxResources.get("pageWithNumber",[1])),c.mapping.diagramMap.set("id",c.getId())),c.setName(c.mapping.diagramMap.get("name")||
- mxResources.get("pageWithNumber",[1])),this.ui.pages.push(c),c.mapping.init());b=!0}else if(2>this.diagrams.length&&"0"==urlParams.pages)this.ui.fileNode=null,this.ui.pages=null,0==this.diagrams.length?(this.diagramMap=this.rtModel.createMap(),this.diagrams.push(this.diagramMap)):this.diagramMap=this.diagrams.get(0),c=document.createElement("diagram"),this.diagramMap.has("id")&&c.setAttribute("id",this.diagramMap.get("id")),this.page=new DiagramPage(c),this.page.mapping=new RealtimeMapping(this,this.diagramMap,
- this.page),this.diagramMap.has("name")||this.diagramMap.set("name",mxResources.get("pageWithNumber",[1])),this.page.setName(this.page.mapping.diagramMap.get("name")),this.diagramMap.set("id",this.page.getId()),this.page.mapping.init(),this.ui.editor.fireEvent(new mxEventObject("resetGraphView"));else{this.ui.fileNode=mxUtils.createXmlDocument().createElement("mxfile");this.ui.pages=[];0==this.diagrams.length&&this.diagrams.push(this.rtModel.createMap());for(a=0;a<this.diagrams.length;a++)c=this.ui.fileNode.ownerDocument.createElement("diagram"),
- d=this.diagrams.get(a),d.has("id")&&c.setAttribute("id",d.get("id")),c=new DiagramPage(c),c.mapping=new RealtimeMapping(this,d,c),this.file.isEditable()&&!d.has("name")&&d.set("name",mxResources.get("pageWithNumber",[a+1])),c.setName(d.get("name")||mxResources.get("pageWithNumber",[a+1])),this.file.isEditable()&&!d.has("id")&&d.set("id",c.getId()),this.ui.pages.push(c);this.ui.currentPage=this.ui.pages[Math.max(0,Math.min(this.ui.pages.length-1,urlParams.page||0))];for(a=0;a<this.ui.pages.length;a++)this.ui.pages[a].mapping.init()}this.installReadOnlyListener();
- this.installUiChangeListeners();this.installGraphModelListener();this.installPageSelectListener();this.chatHistory=this.root.get("chatHistory");null==this.chatHistory&&this.initializeChat();this.installSelectionModelListener();this.installCollaboratorListener();this.updateCollaborators();this.doc.addEventListener(gapi.drive.realtime.EventType.DOCUMENT_SAVE_STATE_CHANGED,mxUtils.bind(this,function(a){!this.saving||a.isPending||a.isSaving||b||(this.ui.isLegacyDriveDomain()&&"1"!=urlParams.ignoremime&&
- this.ui.drive.verifyMimeType(this.file.getId()),this.file.isAutosave()?this.triggerAutosave():this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved"))),this.saving=!1,this.resetUpdateStatusThread(),this.realtimeHeartbeat=DriveRealtime.prototype.realtimeHeartbeat,null!=this.isAliveThread&&(window.clearTimeout(this.isAliveThread),this.isAliveThread=null));this.file.isEditable()&&(a=10485760-this.rtModel.bytesUsed,0<a&&5E5>a&&!this.sizeLimitWarningShown&&(this.sizeLimitWarningShown=
- !0,this.ui.showError(mxResources.get("warning"),mxResources.get("fileNearlyFullSeeFaq"),mxResources.get("close"),mxUtils.bind(this,function(){}),null,mxResources.get("show"),mxUtils.bind(this,function(){window.open("https://desk.draw.io/support/solutions/articles/16000041695")}))))}));a=mxUtils.bind(this,function(){this.resetUpdateStatusThread();this.ui.resetScrollbars();this.updateStatus();b=!1});b?(this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("saving"))+"..."),this.file.save(!1,
- a,a)):a();null==this.previousUndoListener&&(this.previousUndoListener=this.ui.editor.undoListener,this.ui.editor.undoListener=mxUtils.bind(this,function(a,b){this.ignoreChange||this.previousUndoListener.apply(this,arguments)}))};
- DriveRealtime.prototype.triggerAutosave=function(){this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("updatingPreview")));this.file.autosave(this.realtimeAutosaveDelay,this.realtimeMaxAutosaveDelay,mxUtils.bind(this,function(a){this.realtimeAutosaveDelay=this.defaultRealtimeAutosaveDelay+Math.min(1E4,this.file.saveDelay);this.ui.getCurrentFile()!=this.file||this.saving||this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved")))}),mxUtils.bind(this,function(a){this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("errorUpdatingPreview")));
- !this.ui.isLegacyDriveDomain()||"1"==urlParams.ignoremime||null==a||null==a.error||400!=a.error.code&&403!=a.error.code||this.ui.drive.verifyMimeType(this.file.getId(),null,!0)}))};
- DriveRealtime.prototype.triggerAutosave=function(){this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("updatingPreview")));this.file.autosave(this.realtimeAutosaveDelay,this.realtimeMaxAutosaveDelay,mxUtils.bind(this,function(a){this.realtimeAutosaveDelay=this.defaultRealtimeAutosaveDelay+Math.min(1E4,this.file.saveDelay);this.ui.getCurrentFile()!=this.file||this.saving||this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved")))}),mxUtils.bind(this,function(a){this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("errorUpdatingPreview")));
- !this.ui.isLegacyDriveDomain()||"1"==urlParams.ignoremime||null==a||null==a.error||400!=a.error.code&&403!=a.error.code||this.ui.drive.verifyMimeType(this.file.getId(),null,!0)}))};DriveRealtime.prototype.installReadOnlyListener=function(){this.doc.addEventListener(gapi.drive.realtime.EventType.ATTRIBUTE_CHANGED,mxUtils.bind(this,function(a){"is_read_only"==a.attribute&&(this.file.descriptorChanged(),this.file.isEditable()?this.ui.editor.setStatus(""):(this.ui.editor.graph.reset(),this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("readOnly")))))}))};
- DriveRealtime.prototype.installUiChangeListeners=function(){this.pageFormatListener=mxUtils.bind(this,function(a,b){if(!this.ignorePageFormatChanged)try{this.setFileModified(),this.getDiagramMap().set("pageFormat",this.graph.pageFormat.width+","+this.graph.pageFormat.height)}catch(c){this.ui.handleError(c)}});this.ui.addListener("pageFormatChanged",this.pageFormatListener);this.pageScaleListener=mxUtils.bind(this,function(a,b){if(!this.ignorePageScaleChanged)try{this.setFileModified(),this.getDiagramMap().set("pageScale",
- this.graph.pageScale)}catch(c){this.ui.handleError(c)}});this.ui.addListener("pageScaleChanged",this.pageScaleListener);this.backgroundColorListener=mxUtils.bind(this,function(a,b){if(!this.ignoreBackgroundColorChanged)try{this.setFileModified(),this.getDiagramMap().set("backgroundColor",null!=this.graph.background?this.graph.background:"")}catch(c){this.ui.handleError(c)}});this.ui.addListener("backgroundColorChanged",this.backgroundColorListener);this.shadowVisibleListener=mxUtils.bind(this,function(a,
- b){if(!this.ignoreShadowVisibleChanged&&this.getDiagramMap().get("shadowVisible")!=(this.graph.shadowVisible?"1":"0"))try{this.setFileModified(),this.getDiagramMap().set("shadowVisible",this.graph.shadowVisible?"1":"0")}catch(c){this.ui.handleError(c)}});this.graph.addListener("shadowVisibleChanged",this.shadowVisibleListener);this.foldingEnabledListener=mxUtils.bind(this,function(a,b){if(!this.ignoreFoldingEnabledChanged)try{this.setFileModified(),this.getDiagramMap().set("foldingEnabled",this.graph.foldingEnabled?
- "1":"0")}catch(c){this.ui.handleError(c)}});this.ui.addListener("foldingEnabledChanged",this.foldingEnabledListener);this.graph.addListener("shadowVisibleChanged",this.shadowVisibleListener);this.pageVisibleListener=mxUtils.bind(this,function(a,b){if(!this.ignorePageVisibleChanged)try{this.setFileModified(),this.getDiagramMap().set("pageVisible",this.graph.pageVisible?"1":"0")}catch(c){this.ui.handleError(c)}});this.ui.addListener("pageViewChanged",this.pageVisibleListener);this.backgroundImageListener=
- mxUtils.bind(this,function(a,b){if(!this.ignoreBackgroundImageChanged)try{this.setFileModified(),this.getDiagramMap().set("backgroundImage",null!=this.graph.backgroundImage?JSON.stringify(this.graph.backgroundImage):"")}catch(c){this.ui.handleError(c)}});this.ui.addListener("backgroundImageChanged",this.backgroundImageListener);this.mathEnabledListener=mxUtils.bind(this,function(a,b){if(!this.ignoreMathEnabledChanged)try{this.setFileModified(),this.getDiagramMap().set("mathEnabled",this.graph.mathEnabled?
- "1":"0")}catch(c){this.ui.handleError(c)}});this.ui.addListener("mathEnabledChanged",this.mathEnabledListener)};DriveRealtime.prototype.isLocalEvent=function(a){return a.isLocal};DriveRealtime.prototype.resetUpdateStatusThread=function(){null!=this.updateStatusThread&&window.clearInterval(this.updateStatusThread);this.updateStatusThread=window.setInterval(mxUtils.bind(this,function(){this.ui.drive.checkToken(mxUtils.bind(this,function(){this.updateStatus()}))}),this.updateStatusInterval)};
- DriveRealtime.prototype.timeSince=function(a){a=Math.floor((new Date-a)/1E3);var b=Math.floor(a/31536E3);if(1<b)return b+" "+mxResources.get("years");b=Math.floor(a/2592E3);if(1<b)return b+" "+mxResources.get("months");b=Math.floor(a/86400);if(1<b)return b+" "+mxResources.get("days");b=Math.floor(a/3600);if(1<b)return b+" "+mxResources.get("hours");b=Math.floor(a/60);return 1<b?b+" "+mxResources.get("minutes"):1==b?b+" "+mxResources.get("minute"):null};
- DriveRealtime.prototype.updateStatus=function(){if(!this.saving){var a=this.root.get("modifiedDate");""!=a&&(a=this.ui.timeSince(new Date(a)),null==a&&(a=mxResources.get("lessThanAMinute")),this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("lastChange",[a]))+(this.file.isEditable()?"":" ("+mxUtils.htmlEntities(mxResources.get("readOnly"))+")")))}};
- DriveRealtime.prototype.getPageIndexForMap=function(a){for(var b=0;b<this.ui.pages.length;b++)if(this.ui.pages[b].mapping.diagramMap==a)return b;return null};
- DriveRealtime.prototype.installPageSelectListener=function(){this.pageChangeListener=mxUtils.bind(this,function(a,b){var c=b.getProperty("change").relatedPage;null==c.mapping&&(c.mapping=new RealtimeMapping(this,this.rtModel.createMap(),c),c.mapping.init(),this.file.isEditable()&&c.mapping.diagramMap.set("name",c.getName()))});this.ui.editor.addListener("beforePageChange",this.pageChangeListener);this.viewStateListener=mxUtils.bind(this,function(a,b){var c=this.getCurrentPage();null==c.viewState&&
- c.mapping.activate(!0)});this.ui.editor.addListener("setViewState",this.viewStateListener);this.diagrams.addEventListener(gapi.drive.realtime.EventType.VALUES_ADDED,mxUtils.bind(this,function(a){if(!this.isLocalEvent(a))if(null==a.movedFromList){this.ignoreChange=!0;null==this.ui.pages&&(this.ui.fileNode=mxUtils.createXmlDocument().createElement("mxfile"),this.ui.pages=[],null!=this.page&&(this.ui.currentPage=this.page,this.ui.pages.push(this.ui.currentPage),this.page=this.diagramMap=null));for(var b=
- 0;b<a.values.length;b++){var c=new DiagramPage(document.createElement("diagram"));c.mapping=new RealtimeMapping(this,a.values[b],c);c.setName(c.mapping.diagramMap.get("name")||mxResources.get("pageWithNumber",[this.ui.pages.length+1]));this.ui.pages.splice(a.index+b,0,c);c.mapping.init()}null!=this.ui.pages&&1<this.ui.pages.length&&null!=this.ui.tabContainer&&"0px"==this.ui.tabContainer.style.height&&this.ui.editor.graph.view.validateBackground();this.ui.updateTabContainer();this.ignoreChange=!1}else if(a.movedFromList==
- this.diagrams&&null!=a.movedFromIndex){this.ignoreChange=!0;for(b=0;b<a.values.length;b++)c=this.getPageIndexForMap(a.values[b]),null!=c&&this.ui.movePage(c+b,a.index+b);this.ignoreChange=!1;this.ui.updateTabContainer()}}));this.diagrams.addEventListener(gapi.drive.realtime.EventType.VALUES_REMOVED,mxUtils.bind(this,function(a){if(!this.isLocalEvent(a)&&null==a.movedToList){this.ignoreChange=!0;for(var b=0;b<a.values.length;b++){var c=this.getPageIndexForMap(a.values[b]);null!=c&&(c=this.ui.pages[c],
- null!=c&&(this.ui.removePage(c),c.mapping.destroy()))}this.ignoreChange=!1}}))};
- DriveRealtime.prototype.processChange=function(a){if(a instanceof RenamePage)a.page.mapping.diagramMap.set("name",a.page.getName());else if(a instanceof ChangePage)null==a.previousIndex?this.diagrams.removeValue(a.relatedPage.mapping.diagramMap):this.diagrams.insert(a.previousIndex,a.relatedPage.mapping.diagramMap);else if(a instanceof MovePage)this.diagrams.move(a.newIndex,a.oldIndex+(a.newIndex<a.oldIndex?1:0));else if(a instanceof mxRootChange)a.root==this.model.root&&this.getCurrentPage().mapping.initRealtime();
- else if(a instanceof mxChildChange){if(a.parent!=a.previous||a.index!=a.previousIndex){var b=a.child.rtCell;null==b&&(b=this.getCurrentPage().mapping.createRealtimeCell(a.child),this.getCurrentPage().mapping.saveRealtimeCell(b.cell));var c=null!=a.parent?a.parent.rtCell:null;if(null!=a.previous){var d=a.previous.rtCell;null!=d&&d.children.removeValue(b)}null!=c&&c.children.insert(Math.min(c.children.length,a.index),b);b.parent=c}}else null!=a.cell&&null!=a.cell.id&&(b=a.cell.rtCell,null!=b&&(a instanceof
- mxTerminalChange?b[a.source?"source":"target"]=null!=a.terminal?a.terminal.rtCell:null:a instanceof mxGeometryChange?b.geometry=null!=a.geometry?mxUtils.getXml(this.codec.encode(a.geometry)):null:a instanceof mxStyleChange?b.style=a.style:a instanceof mxValueChange?mxUtils.isNode(a.value)?(b.value=null,b.xmlValue=mxUtils.getXml(a.value)):(b.xmlValue=null,b.value=a.value):a instanceof mxCollapseChange?b.collapsed=a.collapsed?"1":"0":a instanceof mxVisibleChange&&(b.visible=a.visible?"1":"0")))};
- DriveRealtime.prototype.setFileModified=function(){this.root.set("modifiedDate",(new Date).getTime());this.file.setModified(!0);this.saving||(this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("saving"))+"..."),this.saving=!0)};
- DriveRealtime.prototype.installGraphModelListener=function(){this.graphModelChangeListener=mxUtils.bind(this,function(a,b){var c=b.getProperty("edit");this.ignoreChange||!this.file.isEditable()||c.ignoreEdit||this.ui.drive.checkToken(mxUtils.bind(this,function(){this.rtModel.beginCompoundOperation();this.setFileModified();try{var a=c.changes;if(c.undone)for(var b=a.length-1;0<=b;b--)this.processChange(a[b]);else for(b=0;b<a.length;b++)this.processChange(a[b]);this.rtModel.endCompoundOperation()}catch(g){this.rtModel.endCompoundOperation(),
- this.ui.handleError(g)}null==this.isAliveThread&&(this.isAliveThread=window.setTimeout(mxUtils.bind(this,function(){this.ui.editor.setStatus('<div class="geStatusAlert geBlink" style="cursor:pointer;">'+mxUtils.htmlEntities(mxResources.get("noResponse"))+"</div>");this.isAliveThread=window.setTimeout(mxUtils.bind(this,function(){this.isAliveThread=null;this.timeoutError()}),this.realtimeHeartbeat)}),this.realtimeHeartbeat))}))});this.model.addListener(mxEvent.CHANGE,this.graphModelChangeListener)};
- DriveRealtime.prototype.sessionExpiredError=function(){this.ui.showError(mxResources.get("error"),mxResources.get("sessionExpired"),mxResources.get("refresh"),mxUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get("connecting"));this.file.setModified(!1);window.location.reload()}))};
- DriveRealtime.prototype.timeoutError=function(){this.ui.showError(mxResources.get("timeout"),mxResources.get("realtimeTimeout"),mxResources.get("discardChangesAndReconnect"),mxUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get("connecting"));this.file.setModified(!1);window.location.reload()}),null,mxResources.get("ignore"),mxUtils.bind(this,function(){this.ui.editor.setStatus('<div class="geStatusAlert geBlink" style="cursor:pointer;">'+mxUtils.htmlEntities(mxResources.get("disconnected"))+
- "</div>");this.realtimeHeartbeat*=2}))};DriveRealtime.prototype.initializeChat=function(){this.chatHistory=this.rtModel.createList();this.root.set("chatHistory",this.chatHistory)};
- DriveRealtime.prototype.installSelectionModelListener=function(){this.graphSelectionModelChangeListener=mxUtils.bind(this,function(a,b){this.ui.drive.checkToken(mxUtils.bind(this,function(){if(this.file.isEditable()&&!this.graph.isSelectionEmpty())try{for(var a=this.graph.getSelectionCells(),b="",f=0;f<a.length;f++)b+=a[f].id+",";this.getCurrentPage().mapping.selectionMap.set(this.userId,b)}catch(g){this.ui.handleError(g)}}))});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.graphSelectionModelChangeListener)};
- DriveRealtime.prototype.installCollaboratorListener=function(){this.doc.addEventListener(gapi.drive.realtime.EventType.COLLABORATOR_JOINED,mxUtils.bind(this,this.updateCollaborators));this.doc.addEventListener(gapi.drive.realtime.EventType.COLLABORATOR_LEFT,mxUtils.bind(this,this.updateCollaborators))};
- DriveRealtime.prototype.updateCollaborators=function(){var a=this.doc.getCollaborators().length-1;null==this.collaboratorsElement&&(this.collaboratorsElement=document.createElement("a"),this.collaboratorsElement.setAttribute("href","javascript:void(0);"),this.collaboratorsElement.className="geItem",this.collaboratorsElement.style.position="absolute",this.collaboratorsElement.style.display="inline-block",this.collaboratorsElement.style.verticalAlign="bottom",this.collaboratorsElement.style.color="#666",
- this.collaboratorsElement.style.top="10px",this.collaboratorsElement.style.right="atlas"==uiTheme?"42px":"68px",this.collaboratorsElement.style.padding="2px",this.collaboratorsElement.style.fontSize="8pt",this.collaboratorsElement.style.verticalAlign="middle",this.collaboratorsElement.style.backgroundPosition="100% 60%",this.collaboratorsElement.style.backgroundRepeat="no-repeat",540>=screen.width&&(this.collaboratorsElement.style.maxWidth=Math.max(10,screen.width-500)+"px",this.collaboratorsElement.style.overflow=
- "hidden"),this.ui.toolbarContainer.appendChild(this.collaboratorsElement),mxEvent.addListener(this.collaboratorsElement,"click",mxUtils.bind(this,function(a){if(null==this.collabPanel){var b=document.createElement("div");b.className="geDialog";b.style.position="absolute";b.style.maxHeight="400px";b.style.maxWidth="300px";b.style.right="38px";b.style.padding="14px";b.style.paddingRight="30px";this.collabPanel=b}if(null==this.collabPanel.parentNode)if(this.collabPanel.style.top=this.collaboratorsElement.clientTop+
- this.collaboratorsElement.clientHeight+this.ui.menubarHeight+8+"px",document.body.appendChild(this.collabPanel),this.collabPanel.innerHTML="",b=document.createElement("img"),b.setAttribute("src",Dialog.prototype.closeImage),b.setAttribute("title",mxResources.get("close")),b.className="geDialogClose",b.style.top="8px",b.style.right="8px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){null!=this.collabPanel.parentNode&&this.collabPanel.parentNode.removeChild(this.collabPanel)})),this.collabPanel.appendChild(b),
- 1<this.doc.getCollaborators().length)for(var c=0;c<this.doc.getCollaborators().length;c+=1){var d=this.doc.getCollaborators()[c];if(!d.isMe){var f=document.createElement("div");f.style.cursor="pointer";f.style.whiteSpace="nowrap";b=document.createElement("img");b.src=d.photoUrl;b.style.backgroundColor=d.color;b.style.paddingBottom="8px";b.style.marginRight="10px";b.style.marginTop="2px";b.style.marginBottom="2px";b.style.height="25px";b.style.width="25px";b.setAttribute("align","absmiddle");f.appendChild(b);
- mxUtils.write(f,d.displayName);this.collabPanel.appendChild(f);mxEvent.addListener(f,"click",mxUtils.bind(this,function(){var a=this.getCurrentPage().mapping.selectionMap.get(d.userId);if(null!=a)for(var a=a.split(","),b=0;b<a.length;b++){var c=this.model.getCell(a[b]);this.highlight(c,d.sessionId);null!=c&&0==b&&this.graph.scrollCellToVisible(c)}}))}}else mxUtils.write(this.collabPanel,mxResources.get("noOtherViewers"));else null!=this.collabPanel.parentNode&&this.collabPanel.parentNode.removeChild(this.collabPanel);
- mxEvent.consume(a)})),mxEvent.addListener(document.body,"click",mxUtils.bind(this,function(a){mxEvent.isConsumed(a)||null==this.collabPanel||null==this.collabPanel.parentNode||this.collabPanel.parentNode.removeChild(this.collabPanel)})));var b=mxResources.get(0==a?"noOtherViewers":1==a?"otherViewer":"otherViewers");0<a?(b=a+" "+b,this.collaboratorsElement.style.paddingRight="16px",this.collaboratorsElement.style.backgroundImage="url("+IMAGE_PATH+"/expanded.gif)",this.collaboratorsElement.style.cursor=
- "pointer"):(this.collaboratorsElement.style.paddingRight="0px",this.collaboratorsElement.style.backgroundImage="",this.collaboratorsElement.style.cursor="default");for(var a='<div title="'+b+'" style="display:inline-block;white-space:nowrap;max-width:110px;overflow:hidden;text-overflow:ellipsis;">'+b+"</div>",b={},c=0,d=0;d<this.doc.getCollaborators().length&&6>c;d+=1){var f=this.doc.getCollaborators()[d];f.isMe||null!=b[f.color]||(b[f.color]=f.displayName,c++)}for(var g in b)a+='<div title="'+mxUtils.htmlEntities(b[g])+
- '" style="display:inline-block;background-color:'+g+';width:13px;height:13px;margin-left:4px;margin-top:-1px;"></div>';this.collaboratorsElement.innerHTML=a};DriveRealtime.prototype.createPrefix=function(){for(var a=this.doc.getCollaborators(),b=0;b<a.length;b++)if(a[b].isMe)return a[b].sessionId;return""};
- DriveRealtime.prototype.highlight=function(a,b){var c=this.graph.view.getState(a);if(null!=c){for(var d="red",f=0;f<this.doc.getCollaborators().length;f+=1){var g=this.doc.getCollaborators()[f];if(g.sessionId==b){d=g.color;break}}var f=Math.max(5,mxUtils.getValue(c.style,mxConstants.STYLE_STROKEWIDTH,1)+4),l=new mxCellHighlight(this.graph,d,f,!1);l.highlight(c);window.setTimeout(function(){null!=l.shape&&(mxUtils.setPrefixedStyle(l.shape.node.style,"transition","all 1200ms ease-in-out"),l.shape.node.style.opacity=
- 0);window.setTimeout(function(){l.destroy()},2E3)},1E3)}};DriveRealtime.prototype.dumpRoot=function(){return this.dump(this.root)};
- DriveRealtime.prototype.dump=function(a){var b="";if(null!=a){if(a.constructor==mxCell)return a.id;if(a.constructor==mxRootChange)b+="mxRootChange[root="+this.dump(a.root)+"]";else if(a.constructor==mxChildChange)b+="mxChildChange[parent="+this.dump(a.parent)+", child="+this.dump(a.child.id)+", index="+a.index+"]";else if(a.constructor==mxTerminalChange)b+="mxTerminalChange[cell="+this.dump(a.cell)+", terminal="+this.dump(a.terminal)+", source="+a.source+"]";else if(a.constructor==mxValueChange)b+=
- "mxValueChange[cell="+this.dump(a.cell)+", value="+a.value+"]";else if(a.constructor==mxGeometryChange)b+="mxGeometryChange[cell="+this.dump(a.cell)+", geometry="+(null!=a.cell.geometry?mxUtils.getXml(this.codec.encode(a.cell.geometry)):"[null]")+"]";else if(a.constructor==mxStyleChange)b+="mxStyleChange[cell="+this.dump(a.cell)+", style="+a.style+"]";else if(a.constructor==mxVisibleChange)b+="mxVisibleChange[cell="+this.dump(a.cell)+", visible="+a.visible+"]";else if(a.constructor==mxCollapseChange)b+=
- "mxCollapseChange[cell="+this.dump(a.cell)+", collapsed="+a.collapsed+"]";else if(a.constructor==mxRtCell){b+="[id="+a.cellId+",parent="+(null!=a.parent?a.parent.cellId:"[null]");if(0<a.children.length){for(var b=b+(",\n"+a.children.length+" children=["+this.dump(a.children.get(0))),c=1;c<a.children.length;c++)b+=","+this.dump(a.children.get(c));b+="]"}b+="]\n"}else if(null!=a.keys){for(var d=a.keys(),b=b+"{\n",c=0;c<d.length;c++)b+=d[c]+"="+this.dump(a.get(d[c]))+";\n";b+="}"}else if(null!=a.asArray){a=
- a.asArray();b+="[";for(c=0;c<a.length;c++)b+=a[c]+";";b+="]"}else b=a}else b="null";return b};DriveRealtime.prototype.check=function(){console.log("checking consistency");this.checkChildren(this.model.getRoot());console.log("checking consistency done")};
- DriveRealtime.prototype.checkChildren=function(a){if(null==a.rtCell)console.log("no realtime cell","cell",a.id);else{null==a.getTerminal(!0)||null!=a.rtCell.source&&a.rtCell.source==a.getTerminal(!0).rtCell||console.log("invalid source","edge",a.id,"source",a.getTerminal(!0).id,"rtSource",a.rtCell.source);null==a.getTerminal(!1)||null!=a.rtCell.target&&a.rtCell.target==a.getTerminal(!1).rtCell||console.log("invalid target","edge",a.id,"target",a.getTerminal(!1).id,"rtTarget",a.rtCell.target);var b=
- this.model.getChildCount(a),c=a.rtCell.children.asArray();b!=a.rtCell.children.length&&console.log("invalid child count","cell",a.id,"children",c.length,"childCount",b);for(c=0;c<a.rtCell.children.length;c++){var d=this.model.getChildAt(a,c);null==d?console.log("no child","index",c,"child",a.rtCell.children.get(c)):a.rtCell.children.get(c)!=d.rtCell&&console.log("invalid child","index",c,"child",a.rtCell.children.get(c),"graphChild",d)}}for(c=0;c<b;c++)d=this.model.getChildAt(a,c),this.checkChildren(d)};
- DriveRealtime.prototype.log=function(a){};DriveRealtime.prototype.warn=function(a){};
- DriveRealtime.prototype.destroy=function(a){a=null!=a?a:!1;null!=this.pageFormatListener&&(this.ui.removeListener(this.pageFormatListener),this.pageFormatListener=null);null!=this.pageScaleListener&&(this.ui.removeListener(this.pageScaleListener),this.pageScaleListener=null);null!=this.backgroundColorListener&&(this.ui.removeListener(this.backgroundColorListener),this.backgroundColorListener=null);null!=this.shadowVisibleListener&&(this.graph.removeListener(this.shadowVisibleListener),this.shadowVisibleListener=
- null);null!=this.foldingEnabledListener&&(this.ui.removeListener(this.foldingEnabledListener),this.foldingEnabledListener=null);null!=this.pageVisibleListener&&(this.ui.removeListener(this.pageVisibleListener),this.pageVisibleListener=null);null!=this.backgroundImageListener&&(this.ui.removeListener(this.backgroundImageListener),this.backgroundImageListener=null);null!=this.mathEnabledListener&&(this.ui.removeListener(this.mathEnabledListener),this.mathEnabledListener=null);null!=this.previousUndoListener&&
- (this.ui.editor.undoListener=this.previousUndoListener,this.previousUndoListener=null);null!=this.graphSelectionModelChangeListener&&(this.graph.selectionModel.removeListener(this.graphSelectionModelChangeListener),this.graphSelectionModelChangeListener=null);null!=this.disconnectListener&&(this.ui.drive.removeListener(this.disconnectListener),this.disconnectListener=null);null!=this.autosaveChangeListener&&(this.ui.editor.removeListener(this.autosaveChangeListener),this.autosaveChangeListener=null);
- null!=this.graphModelChangeListener&&(this.model.removeListener(this.graphModelChangeListener),this.graphModelChangeListener=null);null!=this.pageChangeListener&&(this.ui.editor.removeListener(this.pageChangeListener),this.pageChangeListener=null);null!=this.viewStateListener&&(this.ui.editor.removeListener(this.viewStateListener),this.viewStateListener=null);null!=this.collaboratorsElement&&(this.collaboratorsElement.parentNode.removeChild(this.collaboratorsElement),this.collaboratorsElement=null);
- null!=this.updateStatusThread&&(window.clearInterval(this.updateStatusThread),this.updateStatusThread=null);this.ui.allowAnimation=!0;try{a||this.doc.isClosed||this.doc.close()}catch(b){}};function RealtimeMapping(a,b,c){this.driveRealtime=a;this.diagramMap=b;this.page=c;this.graphModel=new mxGraphModel;null!=c.root&&this.graphModel.setRoot(c.root);this.ui=this.driveRealtime.ui;this.root=this.driveRealtime.root;this.graph=this.driveRealtime.graph;this.rtModel=this.driveRealtime.rtModel}RealtimeMapping.prototype.driveRealtime=null;RealtimeMapping.prototype.diagramMap=null;RealtimeMapping.prototype.page=null;RealtimeMapping.prototype.graphModel=null;
- RealtimeMapping.prototype.needsUpdate=!0;RealtimeMapping.prototype.selectionMap=null;
- RealtimeMapping.prototype.init=function(){this.diagramMap.addEventListener(gapi.drive.realtime.EventType.VALUE_CHANGED,mxUtils.bind(this,function(a){this.driveRealtime.isLocalEvent(a)||(a.property==this.driveRealtime.rootKey&&null!=a.newValue?(this.beginUpdate(),this.initGraph(),this.needsUpdate=!0):"name"==a.property&&null!=a.newValue?(this.driveRealtime.ignoreChange=!0,this.graph.model.execute(new RenamePage(this.ui,this.page,a.newValue)),this.driveRealtime.ignoreChange=!1):null!=a.newValue&&("pageFormat"==
- a.property?this.realtimePageFormatChanged(a.newValue):"pageScale"==a.property?this.realtimePageScaleChanged(a.newValue):"backgroundColor"==a.property?this.realtimeBackgroundColorChanged(a.newValue):"shadowVisible"==a.property?this.realtimeShadowVisibleChanged(a.newValue):"foldingEnabled"==a.property?this.realtimeFoldingEnabledChanged(a.newValue):"pageVisible"==a.property?this.realtimePageVisibleChanged(a.newValue):"backgroundImage"==a.property?this.realtimeBackgroundImageChanged(a.newValue):"mathEnabled"==
- a.property&&this.realtimeMathEnabledChanged(a.newValue)),null==a.newValue||"pageFormat"!=a.property&&"pageScale"!=a.property&&"shadowVisible"!=a.property&&"backgroundColor"!=a.property&&"foldingEnabled"!=a.property&&"backgroundImage"!=a.property&&"mathEnabled"!=a.property&&"pageVisible"!=a.property||(this.needsUpdate=!0))}));this.diagramMap.has(this.driveRealtime.rootKey)?this.initGraph():this.initRealtime();this.page.root=this.graphModel.getRoot();this.selectionMap=this.diagramMap.get("select");
- null==this.selectionMap&&this.initializeSelection();this.driveRealtime.file.isEditable()&&this.selectionMap.set(this.driveRealtime.userId,"");this.installRemoteSelectionListener()};RealtimeMapping.prototype.initializeSelection=function(){this.selectionMap=this.rtModel.createMap();this.driveRealtime.file.isEditable()&&this.diagramMap.set("select",this.selectionMap)};
- RealtimeMapping.prototype.installRemoteSelectionListener=function(){this.selectionMap.addEventListener(gapi.drive.realtime.EventType.VALUE_CHANGED,mxUtils.bind(this,function(a){if(!this.driveRealtime.isLocalEvent(a)&&null!=a.newValue&&(null==this.ui.currentPage||this.ui.currentPage==this.page))for(var b=a.newValue.split(","),c=0;c<b.length;c++)this.driveRealtime.highlight(this.driveRealtime.model.getCell(b[c]),a.sessionId)}))};
- RealtimeMapping.prototype.isActive=function(){return null==this.ui.currentPage||this.ui.currentPage.mapping==this};RealtimeMapping.prototype.getGraphModel=function(){return this.isActive()?this.driveRealtime.model:this.graphModel};
- RealtimeMapping.prototype.initGraph=function(){this.isActive()&&(this.activate(!0),mxClient.NO_FO=this.graph.mathEnabled?!0:Editor.prototype.originalNoForeignObject,this.ui.editor.graph.sizeDidChange());var a=this.diagramMap.get(this.driveRealtime.rootKey);null==a.cell?(this.createCell(a),this.restoreCell(a)):this.installAllRealtimeCellListeners(a);var b=this.getGraphModel();b.setRoot(a.cell);b!=this.graphModel&&this.graphModel.setRoot(b.getRoot())};
- RealtimeMapping.prototype.writeRealtimeToNode=function(a){a.setAttribute("shadow",this.diagramMap.get("shadowVisible"));a.setAttribute("fold",this.diagramMap.get("foldingEnabled"));a.setAttribute("math",this.diagramMap.get("mathEnabled"));a.setAttribute("pageScale",this.diagramMap.get("pageScale"));var b=this.diagramMap.get("backgroundImage");null!=b&&0<b.length&&a.setAttribute("backgroundImage",b);b=this.diagramMap.get("backgroundColor");null!=b&&a.setAttribute("background",b);b=this.diagramMap.get("pageFormat");
- null!=b&&(b=b.split(","),1<b.length&&(a.setAttribute("pageWidth",parseInt(b[0])),a.setAttribute("pageHeight",parseInt(b[1]))))};
- RealtimeMapping.prototype.writeNodeToRealtime=function(a){this.diagramMap.set("shadowVisible",a.getAttribute("shadow"));this.diagramMap.set("foldingEnabled",a.getAttribute("fold"));this.diagramMap.set("mathEnabled",a.getAttribute("math"));this.diagramMap.set("pageScale",a.getAttribute("pageScale"));this.diagramMap.set("pageVisible",a.getAttribute("pageVisible"));var b=a.getAttribute("backgroundImage");null!=b&&0<b.length&&this.diagramMap.set("backgroundImage",b);b=a.getAttribute("background");null!=
- b&&this.diagramMap.set("backgroundColor",b);this.diagramMap.set("pageFormat",a.getAttribute("pageWidth")+","+a.getAttribute("pageHeight"))};
- RealtimeMapping.prototype.activate=function(a){this.realtimePageFormatChanged(this.diagramMap.get("pageFormat"),a);this.realtimePageScaleChanged(this.diagramMap.get("pageScale"),a);this.realtimeMathEnabledChanged(this.diagramMap.get("mathEnabled"),a);this.realtimeBackgroundColorChanged(this.diagramMap.get("backgroundColor"),a);this.realtimeShadowVisibleChanged(this.diagramMap.get("shadowVisible"),a);this.realtimeFoldingEnabledChanged(this.diagramMap.get("foldingEnabled"),a);this.realtimePageVisibleChanged(this.diagramMap.get("pageVisible"),
- a);this.realtimeBackgroundImageChanged(this.diagramMap.get("backgroundImage"),a)};
- RealtimeMapping.prototype.initRealtime=function(){this.rtModel.beginCompoundOperation();try{var a=this.createRealtimeCell(this.getGraphModel().getRoot());this.saveRealtimeCell(a.cell);this.diagramMap.set(this.driveRealtime.rootKey,a);if(null!=this.page.graphModelNode)this.writeNodeToRealtime(this.page.graphModelNode);else{var b=this.page.viewState,c=null!=b?b.pageFormat:mxSettings.getPageFormat();this.diagramMap.set("shadowVisible",null!=b&&b.shadowVisible?"1":"0");this.diagramMap.set("foldingEnabled",
- null==b||b.foldingEnabled?"1":"0");this.diagramMap.set("mathEnabled",null!=b&&b.mathEnabled?"1":"0");this.diagramMap.set("pageScale",this.graph.pageScale);this.diagramMap.set("pageVisible",null==b||b.pageVisible?"1":"0");this.diagramMap.set("pageFormat",c.width+","+c.height);this.diagramMap.set("backgroundImage",null!=b&&null!=b.backgroundImage?JSON.stringify(b.backgroundImage):"");this.diagramMap.set("backgroundColor",null!=b&&null!=b.background?this.graph.background:"")}this.root.set("modifiedDate",
- (new Date).getTime());this.rtModel.endCompoundOperation()}catch(d){this.rtModel.endCompoundOperation(),this.ui.handleError(d)}};
- RealtimeMapping.prototype.createRealtimeCell=function(a){var b=a.rtCell;if(null==b){b=this.rtModel.create("Cell");b.children=this.rtModel.createList();b.cell=a;a.rtCell=b;b.cellId=a.id;b.type=a.vertex?"vertex":a.edge?"edge":"";b.connectable=null==a.connectable||a.connectable?"1":"0";mxUtils.isNode(a.value)?b.xmlValue=mxUtils.getXml(a.value):null!=a.value&&(b.value=a.value);b.style=null!=a.style?a.style:null;b.geometry=null!=a.geometry?mxUtils.getXml(this.driveRealtime.codec.encode(a.geometry)):null;
- b.visible=null==a.visible||a.visible?"1":"0";b.collapsed=null!=a.collapsed&&a.collapsed?"1":"0";for(var c=0;c<this.graphModel.getChildCount(a);c++){var d=this.graphModel.getChildAt(a,c);this.createRealtimeCell(d);null==d.rtCell.parent&&(d.rtCell.parent=b,b.children.push(d.rtCell))}this.installRealtimeCellListeners(b)}return b};
- RealtimeMapping.prototype.saveRealtimeCell=function(a){null!=a.source?(null==a.source.rtCell&&this.createRealtimeCell(a.source),a.rtCell.source=a.source.rtCell):a.rtCell.source=null;null!=a.target?(null==a.target.rtCell&&this.createRealtimeCell(a.target),a.rtCell.target=a.target.rtCell):a.rtCell.target=null;for(var b=0;b<this.graphModel.getChildCount(a);b++)this.saveRealtimeCell(this.graphModel.getChildAt(a,b))};
- RealtimeMapping.prototype.createCell=function(a){var b=a.cell;if(null==b){b=new mxCell;a.cell=b;b.rtCell=a;b.id=a.cellId;b.vertex="vertex"==a.type;b.edge="edge"==a.type;b.connectable="0"!=a.connectable;b.value=null!=a.xmlValue?mxUtils.parseXml(a.xmlValue).documentElement:a.value;b.style=a.style;b.geometry=null!=a.geometry?this.driveRealtime.codec.decode(mxUtils.parseXml(a.geometry).documentElement):null;b.visible="0"!=a.visible;b.collapsed="1"==a.collapsed;for(var c=0;c<a.children.length;c++){var d=
- a.children.get(c);this.createCell(d);null==d.cell.parent&&b.insert(d.cell)}this.installRealtimeCellListeners(a)}return b};
- RealtimeMapping.prototype.restoreCell=function(a){var b=!0;null!=a.cell&&(null!=a.source&&(null==a.source.parent?(a.source=null,b=!1):(null==a.source.cell&&this.createCell(a.source),a.source.cell.insertEdge(a.cell,!0))),b&&null!=a.target&&(null==a.target.parent?(a.target=null,b=!1):(null==a.target.cell&&this.createCell(a.target),a.target.cell.insertEdge(a.cell,!1))),b&&this.graphModel.isEdge(a.cell)&&(b=this.graphModel.getGeometry(a.cell),b=null!=b&&(null!=this.graphModel.getTerminal(a.cell,!0)||
- null!=b.getTerminalPoint(!0))&&(null!=this.graphModel.getTerminal(a.cell,!1)||null!=b.getTerminalPoint(!1))));if(b)for(b=0;b<a.children.length;b++)this.restoreCell(a.children.get(b));else null!=a.parent&&(a.parent.children.removeValue(a),a.parent=null),null!=a.cell&&this.getGraphModel().remove(a.cell)};RealtimeMapping.prototype.containsRealtimeCell=function(a){for(;null!=a.parent;)a=a.parent;return a==this.diagramMap.get(this.driveRealtime.rootKey)};
- RealtimeMapping.prototype.beginUpdate=function(){var a=this.getGraphModel();this.driveRealtime.ignoreChange||(this.driveRealtime.ignoreChange=!0,a.beginUpdate(),window.setTimeout(mxUtils.bind(this,function(){a.endUpdate();this.driveRealtime.ignoreChange=!1}),0));return a};RealtimeMapping.prototype.installAllRealtimeCellListeners=function(a){if(null!=a){this.installRealtimeCellListeners(a);for(var b=0;b<a.children.length;b++)this.installAllRealtimeCellListeners(a.children.get(b))}};
- RealtimeMapping.prototype.installRealtimeCellListeners=function(a){a.addEventListener(gapi.drive.realtime.EventType.VALUE_CHANGED,mxUtils.bind(this,function(b){this.handleValueChanged(a,b);this.needsUpdate=!0}));a.children.addEventListener(gapi.drive.realtime.EventType.VALUES_ADDED,mxUtils.bind(this,function(b){this.handleValuesAdded(a,b);this.needsUpdate=!0}));a.children.addEventListener(gapi.drive.realtime.EventType.VALUES_REMOVED,mxUtils.bind(this,function(b){this.handleValuesRemoved(a,b);this.needsUpdate=
- !0}))};
- RealtimeMapping.prototype.handleValueChanged=function(a,b){var c=a.cell;if(!this.driveRealtime.isLocalEvent(b)&&null!=c){var d=b.newValue,f=b.property,g=this.beginUpdate();"type"==f?(c.vertex="vertex"==d,c.edge="edge"==d):"connectable"==f?c.connectable="1"==d:"source"==f||"target"==f?null==d?null!=b.oldValue&&g.setTerminal(c,null,"source"==f):null!=d.cell&&this.containsRealtimeCell(d)&&null!=g.getCell(d.cellId)?g.setTerminal(c,d.cell,"source"==f):(null!=a.parent&&(a.parent.children.removeValue(a),a.parent=
- null),g.setTerminal(c,null,"source"==f),g.remove(a.cell),a[f]=null):"value"==f?g.setValue(c,d):"xmlValue"==f?g.setValue(c,mxUtils.parseXml(d).documentElement):"style"==f?g.setStyle(c,d):"geometry"==f?(d=null!=d?this.driveRealtime.codec.decode(mxUtils.parseXml(d).documentElement):null,g.setGeometry(c,d)):"collapsed"==f?g.setCollapsed(c,"1"==d):"visible"==f?g.setVisible(c,"1"==d):"parent"==f&&(null!=b.oldValue?b.oldValue.children.removeValue(a):(this.createCell(a),this.restoreCell(a)),null==d?g.remove(c):
- (c=d.children.indexOf(a),0<=c&&g.add(d.cell,a.cell,c)))}};
- RealtimeMapping.prototype.handleValuesAdded=function(a,b){if(!this.driveRealtime.isLocalEvent(b))for(var c=this.beginUpdate(),d=0;d<b.values.length;d++){var f=b.values[d];if(null!=f.parent)if(f.parent!=a)a.children.removeValue(f);else{if(null==f.cell||null==f.cell.parent)this.createCell(f),this.restoreCell(f);for(var g=a.children.indexOf(f),l=a.children.lastIndexOf(f);g!=l;)a.children.remove(l),l=a.children.lastIndexOf(f);f.parent==a&&c.add(a.cell,f.cell,Math.min(g,b.index+d))}}};
- RealtimeMapping.prototype.handleValuesRemoved=function(a,b){if(!this.driveRealtime.isLocalEvent(b))for(var c=this.beginUpdate(),d=0;d<b.values.length;d++){var f=b.values[d];if(null!=f.cell)if(null!=f.parent&&f.parent!=a&&f.cell.parent!=f.parent.cell){var g=f.parent.children.indexOf(f);c.add(f.parent.cell,f.cell,g)}else g=a.children.indexOf(f),0<=g&&c.add(a.cell,f.cell,g)}};
- RealtimeMapping.prototype.realtimePageFormatChanged=function(a,b){if(null!=a){var c=a.split(",");1<c.length&&(this.isActive()?b?this.graph.pageFormat=new mxRectangle(0,0,parseInt(c[0]),parseInt(c[1])):(this.driveRealtime.ignorePageFormatChanged=!0,this.ui.setPageFormat(new mxRectangle(0,0,parseInt(c[0]),parseInt(c[1]))),this.driveRealtime.ignorePageFormatChanged=!1):null!=this.page.viewState&&(this.page.viewState.pageFormat=new mxRectangle(0,0,parseInt(c[0]),parseInt(c[1]))))}};
- RealtimeMapping.prototype.realtimePageScaleChanged=function(a,b){null!=a&&(this.isActive()?b?this.graph.pageScale=parseFloat(a):(this.driveRealtime.ignorePageScaleChanged=!0,this.ui.setPageScale(parseFloat(a)),this.driveRealtime.ignorePageScaleChanged=!1):null!=this.page.viewState&&(this.page.viewState.pageScale=parseFloat(a)))};
- RealtimeMapping.prototype.realtimeBackgroundColorChanged=function(a,b){this.isActive()?b?this.graph.background=""==a?null:a:(this.driveRealtime.ignoreBackgroundColorChanged=!0,this.ui.setBackgroundColor(""==a?null:a),this.driveRealtime.ignoreBackgroundColorChanged=!1):null!=this.page.viewState&&(this.page.viewState.background=""==a?null:a)};
- RealtimeMapping.prototype.realtimeFoldingEnabledChanged=function(a,b){this.isActive()?b?this.graph.foldingEnabled="1"==a:(this.driveRealtime.ignoreFoldingEnabledChanged=!0,this.ui.setFoldingEnabled("1"==a),this.driveRealtime.ignoreFoldingEnabledChanged=!1):null!=this.page.viewState&&(this.page.viewState.foldingEnabled="1"==a)};
- RealtimeMapping.prototype.realtimePageVisibleChanged=function(a,b){this.isActive()?b?(this.graph.pageVisible="0"!=a,this.graph.pageBreaksVisible=this.graph.pageVisible,this.graph.preferPageSize=this.graph.pageVisible):(this.driveRealtime.ignorePageVisibleChanged=!0,this.ui.setPageVisible("0"!=a),this.driveRealtime.ignorePageVisibleChanged=!1):null!=this.page.viewState&&(this.page.viewState.pageVisible="0"!=a)};
- RealtimeMapping.prototype.realtimeShadowVisibleChanged=function(a,b){this.isActive()?(this.driveRealtime.ignoreShadowVisibleChanged=!0,this.ui.editor.graph.setShadowVisible("1"==a),this.driveRealtime.ignoreShadowVisibleChanged=!1):null!=this.page.viewState&&(this.page.viewState.shadowVisible="1"==a)};
- RealtimeMapping.prototype.realtimeBackgroundImageChanged=function(a,b){var c=null!=a&&0<a.length?JSON.parse(a):null;this.isActive()?b?this.graph.setBackgroundImage(null!=c?new mxImage(c.src,c.width,c.height):null):(this.driveRealtime.ignoreBackgroundImageChanged=!0,this.ui.setBackgroundImage(null!=c?new mxImage(c.src,c.width,c.height):null),this.driveRealtime.ignoreBackgroundImageChanged=!1):null!=this.page.viewState&&(this.page.viewState.backgroundImage=null!=c?new mxImage(c.src,c.width,c.height):
- null)};RealtimeMapping.prototype.realtimeMathEnabledChanged=function(a,b){this.isActive()?b?this.graph.mathEnabled="1"==urlParams.math||"1"==a:(this.driveRealtime.ignoreMathEnabledChanged=!0,this.ui.setMathEnabled("1"==urlParams.math||"1"==a),this.driveRealtime.ignoreMathEnabledChanged=!1):null!=this.page.viewState&&(this.page.viewState.mathEnabled="1"==urlParams.math||"1"==a)};
- RealtimeMapping.prototype.removeAllRealtimeCellListeners=function(a){if(null!=a){a.removeAllEventListeners();a.children.removeAllEventListeners();for(var b=0;b<a.children.length;b++)this.removeAllRealtimeCellListeners(a.children.get(b))}};RealtimeMapping.prototype.destroy=function(){this.diagramMap.removeAllEventListeners();this.selectionMap.removeAllEventListeners();this.removeAllRealtimeCellListeners(this.diagramMap.get(this.driveRealtime.rootKey))};DriveFile=function(a,b,c,d){DrawioFile.call(this,a,b);this.desc=c;null!=d&&null!=d.getModel()&&null!=d.getModel().getRoot()&&(this.realtime=new DriveRealtime(this,d))};mxUtils.extend(DriveFile,DrawioFile);DriveFile.prototype.isRestricted=function(){return null!=this.desc.userPermission&&null!=this.desc.labels&&"reader"==this.desc.userPermission.role&&this.desc.labels.restricted};DriveFile.prototype.saveDelay=0;DriveFile.prototype.getMode=function(){return App.MODE_GOOGLE};
- DriveFile.prototype.getPublicUrl=function(a){gapi.client.drive.permissions.list({fileId:this.desc.id}).execute(mxUtils.bind(this,function(b){if(null!=b&&null!=b.items)for(var c=0;c<b.items.length;c++)if("anyoneWithLink"===b.items[c].id||"anyone"===b.items[c].id){a(this.desc.webContentLink);return}a(null)}))};DriveFile.prototype.isAutosaveOptional=function(){return!0};DriveFile.prototype.isAutosave=function(){return this.ui.editor.autosave||this.isAutosaveRevision()};
- DriveFile.prototype.isAutosaveNow=function(){if(null!=this.realtime&&null!=this.realtime.root){var a=parseInt(this.realtime.root.get("backupDate")),b=parseInt(this.realtime.root.get("modifiedDate"));return isNaN(a)||isNaN(b)||a<b}return!0};DriveFile.prototype.autosaveCompleted=function(){null!=this.realtime&&null!=this.realtime.root&&this.realtime.root.set("backupDate",(new Date).getTime())};
- DriveFile.prototype.isRenamable=function(){return this.isEditable()&&DrawioFile.prototype.isEditable.apply(this,arguments)};DriveFile.prototype.isMovable=function(){return this.isEditable()};DriveFile.prototype.save=function(a,b,c,d){DrawioFile.prototype.save.apply(this,arguments);this.saveFile(null,a,b,c,d)};
- DriveFile.prototype.saveFile=function(a,b,c,d,f){if(!this.isEditable())null!=c&&c();else if(!this.savingFile){this.savingFile=!0;var g=this.isModified,l=this.isModified();this.setModified(!1);this.ui.drive.saveFile(this,b,mxUtils.bind(this,function(a){this.savingFile=!1;this.isModified=g;0!=a?(b&&(this.lastAutosaveRevision=(new Date).getTime()),this.desc=a,this.contentChanged(),null!=c&&c(a)):(this.setModified(l||this.isModified()),null!=d&&d())}),mxUtils.bind(this,function(a){this.savingFile=!1;
- this.isModified=g;this.setModified(l||this.isModified());null!=d&&d(a)}),f,f)}};DriveFile.prototype.saveAs=function(a,b,c){this.ui.drive.copyFile(this.getId(),a,b,c)};DriveFile.prototype.rename=function(a,b,c){this.ui.drive.renameFile(this.getId(),a,mxUtils.bind(this,function(d){this.hasSameExtension(a,this.getTitle())?(this.desc=d,this.descriptorChanged(),null!=b&&b(d)):(this.desc=d,this.save(!0,b,c))}),c)};
- DriveFile.prototype.move=function(a,b,c){this.ui.drive.moveFile(this.getId(),a,mxUtils.bind(this,function(a){this.desc=a;this.descriptorChanged();null!=b&&b(a)}),c)};DriveFile.prototype.getTitle=function(){return this.desc.title};DriveFile.prototype.getHash=function(){return"G"+this.getId()};DriveFile.prototype.getId=function(){return this.desc.id};
- DriveFile.prototype.isEditable=function(){var a=DrawioFile.prototype.isEditable.apply(this,arguments);return null!=this.realtime?a&&!this.realtime.rtModel.isReadOnly:a&&this.desc.editable};DriveFile.prototype.open=function(){null!=this.realtime?this.realtime.start():DrawioFile.prototype.open.apply(this,arguments)};DriveFile.prototype.close=function(a){a=null!=a?a:!1;DrawioFile.prototype.close.apply(this,arguments);null!=this.realtime&&(this.realtime.destroy(a),this.realtime=null)};DriveLibrary=function(a,b,c){DriveFile.call(this,a,b);this.desc=c};mxUtils.extend(DriveLibrary,DriveFile);DriveLibrary.prototype.isAutosave=function(){return!0};DriveLibrary.prototype.save=function(a,b,c){this.ui.drive.saveFile(this,a,mxUtils.bind(this,function(a){this.desc=a;null!=b&&b(a)}),c)};DriveLibrary.prototype.open=function(){};DriveClient=function(a){mxEventSource.call(this);this.ui=a;this.ui.editor.chromeless&&"1"!=urlParams.rt?(this.appId="850530949725",this.clientId="850530949725.apps.googleusercontent.com",this.scopes=["https://www.googleapis.com/auth/drive.readonly","openid"],this.mimeType="all_types_supported"):this.ui.isDriveDomain()?(this.appId="671128082532",this.clientId="671128082532.apps.googleusercontent.com",this.mimeType="application/vnd.jgraph.mxfile.realtime"):(this.appId="420247213240",this.clientId="420247213240-hnbju1pt13seqrc1hhd5htpotk4g9q7u.apps.googleusercontent.com",
- this.mimeType="application/vnd.jgraph.mxfile.rtlegacy");this.mimeTypes="application/mxe,application/vnd.jgraph.mxfile,application/mxr,application/vnd.jgraph.mxfile.realtime,application/vnd.jgraph.mxfile.rtlegacy"};mxUtils.extend(DriveClient,mxEventSource);
- DriveClient.prototype.scopes="1"==urlParams.photos?["https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.install","https://www.googleapis.com/auth/photos","https://www.googleapis.com/auth/photos.upload","https://www.googleapis.com/auth/userinfo.profile"]:["https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.install","https://www.googleapis.com/auth/userinfo.profile"];DriveClient.prototype.enableThumbnails=!0;
- DriveClient.prototype.thumbnailWidth=1E3;DriveClient.prototype.maxThumbnailSize=2E6;
- DriveClient.prototype.placeholderThumbnail="iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAACN1BMVEXwhwXvhgX4iwXzhwXgbQzvhgXhbAzocgzqcwzldAoAAADhbgvjcQnmdgrlbgDwhgXsfwXufgjwhgXwgQfziAXxgADibgz4iwX4jAX3iwTpcwr1igXoewjsfgj3igX4iwXqcQv4jAX3iwXtfQnndQrvhAbibArwhwXgbQz//////v39jwX6jQX+/v7fagHfawzdVQDwhADgbhPgbhXwhwPocQ3uvKvwiA/faQDscgzxiAT97+XgciTgcSP6jAXgbQ3gcCHwiRfpcQzwhwfeXQD77ef74NLvhgTvegD66uPgbAf66+TvfADwjCzgcCfwiSD67ObhcjjwiBHhczvwiyrgbxj///777ujgcSHgcB/xiRzgbhveWgDeVwDhdEDgbRDqfgffYgDfXwD97+bvfQDxiz7//vvwiRr118rrcgztggbfZgDfZAD++PT98+3gbBPsgAb99vD33tPgcB7icAvuhAX//Pn66N/00sTyy7vuuqbjekLwhwzkcgr88er449n++vfutp/kh1vgcBvhbwvmdwnwgwDwgADeWQD87eLxxrTssJjqpIf0roHmjWTkhFP759n63czvvanomnjnlHDhczD22cr4y6/wwa/3xKX2wJ3rqpH0tY7qp4vpnoDymlbjf0vxjjntcwzldAroegj/kgX12s7518PzqnnnkWfynmLieUjpewjrdAD40Lj1uZTzpm3idTbiciLydQzzfwnyiQTsfgD3xqnzp3TxlkzgbCrdTwDdSwBLKUlNAAAAJ3RSTlP8/b2X/YH8wb+FAIuIggJbQin5opAM9+a/ubaubyD78NjSyr2WgRp4sjN4AAAI70lEQVR42u2cZ38SQRDGT8WGvfde4E4BxVMRRaKiUURRlJhQRDCCSgQVO/bee++9994+nMt5ywoezFJd/fm8uITi3p9n5mbYkcCpO6rVnVu2YEXd+3dRIySuo7pLv4GjGNKg7j3UHTl1l14PajmG9OFBnx7Ird4PumpYEtf1QXc112l0M7OGKXEfeg3guo3iNIyJG92Jaz61mYYxcaNacs1H/8f6j6X5j1WI/mMVIsawRFEzI49SjwOqAJa43emclk8Rp2c7AFZ+LDGyvXE2kmO2Q1Lq17RSd6ND48QIwFVuLNHTOPbEpTOz8ujMpccHGz0AV5mxIo4TpwUeUPj0YwfAVVYs0Tn7VZjnBUA8v+n6CyfERY8FR/DEJj7MQ6oL85vOvfDUAsuVC8s19s5yXuAppOPnvPk4EeSCsehCeBVTwVzHfE6RcFUQa4an8Qw91kpbw2oz4aoc1sSxniO0WAI/J24wriabmEpizZtM79bc+fr4/tUarEpiLabGElJYRsOGjbJfjGDpJCxtmosRLOEnVpqLESzZLYlLg65H1rAkLo2GESwcROwXI1jELcS1Y6OGQSzEVaupZQJLDiLhYtCtFBcbbslYhOueqKllDwtzwVhTq4RFuBh0C3EdEBl0C3OBWNUrEISLvSD+5GLQLYmLoSqfwcUiFuaqzhYDxiJc981lxqqdVsCGbHPcQLBgrtK3rwLt9tWqhblKxxI9hW3267U5ZHhuBrCKzXl4NIJTS5FrmbmMWGIEDZIouOp0/O6boYQ2jxBXWcdu13fzRILuF/2Ku+aGr96uBbhALHo5Z38+XcfXyVRZVx/+Ed513ldDCCCu0rFE0Xlo2mu5TAj8ki0XV0q6ePHilhi+d/15b9ACQGGusg3AFzc+XSMBCPzu89+CNlnB7zfD8t1z4iaLXUvDVT6sGdMOnv5pi47f6r9Qk9YF3xZ0l8S11UfMArlgLMpZM6bamYy6rWnta9q7TrZrzZPgPgoqg3atubY8WK6D8lQXHfb4p/wSK7vFfxmxSsAPQ96AlZ4LxoLNeompdkUDGQVznL5mLr4ar5ESD3PBWHA9fbpbjlT4pq1Bm6H6w9dwfOd69ePouNDYt3S3ULPGZ96S3YqtAW/Tepz1E8bgAANc+xEXhAX36ut1cslcd6rJq81SIvgEe7lmL3kY5iqxVYvOI9isswp22KeMOcrriJlWai5giwHl+yec73Ma9Mbfz+qOJndKz6hLpR5V1uPxavFuTTt0K1XfpbNeO0wKeUaR2IPBN5sMRlqu1eY8bsFmPeIFUpi0CjIGTLvSZY2EGeYSi3VL9Dgeb0I+SQl9MlcZT4TObZKzfmfS5NZSx1GsLQ5r+8Sxp7ERR/1TtDlUn2qNuGXCrZGM5URlLDiEVzDVkje5fdjXdDsm27XpXChBz4XG0UpYcDOMYaxjGc3wtyJxFtu1PohaI71f2K2imqEONcN4nrMZ9TWbMf81wg9z3VNwC26Gr3enY4ObobLqbccFefuz5AKONpVfzQp2y3NoVvrN32GLNl9orA22lTiM+Nqg5CJY1DueOjkwsdtNgAP7gidR2SWVhFqt3o9QwoKHIuiwDcwX+xT/UWztSlvCaqXGmtQBY1GadQmfh6anuE0XlkhhRFs3tGGkd+tuIVhiJN0M+brj0mlAu46lX0bcbizVLbgZrgwl4JhYA+NQa9TJQUetsSJYHscJvAVct7eJKoUbQudxPYmdirqzsYsIojhjoitD01yadH287J+vpZF1/uGt2K4ttinjshQo2C2XMzI2U64X6WY4tyZq99a7wZS3eA3BpNyrUPn1x00Z0uM1ACzilOfg7EN3VmRo8dN16WYYerYw6G9qCOSDCjQ0jQkufRbalt65LVyapaA/2mClxhK3Rxy3rsyavDxDR/DL5sMLFiyYu/7sXps7z8VldPv2Xl6PnjlTwOOuJQuytH7CXpvXCOQWoZrYeHWd4nw2Q+v22OLGnFSG0Nk1PCi0xjgjpVvTGi8hht9F+ARBGq8dtXmtOSLoDm1FhUSHnihkTecESalHkPAaWVhtFbA8jqvQGBmbt8fWkKtNn0Xw9GvAWK6DX9bBVHjzqtyvvcG9a+jXyC5oKoKV/a4YFG7Yij2ofszlgtaA3ZoRwW+pIOH3w0qZFURNh3oNtKsDsAr9LNvMC0pj93H6hTPpX9ocg8FIgTVvcgFYC03jFLBMi6ix0MDAoi8/lh7Cgt2q0VfNrSX0ayhjTa2IW0tKdotNrMq4NbPkILKZW+xdiSoGgshogfh7Ul7FcIEoFevfrPLC3+XWf6y/CEvHZoFQqlts9sQigqjLxFpQCJauakFcsqhKPXH79rGb6bE2B5Qmu0b91zn0WJtN8Wys9tgtIqfjEf2SWw7XKI8gHuKQ0X0eDsQSI44TaGBN6dYN5dlI/eFj9I7f8GWtoUJYOIgkiq6Ds/gw5T7dZDUqTrfscbLbB9eIB7JmEKsUgiii/4uO8ToBfJlhfif5tEGWEsGTMT4Mr6HDa0BBlP5Y88lcnkdkCtLhnyjMM0+Gcn2WzW6xnd/J8zn+LZq4SUeEvUBaA8LCs6Tk1p1AetXt3JoMWexWZSyr3RK6vSUGrRHbmkRUVgCLpP1HW/L4tgl5tO140mdKKFFhrkTUdxta4xleA8DCXC6n/vCYvPJFa9zAWL4m6qNaA8IiqjW73lreWnJrSj0AJYFZpvwq6RZRzjVUGEtB5tX7DdoqCXaL+PXHuEjdYsuvVqva4Sqv6NdabdW4YLeIKsoFYzHGhYPIGBd2izGuVpPaSVgAV7VEsOQgsuUXdosxLuwWxLVMW0WRK5ExLiiIpN4vq2YYVTiIbPmFgii5xRiXimCBqmIcVSS3WMqvdMqz5VcKqzdKeca4UrnVT/ryR6bi2Opuf64TwYJlfl4FLqu2Zxeux5BRXZnisvZ8103NqTtzoziuGa24+wZVRdVK9W7wyNSX1nYeOmrU6JSmjp6KhH5BR+kGvk++Ld0c/X66rPH4SEQeGl+kpq8a33eAumPqK347durWpzm9hrWhUevi1Hd4ZzVC+gGMHY0TYnDOYwAAAABJRU5ErkJggg==".replace(/\+/g,"-").replace(/\//g,
- "_");DriveClient.prototype.placeholderMimeType="image/png";DriveClient.prototype.libraryMimeType="application/vnd.jgraph.mxlibrary";DriveClient.prototype.newAppHostname="www.draw.io";DriveClient.prototype.oldAppHostname="legacy.draw.io";DriveClient.prototype.extension=".html";DriveClient.prototype.tokenRefreshInterval=0;DriveClient.prototype.lastTokenRefresh=0;DriveClient.prototype.maxRetries=4;DriveClient.prototype.mimeTypeCheckCoolOff=6E4;DriveClient.prototype.user=null;
- DriveClient.prototype.setUser=function(a){this.user=a;null==this.user&&null!=this.tokenRefreshThread&&(window.clearTimeout(this.tokenRefreshThread),this.tokenRefreshThread=null);this.fireEvent(new mxEventObject("userChanged"))};DriveClient.prototype.getUser=function(){return this.user};
- DriveClient.prototype.setUserId=function(a,b){if(b)if(isLocalStorage)localStorage.setItem(".guid",a);else if("undefined"!=typeof Storage)try{var c=new Date;c.setYear(c.getFullYear()+1);document.cookie="GUID="+a+"; expires="+c.toUTCString()}catch(d){}};DriveClient.prototype.clearUserId=function(){if(isLocalStorage)localStorage.removeItem(".guid");else if("undefined"!=typeof Storage){var a=new Date;a.setYear(a.getFullYear()-1);document.cookie="GUID=; expires="+a.toUTCString()}};
- DriveClient.prototype.getUserId=function(){var a=null;null!=this.user&&(a=this.user.id);null==a&&isLocalStorage&&(a=localStorage.getItem(".guid"));if(null==a&&"undefined"!=typeof Storage){for(var b=document.cookie.split(";"),c=0;c<b.length;c++){var d=mxUtils.trim(b[c]);if("GUID="==d.substring(0,5)){a=d.substring(5);break}}null!=a&&isLocalStorage&&(b=new Date,b.setYear(b.getFullYear()-1),document.cookie="GUID=; expires="+b.toUTCString(),localStorage.setItem(".guid",a))}return a};
- DriveClient.prototype.execute=function(a){var b=mxUtils.bind(this,function(b){this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(b,c){this.authorize(!1,function(){null!=c&&c();a()},mxUtils.bind(this,function(a){var b=mxResources.get("cannotLogin");null!=a&&null!=a.error&&403==a.error.code&&null!=a.error.data&&0<a.error.data.length&&"domainPolicy"==a.error.data[0].reason&&(b=a.error.message);this.ui.drive.clearUserId();this.ui.drive.setUser(null);gapi.auth.signOut();this.ui.showError(mxResources.get("error"),
- b,mxResources.get("ok"))}),b)}))});this.authorize(!0,a,b)};
- DriveClient.prototype.executeRequest=function(a,b,c){var d=!0,f=null,g=0;null!=this.requestThread&&window.clearTimeout(this.requestThread);var l=mxUtils.bind(this,function(){this.requestThread=null;this.currentRequest=a;null!=f&&window.clearTimeout(f);f=window.setTimeout(mxUtils.bind(this,function(){d=!1;null!=c&&c({code:App.ERROR_TIMEOUT,retry:l})}),this.ui.timeout);a.execute(mxUtils.bind(this,function(e){window.clearTimeout(f);d&&(null!=e&&null==e.error?null!=b&&b(e):null!=c&&null!=e&&null!=e.error&&
- 403==e.error.code&&("The requested mime type change is forbidden."==e.error.message||null!=e.error.data&&"domainPolicy"==e.error.data[0].reason)?c(e):null==e||null==e.error||401!=e.error.code&&403!=e.error.code?null!=e&&null!=e.error&&404!=e.error.code&&this.currentRequest==a&&g<this.maxRetries?(g++,this.requestThread=window.setTimeout(l,Math.round(Math.pow(2,g)*(1+.1*(Math.random()-.5))*1E3))):null!=c&&c(e):403==e.error.code&&null!=this.user?null!=c&&c(e):this.execute(l))}))});null==gapi.auth.getToken()?
- this.execute(l):l()};DriveClient.prototype.authorize=function(a,b,c,d){var f=this.getUserId();null!=this.ui.stateArg&&null!=this.ui.stateArg.userId&&(f=this.ui.stateArg.userId);if(a&&null==f)null!=c&&c();else{var g={scope:this.scopes,client_id:this.clientId};a&&null!=f?(g.immediate=!0,g.user_id=f):(g.immediate=!1,g.authuser=-1);gapi.auth.authorize(g,mxUtils.bind(this,function(g){null!=g&&null==g.error?null!=this.user&&a&&this.user.id==f?null!=b&&b():this.updateUser(b,c,d):null!=c&&c(g);this.resetTokenRefresh(g)}))}};
- DriveClient.prototype.resetTokenRefresh=function(a){null!=this.tokenRefreshThread&&(window.clearTimeout(this.tokenRefreshThread),this.tokenRefreshThread=null);null!=a&&null==a.error&&0<a.expires_in&&(this.tokenRefreshInterval=1E3*parseInt(a.expires_in),this.lastTokenRefresh=(new Date).getTime(),this.tokenRefreshThread=window.setTimeout(mxUtils.bind(this,function(){this.authorize(!0,mxUtils.bind(this,function(){}),mxUtils.bind(this,function(){}))}),900*a.expires_in))};
- DriveClient.prototype.checkToken=function(a){var b=0<this.lastTokenRefresh;(new Date).getTime()-this.lastTokenRefresh>this.tokenRefreshInterval||null==this.tokenRefreshThread?this.execute(mxUtils.bind(this,function(){a();b&&this.fireEvent(new mxEventObject("disconnected"))})):a()};
- DriveClient.prototype.updateUser=function(a,b,c){var d=gapi.auth.getToken().access_token;this.ui.loadUrl("https://www.googleapis.com/oauth2/v2/userinfo?alt=json&access_token="+d,mxUtils.bind(this,function(d){var f=JSON.parse(d);this.executeRequest(gapi.client.drive.about.get(),mxUtils.bind(this,function(b){this.setUser(new DrawioUser(f.id,b.user.emailAddress,b.user.displayName,null!=b.user.picture?b.user.picture.url:null,f.locale));this.setUserId(f.id,c);null!=a&&a()}),b)}),b)};
- DriveClient.prototype.copyFile=function(a,b,c,d){null!=a&&null!=b&&this.executeRequest(gapi.client.drive.files.copy({fileId:a,resource:{title:b},supportsTeamDrives:!0}),c,d)};DriveClient.prototype.renameFile=function(a,b,c,d){null!=a&&null!=b&&this.executeRequest(this.createDriveRequest(a,{title:b}),c,d)};DriveClient.prototype.moveFile=function(a,b,c,d){null!=a&&null!=b&&this.executeRequest(this.createDriveRequest(a,{parents:[{kind:"drive#fileLink",id:b}]}),c,d)};
- DriveClient.prototype.createDriveRequest=function(a,b){return gapi.client.request({path:"/drive/v2/files/"+a,method:"PUT",params:{uploadType:"multipart",supportsTeamDrives:!0},headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(b)})};DriveClient.prototype.getLibrary=function(a,b,c){return this.getFile(a,b,c,!0,!0)};
- DriveClient.prototype.getFile=function(a,b,c,d,f){d=null!=d?d:!1;f=null!=f?f:!1;null!=urlParams.rev?this.executeRequest(gapi.client.drive.revisions.get({fileId:a,revisionId:urlParams.rev}),mxUtils.bind(this,function(a){this.getXmlFile(a,null,b,c)}),c):this.executeRequest(gapi.client.drive.files.get({fileId:a,supportsTeamDrives:!0}),mxUtils.bind(this,function(a){if(null!=this.user)if(/\.vsdx$/i.test(a.title)||/\.gliffy$/i.test(a.title)||/\.png$/i.test(a.title)){var g=a.downloadUrl+"&access_token="+
- gapi.auth.getToken().access_token;this.ui.convertFile(g,a.title,a.mimeType,this.extension,b,c)}else d||f||a.mimeType==this.libraryMimeType?this.getXmlFile(a,null,b,c,!0,f):this.loadRealtime(a,mxUtils.bind(this,function(d){try{null==d||null==d.getModel()||null==d.getModel().getRoot()||d.getModel().getRoot().isEmpty()||d.getModel().getRoot().has("cells")&&!d.getModel().getRoot().has(DriveRealtime.prototype.diagramsKey)?this.getXmlFile(a,d,b,c):b(new DriveFile(this.ui,null,a,d))}catch(h){c(h)}}),c);
- else c({message:mxResources.get("loggedOut")})}),c)};
- DriveClient.prototype.loadRealtime=function(a,b,c){if("1"==urlParams.ignoremime||"420247213240"!=this.appId||"application/vnd.jgraph.mxfile.realtime"!=a.mimeType&&"application/mxr"!=a.mimeType)if("850530949725"!=this.appId&&(a.editable||"application/mxe"!=a.mimeType&&"application/vnd.jgraph.mxfile"!=a.mimeType)){var d=mxUtils.bind(this,function(){var f=!0,g=window.setTimeout(mxUtils.bind(this,function(){f=!1;c({code:App.ERROR_TIMEOUT,retry:d})}),this.ui.timeout);gapi.drive.realtime.load(a.id,mxUtils.bind(this,
- function(a){window.clearTimeout(g);f&&b(a)}))});d()}else b();else this.redirectToNewApp(c,a.id)};
- DriveClient.prototype.getXmlFile=function(a,b,c,d,f,g){var l=gapi.auth.getToken().access_token;this.ui.loadUrl(a.downloadUrl+"&access_token="+l,mxUtils.bind(this,function(e){if(null==e)d({message:mxResources.get("invalidOrMissingFile")});else if(a.mimeType==this.libraryMimeType||g)a.mimeType!=this.libraryMimeType||g?c(new DriveLibrary(this.ui,e,a)):d({message:mxResources.get("notADiagramFile")});else{var h=new DriveFile(this.ui,e,a,b);!f&&"850530949725"!=this.appId&&h.isEditable()&&a.mimeType!=this.mimeType?
- this.saveFile(h,!0,mxUtils.bind(this,function(a){h.desc=a;c(h)}),d,!0):c(h)}}),d,"image/"==a.mimeType.substring(0,6)&&"image/svg"!=a.mimeType.substring(0,9)||/\.png$/i.test(a.title)||/\.jpe?g$/i.test(a.title))};
- DriveClient.prototype.saveFile=function(a,b,c,d,f,g){if(a.isEditable()){var l=(new Date).getTime();f=null!=f?f:!this.ui.isLegacyDriveDomain()||"1"==urlParams.ignoremime;g=null!=g?g:!1;var e=mxUtils.bind(this,function(e,f,h){var k={mimeType:a.constructor==DriveLibrary?this.libraryMimeType:this.mimeType,title:a.getTitle()};h||(null!=e||g||(e=this.placeholderThumbnail,f=this.placeholderMimeType),null!=e&&null!=f&&(k.thumbnail={image:e,mimeType:f}));this.executeRequest(this.createUploadRequest(a.getId(),
- k,a.getData(),b||a.desc.mimeType!=this.mimeType&&a.desc.mimeType!=this.libraryMimeType),function(){a.saveDelay=(new Date).getTime()-l;c.apply(this,arguments)},d)}),h=mxUtils.bind(this,function(){!g&&a.constructor!=DriveLibrary&&this.enableThumbnails&&"0"!=urlParams.thumb&&this.ui.getThumbnail(this.thumbnailWidth,mxUtils.bind(this,function(a){var b=null;if(null!=a)try{b=a.toDataURL("image/png")}catch(n){}b=null==b||b.length>this.maxThumbnailSize?null:b.substring(b.indexOf(",")+1).replace(/\+/g,"-").replace(/\//g,
- "_");e(b,"image/png")}))||e(null,null,a.constructor!=DriveLibrary)});f||!b?h():this.verifyMimeType(a.getId(),h,!0)}else this.ui.editor.graph.reset(),null!=d&&d({message:mxResources.get("readOnly")})};
- DriveClient.prototype.verifyMimeType=function(a,b,c,d){null==this.lastMimeCheck&&(this.lastMimeCheck=0);var f=(new Date).getTime();if(c||f-this.lastMimeCheck>this.mimeTypeCheckCoolOff)this.lastMimeCheck=f,this.checkingMimeType||(this.checkingMimeType=!0,this.executeRequest(gapi.client.drive.files.get({fileId:a,fields:"mimeType",supportsTeamDrives:!0}),mxUtils.bind(this,function(c){this.checkingMimeType=!1;null!=c&&"application/vnd.jgraph.mxfile.realtime"==c.mimeType?this.redirectToNewApp(d,a):null!=
- b&&b()})))};
- DriveClient.prototype.redirectToNewApp=function(a,b){this.ui.spinner.stop();if(!this.redirectDialogShowing){this.redirectDialogShowing=!0;var c=window.location.protocol+"//"+this.newAppHostname+"/"+this.ui.getSearch("create title mode url drive splash".split(" "))+"#G"+b;null!=a?this.ui.confirm(mxResources.get("redirectToNewApp"),mxUtils.bind(this,function(){this.redirectDialogShowing=!1;window.location.href=c}),mxUtils.bind(this,function(){this.redirectDialogShowing=!1;null!=a&&a()})):this.ui.alert(mxResources.get("redirectToNewApp"),
- mxUtils.bind(this,function(){this.redirectDialogShowing=!1;window.location.href=c}))}};
- DriveClient.prototype.insertFile=function(a,b,c,d,f,g,l,e){g=null!=g?g:this.mimeType;e=null!=e?e:!0;a={mimeType:g,title:a};null!=c&&(a.parents=[{kind:"drive#fileLink",id:c}]);this.executeRequest(this.createUploadRequest(null,a,b,!1,l),mxUtils.bind(this,function(a){g==this.libraryMimeType?d(new DriveLibrary(this.ui,b,a)):0==a?null!=f&&f({message:mxResources.get("errorSavingFile")}):e?this.loadRealtime(a,mxUtils.bind(this,function(c){null!=this.user?(c=new DriveFile(this.ui,b,a,c),c.lastAutosaveRevision=
- (new Date).getTime(),d(c)):null!=f&&f({message:mxResources.get("loggedOut")})}),f):d(a)}),f)};
- DriveClient.prototype.createUploadRequest=function(a,b,c,d,f){f=null!=f?f:!1;a={path:"/upload/drive/v2/files"+(null!=a?"/"+a:""),method:null!=a?"PUT":"POST",params:{uploadType:"multipart"},headers:{"Content-Type":'multipart/mixed; boundary="-------314159265358979323846"'},body:"\r\n---------314159265358979323846\r\nContent-Type: application/json\r\n\r\n"+JSON.stringify(b)+"\r\n---------314159265358979323846\r\nContent-Type: application/octect-stream\r\nContent-Transfer-Encoding: base64\r\n\r\n"+(null!=
- c?f?c:Base64.encode(c):"")+"\r\n---------314159265358979323846--"};d||(a.params.newRevision=!1);a.params.supportsTeamDrives=!0;return gapi.client.request(a)};
- DriveClient.prototype.pickFile=function(a,b){this.filePickerCallback=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("G"+a)});this.filePicked=mxUtils.bind(this,function(a){a.action==google.picker.Action.PICKED&&this.filePickerCallback(a.docs[0].id)});this.ui.spinner.spin(document.body,mxResources.get("authorizing"))&&this.execute(mxUtils.bind(this,function(){this.ui.spinner.stop();var a=gapi.auth.getToken().access_token,d=b?"genericPicker":"filePicker",f=mxUtils.bind(this,function(a){"picker modal-dialog-bg picker-dialog-bg"==
- mxEvent.getSource(a).className&&(mxEvent.removeListener(document,"click",f),this[d].setVisible(!1))});if(null==this[d]||this[d+"Token"]!=a){this[d+"Token"]=a;var a=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0),g=new google.picker.DocsView,l=(new google.picker.DocsUploadView).setIncludeFolders(!0);b?a.setMimeTypes(this.mimeTypes+",image/png,image/jpg,image/svg+xml,application/xml,text/plain,text/html"):(a.setMimeTypes(this.mimeTypes),g.setMimeTypes(this.mimeTypes));
- this[d]=(new google.picker.PickerBuilder).setOAuthToken(this[d+"Token"]).setLocale(mxLanguage).setAppId(this.appId).addView(a).addView(g).addView(google.picker.ViewId.RECENTLY_PICKED).addView(l).setCallback(mxUtils.bind(this,function(a){a.action!=google.picker.Action.PICKED&&a.action!=google.picker.Action.CANCEL||mxEvent.removeListener(document,"click",f);a.action==google.picker.Action.PICKED&&this.filePicked(a)})).build()}mxEvent.addListener(document,"click",f);this[d].setVisible(!0);this.ui.movePickersToTop()}))};
- DriveClient.prototype.pickFolder=function(a){this.folderPickerCallback=a;if(this.ui.spinner.spin(document.body,mxResources.get("authorizing"))){var b=mxUtils.bind(this,function(){this.execute(mxUtils.bind(this,function(){this.ui.spinner.stop();var a=gapi.auth.getToken().access_token,b=mxUtils.bind(this,function(a){"picker modal-dialog-bg picker-dialog-bg"==mxEvent.getSource(a).className&&(mxEvent.removeListener(document,"click",b),this.folderPicker.setVisible(!1))});if(null==this.folderPicker||this.folderPickerToken!=
- a){this.folderPickerToken=a;var a=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0).setSelectFolderEnabled(!0).setMimeTypes("application/vnd.google-apps.folder"),c=(new google.picker.DocsView).setIncludeFolders(!0).setSelectFolderEnabled(!0).setMimeTypes("application/vnd.google-apps.folder");this.folderPicker=(new google.picker.PickerBuilder).setSelectableMimeTypes("application/vnd.google-apps.folder").setOAuthToken(this.folderPickerToken).setLocale(mxLanguage).setAppId(this.appId).addView(a).addView(c).addView(google.picker.ViewId.RECENTLY_PICKED).setTitle(mxResources.get("pickFolder")).setCallback(mxUtils.bind(this,
- function(a){a.action!=google.picker.Action.PICKED&&a.action!=google.picker.Action.CANCEL||mxEvent.removeListener(document,"click",b);this.folderPickerCallback(a)})).build()}mxEvent.addListener(document,"click",b);this.folderPicker.setVisible(!0);this.ui.movePickersToTop()}))}),c=mxUtils.bind(this,function(d){var f={folderId:"root",maxResults:1,q:"trashed=false and mimeType='application/vnd.google-apps.folder'"};null!=d&&(f.pageToken=d);this.executeRequest(gapi.client.drive.children.list(f),mxUtils.bind(this,
- function(d){null==d||null==d.items||0==d.items.length?null!=d&&null!=d.nextPageToken?c(d.nextPageToken):(this.ui.spinner.stop(),a({action:google.picker.Action.PICKED,docs:[{type:"folder",id:"root"}]})):b()}),mxUtils.bind(this,function(a){b()}))});c(null)}};
- DriveClient.prototype.pickLibrary=function(a){this.filePickerCallback=a;this.filePicked=mxUtils.bind(this,function(a){a.action==google.picker.Action.PICKED?this.filePickerCallback(a.docs[0].id):a.action==google.picker.Action.CANCEL&&null==this.ui.getCurrentFile()&&this.ui.showSplash()});this.ui.spinner.spin(document.body,mxResources.get("authorizing"))&&this.execute(mxUtils.bind(this,function(){this.ui.spinner.stop();var a=mxUtils.bind(this,function(b){"picker modal-dialog-bg picker-dialog-bg"==mxEvent.getSource(b).className&&
- (mxEvent.removeListener(document,"click",a),this.libraryPicker.setVisible(!1))}),c=gapi.auth.getToken().access_token;if(null==this.libraryPicker||this.libraryPickerToken!=c){this.libraryPickerToken=c;var c=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0).setMimeTypes(this.libraryMimeType+",application/xml,text/plain,application/octet-stream"),d=(new google.picker.DocsView).setMimeTypes(this.libraryMimeType+",application/xml,text/plain,application/octet-stream"),
- f=(new google.picker.DocsUploadView).setIncludeFolders(!0);this.libraryPicker=(new google.picker.PickerBuilder).setOAuthToken(this.libraryPickerToken).setLocale(mxLanguage).setAppId(this.appId).addView(c).addView(d).addView(google.picker.ViewId.RECENTLY_PICKED).addView(f).setCallback(mxUtils.bind(this,function(b){b.action!=google.picker.Action.PICKED&&b.action!=google.picker.Action.CANCEL||mxEvent.removeListener(document,"click",a);b.action==google.picker.Action.PICKED&&this.filePicked(b)})).build()}mxEvent.addListener(document,
- "click",a);this.libraryPicker.setVisible(!0);this.ui.movePickersToTop()}))};DriveClient.prototype.showPermissions=function(a){this.checkToken(mxUtils.bind(this,function(){var b=new gapi.drive.share.ShareClient(this.appId);b.setOAuthToken(gapi.auth.getToken().access_token);b.setItemIds([a]);b.showSettingsDialog()}))};DropboxFile=function(a,b,c){DrawioFile.call(this,a,b);this.stat=c};mxUtils.extend(DropboxFile,DrawioFile);DropboxFile.prototype.getHash=function(){return"D"+encodeURIComponent(this.stat.path_display.substring(1))};DropboxFile.prototype.getMode=function(){return App.MODE_DROPBOX};DropboxFile.prototype.isAutosaveOptional=function(){return!0};DropboxFile.prototype.getTitle=function(){return this.stat.name};DropboxFile.prototype.isRenamable=function(){return!0};
- DropboxFile.prototype.save=function(a,b,c){this.doSave(this.getTitle(),b,c)};DropboxFile.prototype.saveAs=function(a,b,c){this.doSave(a,b,c)};DropboxFile.prototype.doSave=function(a,b,c){var d=this.stat.name;this.stat.name=a;DrawioFile.prototype.save.apply(this,arguments);this.stat.name=d;this.saveFile(a,!1,b,c)};
- DropboxFile.prototype.saveFile=function(a,b,c,d){this.isEditable()?this.savingFile?null!=d&&d({code:App.ERROR_BUSY}):(b=mxUtils.bind(this,function(b){if(b){this.savingFile=!0;var f=this.isModified,l=this.isModified(),e=mxUtils.bind(this,function(){this.setModified(!1);this.isModified=function(){return l}});e();this.ui.dropbox.saveFile(a,this.getData(),mxUtils.bind(this,function(a){this.savingFile=!1;this.isModified=f;this.stat=a;this.contentChanged();null!=c&&c()}),mxUtils.bind(this,function(a){this.savingFile=
- !1;this.isModified=f;this.setModified(l||this.isModified());if(null!=d){if(null!=a&&null!=a.retry){var b=a.retry;a.retry=function(){e();b()}}d(a)}}))}else null!=d&&d()}),this.getTitle()==a?b(!0):this.ui.dropbox.checkExists(a,b)):null!=c&&c()};
- DropboxFile.prototype.rename=function(a,b,c){this.ui.dropbox.renameFile(this,a,mxUtils.bind(this,function(d){this.hasSameExtension(a,this.getTitle())?(this.stat=d,this.descriptorChanged(),null!=b&&b()):(this.stat=d,this.descriptorChanged(),this.save(!0,b,c))}),c)};DropboxLibrary=function(a,b,c){DropboxFile.call(this,a,b,c)};mxUtils.extend(DropboxLibrary,DropboxFile);DropboxLibrary.prototype.isAutosave=function(){return!0};DropboxLibrary.prototype.doSave=function(a,b,c){this.saveFile(a,!1,b,c)};DropboxLibrary.prototype.open=function(){};DropboxClient=function(a){DrawioClient.call(this,a,"dbauth");this.client=new Dropbox({clientId:App.DROPBOX_APPKEY});this.client.setAccessToken(this.token)};mxUtils.extend(DropboxClient,DrawioClient);DropboxClient.prototype.appPath="/drawio/";DropboxClient.prototype.extension=".html";DropboxClient.prototype.writingFile=!1;DropboxClient.prototype.maxRetries=4;
- DropboxClient.prototype.logout=function(){this.clearPersistentToken();this.setUser(null);this.token=null;this.client.authTokenRevoke().then(mxUtils.bind(this,function(){this.client.setAccessToken(null)}))};
- DropboxClient.prototype.updateUser=function(a,b,c){var d=!0,f=window.setTimeout(mxUtils.bind(this,function(){d=!1;b({code:App.ERROR_TIMEOUT})}),this.ui.timeout),g=this.client.usersGetCurrentAccount();g.then(mxUtils.bind(this,function(b){window.clearTimeout(f);d&&(this.setUser(new DrawioUser(b.account_id,b.email,b.name.display_name)),a())}));g["catch"](mxUtils.bind(this,function(g){window.clearTimeout(f);d&&(null==g||401!==g.status||c?b({message:mxResources.get("accessDenied")}):(this.setUser(null),
- this.client.setAccessToken(null),this.authenticate(mxUtils.bind(this,function(){this.updateUser(a,b,!0)}),b)))}))};
- DropboxClient.prototype.authenticate=function(a,b){if(null==window.onDropboxCallback){var c=mxUtils.bind(this,function(){var d=!0;this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(f,g){null!=window.open(this.client.getAuthenticationUrl("https://"+window.location.host+"/dropbox.html"),"dbauth")?window.onDropboxCallback=mxUtils.bind(this,function(l,e){if(d){window.onDropboxCallback=null;d=!1;try{null==l?b({message:mxResources.get("accessDenied"),retry:c}):(null!=g&&g(),this.client.setAccessToken(l),
- this.setUser(null),f&&this.setPersistentToken(l),a())}catch(h){b(h)}finally{null!=e&&e.close()}}else null!=e&&e.close()}):b({message:mxResources.get("serviceUnavailableOrBlocked"),retry:c})}),mxUtils.bind(this,function(){d&&(window.onDropboxCallback=null,d=!1,b({message:mxResources.get("accessDenied"),retry:c}))}))});c()}else b({code:App.ERROR_BUSY})};
- DropboxClient.prototype.executePromise=function(a,b,c){var d=mxUtils.bind(this,function(g){var l=!0,e=window.setTimeout(mxUtils.bind(this,function(){l=!1;c({code:App.ERROR_TIMEOUT,retry:f})}),this.ui.timeout);a.then(mxUtils.bind(this,function(a){window.clearTimeout(e);l&&null!=b&&b(a)}));a["catch"](mxUtils.bind(this,function(a){window.clearTimeout(e);l&&(null==a||500!=a.status&&400!=a.status&&401!=a.status?c({message:mxResources.get("error")+" "+a.status}):(this.setUser(null),this.client.setAccessToken(null),
- g?c({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){f(!0)},c)})}):this.authenticate(function(){d(!0)},c)))}))}),f=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){f(!0)},c,a):d(a)});null===this.client.getAccessToken()?this.authenticate(function(){f(!0)},c):f(!1)};DropboxClient.prototype.getLibrary=function(a,b,c){this.getFile(a,b,c,!0)};
- DropboxClient.prototype.getFile=function(a,b,c,d){d=null!=d?d:!1;if(/^https:\/\//i.test(a)||/\.vsdx$/i.test(a)||/\.gliffy$/i.test(a)||/\.png$/i.test(a))if(null!=this.token){var f=a.split("/");this.ui.convertFile(a,0<f.length?f[f.length-1]:a,null,this.extension,b,c)}else c({message:mxResources.get("accessDenied")});else a={path:"/"+a},null!=urlParams.rev&&(a.rev=urlParams.rev),this.readFile(a,mxUtils.bind(this,function(a,c){b(d?new DropboxLibrary(this.ui,a,c):new DropboxFile(this.ui,a,c))}),c)};
- DropboxClient.prototype.readFile=function(a,b,c){var d=mxUtils.bind(this,function(g){var l=!0,e=window.setTimeout(mxUtils.bind(this,function(){l=!1;c({code:App.ERROR_TIMEOUT})}),this.ui.timeout),h=this.client.filesGetMetadata({path:"/"+a.path.substring(1),include_deleted:!1});h.then(mxUtils.bind(this,function(a){}));h["catch"](function(a){window.clearTimeout(e);l&&null!=a&&409==a.status&&(l=!1,c({message:mxResources.get("fileNotFound")}))});h=this.client.filesDownload(a);h.then(mxUtils.bind(this,
- function(a){window.clearTimeout(e);if(l){l=!1;try{var d=new FileReader;d.onload=mxUtils.bind(this,function(c){b(d.result,a)});d.readAsText(a.fileBlob)}catch(n){c(n)}}}));h["catch"](mxUtils.bind(this,function(a){window.clearTimeout(e);l&&(l=!1,null==a||500!=a.status&&400!=a.status&&401!=a.status?c({message:mxResources.get("error")+" "+a.status}):(this.client.setAccessToken(null),this.setUser(null),g?c({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){f(!0)},
- c)})}):this.authenticate(function(){d(!0)},c)))}))}),f=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){f(!0)},c,a):d(a)});null===this.client.getAccessToken()?this.authenticate(function(){f(!0)},c):f(!1)};
- DropboxClient.prototype.checkExists=function(a,b,c){var d=this.client.filesGetMetadata({path:"/"+a.toLowerCase(),include_deleted:!1});this.executePromise(d,mxUtils.bind(this,function(d){c?b(!1,!0,d):this.ui.confirm(mxResources.get("replaceIt",[a]),function(){b(!0,!0,d)},function(){b(!1,!0,d)})}),function(a){b(!0,!1)})};
- DropboxClient.prototype.renameFile=function(a,b,c,d){if(/[\\\/:\?\*"\|]/.test(b))d({message:mxResources.get("dropboxCharsNotAllowed")});else{if(null!=a&&null!=b){var f=a.stat.path_display.substring(1),g=f.lastIndexOf("/");0<g&&(b=f.substring(0,g+1)+b)}null!=a&&null!=b&&a.stat.path_lower.substring(1)!==b.toLowerCase()?this.checkExists(b,mxUtils.bind(this,function(f,e,g){f?(f=mxUtils.bind(this,function(e){e=this.client.filesMove({from_path:a.stat.path_display,to_path:"/"+b,autorename:!1});this.executePromise(e,
- c,d)}),e&&g.path_lower.substring(1)!==b.toLowerCase()?(e=this.client.filesDelete({path:"/"+b.toLowerCase()}),this.executePromise(e,f,d)):f()):d()})):d({message:mxResources.get("invalidName")})}};DropboxClient.prototype.insertLibrary=function(a,b,c,d){this.insertFile(a,b,c,d,!0)};
- DropboxClient.prototype.insertFile=function(a,b,c,d,f){f=null!=f?f:!1;this.checkExists(a,mxUtils.bind(this,function(g){g?this.saveFile(a,b,mxUtils.bind(this,function(a){f?c(new DropboxLibrary(this.ui,b,a)):c(new DropboxFile(this.ui,b,a))}),d):d()}))};
- DropboxClient.prototype.saveFile=function(a,b,c,d){/[\\\/:\?\*"\|]/.test(a)?d({message:mxResources.get("dropboxCharsNotAllowed")}):15E7<=b.length?d({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(b.length)+" / 150 MB)"}):(a=this.client.filesUpload({path:"/"+a,mode:{".tag":"overwrite"},contents:new Blob([b],{type:"text/plain"}),mute:!0}),this.executePromise(a,c,d))};
- DropboxClient.prototype.pickLibrary=function(a){Dropbox.choose({linkType:"direct",cancel:mxUtils.bind(this,function(){}),success:mxUtils.bind(this,function(b){if(this.ui.spinner.spin(document.body,mxResources.get("loading"))){var c=mxUtils.bind(this,function(a){this.ui.spinner.stop();this.ui.handleError(a)}),d=b[0].link.indexOf(this.appPath);if(0<d){var f=decodeURIComponent(b[0].link.substring(d+this.appPath.length-1));this.readFile({path:f},mxUtils.bind(this,function(d,l){if(null!=l&&parseInt(b[0].bytes)===
- parseInt(l.size)&&f===l.path_display)try{this.ui.spinner.stop(),a(f.substring(1),new DropboxLibrary(this.ui,d,l))}catch(e){this.ui.handleError(e)}else this.createLibrary(b[0],a,c)}),c)}else this.createLibrary(b[0],a,c)}})})};
- DropboxClient.prototype.createLibrary=function(a,b,c){this.ui.confirm(mxResources.get("note")+": "+mxResources.get("fileWillBeSavedInAppFolder",[a.name]),mxUtils.bind(this,function(){this.ui.loadUrl(a.link,mxUtils.bind(this,function(d){this.insertFile(a.name,d,mxUtils.bind(this,function(a){try{this.ui.spinner.stop(),b(a.getHash().substring(1),a)}catch(g){c(g)}}),c,!0)}),c)}),mxUtils.bind(this,function(){this.ui.spinner.stop()}))};
- DropboxClient.prototype.pickFile=function(a,b){null!=Dropbox.choose?(a=null!=a?a:mxUtils.bind(this,function(a,b){this.ui.loadFile(null!=a?"D"+encodeURIComponent(a):b.getHash(),null,b)}),Dropbox.choose({linkType:"direct",cancel:mxUtils.bind(this,function(){}),success:mxUtils.bind(this,function(c){if(this.ui.spinner.spin(document.body,mxResources.get("loading")))if(b)this.ui.spinner.stop(),a(c[0].link);else{var d=mxUtils.bind(this,function(a){this.ui.spinner.stop();this.ui.handleError(a)}),f=mxUtils.bind(this,
- function(b,c){this.ui.spinner.stop();a(b,c)});if(/\.vsdx$/i.test(c[0].name)||/\.gliffy$/i.test(c[0].name)||/\.png$/i.test(c[0].name))f(c[0].link);else{var g=c[0].link.indexOf(this.appPath);if(0<g){var l=decodeURIComponent(c[0].link.substring(g+this.appPath.length-1));this.readFile({path:l},mxUtils.bind(this,function(b,g){null!=g&&parseInt(c[0].bytes)===parseInt(g.size)&&l===g.path_display?(this.ui.spinner.stop(),a(l.substring(1),new DropboxFile(this.ui,b,g))):this.createFile(c[0],f,d)}),d)}else this.createFile(c[0],
- f,d)}}})})):this.ui.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})};
- DropboxClient.prototype.createFile=function(a,b,c){this.ui.loadUrl(a.link,mxUtils.bind(this,function(d){null!=d&&0<d.length?this.ui.confirm(mxResources.get("note")+": "+mxResources.get("fileWillBeSavedInAppFolder",[a.name]),mxUtils.bind(this,function(){this.insertFile(a.name,d,mxUtils.bind(this,function(c){b(a.name,c)}),c)}),mxUtils.bind(this,function(){this.ui.spinner.stop()})):(this.ui.spinner.stop(),c({message:mxResources.get("errorLoadingFile")}))}),c,/(\.png)$/i.test(a.name))};OneDriveFile=function(a,b,c){DrawioFile.call(this,a,b);this.meta=c};mxUtils.extend(OneDriveFile,DrawioFile);OneDriveFile.prototype.getHash=function(){return"W"+encodeURIComponent(this.meta.id)};OneDriveFile.prototype.getMode=function(){return App.MODE_ONEDRIVE};OneDriveFile.prototype.isAutosaveOptional=function(){return!0};OneDriveFile.prototype.getTitle=function(){return this.meta.name};OneDriveFile.prototype.isRenamable=function(){return!0};
- OneDriveFile.prototype.save=function(a,b,c){this.doSave(this.getTitle(),b,c)};OneDriveFile.prototype.saveAs=function(a,b,c){this.doSave(a,b,c)};OneDriveFile.prototype.doSave=function(a,b,c){var d=this.meta.name;this.meta.name=a;DrawioFile.prototype.save.apply(this,arguments);this.meta.name=d;this.saveFile(a,!1,b,c)};
- OneDriveFile.prototype.saveFile=function(a,b,c,d){if(this.isEditable())if(this.savingFile)null!=d&&d({code:App.ERROR_BUSY});else if(this.savingFile=!0,this.getTitle()==a){var f=this.isModified,g=this.isModified(),l=mxUtils.bind(this,function(){this.setModified(!1);this.isModified=function(){return g}});l();this.ui.oneDrive.saveFile(this,mxUtils.bind(this,function(a){this.savingFile=!1;this.isModified=f;this.meta=a;this.contentChanged();null!=c&&c()}),mxUtils.bind(this,function(a){this.savingFile=
- !1;this.isModified=f;this.setModified(g||this.isModified());if(null!=d){if(null!=a&&null!=a.retry){var b=a.retry;a.retry=function(){l();b()}}d(a)}}))}else this.ui.oneDrive.insertFile(a,this.getData(),mxUtils.bind(this,function(a){this.savingFile=!1;null!=c&&c();this.ui.fileLoaded(a)}),mxUtils.bind(this,function(){this.savingFile=!1;null!=d&&d()}));else null!=c&&c()};
- OneDriveFile.prototype.rename=function(a,b,c){this.ui.oneDrive.renameFile(this,a,mxUtils.bind(this,function(d){this.hasSameExtension(a,this.getTitle())?(this.meta=d,this.descriptorChanged(),null!=b&&b()):(this.meta=d,this.save(!0,b,c))}),c)};OneDriveFile.prototype.move=function(a,b,c){this.ui.oneDrive.moveFile(this.meta.id,a,mxUtils.bind(this,function(a){this.meta=a;this.descriptorChanged();null!=b&&b(a)}),c)};OneDriveLibrary=function(a,b,c){OneDriveFile.call(this,a,b,c)};mxUtils.extend(OneDriveLibrary,OneDriveFile);OneDriveLibrary.prototype.isAutosave=function(){return!0};OneDriveLibrary.prototype.doSave=function(a,b,c){this.saveFile(a,!1,b,c)};OneDriveLibrary.prototype.open=function(){};OneDriveClient=function(a){DrawioClient.call(this,a,"odauth");this.token=this.token};mxUtils.extend(OneDriveClient,DrawioClient);OneDriveClient.prototype.clientId="test.draw.io"==window.location.hostname?"2e598409-107f-4b59-89ca-d7723c8e00a4":"45c10911-200f-4e27-a666-9e9fca147395";OneDriveClient.prototype.scopes="user.read";OneDriveClient.prototype.redirectUri="https://"+window.location.hostname+"/onedrive3.html";OneDriveClient.prototype.extension=".html";OneDriveClient.prototype.baseUrl="https://graph.microsoft.com/v1.0";
- OneDriveClient.prototype.get=function(a,b,c){a=new mxXmlRequest(a,null,"GET");a.setRequestHeaders=mxUtils.bind(this,function(a,b){a.setRequestHeader("Authorization","Bearer "+this.token)});a.send(b,c);return a};
- OneDriveClient.prototype.updateUser=function(a,b,c){var d=!0,f=window.setTimeout(mxUtils.bind(this,function(){d=!1;b({code:App.ERROR_TIMEOUT})}),this.ui.timeout);this.get(this.baseUrl+"/me",mxUtils.bind(this,function(g){window.clearTimeout(f);d&&(200>g.getStatus()||300<=g.getStatus()?c?b({message:mxResources.get("accessDenied")}):(this.logout(),this.authenticate(mxUtils.bind(this,function(){this.updateUser(a,b,!0)}),b)):(g=JSON.parse(g.getText()),this.setUser(new DrawioUser(g.id,null,g.displayName)),
- a()))}),b)};
- OneDriveClient.prototype.authenticate=function(a,b){if(null==window.onOneDriveCallback){var c=mxUtils.bind(this,function(){var d=!0;this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(f,g){var l="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id="+this.clientId+"&response_type=token&redirect_uri="+encodeURIComponent(this.redirectUri)+"&scope="+encodeURIComponent(this.scopes)+"&response_mode=fragment",l=window.open(l,"odauth",["width=525,height=525","top="+(window.screenY+
- Math.max(window.outerHeight-525,0)/2),"left="+(window.screenX+Math.max(window.outerWidth-525,0)/2),"status=no,resizable=yes,toolbar=no,menubar=no,scrollbars=yes"].join());null!=l&&(window.onOneDriveCallback=mxUtils.bind(this,function(e,h){if(d){window.onOneDriveCallback=null;d=!1;try{null==e?b({message:mxResources.get("accessDenied"),retry:c}):(null!=g&&g(),this.setUser(null),this.token=e,f&&this.setPersistentToken(e),a())}catch(k){b(k)}finally{null!=h&&h.close()}}else null!=h&&h.close()}),l.focus())}),
- mxUtils.bind(this,function(){d&&(window.onOneDriveCallback=null,d=!1,b({message:mxResources.get("accessDenied"),retry:c}))}))});c()}else b({code:App.ERROR_BUSY})};
- OneDriveClient.prototype.executeRequest=function(a,b,c){var d=mxUtils.bind(this,function(g){var l=!0,e=window.setTimeout(mxUtils.bind(this,function(){l=!1;c({code:App.ERROR_TIMEOUT,retry:f})}),this.ui.timeout);this.get(a,mxUtils.bind(this,function(a){window.clearTimeout(e);l&&(200<=a.getStatus()&&299>=a.getStatus()||404==a.getStatus()?b(a):401===a.getStatus()||400===a.getStatus()?(this.clearPersistentToken(),this.setUser(null),this.token=null,g?c({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,
- function(){this.authenticate(function(){f(!0)},c)})}):this.authenticate(function(){d(!0)},c)):c(this.parseRequestText(a)))}),c)}),f=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){f(!0)},c,a):d(a)});null==this.token?this.authenticate(function(){f(!0)},c):f(!1)};OneDriveClient.prototype.getLibrary=function(a,b,c){this.getFile(a,b,c,!1,!0)};
- OneDriveClient.prototype.getFile=function(a,b,c,d,f){f=null!=f?f:!1;this.executeRequest(this.baseUrl+"/me/drive/items/"+a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){var d=JSON.parse(a.getText());if(/\.vsdx$/i.test(d.name)||/\.gliffy$/i.test(d.name)||/\.png$/i.test(d.name))this.ui.convertFile(d["@microsoft.graph.downloadUrl"],d.name,null!=d.file?d.file.mimeType:null,this.extension,b,c);else{var e=!0,g=window.setTimeout(mxUtils.bind(this,function(){e=!1;c({code:App.ERROR_TIMEOUT})}),
- this.ui.timeout);this.ui.loadUrl(d["@microsoft.graph.downloadUrl"],mxUtils.bind(this,function(a){window.clearTimeout(g);e&&(f?b(new OneDriveLibrary(this.ui,a,d)):b(new OneDriveFile(this.ui,a,d)))}),mxUtils.bind(this,function(a){window.clearTimeout(g);e&&c(this.parseRequestText(a))}),null!=d.file&&null!=d.file.mimeType&&"image/"==d.file.mimeType.substring(0,6))}}else c(this.parseRequestText(a))}),c)};
- OneDriveClient.prototype.renameFile=function(a,b,c,d){null!=a&&null!=b&&this.checkExists(a.meta.parentReference.id,b,!1,mxUtils.bind(this,function(f){f?this.writeFile(this.baseUrl+"/me/drive/items/"+a.meta.id,JSON.stringify({name:b}),"PATCH","application/json",c,d):d()}))};OneDriveClient.prototype.moveFile=function(a,b,c,d){this.writeFile(this.baseUrl+"/me/drive/items/"+a,JSON.stringify({parentReference:{id:b}}),"PATCH","application/json",c,d)};
- OneDriveClient.prototype.insertLibrary=function(a,b,c,d,f){this.insertFile(a,b,c,d,!0,f)};OneDriveClient.prototype.insertFile=function(a,b,c,d,f,g){f=null!=f?f:!1;this.checkExists(g,a,!0,mxUtils.bind(this,function(l){l?this.writeFile(this.baseUrl+(null!=g?"/me/drive/items/"+g:"/me/drive/root")+"/children/"+a+"/content",b,"PUT",null,mxUtils.bind(this,function(a){f?c(new OneDriveLibrary(this.ui,b,a)):c(new OneDriveFile(this.ui,b,a))}),d):d()}))};
- OneDriveClient.prototype.checkExists=function(a,b,c,d){this.executeRequest(this.baseUrl+(null!=a?"/me/drive/items/"+a:"/me/drive/root")+"/children/"+b,mxUtils.bind(this,function(a){404==a.getStatus()?d(!0):c?(this.ui.spinner.stop(),this.ui.confirm(mxResources.get("replaceIt",[b]),function(){d(!0)},function(){d(!1)})):(this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){d(!1)}))}),function(a){d(!1)},!0)};
- OneDriveClient.prototype.saveFile=function(a,b,c){this.writeFile(this.baseUrl+"/me/drive/items/"+a.meta.id+"/content/",a.getData(),"PUT",null,b,c)};
- OneDriveClient.prototype.writeFile=function(a,b,c,d,f,g){if(null!=a&&null!=b){var l=mxUtils.bind(this,function(h){var k=!0,m=window.setTimeout(mxUtils.bind(this,function(){k=!1;g({code:App.ERROR_TIMEOUT,retry:e})}),this.ui.timeout),n=new mxXmlRequest(a,b,c);n.setRequestHeaders=mxUtils.bind(this,function(a,b){a.setRequestHeader("Content-Type",d||" ");a.setRequestHeader("Authorization","Bearer "+this.token)});n.send(mxUtils.bind(this,function(a){window.clearTimeout(m);k&&(200<=a.getStatus()&&299>=a.getStatus()?
- f(JSON.parse(a.getText())):401===a.getStatus()?(this.clearPersistentToken(),this.setUser(null),this.token=null,h?g({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){e(!0)},g)})}):this.authenticate(function(){l(!0)},g)):g(this.parseRequestText(a)))}),mxUtils.bind(this,function(a){window.clearTimeout(m);k&&g(this.parseRequestText(a))}))}),e=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){e(!0)},g,a):l(a)});null==this.token?
- this.authenticate(function(){e(!0)},g):e(!1)}else g({message:mxResources.get("unknownError")})};OneDriveClient.prototype.parseRequestText=function(a){var b={message:mxResources.get("unknownError")};try{b=JSON.parse(a.getText())}catch(c){}return b};OneDriveClient.prototype.pickLibrary=function(a){this.pickFile(a)};
- OneDriveClient.prototype.pickFolder=function(a){OneDrive.save({clientId:this.clientId,action:"query",openInNewWindow:!0,advanced:{redirectUri:this.redirectUri},success:mxUtils.bind(this,function(b){this.token=b.accessToken;a(b)}),cancel:function(){},error:mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a)})})};
- OneDriveClient.prototype.pickFile=function(a,b){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("W"+encodeURIComponent(a))});OneDrive.open({clientId:this.clientId,action:"query",multiSelect:!1,advanced:{redirectUri:this.redirectUri},success:mxUtils.bind(this,function(c){null!=c&&null!=c.value&&0<c.value.length&&(this.token=c.accessToken,a(b?c:c.value[0].id))}),cancel:function(){},error:mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a)})})};
- OneDriveClient.prototype.logout=function(){if(isLocalStorage){var a=localStorage.getItem("odpickerv7cache");null!=a&&'{"odsdkLoginHint":{'==a.substring(0,19)&&localStorage.removeItem("odpickerv7cache")}this.clearPersistentToken();this.setUser(null);this.token=null};GitHubFile=function(a,b,c){DrawioFile.call(this,a,b);this.meta=c};mxUtils.extend(GitHubFile,DrawioFile);GitHubFile.prototype.getHash=function(){return encodeURIComponent("H"+encodeURIComponent(this.meta.org)+"/"+(null!=this.meta.repo?encodeURIComponent(this.meta.repo)+"/"+(null!=this.meta.ref?this.meta.ref+(null!=this.meta.path?"/"+this.meta.path:""):""):""))};
- GitHubFile.prototype.getPublicUrl=function(a){null!=this.meta.download_url?mxUtils.get(this.meta.download_url,mxUtils.bind(this,function(b){a(200<=b.getStatus()&&299>=b.getStatus()?this.meta.download_url:null)}),mxUtils.bind(this,function(){a(null)})):a(null)};GitHubFile.prototype.getMode=function(){return App.MODE_GITHUB};GitHubFile.prototype.isAutosave=function(){return!1};GitHubFile.prototype.getTitle=function(){return this.meta.name};GitHubFile.prototype.isRenamable=function(){return!1};
- GitHubFile.prototype.save=function(a,b,c){this.doSave(this.getTitle(),b,c)};GitHubFile.prototype.saveAs=function(a,b,c){this.doSave(a,b,c)};GitHubFile.prototype.doSave=function(a,b,c){var d=this.meta.name;this.meta.name=a;DrawioFile.prototype.save.apply(this,arguments);this.meta.name=d;this.saveFile(a,!1,b,c)};
- GitHubFile.prototype.saveFile=function(a,b,c,d){if(this.isEditable())if(this.savingFile)null!=d&&d({code:App.ERROR_BUSY});else if(this.savingFile=!0,this.getTitle()==a){var f=this.isModified,g=this.isModified(),l=mxUtils.bind(this,function(){this.setModified(!1);this.isModified=function(){return g}});l();this.ui.gitHub.saveFile(this,mxUtils.bind(this,function(a){this.savingFile=!1;this.isModified=f;this.meta.sha=a.content.sha;this.meta.html_url=a.content.html_url;this.meta.download_url=a.content.download_url;
- this.contentChanged();null!=c&&c()}),mxUtils.bind(this,function(a){this.savingFile=!1;this.isModified=f;this.setModified(g||this.isModified());this.isModified()&&this.addUnsavedStatus();if(null!=d){if(null!=a&&null!=a.retry){var b=a.retry;a.retry=function(){l();b()}}d(a)}}))}else this.ui.pickFolder(App.MODE_GITHUB,mxUtils.bind(this,function(b){this.ui.gitHub.insertFile(a,this.getData(),mxUtils.bind(this,function(a){this.savingFile=!1;null!=c&&c();this.ui.fileLoaded(a)}),mxUtils.bind(this,function(){this.savingFile=
- !1;null!=d&&d()}),!1,b)}));else null!=c&&c()};GitHubLibrary=function(a,b,c){GitHubFile.call(this,a,b,c)};mxUtils.extend(GitHubLibrary,GitHubFile);GitHubLibrary.prototype.doSave=function(a,b,c){this.saveFile(a,!1,b,c)};GitHubLibrary.prototype.open=function(){};GitHubClient=function(a){DrawioClient.call(this,a,"ghauth")};mxUtils.extend(GitHubClient,DrawioClient);GitHubClient.prototype.clientId="test.draw.io"==window.location.hostname?"23bc97120b9035515661":"89c9e4624ca416554489";GitHubClient.prototype.scope="repo";GitHubClient.prototype.extension=".xml";GitHubClient.prototype.baseUrl="https://api.github.com";GitHubClient.prototype.maxFileSize=1E6;
- GitHubClient.prototype.updateUser=function(a,b,c){var d=!0,f=window.setTimeout(mxUtils.bind(this,function(){d=!1;b({code:App.ERROR_TIMEOUT})}),this.ui.timeout);mxUtils.get(this.baseUrl+"/user?access_token="+this.token,mxUtils.bind(this,function(g){window.clearTimeout(f);d&&(401===g.getStatus()?c?b({message:mxResources.get("accessDenied")}):(this.logout(),this.authenticate(mxUtils.bind(this,function(){this.updateUser(a,b,!0)}),b)):200>g.getStatus()||300<=g.getStatus()?b({message:mxResources.get("accessDenied")}):
- (g=JSON.parse(g.getText()),this.setUser(new DrawioUser(g.id,g.email,g.name)),a()))}))};
- GitHubClient.prototype.authenticate=function(a,b){if(null==window.onGitHubCallback){var c=mxUtils.bind(this,function(){var d=!0;this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(f,g){null!=window.open("https://github.com/login/oauth/authorize?client_id="+this.clientId+"&scope="+this.scope,"ghauth")?window.onGitHubCallback=mxUtils.bind(this,function(l,e){if(d)if(window.onGitHubCallback=null,d=!1,null==l)b({message:mxResources.get("accessDenied"),retry:c});else{var h=mxUtils.bind(this,function(){var c=
- !0,d=window.setTimeout(mxUtils.bind(this,function(){c=!1;b({code:App.ERROR_TIMEOUT,retry:h})}),this.ui.timeout);mxUtils.get("/github?client_id="+this.clientId+"&code="+l,mxUtils.bind(this,function(h){window.clearTimeout(d);if(c)try{if(200>h.getStatus()||300<=h.getStatus())b({message:mxResources.get("cannotLogin")});else{null!=g&&g();var k=h.getText();this.token=k.substring(k.indexOf("=")+1,k.indexOf("&"));this.setUser(null);f&&this.setPersistentToken(this.token);a()}}catch(t){b(t)}finally{null!=e&&
- e.close()}}))});h()}else null!=e&&e.close()}):b({message:mxResources.get("serviceUnavailableOrBlocked"),retry:c})}),mxUtils.bind(this,function(){d&&(window.onGitHubCallback=null,d=!1,b({message:mxResources.get("accessDenied"),retry:c}))}))});c()}else b({code:App.ERROR_BUSY})};
- GitHubClient.prototype.executeRequest=function(a,b,c){var d=mxUtils.bind(this,function(g){var l=!0,e=window.setTimeout(mxUtils.bind(this,function(){l=!1;c({code:App.ERROR_TIMEOUT,retry:f})}),this.ui.timeout),h=this.token;a.setRequestHeaders=function(a,b){a.setRequestHeader("Authorization","token "+h)};a.send(mxUtils.bind(this,function(){window.clearTimeout(e);if(l)if(200<=a.getStatus()&&299>=a.getStatus())b(a);else if(401===a.getStatus())g?c({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,
- function(){this.authenticate(function(){f(!0)},c)})}):this.authenticate(function(){d(!0)},c);else if(403===a.getStatus()){var h=!1;try{var m=JSON.parse(a.getText());null!=m&&null!=m.errors&&0<m.errors.length&&(h="too_large"==m.errors[0].code)}catch(n){}c({message:mxResources.get(h?"drawingTooLarge":"forbidden")})}else 404===a.getStatus()?c({message:mxResources.get("fileNotFound")}):409===a.getStatus()?c({status:409}):c({message:mxResources.get("error")+" "+a.getStatus()})}),c)}),f=mxUtils.bind(this,
- function(a){null==this.user?this.updateUser(function(){f(!0)},c,a):d(a)});null==this.token?this.authenticate(function(){f(!0)},c):f(!1)};GitHubClient.prototype.getLibrary=function(a,b,c){this.getFile(a,b,c,!0)};
- GitHubClient.prototype.getFile=function(a,b,c,d,f){d=null!=d?d:!1;var g=a.split("/"),l=g[0],e=g[1],h=g[2];a=g.slice(3,g.length).join("/");!f&&(/\.vsdx$/i.test(a)||/\.gliffy$/i.test(a)||/\.png$/i.test(a))?null!=this.token?(f=this.baseUrl+"/repos/"+l+"/"+e+"/contents/"+a+"?ref="+h+"&token="+this.token,g=a.split("/"),this.ui.convertFile(f,0<g.length?g[g.length-1]:a,null,this.extension,b,c)):c({message:mxResources.get("accessDenied")}):(a=new mxXmlRequest(this.baseUrl+"/repos/"+l+"/"+e+"/contents/"+a+
- "?ref="+h,null,"GET"),this.executeRequest(a,mxUtils.bind(this,function(a){try{b(this.createGitHubFile(l,e,h,JSON.parse(a.getText()),d))}catch(m){c(m)}}),c))};
- GitHubClient.prototype.createGitHubFile=function(a,b,c,d,f){a={org:a,repo:b,ref:c,name:d.name,path:d.path,sha:d.sha,html_url:d.html_url,download_url:d.download_url};b=d.content;"base64"===d.encoding&&(b=/\.jpe?g$/i.test(d.name)?"data:image/jpeg;base64,"+b:/\.gif$/i.test(d.name)?"data:image/gif;base64,"+b:Base64.decode(b));return f?new GitHubLibrary(this.ui,b,a):new GitHubFile(this.ui,b,a)};GitHubClient.prototype.insertLibrary=function(a,b,c,d,f){this.insertFile(a,b,c,d,!0,f,!1)};
- GitHubClient.prototype.insertFile=function(a,b,c,d,f,g,l){f=null!=f?f:!1;g=g.split("/");var e=g[0],h=g[1],k=g[2],m=g.slice(3,g.length).join("/");0<m.length&&(m+="/");m+=a;this.checkExists(e+"/"+h+"/"+k+"/"+m,!0,mxUtils.bind(this,function(g,p){g?f?(l||(b=Base64.encode(b)),this.showCommitDialog(a,!0,mxUtils.bind(this,function(a){this.writeFile(e,h,k,m,a,b,p,mxUtils.bind(this,function(a){try{var b=JSON.parse(a.getText());c(this.createGitHubFile(e,h,k,b.content,f))}catch(u){d(u)}}),d)}),d)):c(new GitHubFile(this.ui,
- b,{org:e,repo:h,ref:k,name:a,path:m,sha:p,isNew:!0})):d()}))};GitHubClient.prototype.showCommitDialog=function(a,b,c,d){var f=this.ui.spinner.pause();a=new FilenameDialog(this.ui,mxResources.get(b?"addedFile":"updateFile",[a]),mxResources.get("ok"),mxUtils.bind(this,function(a){f();c(a)}),mxResources.get("commitMessage"),null,null,null,null,mxUtils.bind(this,function(){d()}));this.ui.showDialog(a.container,300,80,!0,!1);a.init()};
- GitHubClient.prototype.writeFile=function(a,b,c,d,f,g,l,e,h){g.length>=this.maxFileSize?h({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(g.length)+" / 1 MB)"}):(c={path:d,branch:decodeURIComponent(c),message:f,content:g},null!=l&&(c.sha=l),a=new mxXmlRequest(this.baseUrl+"/repos/"+a+"/"+b+"/contents/"+d,JSON.stringify(c),"PUT"),this.executeRequest(a,mxUtils.bind(this,function(a){e(a)}),h))};
- GitHubClient.prototype.checkExists=function(a,b,c){this.getFile(a,mxUtils.bind(this,function(d){if(b&&null!=d.meta){var f=this.ui.spinner.pause();this.ui.confirm(mxResources.get("replaceIt",[a]),function(){f();c(!0,d.meta.sha)},function(){f();c(!1)})}else this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){c(!1)})}),mxUtils.bind(this,function(a){c(!0)}),null,!0)};
- GitHubClient.prototype.saveFile=function(a,b,c){var d=a.meta.org,f=a.meta.repo,g=a.meta.ref,l=a.meta.path;this.showCommitDialog(a.meta.name,null==a.meta.sha||a.meta.isNew,mxUtils.bind(this,function(e){var h=Base64.encode(a.getData()),k=mxUtils.bind(this,function(m){this.writeFile(d,f,g,l,e,h,m,mxUtils.bind(this,function(c){delete a.meta.isNew;b(JSON.parse(c.getText()))}),mxUtils.bind(this,function(a){null!=a&&409==a.status?(resume=this.ui.spinner.pause(),a=new ErrorDialog(this.ui,mxResources.get("errorSavingFile"),
- mxResources.get("fileChangedOverwrite"),mxResources.get("cancel"),mxUtils.bind(this,function(){c()}),null,mxResources.get("overwrite"),mxUtils.bind(this,function(){resume();this.getFile(d+"/"+f+"/"+g+"/"+l,mxUtils.bind(this,function(a){k(a.meta.sha)}),mxUtils.bind(this,function(){k(null)}))})),this.ui.showDialog(a.container,340,150,!0,!1),a.init()):c(a)}))});k(a.meta.sha)}),mxUtils.bind(this,function(){c()}))};GitHubClient.prototype.pickLibrary=function(a){this.pickFile(a)};
- GitHubClient.prototype.pickFolder=function(a){this.showGitHubDialog(!1,a)};GitHubClient.prototype.pickFile=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("H"+encodeURIComponent(a))});this.showGitHubDialog(!0,a)};
- GitHubClient.prototype.showGitHubDialog=function(a,b){var c=null,d=null,f=null,g=null,l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.overflow="hidden";l.style.height="224px";var e=document.createElement("h3");mxUtils.write(e,mxResources.get(a?"selectFile":"selectFolder"));e.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";l.appendChild(e);var h=document.createElement("div");h.style.whiteSpace="nowrap";h.style.overflow="auto";h.style.height="194px";
- l.appendChild(h);var k=new CustomDialog(this.ui,l,mxUtils.bind(this,function(){b(c+"/"+d+"/"+encodeURIComponent(f)+"/"+g)}));this.ui.showDialog(k.container,340,270,!0,!0);a&&k.okButton.parentNode.removeChild(k.okButton);var m=mxUtils.bind(this,function(a,b){var c=document.createElement("a");c.setAttribute("href","javascript:void(0);");mxUtils.write(c,a);mxEvent.addListener(c,"click",b);return c}),n=mxUtils.bind(this,function(a){var b=document.createElement("div");b.style.marginBottom="8px";b.appendChild(m(c+
- "/"+d,mxUtils.bind(this,function(){g=null;x()})));a||(mxUtils.write(b," / "),b.appendChild(m(decodeURIComponent(f),mxUtils.bind(this,function(){g=null;u()}))));if(null!=g&&0<g.length){var e=g.split("/");for(a=0;a<e.length;a++)(function(a){mxUtils.write(b," / ");b.appendChild(m(e[a],mxUtils.bind(this,function(){g=e.slice(0,a+1).join("/");t()})))})(a)}h.appendChild(b)}),p=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();null!=this.getUser()?
- (g=f=d=c=null,x()):this.ui.hideDialog()}))}),t=mxUtils.bind(this,function(){var e=new mxXmlRequest(this.baseUrl+"/repos/"+c+"/"+d+"/contents/"+g+"?ref="+encodeURIComponent(f),null,"GET");k.okButton.removeAttribute("disabled");h.innerHTML="";this.ui.spinner.spin(h,mxResources.get("loading"));this.executeRequest(e,mxUtils.bind(this,function(e){n();this.ui.spinner.stop();var k=JSON.parse(e.getText());h.appendChild(m("../ [Up]",mxUtils.bind(this,function(){if(""==g)g=null,x();else{var a=g.split("/");
- g=a.slice(0,a.length-1).join("/");t()}})));mxUtils.br(h);null==k||0==k.length?mxUtils.write(h,mxResources.get("noFiles")):(e=mxUtils.bind(this,function(e){for(var l=0;l<k.length;l++)mxUtils.bind(this,function(k){e==("dir"==k.type)&&(h.appendChild(m(k.name+("dir"==k.type?"/":""),mxUtils.bind(this,function(){"dir"==k.type?(g=k.path,t()):a&&"file"==k.type&&(this.ui.hideDialog(),b(c+"/"+d+"/"+encodeURIComponent(f)+"/"+k.path))}))),mxUtils.br(h))})(k[l])}),e(!0),a&&e(!1))}),p)}),q=null,w=null,u=mxUtils.bind(this,
- function(a){null==a&&(h.innerHTML="",a=1);var b=new mxXmlRequest(this.baseUrl+"/repos/"+c+"/"+d+"/branches?per_page=100&page="+a,null,"GET");k.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(h,mxResources.get("loading"));null!=q&&null!=q.parentNode&&q.parentNode.removeChild(q);q=document.createElement("a");q.style.display="block";q.setAttribute("href","javascript:void(0);");mxUtils.write(q,mxResources.get("more")+"...");var e=mxUtils.bind(this,function(){mxEvent.removeListener(h,
- "scroll",w);u(a+1)});mxEvent.addListener(q,"click",e);this.executeRequest(b,mxUtils.bind(this,function(b){this.ui.spinner.stop();1==a&&(n(!0),h.appendChild(m("../ [Up]",mxUtils.bind(this,function(){g=null;x()}))),mxUtils.br(h));b=JSON.parse(b.getText());if(null==b||0==b.length)mxUtils.write(h,mxResources.get("noFiles"));else{for(var c=0;c<b.length;c++)mxUtils.bind(this,function(a){h.appendChild(m(a.name,mxUtils.bind(this,function(){f=a.name;g="";t()})));mxUtils.br(h)})(b[c]);100==b.length&&(h.appendChild(q),
- w=function(){h.scrollTop>=h.scrollHeight-h.offsetHeight&&e()},mxEvent.addListener(h,"scroll",w))}}),p)}),x=mxUtils.bind(this,function(a){null==a&&(h.innerHTML="",a=1);var b=new mxXmlRequest(this.baseUrl+"/user/repos?per_page=100&page="+a,null,"GET");k.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(h,mxResources.get("loading"));null!=q&&null!=q.parentNode&&q.parentNode.removeChild(q);q=document.createElement("a");q.style.display="block";q.setAttribute("href","javascript:void(0);");
- mxUtils.write(q,mxResources.get("more")+"...");var e=mxUtils.bind(this,function(){mxEvent.removeListener(h,"scroll",w);x(a+1)});mxEvent.addListener(q,"click",e);this.executeRequest(b,mxUtils.bind(this,function(b){this.ui.spinner.stop();b=JSON.parse(b.getText());if(null==b||0==b.length)mxUtils.write(h,mxResources.get("noFiles"));else{1==a&&(h.appendChild(m(mxResources.get("enterValue")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.ui,"org/repo/ref",mxResources.get("ok"),mxUtils.bind(this,
- function(a){if(null!=a){var b=a.split("/");if(1<b.length){a=b[0];var e=b[1];3>b.length?(c=a,d=e,g=f=null,u()):this.ui.spinner.spin(h,mxResources.get("loading"))&&(b=encodeURIComponent(b.slice(2,b.length).join("/")),this.getFile(a+"/"+e+"/"+b,mxUtils.bind(this,function(a){this.ui.spinner.stop();c=a.meta.org;d=a.meta.repo;f=decodeURIComponent(a.meta.ref);g="";t()}),mxUtils.bind(this,function(a){this.ui.spinner.stop();this.ui.handleError({message:mxResources.get("fileNotFound")})})))}else this.ui.spinner.stop(),
- this.ui.handleError({message:mxResources.get("invalidName")})}}),mxResources.get("enterValue"));this.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(h),mxUtils.br(h));for(var k=0;k<b.length;k++)mxUtils.bind(this,function(a){h.appendChild(m(a.full_name,mxUtils.bind(this,function(){c=a.owner.login;d=a.name;f=a.default_branch;g="";t()})));mxUtils.br(h)})(b[k])}100==b.length&&(h.appendChild(q),w=function(){h.scrollTop>=h.scrollHeight-h.offsetHeight&&e()},mxEvent.addListener(h,"scroll",
- w))}),p)});x()};GitHubClient.prototype.logout=function(){this.clearPersistentToken();this.setUser(null);this.token=null};function ChatWindow(a,b,c,d,f,g,l,e){this.editorUi=a;this.doc=e.doc;this.rtModel=e.rt;this.chatHistory=e.chatHistory;this.chatMap=e.chatMap;this.configCollabInfo();c=document.createElement("div");c.id="mainDiv";e=document.createElement("div");e.style.padding="3px";c.appendChild(e);var h=document.createElement("div");h.style.paddingLeft="3px";h.style.paddingRight="15px";a.editor.graph.isEnabled()&&c.appendChild(h);this.chatArea=document.createElement("div");this.chatArea.style.backgroundColor="white";
- this.chatArea.style.overflowX="hidden";this.chatArea.style.overflowY="auto";this.chatArea.style.width="98%";this.chatArea.style.resize="none";e.appendChild(this.chatArea);this.chatLineArea=document.createElement("textarea");this.chatLineArea.style.resize="none";this.chatLineArea.rows=1;this.chatLineArea.onkeydown=mxUtils.bind(this,function(a){13==(a.keyCode||window.event.keyCode)&&""!=this.chatLineArea.value&&this.sendMessage()});this.sendBtn=document.createElement("button");this.sendBtn.style.cssFloat=
- "right";this.sendBtn.style.styleFloat="right";mxUtils.write(this.sendBtn,mxResources.get("sendMessage"));mxEvent.addListener(this.sendBtn,"click",mxUtils.bind(this,function(a){""!=this.chatLineArea.value&&this.sendMessage()}));h.appendChild(this.chatLineArea);h.appendChild(this.sendBtn);this.window=new mxWindow(b,c,d,f,g,l,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!0);this.window.setScrollable(!0);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);
- this.handleResize();this.window.addListener(mxEvent.RESIZE,mxUtils.bind(this,this.handleResize));this.window.addListener(mxEvent.MAXIMIZE,mxUtils.bind(this,this.handleResize));this.window.addListener(mxEvent.NORMALIZE,mxUtils.bind(this,this.handleResize));if(null!=this.chatHistory){for(a=Math.max(0,this.chatHistory.length-this.chatHistoryShow);a<this.chatHistory.length;a++)this.updateChatArea(this.chatHistory.get(a));this.chatHistory.addEventListener(gapi.drive.realtime.EventType.VALUES_ADDED,mxUtils.bind(this,
- function(a){this.updateChatArea(a.target.get(a.index))}))}this.doc.addEventListener(gapi.drive.realtime.EventType.COLLABORATOR_JOINED,mxUtils.bind(this,this.collaboratorListener));this.doc.addEventListener(gapi.drive.realtime.EventType.COLLABORATOR_LEFT,mxUtils.bind(this,this.collaboratorListener));null!=this.chatMap&&this.chatMap.addEventListener(gapi.drive.realtime.EventType.VALUE_CHANGED,mxUtils.bind(this,function(a){this.updateChatArea(a.target.get(a.property))}))}
- ChatWindow.prototype.window=null;ChatWindow.prototype.doc=null;ChatWindow.prototype.chatHistory=null;ChatWindow.prototype.chatMap=null;ChatWindow.prototype.chatHistoryShow=10;ChatWindow.prototype.chatHistorySize=0;ChatWindow.prototype.setChatMap=function(a){this.chatMap=a};
- ChatWindow.prototype.sendMessage=function(){try{var a={timestamp:(new Date).getTime(),collaboratorColor:this.collabColor,collaboratorName:this.displayName,text:this.chatLineArea.value,version:1};this.chatHistory.push(a);this.chatLineArea.value=""}catch(b){this.editorUi.handleError(b)}};
- ChatWindow.prototype.updateChatArea=function(a){a='<span style="color : '+a.collaboratorColor+';">►</span><b>'+a.collaboratorName+"</b>: "+this.htmlEscape(a.text)+"<br>";this.chatArea.innerHTML+=a;this.chatArea.scrollTop=this.chatArea.scrollHeight};
- ChatWindow.prototype.handleResize=function(){var a=this.window.getElement(),b=this.editorUi.editor.graph.isEnabled()?70:40;this.chatArea.style.height=Math.max(0,a.offsetHeight-b)+"px";this.chatLineArea.style.width=a.offsetWidth-this.sendBtn.offsetWidth-40+"px"};
- ChatWindow.prototype.collaboratorListener=function(a){if(!a.collaborator.isMe){if(a.type==gapi.drive.realtime.EventType.COLLABORATOR_JOINED)a='<span style="color : '+a.collaborator.color+';">▲</span><i>'+mxResources.get("chatJoined",[a.collaborator.displayName])+"</i>";else if(a.type==gapi.drive.realtime.EventType.COLLABORATOR_LEFT)a='<span style="color : '+a.collaborator.color+';">▼</span><i>'+mxResources.get("chatLeft",[a.collaborator.displayName])+"</i>";else return;this.chatArea.innerHTML=
- this.chatArea.innerHTML+a+"<br>";this.chatArea.scrollTop=this.chatArea.scrollHeight}};ChatWindow.prototype.configCollabInfo=function(){for(var a=this.doc.getCollaborators(),b=0;b<a.length;b++){var c=a[b];c.isMe&&(this.collabColor=c.color,this.displayName=c.displayName)}};ChatWindow.prototype.destroy=function(){this.window.destroy()};ChatWindow.prototype.htmlEscape=function(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")};App=function(a,b,c){EditorUi.call(this,a,b,null!=c?c:"1"==urlParams.lightbox);mxClient.IS_SVG?mxGraph.prototype.warningImage.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAE7SURBVHjaYvz//z8DJQAggBjwGXDuHMP/tWuD/uPTCxBAOA0AaQRK/f/+XeJ/cbHlf1wGAAQQTgPu3QNLgfHSpZo4DQAIIKwGwGyH4e/fFbG6AiQJEEAs2Ew2NFzH8OOHBMO6dT/A/KCg7wxGRh+wuhQggDBcALMdFIAcHBxgDGJjcwVIIUAAYbhAUXEdVos4OO4DXcGBIQ4QQCguQPY7sgtgAYruCpAgQACx4LJdU1OCwctLEcyWlLwPJF+AXQE0EMUBAAEEdwF6yMOiD4RRY0QT7gqQAEAAseDzu6XldYYPH9DD4joQa8L5AAEENgWb7SBcXa0JDQMBrK4AcQACiAlfyOMCEFdAnAYQQEz4FLa0XGf4/v0H0IIPONUABBAjyBmMjIwMS5cK/L927QORbtBkaG29DtYLEGAAH6f7oq3Zc+kAAAAASUVORK5CYII=":
- (new Image).src=mxGraph.prototype.warningImage.src;window.openWindow=mxUtils.bind(this,function(a,b,c){var d=null;try{d=window.open(a)}catch(e){}null==d||void 0===d?this.showDialog((new PopupDialog(this,a,b,c)).container,320,140,!0,!0):null!=b&&b()});this.updateDocumentTitle();this.updateUi();a=document.createElement("canvas");this.canvasSupported=!(!a.getContext||!a.getContext("2d"));window.showOpenAlert=mxUtils.bind(this,function(a){null!=window.openFile&&window.openFile.cancel(!0);this.handleError(a)});
- this.isOffline()||(EditDataDialog.placeholderHelpLink="https://desk.draw.io/support/solutions/articles/16000051979");this.addFileDropHandler([document]);if(null!=App.DrawPlugins){for(a=0;a<App.DrawPlugins.length;a++)try{App.DrawPlugins[a](this)}catch(d){null!=window.console&&console.log("Plugin Error:",d,App.DrawPlugins[a])}window.Draw.loadPlugin=mxUtils.bind(this,function(a){a(this)})}this.load()};App.ERROR_TIMEOUT="timeout";App.ERROR_BUSY="busy";App.ERROR_UNKNOWN="unknown";App.MODE_GOOGLE="google";
- App.MODE_DROPBOX="dropbox";App.MODE_ONEDRIVE="onedrive";App.MODE_GITHUB="github";App.MODE_DEVICE="device";App.MODE_BROWSER="browser";App.DROPBOX_APPKEY="libwls2fa9szdji";App.DROPBOX_URL="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js";App.DROPINS_URL="https://www.dropbox.com/static/api/2/dropins.js";App.ONEDRIVE_URL="https://js.live.net/v7.2/OneDrive.js";
- App.pluginRegistry={"4xAKTrabTpTzahoLthkwPNUn":"/plugins/explore.js",ex:"/plugins/explore.js",p1:"/plugins/p1.js",ac:"/plugins/connect.js",acj:"/plugins/connectJira.js",voice:"/plugins/voice.js",tips:"/plugins/tooltips.js",svgdata:"/plugins/svgdata.js",doors:"/plugins/doors.js",electron:"plugins/electron.js",number:"/plugins/number.js",sql:"/plugins/sql.js",props:"/plugins/props.js",text:"/plugins/text.js",anim:"/plugins/animation.js",update:"/plugins/update.js",trees:"/plugins/trees/trees.js","import":"/plugins/import.js",
- replay:"/plugins/replay.js",anon:"/plugins/anonymize.js"};App.getStoredMode=function(){var a=null;null==a&&isLocalStorage&&(a=localStorage.getItem(".mode"));if(null==a&&"undefined"!=typeof Storage){for(var b=document.cookie.split(";"),c=0;c<b.length;c++){var d=mxUtils.trim(b[c]);if("MODE="==d.substring(0,5)){a=d.substring(5);break}}null!=a&&isLocalStorage&&(b=new Date,b.setYear(b.getFullYear()-1),document.cookie="MODE=; expires="+b.toUTCString(),localStorage.setItem(".mode",a))}return a};
- (function(){mxClient.IS_CHROMEAPP||("1"!=urlParams.offline&&("db.draw.io"==window.location.hostname&&null==urlParams.mode&&(urlParams.mode="dropbox"),App.mode=urlParams.mode,null==App.mode&&(App.mode=App.getStoredMode())),null!=window.mxscript&&("1"!=urlParams.embed&&("function"===typeof window.DriveClient&&("0"!=urlParams.gapi&&isSvgBrowser&&(null==document.documentMode||10<=document.documentMode)?App.mode==App.MODE_GOOGLE||null!=urlParams.state&&""==window.location.hash||null!=window.location.hash&&
- "#G"==window.location.hash.substring(0,2)?mxscript("https://apis.google.com/js/api.js"):"0"!=urlParams.chrome||null!=window.location.hash&&"#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D"===window.location.hash.substring(0,45)||(window.DriveClient=null):window.DriveClient=null),"function"===typeof window.DropboxClient&&("0"!=urlParams.db&&isSvgBrowser&&(null==document.documentMode||9<document.documentMode)?App.mode==App.MODE_DROPBOX||null!=window.location.hash&&"#D"==window.location.hash.substring(0,
- 2)?(mxscript(App.DROPBOX_URL),mxscript(App.DROPINS_URL,null,"dropboxjs",App.DROPBOX_APPKEY)):"0"==urlParams.chrome&&(window.DropboxClient=null):window.DropboxClient=null),"function"===typeof window.OneDriveClient&&("0"!=urlParams.od&&(0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode)?App.mode==App.MODE_ONEDRIVE||null!=window.location.hash&&"#W"==window.location.hash.substring(0,2)?mxscript(App.ONEDRIVE_URL):"0"==urlParams.chrome&&(window.OneDriveClient=null):window.OneDriveClient=
- null)),"undefined"==typeof JSON&&mxscript("js/json/json2.min.js")))})();
- App.main=function(a){var b=null;EditorUi.enableLogging&&(window.onerror=function(a,c,d,f,g){try{if(a!=b&&(null==a||null==c||-1==a.indexOf("Script error")&&-1==a.indexOf("extension"))&&null!=a&&0>a.indexOf("DocumentClosedError")){b=a;var e=new Image,h=0<=a.indexOf("NetworkError")||0<=a.indexOf("SecurityError")||0<=a.indexOf("NS_ERROR_FAILURE")||0<=a.indexOf("out of memory")?"CONFIG":"SEVERE";e.src=(null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"")+"/log?severity="+h+"&v="+encodeURIComponent(EditorUi.VERSION)+
- "&msg=clientError:"+encodeURIComponent(a)+":url:"+encodeURIComponent(window.location.href)+":lnum:"+encodeURIComponent(d)+(null!=f?":colno:"+encodeURIComponent(f):"")+(null!=g&&null!=g.stack?"&stack="+encodeURIComponent(g.stack):"")}}catch(q){}});"atlas"==uiTheme&&mxClient.link("stylesheet","styles/atlas.css");if(null!=window.mxscript){"0"!=urlParams.chrome&&mxscript("js/jscolor/jscolor.js");if("1"==urlParams.offline){mxscript("js/shapes.min.js");var c=document.createElement("iframe");c.setAttribute("width",
- "0");c.setAttribute("height","0");c.setAttribute("src","offline.html");document.body.appendChild(c);mxStencilRegistry.stencilSet={};mxStencilRegistry.getStencil=function(a){return mxStencilRegistry.stencils[a]};mxStencilRegistry.loadStencilSet=function(a,b,c){a=a.substring(a.indexOf("/")+1);a="mxgraph."+a.substring(0,a.length-4).replace(/\//g,".");a=mxStencilRegistry.stencilSet[a];null!=a&&mxStencilRegistry.parseStencilSet(a,b,!1)};for(c=mxUtils.load("stencils.xml").getXml().documentElement.firstChild;null!=
- c;)"shapes"==c.nodeName&&null!=c.getAttribute("name")&&(mxStencilRegistry.stencilSet[c.getAttribute("name").toLowerCase()]=c,mxStencilRegistry.parseStencilSet(c)),c=c.nextSibling}"0"==urlParams.picker||mxClient.IS_QUIRKS||8==document.documentMode||mxscript(document.location.protocol+"//www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22picker%22%2C%22version%22%3A%221%22%2C%22language%22%3A%22"+mxClient.language+"%22%7D%5D%7D");if("0"!=urlParams.plugins&&"1"!=urlParams.offline){var c=
- mxSettings.getPlugins(),d=urlParams.p;(null!=d||null!=c&&0<c.length)&&App.initPluginCallback();if(null!=d){var f="";"1"==urlParams.drawdev&&(f=document.location.protocol+"//drawhost.jgraph.com/");for(var g=d.split(";"),d=0;d<g.length;d++){var l=App.pluginRegistry[g[d]];null!=l?mxscript(f+l):null!=window.console&&console.log("Unknown plugin:",g[d])}}if(null!=c&&0<c.length&&"0"!=urlParams.plugins){f=window.location.protocol+"//"+window.location.host;g=!0;for(d=0;d<c.length&&g;d++)"/"!=c[d].charAt(0)&&
- c[d].substring(0,f.length)!=f&&(g=!1);if(g||mxUtils.confirm(mxResources.replacePlaceholders("The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n",[c.join("\n")]).replace(/\\n/g,"\n")))for(d=0;d<c.length;d++)try{mxscript(c[d])}catch(e){}}}"function"===typeof window.DriveClient&&"undefined"===typeof gapi&&("1"!=urlParams.embed&&"0"!=urlParams.gapi||
- "1"==urlParams.embed&&"1"==urlParams.gapi)&&isSvgBrowser&&isLocalStorage&&(null==document.documentMode||10<=document.documentMode)?mxscript("https://apis.google.com/js/api.js?onload=DrawGapiClientCallback"):"undefined"===typeof window.gapi&&(window.DriveClient=null)}"0"!=urlParams.math&&Editor.initMath();mxResources.loadDefaultBundle=!1;c=mxResources.getDefaultBundle(RESOURCE_BASE,mxLanguage)||mxResources.getSpecialBundle(RESOURCE_BASE,mxLanguage);mxUtils.getAll("1"!=urlParams.dev?[c]:[c,STYLE_PATH+
- "/default.xml"],function(b){mxResources.parse(b[0].getText());1<b.length&&(Graph.prototype.defaultThemes[Graph.prototype.defaultThemeName]=b[1].getDocumentElement());b=new App(new Editor("0"==urlParams.chrome));if(null!=window.mxscript){if("function"===typeof window.DropboxClient&&null==window.Dropbox&&null!=window.DrawDropboxClientCallback&&("1"!=urlParams.embed&&"0"!=urlParams.db||"1"==urlParams.embed&&"1"==urlParams.db)&&isSvgBrowser&&(null==document.documentMode||9<document.documentMode))mxscript(App.DROPBOX_URL,
- function(){mxscript(App.DROPINS_URL,function(){DrawDropboxClientCallback()},"dropboxjs",App.DROPBOX_APPKEY)});else if("undefined"===typeof window.Dropbox||"undefined"===typeof window.Dropbox.choose)window.DropboxClient=null;"function"===typeof window.OneDriveClient&&"undefined"===typeof OneDrive&&null!=window.DrawOneDriveClientCallback&&("1"!=urlParams.embed&&"0"!=urlParams.od||"1"==urlParams.embed&&"1"==urlParams.od)&&(0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode)?mxscript(App.ONEDRIVE_URL,
- window.DrawOneDriveClientCallback):"undefined"===typeof window.OneDrive&&(window.OneDriveClient=null)}null!=a&&a(b);"0"!=urlParams.chrome&&"1"==urlParams.test&&(mxLog.show(),mxLog.debug("Started in "+((new Date).getTime()-t0.getTime())+"ms"),mxLog.debug("Export:",EXPORT_URL),mxLog.debug("Development mode:","1"==urlParams.dev?"active":"inactive"),mxLog.debug("Test mode:","1"==urlParams.test?"active":"inactive"))},function(){document.getElementById("geStatus").innerHTML='Error loading page. <a href="javascript:void(0);" onclick="location.reload();">Please try refreshing.</a>'})};
- mxUtils.extend(App,EditorUi);App.prototype.defaultUserPicture="https://lh3.googleusercontent.com/-HIzvXUy6QUY/AAAAAAAAAAI/AAAAAAAAAAA/giuR7PQyjEk/photo.jpg?sz=30";App.prototype.shareImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowOTgwMTE3NDA3MjA2ODExODhDNkFGMDBEQkQ0RTgwOSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxMjU2NzdEMTcwRDIxMUUxQjc0MDkxRDhCNUQzOEFGRCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxMjU2NzdEMDcwRDIxMUUxQjc0MDkxRDhCNUQzOEFGRCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowNjgwMTE3NDA3MjA2ODExODcxRkM4MUY1OTFDMjQ5OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNzgwMTE3NDA3MjA2ODExODhDNkFGMDBEQkQ0RTgwOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrM/fs0AAADgSURBVHjaYmDAA/7//88MwgzkAKDGFiD+BsQ/QWxSNaf9RwN37twpI8WAS+gGfP78+RpQSoRYA36iG/D379+vQClNdLVMOMz4gi7w79+/n0CKg1gD9qELvH379hzIHGK9oA508ieY8//8+fO5rq4uFCilRKwL1JmYmNhhHEZGRiZ+fn6Q2meEbDYG4u3/cYCfP38uA7kOm0ZOIJ7zn0jw48ePPiDFhmzArv8kgi9fvuwB+w5qwH9ykjswbFSZyM4sEMDPBDTlL5BxkFSd7969OwZ2BZKYGhDzkmjOJ4AAAwBhpRqGnEFb8QAAAABJRU5ErkJggg==";
- App.prototype.chevronUpImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg2NEE3NUY1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg2NEE3NjA1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ODY0QTc1RDUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0ODY0QTc1RTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pg+qUokAAAAMUExURQAAANnZ2b+/v////5bgre4AAAAEdFJOU////wBAKqn0AAAAL0lEQVR42mJgRgMMRAswMKAKMDDARBjg8lARBoR6KImkH0wTbygT6YaS4DmAAAMAYPkClOEDDD0AAAAASUVORK5CYII=":
- IMAGE_PATH+"/chevron-up.png";
- App.prototype.chevronDownImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg2NEE3NUI1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg2NEE3NUM1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ODY0QTc1OTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0ODY0QTc1QTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsCtve8AAAAMUExURQAAANnZ2b+/v////5bgre4AAAAEdFJOU////wBAKqn0AAAALUlEQVR42mJgRgMMRAkwQEXBNAOcBSPhclB1cNVwfcxI+vEZykSpoSR6DiDAAF23ApT99bZ+AAAAAElFTkSuQmCC":IMAGE_PATH+
- "/chevron-down.png";
- App.prototype.formatShowImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODdCREY5REY1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODdCREY5RTA1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4N0JERjlERDU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4N0JERjlERTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PlnMQ/8AAAAJUExURQAAAP///3FxcTfTiAsAAAACdFJOU/8A5bcwSgAAACFJREFUeNpiYEQDDEQJMMABTAAixcQ00ALoDiPRcwABBgB6DADly9Yx8wAAAABJRU5ErkJggg==":IMAGE_PATH+
- "/format-show.png";
- App.prototype.formatHideImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODdCREY5REI1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODdCREY5REM1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4N0JERjlEOTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4N0JERjlEQTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqjT9SMAAAAGUExURQAAAP///6XZn90AAAACdFJOU/8A5bcwSgAAAB9JREFUeNpiYEQDDEQJMMABTAAmNdAC6A4j0XMAAQYAcbwA1Xvj1CgAAAAASUVORK5CYII=":IMAGE_PATH+
- "/format-hide.png";App.prototype.fullscreenImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAAAAAClZ7nPAAAAAXRSTlMAQObYZgAAABpJREFUCNdjgAAbGxAy4AEh5gNwBBGByoIBAIueBd12TUjqAAAAAElFTkSuQmCC":IMAGE_PATH+"/fullscreen.png";App.prototype.timeout=25E3;"1"!=urlParams.embed&&(App.prototype.menubarHeight=60);App.initPluginCallback=function(){null==App.DrawPlugins&&(App.DrawPlugins=[],window.Draw={},window.Draw.loadPlugin=function(a){App.DrawPlugins.push(a)})};
- App.prototype.init=function(){EditorUi.prototype.init.apply(this,arguments);this.defaultLibraryName=mxResources.get("untitledLibrary");this.descriptorChangedListener=mxUtils.bind(this,this.descriptorChanged);this.basicAds=['<a title="Share on Twitter" target="_blank" href="https://twitter.com/intent/tweet?text=www.draw.io free online diagramming" onclick="javascript:window.open(this.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,left=\'+((screen.width-640)/2)+\',top=\'+((screen.height-280)/3)+\',height=280,width=640\');return false;"\'><img border="0" align="absmiddle" width="18" height="18" style="margin-top:-2px;padding-right:8px;" src="'+
- Editor.tweetImage+'"/>Share on Twitter</a>','<a title="Share on Facebook" target="_blank" href="https://www.facebook.com/sharer.php?u='+encodeURIComponent("https://www.draw.io")+'" onclick="javascript:window.open(this.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,left=\'+((screen.width-640)/2)+\',top=\'+((screen.height-520)/3)+\',height=520,width=640\');return false;"\'><img border="0" align="absmiddle" width="18" height="18" style="margin-top:-2px;padding-right:8px;" src="'+Editor.facebookImage+
- '"/>Share on Facebook</a>','<a title="draw.io Offline" href="https://www.draw.io/app" target="_blank"><img border="0" align="absmiddle" style="margin-top:-1px;padding-right:8px;" src="images/download.png"/>draw.io Offline</a>'];this.gitHub=mxClient.IS_IE&&10!=document.documentMode&&!mxClient.IS_IE11&&!mxClient.IS_EDGE||"0"==urlParams.gh||"1"==urlParams.embed&&"1"!=urlParams.gh?null:new GitHubClient(this);null!=this.gitHub&&this.gitHub.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();
- this.restoreLibraries()}));if("1"!=urlParams.embed||"1"==urlParams.od){var a=mxUtils.bind(this,function(){"undefined"!==typeof OneDrive?(this.oneDrive=new OneDriveClient(this),this.oneDrive.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()})),this.fireEvent(new mxEventObject("clientLoaded","client",this.oneDrive))):null==window.DrawOneDriveClientCallback&&(window.DrawOneDriveClientCallback=a)});a()}if("1"!=urlParams.embed||"1"==urlParams.gapi){var b=
- mxUtils.bind(this,function(){if("undefined"!==typeof gapi){var a=mxUtils.bind(this,function(){this.drive=new DriveClient(this);"420247213240"==this.drive.appId&&this.editor.addListener("fileLoaded",mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&a.constructor==DriveFile&&(a=document.getElementById("geFooterItem2"),null!=a&&(a.innerHTML='<a href="https://support.draw.io/display/DO/2014/11/27/Switching+application+in+Google+Drive" target="_blank" title="IMPORTANT NOTICE" >IMPORTANT NOTICE</a>'))}));
- this.drive.addListener("userChanged",mxUtils.bind(this,function(){null!=this.updateAd&&(this.adsHtml=this.basicAds.concat(['<a title="Google Docs Add-on" href="https://chrome.google.com/webstore/detail/drawio-diagrams/clpbjldiohnnmfmkngmaohehlnfkmoea" target="_blank"><img border="0" align="absmiddle" style="margin-top:-4px;" src="images/glyphicons_star.png"/> Google Docs Add-on</a>','<a title="Please help us to 5 stars" href="https://chrome.google.com/webstore/detail/drawio-pro/onlkggianjhjenigcpigpjehhpplldkc/reviews" target="_blank"><img border="0" align="absmiddle" style="margin-top:-4px;" src="images/glyphicons_star.png"/> Please help us to 5 stars</a>']));
- this.updateUserElement();this.restoreLibraries();this.checkLicense()}));this.fireEvent(new mxEventObject("clientLoaded","client",this.drive))});null!=window.DrawGapiClientCallback?(gapi.load("auth:client,drive-realtime,drive-share",mxUtils.bind(this,function(b){null!=gapi.drive&&null!=gapi.drive.realtime&&gapi.client.load("drive","v2",mxUtils.bind(this,function(){this.defineCustomObjects();gapi.auth.init(mxUtils.bind(this,function(){null!=gapi.client.drive&&a()}))}))})),window.DrawGapiClientCallback=
- null):a()}else null==window.DrawGapiClientCallback&&(window.DrawGapiClientCallback=b)});b()}if("1"!=urlParams.embed||"1"==urlParams.db){var c=mxUtils.bind(this,function(){"function"===typeof Dropbox&&"undefined"!==typeof Dropbox.choose?(window.DrawDropboxClientCallback=null,this.dropbox=new DropboxClient(this),this.dropbox.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()})),this.fireEvent(new mxEventObject("clientLoaded","client",this.dropbox))):
- null==window.DrawDropboxClientCallback&&(window.DrawDropboxClientCallback=c)});c()}"1"!=urlParams.embed?(this.bg=this.createBackground(),document.body.appendChild(this.bg),this.diagramContainer.style.visibility="hidden",this.formatContainer.style.visibility="hidden",this.hsplit.style.display="none",this.sidebarContainer.style.display="none",this.sidebarFooterContainer.style.display="none","1"==urlParams.local?this.setMode(App.MODE_DEVICE):this.mode=App.mode):null!=this.menubar&&(this.menubar.container.style.paddingTop=
- "0px");this.updateHeader();var d=document.getElementById("geFooterItem1");null!=d&&(0<=["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(navigator.platform)?d.innerHTML='<a title="draw.io for macOS" href="https://www.facebook.com/drawioapp/posts/1628618103829386" target="_blank"><img border="0" align="absmiddle" style="margin-top:-4px;" width="24" height="24" src="images/drawlogo48.png"/> draw.io for macOS</a>':0<=["Win32","Win64","Windows","WinCE"].indexOf(navigator.platform)?d.innerHTML=
- '<a title="draw.io for Windows" href="https://www.facebook.com/drawioapp/posts/1628618103829386" target="_blank"><img border="0" align="absmiddle" style="margin-top:-4px;" width="24" height="24" src="images/drawlogo48.png"/> draw.io for Windows</a>':/\bCrOS\b/.test(navigator.userAgent)?d.innerHTML='<a title="draw.io for Chrome OS" href="https://chrome.google.com/webstore/detail/drawio-desktop/pebppomjfocnoigkeepgbmcifnnlndla" target="_blank"><img border="0" align="absmiddle" style="margin-top:-4px;" width="24" height="24" src="images/drawlogo48.png"/> draw.io for Chrome OS</a>':
- /Linux/.test(navigator.platform)?d.innerHTML='<a title="draw.io for Linux" href="https://www.facebook.com/drawioapp/posts/1628618103829386" target="_blank"><img border="0" align="absmiddle" style="margin-top:-4px;" width="24" height="24" src="images/drawlogo48.png"/> draw.io for Linux</a>':d.innerHTML='<a title="draw.io Desktop" href="https://www.facebook.com/drawioapp/posts/1628618103829386" target="_blank"><img border="0" align="absmiddle" style="margin-top:-4px;" width="24" height="24" src="images/drawlogo48.png"/> draw.io Desktop</a>');
- var f=document.getElementById("geFooterItem2");if(null!=f){this.basicAds.push(f.innerHTML);this.adsHtml=this.basicAds;var g=this.adsHtml.length-1,l=null,e=null;this.updateAd=function(a,b){b=null!=b?b:1E3;mxUtils.setPrefixedStyle(f.style,"transition","all "+b/1E3+"s ease");null!=l&&(window.clearTimeout(l),l=null);1==this.adsHtml.length&&window.clearInterval(e);0==this.adsHtml.length?(f.style.visibility="hidden",f.innerHTML=""):(f.style.visibility="visible",a==g&&a++,mxUtils.setPrefixedStyle(f.style,
- "transform","scale(0)"),f.style.opacity="0",window.setTimeout(mxUtils.bind(this,function(){f.innerHTML=this.adsHtml[a];mxUtils.setPrefixedStyle(f.style,"transform","scale(1)");f.style.opacity="1";g=a}),b))};e=window.setInterval(mxUtils.bind(this,function(){this.updateAd(Math.round(Math.random()*(this.adsHtml.length-2)))}),18E4);mxEvent.addListener(f,"click",mxUtils.bind(this,function(){this.adsHtml.splice(g,1);g=null;this.updateAd(0)}));10<mxSettings.getOpenCounter()&&"1"!=urlParams.embed&&(l=window.setTimeout(mxUtils.bind(this,
- function(){this.updateAd(0)}),15E3))}null!=this.menubar&&(this.buttonContainer=document.createElement("div"),this.buttonContainer.style.display="inline-block",this.buttonContainer.style.paddingRight="48px",this.buttonContainer.style.position="absolute",this.buttonContainer.style.right="0px",this.menubar.container.appendChild(this.buttonContainer));"atlas"==uiTheme&&null!=this.menubar&&(null!=this.toggleElement&&(this.toggleElement.click(),this.toggleElement.style.display="none"),this.icon=document.createElement("img"),
- this.icon.setAttribute("src",IMAGE_PATH+"/logo-flat-small.png"),this.icon.setAttribute("title",mxResources.get("draw.io")),this.icon.style.paddingTop="11px",this.icon.style.marginLeft="4px",this.icon.style.marginRight="6px",mxClient.IS_QUIRKS&&(this.icon.style.marginTop="12px"),this.menubar.container.insertBefore(this.icon,this.menubar.container.firstChild))};
- App.prototype.isDriveDomain=function(){return"0"!=urlParams.drive&&("test.draw.io"==window.location.hostname||"cdn.draw.io"==window.location.hostname||"www.draw.io"==window.location.hostname||"drive.draw.io"==window.location.hostname||"jgraph.github.io"==window.location.hostname)};App.prototype.isLegacyDriveDomain=function(){return 0==urlParams.drive||"legacy.draw.io"==window.location.hostname};
- App.prototype.checkLicense=function(){var a=this.drive.getUser(),b=("1"==urlParams.dev?urlParams.lic:null)||(null!=a?a.email:null);if(!this.isOffline()&&!this.editor.chromeless&&null!=b){var c=b.lastIndexOf("@"),d=b;0<=c&&(d=b.substring(c+1));mxUtils.post("/license","domain="+encodeURIComponent(d)+"&email="+encodeURIComponent(b)+"&ds="+encodeURIComponent(a.displayName)+"&lc="+encodeURIComponent(a.locale)+"&ts="+(new Date).getTime(),mxUtils.bind(this,function(a){try{if(200<=a.getStatus()&&299>=a.getStatus()){var b=
- a.getText();if(0<b.length){var c=JSON.parse(b);null!=c&&this.handleLicense(c,d)}}}catch(e){}}))}};
- App.prototype.handleLicense=function(a,b){var c=document.getElementById("geFooter"),d=null;if(null!=c&&null!=a)if(d=a.expiry,null!=a.footer)c.innerHTML=decodeURIComponent(a.footer);else if(this.hideFooter(),null!=d&&"never"!=d){var f=new Date(Date.parse(d)),g=Math.round((f-Date.now())/864E5);if(90>g){var l="https://support.draw.io/display/DKB/draw.io+footer+state+that+license+is+expiring+on+Google+For+Work+account?domain="+encodeURIComponent(b);c.style.height="100%";c.style.margin="0px";c.style.display=
- "";0>g?(this.footerHeight=80,c.innerHTML='<table height="100%"><tr><td valign="middle" align="center" class="geStatusAlert geBlink"><a href="'+l+'" style="padding-top:16px;" target="_blank"><img border="0" src="'+mxGraph.prototype.warningImage.src+'" align="top" style="margin-right:6px">'+mxResources.get("licenseHasExpired",[b,f.toLocaleDateString()])+"</a></td></tr></table>"):(this.footerHeight=46,c.innerHTML='<table height="100%"><tr><td valign="middle" align="center" class="geStatusAlert"><a href="'+
- l+'" target="_blank"><img border="0" src="'+mxGraph.prototype.warningImage.src+'" align="top" style="margin-right:6px">'+mxResources.get("licenseWillExpire",[b,f.toLocaleDateString()])+"</a></td></tr></table>");this.refresh()}}return d};App.prototype.getEditBlankXml=function(){var a=this.getCurrentFile();return null!=a&&this.editor.chromeless&&this.editor.graph.lightbox&&null==a.realtime?a.getData():this.getFileData(!0)};
- App.prototype.updateActionStates=function(){EditorUi.prototype.updateActionStates.apply(this,arguments);var a=this.getCurrentFile();this.actions.get("revisionHistory").setEnabled(null!=a&&(a.constructor==DriveFile&&a.isEditable()||a.constructor==DropboxFile))};App.prototype.updateDraft=function(){isLocalStorage&&null!=localStorage&&localStorage.setItem(".draft",JSON.stringify({modified:(new Date).getTime(),data:this.getFileData()}))};App.prototype.getDraft=function(){return null};
- App.prototype.addRecent=function(a){if(isLocalStorage&&null!=localStorage){var b=this.getRecent();if(null==b)b=[];else for(var c=0;c<b.length;c++)b[c].id==a.id&&b.splice(c,1);null!=b&&(b.unshift(a),b=b.slice(0,5),localStorage.setItem(".recent",JSON.stringify(b)))}};App.prototype.getRecent=function(){if(isLocalStorage&&null!=localStorage){try{var a=localStorage.getItem(".recent");if(null!=a)return JSON.parse(a)}catch(b){}return null}};
- App.prototype.resetRecent=function(a){if(isLocalStorage&&null!=localStorage)try{localStorage.removeItem(".recent")}catch(b){}};App.prototype.removeDraft=function(){if(isLocalStorage&&null!=localStorage&&"0"==urlParams.splash)try{localStorage.removeItem(".draft")}catch(a){}};
- App.prototype.onBeforeUnload=function(){if("1"==urlParams.embed&&this.editor.modified)return mxResources.get("allChangesLost");var a=this.getCurrentFile();if(null!=a)if(a.constructor!=LocalFile||""!=a.getHash()||a.isModified()||"1"==urlParams.nowarn||this.isDiagramEmpty()||null!=urlParams.url||this.editor.chromeless){if(a.constructor!=DriveFile&&a.isModified())return mxResources.get("allChangesLost");a.close(!0)}else return mxResources.get("ensureDataSaved")};
- App.prototype.updateDocumentTitle=function(){if(!this.editor.graph.lightbox){var a=this.editor.appName,b=this.getCurrentFile();this.isOfflineApp()&&(a+=" app");null!=b&&(a=(null!=b.getTitle()?b.getTitle():this.defaultFilename)+" - "+a);document.title=a}};App.prototype.createCrcTable=function(){for(var a=[],b,c=0;256>c;c++){b=c;for(var d=0;8>d;d++)b=b&1?3988292384^b>>>1:b>>>1;a[c]=b}return a};
- App.prototype.crc32=function(a){this.crcTable=this.crcTable||this.createCrcTable();for(var b=-1,c=0;c<a.length;c++)b=b>>>8^this.crcTable[(b^a.charCodeAt(c))&255];return(b^-1)>>>0};
- App.prototype.getThumbnail=function(a,b){var c=!1;try{null==this.thumbImageCache&&(this.thumbImageCache={});var d=this.editor.graph;if(null!=this.pages&&this.currentPage!=this.pages[0]){var d=this.createTemporaryGraph(d.getStylesheet()),f=d.getGlobalVariable,g=this.pages[0];d.getGlobalVariable=function(a){return"page"==a?g.getName():"pagenumber"==a?1:f.apply(this,arguments)};document.body.appendChild(d.container);d.model.setRoot(g.root)}if(mxClient.IS_CHROMEAPP||!d.mathEnabled&&this.useCanvasForExport)this.exportToCanvas(mxUtils.bind(this,
- function(a){d!=this.editor.graph&&d.container.parentNode.removeChild(d.container);b(a)}),a,this.thumbImageCache,"#ffffff",function(){b()},null,null,null,null,null,null,d),c=!0;else if(this.canvasSupported&&null!=this.getCurrentFile()){var l=document.createElement("canvas"),e=d.getGraphBounds(),h=a/e.width,h=Math.min(1,Math.min(3*a/(4*e.height),h)),k=Math.floor(e.x),m=Math.floor(e.y);l.setAttribute("width",Math.ceil(h*(e.width+4)));l.setAttribute("height",Math.ceil(h*(e.height+4)));var n=l.getContext("2d");
- n.scale(h,h);n.translate(-k,-m);var p=d.background;if(null==p||""==p||p==mxConstants.NONE)p="#ffffff";n.save();n.fillStyle=p;n.fillRect(k,m,Math.ceil(e.width+4),Math.ceil(e.height+4));n.restore();var t=new mxJsCanvas(l),q=new mxAsyncCanvas(this.thumbImageCache);t.images=this.thumbImageCache.images;var w=new mxImageExport;w.drawShape=function(a,b){a.shape instanceof mxShape&&a.shape.checkBounds()&&(b.save(),b.translate(.5,.5),a.shape.paint(b),b.translate(-.5,-.5),b.restore())};w.drawText=function(a,
- b){};w.drawState(d.getView().getState(d.model.root),q);q.finish(mxUtils.bind(this,function(){w.drawState(d.getView().getState(d.model.root),t);d!=this.editor.graph&&d.container.parentNode.removeChild(d.container);b(l)}));c=!0}}catch(u){d!=this.editor.graph&&d.container.parentNode.removeChild(d.container)}return c};
- App.prototype.createBackground=function(){var a=this.createDiv("background");a.style.position="absolute";a.style.background="white";a.style.left="0px";a.style.top="0px";a.style.bottom="0px";a.style.right="0px";mxUtils.setOpacity(a,100);mxClient.IS_QUIRKS&&new mxDivResizer(a);return a};
- (function(){var a=EditorUi.prototype.setMode;App.prototype.setMode=function(b,c){a.apply(this,arguments);null!=this.mode&&(Editor.useLocalStorage=this.mode==App.MODE_BROWSER);if(c)if(isLocalStorage)localStorage.setItem(".mode",b);else if("undefined"!=typeof Storage){var d=new Date;d.setYear(d.getFullYear()+1);document.cookie="MODE="+b+"; expires="+d.toUTCString()}null!=this.appIcon&&(d=this.getCurrentFile(),b=null!=d?d.getMode():null,b==App.MODE_GOOGLE?(this.appIcon.setAttribute("title",mxResources.get("openIt",
- [mxResources.get("googleDrive")])),this.appIcon.style.cursor="pointer"):b==App.MODE_DROPBOX?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("dropbox")])),this.appIcon.style.cursor="pointer"):b==App.MODE_ONEDRIVE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("oneDrive")])),this.appIcon.style.cursor="pointer"):(this.appIcon.removeAttribute("title"),this.appIcon.style.cursor="default"))}})();
- App.prototype.appIconClicked=function(a){if(mxEvent.isAltDown(a))this.showSplash(!0);else{var b=this.getCurrentFile(),c=null!=b?b.getMode():null;c==App.MODE_GOOGLE?0<b.desc.parents.length?window.open("https://drive.google.com/drive/folders/"+b.desc.parents[0].id):window.open("https://drive.google.com/?authuser=0"):c==App.MODE_DROPBOX?window.open("https://www.dropbox.com/"):c==App.MODE_ONEDRIVE?window.open("https://onedrive.live.com/"):c==App.MODE_GITHUB&&(null!=b&&b.constructor==GitHubFile?window.open(b.meta.html_url):
- window.open("https://github.com/"))}mxEvent.consume(a)};App.prototype.clearMode=function(){if(isLocalStorage)localStorage.removeItem(".mode");else if("undefined"!=typeof Storage){var a=new Date;a.setYear(a.getFullYear()-1);document.cookie="MODE=; expires="+a.toUTCString()}};App.prototype.getDiagramId=function(){var a=window.location.hash;null!=a&&0<a.length&&(a=a.substring(1));return a};
- App.prototype.open=function(){try{if(null!=window.opener){var a=urlParams.create;null!=a&&(a=decodeURIComponent(a));if(null!=a&&0<a.length&&"http://"!=a.substring(0,7)&&"https://"!=a.substring(0,8)){var b=mxUtils.parseXml(window.opener[a]);this.editor.setGraphXml(b.documentElement)}else null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,b,f){this.spinner.stop();null==b&&(b=urlParams.title,f=!0,b=null!=b?decodeURIComponent(b):this.defaultFilename);0<(".png"==
- b.substring(b.length-4))&&(b=b.substring(0,b.length-4)+".xml");this.fileLoaded(mxClient.IS_IOS?new StorageFile(this,a,b):new LocalFile(this,a,b,f))}))}}catch(c){}};
- App.prototype.load=function(){if("1"!=urlParams.embed){if(this.spinner.spin(document.body,mxResources.get("starting"))){try{this.stateArg=null!=urlParams.state&&null!=this.drive?JSON.parse(decodeURIComponent(urlParams.state)):null}catch(a){}this.editor.graph.setEnabled(null!=this.getCurrentFile());null!=window.location.hash&&0!=window.location.hash.length||null==this.drive||null==this.stateArg||null==this.stateArg.userId||this.drive.setUserId(this.stateArg.userId);null!=urlParams.fileId?(window.location.hash=
- "G"+urlParams.fileId,window.location.search=this.getSearch(["fileId"])):null==this.drive?(this.mode==App.MODE_GOOGLE&&(this.mode=null),this.start()):gapi.load("auth:client,drive-realtime,drive-share",mxUtils.bind(this,function(a){null==gapi.drive||null==gapi.drive.realtime?(this.drive=this.mode=null,this.start()):gapi.client.load("drive","v2",mxUtils.bind(this,function(){gapi.auth.init(mxUtils.bind(this,function(){null==gapi.client.drive&&(this.drive=this.mode=null);this.start()}))}))}))}}else this.restoreLibraries()};
- App.prototype.showAlert=function(a){if(null!=a&&0<a.length){var b=document.createElement("div");b.className="geAlert";b.style.zIndex=2E9;b.style.left="50%";b.style.top="-100%";mxUtils.setPrefixedStyle(b.style,"transform","translate(-50%,0%)");mxUtils.setPrefixedStyle(b.style,"transition","all 1s ease");b.innerHTML=a;a=document.createElement("a");a.className="geAlertLink";a.style.textAlign="right";a.style.marginTop="20px";a.style.display="block";a.setAttribute("href","javascript:void(0);");a.setAttribute("title",
- mxResources.get("close"));a.innerHTML=mxResources.get("close");b.appendChild(a);mxEvent.addListener(a,"click",function(a){null!=b.parentNode&&(b.parentNode.removeChild(b),mxEvent.consume(a))});document.body.appendChild(b);window.setTimeout(function(){b.style.top="30px"},10);window.setTimeout(function(){mxUtils.setPrefixedStyle(b.style,"transition","all 2s ease");b.style.opacity="0";window.setTimeout(function(){null!=b.parentNode&&b.parentNode.removeChild(b)},2E3)},15E3)}};
- App.prototype.start=function(){this.bg.parentNode.removeChild(this.bg);this.restoreLibraries();this.spinner.stop();try{if("1"!=urlParams.client&&"1"!=urlParams.embed&&mxEvent.addListener(window,"hashchange",mxUtils.bind(this,function(a){try{var b=this.getDiagramId(),c=this.getCurrentFile();null!=c&&c.getHash()==b||this.loadFile(b,!0)}catch(e){null!=document.body&&this.handleError(e,mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash=null!=
- a?a.getHash():""}))}})),(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.url)this.loadFile("U"+urlParams.url,!0);else if(null==this.getCurrentFile()){var a=mxUtils.bind(this,function(){if("1"==urlParams.client&&(null==window.location.hash||0==window.location.hash.length)){var a=window.opener||window.parent;a!=window&&this.installMessageHandler(mxUtils.bind(this,function(b,c){if(c.source==a){"data:image/png;base64,"==b.substring(0,22)&&(b=this.extractGraphModelFromPng(b));
- var d=urlParams.title,d=null!=d?decodeURIComponent(d):this.defaultFilename;this.fileLoaded(new LocalFile(this,b,d,!0));this.getCurrentFile().setModified(!this.editor.chromeless)}}))}else if(null==this.dialog)if("1"==urlParams.demo){var b=Editor.useLocalStorage;this.createFile(this.defaultFilename,null,null,null,null,null,null,!0);Editor.useLocalStorage=b}else{b=!1;try{b=null!=window.opener&&null!=window.opener.openFile}catch(h){}if(b)this.spinner.spin(document.body,mxResources.get("loading"));else if(b=
- this.getDiagramId(),"0"!=urlParams.splash||null!=b&&0!=b.length)this.loadFile(this.getDiagramId());else{var c=this.getDraft(),d=null!=c?c.data:this.getFileData(),b=Editor.useLocalStorage;this.createFile(this.defaultFilename,d,null,null,null,null,null,!0);Editor.useLocalStorage=b;null!=c&&(b=this.getCurrentFile(),null!=b&&b.addUnsavedStatus())}}});null!=this.drive&&this.defineCustomObjects();var b=decodeURIComponent(urlParams.create||"");if((null==window.location.hash||1>=window.location.hash.length)&&
- null!=b&&0<b.length&&this.spinner.spin(document.body,mxResources.get("loading"))){var c=mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("reconnecting"))&&(window.location.search=this.getSearch(["create","title"]))}),d=mxUtils.bind(this,function(a){this.spinner.stop();if("0"!=urlParams.splash){this.fileLoaded(new LocalFile(this,a,null));this.editor.graph.setEnabled(!1);this.mode=urlParams.mode;var b=urlParams.title,b=null!=b?decodeURIComponent(b):this.defaultFilename;a=
- this.getServiceCount(!0);var c=4>=a?4:3,b=new CreateDialog(this,b,mxUtils.bind(this,function(a,b){if(null==b){this.hideDialog();var c=Editor.useLocalStorage;this.createFile(0<a.length?a:this.defaultFilename,this.getFileData(),null,null,null,null,null,!0);Editor.useLocalStorage=c}else this.createFile(a,this.getFileData(!0),null,b)}),null,null,null,null,"1"==urlParams.browser,null,null,!0,c);this.showDialog(b.container,380,a>c?390:270,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&
- this.showSplash()}));b.init()}}),b=decodeURIComponent(b);if("http://"!=b.substring(0,7)&&"https://"!=b.substring(0,8))try{null!=window.opener&&null!=window.opener[b]?d(window.opener[b]):this.handleError(null,mxResources.get("errorLoadingFile"))}catch(f){this.handleError(f,mxResources.get("errorLoadingFile"))}else this.loadTemplate(b,function(a){d(a)},mxUtils.bind(this,function(){this.handleError(null,mxResources.get("errorLoadingFile"),c)}))}else(null==window.location.hash||1>=window.location.hash.length)&&
- null!=urlParams.state&&null!=this.stateArg&&"open"==this.stateArg.action&&null!=this.stateArg.ids&&(window.location.hash="G"+this.stateArg.ids[0]),(null==window.location.hash||1>=window.location.hash.length)&&null!=this.drive&&null!=this.stateArg&&"create"==this.stateArg.action?(this.setMode(App.MODE_GOOGLE),this.actions.get("new").funct()):a()}}catch(f){this.handleError(f)}};
- App.prototype.showSplash=function(a){var b=this.getServiceCount(!1)+1,c=mxUtils.bind(this,function(){var a=new SplashDialog(this);this.showDialog(a.container,340,2>b||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?200:260,!0,!0,mxUtils.bind(this,function(a){a&&!mxClient.IS_CHROMEAPP&&(a=Editor.useLocalStorage,this.createFile(this.defaultFilename,null,null,null,null,null,null,"1"!=urlParams.local),Editor.useLocalStorage=a)}))});if(this.editor.chromeless)this.handleError({message:mxResources.get("noFileSelected")},
- mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){this.showSplash()}));else if(null==this.mode||a){a=4>=b?2:3;var d=new StorageDialog(this,mxUtils.bind(this,function(){this.hideDialog();c()}),a);this.showDialog(d.container,3>a?260:300,b>a?420:300,!0,!1);d.init()}else null==urlParams.create&&c()};
- App.prototype.addLanguageMenu=function(a){var b=null;this.isOfflineApp()&&!mxClient.IS_CHROMEAPP||null==this.menus.get("language")||(b=document.createElement("div"),b.setAttribute("title",mxResources.get("language")),b.className="geIcon geSprite geSprite-globe",b.style.position="absolute",b.style.cursor="pointer",b.style.bottom="20px",b.style.right="20px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.editor.graph.popupMenuHandler.hideMenu();var c=new mxPopupMenu(this.menus.get("language").funct);
- c.div.className+=" geMenubarMenu";c.smartSeparators=!0;c.showDisabled=!0;c.autoExpand=!0;c.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(c,arguments);c.destroy()});var f=mxUtils.getOffset(b);c.popup(f.x,f.y+b.offsetHeight,null,a);this.setCurrentMenu(c)})),a.appendChild(b));return b};
- App.prototype.defineCustomObjects=function(){null!=gapi.drive.realtime&&null!=gapi.drive.realtime.custom&&(gapi.drive.realtime.custom.registerType(mxRtCell,"Cell"),mxRtCell.prototype.cellId=gapi.drive.realtime.custom.collaborativeField("cellId"),mxRtCell.prototype.type=gapi.drive.realtime.custom.collaborativeField("type"),mxRtCell.prototype.value=gapi.drive.realtime.custom.collaborativeField("value"),mxRtCell.prototype.xmlValue=gapi.drive.realtime.custom.collaborativeField("xmlValue"),mxRtCell.prototype.style=
- gapi.drive.realtime.custom.collaborativeField("style"),mxRtCell.prototype.geometry=gapi.drive.realtime.custom.collaborativeField("geometry"),mxRtCell.prototype.visible=gapi.drive.realtime.custom.collaborativeField("visible"),mxRtCell.prototype.collapsed=gapi.drive.realtime.custom.collaborativeField("collapsed"),mxRtCell.prototype.connectable=gapi.drive.realtime.custom.collaborativeField("connectable"),mxRtCell.prototype.parent=gapi.drive.realtime.custom.collaborativeField("parent"),mxRtCell.prototype.children=
- gapi.drive.realtime.custom.collaborativeField("children"),mxRtCell.prototype.source=gapi.drive.realtime.custom.collaborativeField("source"),mxRtCell.prototype.target=gapi.drive.realtime.custom.collaborativeField("target"))};mxRtCell=function(){};mxCodecRegistry.getCodec(mxCell).exclude.push("rtCell");mxCell.prototype.mxTransient.push("rtCell");
- App.prototype.pickFile=function(a){a=null!=a?a:this.mode;if(a==App.MODE_GOOGLE)null!=this.drive&&"undefined"!=typeof google&&"undefined"!=typeof google.picker?this.drive.pickFile():window.open("https://drive.google.com");else{var b=this.getPeerForMode(a);if(null!=b)b.pickFile();else if(a!=App.MODE_DEVICE||!Graph.fileSupport||mxClient.IS_IE||mxClient.IS_IE11){this.hideDialog();window.openNew=null!=this.getCurrentFile()&&!this.isDiagramEmpty();window.baseUrl=this.getUrl();window.openKey="open";var c=
- Editor.useLocalStorage;Editor.useLocalStorage=a==App.MODE_BROWSER;this.openFile();window.openFile.setConsumer(mxUtils.bind(this,function(b,c){0<(".png"==c.substring(c.length-4))&&(c=c.substring(0,c.length-4)+".xml");this.fileLoaded(a==App.MODE_BROWSER?new StorageFile(this,b,c):new LocalFile(this,b,c))}));var d=this.dialog,f=d.close;this.dialog.close=mxUtils.bind(this,function(a){Editor.useLocalStorage=c;f.apply(d,arguments);null==this.getCurrentFile()&&this.showSplash()})}else{var g=document.createElement("input");
- g.setAttribute("type","file");mxEvent.addListener(g,"change",mxUtils.bind(this,function(){null!=g.files&&this.openFiles(g.files)}));g.click()}}};
- App.prototype.pickLibrary=function(a){a=null!=a?a:this.mode;if(a==App.MODE_GOOGLE||a==App.MODE_DROPBOX||a==App.MODE_ONEDRIVE||a==App.MODE_GITHUB){var b=a==App.MODE_GOOGLE?this.drive:a==App.MODE_ONEDRIVE?this.oneDrive:a==App.MODE_GITHUB?this.gitHub:this.dropbox;null!=b&&b.pickLibrary(mxUtils.bind(this,function(a,c){if(null!=c)try{this.loadLibrary(c)}catch(l){this.handleError(l,mxResources.get("errorLoadingFile"))}else this.spinner.spin(document.body,mxResources.get("loading"))&&b.getLibrary(a,mxUtils.bind(this,
- function(a){this.spinner.stop();try{this.loadLibrary(a)}catch(e){this.handleError(e,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(a){this.handleError(a,null!=a?mxResources.get("errorLoadingFile"):null)}))}))}else if(a!=App.MODE_DEVICE||!Graph.fileSupport||mxClient.IS_IE||mxClient.IS_IE11){window.openNew=!1;window.openKey="open";var c=Editor.useLocalStorage;Editor.useLocalStorage=a==App.MODE_BROWSER;window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));
- window.openFile.setConsumer(mxUtils.bind(this,function(b,c){try{this.loadLibrary(a==App.MODE_BROWSER?new StorageLibrary(this,b,c):new LocalLibrary(this,b,c))}catch(l){this.handleError(l,mxResources.get("errorLoadingFile"))}}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:360,Editor.useLocalStorage?480:220,!0,!0,function(){Editor.useLocalStorage=c;window.openFile=null})}else{var d=document.createElement("input");d.setAttribute("type","file");mxEvent.addListener(d,"change",
- mxUtils.bind(this,function(){if(null!=d.files)for(var a=0;a<d.files.length;a++)mxUtils.bind(this,function(a){var b=new FileReader;b.onload=mxUtils.bind(this,function(b){try{this.loadLibrary(new LocalLibrary(this,b.target.result,a.name))}catch(h){this.handleError(h,mxResources.get("errorLoadingFile"))}});b.readAsText(a)})(d.files[a])}));d.click()}};
- App.prototype.saveLibrary=function(a,b,c,d,f,g,l){d=null!=d?d:this.mode;f=null!=f?f:!1;g=null!=g?g:!1;var e=this.createLibraryDataFromImages(b),h=mxUtils.bind(this,function(a){this.spinner.stop();null!=l&&l();this.handleError(a,null!=a?mxResources.get("errorSavingFile"):null)});null==c&&d==App.MODE_DEVICE&&(c=new LocalLibrary(this,e,a));if(null==c)this.pickFolder(d,mxUtils.bind(this,function(c){d==App.MODE_GOOGLE&&null!=this.drive&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.drive.insertFile(a,
- e,c,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,b)}),h,this.drive.libraryMimeType):d==App.MODE_GITHUB&&null!=this.gitHub&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.gitHub.insertLibrary(a,e,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,b)}),h,c):d==App.MODE_DROPBOX&&null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.dropbox.insertLibrary(a,e,mxUtils.bind(this,
- function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,b)}),h,c):d==App.MODE_ONEDRIVE&&null!=this.oneDrive&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.oneDrive.insertLibrary(a,e,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,b)}),h,c):d==App.MODE_BROWSER?(c=mxUtils.bind(this,function(){var c=new StorageLibrary(this,e,a);c.saveFile(a,!1,mxUtils.bind(this,function(){this.hideDialog(!0);this.libraryLoaded(c,b)}),h)}),
- null==localStorage.getItem(a)?c():this.confirm(mxResources.get("replaceIt",[a]),c)):this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}));else if(f||this.spinner.spin(document.body,mxResources.get("saving"))){c.setData(e);var k=mxUtils.bind(this,function(){c.save(!0,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);g||this.libraryLoaded(c,b);null!=l&&l()}),h)});if(a!=c.getTitle()){var m=c.getHash();c.rename(a,mxUtils.bind(this,function(a){c.constructor!=
- LocalLibrary&&m!=c.getHash()&&(mxSettings.removeCustomLibrary(m),mxSettings.addCustomLibrary(c.getHash()));this.removeLibrarySidebar(m);k()}),h)}else k()}};
- App.prototype.saveFile=function(a){var b=this.getCurrentFile();if(null!=b){var c=mxUtils.bind(this,function(){this.removeDraft();b.getMode()!=App.MODE_DEVICE?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved"))):this.editor.setStatus("")});if(a||null==b.getTitle()||null==this.mode){var d=null!=b.getTitle()?b.getTitle():this.defaultFilename,f=!mxClient.IS_IOS||!navigator.standalone,g=this.mode;a=this.getServiceCount(!0);isLocalStorage&&a++;var l=4>=a?2:3,d=new CreateDialog(this,
- d,mxUtils.bind(this,function(a,b){null!=a&&0<a.length&&(null==g&&b==App.MODE_DEVICE?(this.setMode(App.MODE_DEVICE),this.save(a,c)):"download"==b?(new LocalFile(this,null,a)).save():"_blank"==b?(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(this.getFileData(!0)),window.open(this.getUrl(window.location.pathname))):g!=b?this.pickFolder(b,mxUtils.bind(this,function(d){this.createFile(a,this.getFileData(/(\.xml)$/i.test(a)||0>a.indexOf("."),/(\.svg)$/i.test(a),
- /(\.html)$/i.test(a)),null,b,c,null==this.mode,d)}),b!==App.MODE_GITHUB):null!=b&&this.save(a,c))}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),null,null,f,this.isOffline()?null:"https://desk.draw.io/support/solutions/articles/16000042485",!0,l);this.showDialog(d.container,460,a>l?390:270,!0,!0);d.init()}else this.save(b.getTitle(),c)}};
- EditorUi.prototype.loadTemplate=function(a,b,c){var d=a;this.isCorsEnabledForUrl(d)||(d=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(d,mxUtils.bind(this,function(c){!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,a)?this.parseFile(new Blob([c],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&b(a.responseText)}),a):(/(\.png)($|\?)/i.test(a)&&(c=this.extractGraphModelFromPng(c)),
- b(c))}),c,/(\.png)($|\?)/i.test(a))};App.prototype.getPeerForMode=function(a){return a==App.MODE_GOOGLE?this.drive:a==App.MODE_GITHUB?this.gitHub:a==App.MODE_DROPBOX?this.dropbox:a==App.MODE_ONEDRIVE?this.oneDrive:null};
- App.prototype.createFile=function(a,b,c,d,f,g,l,e){d=e?null:null!=d?d:this.mode;if(null!=a&&this.spinner.spin(document.body,mxResources.get("inserting"))){b=null!=b?b:this.emptyDiagramXml;var h=mxUtils.bind(this,function(){this.spinner.stop()}),k=mxUtils.bind(this,function(a){h();null==a&&null==this.getCurrentFile()&&null==this.dialog?this.showSplash():null!=a&&this.handleError(a)});d==App.MODE_GOOGLE&&null!=this.drive?(l=null!=this.stateArg?this.stateArg.folderId:l,this.drive.insertFile(a,b,l,mxUtils.bind(this,
- function(a){h();this.fileCreated(a,c,g,f)}),k)):d==App.MODE_GITHUB&&null!=this.gitHub?this.pickFolder(d,mxUtils.bind(this,function(d){this.gitHub.insertFile(a,b,mxUtils.bind(this,function(a){h();this.fileCreated(a,c,g,f)}),k,!1,d)})):d==App.MODE_DROPBOX&&null!=this.dropbox?this.dropbox.insertFile(a,b,mxUtils.bind(this,function(a){h();this.fileCreated(a,c,g,f)}),k):d==App.MODE_ONEDRIVE&&null!=this.oneDrive?this.oneDrive.insertFile(a,b,mxUtils.bind(this,function(a){h();this.fileCreated(a,c,g,f)}),k,
- !1,l):d==App.MODE_BROWSER?(h(),d=mxUtils.bind(this,function(){var d=new StorageFile(this,b,a);d.saveFile(a,!1,mxUtils.bind(this,function(){this.fileCreated(d,c,g,f)}),k)}),null==localStorage.getItem(a)?d():this.confirm(mxResources.get("replaceIt",[a]),d,mxUtils.bind(this,function(){null==this.getCurrentFile()&&null==this.dialog&&this.showSplash()}))):(h(),this.fileCreated(new LocalFile(this,b,a,null==d),c,g,f))}};
- App.prototype.fileCreated=function(a,b,c,d){var f=window.location.pathname;null!=b&&0<b.length&&(f+="?libs="+b);f=this.getUrl(f);a.getMode()!=App.MODE_DEVICE&&(f+="#"+a.getHash());if(this.spinner.spin(document.body,mxResources.get("inserting"))){var g=a.getData(),g=0<g.length?this.editor.extractGraphModel(mxUtils.parseXml(g).documentElement,!0):null,l=window.location.protocol+"//"+window.location.hostname+f,e=null;if(null!=g&&/\.svg$/i.test(a.getTitle())){e=this.createTemporaryGraph(this.editor.graph.getStylesheet());
- document.body.appendChild(e.container);node=g;if(null!=node){var h=null;if("diagram"==node.nodeName)h=node;else if("mxfile"==node.nodeName){var k=node.getElementsByTagName("diagram");if(0<k.length){var h=k[0],m=e.getGlobalVariable;e.getGlobalVariable=function(a){return"page"==a?h.getAttribute("name")||mxResources.get("pageWithNumber",[1]):"pagenumber"==a?1:m.apply(this,arguments)}}}null!=h&&(k=e.decompress(mxUtils.getTextContent(h)),null!=k&&0<k.length&&(node=mxUtils.parseXml(k).documentElement))}k=
- this.editor.graph;try{this.editor.graph=e,this.editor.setGraphXml(node)}catch(t){}finally{this.editor.graph=k}}a.setData(this.createFileData(g,e,a,l));null!=e&&e.container.parentNode.removeChild(e.container);var n=mxUtils.bind(this,function(){this.spinner.stop()}),p=mxUtils.bind(this,function(){n();var e=this.getCurrentFile();null==c&&null!=e&&(c=!e.isModified()&&null==e.getMode());var g=mxUtils.bind(this,function(){window.openFile=null;this.fileLoaded(a);c&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved")));
- null!=b&&this.sidebar.showEntries(b)}),h=mxUtils.bind(this,function(){c||null==e||!e.isModified()?g():this.confirm(mxResources.get("allChangesLost"),null,g,mxResources.get("cancel"),mxResources.get("discardChanges"))});null!=d&&d();null==c||c?h():(a.constructor==LocalFile&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a.getData(),a.getTitle(),null==a.getMode())),null!=d&&d(),window.openWindow(f,null,h))});a.constructor==LocalFile||a.constructor==DriveFile?
- p():a.saveFile(a.getTitle(),!1,mxUtils.bind(this,function(){p()}),mxUtils.bind(this,function(a){n();this.handleError(a)}))}};
- App.prototype.loadFile=function(a,b,c){this.hideDialog();var d=mxUtils.bind(this,function(){if(null==a||0==a.length)this.editor.setStatus(""),this.fileLoaded(null);else if(this.spinner.spin(document.body,mxResources.get("loading")))if("L"==a.charAt(0))if(this.spinner.stop(),isLocalStorage)try{a=decodeURIComponent(a.substring(1));var d=localStorage.getItem(a);if(null!=d)this.fileLoaded(new StorageFile(this,d,a));else throw{message:mxResources.get("fileNotFound")};}catch(h){this.handleError(h,mxResources.get("errorLoadingFile"),
- mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash=null!=a?a.getHash():""}))}else this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")},mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash=null!=a?a.getHash():""}));else if(null!=c)this.spinner.stop(),this.fileLoaded(c);else if("R"==a.charAt(0))this.spinner.stop(),d=decodeURIComponent(a.substring(1)),"<"!=d.charAt(0)&&(d=this.editor.graph.decompress(d)),
- d=new LocalFile(this,d,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0),d.getHash=function(){return a},this.fileLoaded(d);else if("U"==a.charAt(0)){var e=decodeURIComponent(a.substring(1));this.loadTemplate(e,mxUtils.bind(this,function(c){this.spinner.stop();if(null!=c&&0<c.length){var d=this.defaultFilename;if(null==urlParams.title&&"1"!=urlParams.notitle){var f=e,g=e.lastIndexOf("."),h=f.lastIndexOf("/");g>h&&0<h&&(f=f.substring(h+1,g),g=e.substring(g),".png"==
- g&&(g=".xml"),".svg"===g||".xml"===g||".html"===g)&&(d=f+g)}c=new LocalFile(this,c,null!=urlParams.title?decodeURIComponent(urlParams.title):d,!0);c.getHash=function(){return a};this.fileLoaded(c)||"https://drive.google.com/uc?id="!=e.substring(0,31)||null==this.drive&&"function"!==typeof window.DriveClient||(this.hideDialog(),c=mxUtils.bind(this,function(){return null!=this.drive?(this.spinner.stop(),this.loadFile("G"+e.substring(31,e.lastIndexOf("&")),b),!0):!1}),!c()&&this.spinner.spin(document.body,
- mxResources.get("loading"))&&this.addListener("clientLoaded",c))}}),mxUtils.bind(this,function(){this.spinner.stop();this.handleError({message:mxResources.get("fileNotFound")},mxResources.get("errorLoadingFile"))}))}else d=null,"G"==a.charAt(0)?d=this.drive:"D"==a.charAt(0)?d=this.dropbox:"W"==a.charAt(0)?d=this.oneDrive:"H"==a.charAt(0)&&(d=this.gitHub),null==d?this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")},mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=
- this.getCurrentFile();window.location.hash=null!=a?a.getHash():""})):(a=decodeURIComponent(a.substring(1)),d.getFile(a,mxUtils.bind(this,function(a){this.spinner.stop();this.fileLoaded(a)}),mxUtils.bind(this,function(b){null!=window.console&&null!=b&&console.log("error in loadFile:",a,b);this.handleError(b,null!=b?mxResources.get("errorLoadingFile"):null,mxUtils.bind(this,function(){var a=this.getCurrentFile();null==a?(window.location.hash="",this.showSplash()):window.location.hash=a.getHash()}))})))}),
- f=this.getCurrentFile(),g=mxUtils.bind(this,function(){null!=f&&f.isModified()?this.confirm(mxResources.get("allChangesLost"),mxUtils.bind(this,function(){null!=f&&(window.location.hash=f.getHash())}),d,mxResources.get("cancel"),mxResources.get("discardChanges")):d()});null==a||0==a.length?g():null!=f&&f.isModified()&&!b?window.openWindow(this.getUrl()+"#"+a,null,g):g()};
- App.prototype.getLibraryStorageHint=function(a){var b=a.getTitle();a.constructor!=LocalLibrary&&(b+="\n"+a.getHash());a.constructor==DriveLibrary?b+=" ("+mxResources.get("googleDrive")+")":a.constructor==GitHubLibrary?b+=" ("+mxResources.get("github")+")":a.constructor==DropboxLibrary?b+=" ("+mxResources.get("dropbox")+")":a.constructor==OneDriveLibrary?b+=" ("+mxResources.get("oneDrive")+")":a.constructor==StorageLibrary?b+=" ("+mxResources.get("browser")+")":a.constructor==LocalLibrary&&(b+=" ("+
- mxResources.get("device")+")");return b};
- App.prototype.restoreLibraries=function(){if(null!=this.sidebar){null==this.pendingLibraries&&(this.pendingLibraries={});var a=mxUtils.bind(this,function(a){mxSettings.removeCustomLibrary(a);delete this.pendingLibraries[a]}),b=mxUtils.bind(this,function(b){if(null!=b)for(var c=0;c<b.length;c++){var f=encodeURIComponent(decodeURIComponent(b[c]));mxUtils.bind(this,function(b){if(null!=b&&0<b.length&&null==this.pendingLibraries[b]&&null==this.sidebar.palettes[b]){this.pendingLibraries[b]=!0;var c=b.substring(0,
- 1);if("L"==c){if(isLocalStorage||mxClient.IS_CHROMEAPP)try{var d=decodeURIComponent(b.substring(1));this.getLocalData(d,mxUtils.bind(this,function(c){".scratchpad"==d&&null==c&&(c=this.emptyLibraryXml);null!=c?this.loadLibrary(new StorageLibrary(this,c,d)):a(b)}))}catch(m){a(b)}}else if("U"==c){var f=decodeURIComponent(b.substring(1));this.isOffline()||(c=f,this.isCorsEnabledForUrl(c)||(c=PROXY_URL+"?url="+encodeURIComponent(f)),mxUtils.get(c,mxUtils.bind(this,function(c){if(200<=c.getStatus()&&299>=
- c.getStatus())try{this.loadLibrary(new UrlLibrary(this,c.getText(),f)),delete this.pendingLibraries[b]}catch(n){a(b)}else a(b)}),function(){a(b)}))}else{var g=null;"G"==c?null!=this.drive&&null!=this.drive.user&&(g=this.drive):"H"==c?null!=this.gitHub&&null!=this.gitHub.getUser()&&(g=this.gitHub):"D"==c?null!=this.dropbox&&null!=this.dropbox.getUser()&&(g=this.dropbox):"W"==c&&null!=this.oneDrive&&null!=this.oneDrive.getUser()&&(g=this.oneDrive);null!=g?g.getLibrary(decodeURIComponent(b.substring(1)),
- mxUtils.bind(this,function(c){try{this.loadLibrary(c),delete this.pendingLibraries[b]}catch(n){a(b)}}),function(c){a(b)}):delete this.pendingLibraries[b]}}})(f)}});b(mxSettings.getCustomLibraries());b((urlParams.clibs||"").split(";"))}};
- App.prototype.updateButtonContainer=function(){if(null!=this.buttonContainer){var a=this.getCurrentFile();null!=a&&a.constructor==DriveFile?null==this.shareButton&&(this.shareButton=document.createElement("div"),this.shareButton.className="geBtn gePrimaryBtn",this.shareButton.style.display="inline-block",this.shareButton.style.padding="0 10px 0 10px",this.shareButton.style.marginTop="-4px",this.shareButton.style.height="28px",this.shareButton.style.lineHeight="28px",this.shareButton.style.minWidth=
- "0px",this.shareButton.style.cssFloat="right",a=document.createElement("img"),a.setAttribute("src",this.shareImage),a.setAttribute("align","absmiddle"),a.style.marginRight="4px",a.style.marginTop="-3px",this.shareButton.appendChild(a),mxUtils.write(this.shareButton,mxResources.get("share")),mxEvent.addListener(this.shareButton,"click",mxUtils.bind(this,function(){this.actions.get("share").funct()})),this.buttonContainer.appendChild(this.shareButton)):null!=this.shareButton&&(this.shareButton.parentNode.removeChild(this.shareButton),
- this.shareButton=null)}};
- App.prototype.save=function(a,b){var c=this.getCurrentFile(),d=mxResources.get("saving");null!=c&&c.constructor==DriveFile&&(d=mxResources.get("createRevision"));if(null!=c&&this.spinner.spin(document.body,d)){this.editor.setStatus("");this.editor.graph.isEditing()&&this.editor.graph.stopEditing();var d=mxUtils.bind(this,function(a){this.spinner.stop();this.getCurrentFile()==c&&(c.isModified()?c.isAutosave()||c.addUnsavedStatus():this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved"))));null!=
- b&&b()}),f=mxUtils.bind(this,function(a){this.handleError(a,null!=a?mxResources.get("errorSavingFile"):null)});a==c.getTitle()?c.save(!0,d,f):c.saveAs(a,d,f)}};
- App.prototype.pickFolder=function(a,b,c){c=null!=c?c:!0;var d=this.spinner.pause();c&&a==App.MODE_GOOGLE&&null!=this.drive?this.drive.pickFolder(mxUtils.bind(this,function(a){d();if(a.action==google.picker.Action.PICKED){var c=null;null!=a.docs&&0<a.docs.length&&"folder"==a.docs[0].type&&(c=a.docs[0].id);b(c)}})):c&&a==App.MODE_ONEDRIVE&&null!=this.oneDrive?this.oneDrive.pickFolder(mxUtils.bind(this,function(a){d();null!=a&&null!=a.value&&0<a.value.length&&(a=a.value[0].id,b(a))})):c&&a==App.MODE_GITHUB&&
- null!=this.gitHub?this.gitHub.pickFolder(mxUtils.bind(this,function(a){d();b(a)})):EditorUi.prototype.pickFolder.apply(this,arguments)};
- App.prototype.exportFile=function(a,b,c,d,f,g){f==App.MODE_DROPBOX?null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.dropbox.insertFile(b,d?this.base64ToBlob(a,c):a,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)})):f==App.MODE_GOOGLE?null!=this.drive&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.drive.insertFile(b,a,g,mxUtils.bind(this,function(a){this.spinner.stop()}),
- mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),c,d,!1):f==App.MODE_ONEDRIVE?null!=this.oneDrive&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.oneDrive.insertFile(b,d?this.base64ToBlob(a,c):a,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),!1,g):f==App.MODE_GITHUB?null!=this.gitHub&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.gitHub.insertFile(b,a,mxUtils.bind(this,
- function(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),!0,g,d):f==App.MODE_BROWSER&&(c=mxUtils.bind(this,function(){localStorage.setItem(b,a)}),null==localStorage.getItem(b)?c():this.confirm(mxResources.get("replaceIt",[b]),c))};
- App.prototype.descriptorChanged=function(){var a=this.getCurrentFile();if(null!=a){if(null!=this.fname){this.fnameWrapper.style.display="block";this.fname.innerHTML="";var b=null!=a.getTitle()?a.getTitle():this.defaultFilename;mxUtils.write(this.fname,b);this.fname.setAttribute("title",b+" - "+mxResources.get("rename"))}this.editor.graph.setEnabled(a.isEditable());null==urlParams.rev&&(this.updateDocumentTitle(),a=a.getHash(),0<a.length?window.location.hash=a:0<window.location.hash.length&&(window.location.hash=
- ""))}};App.prototype.toggleChat=function(){var a=this.getCurrentFile();if(null!=a){if(null==a.chatWindow){var b=document.body.offsetWidth-300;a.chatWindow=new ChatWindow(this,mxResources.get("chatWindowTitle"),document.getElementById("geChat"),b,80,250,350,a.realtime);a.chatWindow.window.setVisible(!1)}a.chatWindow.window.setVisible(!a.chatWindow.window.isVisible())}};
- App.prototype.showAuthDialog=function(a,b,c,d){var f=this.spinner.pause();this.showDialog((new AuthDialog(this,a,b,mxUtils.bind(this,function(a){try{null!=c&&c(a,mxUtils.bind(this,function(){this.hideDialog();f()}))}catch(l){this.editor.setStatus(mxUtils.htmlEntities(l.message))}}))).container,300,b?180:140,!0,!0,mxUtils.bind(this,function(a){null!=d&&d();a&&null==this.getCurrentFile()&&null==this.dialog&&this.showSplash()}))};
- App.prototype.convertFile=function(a,b,c,d,f,g){var l=b;/\.svg$/i.test(l)||(l=l.substring(0,b.lastIndexOf("."))+d);var e=!1;null!=this.gitHub&&a.substring(0,this.gitHub.baseUrl.length)==this.gitHub.baseUrl&&(e=!0);if(/\.vsdx$/i.test(b)&&Graph.fileSupport&&(new XMLHttpRequest).upload&&"string"===typeof(new XMLHttpRequest).responseType){var h=new XMLHttpRequest;h.open("GET",a,!0);e||(h.responseType="blob");h.onload=mxUtils.bind(this,function(){var a=null;e?(a=JSON.parse(h.responseText),a=this.base64ToBlob(a.content,
- "application/octet-stream")):a=new Blob([h.response],{type:"application/octet-stream"});this.parseFile(a,mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?f(new LocalFile(this,a.responseText,l,!0)):null!=g&&g({message:mxResources.get("errorLoadingFile")}))}),b)});h.send()}else{var k=mxUtils.bind(this,function(c){try{/\.png$/i.test(b)?(temp=this.extractGraphModelFromPng(c),null!=temp?f(new LocalFile(this,temp,l,!0)):f(new LocalFile(this,c,b,!0))):Graph.fileSupport&&(new XMLHttpRequest).upload&&
- this.isRemoteFileFormat(c,a)?this.parseFile(new Blob([c],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?f(new LocalFile(this,a.responseText,l,!0)):null!=g&&g({message:mxResources.get("errorLoadingFile")}))}),b):f(new LocalFile(this,c,l,!0))}catch(n){null!=g&&g(n)}});c=/\.png$/i.test(b)||/\.jpe?g$/i.test(b)||null!=c&&"image/"==c.substring(0,6);e?mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=
- f){a=JSON.parse(a.getText());var c=a.content;"base64"===a.encoding&&(c=/\.png$/i.test(b)?"data:image/png;base64,"+c:!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(c):atob(c));k(c)}}else null!=g&&g({code:App.ERROR_UNKNOWN})}),function(){null!=g&&g({code:App.ERROR_UNKNOWN})},!1,this.timeout,function(){null!=g&&g({code:App.ERROR_TIMEOUT,retry:fn})}):this.loadUrl(a,k,g,c)}};
- App.prototype.updateHeader=function(){if(null!=this.menubar){this.appIcon=document.createElement("a");this.appIcon.style.display="block";this.appIcon.style.position="absolute";this.appIcon.style.width="40px";this.appIcon.style.backgroundColor="#f18808";this.appIcon.style.height=this.menubarHeight+"px";mxEvent.disableContextMenu(this.appIcon);mxEvent.addListener(this.appIcon,"click",mxUtils.bind(this,function(a){this.appIconClicked(a)}));var a=mxClient.IS_SVG?"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIKICAgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzA2LjE4NSAxMjAuMjk2IgogICB2aWV3Qm94PSIyNCAyNiA2OCA2OCIKICAgeT0iMHB4IgogICB4PSIwcHgiCiAgIHZlcnNpb249IjEuMSI+CiAgIAkgPGc+PGxpbmUKICAgICAgIHkyPSI3Mi4zOTQiCiAgICAgICB4Mj0iNDEuMDYxIgogICAgICAgeTE9IjQzLjM4NCIKICAgICAgIHgxPSI1OC4wNjkiCiAgICAgICBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiCiAgICAgICBzdHJva2Utd2lkdGg9IjMuNTUyOCIKICAgICAgIHN0cm9rZT0iI0ZGRkZGRiIKICAgICAgIGZpbGw9Im5vbmUiIC8+PGxpbmUKICAgICAgIHkyPSI3Mi4zOTQiCiAgICAgICB4Mj0iNzUuMDc2IgogICAgICAgeTE9IjQzLjM4NCIKICAgICAgIHgxPSI1OC4wNjgiCiAgICAgICBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiCiAgICAgICBzdHJva2Utd2lkdGg9IjMuNTAwOCIKICAgICAgIHN0cm9rZT0iI0ZGRkZGRiIKICAgICAgIGZpbGw9Im5vbmUiIC8+PGc+PHBhdGgKICAgICAgICAgZD0iTTUyLjc3Myw3Ny4wODRjMCwxLjk1NC0xLjU5OSwzLjU1My0zLjU1MywzLjU1M0gzNi45OTljLTEuOTU0LDAtMy41NTMtMS41OTktMy41NTMtMy41NTN2LTkuMzc5ICAgIGMwLTEuOTU0LDEuNTk5LTMuNTUzLDMuNTUzLTMuNTUzaDEyLjIyMmMxLjk1NCwwLDMuNTUzLDEuNTk5LDMuNTUzLDMuNTUzVjc3LjA4NHoiCiAgICAgICAgIGZpbGw9IiNGRkZGRkYiIC8+PC9nPjxnCiAgICAgICBpZD0iZzM0MTkiPjxwYXRoCiAgICAgICAgIGQ9Ik02Ny43NjIsNDguMDc0YzAsMS45NTQtMS41OTksMy41NTMtMy41NTMsMy41NTNINTEuOTg4Yy0xLjk1NCwwLTMuNTUzLTEuNTk5LTMuNTUzLTMuNTUzdi05LjM3OSAgICBjMC0xLjk1NCwxLjU5OS0zLjU1MywzLjU1My0zLjU1M0g2NC4yMWMxLjk1NCwwLDMuNTUzLDEuNTk5LDMuNTUzLDMuNTUzVjQ4LjA3NHoiCiAgICAgICAgIGZpbGw9IiNGRkZGRkYiIC8+PC9nPjxnPjxwYXRoCiAgICAgICAgIGQ9Ik04Mi43NTIsNzcuMDg0YzAsMS45NTQtMS41OTksMy41NTMtMy41NTMsMy41NTNINjYuOTc3Yy0xLjk1NCwwLTMuNTUzLTEuNTk5LTMuNTUzLTMuNTUzdi05LjM3OSAgICBjMC0xLjk1NCwxLjU5OS0zLjU1MywzLjU1My0zLjU1M2gxMi4yMjJjMS45NTQsMCwzLjU1MywxLjU5OSwzLjU1MywzLjU1M1Y3Ny4wODR6IgogICAgICAgICBmaWxsPSIjRkZGRkZGIiAvPjwvZz48L2c+PC9zdmc+)":
- "url('"+IMAGE_PATH+"/logo-white.png')";this.appIcon.style.backgroundImage=a;this.appIcon.style.backgroundPosition="center center";this.appIcon.style.backgroundRepeat="no-repeat";mxUtils.setPrefixedStyle(this.appIcon.style,"transition","all 125ms linear");mxEvent.addListener(this.appIcon,"mouseover",mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&(a=a.getMode(),a==App.MODE_GOOGLE?this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/google-drive-logo-white.svg)":a==App.MODE_DROPBOX?
- this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/dropbox-logo-white.svg)":a==App.MODE_ONEDRIVE?this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/onedrive-logo-white.svg)":a==App.MODE_GITHUB&&(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/github-logo-white.svg)"))}));mxEvent.addListener(this.appIcon,"mouseout",mxUtils.bind(this,function(){this.appIcon.style.backgroundImage=a}));"1"!=urlParams.embed&&this.menubarContainer.appendChild(this.appIcon);this.fnameWrapper=document.createElement("div");
- this.fnameWrapper.style.position="absolute";this.fnameWrapper.style.right="120px";this.fnameWrapper.style.left="50px";this.fnameWrapper.style.top="6px";this.fnameWrapper.style.height="26px";this.fnameWrapper.style.display="none";this.fnameWrapper.style.overflow="hidden";this.fnameWrapper.style.textOverflow="ellipsis";this.fname=document.createElement("a");this.fname.setAttribute("href","javascript:void(0);");this.fname.setAttribute("title",mxResources.get("rename"));this.fname.className="geItem";
- this.fname.style.padding="2px 8px 2px 8px";this.fname.style.display="inline";this.fname.style.fontSize="18px";this.fname.style.whiteSpace="nowrap";mxEvent.addListener(this.fname,"click",mxUtils.bind(this,function(a){var b=this.getCurrentFile();null!=b&&b.isRenamable()&&this.actions.get("rename").funct();mxEvent.consume(a)}));this.fnameWrapper.appendChild(this.fname);"1"!=urlParams.embed&&(this.menubarContainer.appendChild(this.fnameWrapper),this.menubar.container.style.position="absolute",this.menubar.container.style.paddingLeft=
- "52px",this.menubar.container.style.boxSizing="border-box",this.menubar.container.style.top="29px",this.toolbar.container.style.paddingLeft="56px");this.toggleFormatElement=document.createElement("a");this.toggleFormatElement.setAttribute("href","javascript:void(0);");this.toggleFormatElement.setAttribute("title",mxResources.get("formatPanel")+" (Ctrl+Shift+P)");this.toggleFormatElement.style.position="absolute";this.toggleFormatElement.style.display="inline-block";this.toggleFormatElement.style.top=
- "5px";this.toggleFormatElement.style.right="atlas"!=uiTheme&&"1"!=urlParams.embed?"26px":"10px";this.toggleFormatElement.style.padding="2px";this.toggleFormatElement.style.fontSize="14px";this.toggleFormatElement.className="atlas"!=uiTheme?"geButton":"";this.toggleFormatElement.style.width="16px";this.toggleFormatElement.style.height="16px";this.toggleFormatElement.style.backgroundPosition="50% 50%";this.toggleFormatElement.style.backgroundRepeat="no-repeat";this.toolbarContainer.appendChild(this.toggleFormatElement);
- mxEvent.addListener(this.toggleFormatElement,"click",mxUtils.bind(this,function(a){this.actions.get("formatPanel").funct();mxEvent.consume(a)}));var b=mxUtils.bind(this,function(){this.toggleFormatElement.style.backgroundImage=0<this.formatWidth?"url('"+this.formatShowImage+"')":"url('"+this.formatHideImage+"')"});this.addListener("formatWidthChanged",b);b();this.fullscreenElement=document.createElement("a");this.fullscreenElement.setAttribute("href","javascript:void(0);");this.fullscreenElement.setAttribute("title",
- mxResources.get("fullscreen"));this.fullscreenElement.style.position="absolute";this.fullscreenElement.style.display="inline-block";this.fullscreenElement.style.top="5px";this.fullscreenElement.style.right="atlas"!=uiTheme&&"1"!=urlParams.embed?"42px":"26px";this.fullscreenElement.style.padding="2px";this.fullscreenElement.style.fontSize="14px";this.fullscreenElement.className="atlas"!=uiTheme?"geButton":"";this.fullscreenElement.style.width="16px";this.fullscreenElement.style.height="16px";this.fullscreenElement.style.backgroundPosition=
- "50% 50%";this.fullscreenElement.style.backgroundRepeat="no-repeat";this.fullscreenElement.style.backgroundImage="url('"+this.fullscreenImage+"')";this.toolbarContainer.appendChild(this.fullscreenElement);var c=this.hsplitPosition,d=!1;mxEvent.addListener(this.fullscreenElement,"click",mxUtils.bind(this,function(a){"atlas"!=uiTheme&&"1"!=urlParams.embed&&this.toggleCompactMode(!d);this.toggleFormatPanel(!d);this.hsplitPosition=d?c:0;this.hideFooter();d=!d;mxEvent.consume(a)}));"atlas"==uiTheme&&(mxUtils.setOpacity(this.toggleFormatElement,
- 70),mxUtils.setOpacity(this.fullscreenElement,70),this.toggleFormatElement.style.right="6px",this.fullscreenElement.style.right="22px",this.toggleFormatElement.style.top="8px",this.fullscreenElement.style.top="8px");"1"!=urlParams.embed&&(this.toggleElement=document.createElement("a"),this.toggleElement.setAttribute("href","javascript:void(0);"),this.toggleElement.setAttribute("title",mxResources.get("collapseExpand")),this.toggleElement.className="geButton",this.toggleElement.style.position="absolute",
- this.toggleElement.style.display="inline-block",this.toggleElement.style.width="16px",this.toggleElement.style.height="16px",this.toggleElement.style.color="#666",this.toggleElement.style.top="5px",this.toggleElement.style.right="10px",this.toggleElement.style.padding="2px",this.toggleElement.style.fontSize="14px",this.toggleElement.style.textDecoration="none",this.toggleElement.style.backgroundImage="url('"+this.chevronUpImage+"')",this.toggleElement.style.backgroundPosition="50% 50%",this.toggleElement.style.backgroundRepeat=
- "no-repeat",mxEvent.addListener(this.toggleElement,"click",mxUtils.bind(this,function(a){this.toggleCompactMode();mxEvent.consume(a)})),"atlas"!=uiTheme&&this.toolbarContainer.appendChild(this.toggleElement),740>=screen.height&&"undefined"!==typeof this.toggleElement.click&&window.setTimeout(mxUtils.bind(this,function(){this.toggleElement.click()}),0))}};
- App.prototype.toggleCompactMode=function(a){a||"none"!=this.appIcon.style.display?(this.menubar.container.style.position="relative",this.menubar.container.style.paddingLeft="4px",this.menubar.container.style.paddingTop="0px",this.menubar.container.style.paddingBottom="0px",this.menubar.container.style.top="0px",this.toolbar.container.style.paddingLeft="4px",this.buttonContainer.style.visibility="hidden",this.appIcon.style.display="none",this.fnameWrapper.style.display="none",this.fnameWrapper.style.visibility=
- "hidden",this.menubarHeight=EditorUi.prototype.menubarHeight,this.refresh(),this.toggleElement.style.backgroundImage="url('"+this.chevronDownImage+"')"):(this.menubar.container.style.position="absolute",this.menubar.container.style.paddingLeft="52px",this.menubar.container.style.paddingTop="",this.menubar.container.style.paddingBottom="",this.menubar.container.style.top="29px",this.toolbar.container.style.paddingLeft="56px",this.buttonContainer.style.visibility="visible",this.appIcon.style.display=
- "block",this.fnameWrapper.style.display="block",this.fnameWrapper.style.visibility="visible",this.menubarHeight=App.prototype.menubarHeight,this.refresh(),this.toggleElement.style.backgroundImage="url('"+this.chevronUpImage+"')")};
- App.prototype.updateUserElement=function(){if(null!=this.drive&&null!=this.drive.getUser()||null!=this.oneDrive&&null!=this.oneDrive.getUser()||null!=this.dropbox&&null!=this.dropbox.getUser()||null!=this.gitHub&&null!=this.gitHub.getUser()){null==this.userElement&&(this.userElement=document.createElement("a"),this.userElement.setAttribute("href","javascript:void(0);"),this.userElement.className="geItem",this.userElement.style.position="absolute",this.userElement.style.fontSize="8pt",this.userElement.style.top=
- "4px",this.userElement.style.right="30px",this.userElement.style.color="#666",this.userElement.style.margin="4px",this.userElement.style.padding="2px",this.userElement.style.paddingRight="16px",this.userElement.style.verticalAlign="middle",this.userElement.style.backgroundImage="url("+IMAGE_PATH+"/expanded.gif)",this.userElement.style.backgroundPosition="100% 60%",this.userElement.style.backgroundRepeat="no-repeat",this.menubarContainer.appendChild(this.userElement),mxEvent.addListener(this.userElement,
- "click",mxUtils.bind(this,function(a){if(null==this.userPanel){var b=document.createElement("div");b.className="geDialog";b.style.position="absolute";b.style.top=this.userElement.clientTop+this.userElement.clientHeight+6+"px";b.style.right="36px";b.style.padding="0px";this.userPanel=b}if(null!=this.userPanel.parentNode)this.userPanel.parentNode.removeChild(this.userPanel);else{var d=!1;this.userPanel.innerHTML="";b=document.createElement("img");b.setAttribute("src",Dialog.prototype.closeImage);b.setAttribute("title",
- mxResources.get("close"));b.className="geDialogClose";b.style.top="8px";b.style.right="8px";mxEvent.addListener(b,"click",mxUtils.bind(this,function(){null!=this.userPanel.parentNode&&this.userPanel.parentNode.removeChild(this.userPanel)}));this.userPanel.appendChild(b);null!=this.drive&&(b=this.drive.getUser(),null!=b&&(d=!0,this.userPanel.innerHTML+='<table title="User ID: '+b.id+'" style="font-size:10pt;padding:20px 20px 10px 10px;"><tr><td valign="top">'+(null!=b.pictureUrl?'<img style="margin-right:10px;border-radius:50%;" src="'+
- b.pictureUrl+'"/>':'<img style="margin-right:4px;margin-top:2px;" src="'+this.defaultUserPicture+'"/>')+'</td><td valign="top" style="white-space:nowrap;'+(null!=b.pictureUrl?"padding-top:14px;":"")+'"><b>'+mxUtils.htmlEntities(b.displayName)+"</b><br><small>"+mxUtils.htmlEntities(b.email)+"</small></tr></table>",b=document.createElement("div"),b.style.textAlign="center",b.style.padding="12px",b.style.background="whiteSmoke",b.style.borderTop="1px solid #e0e0e0",b.style.whiteSpace="nowrap",b.appendChild(mxUtils.button(mxResources.get("signOut"),
- mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&a.constructor==DriveFile?this.confirm(mxResources.get("areYouSure"),mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("signOut"));this.diagramContainer.style.display="none";this.formatContainer.style.display="none";this.hsplit.style.display="none";this.sidebarContainer.style.display="none";this.sidebarFooterContainer.style.display="none";null!=this.tabContainer&&(this.tabContainer.style.display="none");a.close();
- window.setTimeout(mxUtils.bind(this,function(){this.showDialog=function(){};window.location.hash="";this.drive.clearUserId();gapi.auth.signOut();window.location.reload()}),null!=a&&a.constructor==DriveFile?2E3:0)})):(this.drive.clearUserId(),this.drive.setUser(null),gapi.auth.signOut())}))),this.userPanel.appendChild(b)));b=mxUtils.bind(this,function(a,b,c){null!=a&&(d&&this.userPanel.appendChild(document.createElement("hr")),d=!0,this.userPanel.innerHTML+='<table style="font-size:10pt;padding:20px 20px 10px 10px;"><tr><td valign="top">'+
- (null!=b?'<img style="margin-right:10px;" src="'+b+'" width="40" height="40"/></td>':"")+'<td valign="middle" style="white-space:nowrap;"><b>'+mxUtils.htmlEntities(a.displayName)+"</b>"+(null!=a.email?'<br><font color="gray">'+mxUtils.htmlEntities(a.email)+"</font></td>":"")+"</tr></table>",a=document.createElement("div"),a.style.textAlign="center",a.style.padding="12px",a.style.background="whiteSmoke",a.style.borderTop="1px solid #e0e0e0",a.style.whiteSpace="nowrap",null!=c&&a.appendChild(mxUtils.button(mxResources.get("signOut"),
- c)),this.userPanel.appendChild(a))});null!=this.dropbox&&b(this.dropbox.getUser(),IMAGE_PATH+"/dropbox-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==DropboxFile){var b=mxUtils.bind(this,function(){this.dropbox.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}else this.dropbox.logout()}));null!=this.oneDrive&&b(this.oneDrive.getUser(),
- IMAGE_PATH+"/onedrive-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==OneDriveFile){var b=mxUtils.bind(this,function(){this.oneDrive.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}else this.oneDrive.logout()}));null!=this.gitHub&&b(this.gitHub.getUser(),IMAGE_PATH+"/github-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();
- if(null!=a&&a.constructor==GitHubFile){var b=mxUtils.bind(this,function(){this.gitHub.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}else this.gitHub.logout()}));d||(b=document.createElement("div"),b.style.textAlign="center",b.style.padding="20px 20px 10px 10px",b.innerHTML=mxResources.get("notConnected"),this.userPanel.appendChild(b));document.body.appendChild(this.userPanel)}mxEvent.consume(a)})),
- mxEvent.addListener(document.body,"click",mxUtils.bind(this,function(a){mxEvent.isConsumed(a)||null==this.userPanel||null==this.userPanel.parentNode||this.userPanel.parentNode.removeChild(this.userPanel)})));var a=null;null!=this.drive&&null!=this.drive.getUser()?a=this.drive.getUser():null!=this.oneDrive&&null!=this.oneDrive.getUser()?a=this.oneDrive.getUser():null!=this.dropbox&&null!=this.dropbox.getUser()?a=this.dropbox.getUser():null!=this.gitHub&&null!=this.gitHub.getUser()&&(a=this.gitHub.getUser());
- null!=a?(this.userElement.innerHTML="",560<screen.width&&(mxUtils.write(this.userElement,a.displayName),this.userElement.style.display="block")):this.userElement.style.display="none"}else null!=this.userElement&&(this.userElement.parentNode.removeChild(this.userElement),this.userElement=null)};var editorResetGraph=Editor.prototype.resetGraph;Editor.prototype.resetGraph=function(){editorResetGraph.apply(this,arguments);this.graph.pageFormat=mxSettings.getPageFormat()};(function(){var a=mxPopupMenu.prototype.showMenu;mxPopupMenu.prototype.showMenu=function(){a.apply(this,arguments);this.div.style.overflowY="auto";this.div.style.overflowX="hidden";this.div.style.maxHeight=Math.max(document.body.clientHeight,document.documentElement.clientHeight)-10+"px"};Menus.prototype.addLinkToItem=function(a,b){if(null!=a){var c=document.createElement("span");c.setAttribute("title",mxResources.get("help"));c.style.cssText="color:blue;text-decoration:underline;margin-left:12px;cursor:help;";
- var d=document.createElement("img");d.setAttribute("border","0");d.setAttribute("valign","bottom");d.setAttribute("src",Editor.helpImage);c.appendChild(d);mxEvent.addGestureListeners(c,mxUtils.bind(this,function(a){this.editorUi.menubar.hideMenu();window.open(b);mxEvent.consume(a)}));a.firstChild.nextSibling.appendChild(c)}};var b=Menus.prototype.init;Menus.prototype.init=function(){b.apply(this,arguments);var a=this.editorUi,c=a.editor.graph,g=mxUtils.bind(c,c.isEnabled),l=("1"!=urlParams.embed&&
- "0"!=urlParams.gapi||"1"==urlParams.embed&&"1"==urlParams.gapi)&&mxClient.IS_SVG&&isLocalStorage&&(null==document.documentMode||10<=document.documentMode),e=("1"!=urlParams.embed&&"0"!=urlParams.db||"1"==urlParams.embed&&"1"==urlParams.db)&&mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode),h=("www.draw.io"==window.location.hostname||"test.draw.io"==window.location.hostname||"drive.draw.io"==window.location.hostname||"legacy.draw.io"==window.location.hostname)&&("1"!=urlParams.embed&&
- "0"!=urlParams.od||"1"==urlParams.embed&&"1"==urlParams.od)&&!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&(0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode);a.isOffline()||((new Image).src=IMAGE_PATH+"/help.png");a.actions.addAction("new...",function(){var b=a.isOffline(),c=new NewDialog(a,b);a.showDialog(c.container,b?350:620,b?70:440,!0,!0,function(b){b&&null==a.getCurrentFile()&&a.showSplash()});c.init()});a.actions.addAction("exportPdf",function(){a.showDialog((new PrintDialog(a,
- mxResources.get("formatPdf"))).container,360,null!=a.pages&&1<a.pages.length?420:360,!0,!0)});a.actions.addAction("open...",function(){a.pickFile()});a.actions.addAction("close",function(){a.fileLoaded(null)});a.actions.addAction("editShape...",mxUtils.bind(this,function(){c.getSelectionCells();if(1==c.getSelectionCount()){var b=c.getSelectionCell(),d=c.view.getState(b);null!=d&&null!=d.shape&&null!=d.shape.stencil&&(b=new EditShapeDialog(a,b,mxResources.get("editShape")+":",630,400),a.showDialog(b.container,
- 640,480,!0,!1),b.init())}}));a.actions.addAction("revisionHistory...",function(){var b=a.getCurrentFile();if(null==b||b.constructor!=DriveFile&&b.constructor!=DropboxFile||null==a.drive&&b.constructor==DriveFile||null==a.dropbox&&b.constructor==DropboxFile)a.showError(mxResources.get("error"),mxResources.get("notAvailable"),mxResources.get("ok"));else if(a.spinner.spin(document.body,mxResources.get("loading")))if(b.constructor==DropboxFile){var c=a.dropbox.client.filesListRevisions({path:b.stat.path_lower,
- limit:100});c.then(mxUtils.bind(this,function(c){a.spinner.stop();try{for(var d=[],e=c.entries.length-1;0<=e;e--)(function(c){d.push({modifiedDate:c.client_modified,fileSize:c.size,getXml:function(d,e){a.dropbox.readFile({path:b.stat.path_lower,rev:c.rev},d,e)},getUrl:function(){return a.getUrl(window.location.pathname+"?rev="+c.rev+"&chrome=0&edit=_blank")+window.location.hash}})})(c.entries[e]);var f=new RevisionDialog(a,d);a.showDialog(f.container,640,480,!0,!0);f.init()}catch(E){a.handleError(E)}}));
- c["catch"](function(b){a.spinner.stop();a.handleError(b)})}else a.drive.executeRequest(gapi.client.drive.revisions.list({fileId:b.getId()}),function(c){a.spinner.stop();for(var d=0;d<c.items.length;d++)(function(d){d.getXml=function(e,f){a.drive.executeRequest(gapi.client.drive.revisions.get({fileId:b.getId(),revisionId:c.items[c.items.length-1]===d?b.desc.headRevisionId:d.id}),function(b){a.drive.getXmlFile(b,null,function(a){e(a.getData())},function(a){f(a)})},function(a){f(a)})};d.getUrl=function(){return a.getUrl(window.location.pathname+
- "?rev="+d.id+"&chrome=0&edit=_blank")+window.location.hash}})(c.items[d]);d=new RevisionDialog(a,c.items);a.showDialog(d.container,640,480,!0,!0);d.init()},function(b){a.spinner.stop();a.handleError(b)})});a.actions.addAction("createRevision",function(){a.actions.get("save").funct()},null,null,"Ctrl+S");a.actions.addAction("upload...",function(){var b=a.getCurrentFile();null!=b&&(window.drawdata=a.getFileData(),b=null!=b.getTitle()?b.getTitle():a.defaultFilename,window.open(window.location.protocol+
- "//"+window.location.host+"/?create=drawdata&"+(a.mode==App.MODE_DROPBOX?"mode=dropbox&":"")+"title="+encodeURIComponent(b)))});if("undefined"!==typeof MathJax){var k=a.actions.addAction("mathematicalTypesetting",function(){a.setMathEnabled(!a.isMathEnabled())});k.setToggleAction(!0);k.setSelectedCallback(function(){return a.isMathEnabled()});k.isEnabled=g}isLocalStorage&&(k=a.actions.addAction("showStartScreen",function(){mxSettings.setShowStartScreen(!mxSettings.getShowStartScreen());mxSettings.save()}),
- k.setToggleAction(!0),k.setSelectedCallback(function(){return mxSettings.getShowStartScreen()}));var m=a.actions.addAction("autosave",function(){a.editor.setAutosave(!a.editor.autosave)});m.setToggleAction(!0);m.setSelectedCallback(function(){return m.isEnabled()&&a.editor.autosave});a.actions.addAction("editGeometry...",function(){for(var b=c.getSelectionCells(),d=[],e=0;e<b.length;e++)c.getModel().isVertex(b[e])&&d.push(b[e]);0<d.length&&(b=new EditGeometryDialog(a,d),a.showDialog(b.container,180,
- 180,!0,!0),b.init())},null,null,"Ctrl+Shift+M");var n="rounded shadow dashed dashPattern fontFamily fontSize fontColor fontStyle align verticalAlign strokeColor strokeWidth fillColor gradientColor swimlaneFillColor textOpacity gradientDirection glass labelBackgroundColor labelBorderColor opacity spacing spacingTop spacingLeft spacingBottom spacingRight endFill endArrow endSize startStill startArrow startSize arcSize".split(" ");a.actions.addAction("copyStyle",function(){var b=c.view.getState(c.getSelectionCell());
- if(c.isEnabled()&&null!=b){a.copiedStyle=mxUtils.clone(b.style);for(var b=c.getModel().getStyle(b.cell),b=null!=b?b.split(";"):[],d=0;d<b.length;d++){var e=b[d],f=e.indexOf("=");if(0<=f){var g=e.substring(0,f),e=e.substring(f+1);null==a.copiedStyle[g]&&"none"==e&&(a.copiedStyle[g]="none")}}}},null,null,"Ctrl+Shift+C");a.actions.addAction("pasteStyle",function(){if(c.isEnabled()&&!c.isSelectionEmpty()&&null!=a.copiedStyle){c.getModel().beginUpdate();try{for(var b=c.getSelectionCells(),d=0;d<b.length;d++)for(var e=
- c.view.getState(b[d]),f=0;f<n.length;f++){var g=n[f],h=a.copiedStyle[g];e.style[g]!=h&&c.setCellStyles(g,h,[b[d]])}}finally{c.getModel().endUpdate()}}},null,null,"Ctrl+Shift+V");a.actions.put("pageBackgroundImage",new Action(mxResources.get("backgroundImage")+"...",function(){if(!a.isOffline()){var b=new BackgroundImageDialog(a,function(b){a.setBackgroundImage(b)});a.showDialog(b.container,320,170,!0,!0);b.init()}}));k=a.actions.put("shadowVisible",new Action(mxResources.get("shadow"),function(){c.setShadowVisible(!c.shadowVisible)}));
- k.setToggleAction(!0);k.setSelectedCallback(function(){return c.shadowVisible});a.actions.put("about",new Action(mxResources.get("aboutDrawio")+"...",function(){a.showDialog((new AboutDialog(a)).container,220,300,!0,!0)},null,null,"F1"));a.actions.addAction("userManual...",function(){window.open("https://support.draw.io/display/DO/Draw.io+Online+User+Manual")});a.actions.addAction("support...",function(){window.open("https://support.draw.io/display/DO/draw.io+Online+Support")});a.actions.addAction("exportOptionsDisabled...",
- function(){a.handleError({message:mxResources.get("exportOptionsDisabledDetails")},mxResources.get("exportOptionsDisabled"))});a.actions.addAction("keyboardShortcuts...",function(){mxClient.IS_CHROMEAPP?window.open("https://www.draw.io/shortcuts.svg"):mxClient.IS_SVG?window.open("shortcuts.svg"):window.open("https://www.draw.io/?lightbox=1#Uhttps%3A%2F%2Fwww.draw.io%2Fshortcuts.svg")});a.actions.addAction("feedback...",function(){var b=new FeedbackDialog(a);a.showDialog(b.container,610,360,!0,!0);
- b.init()});a.actions.addAction("quickStart...",function(){window.open("https://www.youtube.com/watch?v=Z0D96ZikMkc")});k=a.actions.addAction("tags...",mxUtils.bind(this,function(){null==this.tagsWindow?(this.tagsWindow=new TagsWindow(a,document.body.offsetWidth-380,230,280,120),this.tagsWindow.window.addListener("show",function(){a.fireEvent(new mxEventObject("tags"))}),this.tagsWindow.window.addListener("hide",function(){a.fireEvent(new mxEventObject("tags"))}),this.tagsWindow.window.setVisible(!0),
- a.fireEvent(new mxEventObject("tags"))):this.tagsWindow.window.setVisible(!this.tagsWindow.window.isVisible())}));k.setToggleAction(!0);k.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.tagsWindow&&this.tagsWindow.window.isVisible()}));k=a.actions.addAction("find...",mxUtils.bind(this,function(){null==this.findWindow?(this.findWindow=new FindWindow(a,document.body.offsetWidth-300,110,204,140),this.findWindow.window.addListener("show",function(){a.fireEvent(new mxEventObject("find"))}),
- this.findWindow.window.addListener("hide",function(){a.fireEvent(new mxEventObject("find"))}),this.findWindow.window.setVisible(!0),a.fireEvent(new mxEventObject("find"))):this.findWindow.window.setVisible(!this.findWindow.window.isVisible())}));k.setToggleAction(!0);k.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.findWindow&&this.findWindow.window.isVisible()}));a.actions.put("exportVsdx",new Action(mxResources.get("formatVsdx")+" (beta)...",function(){var b=mxUtils.bind(this,
- function(){if("undefined"!==typeof VsdxExport)try{(new VsdxExport(a)).exportCurrentDiagrams()}catch(u){}});"undefined"!==typeof VsdxExport||this.loadingVsdx||a.isOffline()?window.setTimeout(b,0):(this.loadingVsdx=!0,mxscript("js/vsdx.min.js",b))}));if(mxClient.IS_CHROMEAPP||isLocalStorage&&"1"!=urlParams.offline)if(this.put("language",new Menu(mxUtils.bind(this,function(b,c){var d=mxUtils.bind(this,function(d){var e=""==d?mxResources.get("automatic"):mxLanguageMap[d],f=null;""!=e&&(f=b.addItem(e,
- null,mxUtils.bind(this,function(){mxSettings.setLanguage(d);mxSettings.save();mxClient.language=d;mxResources.loadDefaultBundle=!1;mxResources.add(RESOURCE_BASE);a.alert(mxResources.get("restartForChangeRequired"))}),c),(d==mxLanguage||""==d&&null==mxLanguage)&&b.addCheckmark(f,Editor.checkmarkImage));return f});d("");b.addSeparator(c);for(var e in mxLanguageMap)d(e)}))),"atlas"!=uiTheme){var p=Menus.prototype.createMenubar;Menus.prototype.createMenubar=function(a){var b=p.apply(this,arguments);if(null!=
- b){var c=this.get("language");null!=c&&(c=b.addMenu("",c.funct),c.setAttribute("title",mxResources.get("language")),c.style.width="16px",c.style.paddingTop="2px",c.style.paddingLeft="4px",c.innerHTML='<div class="geIcon geSprite geSprite-globe"/>',c.style.zIndex="1",c.style.position="absolute",c.style.top="2px",c.style.right="17px",c.style.display="block",mxClient.IS_VML||mxUtils.setOpacity(c,60),document.body.appendChild(c))}return b}}this.put("help",new Menu(mxUtils.bind(this,function(b,d){if(!mxClient.IS_CHROMEAPP&&
- a.isOffline())this.addMenuItems(b,["about"]);else{var e=b.addItem("Search",null,null,d,null,null,!1),f=document.createElement("div");f.style.display="inline";f.innerHTML=':<form style="display:inline;margin-left:8px;"target="_blank" method="get" action="https://desk.draw.io/support/search/solutions"><input type="text" name="term" size="25"></form>';e.firstChild.nextSibling.appendChild(f);e.style.backgroundColor="whiteSmoke";e.style.cursor="default";var g=f.getElementsByTagName("form")[0],h=f.getElementsByTagName("input")[0];
- null!=h&&null!=g&&(mxEvent.addListener(g,"submit",function(){if(EditorUi.enableLogging)try{(new Image).src=(null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"")+"/log?severity=CONFIG&msg=helpsearch:"+encodeURIComponent(h.value)+"&v="+encodeURIComponent(EditorUi.VERSION)}catch(E){}window.setTimeout(function(){a.menubar.hideMenu()},0)}),mxEvent.addGestureListeners(e,function(a){document.activeElement!=h&&h.focus();mxEvent.consume(a)},function(a){mxEvent.consume(a)},function(a){mxEvent.consume(a)}),
- window.setTimeout(function(){h.focus()},0));this.addMenuItems(b,["-","quickStart","userManual","keyboardShortcuts","-"]);mxClient.IS_CHROMEAPP||this.addMenuItems(b,["feedback"]);this.addMenuItems(b,["support","-","about"])}"1"==urlParams.ruler&&(mxResources.parse("rulerInch=Ruler unit: Inches"),this.editorUi.actions.addAction("rulerInch",mxUtils.bind(this,function(){this.editorUi.vRuler.setUnit(mxRuler.prototype.INCHES);this.editorUi.hRuler.setUnit(mxRuler.prototype.INCHES);this.editorUi.vRuler.drawRuler(!0);
- this.editorUi.hRuler.drawRuler(!0)})),mxResources.parse("rulerCM=Ruler unit: CMs"),this.editorUi.actions.addAction("rulerCM",mxUtils.bind(this,function(){this.editorUi.vRuler.setUnit(mxRuler.prototype.CENTIMETER);this.editorUi.hRuler.setUnit(mxRuler.prototype.CENTIMETER);this.editorUi.vRuler.drawRuler(!0);this.editorUi.hRuler.drawRuler(!0)})),mxResources.parse("rulerPixel=Ruler unit: Pixels"),this.editorUi.actions.addAction("rulerPixel",mxUtils.bind(this,function(){this.editorUi.vRuler.setUnit(mxRuler.prototype.PIXELS);
- this.editorUi.hRuler.setUnit(mxRuler.prototype.PIXELS);this.editorUi.vRuler.drawRuler(!0);this.editorUi.hRuler.drawRuler(!0)})),this.addMenuItems(b,["-","rulerInch","rulerCM","rulerPixel"],d));"1"==urlParams.test&&(mxResources.parse("showBoundingBox=Show bounding box"),this.editorUi.actions.addAction("showBoundingBox",mxUtils.bind(this,function(){var a=c.getGraphBounds(),b=c.view.translate,e=c.view.scale;c.insertVertex(d,null,"",a.x/e-b.x,a.y/e-b.y,a.width/e,a.height/e,"fillColor=none;strokeColor=red;")})),
- this.addMenuItems(b,["-","showBoundingBox"],d),mxResources.parse("testXmlImageExport=XML Image Export"),this.editorUi.actions.addAction("testXmlImageExport",mxUtils.bind(this,function(){var a=new mxImageExport,b=c.getGraphBounds(),d=c.view.scale,e=mxUtils.createXmlDocument(),f=e.createElement("output");e.appendChild(f);e=new mxXmlCanvas2D(f);e.translate(Math.floor((1-b.x)/d),Math.floor((1-b.y)/d));e.scale(1/d);var g=0,h=e.save;e.save=function(){g++;h.apply(this,arguments)};var k=e.restore;e.restore=
- function(){g--;k.apply(this,arguments)};var l=a.drawShape;a.drawShape=function(a){mxLog.debug("entering shape",a,g);l.apply(this,arguments);mxLog.debug("leaving shape",a,g)};a.drawState(c.getView().getState(c.model.root),e);mxLog.show();mxLog.debug(mxUtils.getXml(f));mxLog.debug("stateCounter",g)})),this.addMenuItems(b,["testXmlImageExport"],d),mxResources.parse("testShowRtModel=Show RT model"),mxResources.parse("testDebugRtModel=Debug RT model"),mxResources.parse("testDownloadRtModel=Download RT model"),
- this.editorUi.actions.addAction("testShowRtModel",mxUtils.bind(this,function(){null!=this.editorUi.getCurrentFile()&&null!=this.editorUi.getCurrentFile().realtime&&(console.log("bytesUsed",this.editorUi.getCurrentFile().realtime.rtModel.bytesUsed),console.log("root",this.editorUi.getCurrentFile().realtime.dumpRoot()),this.editorUi.getCurrentFile().realtime.check())})),this.editorUi.actions.addAction("testDebugRtModel",mxUtils.bind(this,function(){gapi.drive.realtime.debug()})),this.editorUi.actions.addAction("testDownloadRtModel",
- mxUtils.bind(this,function(){var b=this.editorUi.getCurrentFile();null!=b&&null!=b.realtime&&a.spinner.spin(document.body,mxResources.get("export"))&&(b=new mxXmlRequest("https://www.googleapis.com/drive/v2/files/"+b.getHash().substring(1)+"/realtime",null,"GET"),b.setRequestHeaders=function(a){mxXmlRequest.prototype.setRequestHeaders.apply(this,arguments);var b=gapi.auth.getToken().access_token;a.setRequestHeader("authorization","Bearer "+b)},b.send(function(b){a.spinner.stop();200<=b.getStatus()&&
- 299>=b.getStatus()&&a.saveLocalFile(b.getText(),"realtime.txt","text/plain")}))})),null!=this.editorUi.getCurrentFile()&&null!=this.editorUi.getCurrentFile().realtime&&this.addMenuItems(b,["-","testShowRtModel","testDebugRtModel","testDownloadRtModel"],d),mxResources.parse("testShowConsole=Show Console"),this.editorUi.actions.addAction("testShowConsole",function(){mxLog.isVisible()?mxLog.window.fit():mxLog.show();mxLog.window.div.style.zIndex=mxPopupMenu.prototype.zIndex-1}),this.addMenuItems(b,["-",
- "testShowConsole"]))})));a.actions.addAction("shapes...",function(){mxClient.IS_CHROMEAPP||!a.isOffline()?a.showDialog((new MoreShapesDialog(a,!0)).container,640,isLocalStorage?mxClient.IS_IOS?480:460:440,!0,!0):a.showDialog((new MoreShapesDialog(a,!1)).container,360,isLocalStorage?mxClient.IS_IOS?300:280:260,!0,!0)});a.actions.addAction("createShape...",function(){var b=a.getCurrentFile();if("1"==urlParams.embed||null!=b&&b.isEditable())b=new mxCell("",new mxGeometry(0,0,120,120),a.defaultCustomShapeStyle),
- b.vertex=!0,b=new EditShapeDialog(a,b,mxResources.get("editShape")+":",630,400),a.showDialog(b.container,640,480,!0,!1),b.init()});a.actions.put("embedHtml",new Action(mxResources.get("html")+"...",function(){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(b){a.spinner.stop();a.showHtmlDialog(mxResources.get("create"),"https://desk.draw.io/support/solutions/articles/16000042542",b,function(b,c,d,e,f,g,h,k,l,m){a.createHtml(b,c,d,e,f,g,h,k,l,m,mxUtils.bind(this,
- function(b,c){var d=new EmbedDialog(a,b+"\n"+c,null,null,function(){var a=window.open(),d=a.document;"CSS1Compat"===document.compatMode&&d.writeln("<!DOCTYPE html>");d.writeln("<html>");d.writeln("<head><title>"+encodeURIComponent(mxResources.get("preview"))+'</title><meta charset="utf-8"></head>');d.writeln("<body>");d.writeln(b);var e=mxClient.IS_IE||mxClient.IS_EDGE||null!=document.documentMode;e&&d.writeln(c);d.writeln("</body>");d.writeln("</html>");d.close();if(!e){var f=a.document.createElement("div");
- f.marginLeft="26px";f.marginTop="26px";mxUtils.write(f,mxResources.get("updatingDocument"));e=a.document.createElement("img");e.setAttribute("src",window.location.protocol+"//"+window.location.hostname+"/"+IMAGE_PATH+"/spin.gif");e.style.marginLeft="6px";f.appendChild(e);a.document.body.insertBefore(f,a.document.body.firstChild);window.setTimeout(function(){var a=document.createElement("script");a.type="text/javascript";a.src=/<script.*?src="(.*?)"/.exec(c)[1];d.body.appendChild(a);f.parentNode.removeChild(f)},
- 20)}});a.showDialog(d.container,440,240,!0,!0);d.init()}))})})}));a.actions.put("liveImage",new Action("Live image...",function(){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(b){a.spinner.stop();null!=b?(b=encodeURIComponent(b),b=new EmbedDialog(a,EXPORT_URL+"?format=png&url="+b,0),a.showDialog(b.container,440,240,!0,!0),b.init()):a.handleError({message:mxResources.get("invalidPublicUrl")})})}));a.actions.put("embedImage",new Action(mxResources.get("image")+
- "...",function(){a.showEmbedImageDialog(function(b,c,d,e,f,g){a.spinner.spin(document.body,mxResources.get("loading"))&&a.createEmbedImage(b,c,d,e,f,g,function(b){a.spinner.stop();b=new EmbedDialog(a,b);a.showDialog(b.container,440,240,!0,!0);b.init()},function(b){a.spinner.stop();a.handleError(b)})},mxResources.get("image"),mxResources.get("retina"),a.isExportToCanvas())}));a.actions.put("embedSvg",new Action(mxResources.get("formatSvg")+"...",function(){a.showEmbedImageDialog(function(b,c,d,e,f,
- g){a.spinner.spin(document.body,mxResources.get("loading"))&&a.createEmbedSvg(b,c,d,e,f,g,function(b){a.spinner.stop();b=new EmbedDialog(a,b);a.showDialog(b.container,440,240,!0,!0);b.init()},function(b){a.spinner.stop();a.handleError(b)})},mxResources.get("formatSvg"),mxResources.get("image"),!0,"https://desk.draw.io/support/solutions/articles/16000042548")}));a.actions.put("embedIframe",new Action(mxResources.get("iframe")+"...",function(){var b=c.getGraphBounds();a.showPublishLinkDialog(mxResources.get("iframe"),
- null,"100%",Math.ceil((b.y+b.height-c.view.translate.y)/c.view.scale)+2,function(b,c,d,e,f,g,h,k){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(l){a.spinner.stop();l=new EmbedDialog(a,'<iframe frameborder="0" style="width:'+h+";height:"+k+';" src="'+a.createLink(b,c,d,e,f,g,l)+'"></iframe>');a.showDialog(l.container,440,240,!0,!0);l.init()})},!0)}));a.actions.put("publishLink",new Action(mxResources.get("link")+"...",function(){a.showPublishLinkDialog(null,
- null,null,null,function(b,c,d,e,f,g){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(h){a.spinner.stop();h=new EmbedDialog(a,a.createLink(b,c,d,e,f,g,h));a.showDialog(h.container,440,240,!0,!0);h.init()})})}));a.actions.addAction("googleDocs...",function(){window.open("http://docsaddon.draw.io")});a.actions.addAction("googleSites...",function(){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(b){a.spinner.stop();
- b=new GoogleSitesDialog(a,b);a.showDialog(b.container,420,256,!0,!0);b.init()})});if(isLocalStorage||mxClient.IS_CHROMEAPP)k=a.actions.addAction("scratchpad",function(){a.toggleScratchpad()}),k.setToggleAction(!0),k.setSelectedCallback(function(){return null!=a.scratchpad}),a.actions.addAction("plugins...",function(){a.showDialog((new PluginsDialog(a)).container,360,156,!0,!1)});k=a.actions.addAction("search",function(){var b=a.sidebar.isEntryVisible("search");a.sidebar.showPalette("search",!b);isLocalStorage&&
- (mxSettings.settings.search=!b,mxSettings.save())});k.setToggleAction(!0);k.setSelectedCallback(function(){return a.sidebar.isEntryVisible("search")});"1"==urlParams.embed&&(a.actions.get("save").funct=function(b){c.isEditing()&&c.stopEditing();var d="0"!=urlParams.pages||null!=a.pages&&1<a.pages.length?a.getFileData(!0):mxUtils.getXml(a.editor.getGraphXml());if("json"==urlParams.proto){var e=a.createLoadMessage("save");e.xml=d;b&&(e.exit=!0);d=JSON.stringify(e)}(window.opener||window.parent).postMessage(d,
- "*");"0"!=urlParams.modified&&"1"!=urlParams.keepmodified&&(a.editor.modified=!1,a.editor.setStatus(""))},a.actions.addAction("saveAndExit",function(){a.actions.get("save").funct(!0)}),a.actions.addAction("exit",function(){var b=function(){var b="json"==urlParams.proto?JSON.stringify({event:"exit",modified:a.editor.modified}):"";(window.opener||window.parent).postMessage(b,"*")};a.editor.modified?a.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):
- b()}));this.put("exportAs",new Menu(mxUtils.bind(this,function(b,d){a.isExportToCanvas()?(b.addItem(mxResources.get("formatPng")+"...",null,mxUtils.bind(this,function(){a.showExportDialog(mxResources.get("image"),!1,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,function(a,b,c,d,e,f,g,h,k){a=parseInt(a);!isNaN(a)&&0<a&&this.editorUi.exportImage(a/100,b,c,d,e,g,!h,k)}),!0,!1,"png")}),d),a.jpgSupported&&b.addItem(mxResources.get("formatJpg")+"...",null,
- mxUtils.bind(this,function(){a.showExportDialog(mxResources.get("image"),!1,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,function(a,b,c,d,e,f,g,h,k){a=parseInt(a);!isNaN(a)&&0<a&&this.editorUi.exportImage(a/100,!1,c,d,!1,g,!h,!1,"jpeg")}),!0,!1,"jpeg")}),d)):a.isOffline()||mxClient.IS_IOS&&navigator.standalone||(b.addItem(mxResources.get("formatPng")+"...",null,mxUtils.bind(this,function(){a.showRemoteExportDialog(mxResources.get("export"),null,
- mxUtils.bind(this,function(a,b){this.editorUi.downloadFile(b?"xmlpng":"png",null,null,a)}))}),d),b.addItem(mxResources.get("formatJpg")+"...",null,mxUtils.bind(this,function(){a.showRemoteExportDialog(mxResources.get("export"),null,mxUtils.bind(this,function(a,b){this.editorUi.downloadFile("jpeg",null,null,a)}),!0)}),d));b.addItem(mxResources.get("formatSvg")+"...",null,mxUtils.bind(this,function(){a.showExportDialog(mxResources.get("formatSvg"),!0,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",
- mxUtils.bind(this,function(a,b,c,d,e,f,g,h,k){a=parseInt(a);!isNaN(a)&&0<a&&this.editorUi.exportSvg(a/100,b,c,d,e,f,g,!h,k)}),!0,null,"svg")}),d);b.addSeparator(d);a.isOffline()||a.printPdfExport?b.addItem(mxResources.get("formatPdf")+"...",null,this.editorUi.actions.get("exportPdf").funct,d):a.isOffline()||mxClient.IS_IOS&&navigator.standalone||b.addItem(mxResources.get("formatPdf")+"...",null,mxUtils.bind(this,function(){var b=document.createElement("div");b.style.whiteSpace="nowrap";var d=document.createElement("h3");
- mxUtils.write(d,mxResources.get("formatPdf"));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";b.appendChild(d);var e=a.addCheckbox(b,mxResources.get("selectionOnly"),!1,c.isSelectionEmpty()),f=a.addCheckbox(b,mxResources.get("crop"),!c.pageVisible||!a.pdfPageExport,!a.pdfPageExport);f.style.marginBottom="16px";a.pdfPageExport||mxEvent.addListener(e,"change",function(){e.checked?f.removeAttribute("disabled"):f.setAttribute("disabled","disabled")});b=new CustomDialog(a,
- b,mxUtils.bind(this,function(){this.editorUi.downloadFile("pdf",null,null,!e.checked,null,!f.checked)}),null,mxResources.get("export"));this.editorUi.showDialog(b.container,300,146,!0,!0)}),d);b.addItem(mxResources.get("formatHtmlEmbedded")+"...",null,mxUtils.bind(this,function(){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(b){a.spinner.stop();a.showHtmlDialog(mxResources.get("export"),null,b,function(b,c,d,e,f,g,h,k,l,m){a.createHtml(b,c,d,
- e,f,g,h,k,l,m,mxUtils.bind(this,function(b,c){var d=a.getBaseFilename(),e='\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n<!DOCTYPE html>\n<html>\n<head>\n<title>'+mxUtils.htmlEntities(d)+'</title>\n<meta charset="utf-8"/>\n</head>\n<body>'+b+"\n"+c+"\n</body>\n</html>";a.saveData(d+".html","html",e,"text/html")}))})})}),d);mxClient.IS_IE11||mxClient.IS_IE||"undefined"===typeof VsdxExport&&a.isOffline()||this.addMenuItems(b,["exportVsdx"],d);b.addSeparator(d);
- b.addItem(mxResources.get("formatXml")+"...",null,mxUtils.bind(this,function(){var b=document.createElement("div");b.style.whiteSpace="nowrap";var d=null==a.pages||1>=a.pages.length,e=document.createElement("h3");mxUtils.write(e,mxResources.get("formatXml"));e.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";b.appendChild(e);var f=a.addCheckbox(b,mxResources.get("selectionOnly"),!1,c.isSelectionEmpty()),g=a.addCheckbox(b,mxResources.get(d?"compressed":"allPages"),!0);
- g.style.marginBottom="16px";mxEvent.addListener(f,"change",function(){f.checked?g.setAttribute("disabled","disabled"):g.removeAttribute("disabled")});b=new CustomDialog(a,b,mxUtils.bind(this,function(){a.downloadFile("xml",d?!g.checked:null,null,!f.checked,d?null:!g.checked)}),null,mxResources.get("export"));this.editorUi.showDialog(b.container,300,146,!0,!0)}),d);(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||/.*\.draw\.io$/.test(window.location.hostname))&&b.addItem(mxResources.get("url")+"...",
- null,mxUtils.bind(this,function(){a.showPublishLinkDialog(mxResources.get("url"),!0,null,null,function(b,c,d,e,f,g){b=new EmbedDialog(a,a.createLink(b,c,d,e,f,g,null,!0));a.showDialog(b.container,440,240,!0,!0);b.init()})}),d);a.isOffline()||(b.addSeparator(d),this.addMenuItem(b,"export",d).firstChild.nextSibling.innerHTML=mxResources.get("advanced")+"...")})));this.editorUi.actions.addAction("chatWindowTitle...",mxUtils.bind(this.editorUi,this.editorUi.toggleChat));this.put("importFrom",new Menu(function(b,
- d){function f(b){if(b&&Graph.fileSupport&&!mxClient.IS_IE&&!mxClient.IS_IE11){var d=document.createElement("input");d.setAttribute("type","file");mxEvent.addListener(d,"change",function(){null!=d.files&&a.importFiles(d.files,null,null,a.maxImageSize)});d.click()}else{window.openNew=!1;window.openKey="import";var e=Editor.useLocalStorage;Editor.useLocalStorage=!b;window.openFile=new OpenFile(function(b){a.hideDialog(b)});window.openFile.setConsumer(function(b,d){c.setSelectionCells(a.importXml(b))});
- a.showDialog((new OpenDialog(a)).container,360,220,!0,!0,function(){window.openFile=null});var f=a.dialog,g=f.close;a.dialog.close=function(b){Editor.useLocalStorage=e;g.apply(f,arguments);b&&null==a.getCurrentFile()&&"1"!=urlParams.embed&&a.showSplash()}}}function g(b){b.pickFile(function(c){a.spinner.spin(document.body,mxResources.get("loading"))&&b.getFile(c,function(b){var c=m(b.getTitle());/\.svg$/i.test(b.getTitle())&&!a.editor.isDataSvg(b.getData())&&(b.setData(a.createSvgDataUri(b.getData())),
- c="image/svg+xml");k(b.getData(),c,b.getTitle())},function(b){a.handleError(b,null!=b?mxResources.get("errorLoadingFile"):null)},b==a.drive)},!0)}var k=mxUtils.bind(this,function(b,d,e){var f=c.view,g=c.getGraphBounds(),h=c.snap(Math.ceil(Math.max(0,g.x/f.scale-f.translate.x)+4*c.gridSize)),k=c.snap(Math.ceil(Math.max(0,(g.y+g.height)/f.scale-f.translate.y)+4*c.gridSize));"data:image/"==b.substring(0,11)?a.loadImage(b,mxUtils.bind(this,function(f){var g=!0,l=mxUtils.bind(this,function(){a.resizeImage(f,
- b,mxUtils.bind(this,function(f,l,m){f=g?Math.min(1,Math.min(a.maxImageSize/l,a.maxImageSize/m)):1;a.importFile(b,d,h,k,Math.round(l*f),Math.round(m*f),e,function(b){a.spinner.stop();c.setSelectionCells(b);c.scrollCellToVisible(c.getSelectionCell())})}),g)});b.length>a.resampleThreshold?a.confirmImageResize(function(a){g=a;l()}):l()}),mxUtils.bind(this,function(){a.handleError({message:mxResources.get("cannotOpenFile")})})):a.importFile(b,d,h,k,0,0,e,function(b){a.spinner.stop();c.setSelectionCells(b);
- c.scrollCellToVisible(c.getSelectionCell())})}),m=mxUtils.bind(this,function(a){var b="text/xml";/\.png$/i.test(a)?b="image/png":/\.jpe?g$/i.test(a)?b="image/jpg":/\.gif$/i.test(a)&&(b="image/gif");return b});"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=a.drive?b.addItem(mxResources.get("googleDrive")+"...",null,function(){g(a.drive)},d):l&&b.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},d,null,!1));null!=a.gitHub&&b.addItem(mxResources.get("github")+
- "...",null,function(){g(a.gitHub)},d);null!=a.dropbox?b.addItem(mxResources.get("dropbox")+"...",null,function(){g(a.dropbox)},d):e&&b.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},d,null,!1);null!=a.oneDrive?b.addItem(mxResources.get("oneDrive")+"...",null,function(){g(a.oneDrive)},d):h&&b.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},d,null,!1);b.addSeparator(d);isLocalStorage&&"0"!=urlParams.browser&&b.addItem(mxResources.get("browser")+
- "...",null,function(){f(!1)},d);mxClient.IS_IOS||b.addItem(mxResources.get("device")+"...",null,function(){f(!0)},d);a.isOffline()||(b.addSeparator(d),b.addItem(mxResources.get("url")+"...",null,function(){var b=new FilenameDialog(a,"",mxResources.get("import"),function(b){if(null!=b&&0<b.length&&a.spinner.spin(document.body,mxResources.get("loading"))){var c=/(\.png)($|\?)/i.test(b)?"image/png":"text/xml";a.loadUrl(PROXY_URL+"?url="+encodeURIComponent(b),function(a){k(a,c,b)},function(){a.spinner.stop();
- a.handleError(null,mxResources.get("errorLoadingFile"))},"image/png"==c)}},mxResources.get("url"));a.showDialog(b.container,300,80,!0,!0);b.init()},d));b.addItem(mxResources.get("csv")+"...",null,function(){a.showImportCsvDialog()},d)})).isEnabled=g;this.put("theme",new Menu(mxUtils.bind(this,function(b,c){var d=b.addItem(mxResources.get("kennedy"),null,function(){mxSettings.setUi("");mxSettings.save();a.alert(mxResources.get("restartForChangeRequired"))},c);"atlas"!=uiTheme&&b.addCheckmark(d,Editor.checkmarkImage);
- d=b.addItem(mxResources.get("atlas"),null,function(){mxSettings.setUi("atlas");mxSettings.save();a.alert(mxResources.get("restartForChangeRequired"))},c);"atlas"==uiTheme&&b.addCheckmark(d,Editor.checkmarkImage)})));this.editorUi.actions.addAction("rename...",mxUtils.bind(this,function(){var b=this.editorUi.getCurrentFile();if(null!=b){var c=null!=b.getTitle()?b.getTitle():this.editorUi.defaultFilename,c=new FilenameDialog(this.editorUi,c,mxResources.get("rename"),mxUtils.bind(this,function(a){null!=
- a&&0<a.length&&null!=b&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming"))&&b.rename(a,mxUtils.bind(this,function(a){this.editorUi.spinner.stop()}),mxUtils.bind(this,function(a){this.editorUi.handleError(a,null!=a?mxResources.get("errorRenamingFile"):null)}))}),b.constructor==DriveFile||b.constructor==StorageFile?mxResources.get("diagramName"):null,function(b){if(null!=b&&0<b.length)return!0;a.showError(mxResources.get("error"),mxResources.get("invalidName"),mxResources.get("ok"));
- return!1});this.editorUi.showDialog(c.container,300,80,!0,!0);c.init()}})).isEnabled=g;a.actions.addAction("makeCopy...",mxUtils.bind(this,function(){var b=a.getCurrentFile();if(null!=b){var c=null!=b.getTitle()?b.getTitle():a.defaultFilename,d="",e=c.lastIndexOf(".");0<=e&&(d=c.substring(e),c=c.substring(0,e));c=mxResources.get("copyOf",[c])+d;b.constructor==DriveFile?(c=new CreateDialog(a,c,mxUtils.bind(this,function(c,d){"download"==d&&(d=App.MODE_GOOGLE);null!=c&&0<c.length&&(d==App.MODE_GOOGLE?
- a.spinner.spin(document.body,mxResources.get("saving"))&&b.save(!1,mxUtils.bind(this,function(){b.saveAs(c,mxUtils.bind(this,function(b){a.spinner.stop();var c=a.getUrl();window.openWindow(c+"#G"+b.id,null,mxUtils.bind(this,function(){window.location.hash="G"+b.id}))}),mxUtils.bind(this,function(b){a.handleError(b)}))}),mxUtils.bind(this,function(b){a.handleError(b)})):this.editorUi.createFile(c,this.editorUi.getFileData(!0),null,d))}),mxUtils.bind(this,function(){a.hideDialog()}),mxResources.get("makeCopy"),
- mxResources.get("create"),null,null,null,null,!0),a.showDialog(c.container,420,380,!0,!0),c.init()):a.editor.editAsNew(a.getEditBlankXml(),c)}}));a.actions.addAction("moveToFolder...",mxUtils.bind(this,function(){var b=a.getCurrentFile();b.getMode()!=App.MODE_GOOGLE&&b.getMode()!=App.MODE_ONEDRIVE||a.pickFolder(b.getMode(),mxUtils.bind(this,function(c){a.spinner.spin(document.body,mxResources.get("moving"))&&b.move(c,mxUtils.bind(this,function(b){a.spinner.stop()}),mxUtils.bind(this,function(b){a.handleError(b)}))}))}));
- this.put("publish",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["publishLink"],b)})));a.actions.put("offline",new Action(mxResources.get("offline")+"...",function(){window.open("http://www.draw.io/app")}));a.actions.put("chromeApp",new Action(mxResources.get("chromeApp")+"...",function(){window.open("https://chrome.google.com/webstore/detail/drawio-desktop/pebppomjfocnoigkeepgbmcifnnlndla")}));this.editorUi.actions.addAction("share...",mxUtils.bind(this,function(){var a=this.editorUi.getCurrentFile();
- null!=a&&this.editorUi.drive.showPermissions(a.getId())}));this.put("embed",new Menu(mxUtils.bind(this,function(b,c){"1"==urlParams.test&&this.addMenuItems(b,["liveImage","-"],c);this.addMenuItems(b,["embedImage","embedSvg","-","embedHtml"],c);navigator.standalone||a.isOffline()||this.addMenuItems(b,["embedIframe"],c);a.isOffline()||this.addMenuItems(b,["-","googleSites","googleDocs"],c)})));var t="horizontalFlow verticalFlow - horizontalTree verticalTree - organic circle - fromText".split(" "),q=
- function(b,c,d,e){b.addItem(d,null,mxUtils.bind(this,function(){if("fromText"==e){var b=new ParseDialog(a,d);a.showDialog(b.container,620,420,!0,!1);a.dialog.container.style.overflow="auto"}else b=new CreateGraphDialog(a,d,e),a.showDialog(b.container,620,420,!0,!1);b.init()}),c)};a.actions.addAction("insertText",function(){if(c.isEnabled()&&!c.isCellLocked(c.getDefaultParent())){var a=c.isMouseInsertPoint()?c.getInsertPoint():c.getFreeInsertPoint(),a=new mxCell("Text",new mxGeometry(a.x,a.y,40,20),
- "text;html=1;resizable=0;autosize=1;align=left;verticalAlign=top;spacingTop=-4;points=[];");a.vertex=!0;c.startEditingAtCell(c.addCell(a))}},null,null,"Ctrl+Shift+X").isEnabled=g;a.actions.addAction("insertRectangle",function(){if(c.isEnabled()&&!c.isCellLocked(c.getDefaultParent())){var a=c.isMouseInsertPoint()?c.getInsertPoint():c.getFreeInsertPoint(),a=new mxCell("",new mxGeometry(a.x,a.y,120,60),"whiteSpace=wrap;html=1;");a.vertex=!0;c.setSelectionCell(c.addCell(a));c.scrollCellToVisible(c.getSelectionCell())}},
- null,null,"Ctrl+K").isEnabled=g;a.actions.addAction("insertEllipse",function(){if(c.isEnabled()&&!c.isCellLocked(c.getDefaultParent())){var a=c.isMouseInsertPoint()?c.getInsertPoint():c.getFreeInsertPoint(),a=new mxCell("",new mxGeometry(a.x,a.y,80,80),"ellipse;whiteSpace=wrap;html=1;");a.vertex=!0;c.setSelectionCell(c.addCell(a));c.scrollCellToVisible(c.getSelectionCell())}},null,null,"Ctrl+Shift+K").isEnabled=g;this.put("insert",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"insertText insertRectangle insertEllipse - insertLink insertImage".split(" "),
- b);a.addSeparator(b);for(var c=0;c<t.length;c++)"-"==t[c]?a.addSeparator(b):q(a,b,mxResources.get(t[c])+"...",t[c])})));this.put("openRecent",new Menu(function(b,c){var d=a.getRecent();if(null!=d){for(var e=0;e<d.length;e++)(function(d){var e=d.mode;e==App.MODE_GOOGLE?e="googleDrive":e==App.MODE_ONEDRIVE&&(e="oneDrive");b.addItem(d.title+" ("+mxResources.get(e)+")",null,function(){a.loadFile(d.id)},c)})(d[e]);b.addSeparator(c)}b.addItem(mxResources.get("reset"),null,function(){a.resetRecent()},c)}));
- this.put("openFrom",new Menu(function(b,c){null!=a.drive?b.addItem(mxResources.get("googleDrive")+"...",null,function(){a.pickFile(App.MODE_GOOGLE)},c):l&&b.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=a.gitHub&&b.addItem(mxResources.get("github")+"...",null,function(){a.pickFile(App.MODE_GITHUB)},c);null!=a.dropbox?b.addItem(mxResources.get("dropbox")+"...",null,function(){a.pickFile(App.MODE_DROPBOX)},c):e&&b.addItem(mxResources.get("dropbox")+
- " ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=a.oneDrive?b.addItem(mxResources.get("oneDrive")+"...",null,function(){a.pickFile(App.MODE_ONEDRIVE)},c):h&&b.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);b.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&b.addItem(mxResources.get("browser")+"...",null,function(){a.pickFile(App.MODE_BROWSER)},c);mxClient.IS_IOS||b.addItem(mxResources.get("device")+"...",null,
- function(){a.pickFile(App.MODE_DEVICE)},c);a.isOffline()||(b.addSeparator(c),b.addItem(mxResources.get("url")+"...",null,function(){var b=new FilenameDialog(a,"",mxResources.get("open"),function(b){null!=b&&0<b.length&&(null==a.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(b):window.openWindow((mxClient.IS_CHROMEAPP?"https://www.draw.io/":"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(b)))},mxResources.get("url"));a.showDialog(b.container,300,80,!0,!0);
- b.init()},c))}));this.put("newLibrary",new Menu(function(b,c){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=a.drive?b.addItem(mxResources.get("googleDrive")+"...",null,function(){a.showLibraryDialog(null,null,null,null,App.MODE_GOOGLE)},c):l&&b.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=a.gitHub&&b.addItem(mxResources.get("github")+"...",null,function(){a.showLibraryDialog(null,null,null,null,App.MODE_GITHUB)},
- c);null!=a.dropbox?b.addItem(mxResources.get("dropbox")+"...",null,function(){a.showLibraryDialog(null,null,null,null,App.MODE_DROPBOX)},c):e&&b.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=a.oneDrive?b.addItem(mxResources.get("oneDrive")+"...",null,function(){a.showLibraryDialog(null,null,null,null,App.MODE_ONEDRIVE)},c):h&&b.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);b.addSeparator(c);
- isLocalStorage&&"0"!=urlParams.browser&&b.addItem(mxResources.get("browser")+"...",null,function(){a.showLibraryDialog(null,null,null,null,App.MODE_BROWSER)},c);mxClient.IS_IOS||b.addItem(mxResources.get("device")+"...",null,function(){a.showLibraryDialog(null,null,null,null,App.MODE_DEVICE)},c)}));this.put("openLibraryFrom",new Menu(function(b,c){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=a.drive?b.addItem(mxResources.get("googleDrive")+"...",null,function(){a.pickLibrary(App.MODE_GOOGLE)},
- c):l&&b.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=a.gitHub&&b.addItem(mxResources.get("github")+"...",null,function(){a.pickLibrary(App.MODE_GITHUB)},c);null!=a.dropbox?b.addItem(mxResources.get("dropbox")+"...",null,function(){a.pickLibrary(App.MODE_DROPBOX)},c):e&&b.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=a.oneDrive?b.addItem(mxResources.get("oneDrive")+"...",
- null,function(){a.pickLibrary(App.MODE_ONEDRIVE)},c):h&&b.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);b.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&b.addItem(mxResources.get("browser")+"...",null,function(){a.pickLibrary(App.MODE_BROWSER)},c);mxClient.IS_IOS||b.addItem(mxResources.get("device")+"...",null,function(){a.pickLibrary(App.MODE_DEVICE)},c);a.isOffline()||(b.addSeparator(c),b.addItem(mxResources.get("url")+"...",null,
- function(){var b=new FilenameDialog(a,"",mxResources.get("open"),function(b){if(null!=b&&0<b.length&&a.spinner.spin(document.body,mxResources.get("loading"))){var c=b;a.isCorsEnabledForUrl(b)||(c=PROXY_URL+"?url="+encodeURIComponent(b));mxUtils.get(c,function(c){if(200<=c.getStatus()&&299>=c.getStatus()){a.spinner.stop();try{a.loadLibrary(new UrlLibrary(this,c.getText(),b))}catch(E){a.handleError(E,mxResources.get("errorLoadingFile"))}}else a.spinner.stop(),a.handleError(null,mxResources.get("errorLoadingFile"))},
- function(){a.spinner.stop();a.handleError(null,mxResources.get("errorLoadingFile"))})}},mxResources.get("url"));a.showDialog(b.container,300,80,!0,!0);b.init()},c))}));this.put("edit",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"undo redo - cut copy paste delete - duplicate - find - editData editTooltip editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("view",new Menu(mxUtils.bind(this,function(b,c){this.addMenuItems(b,
- (null!=this.editorUi.format?["formatPanel"]:[]).concat(["outline","layers","-"]));this.addMenuItems(b,["-","search"],c);if(isLocalStorage||mxClient.IS_CHROMEAPP){var d=this.addMenuItem(b,"scratchpad",c);a.isOffline()&&!mxClient.IS_CHROMEAPP||this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000042367")}this.addMenuItems(b,"shapes - pageView pageScale - scrollbars tooltips - grid guides".split(" "),c);mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode)&&this.addMenuItem(b,
- "shadowVisible",c);this.addMenuItems(b,"- connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),c)})));this.put("extras",new Menu(mxUtils.bind(this,function(b,c){"1"!=urlParams.embed&&(this.addSubmenu("theme",b,c),b.addSeparator(c));this.addMenuItems(b,["copyConnect","collapseExpand","-"],c);if("undefined"!==typeof MathJax){var d=this.addMenuItem(b,"mathematicalTypesetting",c);this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000032875")}"1"!=urlParams.embed&&
- this.addMenuItems(b,["autosave"],c);this.addMenuItems(b,["-","createShape","editDiagram"],c);b.addSeparator(c);"1"!=urlParams.embed&&isLocalStorage&&this.addMenuItems(b,["showStartScreen"],c);a.isOfflineApp()||"1"==urlParams.embed||(d=this.addMenuItem(b,"plugins",c),a.isOffline()&&!mxClient.IS_CHROMEAPP||this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000056430"));b.addSeparator(c);d=this.addMenuItem(b,"tags",c);a.isOffline()&&!mxClient.IS_CHROMEAPP||this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000046966");
- b.addSeparator(c);a.isOfflineApp()||"1"==urlParams.embed||this.addMenuItems(b,["-","offline"],c);a.isOffline()||navigator.standalone||"1"==urlParams.embed||this.addMenuItems(b,["chromeApp"],c)})));this.put("file",new Menu(mxUtils.bind(this,function(b,c){if("1"==urlParams.embed)this.addSubmenu("importFrom",b,c),this.addSubmenu("exportAs",b,c),this.addSubmenu("embed",b,c),"1"==urlParams.libraries&&(this.addMenuItems(b,["-"],c),this.addSubmenu("newLibrary",b,c),this.addSubmenu("openLibraryFrom",b,c)),
- this.addMenuItems(b,["-","pageSetup","print","-","save"],c),"1"==urlParams.saveAndExit&&this.addMenuItems(b,["saveAndExit"],c),this.addMenuItems(b,["exit"],c);else{var d=this.editorUi.getCurrentFile();null!=d&&d.constructor==DriveFile?(d.isRestricted()&&this.addMenuItems(b,["exportOptionsDisabled"],c),null==d.realtime?this.addMenuItems(b,["save","share","-"],c):(d.isAutosave()||this.addMenuItems(b,["save"],c),this.addMenuItems(b,["share","chatWindowTitle","-"],c))):this.addMenuItems(b,["new"],c);
- this.addSubmenu("openFrom",b,c);isLocalStorage&&this.addSubmenu("openRecent",b,c);null!=d&&d.constructor==DriveFile?this.addMenuItems(b,["new","-","rename","makeCopy","moveToFolder"],c):(this.addMenuItems(b,["-","save","saveAs","-","rename"],c),a.isOfflineApp()?a.isOffline()||this.addMenuItems(b,["upload"],c):(this.addMenuItems(b,["makeCopy"],c),null!=d&&d.constructor==OneDriveFile&&this.addMenuItems(b,["moveToFolder"],c)));b.addSeparator(c);this.addSubmenu("importFrom",b,c);this.addSubmenu("exportAs",
- b,c);b.addSeparator(c);this.addSubmenu("embed",b,c);this.addSubmenu("publish",b,c);b.addSeparator(c);this.addSubmenu("newLibrary",b,c);this.addSubmenu("openLibraryFrom",b,c);null==d||d.constructor!=DriveFile&&d.constructor!=DropboxFile||this.addMenuItems(b,["-","revisionHistory"],c);null!=d&&d.constructor==DriveFile&&this.addMenuItems(b,["createRevision"],c);this.addMenuItems(b,["-","pageSetup"],c);mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(b,["print"],c);this.addMenuItems(b,["-","close"])}})))};
- var c=Menus.prototype.menuCreated;Menus.prototype.menuCreated=function(a,b){if(480>=screen.width&&a==this.get("help")){b.style.paddingRight="0px";b.style.paddingLeft="0px";b.innerHTML="";var d=document.createElement("img");d.setAttribute("border","0");d.setAttribute("valign","bottom");d.setAttribute("src",Editor.helpImage);b.appendChild(d)}c.apply(this,arguments)}})();function DiagramPage(a){this.node=a;(null==this.node.hasAttribute&&null==this.node.getAttribute("id")||null!=this.node.hasAttribute&&!this.node.hasAttribute("id"))&&this.node.setAttribute("id",function(){function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}())}DiagramPage.prototype.node=null;DiagramPage.prototype.root=null;DiagramPage.prototype.viewState=null;DiagramPage.prototype.getId=function(){return this.node.getAttribute("id")};
- DiagramPage.prototype.getName=function(){return this.node.getAttribute("name")};DiagramPage.prototype.setName=function(a){null==a?this.node.removeAttribute("name"):this.node.setAttribute("name",a)};function RenamePage(a,b,c){this.ui=a;this.page=b;this.previous=c}RenamePage.prototype.execute=function(){var a=this.page.getName();this.page.setName(this.previous);this.previous=a;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageRenamed"))};
- function MovePage(a,b,c){this.ui=a;this.oldIndex=b;this.newIndex=c}MovePage.prototype.execute=function(){this.ui.pages.splice(this.newIndex,0,this.ui.pages.splice(this.oldIndex,1)[0]);var a=this.oldIndex;this.oldIndex=this.newIndex;this.newIndex=a;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageMoved"))};
- function SelectPage(a,b){this.ui=a;this.previousPage=this.page=b;this.neverShown=!0;null!=b&&(this.neverShown=null==b.viewState,this.ui.updatePageRoot(b))}
- SelectPage.prototype.execute=function(){var a=mxUtils.indexOf(this.ui.pages,this.previousPage);if(null!=this.page&&0<=a){var a=this.ui.currentPage,b=this.ui.editor,c=b.graph,d=b.graph.compress(c.zapGremlins(mxUtils.getXml(b.getGraphXml(!0))));mxUtils.setTextContent(a.node,d);a.viewState=c.getViewState();a.root=c.model.root;c.view.clear(a.root,!0);c.clearSelection();this.ui.currentPage=this.previousPage;this.previousPage=a;a=this.ui.currentPage;c.model.rootChanged(a.root);c.setViewState(a.viewState);
- b.fireEvent(new mxEventObject("setViewState","change",this));c.gridEnabled=c.gridEnabled&&(!this.ui.editor.chromeless||"1"==urlParams.grid);b.updateGraphComponents();c.view.validate();c.sizeDidChange();this.neverShown&&(this.neverShown=!1,c.selectUnlockedLayer());b.graph.fireEvent(new mxEventObject(mxEvent.ROOT));b.fireEvent(new mxEventObject("pageSelected","change",this))}};function ChangePage(a,b,c,d){SelectPage.call(this,a,c);this.relatedPage=b;this.index=d;this.previousIndex=null}
- mxUtils.extend(ChangePage,SelectPage);ChangePage.prototype.execute=function(){this.ui.editor.fireEvent(new mxEventObject("beforePageChange","change",this));this.previousIndex=this.index;if(null==this.index){var a=mxUtils.indexOf(this.ui.pages,this.relatedPage);this.ui.pages.splice(a,1);this.index=a}else this.ui.pages.splice(this.index,0,this.relatedPage),this.index=null;SelectPage.prototype.execute.apply(this,arguments)};
- EditorUi.prototype.getPageById=function(a){if(null!=this.pages)for(var b=0;b<this.pages.length;b++)if(this.pages[b].getId()==a)return this.pages[b];return null};
- EditorUi.prototype.initPages=function(){this.actions.addAction("previousPage",mxUtils.bind(this,function(){this.selectNextPage(!1)}));this.actions.addAction("nextPage",mxUtils.bind(this,function(){this.selectNextPage(!0)}));this.keyHandler.bindAction(33,!0,"previousPage",!0);this.keyHandler.bindAction(34,!0,"nextPage",!0);var a=this.editor.graph,b=a.view.validateBackground;a.view.validateBackground=mxUtils.bind(this,function(){if(null!=this.tabContainer){var c=this.tabContainer.style.height;this.tabContainer.style.height=
- null==this.fileNode||null==this.pages||1==this.pages.length&&"0"==urlParams.pages?"0px":"30px";c!=this.tabContainer.style.height&&this.refresh(!1)}b.apply(a.view,arguments)});var c=!1,d=null,f=mxUtils.bind(this,function(){this.updateTabContainer();var b=this.currentPage;null!=b&&b!=d&&(null==b.viewState||null==b.viewState.scrollLeft?(this.resetScrollbars(),a.lightbox&&this.lightboxFit(),null!=this.chromelessResize&&(a.container.scrollLeft=0,a.container.scrollTop=0,this.chromelessResize())):(a.container.scrollLeft=
- a.view.translate.x*a.view.scale+b.viewState.scrollLeft,a.container.scrollTop=a.view.translate.y*a.view.scale+b.viewState.scrollTop),d=b);null!=this.actions.layersWindow&&this.actions.layersWindow.refreshLayers();"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?c||(1!=MathJax.Hub.queue.pending||this.editor.graph.mathEnabled||MathJax.Hub.Queue(mxUtils.bind(this,function(){this.editor.graph.refresh()})),MathJax.Hub.Queue(mxUtils.bind(this,function(){c=!0}))):"undefined"===typeof Editor.MathJaxClear||
- this.editor.graph.mathEnabled||(c=!0,Editor.MathJaxClear())});this.editor.graph.model.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(a,b){for(var c=b.getProperty("edit").changes,d=0;d<c.length;d++)if(c[d]instanceof SelectPage||c[d]instanceof RenamePage||c[d]instanceof MovePage||c[d]instanceof mxRootChange){f();break}}));null!=this.toolbar&&this.editor.addListener("pageSelected",this.toolbar.updateZoom)};
- Graph.prototype.createViewState=function(a){var b=a.getAttribute("page"),c=a.getAttribute("pageScale"),d=a.getAttribute("pageWidth"),f=a.getAttribute("pageHeight"),g=a.getAttribute("background"),l=a.getAttribute("backgroundImage"),l=null!=l&&0<l.length?JSON.parse(l):null;return{gridEnabled:"0"!=a.getAttribute("grid"),gridSize:parseFloat(a.getAttribute("gridSize"))||mxGraph.prototype.gridSize,guidesEnabled:"0"!=a.getAttribute("guides"),foldingEnabled:"0"!=a.getAttribute("fold"),shadowVisible:"1"==
- a.getAttribute("shadow"),pageVisible:this.lightbox?!1:null!=b?"0"!=b:this.defaultPageVisible,background:null!=g&&0<g.length?g:this.defaultGraphBackground,backgroundImage:null!=l?new mxImage(l.src,l.width,l.height):null,pageScale:null!=c?c:mxGraph.prototype.pageScale,pageFormat:null!=d&&null!=f?new mxRectangle(0,0,parseFloat(d),parseFloat(f)):this.pageFormat,tooltips:"0"!=a.getAttribute("tooltips"),connect:"0"!=a.getAttribute("connect"),arrows:"0"!=a.getAttribute("arrows"),mathEnabled:"0"!=a.getAttribute("math"),
- selectionCells:null,defaultParent:null,scrollbars:this.defaultScrollbars,scale:1}};
- Graph.prototype.getViewState=function(){return{defaultParent:this.defaultParent,currentRoot:this.view.currentRoot,gridEnabled:this.gridEnabled,gridSize:this.gridSize,guidesEnabled:this.graphHandler.guidesEnabled,foldingEnabled:this.foldingEnabled,shadowVisible:this.shadowVisible,scrollbars:this.scrollbars,pageVisible:this.pageVisible,background:this.background,backgroundImage:this.backgroundImage,pageScale:this.pageScale,pageFormat:this.pageFormat,tooltips:this.tooltipHandler.isEnabled(),connect:this.connectionHandler.isEnabled(),
- arrows:this.connectionArrowsEnabled,scale:this.view.scale,scrollLeft:this.container.scrollLeft-this.view.translate.x*this.view.scale,scrollTop:this.container.scrollTop-this.view.translate.y*this.view.scale,translate:this.view.translate.clone(),lastPasteXml:this.lastPasteXml,pasteCounter:this.pasteCounter,mathEnabled:this.mathEnabled}};
- Graph.prototype.setViewState=function(a){null!=a?(this.lastPasteXml=a.lastPasteXml,this.pasteCounter=a.pasteCounter||0,this.mathEnabled=a.mathEnabled,this.gridEnabled=a.gridEnabled,this.gridSize=a.gridSize,this.graphHandler.guidesEnabled=a.guidesEnabled,this.foldingEnabled=a.foldingEnabled,this.setShadowVisible(a.shadowVisible,!1),this.scrollbars=a.scrollbars,this.pageVisible=a.pageVisible,this.background=a.background,this.backgroundImage=a.backgroundImage,this.pageScale=a.pageScale,this.pageFormat=
- a.pageFormat,this.view.scale=a.scale,this.view.currentRoot=a.currentRoot,this.defaultParent=a.defaultParent,this.connectionArrowsEnabled=a.arrows,this.setTooltips(a.tooltips),this.setConnectable(a.connect),this.model.contains(this.view.currentRoot)||(this.view.currentRoot=null),this.model.contains(this.defaultParent)||(this.setDefaultParent(null),this.selectUnlockedLayer()),null!=a.translate&&(this.view.translate=a.translate)):(this.view.currentRoot=null,this.view.scale=1,this.gridEnabled=!0,this.gridSize=
- mxGraph.prototype.gridSize,this.pageScale=mxGraph.prototype.pageScale,this.pageFormat=mxSettings.getPageFormat(),this.pageVisible=this.defaultPageVisible,this.background=this.defaultGraphBackground,this.backgroundImage=null,this.scrollbars=this.defaultScrollbars,this.foldingEnabled=this.graphHandler.guidesEnabled=!0,this.defaultParent=null,this.setTooltips(!0),this.setConnectable(!0),this.lastPasteXml=null,this.pasteCounter=0,this.mathEnabled=!1,this.connectionArrowsEnabled=!0);this.preferPageSize=
- this.pageBreaksVisible=this.pageVisible};EditorUi.prototype.updatePageRoot=function(a){if(null==a.root){var b=this.editor.extractGraphModel(a.node);if(null!=b){a.graphModelNode=b;a.viewState=this.editor.graph.createViewState(b);var c=new mxCodec(b.ownerDocument);a.root=c.decode(b).root}else a.root=this.editor.graph.model.createRoot()}return a};
- EditorUi.prototype.selectPage=function(a,b){b=null!=b?b:!1;this.editor.graph.isMouseDown=!1;this.editor.graph.reset();var c=this.editor.graph.model.createUndoableEdit();c.ignoreEdit=!0;var d=new SelectPage(this,a);d.execute();c.add(d);c.notify();b||this.editor.graph.model.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",c))};
- EditorUi.prototype.selectNextPage=function(a){var b=this.currentPage;null!=b&&null!=this.pages&&(b=mxUtils.indexOf(this.pages,b),a?this.selectPage(this.pages[mxUtils.mod(b+1,this.pages.length)]):a||this.selectPage(this.pages[mxUtils.mod(b-1,this.pages.length)]))};EditorUi.prototype.insertPage=function(a,b){if(this.editor.graph.isEnabled()){a=null!=a?a:this.createPage();b=null!=b?b:this.pages.length;var c=new ChangePage(this,a,a,b);this.editor.graph.model.execute(c)}return a};
- EditorUi.prototype.createPage=function(a){var b=new DiagramPage(this.fileNode.ownerDocument.createElement("diagram"));b.setName(null!=a?a:this.createPageName());return b};EditorUi.prototype.createPageName=function(){for(var a={},b=0;b<this.pages.length;b++){var c=this.pages[b].getName();null!=c&&0<c.length&&(a[c]=c)}b=this.pages.length;do c=mxResources.get("pageWithNumber",[++b]);while(null!=a[c]);return c};
- EditorUi.prototype.removePage=function(a){var b=this.editor.graph;if(b.isEnabled()){b.model.beginUpdate();try{var c=this.currentPage;if(c==a)if(1<this.pages.length){var d=mxUtils.indexOf(this.pages,a);d==this.pages.length-1?d--:d++;c=this.pages[d]}else c=this.insertPage(),b.model.execute(new RenamePage(this,c,mxResources.get("pageWithNumber",[1])));b.model.execute(new ChangePage(this,a,c))}finally{b.model.endUpdate()}}return a};
- EditorUi.prototype.duplicatePage=function(a,b){var c=this.editor.graph,d=null;c.isEnabled()&&(c.isEditing()&&c.stopEditing(),d=a.node.cloneNode(!1),d.removeAttribute("id"),d=new DiagramPage(d),d.root=c.cloneCells([c.model.root])[0],d.viewState=c.getViewState(),d.viewState.scale=1,d.viewState.scrollLeft=null,d.viewState.scrollRight=null,d.setName(b),d=this.insertPage(d,mxUtils.indexOf(this.pages,a)+1));return d};
- EditorUi.prototype.renamePage=function(a){if(this.editor.graph.isEnabled()){var b=new FilenameDialog(this,a.getName(),mxResources.get("rename"),mxUtils.bind(this,function(b){null!=b&&0<b.length&&this.editor.graph.model.execute(new RenamePage(this,a,b))}),mxResources.get("rename"));this.showDialog(b.container,300,80,!0,!0);b.init()}return a};EditorUi.prototype.movePage=function(a,b){this.editor.graph.model.execute(new MovePage(this,a,b))};
- EditorUi.prototype.createTabContainer=function(){var a=document.createElement("div");a.style.backgroundColor="#dcdcdc";a.style.position="absolute";a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.height="0px";return a};
- EditorUi.prototype.updateTabContainer=function(){if(null!=this.tabContainer&&null!=this.pages){var a=this.editor.graph,b=document.createElement("div");b.style.position="relative";b.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";b.style.verticalAlign="top";b.style.height=this.tabContainer.style.height;b.style.whiteSpace="nowrap";b.style.overflow="hidden";b.style.fontSize="12px";b.style.marginLeft="30px";for(var c=this.editor.chromeless?29:59,d=Math.min(140,Math.max(20,(this.tabContainer.clientWidth-
- c)/this.pages.length)+1),f=null,g=0;g<this.pages.length;g++)mxUtils.bind(this,function(c,d){this.pages[c]==this.currentPage&&(d.style.backgroundColor="#eeeeee",d.style.fontWeight="bold",d.style.borderTopStyle="none");d.setAttribute("draggable","true");mxEvent.addListener(d,"dragstart",mxUtils.bind(this,function(b){a.isEnabled()?(mxClient.IS_FF&&b.dataTransfer.setData("Text","<diagram/>"),f=c):mxEvent.consume(b)}));mxEvent.addListener(d,"dragend",mxUtils.bind(this,function(a){f=null;a.stopPropagation();
- a.preventDefault()}));mxEvent.addListener(d,"dragover",mxUtils.bind(this,function(a){null!=f&&(a.dataTransfer.dropEffect="move");a.stopPropagation();a.preventDefault()}));mxEvent.addListener(d,"drop",mxUtils.bind(this,function(a){null!=f&&c!=f&&this.movePage(f,c);a.stopPropagation();a.preventDefault()}));b.appendChild(d)})(g,this.createTabForPage(this.pages[g],d,this.pages[g]!=this.currentPage));this.tabContainer.innerHTML="";this.tabContainer.appendChild(b);d=this.createPageMenuTab();this.tabContainer.appendChild(d);
- d=null;a.isEnabled()&&(d=this.createPageInsertTab(),this.tabContainer.appendChild(d));if(b.clientWidth>this.tabContainer.clientWidth-c){null!=d&&(d.style.position="absolute",d.style.right="0px",b.style.marginRight="30px");var l=this.createControlTab(4," ❮ ");l.style.position="absolute";l.style.right=this.editor.chromeless?"29px":"55px";l.style.fontSize="13pt";this.tabContainer.appendChild(l);var e=this.createControlTab(4," ❯");e.style.position="absolute";e.style.right=
- this.editor.chromeless?"0px":"29px";e.style.fontSize="13pt";this.tabContainer.appendChild(e);var h=Math.max(0,this.tabContainer.clientWidth-(this.editor.chromeless?86:116));b.style.width=h+"px";mxEvent.addListener(l,"click",mxUtils.bind(this,function(a){b.scrollLeft-=Math.max(20,h-20);mxUtils.setOpacity(l,0<b.scrollLeft?100:50);mxUtils.setOpacity(e,b.scrollLeft<b.scrollWidth-b.clientWidth?100:50);mxEvent.consume(a)}));mxUtils.setOpacity(l,0<b.scrollLeft?100:50);mxUtils.setOpacity(e,b.scrollLeft<b.scrollWidth-
- b.clientWidth?100:50);mxEvent.addListener(e,"click",mxUtils.bind(this,function(a){b.scrollLeft+=Math.max(20,h-20);mxUtils.setOpacity(l,0<b.scrollLeft?100:50);mxUtils.setOpacity(e,b.scrollLeft<b.scrollWidth-b.clientWidth?100:50);mxEvent.consume(a)}))}}};
- EditorUi.prototype.createTab=function(a){var b=document.createElement("div");b.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";b.style.whiteSpace="nowrap";b.style.boxSizing="border-box";b.style.position="relative";b.style.overflow="hidden";b.style.marginLeft="-1px";b.style.height=this.tabContainer.clientHeight+"px";b.style.padding="8px 4px 8px 4px";b.style.border="1px solid #c0c0c0";b.style.borderBottomStyle="solid";b.style.backgroundColor=this.tabContainer.style.backgroundColor;b.style.cursor=
- "default";b.style.color="gray";a&&(mxEvent.addListener(b,"mouseenter",mxUtils.bind(this,function(a){this.editor.graph.isMouseDown||(b.style.backgroundColor="#d3d3d3",mxEvent.consume(a))})),mxEvent.addListener(b,"mouseleave",mxUtils.bind(this,function(a){b.style.backgroundColor=this.tabContainer.style.backgroundColor;mxEvent.consume(a)})));return b};
- EditorUi.prototype.createControlTab=function(a,b){var c=this.createTab(!0);c.style.paddingTop=a+"px";c.style.cursor="pointer";c.style.width="30px";c.style.lineHeight="30px";c.innerHTML=b;null!=c.firstChild&&null!=c.firstChild.style&&mxUtils.setOpacity(c.firstChild,40);return c};
- EditorUi.prototype.createPageMenuTab=function(){var a=this.createControlTab(3,'<div class="geSprite geSprite-dots" style="display:inline-block;width:21px;height:21px;"></div>');a.setAttribute("title",mxResources.get("pages"));a.style.position="absolute";a.style.left="1px";mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){this.editor.graph.popupMenuHandler.hideMenu();var b=new mxPopupMenu(mxUtils.bind(this,function(a,b){for(var c=0;c<this.pages.length;c++)mxUtils.bind(this,function(c){var d=
- a.addItem(this.pages[c].getName(),null,mxUtils.bind(this,function(){this.selectPage(this.pages[c])}),b);this.pages[c]==this.currentPage&&a.addCheckmark(d,Editor.checkmarkImage)})(c);this.editor.graph.isEnabled()&&(a.addSeparator(b),a.addItem(mxResources.get("insertPage"),null,mxUtils.bind(this,function(){this.insertPage()}),b))}));b.div.className+=" geMenubarMenu";b.smartSeparators=!0;b.showDisabled=!0;b.autoExpand=!0;b.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(b,
- arguments);b.destroy()});var d=mxEvent.getClientX(a),f=mxEvent.getClientY(a);b.popup(d,f,null,a);this.setCurrentMenu(b);mxEvent.consume(a)}));return a};EditorUi.prototype.createPageInsertTab=function(){var a=this.createControlTab(4,'<div class="geSprite geSprite-plus" style="display:inline-block;width:21px;height:21px;"></div>');a.setAttribute("title",mxResources.get("insertPage"));mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){this.insertPage();mxEvent.consume(a)}));return a};
- EditorUi.prototype.createTabForPage=function(a,b,c){c=this.createTab(c);var d=a.getName();c.setAttribute("title",d);mxUtils.write(c,d);c.style.maxWidth=b+"px";c.style.width=b+"px";this.addTabListeners(a,c);42<b&&(c.style.textOverflow="ellipsis");return c};
- EditorUi.prototype.addTabListeners=function(a,b){mxEvent.disableContextMenu(b);var c=this.editor.graph;mxEvent.addListener(b,"dblclick",mxUtils.bind(this,function(b){this.renamePage(a);mxEvent.consume(b)}));var d=!1,f=!1;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(b){d=null!=this.currentMenu;f=a==this.currentPage;c.isMouseDown||f||this.selectPage(a)}),null,mxUtils.bind(this,function(g){if(c.isEnabled()&&!c.isMouseDown&&(mxEvent.isTouchEvent(g)&&f||mxEvent.isPopupTrigger(g))){c.popupMenuHandler.hideMenu();
- this.hideCurrentMenu();if(!mxEvent.isTouchEvent(g)||!d){var l=new mxPopupMenu(this.createPageMenu(a));l.div.className+=" geMenubarMenu";l.smartSeparators=!0;l.showDisabled=!0;l.autoExpand=!0;l.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(l,arguments);this.resetCurrentMenu();l.destroy()});var e=mxEvent.getClientX(g),h=mxEvent.getClientY(g);l.popup(e,h,null,g);this.setCurrentMenu(l,b)}mxEvent.consume(g)}}))};
- EditorUi.prototype.createPageMenu=function(a,b){return mxUtils.bind(this,function(c,d){c.addItem(mxResources.get("insert"),null,mxUtils.bind(this,function(){this.insertPage(null,mxUtils.indexOf(this.pages,a)+1)}),d);c.addItem(mxResources.get("delete"),null,mxUtils.bind(this,function(){this.removePage(a)}),d);c.addItem(mxResources.get("rename"),null,mxUtils.bind(this,function(){this.renamePage(a,b)}),d);c.addSeparator(d);c.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){this.duplicatePage(a,
- mxResources.get("copyOf",[a.getName()]))}),d)})};
|