shapes.min.js 857 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031
  1. function mxBpmnShape(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxBpmnShape,mxShape);mxBpmnShape.prototype.eventTypeEnum={START_STANDARD:"standard",EVENT_SP_INT:"eventInt",EVENT_SP_NONINT:"eventNonint",CATCHING:"catching",BOUND_INT:"boundInt",BOUND_NONINT:"boundNonint",THROWING:"throwing",END:"end",NONE:"none",GATEWAY:"gateway"};
  2. mxBpmnShape.prototype.eventEnum={GENERAL:"general",MESSAGE:"message",TIMER:"timer",ESCALATION:"escalation",CONDITIONAL:"conditional",LINK:"link",ERROR:"error",CANCEL:"cancel",COMPENSATION:"compensation",SIGNAL:"signal",MULTIPLE:"multiple",PAR_MULTI:"parallelMultiple",TERMINATE:"terminate",GW_EXCLUSIVE:"exclusiveGw",GW_PARALLEL:"parallelGw",GW_COMPLEX:"complexGw"};mxBpmnShape.prototype.miscEnum={OUTLINE:"outline",BACKGROUND:"background",SYMBOL:"symbol",GATEWAY:"gateway"};
  3. mxBpmnShape.prototype.paintVertexShape=function(a,d,e,b,c){this.redrawPath(a,d,e,b,c,mxBpmnShape.prototype.miscEnum.BACKGROUND);mxUtils.getValue(this.style,mxBpmnShape.prototype.miscEnum.BACKGROUND,mxBpmnShape.prototype.eventTypeEnum.NONE)===mxBpmnShape.prototype.eventTypeEnum.GATEWAY&&a.setShadow(!1);this.redrawPath(a,d,e,b,c,mxBpmnShape.prototype.miscEnum.OUTLINE);this.redrawPath(a,d,e,b,c,mxBpmnShape.prototype.miscEnum.SYMBOL)};
  4. mxBpmnShape.prototype.redrawPath=function(a,d,e,b,c,f){var g=mxUtils.getValue(this.style,mxBpmnShape.prototype.miscEnum.BACKGROUND,mxBpmnShape.prototype.eventTypeEnum.NONE);if(f==mxBpmnShape.prototype.miscEnum.BACKGROUND){if(null!=g){var h=this.backgrounds[g];null!=h&&(a.translate(d,e),h.call(this,a,d,e,b,c,f))}}else if(f==mxBpmnShape.prototype.miscEnum.OUTLINE){g===mxBpmnShape.prototype.eventTypeEnum.GATEWAY?(a.translate(b/4,c/4),c/=2,b/=2,this.constraints=[new mxConnectionConstraint(new mxPoint(0.5,
  5. 0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.25,0.25),!1),new mxConnectionConstraint(new mxPoint(0.25,0.75),!1),new mxConnectionConstraint(new mxPoint(0.75,0.25),!1),new mxConnectionConstraint(new mxPoint(0.75,0.75),!1)]):this.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,
  6. 0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.145,0.145),!1),new mxConnectionConstraint(new mxPoint(0.145,0.855),!1),new mxConnectionConstraint(new mxPoint(0.855,0.145),!1),new mxConnectionConstraint(new mxPoint(0.855,0.855),!1)];var k=mxUtils.getValue(this.style,mxBpmnShape.prototype.miscEnum.OUTLINE,mxBpmnShape.prototype.eventTypeEnum.NONE);null!=k&&(h=this.outlines[k],null!=h&&h.call(this,a,d,e,b,c,g===mxBpmnShape.prototype.eventTypeEnum.GATEWAY))}else if(f==
  7. mxBpmnShape.prototype.miscEnum.SYMBOL&&(g===mxBpmnShape.prototype.eventTypeEnum.GATEWAY&&(c/=2,b/=2),g=mxUtils.getValue(this.style,mxBpmnShape.prototype.miscEnum.SYMBOL,null),null!=g&&(h=this.symbols[g],null!=h))){var l=a.state.strokeColor,n=a.state.fillColor,k=mxUtils.getValue(this.style,mxBpmnShape.prototype.miscEnum.OUTLINE,mxBpmnShape.prototype.eventTypeEnum.NONE);g===mxBpmnShape.prototype.eventEnum.MESSAGE?(a.translate(0.15*b,0.3*c),b*=0.7,c*=0.4):g===mxBpmnShape.prototype.eventEnum.TIMER?(a.translate(0.11*
  8. b,0.11*c),b*=0.78,c*=0.78):g===mxBpmnShape.prototype.eventEnum.ESCALATION?(a.translate(0.19*b,0.15*c),b*=0.62,c*=0.57):g===mxBpmnShape.prototype.eventEnum.CONDITIONAL?(a.translate(0.3*b,0.16*c),b*=0.4,c*=0.68):g===mxBpmnShape.prototype.eventEnum.LINK?(a.translate(0.27*b,0.33*c),b*=0.46,c*=0.34):g===mxBpmnShape.prototype.eventEnum.ERROR?(a.translate(0.212*b,0.243*c),b*=0.58,c*=0.507):g===mxBpmnShape.prototype.eventEnum.CANCEL?(a.translate(0.22*b,0.22*c),b*=0.56,c*=0.56):g===mxBpmnShape.prototype.eventEnum.COMPENSATION?
  9. (a.translate(0.28*b,0.35*c),b*=0.44,c*=0.3):g===mxBpmnShape.prototype.eventEnum.SIGNAL?(a.translate(0.19*b,0.15*c),b*=0.62,c*=0.57):g===mxBpmnShape.prototype.eventEnum.MULTIPLE?(a.translate(0.2*b,0.19*c),b*=0.6,c*=0.565):g===mxBpmnShape.prototype.eventEnum.PAR_MULTI?(a.translate(0.2*b,0.2*c),b*=0.6,c*=0.6):g===mxBpmnShape.prototype.eventEnum.TERMINATE?(a.translate(0.05*b,0.05*c),b*=0.9,c*=0.9):g===mxBpmnShape.prototype.eventEnum.GW_EXCLUSIVE&&(a.translate(0.12*b,0),b*=0.76);if(k===mxBpmnShape.prototype.eventTypeEnum.THROWING||
  10. k===mxBpmnShape.prototype.eventTypeEnum.END)a.setStrokeColor(n),a.setFillColor(l);h.call(this,a,d,e,b,c,f);if(k===mxBpmnShape.prototype.eventTypeEnum.THROWING||k===mxBpmnShape.prototype.eventTypeEnum.END)a.setStrokeColor(l),a.setFillColor(n)}};mxBpmnShape.prototype.backgrounds={none:function(a,d,e,b,c){},gateway:function(a,d,e,b,c){a.begin();a.moveTo(b/2,0);a.lineTo(b,c/2);a.lineTo(b/2,c);a.lineTo(0,c/2);a.close();a.fillAndStroke()}};
  11. mxBpmnShape.prototype.outlines={none:function(a,d,e,b,c,f){f||a.setShadow(!1)},standard:function(a,d,e,b,c,f){a.ellipse(0,0,b,c);a.fillAndStroke();f||a.setShadow(!1)},eventInt:function(a,d,e,b,c,f){a.ellipse(0,0,b,c);a.fillAndStroke();f||a.setShadow(!1)},eventNonint:function(a,d,e,b,c,f){d=a.state.dashed;a.setDashed(!0);a.ellipse(0,0,b,c);a.fillAndStroke();a.setDashed(d);f||a.setShadow(!1)},catching:function(a,d,e,b,c,f){a.ellipse(0,0,b,c);a.fillAndStroke();f||a.setShadow(!1);a.ellipse(2,2,b-4,c-
  12. 4);a.stroke()},boundInt:function(a,d,e,b,c,f){a.ellipse(0,0,b,c);a.fillAndStroke();f||a.setShadow(!1);a.ellipse(2,2,b-4,c-4);a.stroke()},boundNonint:function(a,d,e,b,c,f){d=a.state.dashed;a.setDashed(!0);a.ellipse(0,0,b,c);a.fillAndStroke();f||a.setShadow(!1);a.ellipse(2,2,b-4,c-4);a.stroke();a.setDashed(d)},throwing:function(a,d,e,b,c,f){a.ellipse(0,0,b,c);a.fillAndStroke();f||a.setShadow(!1);a.ellipse(0.02*b+2,0.02*c+2,0.96*b-4,0.96*c-4);a.stroke()},end:function(a,d,e,b,c,f){d=a.state.strokeWidth;
  13. a.setStrokeWidth(3*d);a.ellipse(0,0,b,c);a.fillAndStroke();a.setStrokeWidth(d);f||a.setShadow(!1)}};
  14. mxBpmnShape.prototype.symbols={general:function(a,d,e,b,c){},message:function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke();a.begin();a.moveTo(0,0);a.lineTo(0.5*b,0.5*c);a.lineTo(b,0);a.stroke()},timer:function(a,d,e,b,c){a.ellipse(0,0,b,c);a.fillAndStroke();a.begin();a.moveTo(0.5*b,0);a.lineTo(0.5*b,0.0642*c);a.moveTo(0.7484*b,0.0654*c);a.lineTo(0.7126*b,0.1281*c);a.moveTo(0.93*b,0.2471*c);a.lineTo(0.8673*b,0.2854*c);a.moveTo(b,0.5*c);a.lineTo(0.9338*b,0.5*c);a.moveTo(0.93*b,0.7509*c);a.lineTo(0.8673*
  15. b,0.7126*c);a.moveTo(0.7484*b,0.9326*c);a.lineTo(0.7126*b,0.8699*c);a.moveTo(0.5*b,0.9338*c);a.lineTo(0.5*b,c);a.moveTo(0.2496*b,0.9325*c);a.lineTo(0.2854*b,0.8699*c);a.moveTo(0.068*b,0.7509*c);a.lineTo(0.1307*b,0.7126*c);a.moveTo(0,0.5*c);a.lineTo(0.0642*b,0.5*c);a.moveTo(0.068*b,0.2471*c);a.lineTo(0.1307*b,0.2854*c);a.moveTo(0.2496*b,0.0654*c);a.lineTo(0.2854*b,0.1281*c);a.moveTo(0.5246*b,0.0706*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.7804*b,0.5118*c);a.stroke()},escalation:function(a,d,e,b,c){a.begin();
  16. a.moveTo(0,c);a.lineTo(0.5*b,0);a.lineTo(b,c);a.lineTo(0.5*b,0.5*c);a.close();a.fillAndStroke()},conditional:function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke();a.begin();a.moveTo(0,0.1027*c);a.lineTo(0.798*b,0.1027*c);a.moveTo(0,0.3669*c);a.lineTo(0.798*b,0.3669*c);a.moveTo(0,0.6311*c);a.lineTo(0.798*b,0.6311*c);a.moveTo(0,0.8953*c);a.lineTo(0.798*b,0.8953*c);a.stroke()},link:function(a,d,e,b,c){a.begin();a.moveTo(0,0.76*c);a.lineTo(0,0.24*c);a.lineTo(0.63*b,0.24*c);a.lineTo(0.63*b,0);a.lineTo(b,
  17. 0.5*c);a.lineTo(0.63*b,c);a.lineTo(0.63*b,0.76*c);a.close();a.fillAndStroke()},error:function(a,d,e,b,c){a.begin();a.moveTo(0,c);a.lineTo(0.3287*b,0.123*c);a.lineTo(0.6194*b,0.6342*c);a.lineTo(b,0);a.lineTo(0.6625*b,0.939*c);a.lineTo(0.3717*b,0.5064*c);a.close();a.fillAndStroke()},cancel:function(a,d,e,b,c){a.begin();a.moveTo(0.1051*b,0);a.lineTo(0.5*b,0.3738*c);a.lineTo(0.8909*b,0);a.lineTo(b,0.1054*c);a.lineTo(0.623*b,0.5*c);a.lineTo(b,0.8926*c);a.lineTo(0.8909*b,c);a.lineTo(0.5*b,0.6242*c);a.lineTo(0.1051*
  18. b,c);a.lineTo(0,0.8926*c);a.lineTo(0.373*b,0.5*c);a.lineTo(0,0.1054*c);a.close();a.fillAndStroke()},compensation:function(a,d,e,b,c){a.begin();a.moveTo(0,0.5*c);a.lineTo(0.5*b,0);a.lineTo(0.5*b,c);a.close();a.stroke();a.moveTo(0.5*b,0.5*c);a.lineTo(b,0);a.lineTo(b,c);a.close();a.fillAndStroke()},signal:function(a,d,e,b,c){a.begin();a.moveTo(0,c);a.lineTo(0.5*b,0);a.lineTo(b,c);a.close();a.fillAndStroke()},multiple:function(a,d,e,b,c){a.begin();a.moveTo(0,0.39*c);a.lineTo(0.5*b,0);a.lineTo(b,0.39*
  19. c);a.lineTo(0.815*b,c);a.lineTo(0.185*b,c);a.close();a.fillAndStroke()},parallelMultiple:function(a,d,e,b,c){a.begin();a.moveTo(0.38*b,0);a.lineTo(0.62*b,0);a.lineTo(0.62*b,0.38*c);a.lineTo(b,0.38*c);a.lineTo(b,0.62*c);a.lineTo(0.62*b,0.62*c);a.lineTo(0.62*b,c);a.lineTo(0.38*b,c);a.lineTo(0.38*b,0.62*c);a.lineTo(0,0.62*c);a.lineTo(0,0.38*c);a.lineTo(0.38*b,0.38*c);a.close();a.fillAndStroke()},terminate:function(a,d,e,b,c){a.ellipse(0,0,b,c);a.fillAndStroke()},exclusiveGw:function(a,d,e,b,c){d=a.state.strokeColor;
  20. e=a.state.fillColor;a.setStrokeColor(e);a.setFillColor(d);a.begin();a.moveTo(0.105*b,0);a.lineTo(0.5*b,0.38*c);a.lineTo(0.895*b,0*c);a.lineTo(b,0.11*c);a.lineTo(0.6172*b,0.5*c);a.lineTo(b,0.89*c);a.lineTo(0.895*b,c);a.lineTo(0.5*b,0.62*c);a.lineTo(0.105*b,c);a.lineTo(0,0.89*c);a.lineTo(0.3808*b,0.5*c);a.lineTo(0,0.11*c);a.close();a.fillAndStroke();a.setStrokeColor(d);a.setFillColor(e)},parallelGw:function(a,d,e,b,c){d=a.state.strokeColor;e=a.state.fillColor;a.setStrokeColor(e);a.setFillColor(d);a.begin();
  21. a.moveTo(0.38*b,0);a.lineTo(0.62*b,0);a.lineTo(0.62*b,0.38*c);a.lineTo(b,0.38*c);a.lineTo(b,0.62*c);a.lineTo(0.62*b,0.62*c);a.lineTo(0.62*b,c);a.lineTo(0.38*b,c);a.lineTo(0.38*b,0.62*c);a.lineTo(0,0.62*c);a.lineTo(0,0.38*c);a.lineTo(0.38*b,0.38*c);a.close();a.fillAndStroke();a.setStrokeColor(d);a.setFillColor(e)},complexGw:function(a,d,e,b,c){d=a.state.strokeColor;e=a.state.fillColor;a.setStrokeColor(e);a.setFillColor(d);a.begin();a.moveTo(0,0.44*c);a.lineTo(0.36*b,0.44*c);a.lineTo(0.1*b,0.18*c);
  22. a.lineTo(0.18*b,0.1*c);a.lineTo(0.44*b,0.36*c);a.lineTo(0.44*b,0);a.lineTo(0.56*b,0);a.lineTo(0.56*b,0.36*c);a.lineTo(0.82*b,0.1*c);a.lineTo(0.9*b,0.18*c);a.lineTo(0.64*b,0.44*c);a.lineTo(b,0.44*c);a.lineTo(b,0.56*c);a.lineTo(0.64*b,0.56*c);a.lineTo(0.9*b,0.82*c);a.lineTo(0.82*b,0.9*c);a.lineTo(0.56*b,0.64*c);a.lineTo(0.56*b,c);a.lineTo(0.44*b,c);a.lineTo(0.44*b,0.64*c);a.lineTo(0.18*b,0.9*c);a.lineTo(0.1*b,0.82*c);a.lineTo(0.36*b,0.56*c);a.lineTo(0,0.56*c);a.close();a.fillAndStroke();a.setStrokeColor(d);
  23. a.setFillColor(e)}};mxCellRenderer.prototype.defaultShapes["mxgraph.bpmn.shape"]=mxBpmnShape;function mxShapeEREntity(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeEREntity,mxShape);
  24. mxShapeEREntity.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"buttonText","Entity"),g=mxUtils.getValue(this.style,"textColor","#666666"),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);b=Math.max(b,20);c=Math.max(c,20);this.background(a,d,e,b,c,10,g);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};
  25. mxShapeEREntity.prototype.background=function(a,d,e,b,c,f,g){d=mxUtils.getValue(this.style,"buttonStyle","round").toString();"round"===d?(a.begin(),a.moveTo(0,f),a.arcTo(f,f,0,0,1,f,0),a.lineTo(b-f,0),a.arcTo(f,f,0,0,1,b,f),a.lineTo(b,c-f),a.arcTo(f,f,0,0,1,b-f,c),a.lineTo(f,c),a.arcTo(f,f,0,0,1,0,c-f),a.close(),a.fillAndStroke()):"rect"===d?(a.begin(),a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.fillAndStroke()):"dblFrame"===d&&(f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,
  26. "#ffffff"),a.setFillColor(f),a.begin(),a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.fillAndStroke(),f=Math.min(b,c),a.begin(),a.moveTo(0.1*f,0.1*f),a.lineTo(b-0.1*f,0.1*f),a.lineTo(b-0.1*f,c-0.1*f),a.lineTo(0.1*f,c-0.1*f),a.close(),a.stroke())};mxShapeEREntity.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  27. mxCellRenderer.prototype.defaultShapes["mxgraph.er.entity"]=mxShapeEREntity;
  28. mxShapeEREntity.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,
  29. 1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxShapeEREntityExt(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeEREntityExt,mxShape);
  30. mxShapeEREntityExt.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"buttonText","Entity"),g=mxUtils.getValue(this.style,"subText","+ attribute 1,+ attribute 2,+ attribute 3").toString().split(","),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),k=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17"),l=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#008cff"),n=mxUtils.getValue(this.style,"fillColor2","#ffffff"),m=0;a.translate(d,
  31. e);for(var p=1.25*k,q=0;q<g.length;q++){var t=mxUtils.getSizeForString(g[q],k,mxConstants.DEFAULT_FONTFAMILY).width;t>m&&(m=t)}b=Math.max(b,20,m+10);c=Math.max(c,20,(g.length+1)*p);this.background(a,d,e,b,c,10);a.setShadow(!1);this.shapes(a,d,e,b,c,k,l,n,10,p);this.mainText(a,d,e,b,c,f,k,n);this.attrText(a,d,e,b,c,g,k,h,p,10)};
  32. mxShapeEREntityExt.prototype.background=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,"buttonStyle","round").toString();a.begin();"round"===d?(a.moveTo(0,f),a.arcTo(f,f,0,0,1,f,0),a.lineTo(b-f,0),a.arcTo(f,f,0,0,1,b,f),a.lineTo(b,c-f),a.arcTo(f,f,0,0,1,b-f,c),a.lineTo(f,c),a.arcTo(f,f,0,0,1,0,c-f)):"rect"===d&&(a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(0,c));a.close();a.fillAndStroke()};
  33. mxShapeEREntityExt.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.5*g,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  34. mxShapeEREntityExt.prototype.shapes=function(a,d,e,b,c,f,g,h,k,l){d=mxUtils.getValue(this.style,"buttonStyle","round").toString();"round"===d?(a.begin(),a.moveTo(0,k),a.arcTo(k,k,0,0,1,k,0),a.lineTo(b-k,0),a.arcTo(k,k,0,0,1,b,k),a.lineTo(b,l),a.lineTo(0,l),a.close(),a.fill(),a.setFillColor(h),a.begin(),a.moveTo(b,l),a.lineTo(b,c-k),a.arcTo(k,k,0,0,1,b-k,c),a.lineTo(k,c),a.arcTo(k,k,0,0,1,0,c-k),a.lineTo(0,l),a.close(),a.fill()):"rect"===d&&(a.begin(),a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,l),a.lineTo(0,
  35. l),a.close(),a.fill(),a.setFillColor(h),a.begin(),a.moveTo(0,l),a.lineTo(b,l),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.fill());a.begin();"round"===d?(a.moveTo(0,k),a.arcTo(k,k,0,0,1,k,0),a.lineTo(b-k,0),a.arcTo(k,k,0,0,1,b,k),a.lineTo(b,c-k),a.arcTo(k,k,0,0,1,b-k,c),a.lineTo(k,c),a.arcTo(k,k,0,0,1,0,c-k)):"rect"===d&&(a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(0,c));a.close();a.stroke()};
  36. mxShapeEREntityExt.prototype.attrText=function(a,d,e,b,c,f,g,h,k,l){for(d=0;d<f.length;d++)a.begin(),a.setFontSize(g),a.setFontColor(h),a.text(0.5*l,(d+1.5)*k,0,0,f[d],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes["mxgraph.er.entityExt"]=mxShapeEREntityExt;
  37. mxShapeEREntityExt.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,
  38. 1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxShapeERAttribute(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERAttribute,mxShape);
  39. mxShapeERAttribute.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"buttonText","Entity"),g=mxUtils.getValue(this.style,"textColor","#666666"),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);b=Math.max(b,20);c=Math.max(c,20);this.background(a,d,e,b,c,10,g);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};
  40. mxShapeERAttribute.prototype.background=function(a,d,e,b,c,f,g){d=mxUtils.getValue(this.style,"buttonStyle","simple").toString();"simple"===d?(a.begin(),a.ellipse(0,0,b,c),a.fillAndStroke()):"dblFrame"===d&&(d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#666666"),a.setFillColor(d),a.begin(),a.ellipse(0,0,b,c),a.fillAndStroke(),f=Math.min(b,c),a.begin(),a.ellipse(0.1*f,0.1*f,b-0.2*f,c-0.2*f),a.stroke())};
  41. mxShapeERAttribute.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes["mxgraph.er.attribute"]=mxShapeERAttribute;
  42. mxShapeERAttribute.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.144,0.144),!1),new mxConnectionConstraint(new mxPoint(0.856,0.144),!1),new mxConnectionConstraint(new mxPoint(0.856,0.856),!1),new mxConnectionConstraint(new mxPoint(0.144,0.856),!1),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0)];
  43. function mxShapeERHas(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERHas,mxShape);
  44. mxShapeERHas.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"buttonText","Entity"),g=mxUtils.getValue(this.style,"textColor","#666666"),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);b=Math.max(b,20);c=Math.max(c,20);this.background(a,d,e,b,c,10,g);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};
  45. mxShapeERHas.prototype.background=function(a,d,e,b,c,f,g){d=mxUtils.getValue(this.style,"buttonStyle","rhombus").toString();"rhombus"===d?(a.begin(),a.moveTo(0,0.5*c),a.lineTo(0.5*b,0),a.lineTo(b,0.5*c),a.lineTo(0.5*b,c),a.close(),a.fillAndStroke()):"dblFrame"===d&&(d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#666666"),a.setFillColor(d),a.begin(),a.moveTo(0,0.5*c),a.lineTo(0.5*b,0),a.lineTo(b,0.5*c),a.lineTo(0.5*b,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.1*b,0.5*c),a.lineTo(0.5*
  46. b,0.1*c),a.lineTo(0.9*b,0.5*c),a.lineTo(0.5*b,0.9*c),a.close(),a.stroke())};mxShapeERHas.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes["mxgraph.er.has"]=mxShapeERHas;
  47. mxShapeERHas.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.25,0.25),!1),new mxConnectionConstraint(new mxPoint(0.25,0.75),!1),new mxConnectionConstraint(new mxPoint(0.75,0.25),!1),new mxConnectionConstraint(new mxPoint(0.75,0.75),!1)];
  48. function mxShapeERCloud(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERCloud,mxShape);
  49. mxShapeERCloud.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"buttonText","Entity"),g=mxUtils.getValue(this.style,"textColor","#666666"),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);b=Math.max(b,20);c=Math.max(c,20);this.background(a,d,e,b,c,10,g);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};
  50. mxShapeERCloud.prototype.background=function(a,d,e,b,c,f,g){a.begin();a.moveTo(0.25*b,0.25*c);a.curveTo(0.05*b,0.25*c,0,0.5*c,0.16*b,0.55*c);a.curveTo(0,0.66*c,0.18*b,0.9*c,0.31*b,0.8*c);a.curveTo(0.4*b,c,0.7*b,c,0.8*b,0.8*c);a.curveTo(b,0.8*c,b,0.6*c,0.875*b,0.5*c);a.curveTo(b,0.3*c,0.8*b,0.1*c,0.625*b,0.2*c);a.curveTo(0.5*b,0.05*c,0.3*b,0.05*c,0.25*b,0.25*c);a.fillAndStroke()};
  51. mxShapeERCloud.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes["mxgraph.er.cloud"]=mxShapeERCloud;
  52. mxShapeERCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.08,0.5),!1),new mxConnectionConstraint(new mxPoint(0.9,0.5),!1),new mxConnectionConstraint(new mxPoint(0.5,0.1),!1),new mxConnectionConstraint(new mxPoint(0.5,0.92),!1),new mxConnectionConstraint(new mxPoint(0.24,0.24),!1),new mxConnectionConstraint(new mxPoint(0.22,0.8),!1),new mxConnectionConstraint(new mxPoint(0.81,0.2),!1),new mxConnectionConstraint(new mxPoint(0.78,0.78),!1)];
  53. function mxShapeERHierarchy(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERHierarchy,mxShape);
  54. mxShapeERHierarchy.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"buttonText","main").toString().split(","),g=mxUtils.getValue(this.style,"subText","sub").toString().split(","),h=mxUtils.getValue(this.style,"textColor","#666666"),k=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);b=Math.max(b,20);c=Math.max(c,20);this.background(a,d,e,b,c,10,h);a.setShadow(!1);this.shapeText(a,d,e,b,c,f,g,k,h)};
  55. mxShapeERHierarchy.prototype.background=function(a,d,e,b,c,f,g){d=mxUtils.getValue(this.style,"buttonStyle","round").toString();"round"===d?(a.begin(),a.moveTo(0,f),a.arcTo(f,f,0,0,1,f,0),a.lineTo(b-f,0),a.arcTo(f,f,0,0,1,b,f),a.lineTo(b,c-f),a.arcTo(f,f,0,0,1,b-f,c),a.lineTo(f,c),a.arcTo(f,f,0,0,1,0,c-f),a.close(),a.fillAndStroke()):"rect"===d?(a.begin(),a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.fillAndStroke()):"dblFrame"===d&&(f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,
  56. "#666666"),a.setFillColor(f),a.begin(),a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.fillAndStroke(),f=Math.min(b,c),a.begin(),a.moveTo(0.1*f,0.1*f),a.lineTo(b-0.1*f,0.1*f),a.lineTo(b-0.1*f,c-0.1*f),a.lineTo(0.1*f,c-0.1*f),a.close(),a.stroke());g=e=0;"round"===d?(e=0.5*b,g=f,a.translate(e,g),b=0.5*b-f,c-=2*f,a.begin(),a.moveTo(0,f),a.arcTo(f,f,0,0,1,f,0),a.lineTo(b-f,0),a.arcTo(f,f,0,0,1,b,f),a.lineTo(b,c-f),a.arcTo(f,f,0,0,1,b-f,c),a.lineTo(f,c),a.arcTo(f,f,0,0,1,0,c-f),a.close(),
  57. a.fillAndStroke()):"rect"===d?(e=0.5*b,g=f,a.translate(e,g),b=0.5*b-f,c-=2*f,a.begin(),a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.fillAndStroke()):"dblFrame"===d&&(e=0.5*b,g=0.15*f,a.translate(e,g),b=0.5*b-0.15*f,c-=0.3*f,f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#666666"),a.setFillColor(f),a.begin(),a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.fillAndStroke(),f=Math.min(b,c),a.begin(),a.moveTo(0.1*f,0.1*f),a.lineTo(b-0.1*f,0.1*f),a.lineTo(b-
  58. 0.1*f,c-0.1*f),a.lineTo(0.1*f,c-0.1*f),a.close(),a.stroke());a.translate(-e,-g)};
  59. mxShapeERHierarchy.prototype.shapeText=function(a,d,e,b,c,f,g,h,k,l){a.begin();a.setFontSize(h);a.setFontColor(k);a.text(0.25*b,0.5*(c-h),0,0,f[0],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.25*b,0.5*(c+h),0,0,f[1],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.7*b,0.5*(c-h),0,0,g[0],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.7*b,0.5*(c+h),0,0,g[1],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  60. mxCellRenderer.prototype.defaultShapes["mxgraph.er.hierarchy"]=mxShapeERHierarchy;
  61. mxShapeERHierarchy.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,
  62. 1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxShapeERNote(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERNote,mxShape);
  63. mxShapeERNote.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"buttonText","Entity"),g=mxUtils.getValue(this.style,"textColor","#666666"),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17"),k=mxUtils.getValue(this.style,"fillColor2","#ffffff");a.translate(d,e);b=Math.max(b,40);c=Math.max(c,40);this.background(a,d,e,b,c,20);a.setShadow(!1);this.flipShape(a,d,e,b,c,20,k);this.mainText(a,d,e,b,c,f,h,g)};
  64. mxShapeERNote.prototype.background=function(a,d,e,b,c,f){a.begin();a.moveTo(0,0);a.lineTo(b-f,0);a.lineTo(b,f);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxShapeERNote.prototype.flipShape=function(a,d,e,b,c,f,g){a.setLineJoin("round");a.setFillColor(g);a.begin();a.moveTo(b-f,0);a.lineTo(b,f);a.lineTo(b-f,f);a.close();a.fillAndStroke()};
  65. mxShapeERNote.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes["mxgraph.er.note"]=mxShapeERNote;
  66. mxShapeERNote.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,
  67. 0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxShapeERChen(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERChen,mxShape);
  68. mxShapeERChen.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"textColor","#666666"),g=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);b=Math.max(b,40);c=Math.max(c,40);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c,g,f)};mxShapeERChen.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};
  69. mxShapeERChen.prototype.foreground=function(a,d,e,b,c,f,g){a.begin();a.moveTo(0,0.25*c);a.lineTo(b,0.25*c);a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.moveTo(0,0.75*c);a.lineTo(b,0.75*c);a.moveTo(0.25*b,0.5*c);a.lineTo(0.25*b,c);a.moveTo(0.5*b,0.25*c);a.lineTo(0.5*b,c);a.moveTo(0.75*b,0.5*c);a.lineTo(0.75*b,c);a.stroke();a.begin();a.setFontSize(f);a.setFontColor(g);a.text(0.5*b,0.125*c,0,0,"ERD Peter Chen's Notation",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontSize(0.85*f);
  70. a.text(0.25*b,0.375*c,0,0,"Cardinality",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.75*b,0.375*c,0,0,"Optionality",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontSize(0.7*f);a.text(0.125*b,0.625*c,0,0,"1",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.375*b,0.625*c,0,0,"One",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.625*b,0.625*c,0,0,"0",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  71. 0,null,0,0,0);a.text(0.875*b,0.625*c,0,0,"Optional",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.125*b,0.875*c,0,0,"N",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.375*b,0.875*c,0,0,"Many",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.625*b,0.875*c,0,0,"1",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.875*b,0.875*c,0,0,"Mandatory",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,
  72. 0,0)};mxCellRenderer.prototype.defaultShapes["mxgraph.er.chens"]=mxShapeERChen;
  73. mxShapeERChen.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  74. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxShapeERBachman(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERBachman,mxShape);
  75. mxShapeERBachman.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"textColor","#666666"),g=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c,g,f)};mxShapeERBachman.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};
  76. mxShapeERBachman.prototype.foreground=function(a,d,e,b,c,f,g){a.begin();a.moveTo(0,0.125*c);a.lineTo(b,0.125*c);a.moveTo(0,0.25*c);a.lineTo(b,0.25*c);a.moveTo(0,0.375*c);a.lineTo(b,0.375*c);a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.moveTo(0,0.625*c);a.lineTo(b,0.625*c);a.moveTo(0,0.75*c);a.lineTo(b,0.75*c);a.moveTo(0,0.875*c);a.lineTo(b,0.875*c);a.moveTo(0.5*b,0.125*c);a.lineTo(0.5*b,c);a.stroke();a.begin();a.setFontSize(f);a.setFontColor(g);a.text(0.5*b,0.0625*c,0,0,"ERD Bachman's Notation",mxConstants.ALIGN_CENTER,
  77. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontSize(0.85*f);a.text(0.52*b,0.1875*c,0,0,"Relationship",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*b,0.3125*c,0,0,"Cardinality (One)",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*b,0.4375*c,0,0,"Cardinality (Many)",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*b,0.5625*c,0,0,"Mandatory, One",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*
  78. b,0.6875*c,0,0,"Mandatory, Many",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*b,0.8125*c,0,0,"Optional, One",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*b,0.9375*c,0,0,"Optional, Many",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);d=mxUtils.getSizeForString("has/forms",f,mxConstants.DEFAULT_FONTFAMILY).width;a.begin();a.moveTo(0.04*b,0.1875*c);a.lineTo(0.25*b-0.5*d,0.1875*c);a.moveTo(0.25*b+0.5*d,0.1875*c);a.lineTo(0.46*b,
  79. 0.1875*c);a.text(0.25*b,0.1875*c,0,0,"has/forms",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,!0,0,0);a.moveTo(0.04*b,0.3125*c);a.lineTo(0.46*b,0.3125*c);a.moveTo(0.04*b,0.4375*c);a.lineTo(0.46*b,0.4375*c);a.moveTo(0.46*b,0.405*c);a.lineTo(0.4*b,0.4375*c);a.lineTo(0.46*b,0.47*c);a.moveTo(0.04*b,0.5625*c);a.lineTo(0.46*b,0.5625*c);a.moveTo(0.38*b,0.53*c);a.lineTo(0.38*b,0.595*c);a.moveTo(0.04*b,0.6875*c);a.lineTo(0.46*b,0.6875*c);a.moveTo(0.46*b,0.655*c);a.lineTo(0.4*b,0.6875*c);a.lineTo(0.46*
  80. b,0.72*c);a.moveTo(0.38*b,0.655*c);a.lineTo(0.38*b,0.72*c);a.moveTo(0.04*b,0.8125*c);a.lineTo(0.46*b,0.8125*c);a.moveTo(0.04*b,0.9375*c);a.lineTo(0.46*b,0.9375*c);a.moveTo(0.46*b,0.905*c);a.lineTo(0.4*b,0.9375*c);a.lineTo(0.46*b,0.97*c);a.stroke();d=c/15;a.begin();a.ellipse(0.46*b-d,0.8125*c-0.5*d,d,d);a.fillAndStroke();a.begin();a.ellipse(0.4*b-d,0.9375*c-0.5*d,d,d);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes["mxgraph.er.bachmans"]=mxShapeERBachman;
  81. mxShapeERBachman.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  82. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxShapeERInfEng(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERInfEng,mxShape);
  83. mxShapeERInfEng.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,"textColor","#666666"),g=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17");a.translate(d,e);b=Math.max(b,c/1.5);c=Math.max(c,5*g);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c,g,f)};mxShapeERInfEng.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};
  84. mxShapeERInfEng.prototype.foreground=function(a,d,e,b,c,f,g){a.begin();a.moveTo(0,0.2*c);a.lineTo(b,0.2*c);a.moveTo(0,0.4*c);a.lineTo(b,0.4*c);a.moveTo(0,0.6*c);a.lineTo(b,0.6*c);a.moveTo(0,0.8*c);a.lineTo(b,0.8*c);a.moveTo(0.5*b,0.2*c);a.lineTo(0.5*b,c);a.stroke();a.begin();a.setFontSize(f);a.setFontColor(g);a.text(0.5*b,0.1*c,0,0,"ERD Information Engineering Notation",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontSize(0.85*f);a.text(0.52*b,0.3*c,0,0,"Zero or one",mxConstants.ALIGN_LEFT,
  85. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*b,0.5*c,0,0,"One only",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*b,0.7*c,0,0,"Zero or more",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.52*b,0.9*c,0,0,"One or more",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);d=c/12;a.begin();a.moveTo(0.04*b,0.3*c);a.lineTo(0.46*b,0.3*c);a.moveTo(0.46*b-d,0.25*c);a.lineTo(0.46*b-d,0.35*c);a.moveTo(0.04*b,0.5*c);a.lineTo(0.46*b,0.5*c);a.moveTo(0.46*
  86. b-2*d,0.45*c);a.lineTo(0.46*b-2*d,0.55*c);a.moveTo(0.46*b-2.5*d,0.45*c);a.lineTo(0.46*b-2.5*d,0.55*c);a.moveTo(0.04*b,0.7*c);a.lineTo(0.46*b,0.7*c);a.moveTo(0.46*b,0.65*c);a.lineTo(0.46*b-2*d,0.7*c);a.lineTo(0.46*b,0.75*c);a.stroke();a.moveTo(0.04*b,0.9*c);a.lineTo(0.46*b,0.9*c);a.moveTo(0.46*b,0.85*c);a.lineTo(0.46*b-2*d,0.9*c);a.lineTo(0.46*b,0.95*c);a.moveTo(0.46*b-2.5*d,0.85*c);a.lineTo(0.46*b-2.5*d,0.95*c);a.stroke();a.begin();a.ellipse(0.46*b-3*d,0.3*c-0.5*d,d,d);a.fillAndStroke();a.begin();
  87. a.ellipse(0.46*b-3*d,0.7*c-0.5*d,d,d);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes["mxgraph.er.ie"]=mxShapeERInfEng;
  88. mxShapeERInfEng.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  89. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];mxMarker.addMarker("ERone",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1);return function(){a.begin();a.moveTo(b.x-n/2-m/2,b.y-m/2+n/2);a.lineTo(b.x-n/2+m/2,b.y-m/2-n/2);a.stroke()}});
  90. mxMarker.addMarker("ERmandOne",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1);return function(){a.begin();a.moveTo(b.x-n/2-m/2,b.y-m/2+n/2);a.lineTo(b.x-n/2+m/2,b.y-m/2-n/2);a.moveTo(b.x-n-m/2,b.y-m+n/2);a.lineTo(b.x-n+m/2,b.y-m-n/2);a.stroke()}});mxMarker.addMarker("ERmany",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1);return function(){a.begin();a.moveTo(b.x+m/2,b.y-n/2);a.lineTo(b.x-n,b.y-m);a.lineTo(b.x-m/2,b.y+n/2);a.stroke()}});
  91. mxMarker.addMarker("ERoneToMany",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1);return function(){a.begin();a.moveTo(b.x-n-m/2,b.y-m+n/2);a.lineTo(b.x-n+m/2,b.y-m-n/2);a.moveTo(b.x+m/2,b.y-n/2);a.lineTo(b.x-n,b.y-m);a.lineTo(b.x-m/2,b.y+n/2);a.stroke()}});
  92. mxMarker.addMarker("ERzeroToMany",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1),p=g/2;return function(){a.begin();a.ellipse(b.x-1.5*n-p,b.y-1.5*m-p,2*p,2*p);if(l){var c=mxUtils.getValue(d.style,mxConstants.STYLE_STROKECOLOR,"#666666");a.setFillColor("#ffffff");a.fillAndStroke();a.setFillColor(c)}else a.stroke();a.begin();a.moveTo(b.x+m/2,b.y-n/2);a.lineTo(b.x-n,b.y-m);a.lineTo(b.x-m/2,b.y+n/2);a.stroke()}});
  93. mxMarker.addMarker("ERzeroToOne",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1),p=g/2;return function(){a.begin();a.ellipse(b.x-1.5*n-p,b.y-1.5*m-p,2*p,2*p);if(l){var c=mxUtils.getValue(d.style,mxConstants.STYLE_STROKECOLOR,"#666666");a.setFillColor("#ffffff");a.fillAndStroke();a.setFillColor(c)}else a.stroke();a.begin();a.moveTo(b.x-n/2-m/2,b.y-m/2+n/2);a.lineTo(b.x-n/2+m/2,b.y-m/2-n/2);a.stroke()}});
  94. function mxShapeERRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeERRRect,mxShape);mxShapeERRRect.prototype.cst={RRECT:"mxgraph.er.rrect",R_SIZE:"rSize"};mxShapeERRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeERRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeERRRect.prototype.cst.RRECT,mxShapeERRRect);
  95. mxShapeERRRect.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,
  96. 1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxShapeERAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeERAnchor,mxShape);mxShapeERAnchor.prototype.cst={ANCHOR:"mxgraph.er.anchor"};mxShapeERAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeERAnchor.prototype.cst.ANCHOR,mxShapeERAnchor);
  97. var mxIOS7C={MAIN_TEXT:"mainText",SUB_TEXT:"subText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",BAR_POS:"barPos",BUTTON_TEXT:"buttonText",BUTTON_STATE:"buttonState",SELECTED:"+",STATE_ON:"on",STATE_OFF:"off",GRID_SIZE:"gridSize",SHAPE_IOS7_APP_BAR:"mxgraph.ios7ui.appBar",SHAPE_IOS7_ON_OFF_BUTTON:"mxgraph.ios7ui.onOffButton",SHAPE_IOS7_SLIDER:"mxgraph.ios7ui.slider",SHAPE_IOS7_DOWNLOAD_BAR:"mxgraph.ios7ui.downloadBar",SHAPE_IOS7_ICON:"mxgraph.ios7ui.icon",SHAPE_IOS7_HOR_BUTTON_BAR:"mxgraph.ios7ui.horButtonBar",
  98. SHAPE_IOS7_PAGE_CONTROL:"mxgraph.ios7ui.pageControl",SHAPE_IOS7_EXPAND:"mxgraph.ios7ui.expand",SHAPE_IOS7_ICON_GRID:"mxgraph.ios7ui.iconGrid",SHAPE_IOS7_PHONE:"mxgraph.ios7ui.phone",SHAPE_IOS7_SEARCH_BOX:"mxgraph.ios7ui.searchBox",SHAPE_IOS7_URL:"mxgraph.ios7ui.url",SHAPE_IOS7_ACTION_DIALOG:"mxgraph.ios7ui.actionDialog",STYLE_FILLCOLOR2:"fillColor2",STYLE_FILLCOLOR3:"fillColor3",STYLE_TEXTCOLOR:"textColor",STYLE_TEXTCOLOR2:"textColor2",STYLE_STROKECOLOR2:"strokeColor2",STYLE_STROKECOLOR3:"strokeColor3",
  99. STYLE_TEXTSIZE:"textSize"};function mxShapeIOS7AppBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7AppBar,mxShape);mxShapeIOS7AppBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeIOS7AppBar.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fill()};
  100. mxShapeIOS7AppBar.prototype.foreground=function(a,d,e,b,c){a.setFillColor(mxUtils.getValue(this.style,mxIOS7C.STYLE_FILLCOLOR2,"#222222"));a.ellipse(5,0.5*c-1.5,3,3);a.fill();a.ellipse(9,0.5*c-1.5,3,3);a.fill();a.ellipse(13,0.5*c-1.5,3,3);a.fill();a.ellipse(17,0.5*c-1.5,3,3);a.fill();a.ellipse(21,0.5*c-1.5,3,3);a.fill();a.ellipse(54,0.5*c+2,2,2);a.fillAndStroke();a.setStrokeWidth(2);a.begin();a.moveTo(52,0.5*c+1);a.arcTo(3.5,3.5,0,0,1,58,0.5*c+1);a.stroke();a.begin();a.moveTo(50,0.5*c-1);a.arcTo(6,
  101. 6,0,0,1,60,0.5*c-1);a.stroke();a.begin();a.moveTo(b-19,0.5*c-2);a.lineTo(b-6,0.5*c-2);a.lineTo(b-6,0.5*c+2);a.lineTo(b-19,0.5*c+2);a.close();a.fill();a.setStrokeWidth(1);a.begin();a.moveTo(b-44,0.5*c-2.5);a.lineTo(b-36,0.5*c+2.5);a.lineTo(b-40,0.5*c+5);a.lineTo(b-40,0.5*c-5);a.lineTo(b-36,0.5*c-2.5);a.lineTo(b-44,0.5*c+2.5);a.stroke();a.begin();a.moveTo(b-20,0.5*c-3);a.lineTo(b-5,0.5*c-3);a.lineTo(b-5,0.5*c-1);a.lineTo(b-3.5,0.5*c-1);a.lineTo(b-3.5,0.5*c+1);a.lineTo(b-5,0.5*c+1);a.lineTo(b-5,0.5*
  102. c+3);a.lineTo(b-20,0.5*c+3);a.close();a.stroke()};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_APP_BAR]=mxShapeIOS7AppBar;function mxShapeIOS7OnOffButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7OnOffButton,mxShape);
  103. mxShapeIOS7OnOffButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);b=Math.max(b,2*c);var f=mxUtils.getValue(this.style,mxIOS7C.BUTTON_STATE,mxIOS7C.STATE_ON);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c,f)};
  104. mxShapeIOS7OnOffButton.prototype.background=function(a,d,e,b,c,f){f===mxIOS7C.STATE_ON?(a.roundrect(0,0,b,c,0.5*c,0.5*c),a.fillAndStroke()):f===mxIOS7C.STATE_OFF&&(a.setStrokeColor(mxUtils.getValue(this.style,mxIOS7C.STYLE_STROKECOLOR2,"#aaaaaa")),a.setFillColor(mxUtils.getValue(this.style,mxIOS7C.STYLE_FILLCOLOR2,"#ffffff")),a.roundrect(0,0,b,c,0.5*c,0.5*c),a.fillAndStroke())};
  105. mxShapeIOS7OnOffButton.prototype.foreground=function(a,d,e,b,c,f){a.setFillColor("#ffffff");f===mxIOS7C.STATE_ON?(a.ellipse(b-c+1,1,c-2,c-2),a.fill()):(a.ellipse(0,0,c,c),a.stroke())};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_ON_OFF_BUTTON]=mxShapeIOS7OnOffButton;function mxShapeIOS7Slider(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.barPos=80}mxUtils.extend(mxShapeIOS7Slider,mxShape);
  106. mxShapeIOS7Slider.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setShadow(!1);this.foreground(a,b,c)};mxShapeIOS7Slider.prototype.foreground=function(a,d,e){a.setStrokeWidth(2);a.begin();a.moveTo(0,0.5*e);a.lineTo(d,0.5*e);a.stroke();var b=mxUtils.getValue(this.style,mxIOS7C.BAR_POS,"80"),b=Math.min(b,100),b=Math.max(b,0);d=0+(d-0)*b/100;a.setStrokeColor(mxUtils.getValue(this.style,mxIOS7C.STYLE_STROKECOLOR2,"#a0a0a0"));a.ellipse(d-5,0.5*e-5,10,10);a.fillAndStroke()};
  107. mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_SLIDER]=mxShapeIOS7Slider;Graph.handleFactory[mxIOS7C.SHAPE_IOS7_SLIDER]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"barPos",this.barPos))));return new mxPoint(a.x+e/100*a.width,a.y+a.height/2)},function(a,e){this.state.style.barPos=Math.round(1E3*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/1E3})]};
  108. function mxShapeIOS7DownloadBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.barPos=80}mxUtils.extend(mxShapeIOS7DownloadBar,mxShape);mxShapeIOS7DownloadBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.foreground(a,b,c)};
  109. mxShapeIOS7DownloadBar.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxIOS7C.BUTTON_TEXT,"");a.setFontStyle(mxConstants.FONT_BOLD);a.text(0.5*d,0.2*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);b=mxUtils.getValue(this.style,mxIOS7C.BAR_POS,"80");b=Math.min(b,100);b=Math.max(b,0);b=d*b/100;a.setStrokeWidth(2);a.setStrokeColor(mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,""));a.begin();a.moveTo(0,0.5*e);a.lineTo(d,0.5*e);a.stroke();a.setStrokeColor(mxUtils.getValue(this.style,
  110. mxConstants.STYLE_STROKECOLOR,""));a.begin();a.moveTo(0,0.5*e);a.lineTo(b,0.5*e);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_DOWNLOAD_BAR]=mxShapeIOS7DownloadBar;
  111. Graph.handleFactory[mxIOS7C.SHAPE_IOS7_DOWNLOAD_BAR]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"barPos",this.barPos))));return new mxPoint(a.x+e/100*a.width,a.y+a.height/2)},function(a,e){this.state.style.barPos=Math.round(1E3*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/1E3})]};
  112. function mxShapeIOS7Icon(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7Icon,mxShape);mxShapeIOS7Icon.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.foreground(a,b,c)};
  113. mxShapeIOS7Icon.prototype.foreground=function(a,d,e){a.setGradient("#00D0F0","#0080F0",0.325*d,0,0.675*d,0.5*e,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0,0,d,e,0.1*d,0.1*e);a.fill();var b=mxUtils.getValue(this.style,mxIOS7C.BUTTON_TEXT,"");a.setFontColor("#ffffff");a.setFontStyle(mxConstants.FONT_BOLD);a.setFontSize(8);a.text(0.5*d,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_ICON]=mxShapeIOS7Icon;
  114. function mxShapeIOS7horButtonBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7horButtonBar,mxShape);
  115. mxShapeIOS7horButtonBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxIOS7C.BUTTON_TEXT,"+Button 1, Button 2, Button 3").toString().split(","),g=mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTCOLOR,"#666666"),h=mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTCOLOR2,"#ffffff"),k=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8.5").toString(),l=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),n=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,
  116. "#ffffff"),m=mxUtils.getValue(this.style,mxIOS7C.STYLE_FILLCOLOR2,"#008cff"),p=f.length,q=Array(p),t=0,s=-1,u=0;u<p;u++){var r=f[u];r.charAt(0)===mxIOS7C.SELECTED&&(r=f[u].substring(1),s=u);q[u]=mxUtils.getSizeForString(r,k,mxConstants.DEFAULT_FONTFAMILY).width;t+=q[u]}c=Math.max(c,1.5*k,10);t=5*p+t;b=Math.max(b,t);a.translate(d,e);this.background(a,b,c,2.5,p,q,2.5,t,l,n,m,s);a.setShadow(!1);for(u=d=0;u<p;u++)u===s?a.setFontColor(h):a.setFontColor(g),d+=2.5,this.buttonText(a,d,c,f[u],q[u],k,t,b),
  117. d=d+q[u]+2.5};
  118. mxShapeIOS7horButtonBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m){a.begin();a.setStrokeColor(k);a.setFillColor(l);a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.fillAndStroke();a.setStrokeColor(k);a.begin();for(n=1;n<c;n++)if(n!==m&&n!==m+1){for(var p=0,q=0;q<n;q++)p+=f[q]+2*g;p=p*d/h;a.moveTo(p,0);a.lineTo(p,e)}a.stroke();p=0;a.setStrokeColor(mxConstants.NONE);for(n=
  119. 0;n<m;n++)p+=f[n]+2*g;p=p*d/h;f=(f[m]+2*g)*d/h;f+=p;a.setFillColor("#0080F0");0===m?(a.begin(),a.moveTo(0,b),a.arcTo(b,b,0,0,1,b,0),a.lineTo(f,0),a.lineTo(f,e),a.lineTo(b,e),a.arcTo(b,b,0,0,1,0,e-b),a.close(),a.fill()):m===c-1?(a.begin(),a.moveTo(p,0),a.lineTo(f-b,0),a.arcTo(b,b,0,0,1,f,b),a.lineTo(f,e-b),a.arcTo(b,b,0,0,1,f-b,e),a.lineTo(p,e),a.close(),a.fill()):-1!==m&&(a.begin(),a.moveTo(p,0),a.lineTo(f,0),a.lineTo(f,e),a.lineTo(p,e),a.close(),a.fill());a.setStrokeColor(k);a.setFillColor(l);a.begin();
  120. a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.stroke()};mxShapeIOS7horButtonBar.prototype.buttonText=function(a,d,e,b,c,f,g,h){b.charAt(0)===mxIOS7C.SELECTED&&(b=b.substring(1));a.begin();a.setFontSize(f);a.text((d+0.5*c)*h/g,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_HOR_BUTTON_BAR]=mxShapeIOS7horButtonBar;
  121. function mxShapeIOS7pageControl(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7pageControl,mxShape);
  122. mxShapeIOS7pageControl.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#000000");e=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");var f=Math.min(0.5*c,0.05*b);a.setFillColor(e);a.ellipse(0,0.5*c-f,2*f,2*f);a.fill();a.ellipse(0.25*b-0.5*f,0.5*c-f,2*f,2*f);a.fill();a.ellipse(0.5*b-f,0.5*c-f,2*f,2*f);a.fill();a.ellipse(0.75*b-1.5*f,0.5*c-f,2*f,2*f);a.fill();a.setFillColor(d);a.ellipse(b-2*f,0.5*c-f,2*f,2*
  123. f);a.fill()};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_PAGE_CONTROL]=mxShapeIOS7pageControl;function mxShapeIOS7iconGrid(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7iconGrid,mxShape);
  124. mxShapeIOS7iconGrid.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxIOS7C.GRID_SIZE,"4,7").toString().split(",");b/=parseInt(d[0],10)+0.1*(d[0]-1);c/=parseInt(d[1],10)+0.1*(d[1]-1);for(e=0;e<d[0];e++)for(var f=0;f<d[1];f++)a.rect(1.1*b*e,1.1*c*f,b,c),a.fill()};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_ICON_GRID]=mxShapeIOS7iconGrid;
  125. function mxShapeIOS7phone(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7phone,mxShape);mxShapeIOS7phone.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.roundrect(0,0,b,c,25,25);a.fillAndStroke();a.setShadow(!1);this.foreground(a,d,e,b,c,25)};
  126. mxShapeIOS7phone.prototype.foreground=function(a,d,e,b,c,f){a.rect(0.0625*b,0.15*c,0.875*b,0.7*c);a.stroke();a.ellipse(0.4875*b,0.04125*c,0.025*b,0.0125*c);a.stroke();a.roundrect(0.375*b,0.075*c,0.25*b,0.01875*c,0.02*b,0.01*c);a.stroke();a.ellipse(0.4*b,0.875*c,0.2*b,0.1*c);a.stroke();a.roundrect(0.4575*b,0.905*c,0.085*b,0.04375*c,0.00625*c,0.00625*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_PHONE]=mxShapeIOS7phone;
  127. function mxShapeIOS7searchBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7searchBox,mxShape);mxShapeIOS7searchBox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeIOS7searchBox.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fill()};
  128. mxShapeIOS7searchBox.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxIOS7C.BUTTON_TEXT,"Search"),c=mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTCOLOR,"#666666"),f=mxUtils.getValue(this.style,mxIOS7C.STYLE_STROKECOLOR2,"#008cff");mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTSIZE,"17");var g=0.1*Math.min(d,e);a.setFillColor("#ffffff");a.roundrect(0.05*d,0.15*e,0.5*d,0.7*e,g,g);a.fillAndStroke();a.setFontColor(c);a.setFontSize(Math.min(0.7*e,0.1*d));a.text(5,0.5*e,0,0,b,mxConstants.ALIGN_LEFT,
  129. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(f);a.ellipse(0.05*d+3,0.5*e-3,4,4);a.stroke();a.begin();a.moveTo(0.05*d+8,0.5*e+3.5);a.lineTo(0.05*d+6,0.5*e+0.5);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_SEARCH_BOX]=mxShapeIOS7searchBox;function mxShapeIOS7URL(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7URL,mxShape);
  130. mxShapeIOS7URL.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeIOS7URL.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fill()};
  131. mxShapeIOS7URL.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxIOS7C.BUTTON_TEXT,"draw.io"),c=mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTCOLOR,"#666666"),f=mxUtils.getValue(this.style,mxIOS7C.STYLE_STROKECOLOR2,"#008cff");mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTSIZE,"17");var g=0.1*Math.min(d,e);a.setFillColor("#d8d8d8");a.roundrect(0.05*d,0.15*e,0.9*d,0.7*e,g,g);a.fill();a.setFontColor(c);a.setFontSize(Math.min(0.7*e,0.1*d));a.text(0.5*d,0.5*e,0,0,b,mxConstants.ALIGN_LEFT,
  132. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor(f);a.begin();a.moveTo(0.95*d-5,0.5*e);a.arcTo(3,3,0,1,1,0.95*d-8,0.5*e-3);a.stroke();a.setFillColor(f);a.begin();a.moveTo(0.95*d-8,0.5*e-4);a.lineTo(0.95*d-6,0.5*e-3);a.lineTo(0.95*d-8,0.5*e-2);a.close();a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_URL]=mxShapeIOS7URL;function mxShapeIOS7Actiondialog(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  133. mxUtils.extend(mxShapeIOS7Actiondialog,mxShape);
  134. mxShapeIOS7Actiondialog.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxIOS7C.MAIN_TEXT,"Main Text"),g=mxUtils.getValue(this.style,mxIOS7C.SUB_TEXT,"Sub Text"),h=mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTCOLOR,"#666666"),k=mxUtils.getValue(this.style,mxIOS7C.STYLE_TEXTSIZE,"17");a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);a.setFillColor("#e0e0e0");a.roundrect(0.05*b,0.1*c,0.9*b,0.35*c,0.025*b,0.05*c);a.fill();a.roundrect(0.05*b,0.55*c,0.9*b,0.35*
  135. c,0.025*b,0.05*c);a.fill();a.setFontStyle(mxConstants.FONT_BOLD);this.mainText(a,d,e,b,c,f,k,h);this.subText(a,d,e,b,c,g,k/1.4,h)};mxShapeIOS7Actiondialog.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fill()};mxShapeIOS7Actiondialog.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.4*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  136. mxShapeIOS7Actiondialog.prototype.subText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.text(0.5*b,0.7*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxIOS7C.SHAPE_IOS7_ACTION_DIALOG]=mxShapeIOS7Actiondialog;function mxShapeIOS7Anchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeIOS7Anchor,mxShape);mxShapeIOS7Anchor.prototype.cst={ANCHOR:"mxgraph.ios7ui.anchor"};
  137. mxShapeIOS7Anchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeIOS7Anchor.prototype.cst.ANCHOR,mxShapeIOS7Anchor);function mxShapeIOS7RRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7RRect,mxShape);mxShapeIOS7RRect.prototype.cst={RRECT:"mxgraph.ios7ui.rrect",R_SIZE:"rSize"};
  138. mxShapeIOS7RRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeIOS7RRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeIOS7RRect.prototype.cst.RRECT,mxShapeIOS7RRect);function mxShapeIOS7LeftButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7LeftButton,mxShape);
  139. mxShapeIOS7LeftButton.prototype.cst={LEFT_BUTTON:"mxgraph.ios7ui.leftButton",R_SIZE:"rSize"};mxShapeIOS7LeftButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeIOS7LeftButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(b,0);a.lineTo(b,c);a.lineTo(d,c);a.arcTo(d,d,0,0,1,0,c-d);a.lineTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeIOS7LeftButton.prototype.cst.LEFT_BUTTON,mxShapeIOS7LeftButton);
  140. function mxShapeIOS7RightButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7RightButton,mxShape);mxShapeIOS7RightButton.prototype.cst={RIGHT_BUTTON:"mxgraph.ios7ui.rightButton",R_SIZE:"rSize"};
  141. mxShapeIOS7RightButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeIOS7RightButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c-d);a.arcTo(d,d,0,0,1,b-d,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeIOS7RightButton.prototype.cst.RIGHT_BUTTON,mxShapeIOS7RightButton);
  142. function mxShapeIOS7TopButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7TopButton,mxShape);mxShapeIOS7TopButton.prototype.cst={TOP_BUTTON:"mxgraph.ios7ui.topButton",R_SIZE:"rSize"};
  143. mxShapeIOS7TopButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeIOS7TopButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(b,c);a.lineTo(0,c);a.lineTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeIOS7TopButton.prototype.cst.TOP_BUTTON,mxShapeIOS7TopButton);
  144. function mxShapeIOS7BottomButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7BottomButton,mxShape);mxShapeIOS7BottomButton.prototype.cst={BOTTOM_BUTTON:"mxgraph.ios7ui.bottomButton",R_SIZE:"rSize"};
  145. mxShapeIOS7BottomButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeIOS7BottomButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(b,0);a.lineTo(0,0);a.lineTo(0,c-d);a.arcTo(d,d,0,0,0,d,c);a.lineTo(b-d,c);a.arcTo(d,d,0,0,0,b,c-d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeIOS7BottomButton.prototype.cst.BOTTOM_BUTTON,mxShapeIOS7BottomButton);
  146. function mxShapeIOS7HorLines(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7HorLines,mxShape);mxShapeIOS7HorLines.prototype.cst={HOR_LINES:"mxgraph.ios7ui.horLines"};mxShapeIOS7HorLines.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fill();a.begin();a.moveTo(0,0);a.lineTo(b,0);a.moveTo(0,c);a.lineTo(b,c);a.stroke()};
  147. mxCellRenderer.registerShape(mxShapeIOS7HorLines.prototype.cst.HOR_LINES,mxShapeIOS7HorLines);function mxShapeIOS7MarginRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7MarginRect,mxShape);mxShapeIOS7MarginRect.prototype.cst={SHAPE_MARGIN_RECT:"mxgraph.ios7ui.marginRect",MARGIN:"rectMargin",RX:"rx",RY:"ry",MARGIN_TOP:"rectMarginTop",MARGIN_LEFT:"rectMarginLeft",MARGIN_BOTTOM:"rectMarginBottom",MARGIN_RIGHT:"rectMarginRight"};
  148. mxShapeIOS7MarginRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  149. mxShapeIOS7MarginRect.prototype.background=function(a,d,e,b,c,f){f=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7MarginRect.prototype.cst.MARGIN,"0"));var g=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7MarginRect.prototype.cst.MARGIN_TOP,"0")),h=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7MarginRect.prototype.cst.MARGIN_LEFT,"0")),k=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7MarginRect.prototype.cst.MARGIN_BOTTOM,"0")),l=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7MarginRect.prototype.cst.MARGIN_RIGHT,
  150. "0"));d=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7MarginRect.prototype.cst.RX,"0"));e=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7MarginRect.prototype.cst.RY,"0"));h=f+h;g=f+g;b=b-l-h-f;c=c-k-g-f;0<b&&0<c&&(a.begin(),a.roundrect(h,g,b,c,d,e),a.fillAndStroke())};mxCellRenderer.prototype.defaultShapes[mxShapeIOS7MarginRect.prototype.cst.SHAPE_MARGIN_RECT]=mxShapeIOS7MarginRect;
  151. function mxShapeIOS7Callout(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7Callout,mxShape);mxShapeIOS7Callout.prototype.cst={SHAPE_CALLOUT:"mxgraph.ios7ui.callout"};mxShapeIOS7Callout.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  152. mxShapeIOS7Callout.prototype.background=function(a,d,e,b,c,f){30<=b&&20<=c&&(a.begin(),a.moveTo(15,c-3),a.arcTo(20,10,0,0,1,0,c),a.arcTo(15,15,0,0,0,10,c-10),a.lineTo(10,10),a.arcTo(10,10,0,0,1,20,0),a.lineTo(b-10,0),a.arcTo(10,10,0,0,1,b,10),a.lineTo(b,c-10),a.arcTo(10,10,0,0,1,b-10,c),a.lineTo(20,c),a.arcTo(10,10,0,0,1,15,c-3),a.close(),a.fillAndStroke())};mxCellRenderer.prototype.defaultShapes[mxShapeIOS7Callout.prototype.cst.SHAPE_CALLOUT]=mxShapeIOS7Callout;
  153. function mxShapeIOS7SelectBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.dx2=70;this.size=10}mxUtils.extend(mxShapeIOS7SelectBar,mxActor);mxShapeIOS7SelectBar.prototype.cst={SELECT_BAR:"mxgraph.ios7ui.selectBar"};
  154. mxShapeIOS7SelectBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx2",this.dx2))));e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var g=Math.max(0,Math.min(c,(b-Math.max(20,e)-e)/2,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.min(c/2,b/2,e);f=Math.max(e+g,f);f=Math.min(b-e-g,b-
  155. 20-g,f);a.begin();a.moveTo(f-g,c);a.lineTo(e,c);a.arcTo(e,e,0,0,1,0,c-e);a.lineTo(0,e);a.arcTo(e,e,0,0,1,e,0);a.lineTo(b-e,0);a.arcTo(e,e,0,0,1,b,e);a.lineTo(b,c-e);a.arcTo(e,e,0,0,1,b-e,c);a.lineTo(f+g,c);a.lineTo(f,c+g);a.close();a.fillAndStroke();a.setShadow(!1);a.begin();a.moveTo(b-Math.max(20,e),0);a.lineTo(b-Math.max(20,e),c);a.stroke();f=d;for(a.begin();f<b-Math.max(20,e);)a.moveTo(f,0),a.lineTo(f,c),f+=d;a.stroke();d=Math.min(Math.max(20,e),c);b-=0.5*d;c*=0.5;a.setFillColor(mxUtils.getValue(this.style,
  156. mxConstants.STYLE_STROKECOLOR,""));a.begin();a.moveTo(b-0.15*d,c-0.225*d);a.lineTo(b+0.25*d,c);a.lineTo(b-0.15*d,c+0.225*d);a.close();a.fill()};mxCellRenderer.registerShape(mxShapeIOS7SelectBar.prototype.cst.SELECT_BAR,mxShapeIOS7SelectBar);mxShapeIOS7SelectBar.prototype.constraints=null;
  157. Graph.handleFactory[mxShapeIOS7SelectBar.prototype.cst.SELECT_BAR]=function(a){var d=[Graph.createHandle(a,["dx"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx))));return new mxPoint(a.x+c,a.y+a.height)},function(a,c){var d=0.6*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy));this.state.style.dx=Math.round(100*Math.max(d,Math.min(a.width-d,c.x-a.x)))/100})],e=Graph.createHandle(a,["dy"],function(a){var c=Math.max(0,Math.min(a.height,
  158. parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),a.y+a.height+c)},function(a,c){this.state.style.dy=Math.round(100*Math.max(0,Math.min(a.height,c.y-a.y-a.height)))/100});d.push(e);e=Graph.createHandle(a,["size"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(a.x+a.width-c,a.y+10)},function(a,c){this.state.style.size=Math.round(100*
  159. Math.max(0,Math.min(a.width/2,a.height/2,a.x+a.width-c.x)))/100});d.push(e);a=Graph.createHandle(a,["dx2"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2))));return new mxPoint(a.x+c,a.y+a.height/2)},function(a,c){this.state.style.dx2=Math.round(100*Math.max(0,Math.min(a.width,c.x-a.x)))/100});d.push(a);return d};mxShapeIOS7SelectBar;
  160. function mxShapeIOS7Slider2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIOS7Slider2,mxShape);mxShapeIOS7Slider2.prototype.cst={SHAPE_SLIDER:"mxgraph.ios7ui.slider",BAR_POS:"barPos",HANDLE_SIZE:"handleSize"};mxShapeIOS7Slider2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0)};
  161. mxShapeIOS7Slider2.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7Slider2.prototype.cst.HANDLE_SIZE,"10"));e=parseFloat(mxUtils.getValue(this.style,mxShapeIOS7Slider2.prototype.cst.BAR_POS,"40"))/100;e=Math.max(0,Math.min(1,e));a.save();a.setStrokeColor("#bbbbbb");a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.fillAndStroke();a.restore();a.begin();a.moveTo(0,0.5*c);a.lineTo(e*b,0.5*c);a.fillAndStroke();a.setStrokeColor("#bbbbbb");a.begin();a.ellipse(e*
  162. b-0.5*d,0.5*c-0.5*d,d,d);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeIOS7Slider2.prototype.cst.SHAPE_SLIDER]=mxShapeIOS7Slider2;mxShapeIOS7Slider2.prototype.constraints=null;
  163. Graph.handleFactory[mxShapeIOS7Slider2.prototype.cst.SHAPE_SLIDER]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/100})]};
  164. function mxShapeMockupMultiButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupMultiButton,mxShape);mxShapeMockupMultiButton.prototype.cst={MAIN_TEXT:"mainText",SHAPE_MULTILINE_BUTTON:"mxgraph.mockup.buttons.multiButton",SUB_TEXT:"subText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",BUTTON_STYLE:"buttonStyle",ROUND:"round",CHEVRON:"chevron"};
  165. mxShapeMockupMultiButton.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupMultiButton.prototype.cst.MAIN_TEXT,"Main Text"),g=mxUtils.getValue(this.style,mxShapeMockupMultiButton.prototype.cst.SUB_TEXT,"Sub Text"),h=mxUtils.getValue(this.style,mxShapeMockupMultiButton.prototype.cst.TEXT_COLOR,"#666666"),k=mxUtils.getValue(this.style,mxShapeMockupMultiButton.prototype.cst.TEXT_SIZE,"17");a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);a.setFontStyle(mxConstants.FONT_BOLD);
  166. this.mainText(a,d,e,b,c,f,k,h);this.subText(a,d,e,b,c,g,k/1.4,h)};
  167. mxShapeMockupMultiButton.prototype.background=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupMultiButton.prototype.cst.BUTTON_STYLE,mxShapeMockupMultiButton.prototype.cst.ROUND).toString();a.begin();d===mxShapeMockupMultiButton.prototype.cst.ROUND?(a.moveTo(0,10),a.arcTo(10,10,0,0,1,10,0),a.lineTo(b-10,0),a.arcTo(10,10,0,0,1,b,10),a.lineTo(b,c-10),a.arcTo(10,10,0,0,1,b-10,c),a.lineTo(10,c),a.arcTo(10,10,0,0,1,0,c-10)):d===mxShapeMockupMultiButton.prototype.cst.CHEVRON&&(a.moveTo(0,
  168. 0.1*c),a.arcTo(0.0372*b,0.1111*c,0,0,1,0.0334*b,0),a.lineTo(0.768*b,0),a.arcTo(0.0722*b,0.216*c,0,0,1,0.8014*b,0.0399*c),a.lineTo(0.99*b,0.4585*c),a.arcTo(0.09*b,0.1*c,0,0,1,0.99*b,0.5415*c),a.lineTo(0.8014*b,0.9568*c),a.arcTo(0.0722*b,0.216*c,0,0,1,0.768*b,c),a.lineTo(0.0334*b,c),a.arcTo(0.0372*b,0.1111*c,0,0,1,0,0.9*c));a.close();a.fillAndStroke()};
  169. mxShapeMockupMultiButton.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.4*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxShapeMockupMultiButton.prototype.subText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.text(0.5*b,0.7*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupMultiButton.prototype.cst.SHAPE_MULTILINE_BUTTON]=mxShapeMockupMultiButton;
  170. function mxShapeMockupButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupButton,mxShape);mxShapeMockupButton.prototype.cst={MAIN_TEXT:"mainText",SHAPE_BUTTON:"mxgraph.mockup.buttons.button",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",BUTTON_STYLE:"buttonStyle",ROUND:"round",CHEVRON:"chevron"};
  171. mxShapeMockupButton.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupButton.prototype.cst.MAIN_TEXT,"Main Text"),g=mxUtils.getValue(this.style,mxShapeMockupButton.prototype.cst.TEXT_COLOR,"#666666").toString(),h=mxUtils.getValue(this.style,mxShapeMockupButton.prototype.cst.TEXT_SIZE,"17").toString();a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};
  172. mxShapeMockupButton.prototype.background=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupButton.prototype.cst.BUTTON_STYLE,mxShapeMockupButton.prototype.cst.ROUND).toString();a.begin();d===mxShapeMockupButton.prototype.cst.ROUND?(a.moveTo(0,10),a.arcTo(10,10,0,0,1,10,0),a.lineTo(b-10,0),a.arcTo(10,10,0,0,1,b,10),a.lineTo(b,c-10),a.arcTo(10,10,0,0,1,b-10,c),a.lineTo(10,c),a.arcTo(10,10,0,0,1,0,c-10)):d===mxShapeMockupButton.prototype.cst.CHEVRON&&(a.moveTo(0,0.1*c),a.arcTo(0.0372*b,
  173. 0.1111*c,0,0,1,0.0334*b,0),a.lineTo(0.768*b,0),a.arcTo(0.0722*b,0.216*c,0,0,1,0.8014*b,0.0399*c),a.lineTo(0.99*b,0.4585*c),a.arcTo(0.09*b,0.1*c,0,0,1,0.99*b,0.5415*c),a.lineTo(0.8014*b,0.9568*c),a.arcTo(0.0722*b,0.216*c,0,0,1,0.768*b,c),a.lineTo(0.0334*b,c),a.arcTo(0.0372*b,0.1111*c,0,0,1,0,0.9*c));a.close();a.fillAndStroke()};
  174. mxShapeMockupButton.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.setFontStyle(mxConstants.FONT_BOLD);a.text(b/2,c/2,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupButton.prototype.cst.SHAPE_BUTTON]=mxShapeMockupButton;function mxShapeMockupHorButtonBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  175. mxUtils.extend(mxShapeMockupHorButtonBar,mxShape);mxShapeMockupHorButtonBar.prototype.cst={MAIN_TEXT:"mainText",SHAPE_HOR_BUTTON_BAR:"mxgraph.mockup.buttons.horButtonBar",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2",STROKE_COLOR2:"strokeColor2",FILL_COLOR2:"fillColor2",SELECTED:"+",TEXT_SIZE:"textSize"};
  176. mxShapeMockupHorButtonBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupHorButtonBar.prototype.cst.MAIN_TEXT,"+Button 1, Button 2, Button 3").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupHorButtonBar.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupHorButtonBar.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(this.style,mxShapeMockupHorButtonBar.prototype.cst.TEXT_SIZE,"17").toString(),l=mxUtils.getValue(this.style,
  177. mxConstants.STYLE_STROKECOLOR,"#666666"),n=mxUtils.getValue(this.style,mxShapeMockupHorButtonBar.prototype.cst.STROKE_COLOR2,"#c4c4c4"),m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),p=mxUtils.getValue(this.style,mxShapeMockupHorButtonBar.prototype.cst.FILL_COLOR2,"#008cff"),q=f.length,t=Array(q),s=0,u=-1,r=0;r<q;r++){var v=f[r];v.charAt(0)===mxShapeMockupHorButtonBar.prototype.cst.SELECTED&&(v=f[r].substring(1),u=r);t[r]=mxUtils.getSizeForString(v,k,mxConstants.DEFAULT_FONTFAMILY).width;
  178. s+=t[r]}c=Math.max(c,1.5*k,20);s=10*q+s;b=Math.max(b,s);a.translate(d,e);this.background(a,b,c,10,q,t,5,s,l,n,m,p,u);a.setShadow(!1);a.setFontStyle(mxConstants.FONT_BOLD);for(r=d=0;r<q;r++)r===u?a.setFontColor(h):a.setFontColor(g),d+=5,this.buttonText(a,d,c,f[r],t[r],k,s,b),d=d+t[r]+5};
  179. mxShapeMockupHorButtonBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m,p){a.begin();a.setStrokeColor(k);a.setFillColor(n);a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.fillAndStroke();a.setStrokeColor(l);a.begin();for(l=1;l<c;l++)if(l!==p&&l!==p+1){for(var q=0,t=0;t<l;t++)q+=f[t]+2*g;q=q*d/h;a.moveTo(q,0);a.lineTo(q,e)}a.stroke();q=0;a.setFillColor(m);for(l=0;l<p;l++)q+=
  180. f[l]+2*g;q=q*d/h;f=(f[p]+2*g)*d/h;f+=q;0===p?(a.begin(),a.moveTo(0,b),a.arcTo(b,b,0,0,1,b,0),a.lineTo(f,0),a.lineTo(f,e),a.lineTo(b,e),a.arcTo(b,b,0,0,1,0,e-b),a.close(),a.fill()):p===c-1?(a.begin(),a.moveTo(q,0),a.lineTo(f-b,0),a.arcTo(b,b,0,0,1,f,b),a.lineTo(f,e-b),a.arcTo(b,b,0,0,1,f-b,e),a.lineTo(q,e),a.close(),a.fill()):-1!==p&&(a.begin(),a.moveTo(q,0),a.lineTo(f,0),a.lineTo(f,e),a.lineTo(q,e),a.close(),a.fill());a.setStrokeColor(k);a.setFillColor(n);a.begin();a.moveTo(0,b);a.arcTo(b,b,0,0,1,
  181. b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.stroke()};mxShapeMockupHorButtonBar.prototype.buttonText=function(a,d,e,b,c,f,g,h){b.charAt(0)===mxShapeMockupHorButtonBar.prototype.cst.SELECTED&&(b=b.substring(1));a.begin();a.setFontSize(f);a.text((d+0.5*c)*h/g,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  182. mxCellRenderer.prototype.defaultShapes[mxShapeMockupHorButtonBar.prototype.cst.SHAPE_HOR_BUTTON_BAR]=mxShapeMockupHorButtonBar;function mxShapeMockupVerButtonBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupVerButtonBar,mxShape);
  183. mxShapeMockupVerButtonBar.prototype.cst={MAIN_TEXT:"mainText",SHAPE_VER_BUTTON_BAR:"mxgraph.mockup.buttons.verButtonBar",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2",STROKE_COLOR2:"strokeColor2",FILL_COLOR2:"fillColor2",SELECTED:"+",TEXT_SIZE:"textSize"};
  184. mxShapeMockupVerButtonBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupVerButtonBar.prototype.cst.MAIN_TEXT,"+Button 1, Button 2, Button 3").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupVerButtonBar.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupVerButtonBar.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(this.style,mxShapeMockupVerButtonBar.prototype.cst.TEXT_SIZE,"17").toString(),l=mxUtils.getValue(this.style,
  185. mxConstants.STYLE_STROKECOLOR,"#666666"),n=mxUtils.getValue(this.style,mxShapeMockupVerButtonBar.prototype.cst.STROKE_COLOR2,"#c4c4c4"),m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),p=mxUtils.getValue(this.style,mxShapeMockupVerButtonBar.prototype.cst.FILL_COLOR2,"#008cff"),q=f.length,t=0,s=-1,u=0;u<q;u++){var r=f[u];r.charAt(0)===mxShapeMockupVerButtonBar.prototype.cst.SELECTED&&(r=f[u].substring(1),s=u);r=mxUtils.getSizeForString(r,k,mxConstants.DEFAULT_FONTFAMILY).width;
  186. r>t&&(t=r)}var v=1.5*k,w=q*v;c=Math.max(c,w);b=Math.max(b,10+t);a.translate(d,e);this.background(a,b,c,10,q,5,q*v,l,n,m,p,s,v);a.setShadow(!1);r=0;a.setFontStyle(mxConstants.FONT_BOLD);for(u=0;u<q;u++)u===s?a.setFontColor(h):a.setFontColor(g),r+=5,this.buttonText(a,b,(u*v+0.5*v)*c/w,f[u],k)};
  187. mxShapeMockupVerButtonBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m,p){a.begin();a.setStrokeColor(h);a.setFillColor(l);a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.fillAndStroke();a.setStrokeColor(k);a.begin();for(f=1;f<c;f++)f!==m&&f!==m+1&&(k=f*p*e/g,a.moveTo(0,k),a.lineTo(d,k));a.stroke();a.setFillColor(n);0===m?(a.begin(),g=p*e/g,a.moveTo(0,b),a.arcTo(b,b,0,0,
  188. 1,b,0),a.lineTo(d-b,0),a.arcTo(b,b,0,0,1,d,b),a.lineTo(d,g),a.lineTo(0,g),a.close(),a.fill()):m===c-1?(a.begin(),c=e-p*e/g,a.moveTo(0,c),a.lineTo(d,c),a.lineTo(d,e-b),a.arcTo(b,b,0,0,1,d-b,e),a.lineTo(b,e),a.arcTo(b,b,0,0,1,0,e-b),a.close(),a.fill()):-1!==m&&(a.begin(),c=p*m*e/g,g=p*(m+1)*e/g,a.moveTo(0,c),a.lineTo(d,c),a.lineTo(d,g),a.lineTo(0,g),a.close(),a.fill());a.begin();a.setStrokeColor(h);a.setFillColor(l);a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,
  189. e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.stroke()};mxShapeMockupVerButtonBar.prototype.buttonText=function(a,d,e,b,c){b.charAt(0)===mxShapeMockupVerButtonBar.prototype.cst.SELECTED&&(b=b.substring(1));a.begin();a.setFontSize(c);a.text(0.5*d,e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupVerButtonBar.prototype.cst.SHAPE_VER_BUTTON_BAR]=mxShapeMockupVerButtonBar;
  190. function mxShapeMockupOnOffButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupOnOffButton,mxShape);mxShapeMockupOnOffButton.prototype.cst={SHAPE_ON_OFF_BUTTON:"mxgraph.mockup.buttons.onOffButton",BUTTON_STATE:"buttonState",STATE_ON:"on",STATE_OFF:"off",FILL_COLOR2:"fillColor2",MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize"};
  191. mxShapeMockupOnOffButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);b=Math.max(b,10);c=Math.max(c,10);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupOnOffButton.prototype.background=function(a,d,e,b,c){a.roundrect(0,0,b,c,10,10);a.fillAndStroke()};
  192. mxShapeMockupOnOffButton.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupOnOffButton.prototype.cst.BUTTON_STATE,mxShapeMockupOnOffButton.prototype.cst.STATE_ON);e=mxUtils.getValue(this.style,mxShapeMockupOnOffButton.prototype.cst.FILL_COLOR2,"#008cff");var f=mxUtils.getValue(this.style,mxShapeMockupOnOffButton.prototype.cst.TEXT_COLOR,"#ffffff,#999999").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupOnOffButton.prototype.cst.MAIN_TEXT,"ON,OFF").toString().split(","),
  193. h=mxUtils.getValue(this.style,mxShapeMockupOnOffButton.prototype.cst.TEXT_SIZE,"17");d===mxShapeMockupOnOffButton.prototype.cst.STATE_ON?(a.setFillColor(e),a.setFontColor(f[0]),a.roundrect(0,0,0.75*b,c,10,10)):(a.setFontColor(f[1]),a.roundrect(0.25*b,0,0.75*b,c,10,10));a.fillAndStroke();a.setFontSize(h);a.setFontStyle(mxConstants.FONT_BOLD);d===mxShapeMockupOnOffButton.prototype.cst.STATE_ON?a.text(0.375*b,0.5*c,0,0,g[0],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):d===mxShapeMockupOnOffButton.prototype.cst.STATE_OFF&&
  194. a.text(0.625*b,0.5*c,0,0,g[1],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupOnOffButton.prototype.cst.SHAPE_ON_OFF_BUTTON]=mxShapeMockupOnOffButton;function mxShapeMockupRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRRect,mxShape);mxShapeMockupRRect.prototype.cst={RRECT:"mxgraph.mockup.rrect",R_SIZE:"rSize"};
  195. mxShapeMockupRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupRRect.prototype.cst.RRECT,mxShapeMockupRRect);function mxShapeMockupAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeMockupAnchor,mxShape);mxShapeMockupAnchor.prototype.cst={ANCHOR:"mxgraph.mockup.anchor"};
  196. mxShapeMockupAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeMockupAnchor.prototype.cst.ANCHOR,mxShapeMockupAnchor);function mxShapeMockupTopButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupTopButton,mxShape);mxShapeMockupTopButton.prototype.cst={TOP_BUTTON:"mxgraph.mockup.topButton",R_SIZE:"rSize"};
  197. mxShapeMockupTopButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupTopButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupTopButton.prototype.cst.TOP_BUTTON,mxShapeMockupTopButton);
  198. function mxShapeMockupBottomButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupBottomButton,mxShape);mxShapeMockupBottomButton.prototype.cst={BOTTOM_BUTTON:"mxgraph.mockup.bottomButton",R_SIZE:"rSize"};
  199. mxShapeMockupBottomButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupBottomButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c-d);a.arcTo(d,d,0,0,1,b-d,c);a.lineTo(d,c);a.arcTo(d,d,0,0,1,0,c-d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupBottomButton.prototype.cst.BOTTOM_BUTTON,mxShapeMockupBottomButton);
  200. function mxShapeMockupRightButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRightButton,mxShape);mxShapeMockupRightButton.prototype.cst={RIGHT_BUTTON:"mxgraph.mockup.rightButton",R_SIZE:"rSize"};
  201. mxShapeMockupRightButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupRightButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c-d);a.arcTo(d,d,0,0,1,b-d,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupRightButton.prototype.cst.RIGHT_BUTTON,mxShapeMockupRightButton);
  202. function mxShapeMockupLeftButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupLeftButton,mxShape);mxShapeMockupLeftButton.prototype.cst={LEFT_BUTTON:"mxgraph.mockup.leftButton",R_SIZE:"rSize"};
  203. mxShapeMockupLeftButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupLeftButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(b,0);a.lineTo(b,c);a.lineTo(d,c);a.arcTo(d,d,0,0,1,0,c-d);a.lineTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupLeftButton.prototype.cst.LEFT_BUTTON,mxShapeMockupLeftButton);
  204. function mxShapeMockupVideoPlayer(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.barPos=20;this.barHeight=30}mxUtils.extend(mxShapeMockupVideoPlayer,mxShape);mxShapeMockupVideoPlayer.prototype.cst={FILL_COLOR2:"fillColor2",TEXT_COLOR:"textColor",STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",SHAPE_VIDEO_PLAYER:"mxgraph.mockup.containers.videoPlayer",BAR_POS:"barPos",BAR_HEIGHT:"barHeight"};
  205. mxShapeMockupVideoPlayer.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxShapeMockupVideoPlayer.prototype.cst.FILL_COLOR2,"#c4c4c4"),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),k=mxUtils.getValue(this.style,mxShapeMockupVideoPlayer.prototype.cst.STROKE_COLOR2,"#008cff"),l=mxUtils.getValue(this.style,mxShapeMockupVideoPlayer.prototype.cst.STROKE_COLOR3,"#c4c4c4"),n=mxUtils.getValue(this.style,
  206. mxShapeMockupVideoPlayer.prototype.cst.BAR_HEIGHT,"30");b=Math.max(b,5*n);c=Math.max(c,n+10);a.translate(d,e);this.background(a,d,e,b,c,f,h);a.setShadow(!1);this.otherShapes(a,d,e,b,c,g,h,k,l,n)};mxShapeMockupVideoPlayer.prototype.background=function(a,d,e,b,c,f,g){a.setFillColor(f);a.setStrokeColor(g);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};
  207. mxShapeMockupVideoPlayer.prototype.otherShapes=function(a,d,e,b,c,f,g,h,k,l){var n=mxUtils.getValue(this.style,mxShapeMockupVideoPlayer.prototype.cst.BAR_POS,"20"),n=Math.max(0,n),n=Math.min(100,n);d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");e=c-l;n=8+(b-8-8)*n/100;a.setStrokeColor(h);a.begin();a.moveTo(0,e);a.lineTo(n,e);a.stroke();a.setStrokeColor(k);a.begin();a.moveTo(n,e);a.lineTo(b,e);a.stroke();a.setStrokeColor(g);a.begin();a.ellipse(n-8,e-8,16,16);a.fillAndStroke();a.begin();
  208. a.setStrokeWidth(d/2);a.ellipse(n-4,e-4,8,8);a.fillAndStroke();a.setStrokeWidth(d);g=0.3*l;h=c-0.5*(l+g);k=0.3*l;a.setFillColor(f);a.setStrokeColor(f);a.begin();a.moveTo(k,h);a.lineTo(k+g,h+0.5*g);a.lineTo(k,h+g);a.close();a.fillAndStroke();f=c-l;a.moveTo(l+0.05*l,f+0.4*l);a.lineTo(l+0.15*l,f+0.4*l);a.lineTo(l+0.3*l,f+0.25*l);a.lineTo(l+0.3*l,f+0.75*l);a.lineTo(l+0.15*l,f+0.6*l);a.lineTo(l+0.05*l,f+0.6*l);a.close();a.fillAndStroke();a.begin();a.moveTo(l+0.4*l,f+0.35*l);a.arcTo(0.2*l,0.3*l,0,0,1,l+
  209. 0.4*l,f+0.65*l);a.moveTo(l+0.425*l,f+0.25*l);a.arcTo(0.225*l,0.35*l,0,0,1,l+0.425*l,f+0.75*l);a.stroke();b-=1.3*l;a.begin();a.moveTo(b+0.1*l,f+0.4*l);a.lineTo(b+0.1*l,f+0.3*l);a.lineTo(b+0.25*l,f+0.3*l);a.moveTo(b+0.1*l,f+0.6*l);a.lineTo(b+0.1*l,f+0.7*l);a.lineTo(b+0.25*l,f+0.7*l);a.moveTo(b+0.9*l,f+0.4*l);a.lineTo(b+0.9*l,f+0.3*l);a.lineTo(b+0.75*l,f+0.3*l);a.moveTo(b+0.9*l,f+0.6*l);a.lineTo(b+0.9*l,f+0.7*l);a.lineTo(b+0.75*l,f+0.7*l);a.stroke();b=mxUtils.getValue(this.style,mxShapeMockupVideoPlayer.prototype.cst.TEXT_COLOR,
  210. "#666666");a.begin();a.setFontSize(0.5*l);a.setFontColor(b);a.text(1.9*l,c-0.45*l,0,0,"0:00/3:53",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupVideoPlayer.prototype.cst.SHAPE_VIDEO_PLAYER]=mxShapeMockupVideoPlayer;
  211. Graph.handleFactory[mxShapeMockupVideoPlayer.prototype.cst.SHAPE_VIDEO_PLAYER]=function(a){var d=[Graph.createHandle(a,["barPos"],function(a){var b=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"barPos",this.barPos)))),c=parseFloat(mxUtils.getValue(this.state.style,"barHeight",this.barHeight));return new mxPoint(a.x+(a.width-16)*b/a.width/100*a.width+8,a.y+a.height-c-20)},function(a,b){this.state.style.barPos=Math.round(1E3*Math.max(0,Math.min(100,100*(b.x-a.x)/a.width)))/1E3})];
  212. a=Graph.createHandle(a,["barHeight"],function(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"barHeight",this.barHeight))));return new mxPoint(a.x+a.width-20,a.y+a.height-b)},function(a,b){this.state.style.barHeight=Math.round(1E3*Math.max(0,Math.min(a.height,a.y+a.height-b.y)))/1E3});d.push(a);return d};function mxShapeMockupAccordion(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  213. mxUtils.extend(mxShapeMockupAccordion,mxShape);mxShapeMockupAccordion.prototype.cst={TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2",TEXT_SIZE:"textSize",SHAPE_ACCORDION:"mxgraph.mockup.containers.accordion",STROKE_COLOR2:"strokeColor2",FILL_COLOR2:"fillColor2",SELECTED:"+",MAIN_TEXT:"mainText"};
  214. mxShapeMockupAccordion.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupAccordion.prototype.cst.MAIN_TEXT,"+Group 1, Group 2, Group 3").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupAccordion.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupAccordion.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(this.style,mxShapeMockupAccordion.prototype.cst.TEXT_SIZE,"17").toString(),l=mxUtils.getValue(this.style,
  215. mxConstants.STYLE_STROKECOLOR,"#666666"),n=mxUtils.getValue(this.style,mxShapeMockupAccordion.prototype.cst.STROKE_COLOR2,"#c4c4c4"),m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),p=mxUtils.getValue(this.style,mxShapeMockupAccordion.prototype.cst.FILL_COLOR2,"#008cff"),q=f.length,t=0,s=-1,u=0;u<q;u++){var r=f[u];r.charAt(0)===mxShapeMockupAccordion.prototype.cst.SELECTED&&(r=f[u].substring(1),s=u);r=mxUtils.getSizeForString(r,k,mxConstants.DEFAULT_FONTFAMILY).width;r>t&&(t=r)}var v=
  216. 1.5*k;c=Math.max(c,q*v);b=Math.max(b,10+t);a.translate(d,e);this.background(a,b,c,10,q,5,q*v,l,n,m,p,s,v);a.setShadow(!1);for(u=r=0;u<q;u++)u===s?a.setFontColor(h):a.setFontColor(g),r+=5,d=0,d=-1===s||u<=s?u*v+0.5*v:c-(q-u-0.5)*v,this.buttonText(a,b,d,f[u],k)};
  217. mxShapeMockupAccordion.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m,p){a.begin();a.setStrokeColor(h);a.setFillColor(l);a.moveTo(0,0);a.lineTo(d,0);a.lineTo(d,e);a.lineTo(0,e);a.close();a.fillAndStroke();a.setStrokeColor(k);a.begin();for(b=1;b<c;b++)b!==m&&(f=-1===m||b<m?b*p:e-(c-b)*p,a.moveTo(0,f),a.lineTo(d,f));a.stroke();a.setStrokeColor(mxConstants.NONE);a.setFillColor(n);-1!==m&&(a.begin(),c=p*m,m=p*(m+1),a.moveTo(0,c),a.lineTo(d,c),a.lineTo(d,m),a.lineTo(0,m),a.close(),a.fill());a.begin();
  218. a.setStrokeColor(h);a.setFillColor(l);a.moveTo(0,0);a.lineTo(d,0);a.lineTo(d,e);a.lineTo(0,e);a.close();a.stroke()};mxShapeMockupAccordion.prototype.buttonText=function(a,d,e,b,c){b.charAt(0)===mxShapeMockupAccordion.prototype.cst.SELECTED&&(b=b.substring(1));a.begin();a.setFontSize(c);a.text(0.5*d,e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupAccordion.prototype.cst.SHAPE_ACCORDION]=mxShapeMockupAccordion;
  219. function mxShapeMockupBrowserWindow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupBrowserWindow,mxShape);mxShapeMockupBrowserWindow.prototype.cst={STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",MAIN_TEXT:"mainText",SHAPE_BROWSER_WINDOW:"mxgraph.mockup.containers.browserWindow"};
  220. mxShapeMockupBrowserWindow.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupBrowserWindow.prototype.cst.STROKE_COLOR2,"#008cff"),k=mxUtils.getValue(this.style,mxShapeMockupBrowserWindow.prototype.cst.STROKE_COLOR3,"#c4c4c4");b=Math.max(b,260);c=Math.max(c,110);a.translate(d,e);this.background(a,d,e,b,c,f,g);a.setShadow(!1);
  221. this.otherShapes(a,d,e,b,c,g,k,h)};mxShapeMockupBrowserWindow.prototype.background=function(a,d,e,b,c,f,g){a.setFillColor(f);a.setStrokeColor(g);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};
  222. mxShapeMockupBrowserWindow.prototype.otherShapes=function(a,d,e,b,c,f,g,h){d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");e=mxUtils.getValue(this.style,mxShapeMockupBrowserWindow.prototype.cst.MAIN_TEXT,"http://www.draw.io,Page 1").toString().split(",");a.setStrokeColor(f);a.ellipse(b-75,5,20,20);a.stroke();a.ellipse(b-50,5,20,20);a.stroke();a.setStrokeColor(h);a.ellipse(b-25,5,20,20);a.stroke();a.setStrokeColor(g);a.begin();a.moveTo(0,40);a.lineTo(30,40);a.lineTo(30,15);a.arcTo(5,
  223. 5,0,0,1,35,10);a.lineTo(170,10);a.arcTo(5,5,0,0,1,175,15);a.lineTo(175,40);a.lineTo(b,40);a.stroke();a.begin();a.moveTo(0,110);a.lineTo(b,110);a.stroke();a.begin();a.moveTo(100,60);a.arcTo(5,5,0,0,1,105,55);a.lineTo(b-15,55);a.arcTo(5,5,0,0,1,b-10,60);a.lineTo(b-10,85);a.arcTo(5,5,0,0,1,b-15,90);a.lineTo(105,90);a.arcTo(5,5,0,0,1,100,85);a.close();a.stroke();b=mxUtils.getValue(this.style,mxShapeMockupBrowserWindow.prototype.cst.TEXT_COLOR,"#666666");a.setFontColor(b);a.setFontSize(17);a.text(65,25,
  224. 0,0,e[1],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(130,73,0,0,e[0],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.stroke();a.translate(37,17);a.begin();a.moveTo(0,0);a.lineTo(11,0);a.lineTo(15,4);a.lineTo(15,18);a.lineTo(0,18);a.close();a.stroke();a.setStrokeWidth(0.5*d);a.begin();a.moveTo(11,0);a.lineTo(11,4);a.lineTo(15,5);a.stroke();a.setStrokeWidth(2*d);a.translate(70,47);a.begin();a.moveTo(0,0);a.lineTo(11,0);a.lineTo(15,4);a.lineTo(15,18);a.lineTo(0,
  225. 18);a.close();a.stroke();a.setStrokeWidth(0.5*d);a.begin();a.moveTo(11,0);a.lineTo(11,4);a.lineTo(15,5);a.stroke();a.setFillColor(g);a.begin();a.setStrokeWidth(2*d);a.translate(-95,0);a.moveTo(0,10);a.lineTo(10,0);a.lineTo(10,6);a.lineTo(20,6);a.lineTo(20,14);a.lineTo(10,14);a.lineTo(10,20);a.close();a.fillAndStroke();a.begin();a.translate(30,0);a.moveTo(20,10);a.lineTo(10,0);a.lineTo(10,6);a.lineTo(0,6);a.lineTo(0,14);a.lineTo(10,14);a.lineTo(10,20);a.close();a.fillAndStroke();a.begin();a.translate(30,
  226. 0);a.moveTo(20*0.78,13.3);a.arcTo(6,6,0,1,1,13.5,5.04);a.lineTo(20*0.595,6.5);a.lineTo(19.8,20*0.415);a.lineTo(18,0.8);a.lineTo(20*0.815,2.4);a.arcTo(9.8,9.8,0,1,0,20*0.92,16);a.close();a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupBrowserWindow.prototype.cst.SHAPE_BROWSER_WINDOW]=mxShapeMockupBrowserWindow;function mxShapeMockupUserMale(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupUserMale,mxShape);
  227. mxShapeMockupUserMale.prototype.cst={STROKE_COLOR2:"strokeColor2",SHAPE_MALE_USER:"mxgraph.mockup.containers.userMale"};
  228. mxShapeMockupUserMale.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupUserMale.prototype.cst.STROKE_COLOR2,"#008cff");a.translate(d,e);this.background(a,d,e,b,c,f,g);a.setShadow(!1);this.otherShapes(a,d,e,b,c,h,g)};
  229. mxShapeMockupUserMale.prototype.background=function(a,d,e,b,c,f,g){a.setFillColor(f);a.setStrokeColor(g);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};
  230. mxShapeMockupUserMale.prototype.otherShapes=function(a,d,e,b,c,f,g){a.setStrokeColor(f);a.setLineCap("round");a.setLineJoin("round");a.begin();a.moveTo(0.5*b,0.6721*c);a.curveTo(0.3891*b,0.6721*c,0.31*b,0.5648*c,0.31*b,0.3962*c);a.curveTo(0.31*b,0.3656*c,0.3012*b,0.3473*c,0.3051*b,0.3227*c);a.curveTo(0.3126*b,0.2762*c,0.3124*b,0.2212*c,0.332*b,0.1939*c);a.curveTo(0.354*b,0.1633*c,0.4382*b,0.12*c,0.5*b,0.12*c);a.stroke();a.begin();a.moveTo(0.3046*b,0.3716*c);a.curveTo(0.3046*b,0.3716*c,0.3046*b,0.341*
  231. c,0.2826*b,0.3594*c);a.curveTo(0.2606*b,0.3778*c,0.2661*b,0.4452*c,0.266*b,0.4452*c);a.quadTo(0.2715*b,0.4942*c,0.277*b,0.5065*c);a.curveTo(0.2825*b,0.5187*c,0.277*b,0.5187*c,0.2935*b,0.5371*c);a.curveTo(0.31*b,0.5554*c,0.3375*b,0.5615*c,0.3375*b,0.5616*c);a.stroke();a.begin();a.moveTo(0.3829*b,0.6213*c);a.curveTo(0.3829*b,0.6213*c,0.405*b,0.7704*c,0.2921*b,0.7888*c);a.curveTo(0.2536*b,0.795*c,0.1328*b,0.85*c,0.1052*b,0.8745*c);a.curveTo(0.0776*b,0.899*c,0.0641*b,0.9316*c,0.0571*b,0.9622*c);a.quadTo(0.05*
  232. b,c,0.05*b,c);a.stroke();a.begin();a.moveTo(0.3427*b,0.4185*c);a.curveTo(0.3427*b,0.4185*c,0.3427*b,0.3839*c,0.3427*b,0.3593*c);a.curveTo(0.3427*b,0.3348*c,0.3663*b,0.3103*c,0.3718*b,0.3041*c);a.curveTo(0.3773*b,0.298*c,0.3822*b,0.2673*c,0.3877*b,0.2551*c);a.curveTo(0.3932*b,0.2429*c,0.4095*b,0.2429*c,0.4259*b,0.2367*c);a.curveTo(0.4424*b,0.2306*c,0.4984*b,0.2357*c,0.4984*b,0.2357*c);a.stroke();a.begin();a.moveTo(0.365*b,0.7427*c);a.curveTo(0.365*b,0.7427*c,0.3772*b,0.8076*c,0.4286*b,0.8224*c);a.curveTo(0.4816*
  233. b,0.8377*c,0.5028*b,0.8347*c,0.5028*b,0.8347*c);a.stroke();a.begin();a.moveTo(0.3322*b,0.7764*c);a.curveTo(0.3322*b,0.7764*c,0.3556*b,0.8386*c,0.4038*b,0.8684*c);a.curveTo(0.4533*b,0.8991*c,0.5029*b,0.8929*c,0.5029*b,0.8929*c);a.stroke();a.begin();a.moveTo(0.2717*b,0.9*c);a.lineTo(0.2717*b,c);a.stroke();a.begin();a.moveTo(0.1671*b,0.8991*c);a.curveTo(0.1671*b,0.8991*c,0.1726*b,0.9114*c,0.1836*b,0.9481*c);a.curveTo(0.1946*b,0.9849*c,0.2*b,c,0.2*b,c);a.stroke();a.begin();a.moveTo(0.5*b,0.6721*c);a.curveTo(0.6109*
  234. b,0.6721*c,0.69*b,0.5648*c,0.69*b,0.3962*c);a.curveTo(0.69*b,0.3656*c,0.6988*b,0.3473*c,0.6949*b,0.3227*c);a.curveTo(0.6847*b,0.2762*c,0.6876*b,0.2212*c,0.668*b,0.1939*c);a.curveTo(0.646*b,0.1633*c,0.5618*b,0.12*c,0.5*b,0.12*c);a.stroke();a.begin();a.moveTo(0.6954*b,0.3716*c);a.curveTo(0.6954*b,0.3716*c,0.6954*b,0.341*c,0.7174*b,0.3594*c);a.curveTo(0.7394*b,0.3778*c,0.7339*b,0.4452*c,0.734*b,0.4452*c);a.quadTo(0.7285*b,0.4942*c,0.723*b,0.5065*c);a.curveTo(0.7175*b,0.5187*c,0.723*b,0.5187*c,0.7065*
  235. b,0.5371*c);a.curveTo(0.69*b,0.5554*c,0.6625*b,0.5615*c,0.6625*b,0.5616*c);a.stroke();a.begin();a.moveTo(0.6171*b,0.6213*c);a.curveTo(0.6171*b,0.6213*c,0.595*b,0.7704*c,0.7079*b,0.7888*c);a.curveTo(0.7464*b,0.795*c,0.8672*b,0.85*c,0.8948*b,0.8745*c);a.curveTo(0.9224*b,0.899*c,0.9359*b,0.9316*c,0.9429*b,0.9622*c);a.quadTo(0.95*b,c,0.95*b,c);a.stroke();a.begin();a.moveTo(0.6573*b,0.4185*c);a.curveTo(0.6573*b,0.4185*c,0.6573*b,0.3839*c,0.6573*b,0.3593*c);a.curveTo(0.6573*b,0.3348*c,0.6337*b,0.3103*c,
  236. 0.6282*b,0.3041*c);a.curveTo(0.6227*b,0.298*c,0.6178*b,0.2673*c,0.6123*b,0.2551*c);a.curveTo(0.6068*b,0.2429*c,0.5905*b,0.2429*c,0.5741*b,0.2367*c);a.curveTo(0.5576*b,0.2306*c,0.5016*b,0.2357*c,0.5016*b,0.2357*c);a.stroke();a.begin();a.moveTo(0.635*b,0.7427*c);a.curveTo(0.635*b,0.7427*c,0.6228*b,0.8076*c,0.5714*b,0.8224*c);a.curveTo(0.5184*b,0.8377*c,0.4972*b,0.8347*c,0.4972*b,0.8347*c);a.stroke();a.begin();a.moveTo(0.6678*b,0.7764*c);a.curveTo(0.6678*b,0.7764*c,0.6444*b,0.8386*c,0.5962*b,0.8684*
  237. c);a.curveTo(0.5467*b,0.8991*c,0.4971*b,0.8929*c,0.4971*b,0.8929*c);a.stroke();a.begin();a.moveTo(0.7283*b,0.9*c);a.lineTo(0.7283*b,c);a.stroke();a.begin();a.moveTo(0.8329*b,0.8991*c);a.curveTo(0.8329*b,0.8991*c,0.8274*b,0.9114*c,0.8164*b,0.9481*c);a.curveTo(0.8054*b,0.9849*c,0.8*b,c,0.8*b,c);a.stroke();a.setStrokeColor(g);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.stroke()};
  238. mxCellRenderer.prototype.defaultShapes[mxShapeMockupUserMale.prototype.cst.SHAPE_MALE_USER]=mxShapeMockupUserMale;function mxShapeMockupUserFemale(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupUserFemale,mxShape);mxShapeMockupUserFemale.prototype.cst={STROKE_COLOR2:"strokeColor2",SHAPE_FEMALE_USER:"mxgraph.mockup.containers.userFemale"};
  239. mxShapeMockupUserFemale.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupUserFemale.prototype.cst.STROKE_COLOR2,"#008cff");a.translate(d,e);this.background(a,d,e,b,c,f,g);a.setShadow(!1);this.otherShapes(a,d,e,b,c,h,g)};
  240. mxShapeMockupUserFemale.prototype.background=function(a,d,e,b,c,f,g){a.setFillColor(f);a.setStrokeColor(g);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};
  241. mxShapeMockupUserFemale.prototype.otherShapes=function(a,d,e,b,c,f,g){a.setStrokeColor(f);a.setLineCap("round");a.setLineJoin("round");a.begin();a.moveTo(0.3148*b,0.468*c);a.curveTo(0.3045*b,0.3195*c,0.3176*b,0.2383*c,0.3302*b,0.2069*c);a.curveTo(0.3508*b,0.1557*c,0.44*b,0.1156*c,0.5026*b,0.1156*c);a.stroke();a.begin();a.moveTo(0.5029*b,0.6728*c);a.curveTo(0.4616*b,0.6728*c,0.4018*b,0.6177*c,0.3663*b,0.5653*c);a.stroke();a.begin();a.moveTo(0.3108*b,0.4021*c);a.curveTo(0.3108*b,0.4021*c,0.3091*b,0.3765*
  242. c,0.2891*b,0.3933*c);a.curveTo(0.2691*b,0.4101*c,0.2782*b,0.4661*c,0.2782*b,0.4661*c);a.quadTo(0.2862*b,0.5067*c,0.2922*b,0.5166*c);a.curveTo(0.2982*b,0.5265*c,0.2929*b,0.5268*c,0.3097*b,0.5412*c);a.stroke();a.begin();a.moveTo(0.4038*b,0.6176*c);a.curveTo(0.4038*b,0.6176*c,0.4324*b,0.7778*c,0.3375*b,0.7963*c);a.curveTo(0.3054*b,0.8026*c,0.1753*b,0.8578*c,0.15*b,0.8826*c);a.curveTo(0.1247*b,0.9074*c,0.1126*b,0.9412*c,0.1063*b,0.9722*c);a.curveTo(0.1*b,1.0032*c,0.1*b,c,0.1*b,c);a.stroke();a.begin();
  243. a.moveTo(0.6377*b,0.3365*c);a.curveTo(0.5927*b,0.2634*c,0.5206*b,0.2634*c,0.5206*b,0.2634*c);a.quadTo(0.3769*b,0.2591*c,0.3713*b,0.2659*c);a.curveTo(0.3657*b,0.2727*c,0.3405*b,0.3674*c,0.3405*b,0.3946*c);a.curveTo(0.3405*b,0.4218*c,0.3405*b,0.4602*c,0.3405*b,0.4602*c);a.quadTo(0.3546*b,0.6401*c,0.3546*b,0.6626*c);a.stroke();a.begin();a.moveTo(0.2931*b,0.818*c);a.curveTo(0.2931*b,0.818*c,0.3224*b,0.9159*c,0.3826*b,0.9677*c);a.curveTo(0.4446*b,1.01*c,0.5065*b,c,0.5065*b,c);a.stroke();a.begin();a.moveTo(0.2995*
  244. b,0.9106*c);a.lineTo(0.2995*b,c);a.stroke();a.begin();a.moveTo(0.2081*b,0.907*c);a.curveTo(0.2081*b,0.907*c,0.2131*b,0.9194*c,0.2232*b,0.9565*c);a.curveTo(0.2333*b,0.9936*c,0.24*b,c,0.24*b,c);a.stroke();a.begin();a.moveTo(0.6951*b,0.4988*c);a.curveTo(0.6951*b,0.4662*c,0.7042*b,0.3453*c,0.7*b,0.32*c);a.curveTo(0.6923*b,0.273*c,0.6926*b,0.2175*c,0.6727*b,0.19*c);a.curveTo(0.6504*b,0.159*c,0.5651*b,0.1157*c,0.5025*b,0.1157*c);a.stroke();a.begin();a.moveTo(0.5029*b,0.6728*c);a.curveTo(0.5546*b,0.6728*
  245. c,0.6107*b,0.6316*c,0.6461*b,0.5602*c);a.stroke();a.begin();a.moveTo(0.696*b,0.4022*c);a.curveTo(0.696*b,0.4022*c,0.6983*b,0.3766*c,0.7179*b,0.4106*c);a.curveTo(0.7375*b,0.4278*c,0.7273*b,0.4836*c,0.7273*b,0.4836*c);a.quadTo(0.7184*b,0.5241*c,0.7123*b,0.5338*c);a.curveTo(0.7062*b,0.5436*c,0.7114*b,0.544*c,0.6943*b,0.558*c);a.stroke();a.begin();a.moveTo(0.5995*b,0.6278*c);a.curveTo(0.5995*b,0.6278*c,0.5724*b,0.7777*c,0.6663*b,0.7963*c);a.curveTo(0.6984*b,0.8026*c,0.8386*b,0.8578*c,0.8638*b,0.8826*
  246. c);a.curveTo(0.8891*b,0.9074*c,0.9016*b,0.9412*c,0.9079*b,0.9722*c);a.curveTo(0.9142*b,1.0032*c,0.91*b,c,0.91*b,c);a.stroke();a.begin();a.moveTo(0.6545*b,0.6802*c);a.lineTo(0.6545*b,0.3986*c);a.stroke();a.begin();a.moveTo(0.7132*b,0.8078*c);a.curveTo(0.7132*b,0.8078*c,0.6839*b,0.916*c,0.6237*b,0.9678*c);a.curveTo(0.5617*b,1.01*c,0.4998*b,c,0.4998*b,c);a.stroke();a.begin();a.moveTo(0.7111*b,0.9106*c);a.lineTo(0.7111*b,c);a.stroke();a.begin();a.moveTo(0.8075*b,0.907*c);a.curveTo(0.8075*b,0.907*c,0.8025*
  247. b,0.9194*c,0.7924*b,0.9565*c);a.curveTo(0.7823*b,0.9936*c,0.775*b,c,0.775*b,c);a.stroke();a.begin();a.moveTo(0.3148*b,0.5448*c);a.curveTo(0.3148*b,0.5448*c,0.32*b,0.6216*c,0.3148*b,0.6677*c);a.quadTo(0.2891*b,0.7343*c,0.2891*b,0.7343*c);a.lineTo(0.3303*b,0.7625*c);a.lineTo(0.39*b,0.7625*c);a.stroke();a.begin();a.moveTo(0.6852*b,0.5448*c);a.curveTo(0.6852*b,0.5448*c,0.68*b,0.6216*c,0.6852*b,0.6677*c);a.quadTo(0.7109*b,0.7343*c,0.7109*b,0.7343*c);a.lineTo(0.6697*b,0.7625*c);a.lineTo(0.62*b,0.7625*c);
  248. a.stroke();a.setStrokeColor(g);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupUserFemale.prototype.cst.SHAPE_FEMALE_USER]=mxShapeMockupUserFemale;function mxShapeMockupGroup(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupGroup,mxShape);
  249. mxShapeMockupGroup.prototype.cst={MAIN_TEXT:"mainText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",FILL_COLOR2:"fillColor2",SHAPE_GROUP:"mxgraph.mockup.containers.group"};
  250. mxShapeMockupGroup.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupGroup.prototype.cst.MAIN_TEXT,"Group").toString(),g=mxUtils.getValue(this.style,mxShapeMockupGroup.prototype.cst.TEXT_SIZE,"17"),h=mxUtils.getSizeForString(f,g,mxConstants.DEFAULT_FONTFAMILY).width;0===h&&(h=Math.max(80,h));a.translate(d,e);b=Math.max(b,h+15);c=Math.max(c,g+10);this.background(a,b,c,h,g);a.setShadow(!1);this.foreground(a,b,c,h,g);this.buttonText(a,b,c,f,g)};
  251. mxShapeMockupGroup.prototype.background=function(a,d,e,b,c){a.roundrect(0,0.5*c,d,e-0.5*c,5,5);a.fillAndStroke()};mxShapeMockupGroup.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupGroup.prototype.cst.FILL_COLOR2,"#000000");a.setFillColor(d);a.roundrect(3,0,b+6,1.5*c,0.25*c,0.25*c);a.fill()};
  252. mxShapeMockupGroup.prototype.buttonText=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupGroup.prototype.cst.TEXT_COLOR,"#ffffff");a.setFontColor(d);a.setFontSize(c);a.text(6,0,0,0,b,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupGroup.prototype.cst.SHAPE_GROUP]=mxShapeMockupGroup;function mxShapeMockupWindow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  253. mxUtils.extend(mxShapeMockupWindow,mxShape);mxShapeMockupWindow.prototype.cst={MAIN_TEXT:"mainText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",SHAPE_WINDOW:"mxgraph.mockup.containers.window"};
  254. mxShapeMockupWindow.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupWindow.prototype.cst.STROKE_COLOR2,"#008cff"),k=mxUtils.getValue(this.style,mxShapeMockupWindow.prototype.cst.STROKE_COLOR3,"#c4c4c4");a.translate(d,e);c=Math.max(c,30);b=Math.max(b,90);this.background(a,d,e,b,c,f,g);a.setShadow(!1);this.otherShapes(a,
  255. d,e,b,c,g,k,h)};mxShapeMockupWindow.prototype.background=function(a,d,e,b,c,f,g){a.setFillColor(f);a.setStrokeColor(g);a.rect(0,0,b,c);a.fillAndStroke()};
  256. mxShapeMockupWindow.prototype.otherShapes=function(a,d,e,b,c,f,g,h){mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");a.setStrokeColor(f);a.ellipse(b-75,5,20,20);a.stroke();a.ellipse(b-50,5,20,20);a.stroke();a.setStrokeColor(h);a.ellipse(b-25,5,20,20);a.stroke();a.setStrokeColor(g);a.begin();a.moveTo(0,30);a.lineTo(b,30);a.stroke();d=mxUtils.getValue(this.style,mxShapeMockupWindow.prototype.cst.MAIN_TEXT,"Window Title");e=mxUtils.getValue(this.style,mxShapeMockupWindow.prototype.cst.TEXT_COLOR,
  257. "#666666");b=mxUtils.getValue(this.style,mxShapeMockupWindow.prototype.cst.TEXT_SIZE,"17").toString();a.setFontColor(e);a.setFontSize(b);a.text(10,15,0,0,d,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupWindow.prototype.cst.SHAPE_WINDOW]=mxShapeMockupWindow;function mxShapeMockupHorTabBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  258. mxUtils.extend(mxShapeMockupHorTabBar,mxShape);mxShapeMockupHorTabBar.prototype.cst={BLOCK:"block",CONE:"cone",HALF_CONE:"halfCone",ROUND:"round",TEXT_SIZE:"textSize",TAB_NAMES:"tabs",TAB_STYLE:"tabStyle",STYLE_FILLCOLOR2:"fillColor2",TEXT_COLOR:"textColor",SEL_TEXT_COLOR:"textColor2",SHAPE_HOR_TAB_BAR:"mxgraph.mockup.containers.horTabBar"};
  259. mxShapeMockupHorTabBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TEXT_SIZE,"17").toString(),g=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TAB_NAMES,"Tab 1,+Tab 2,Tab 3").toString().split(","),h=1.5*f,k=g.length,l=20+5*(k-1)+20*k,n=[],m=-1,p=0;p<k;p++){var q=g[p];"+"===q.charAt(0)&&(q=q.substring(1),m=p);currW=mxUtils.getSizeForString(q,f,mxConstants.DEFAULT_FONTFAMILY).width;n[p]=0===currW?40:currW;
  260. l+=n[p]}b=Math.max(b,l);c=Math.max(c,h+5);a.translate(d,e);this.background(a,b,c,5,h);a.setShadow(!1);this.backTabs(a,b,c,5,h,10,5,10,k,n,m);this.focusTab(a,b,c,5,h,10,5,10,k,n,m);this.tabText(a,b,c,5,h,10,5,10,k,n,m,g)};mxShapeMockupHorTabBar.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,c+b);a.arcTo(b,b,0,0,1,b,c);a.lineTo(d-b,c);a.arcTo(b,b,0,0,1,d,c+b);a.lineTo(d,e);a.lineTo(0,e);a.close();a.fillAndStroke()};
  261. mxShapeMockupHorTabBar.prototype.backTabs=function(a,d,e,b,c,f,g,h,k,l,n){d=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TAB_STYLE,mxShapeMockupHorTabBar.prototype.cst.BLOCK);for(e=0;e<k;e++){var m=l[e]+2*h;n!==e&&(d===mxShapeMockupHorTabBar.prototype.cst.BLOCK?a.rect(f,0,m,c):d===mxShapeMockupHorTabBar.prototype.cst.CONE?(a.begin(),a.moveTo(f,c),a.lineTo(f+0.5*h,0),a.lineTo(f+m-0.5*h,0),a.lineTo(f+m,c)):d===mxShapeMockupHorTabBar.prototype.cst.HALF_CONE?(a.begin(),a.moveTo(f,
  262. c),a.lineTo(f+0.5*h,0),a.lineTo(f+m,0),a.lineTo(f+m,c)):d===mxShapeMockupHorTabBar.prototype.cst.ROUND&&(a.begin(),a.moveTo(f-b,c),a.arcTo(b,b,0,0,0,f,c-b),a.lineTo(f,b),a.arcTo(b,b,0,0,1,f+b,0),a.lineTo(f+m-b,0),a.arcTo(b,b,0,0,1,f+m,b),a.lineTo(f+m,c-b),a.arcTo(b,b,0,0,0,f+m+b,c)),a.fillAndStroke());f=f+m+g}};
  263. mxShapeMockupHorTabBar.prototype.focusTab=function(a,d,e,b,c,f,g,h,k,l,n){e=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TAB_STYLE,mxShapeMockupHorTabBar.prototype.cst.BLOCK);k=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.STYLE_FILLCOLOR2,"#008cff");a.setStrokeColor(k);a.setFillColor(k);for(k=0;k<=n;k++){var m=l[k]+2*h;n===k&&(e===mxShapeMockupHorTabBar.prototype.cst.BLOCK?(a.begin(),a.moveTo(0,c+b),a.arcTo(b,b,0,0,1,b,c),a.lineTo(f,c),a.lineTo(f,0),a.lineTo(f+
  264. m,0),a.lineTo(f+m,c),a.lineTo(d-b,c),a.arcTo(b,b,0,0,1,d,c+b),a.close()):e===mxShapeMockupHorTabBar.prototype.cst.CONE?(a.begin(),a.moveTo(0,c+b),a.arcTo(b,b,0,0,1,b,c),a.lineTo(f,c),a.lineTo(f+0.5*h,0),a.lineTo(f+m-0.5*h,0),a.lineTo(f+m,c),a.lineTo(d-b,c),a.arcTo(b,b,0,0,1,d,c+b),a.close()):e===mxShapeMockupHorTabBar.prototype.cst.HALF_CONE?(a.begin(),a.moveTo(0,c+b),a.arcTo(b,b,0,0,1,b,c),a.lineTo(f,c),a.lineTo(f+0.5*h,0),a.lineTo(f+m,0),a.lineTo(f+m,c),a.lineTo(d-b,c),a.arcTo(b,b,0,0,1,d,c+b),
  265. a.close()):e===mxShapeMockupHorTabBar.prototype.cst.ROUND&&(a.begin(),a.moveTo(0,c+b),a.arcTo(b,b,0,0,1,b,c),a.lineTo(f-b,c),a.arcTo(b,b,0,0,0,f,c-b),a.lineTo(f,b),a.arcTo(b,b,0,0,1,f+b,0),a.lineTo(f+m-b,0),a.arcTo(b,b,0,0,1,f+m,b),a.lineTo(f+m,c-b),a.arcTo(b,b,0,0,0,f+m+b,c),a.lineTo(d-b,c),a.arcTo(b,b,0,0,1,d,c+b),a.close()),a.fillAndStroke());f=f+m+g}};
  266. mxShapeMockupHorTabBar.prototype.tabText=function(a,d,e,b,c,f,g,h,k,l,n,m){d=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TEXT_COLOR,"#666666");e=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.SEL_TEXT_COLOR,"#ffffff");b=mxUtils.getValue(this.style,mxShapeMockupHorTabBar.prototype.cst.TEXT_SIZE,"17").toString();a.setFontColor(d);a.setFontSize(b);for(b=0;b<k;b++){var p=m[b];b===n&&a.setFontColor(e);"+"===p.charAt(0)&&(p=p.substring(1));var q=l[b]+2*h;a.text(f+
  267. h,0.5*c,0,0,p,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);f=f+q+g;b===n&&a.setFontColor(d)}};mxCellRenderer.prototype.defaultShapes[mxShapeMockupHorTabBar.prototype.cst.SHAPE_HOR_TAB_BAR]=mxShapeMockupHorTabBar;function mxShapeMockupVerTabBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupVerTabBar,mxShape);
  268. mxShapeMockupVerTabBar.prototype.cst={BLOCK:"block",ROUND:"round",TEXT_SIZE:"textSize",TAB_NAMES:"tabs",TAB_STYLE:"tabStyle",STYLE_FILLCOLOR2:"fillColor2",TEXT_COLOR:"textColor",SEL_TEXT_COLOR:"textColor2",SHAPE_VER_TAB_BAR:"mxgraph.mockup.containers.verTabBar"};
  269. mxShapeMockupVerTabBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.TEXT_SIZE,"17").toString(),g=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.TAB_NAMES,"Tab 1,+Tab 2,Tab 3").toString().split(","),h=1.5*f,k=g.length,l=[],n=-1,m=0;m<k;m++){var p=g[m];"+"===p.charAt(0)&&(p=p.substring(1),n=m);p=mxUtils.getSizeForString(p,f,mxConstants.DEFAULT_FONTFAMILY).width;l[m]=0===p?42:p}f=20+Math.max.apply(Math,l);
  270. b=Math.max(b,f+5);c=Math.max(c,20+k*h+5*(k-1));a.translate(d,e);this.background(a,b,c,5,f);a.setShadow(!1);this.backTabs(a,b,c,5,h,f,10,5,10,k,l,n);this.focusTab(a,b,c,5,h,f,10,5,10,k,l,n);this.tabText(a,b,c,5,h,f,10,5,10,k,l,n,g)};mxShapeMockupVerTabBar.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(c+b,e);a.arcTo(b,b,0,0,1,c,e-b);a.lineTo(c,b);a.arcTo(b,b,0,0,1,c+b,0);a.lineTo(d,0);a.lineTo(d,e);a.close();a.fillAndStroke()};
  271. mxShapeMockupVerTabBar.prototype.backTabs=function(a,d,e,b,c,f,g,h,k,l,n,m){d=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.TAB_STYLE,mxShapeMockupVerTabBar.prototype.cst.BLOCK);for(e=0;e<l;e++)m!==e&&(d===mxShapeMockupVerTabBar.prototype.cst.BLOCK?a.rect(0,g,f,c):d===mxShapeMockupVerTabBar.prototype.cst.ROUND&&(a.begin(),a.moveTo(f,g+c+b),a.arcTo(b,b,0,0,0,f-b,g+c),a.lineTo(b,g+c),a.arcTo(b,b,0,0,1,0,g+c-b),a.lineTo(0,g+b),a.arcTo(b,b,0,0,1,b,g),a.lineTo(f-b,g),a.arcTo(b,b,0,0,
  272. 0,f,g-b)),a.fillAndStroke()),g=g+c+h};
  273. mxShapeMockupVerTabBar.prototype.focusTab=function(a,d,e,b,c,f,g,h,k,l,n,m){d=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.TAB_STYLE,mxShapeMockupVerTabBar.prototype.cst.BLOCK);k=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.STYLE_FILLCOLOR2,"#008cff");-1!==m&&(g+=(c+h)*m,a.setStrokeColor(k),a.setFillColor(k),d===mxShapeMockupVerTabBar.prototype.cst.BLOCK?(a.begin(),a.moveTo(f+b,e),a.arcTo(b,b,0,0,1,f,e-b),a.lineTo(f,g+c),a.lineTo(0,g+c),a.lineTo(0,g),a.lineTo(f,
  274. g),a.lineTo(f,b),a.arcTo(b,b,0,0,1,f+b,0),a.close()):d===mxShapeMockupVerTabBar.prototype.cst.ROUND&&(a.begin(),a.moveTo(f+b,e),a.arcTo(b,b,0,0,1,f,e-b),a.lineTo(f,g+c+b),a.arcTo(b,b,0,0,0,f-b,g+c),a.lineTo(b,g+c),a.arcTo(b,b,0,0,1,0,g+c-b),a.lineTo(0,g+b),a.arcTo(b,b,0,0,1,b,g),a.lineTo(f-b,g),a.arcTo(b,b,0,0,0,f,g-b),a.lineTo(f,b),a.arcTo(b,b,0,0,1,f+b,0),a.close()),a.fillAndStroke())};
  275. mxShapeMockupVerTabBar.prototype.tabText=function(a,d,e,b,c,f,g,h,k,l,n,m,p){d=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.TEXT_COLOR,"#666666");e=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.SEL_TEXT_COLOR,"#ffffff");b=mxUtils.getValue(this.style,mxShapeMockupVerTabBar.prototype.cst.TEXT_SIZE,"17").toString();a.setFontColor(d);a.setFontSize(b);for(b=0;b<l;b++)k=p[b],b===m&&a.setFontColor(e),"+"===k.charAt(0)&&(k=k.substring(1)),a.text(0.5*f,g+0.5*c,0,0,k,
  276. mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),g=g+c+h,b===m&&a.setFontColor(d)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupVerTabBar.prototype.cst.SHAPE_VER_TAB_BAR]=mxShapeMockupVerTabBar;function mxShapeMockupAlertBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupAlertBox,mxShape);
  277. mxShapeMockupAlertBox.prototype.cst={MAIN_TEXT:"mainText",SUB_TEXT:"subText",BUTTON_TEXT:"buttonText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",SHAPE_ALERT_BOX:"mxgraph.mockup.containers.alertBox"};
  278. mxShapeMockupAlertBox.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupAlertBox.prototype.cst.STROKE_COLOR2,"#008cff"),k=mxUtils.getValue(this.style,mxShapeMockupAlertBox.prototype.cst.STROKE_COLOR3,"#c4c4c4");a.translate(d,e);c=Math.max(c,75);b=Math.max(b,90);this.background(a,d,e,b,c,f,g);a.setShadow(!1);this.foreground(a,
  279. d,e,b,c,g,k,h)};mxShapeMockupAlertBox.prototype.background=function(a,d,e,b,c,f,g){a.setFillColor(f);a.setStrokeColor(g);a.rect(0,0,b,c);a.fillAndStroke()};
  280. mxShapeMockupAlertBox.prototype.foreground=function(a,d,e,b,c,f,g,h){mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");a.setStrokeColor(h);a.ellipse(b-25,5,20,20);a.stroke();a.setStrokeColor(g);a.begin();a.moveTo(0,30);a.lineTo(b,30);a.stroke();h=mxUtils.getValue(this.style,mxShapeMockupAlertBox.prototype.cst.MAIN_TEXT,"Window Title").toString();d=mxUtils.getValue(this.style,mxShapeMockupAlertBox.prototype.cst.SUB_TEXT,"Sub Text").toString().split(",");e=mxUtils.getValue(this.style,mxShapeMockupAlertBox.prototype.cst.BUTTON_TEXT,
  281. "OK,Cancel").toString().split(",");var k=mxUtils.getValue(this.style,mxShapeMockupAlertBox.prototype.cst.TEXT_COLOR,"#666666");f=mxUtils.getValue(this.style,mxShapeMockupAlertBox.prototype.cst.TEXT_SIZE,"17").toString();g=e.length;g=(b-10*(g+1))/g;a.setFontColor(k);a.setFontSize(f);a.text(10,15,0,0,h,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);h=10;for(k=0;k<e.length;k++)""!==e[k]&&(a.rect(h,c-10-1.5*f,g,1.5*f),a.stroke(),a.text(h+0.5*g,c-10-0.75*f,0,0,e[k],mxConstants.ALIGN_CENTER,
  282. mxConstants.ALIGN_MIDDLE,0,null,0,0,0)),h=h+g+10;for(k=0;k<d.length;k++)a.text(0.5*b,30+f*(1.5*k+0.75),0,0,d[k],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupAlertBox.prototype.cst.SHAPE_ALERT_BOX]=mxShapeMockupAlertBox;function mxShapeMockupContainersRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupContainersRRect,mxShape);
  283. mxShapeMockupContainersRRect.prototype.cst={RRECT:"mxgraph.mockup.containers.rrect",R_SIZE:"rSize"};mxShapeMockupContainersRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupContainersRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupContainersRRect.prototype.cst.RRECT,mxShapeMockupContainersRRect);
  284. function mxShapeMockupContainersAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeMockupContainersAnchor,mxShape);mxShapeMockupContainersAnchor.prototype.cst={ANCHOR:"mxgraph.mockup.containers.anchor"};mxShapeMockupContainersAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeMockupContainersAnchor.prototype.cst.ANCHOR,mxShapeMockupContainersAnchor);
  285. function mxShapeMockupContrainersTopButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupContrainersTopButton,mxShape);mxShapeMockupContrainersTopButton.prototype.cst={TOP_BUTTON:"mxgraph.mockup.containers.topButton",R_SIZE:"rSize"};
  286. mxShapeMockupContrainersTopButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupContrainersTopButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupContrainersTopButton.prototype.cst.TOP_BUTTON,mxShapeMockupContrainersTopButton);
  287. function mxShapeMockupContainersLeftButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupContainersLeftButton,mxShape);mxShapeMockupContainersLeftButton.prototype.cst={LEFT_BUTTON:"mxgraph.mockup.containers.leftButton",R_SIZE:"rSize"};
  288. mxShapeMockupContainersLeftButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupContainersLeftButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(b,0);a.lineTo(b,c);a.lineTo(d,c);a.arcTo(d,d,0,0,1,0,c-d);a.lineTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupContainersLeftButton.prototype.cst.LEFT_BUTTON,mxShapeMockupContainersLeftButton);
  289. function mxShapeMockupContainersMarginRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupContainersMarginRect,mxShape);mxShapeMockupContainersMarginRect.prototype.cst={SHAPE_MARGIN_RECT:"mxgraph.mockup.containers.marginRect",MARGIN:"rectMargin",MARGIN_TOP:"rectMarginTop",MARGIN_LEFT:"rectMarginLeft",MARGIN_BOTTOM:"rectMarginBottom",MARGIN_RIGHT:"rectMarginRight"};
  290. mxShapeMockupContainersMarginRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  291. mxShapeMockupContainersMarginRect.prototype.background=function(a,d,e,b,c,f){d=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect.prototype.cst.MARGIN,"0"));var g=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect.prototype.cst.MARGIN_TOP,"0"));f=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect.prototype.cst.MARGIN_LEFT,"0"));e=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect.prototype.cst.MARGIN_BOTTOM,"0"));
  292. var h=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect.prototype.cst.MARGIN_RIGHT,"0"));f=d+f;g=d+g;b=b-h-f-d;c=c-e-g-d;0<b&&0<c&&(a.begin(),a.roundrect(f,g,b,c,10,10),a.fillAndStroke())};mxCellRenderer.prototype.defaultShapes[mxShapeMockupContainersMarginRect.prototype.cst.SHAPE_MARGIN_RECT]=mxShapeMockupContainersMarginRect;function mxShapeMockupContainersMarginRect2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  293. mxUtils.extend(mxShapeMockupContainersMarginRect2,mxShape);mxShapeMockupContainersMarginRect2.prototype.cst={SHAPE_MARGIN_RECT:"mxgraph.mockup.containers.marginRect2",MARGIN:"rectMargin",MARGIN_TOP:"rectMarginTop",MARGIN_LEFT:"rectMarginLeft",MARGIN_BOTTOM:"rectMarginBottom",MARGIN_RIGHT:"rectMarginRight"};mxShapeMockupContainersMarginRect2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  294. mxShapeMockupContainersMarginRect2.prototype.background=function(a,d,e,b,c,f){d=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect2.prototype.cst.MARGIN,"0"));var g=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect2.prototype.cst.MARGIN_TOP,"0"));f=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect2.prototype.cst.MARGIN_LEFT,"0"));e=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect2.prototype.cst.MARGIN_BOTTOM,
  295. "0"));var h=parseFloat(mxUtils.getValue(this.style,mxShapeMockupContainersMarginRect2.prototype.cst.MARGIN_RIGHT,"0"));f=d+f;g=d+g;b=b-h-f-d;c=c-e-g-d;0<b&&0<c&&(a.begin(),a.rect(f,g,b,c),a.fillAndStroke())};mxCellRenderer.prototype.defaultShapes[mxShapeMockupContainersMarginRect2.prototype.cst.SHAPE_MARGIN_RECT]=mxShapeMockupContainersMarginRect2;function mxShapeMockupCheckboxGroup(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  296. mxUtils.extend(mxShapeMockupCheckboxGroup,mxShape);mxShapeMockupCheckboxGroup.prototype.cst={MAIN_TEXT:"mainText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",SELECTED:"+",SHAPE_CHECKBOX_GROUP:"mxgraph.mockup.forms.checkboxGroup"};
  297. mxShapeMockupCheckboxGroup.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxShapeMockupCheckboxGroup.prototype.cst.TEXT_COLOR,"#666666,#008cff").toString().split(",");var f=mxUtils.getValue(this.style,mxShapeMockupCheckboxGroup.prototype.cst.TEXT_SIZE,"17").toString();e=mxUtils.getValue(this.style,mxShapeMockupCheckboxGroup.prototype.cst.MAIN_TEXT,"Option 1").toString().split(",");var g=e.length,h=Math.max(1.5*f,15),k=0,l=-1,n=g*h;c=Math.max(c,n);for(var m=
  298. 0;m<g;m++){var p=e[m];p.charAt(0)===mxShapeMockupCheckboxGroup.prototype.cst.SELECTED&&(p=e[m].substring(1),l=m);p=mxUtils.getSizeForString(p,f,mxConstants.DEFAULT_FONTFAMILY).width;p>k&&(k=p)}b=Math.max(b,5+k+30);a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.setFontSize(f);for(m=0;m<g;m++)b=(m*h+0.5*h)*c/n,p=e[m],p.charAt(0)===mxShapeMockupCheckboxGroup.prototype.cst.SELECTED?(a.setFontColor(d[1]),p=e[m].substring(1),l=m):a.setFontColor(d[0]),a.text(32.5,b,0,0,p,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,
  299. 0,null,0,0,0),b-=7.5,a.setFillColor("#dddddd"),a.setStrokeColor("#999999"),l===m?(a.setGradient("#aaaaaa","#666666",7.5,b,15,15,mxConstants.DIRECTION_SOUTH,1,1),a.rect(7.5,b,15,15),a.fillAndStroke(),a.setStrokeColor("#333333"),a.begin(),a.moveTo(11.25,b+7.5),a.lineTo(15,b+11.25),a.lineTo(18.75,b+3.75),a.stroke()):(a.setGradient("#eeeeee","#cccccc",7.5,b,15,15,mxConstants.DIRECTION_SOUTH,1,1),a.rect(7.5,b,15,15),a.fillAndStroke()),l=-1};
  300. mxCellRenderer.prototype.defaultShapes[mxShapeMockupCheckboxGroup.prototype.cst.SHAPE_CHECKBOX_GROUP]=mxShapeMockupCheckboxGroup;function mxShapeMockupRadioGroup(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRadioGroup,mxShape);mxShapeMockupRadioGroup.prototype.cst={MAIN_TEXT:"mainText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",SELECTED:"+",SHAPE_RADIO_GROUP:"mxgraph.mockup.forms.radioGroup"};
  301. mxShapeMockupRadioGroup.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxShapeMockupRadioGroup.prototype.cst.TEXT_COLOR,"#666666,#008cff").toString().split(",");var f=mxUtils.getValue(this.style,mxShapeMockupRadioGroup.prototype.cst.TEXT_SIZE,"17").toString();e=mxUtils.getValue(this.style,mxShapeMockupRadioGroup.prototype.cst.MAIN_TEXT,"Option 1").toString().split(",");var g=e.length,h=Math.max(1.5*f,15),k=0,l=-1,n=g*h;c=Math.max(c,n);for(var m=0;m<g;m++){var p=
  302. e[m];p.charAt(0)===mxShapeMockupRadioGroup.prototype.cst.SELECTED&&(p=e[m].substring(1),l=m);p=mxUtils.getSizeForString(p,f,mxConstants.DEFAULT_FONTFAMILY).width;p>k&&(k=p)}b=Math.max(b,5+k+30);a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.setFontSize(f);for(m=0;m<g;m++)b=(m*h+0.5*h)*c/n,p=e[m],p.charAt(0)===mxShapeMockupRadioGroup.prototype.cst.SELECTED?(a.setFontColor(d[1]),p=e[m].substring(1),l=m):a.setFontColor(d[0]),a.text(32.5,b,0,0,p,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,
  303. null,0,0,0),b-=7.5,a.setStrokeColor("#999999"),l===m?(a.setGradient("#aaaaaa","#666666",7.5,b,15,15,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(7.5,b,15,15),a.fillAndStroke(),a.setFillColor("#333333"),a.setStrokeColor("#333333"),a.ellipse(11.25,b+3.75,7.5,7.5)):(a.setGradient("#eeeeee","#cccccc",7.5,b,15,15,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(7.5,b,15,15)),a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupRadioGroup.prototype.cst.SHAPE_RADIO_GROUP]=mxShapeMockupRadioGroup;
  304. function mxShapeMockupColorPicker(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupColorPicker,mxShape);mxShapeMockupColorPicker.prototype.cst={COLOR:"chosenColor",SHAPE_COLOR_PICKER:"mxgraph.mockup.forms.colorPicker"};
  305. mxShapeMockupColorPicker.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupColorPicker.prototype.cst.COLOR,"#aaddff");a.translate(d,e);a.setStrokeColor("#999999");a.roundrect(0,0,b,c,0.05*b,0.05*c);a.fillAndStroke();a.setShadow(!1);a.setFillColor(f);a.rect(0.1*b,0.1*c,0.8*b,0.8*c);a.fill();a.setFillColor("#ffffff");a.begin();a.moveTo(0.75*b,0.75*c);a.lineTo(0.75*b,c);a.lineTo(0.95*b,c);a.arcTo(0.05*b,0.05*c,0,0,0,b,0.95*c);a.lineTo(b,0.75*c);a.close();a.fill();
  306. a.setFillColor("#999999");a.begin();a.moveTo(0.77*b,0.77*c);a.lineTo(0.875*b,0.98*c);a.lineTo(0.98*b,0.77*c);a.close();a.fill();a.roundrect(0,0,b,c,0.05*b,0.05*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupColorPicker.prototype.cst.SHAPE_COLOR_PICKER]=mxShapeMockupColorPicker;function mxShapeMockupComboBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupComboBox,mxShape);
  307. mxShapeMockupComboBox.prototype.cst={MAIN_TEXT:"mainText",FILL_COLOR2:"fillColor2",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",SHAPE_COMBO_BOX:"mxgraph.mockup.forms.comboBox"};mxShapeMockupComboBox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c);this.mainText(a,d,e,b,c)};mxShapeMockupComboBox.prototype.background=function(a,d,e,b,c){a.setFillColor("#ffffff");a.roundrect(0,0,b,c,5,5);a.fillAndStroke()};
  308. mxShapeMockupComboBox.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxShapeMockupComboBox.prototype.cst.FILL_COLOR2,"").toString();a.setGradient(d,e,b-30,0,30,c,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(b-30,0);a.lineTo(b-5,0);a.arcTo(5,5,0,0,1,b,5);a.lineTo(b,c-5);a.arcTo(5,5,0,0,1,b-5,c);a.lineTo(b-30,c);a.close();a.fillAndStroke();a.setFillColor("#ffffff");a.begin();a.moveTo(b-22,0.5*c-5);
  309. a.lineTo(b-15,0.5*c+5);a.lineTo(b-8,0.5*c-5);a.fill()};
  310. mxShapeMockupComboBox.prototype.mainText=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupComboBox.prototype.cst.MAIN_TEXT,"Main Text");e=mxUtils.getValue(this.style,mxShapeMockupComboBox.prototype.cst.TEXT_COLOR,"#666666").toString();b=mxUtils.getValue(this.style,mxShapeMockupComboBox.prototype.cst.TEXT_SIZE,"17").toString();a.begin();a.setFontSize(b);a.setFontColor(e);a.text(5,0.5*c,0,0,d,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  311. mxCellRenderer.prototype.defaultShapes[mxShapeMockupComboBox.prototype.cst.SHAPE_COMBO_BOX]=mxShapeMockupComboBox;function mxShapeMockupSpinner(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupSpinner,mxShape);
  312. mxShapeMockupSpinner.prototype.cst={LAYOUT:"spinLayout",SPINNER_STYLE:"spinStyle",ADJ_STYLE:"adjStyle",LAYOUT_RIGHT:"right",LAYOUT_LEFT:"left",LAYOUT_TOP:"top",LAYOUT_BOTTOM:"bottom",LAYOUT_VERTICAL:"vertical",LAYOUT_HORIZONTAL:"horizontal",SPINNER_MERGED:"merged",SPINNER_NORMAL:"normal",ADJ_TRIANGLE:"triangle",ADJ_PLUSMINUS:"plusMinus",ADJ_ARROW:"arrow",MAIN_TEXT:"mainText",FILL_COLOR2:"fillColor2",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",SHAPE_SPINNER:"mxgraph.mockup.forms.spinner"};
  313. mxShapeMockupSpinner.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupSpinner.prototype.cst.LAYOUT,mxShapeMockupSpinner.prototype.cst.LAYOUT_RIGHT);a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c,f);this.mainText(a,b,c,f)};mxShapeMockupSpinner.prototype.background=function(a,d,e){a.setFillColor("#ffffff");a.roundrect(0,0,d,e,10,10);a.fillAndStroke()};
  314. mxShapeMockupSpinner.prototype.foreground=function(a,d,e,b){var c=mxUtils.getValue(this.style,mxShapeMockupSpinner.prototype.cst.SPINNER_STYLE,mxShapeMockupSpinner.prototype.cst.SPINNER_NORMAL),f=mxUtils.getValue(this.style,mxShapeMockupSpinner.prototype.cst.ADJ_STYLE,mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE),g=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");a.setFillColor(g);c===mxShapeMockupSpinner.prototype.cst.SPINNER_NORMAL&&(b===mxShapeMockupSpinner.prototype.cst.LAYOUT_RIGHT?
  315. (a.begin(),a.moveTo(d-20,0),a.lineTo(d-20,e),a.moveTo(d-20,0.5*e),a.lineTo(d,0.5*e),a.stroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_LEFT?(a.begin(),a.moveTo(20,0),a.lineTo(20,e),a.moveTo(20,0.5*e),a.lineTo(0,0.5*e),a.stroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_TOP?(a.begin(),a.moveTo(0,15),a.lineTo(d,15),a.moveTo(0.5*d,15),a.lineTo(0.5*d,0),a.stroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_BOTTOM?(a.begin(),a.moveTo(0,e-15),a.lineTo(d,e-15),a.moveTo(0.5*d,e-15),a.lineTo(0.5*
  316. d,e),a.stroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_VERTICAL?(a.begin(),a.moveTo(0,15),a.lineTo(d,15),a.moveTo(0,e-15),a.lineTo(d,e-15),a.stroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_HORIZONTAL&&(a.begin(),a.moveTo(20,0),a.lineTo(20,e),a.moveTo(d-20,0),a.lineTo(d-20,e),a.stroke()));a.setStrokeColor(g);b===mxShapeMockupSpinner.prototype.cst.LAYOUT_RIGHT?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(d-14,0.25*e+4.5),a.lineTo(d-10,0.25*e-2.5),a.lineTo(d-
  317. 6,0.25*e+4.5),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?(a.begin(),a.moveTo(d-10,0.25*e-4),a.lineTo(d-10,0.25*e+4),a.moveTo(d-14,0.25*e),a.lineTo(d-6,0.25*e),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(d-14,0.25*e+1.5),a.lineTo(d-10,0.25*e-2.5),a.lineTo(d-6,0.25*e+1.5),a.close(),a.moveTo(d-10,0.25*e+4.5),a.lineTo(d-10,0.25*e-2.5),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_LEFT?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?
  318. (a.begin(),a.moveTo(14,0.25*e+4.5),a.lineTo(10,0.25*e-2.5),a.lineTo(6,0.25*e+4.5),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?(a.begin(),a.moveTo(10,0.25*e-4),a.lineTo(10,0.25*e+4),a.moveTo(14,0.25*e),a.lineTo(6,0.25*e),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(14,0.25*e+1.5),a.lineTo(10,0.25*e-2.5),a.lineTo(6,0.25*e+1.5),a.close(),a.moveTo(10,0.25*e+4.5),a.lineTo(10,0.25*e-2.5),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_TOP?
  319. f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(0.75*d+4,12),a.lineTo(0.75*d,5),a.lineTo(0.75*d-4,12),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?(a.begin(),a.moveTo(0.75*d,3.5),a.lineTo(0.75*d,11.5),a.moveTo(0.75*d+4,7.5),a.lineTo(0.75*d-4,7.5),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(0.75*d+4,9),a.lineTo(0.75*d,5),a.lineTo(0.75*d-4,9),a.close(),a.moveTo(0.75*d,12),a.lineTo(0.75*d,5),a.fillAndStroke()):
  320. b===mxShapeMockupSpinner.prototype.cst.LAYOUT_BOTTOM?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(0.75*d+4,e-5),a.lineTo(0.75*d,e-12),a.lineTo(0.75*d-4,e-5),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?(a.begin(),a.moveTo(0.75*d,e-3.5),a.lineTo(0.75*d,e-11.5),a.moveTo(0.75*d+4,e-7.5),a.lineTo(0.75*d-4,e-7.5),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(0.75*d+4,e-6),a.lineTo(0.75*d,e-10),a.lineTo(0.75*
  321. d-4,e-6),a.close(),a.moveTo(0.75*d,e-3),a.lineTo(0.75*d,e-10),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_VERTICAL?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(0.5*d+4,12),a.lineTo(0.5*d,5),a.lineTo(0.5*d-4,12),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?(a.begin(),a.moveTo(0.5*d,3.5),a.lineTo(0.5*d,11.5),a.moveTo(0.5*d+4,7.5),a.lineTo(0.5*d-4,7.5),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),
  322. a.moveTo(0.5*d+4,9),a.lineTo(0.5*d,5),a.lineTo(0.5*d-4,9),a.close(),a.moveTo(0.5*d,12),a.lineTo(0.5*d,5),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_HORIZONTAL&&(f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(d-6,0.5*e+4.5),a.lineTo(d-10,0.5*e-2.5),a.lineTo(d-14,0.5*e+4.5),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?(a.begin(),a.moveTo(d-10,0.5*e-4),a.lineTo(d-10,0.5*e+4),a.moveTo(d-14,0.5*e),a.lineTo(d-6,0.5*e),a.stroke()):
  323. f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(d-14,0.5*e+1.5),a.lineTo(d-10,0.5*e-2.5),a.lineTo(d-6,0.5*e+1.5),a.close(),a.moveTo(d-10,0.5*e+4.5),a.lineTo(d-10,0.5*e-2.5),a.fillAndStroke()));b===mxShapeMockupSpinner.prototype.cst.LAYOUT_RIGHT?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(d-14,0.75*e-4.5),a.lineTo(d-10,0.75*e+2.5),a.lineTo(d-6,0.75*e-4.5),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?(a.begin(),a.moveTo(d-
  324. 14,0.75*e),a.lineTo(d-6,0.75*e),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(d-14,0.75*e-1.5),a.lineTo(d-10,0.75*e+2.5),a.lineTo(d-6,0.75*e-1.5),a.close(),a.moveTo(d-10,0.75*e-4.5),a.lineTo(d-10,0.75*e+2.5),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_LEFT?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(14,0.75*e-4.5),a.lineTo(10,0.75*e+2.5),a.lineTo(6,0.75*e-4.5),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?
  325. (a.begin(),a.moveTo(14,0.75*e),a.lineTo(6,0.75*e),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(14,0.75*e-1.5),a.lineTo(10,0.75*e+2.5),a.lineTo(6,0.75*e-1.5),a.close(),a.moveTo(10,0.75*e-4.5),a.lineTo(10,0.75*e+2.5),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_TOP?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(0.25*d+4,5),a.lineTo(0.25*d,12),a.lineTo(0.25*d-4,5),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?
  326. (a.begin(),a.moveTo(0.25*d+4,7.5),a.lineTo(0.25*d-4,7.5),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(0.25*d+4,6),a.lineTo(0.25*d,10),a.lineTo(0.25*d-4,6),a.close(),a.moveTo(0.25*d,3),a.lineTo(0.25*d,10),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_BOTTOM?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(0.25*d+4,e-12),a.lineTo(0.25*d,e-5),a.lineTo(0.25*d-4,e-12),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?
  327. (a.begin(),a.moveTo(0.25*d+4,e-7.5),a.lineTo(0.25*d-4,e-7.5),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(0.25*d+4,e-9),a.lineTo(0.25*d,e-5),a.lineTo(0.25*d-4,e-9),a.close(),a.moveTo(0.25*d,e-12),a.lineTo(0.25*d,e-5),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_VERTICAL?f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(0.5*d+4,e-12),a.lineTo(0.5*d,e-5),a.lineTo(0.5*d-4,e-12),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?
  328. (a.begin(),a.moveTo(0.5*d+4,e-7.5),a.lineTo(0.5*d-4,e-7.5),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(0.5*d+4,e-9),a.lineTo(0.5*d,e-5),a.lineTo(0.5*d-4,e-9),a.close(),a.moveTo(0.5*d,e-12),a.lineTo(0.5*d,e-5),a.fillAndStroke()):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_HORIZONTAL&&(f===mxShapeMockupSpinner.prototype.cst.ADJ_TRIANGLE?(a.begin(),a.moveTo(6,0.5*e-4.5),a.lineTo(10,0.5*e+2.5),a.lineTo(14,0.5*e-4.5),a.close(),a.fillAndStroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_PLUSMINUS?
  329. (a.begin(),a.moveTo(14,0.5*e),a.lineTo(6,0.5*e),a.stroke()):f===mxShapeMockupSpinner.prototype.cst.ADJ_ARROW&&(a.begin(),a.moveTo(14,0.5*e-1.5),a.lineTo(10,0.5*e+2.5),a.lineTo(6,0.5*e-1.5),a.close(),a.moveTo(10,0.5*e-4.5),a.lineTo(10,0.5*e+2.5),a.fillAndStroke()))};
  330. mxShapeMockupSpinner.prototype.mainText=function(a,d,e,b){var c=mxUtils.getValue(this.style,mxShapeMockupSpinner.prototype.cst.MAIN_TEXT,"100").toString(),f=mxUtils.getValue(this.style,mxShapeMockupSpinner.prototype.cst.TEXT_SIZE,"17"),g=mxUtils.getValue(this.style,mxShapeMockupSpinner.prototype.cst.TEXT_COLOR,"#666666");a.setFontSize(f);a.setFontColor(g);b===mxShapeMockupSpinner.prototype.cst.LAYOUT_RIGHT?a.text(0.5*(d-20),0.5*e,0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,
  331. 0):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_LEFT?a.text(0.5*(d+20),0.5*e,0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_TOP?a.text(0.5*d,0.5*(e+15),0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_BOTTOM?a.text(0.5*d,0.5*(e-15),0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_VERTICAL?a.text(0.5*
  332. d,0.5*e,0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):b===mxShapeMockupSpinner.prototype.cst.LAYOUT_HORIZONTAL&&a.text(0.5*d,0.5*e,0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupSpinner.prototype.cst.SHAPE_SPINNER]=mxShapeMockupSpinner;function mxShapeMockupMenuBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupMenuBar,mxShape);
  333. mxShapeMockupMenuBar.prototype.cst={MAIN_TEXT:"mainText",SHAPE_MENU_BAR:"mxgraph.mockup.forms.menuBar",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2",STROKE_COLOR2:"strokeColor2",FILL_COLOR2:"fillColor2",SELECTED:"+",TEXT_SIZE:"textSize"};
  334. mxShapeMockupMenuBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupMenuBar.prototype.cst.MAIN_TEXT,"+Menu 1, Menu 2, Menu 3").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupMenuBar.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupMenuBar.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(this.style,mxShapeMockupMenuBar.prototype.cst.TEXT_SIZE,"17").toString(),l=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,
  335. "#666666"),n=mxUtils.getValue(this.style,mxShapeMockupMenuBar.prototype.cst.STROKE_COLOR2,"#c4c4c4"),m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),p=mxUtils.getValue(this.style,mxShapeMockupMenuBar.prototype.cst.FILL_COLOR2,"#008cff"),q=f.length,t=Array(q),s=0,u=-1,r=0;r<q;r++){var v=f[r];v.charAt(0)===mxShapeMockupMenuBar.prototype.cst.SELECTED&&(v=f[r].substring(1),u=r);t[r]=mxUtils.getSizeForString(v,k,mxConstants.DEFAULT_FONTFAMILY).width;s+=t[r]}c=Math.max(c,1.5*k,20);
  336. s=10*q+s;b=Math.max(b,s);a.translate(d,e);this.background(a,b,c,10,q,t,5,s,l,n,m,p,u);a.setShadow(!1);for(r=d=0;r<q;r++)r===u?a.setFontColor(h):a.setFontColor(g),d+=5,this.buttonText(a,d,c,f[r],t[r],k,s,b),d=d+t[r]+5};
  337. mxShapeMockupMenuBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m,p){a.setStrokeColor(k);a.setFillColor(n);a.rect(0,0,d,e);a.fillAndStroke();a.setStrokeColor(l);a.begin();for(b=1;b<c;b++)if(b!==p&&b!==p+1){for(var q=l=0;q<b;q++)l+=f[q]+2*g;l=l*d/h;a.moveTo(l,0);a.lineTo(l,e)}a.stroke();if(-1!==p){c=0;a.setFillColor(m);for(b=0;b<p;b++)c+=f[b]+2*g;c=c*d/h;f=(f[p]+2*g)*d/h;a.rect(c,0,f+c-c,e);a.fill()}a.setStrokeColor(k);a.setFillColor(n);a.rect(0,0,d,e);a.stroke()};
  338. mxShapeMockupMenuBar.prototype.buttonText=function(a,d,e,b,c,f,g,h){b.charAt(0)===mxShapeMockupMenuBar.prototype.cst.SELECTED&&(b=b.substring(1));a.setFontSize(f);a.text((d+0.5*c)*h/g,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupMenuBar.prototype.cst.SHAPE_MENU_BAR]=mxShapeMockupMenuBar;
  339. function mxShapeMockupHorSlider(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupHorSlider,mxShape);mxShapeMockupHorSlider.prototype.cst={STYLE:"sliderStyle",SLIDER_BASIC:"basic",SLIDER_FANCY:"fancy",SLIDER_POS:"sliderPos",HANDLE_TRIANGLE:"triangle",HANDLE_CIRCLE:"circle",HANDLE_HANDLE:"handle",HANDLE_STYLE:"handleStyle",FILL_COLOR2:"fillColor2",SHAPE_HOR_SLIDER:"mxgraph.mockup.forms.horSlider"};
  340. mxShapeMockupHorSlider.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupHorSlider.prototype.cst.STYLE,mxShapeMockupHorSlider.prototype.cst.SLIDER_BASIC);a.translate(d,e);this.background(a,b,c,5,f);a.setShadow(!1);this.foreground(a,b,c,5,f);this.sliderPos=20};
  341. mxShapeMockupHorSlider.prototype.background=function(a,d,e,b,c){c===mxShapeMockupHorSlider.prototype.cst.SLIDER_BASIC?(a.begin(),a.moveTo(0,0.5*e),a.lineTo(d,0.5*e),a.stroke()):c===mxShapeMockupHorSlider.prototype.cst.SLIDER_FANCY&&(a.roundrect(0,0.5*e-b,d,2*b,b,b),a.fillAndStroke())};
  342. mxShapeMockupHorSlider.prototype.foreground=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupHorSlider.prototype.cst.SLIDER_POS,"20"),g=mxUtils.getValue(this.style,mxShapeMockupHorSlider.prototype.cst.HANDLE_STYLE,mxShapeMockupHorSlider.prototype.cst.HANDLE_CIRCLE),h=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),k=mxUtils.getValue(this.style,mxShapeMockupHorSlider.prototype.cst.FILL_COLOR2,"#ddeeff"),l=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,
  343. "#999999"),f=Math.min(100,f),f=Math.max(0,f);c===mxShapeMockupHorSlider.prototype.cst.SLIDER_BASIC?(a.setStrokeColor(k),c=d*f/100,a.begin(),a.moveTo(0,0.5*e),a.lineTo(c,0.5*e),a.stroke(),a.setStrokeColor(l)):c===mxShapeMockupHorSlider.prototype.cst.SLIDER_FANCY&&(c=10+(d-10)*f/100,a.setFillColor(k),a.roundrect(0,0.5*e-b,c,2*b,b,b),a.fillAndStroke(),a.setFillColor(h));d=5+(d-10)*f/100;g===mxShapeMockupHorSlider.prototype.cst.HANDLE_CIRCLE?(a.ellipse(d-10,0.5*e-10,20,20),a.fillAndStroke()):g===mxShapeMockupHorSlider.prototype.cst.HANDLE_TRIANGLE?
  344. (a.begin(),a.moveTo(d-10,0.5*e+10),a.lineTo(d,0.5*e-10),a.lineTo(d+10,0.5*e+10),a.close(),a.fillAndStroke()):g===mxShapeMockupHorSlider.prototype.cst.HANDLE_HANDLE&&(a.begin(),a.moveTo(d-7,0.5*e+10),a.lineTo(d-7,0.5*e),a.lineTo(d,0.5*e-10),a.lineTo(d+7,0.5*e),a.lineTo(d+7,0.5*e+10),a.close(),a.fillAndStroke())};mxCellRenderer.prototype.defaultShapes[mxShapeMockupHorSlider.prototype.cst.SHAPE_HOR_SLIDER]=mxShapeMockupHorSlider;
  345. Graph.handleFactory[mxShapeMockupHorSlider.prototype.cst.SHAPE_HOR_SLIDER]=function(a){return[Graph.createHandle(a,["sliderPos"],function(a){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"sliderPos",this.sliderPos))));return new mxPoint(a.x+(a.width-10)*e/a.width/100*a.width+5,a.y+a.height/2)},function(a,e){this.state.style.sliderPos=Math.round(1E3*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/1E3})]};
  346. function mxShapeMockupListBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupListBox,mxShape);mxShapeMockupListBox.prototype.cst={MAIN_TEXT:"mainText",SUB_TEXT:"subText",BUTTON_TEXT:"buttonText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",SELECTED_COLOR:"selectedColor",SELECTED:"+",SHAPE_LIST_BOX:"mxgraph.mockup.forms.listBox"};
  347. mxShapeMockupListBox.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupListBox.prototype.cst.TEXT_SIZE,"17").toString(),k=-1,l=b,n=mxUtils.getValue(this.style,mxShapeMockupListBox.prototype.cst.SUB_TEXT,"Sub Text").toString().split(","),m=0;m<n.length;m++){var p=n[m];p.charAt(0)===mxShapeMockupListBox.prototype.cst.SELECTED&&
  348. (p=n[m].substring(1),k=m);p=mxUtils.getSizeForString(p,h,mxConstants.DEFAULT_FONTFAMILY).width;p>l&&(l=p)}a.translate(d,e);b=Math.min(b,l);c=Math.max(c,30+1.5*n.length*h);this.background(a,b,c,f,g);a.setShadow(!1);this.foreground(a,b,c,g,k,n,h)};mxShapeMockupListBox.prototype.background=function(a,d,e,b,c){a.setFillColor(b);a.setStrokeColor(c);a.rect(0,0,d,e);a.fillAndStroke()};
  349. mxShapeMockupListBox.prototype.foreground=function(a,d,e,b,c,f,g){mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");b=mxUtils.getValue(this.style,mxShapeMockupListBox.prototype.cst.SELECTED_COLOR,"#ddeeff");-1!==c&&(a.setFillColor(b),a.rect(0,30+1.5*c*g,d,1.5*g),a.fill());a.begin();a.moveTo(0,30);a.lineTo(d,30);a.stroke();c=mxUtils.getValue(this.style,mxShapeMockupListBox.prototype.cst.MAIN_TEXT,"Window Title").toString();b=mxUtils.getValue(this.style,mxShapeMockupListBox.prototype.cst.TEXT_COLOR,
  350. "#666666,#008cff").toString().split(",");a.setFontColor(b[1]);a.setFontSize(g);a.text(10,15,0,0,c,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontColor(b[0]);for(c=0;c<f.length;c++)b=f[c],b.charAt(0)===mxShapeMockupListBox.prototype.cst.SELECTED&&(b=f[c].substring(1)),a.text(10,30+g*(1.5*c+0.75),0,0,b,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.rect(0,0,d,e);a.stroke()};
  351. mxCellRenderer.prototype.defaultShapes[mxShapeMockupListBox.prototype.cst.SHAPE_LIST_BOX]=mxShapeMockupListBox;function mxShapeMockupPwField(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupPwField,mxShape);mxShapeMockupPwField.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",SHAPE_PW_FIELD:"mxgraph.mockup.forms.pwField"};
  352. mxShapeMockupPwField.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupPwField.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  353. mxShapeMockupPwField.prototype.foreground=function(a,d,e){d=mxUtils.getValue(this.style,mxShapeMockupPwField.prototype.cst.MAIN_TEXT,"******");var b=mxUtils.getValue(this.style,mxShapeMockupPwField.prototype.cst.TEXT_COLOR,"#666666"),c=mxUtils.getValue(this.style,mxShapeMockupPwField.prototype.cst.TEXT_SIZE,"17");a.setFontColor(b);a.setFontSize(c);a.text(5,0.5*e,0,0,d,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  354. mxCellRenderer.prototype.defaultShapes[mxShapeMockupPwField.prototype.cst.SHAPE_PW_FIELD]=mxShapeMockupPwField;function mxShapeMockupSplitter(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupSplitter,mxShape);mxShapeMockupSplitter.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",SHAPE_SPLITTER:"mxgraph.mockup.forms.splitter"};
  355. mxShapeMockupSplitter.prototype.paintVertexShape=function(a,d,e,b,c){b=Math.max(b,35);a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupSplitter.prototype.background=function(a,d,e){a.begin();a.moveTo(0,0.5*e-5);a.lineTo(d,0.5*e-5);a.lineTo(d,0.5*e+5);a.lineTo(0,0.5*e+5);a.close();a.fill()};
  356. mxShapeMockupSplitter.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");a.begin();a.moveTo(0,0.5*e-5);a.lineTo(d,0.5*e-5);a.moveTo(d,0.5*e+5);a.lineTo(0,0.5*e+5);a.stroke();a.setFillColor(b);a.ellipse(0.5*d-17,0.5*e-2,4,4);a.fill();a.ellipse(0.5*d-2,0.5*e-2,4,4);a.fill();a.ellipse(0.5*d+13,0.5*e-2,4,4);a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupSplitter.prototype.cst.SHAPE_SPLITTER]=mxShapeMockupSplitter;
  357. function mxShapeMockupWedgeBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupWedgeBar,mxShape);mxShapeMockupWedgeBar.prototype.cst={BLOCK:"block",CONE:"cone",HALF_CONE:"halfCone",ROUND:"round",TEXT_SIZE:"textSize",TAB_NAMES:"tabs",TAB_STYLE:"tabStyle",STYLE_FILLCOLOR2:"fillColor2",TEXT_COLOR:"textColor",SEL_TEXT_COLOR:"textColor2",SHAPE_WEDGE_BAR:"mxgraph.mockup.forms.wedgeBar"};
  358. mxShapeMockupWedgeBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TEXT_SIZE,"17").toString(),g=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TAB_NAMES,"Tab 1,+Tab 2,Tab 3").toString().split(","),h=1.5*f,k=g.length,l=20+5*(k-1)+20*k,n=[],m=-1,p=0;p<k;p++){var q=g[p];"+"===q.charAt(0)&&(q=q.substring(1),m=p);q=mxUtils.getSizeForString(q,f,mxConstants.DEFAULT_FONTFAMILY).width;n[p]=0===q?42:q;l+=n[p]}b=Math.max(b,
  359. l);c=Math.max(c,h+5);a.translate(d,e);a.setShadow(!1);this.backTabs(a,b,c,5,h,10,5,10,k,n,m);this.focusTab(a,b,c,5,h,10,5,10,k,n,m);this.tabText(a,b,c,5,h,10,5,10,k,n,m,g)};
  360. mxShapeMockupWedgeBar.prototype.backTabs=function(a,d,e,b,c,f,g,h,k,l,n){d=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TAB_STYLE,mxShapeMockupWedgeBar.prototype.cst.BLOCK);for(e=0;e<k;e++){var m=l[e]+2*h;n!==e&&(d===mxShapeMockupWedgeBar.prototype.cst.BLOCK?(a.begin(),a.moveTo(f,c),a.lineTo(f,0),a.lineTo(f+m,0),a.lineTo(f+m,c)):d===mxShapeMockupWedgeBar.prototype.cst.CONE?(a.begin(),a.moveTo(f,c),a.lineTo(f+0.5*h,0),a.lineTo(f+m-0.5*h,0),a.lineTo(f+m,c)):d===mxShapeMockupWedgeBar.prototype.cst.HALF_CONE?
  361. (a.begin(),a.moveTo(f,c),a.lineTo(f+0.5*h,0),a.lineTo(f+m,0),a.lineTo(f+m,c)):d===mxShapeMockupWedgeBar.prototype.cst.ROUND&&(a.begin(),a.moveTo(f-b,c),a.arcTo(b,b,0,0,0,f,c-b),a.lineTo(f,b),a.arcTo(b,b,0,0,1,f+b,0),a.lineTo(f+m-b,0),a.arcTo(b,b,0,0,1,f+m,b),a.lineTo(f+m,c-b),a.arcTo(b,b,0,0,0,f+m+b,c)),a.fillAndStroke());f=f+m+g}};
  362. mxShapeMockupWedgeBar.prototype.focusTab=function(a,d,e,b,c,f,g,h,k,l,n){d=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TAB_STYLE,mxShapeMockupWedgeBar.prototype.cst.BLOCK);e=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.STYLE_FILLCOLOR2,"#008cff");a.setStrokeColor(e);a.setFillColor(e);for(e=0;e<=n;e++)k=l[e]+2*h,n===e&&(d===mxShapeMockupWedgeBar.prototype.cst.BLOCK?(a.begin(),a.moveTo(f,c),a.lineTo(f,0),a.lineTo(f+k,0),a.lineTo(f+k,c)):d===mxShapeMockupWedgeBar.prototype.cst.CONE?
  363. (a.begin(),a.moveTo(f,c),a.lineTo(f+0.5*h,0),a.lineTo(f+k-0.5*h,0),a.lineTo(f+k,c)):d===mxShapeMockupWedgeBar.prototype.cst.HALF_CONE?(a.begin(),a.moveTo(f,c),a.lineTo(f+0.5*h,0),a.lineTo(f+k,0),a.lineTo(f+k,c)):d===mxShapeMockupWedgeBar.prototype.cst.ROUND&&(a.begin(),a.moveTo(f-b,c),a.arcTo(b,b,0,0,0,f,c-b),a.lineTo(f,b),a.arcTo(b,b,0,0,1,f+b,0),a.lineTo(f+k-b,0),a.arcTo(b,b,0,0,1,f+k,b),a.lineTo(f+k,c-b),a.arcTo(b,b,0,0,0,f+k+b,c)),a.fillAndStroke()),f=f+k+g};
  364. mxShapeMockupWedgeBar.prototype.tabText=function(a,d,e,b,c,f,g,h,k,l,n,m){d=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TEXT_COLOR,"#666666");e=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.SEL_TEXT_COLOR,"#ffffff");b=mxUtils.getValue(this.style,mxShapeMockupWedgeBar.prototype.cst.TEXT_SIZE,"17").toString();a.setFontColor(d);a.setFontSize(b);for(b=0;b<k;b++){var p=m[b];b===n&&a.setFontColor(e);"+"===p.charAt(0)&&(p=p.substring(1));var q=l[b]+2*h;a.text(f+h,0.5*
  365. c,0,0,p,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);f=f+q+g;b===n&&a.setFontColor(d)}};mxCellRenderer.prototype.defaultShapes[mxShapeMockupWedgeBar.prototype.cst.SHAPE_WEDGE_BAR]=mxShapeMockupWedgeBar;function mxShapeMockupSearchBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupSearchBox,mxShape);
  366. mxShapeMockupSearchBox.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",STROKE_COLOR2:"strokeColor2",SHAPE_SEARCH_BOX:"mxgraph.mockup.forms.searchBox"};mxShapeMockupSearchBox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupSearchBox.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  367. mxShapeMockupSearchBox.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupSearchBox.prototype.cst.MAIN_TEXT,"Search"),c=mxUtils.getValue(this.style,mxShapeMockupSearchBox.prototype.cst.TEXT_COLOR,"#666666"),f=mxUtils.getValue(this.style,mxShapeMockupSearchBox.prototype.cst.STROKE_COLOR2,"#008cff"),g=mxUtils.getValue(this.style,mxShapeMockupSearchBox.prototype.cst.TEXT_SIZE,"17");a.setFontColor(c);a.setFontSize(g);a.text(5,0.5*e,0,0,b,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,
  368. 0,null,0,0,0);a.setStrokeColor(f);a.ellipse(d-15,0.5*e-8,10,10);a.stroke();a.begin();a.moveTo(d-19,0.5*e+9);a.lineTo(d-13,0.5*e+1);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupSearchBox.prototype.cst.SHAPE_SEARCH_BOX]=mxShapeMockupSearchBox;function mxShapeMockupSignIn(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupSignIn,mxShape);
  369. mxShapeMockupSignIn.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2",TEXT_SIZE:"textSize",TEXT_SIZE2:"textSize2",STROKE_COLOR2:"strokeColor2",FILL_COLOR2:"fillColor2",SHAPE_SIGN_IN:"mxgraph.mockup.forms.signIn"};mxShapeMockupSignIn.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupSignIn.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  370. mxShapeMockupSignIn.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupSignIn.prototype.cst.MAIN_TEXT,"Sign In,User Name:,johndoe,Password:,********,Forgot Password?,New User,SIGN IN,SIGN UP").toString().split(","),c=mxUtils.getValue(this.style,mxShapeMockupSignIn.prototype.cst.TEXT_COLOR,"#666666"),f=mxUtils.getValue(this.style,mxShapeMockupSignIn.prototype.cst.TEXT_COLOR2,"#ffffff"),g=mxUtils.getValue(this.style,mxShapeMockupSignIn.prototype.cst.TEXT_SIZE,"12"),
  371. h=mxUtils.getValue(this.style,mxShapeMockupSignIn.prototype.cst.TEXT_SIZE2,"15"),k=mxUtils.getValue(this.style,mxShapeMockupSignIn.prototype.cst.STROKE_COLOR2,"#ddeeff"),l=mxUtils.getValue(this.style,mxShapeMockupSignIn.prototype.cst.FILL_COLOR2,"#66bbff");a.setFillColor(l);a.roundrect(0.09*d,0.52*e,0.36*d,0.09*e,5,5);a.fill();a.roundrect(0.09*d,0.84*e,0.36*d,0.09*e,5,5);a.fill();a.rect(0.05*d,0.22*e,0.75*d,0.08*e);a.stroke();a.rect(0.05*d,0.4*e,0.75*d,0.08*e);a.stroke();a.setStrokeColor(k);a.setStrokeWidth(2);
  372. a.begin();a.moveTo(0.05*d,0.12*e);a.lineTo(0.95*d,0.12*e);a.moveTo(0.05*d,0.72*e);a.lineTo(0.95*d,0.72*e);a.stroke();a.setFontColor(c);a.setFontSize(g);a.text(0.05*d,0.1*e,0,0,b[0],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM,0,null,0,0,0);a.text(0.05*d,0.2*e,0,0,b[1],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM,0,null,0,0,0);a.text(0.075*d,0.26*e,0,0,b[2],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.05*d,0.38*e,0,0,b[3],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM,
  373. 0,null,0,0,0);a.text(0.075*d,0.44*e,0,0,b[4],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.05*d,0.8*e,0,0,b[6],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeWidth(1);a.setFontColor("#9999ff");a.setStrokeColor("#9999ff");c=mxUtils.getSizeForString(b[5],g,mxConstants.DEFAULT_FONTFAMILY).width;a.text(0.05*d,0.7*e,0,0,b[5],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM,0,null,0,0,0);a.begin();a.moveTo(0.05*d,0.7*e);a.lineTo(0.05*d+c,0.7*e);a.stroke();
  374. a.setFontColor(f);a.setFontStyle(mxConstants.FONT_BOLD);a.setFontSize(h);a.text(0.27*d,0.565*e,0,0,b[7],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.27*d,0.885*e,0,0,b[8],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupSignIn.prototype.cst.SHAPE_SIGN_IN]=mxShapeMockupSignIn;function mxShapeMockupCalendar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  375. mxUtils.extend(mxShapeMockupCalendar,mxShape);mxShapeMockupCalendar.prototype.cst={SHAPE_CALENDAR:"mxgraph.mockup.forms.calendar",DAYS:"days",SELECTED_DAY:"selDay",PREV_DAYS:"prevDays",FIRST_DAY:"firstDay",START_ON:"startOn",DAY_NAMES:"dayNames",MAIN_TEXT:"mainText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2",STROKE_COLOR2:"strokeColor2",FILL_COLOR2:"fillColor2"};
  376. mxShapeMockupCalendar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupCalendar.prototype.background=function(a,d,e){a.roundrect(0,0,d,e,0.0312*d,0.0286*e);a.fillAndStroke()};
  377. mxShapeMockupCalendar.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999"),c=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),f=mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.STROKE_COLOR2,"#008cff"),g=mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.FILL_COLOR2,"#ddeeff"),h=mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.MAIN_TEXT,""),k=mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.TEXT_SIZE,
  378. "15"),l=mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.TEXT_COLOR,"#999999"),n=mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.TEXT_COLOR2,"#ffffff"),m=parseInt(mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.DAYS,"30"),10),p=parseInt(mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.PREV_DAYS,"31"),10),q=parseInt(mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.FIRST_DAY,"0"),10),t=parseInt(mxUtils.getValue(this.style,
  379. mxShapeMockupCalendar.prototype.cst.START_ON,"6",10)),s=mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.DAY_NAMES,"Mo,Tu,We,Th,Fr,Sa,Su").toString().split(","),u=parseInt(mxUtils.getValue(this.style,mxShapeMockupCalendar.prototype.cst.SELECTED_DAY,"24"),10);fistDay=Math.max(q,0);t=Math.max(t,0);fistDay=Math.min(q,6);t=Math.min(t,6);a.roundrect(0.05*d,0.0457*e,0.1438*d,0.1029*e,0.025*d,0.0229*e);a.stroke();a.roundrect(0.8125*d,0.0457*e,0.1438*d,0.1029*e,0.025*d,0.0229*e);a.stroke();
  380. a.setStrokeWidth(2);a.setStrokeColor(f);a.begin();a.moveTo(0.1438*d,0.0743*e);a.lineTo(0.1*d,0.0971*e);a.lineTo(0.1438*d,0.12*e);a.moveTo(0.8625*d,0.0743*e);a.lineTo(0.9062*d,0.0971*e);a.lineTo(0.8625*d,0.12*e);a.stroke();a.setFontSize(k);a.setFontColor(l);a.text(0.5*d,0.0971*e,0,0,h,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);h=0.875*d/7;for(k=0;7>k;k++){var l=0.0625*d+0.5*h+k*h,r=k+t;6<r&&(r-=7);a.text(l,0.2114*e,0,0,s[r],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,
  381. 0,0,0)}a.setStrokeWidth(1);var v=0,r=s=-1;if(q!==t){a.setStrokeColor(b);a.setFillColor(g);q-=t;0>q&&(q+=7);for(k=0;k<q;k++)l=0.0625*d+k*h,a.rect(l,0.2686*e,h,0.1143*e),a.fillAndStroke(),a.text(l+0.5*h,0.2686*e+0.5*h,0,0,(p-q+k+1).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);v=q}a.setFillColor(c);a.setStrokeColor(b);for(k=b=0;k<m;k++)c=k+1,l=0.0625*d+v*h,p=0.2686*e+0.1143*b*e,c===u?(s=l,r=p):(a.rect(l,p,h,0.1143*e),a.fillAndStroke(),a.text(l+0.5*h,p+0.5*h,0,0,c.toString(),
  382. mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)),6>v?v++:(v=0,b++);k=1;for(a.setFillColor(g);6>b;)l=0.0625*d+v*h,p=0.2686*e+0.1143*b*e,a.rect(l,p,h,0.1143*e),a.fillAndStroke(),a.text(l+0.5*h,p+0.5*h,0,0,k.toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),6>v?v++:(v=0,b++),k++;0<=s&&(a.setStrokeColor("#ff0000"),a.setStrokeWidth(2),a.setFillColor(f),a.setFontColor(n),a.rect(s,r,h,0.1143*e),a.fillAndStroke(),a.text(s+0.5*h,r+0.5*h,0,0,u.toString(),mxConstants.ALIGN_CENTER,
  383. mxConstants.ALIGN_MIDDLE,0,null,0,0,0))};mxCellRenderer.prototype.defaultShapes[mxShapeMockupCalendar.prototype.cst.SHAPE_CALENDAR]=mxShapeMockupCalendar;function mxShapeMockupEmailForm(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupEmailForm,mxShape);mxShapeMockupEmailForm.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",SHOW_CC:"showCC",SHOW_BCC:"showBCC",TEXT_SIZE:"textSize",SHAPE_EMAIL_FORM:"mxgraph.mockup.forms.emailForm"};
  384. mxShapeMockupEmailForm.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupEmailForm.prototype.cst.TEXT_SIZE,"12"),g=mxUtils.getValue(this.style,mxShapeMockupEmailForm.prototype.cst.SHOW_CC,"true"),h=mxUtils.getValue(this.style,mxShapeMockupEmailForm.prototype.cst.SHOW_BCC,"true"),k=4*f,l=0;"true"===g&&l++;"true"===h&&l++;b=Math.max(b,5*f);c=Math.max(c,10.5*f+3*l*f);a.translate(d,e);this.background(a,b,c,f,k,g,h);a.setShadow(!1);this.foreground(a,b,c,f,k,
  385. g,h)};mxShapeMockupEmailForm.prototype.background=function(a,d,e,b,c,f,g){var h=9*b;"true"===f&&(h+=3*b,a.rect(c,9*b,d-c,1.5*b),a.fillAndStroke());"true"===g&&(a.rect(c,h,d-c,1.5*b),h+=3*b,a.fillAndStroke());a.rect(c,0,d-c,1.5*b);a.fillAndStroke();a.rect(c,3*b,d-c,1.5*b);a.fillAndStroke();a.rect(c,6*b,d-c,1.5*b);a.fillAndStroke();a.rect(0,h,d,e-h);a.fillAndStroke()};
  386. mxShapeMockupEmailForm.prototype.foreground=function(a,d,e,b,c,f,g){d=mxUtils.getValue(this.style,mxShapeMockupEmailForm.prototype.cst.MAIN_TEXT,"john@jgraph.com,Greeting,fred@jgraph.com,,,Lorem ipsum").toString().split(",");e=mxUtils.getValue(this.style,mxShapeMockupEmailForm.prototype.cst.TEXT_COLOR,"#666666");a.setFontColor(e);a.setFontSize(b);a.text(c-0.5*b,0.75*b,0,0,"From",mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(c-0.5*b,3.75*b,0,0,"Subject",mxConstants.ALIGN_RIGHT,
  387. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(c-0.5*b,6.75*b,0,0,"To",mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(c+0.5*b,0.75*b,0,0,d[0],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(c+0.5*b,3.75*b,0,0,d[1],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(c+0.5*b,6.75*b,0,0,d[2],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);e=9*b;"true"===f&&(e+=3*b,a.text(c-0.5*b,9.75*b,0,0,"CC",mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,
  388. 0,null,0,0,0),a.text(c+0.5*b,9.75*b,0,0,d[3],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0));"true"===g&&(a.text(c-0.5*b,e+0.75*b,0,0,"BCC",mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),a.text(c+0.5*b,e+0.75*b,0,0,d[4],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),e+=3*b);a.text(0.5*b,e+0.75*b,0,0,d[5],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  389. mxCellRenderer.prototype.defaultShapes[mxShapeMockupEmailForm.prototype.cst.SHAPE_EMAIL_FORM]=mxShapeMockupEmailForm;function mxShapeMockupFormsRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupFormsRRect,mxShape);mxShapeMockupFormsRRect.prototype.cst={RRECT:"mxgraph.mockup.forms.rrect",R_SIZE:"rSize"};
  390. mxShapeMockupFormsRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupFormsRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupFormsRRect.prototype.cst.RRECT,mxShapeMockupFormsRRect);function mxShapeMockupFormsAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeMockupFormsAnchor,mxShape);mxShapeMockupFormsAnchor.prototype.cst={ANCHOR:"mxgraph.mockup.forms.anchor"};
  391. mxShapeMockupFormsAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeMockupFormsAnchor.prototype.cst.ANCHOR,mxShapeMockupFormsAnchor);function mxShapeMockupFormsCheckbox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupFormsCheckbox,mxShape);mxShapeMockupFormsCheckbox.prototype.cst={CHECKBOX:"mxgraph.mockup.forms.checkbox"};
  392. mxShapeMockupFormsCheckbox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.begin();a.moveTo(0.8*b,0.2*c);a.lineTo(0.4*b,0.8*c);a.lineTo(0.25*b,0.6*c);a.stroke()};mxCellRenderer.registerShape(mxShapeMockupFormsCheckbox.prototype.cst.CHECKBOX,mxShapeMockupFormsCheckbox);function mxShapeMockupFormsURect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupFormsURect,mxShape);
  393. mxShapeMockupFormsURect.prototype.cst={U_RECT:"mxgraph.mockup.forms.uRect"};mxShapeMockupFormsURect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,c);a.lineTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupFormsURect.prototype.cst.U_RECT,mxShapeMockupFormsURect);function mxShapeMockupBarChart(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  394. mxUtils.extend(mxShapeMockupBarChart,mxShape);mxShapeMockupBarChart.prototype.cst={STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",FILL_COLOR2:"fillColor2",FILL_COLOR3:"fillColor3",SHAPE_BAR_CHART:"mxgraph.mockup.graphics.barChart"};mxShapeMockupBarChart.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);"none"!==mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"none")&&a.setShadow(!1);this.bars(a,d,e,b,c)};
  395. mxShapeMockupBarChart.prototype.background=function(a,d,e,b,c,f,g){a.rect(0,0,b,c);a.fillAndStroke()};
  396. mxShapeMockupBarChart.prototype.bars=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupBarChart.prototype.cst.STROKE_COLOR2,"none");e=mxUtils.getValue(this.style,mxShapeMockupBarChart.prototype.cst.STROKE_COLOR3,"#666666");var f=mxUtils.getValue(this.style,mxShapeMockupBarChart.prototype.cst.FILL_COLOR2,"#008cff"),g=mxUtils.getValue(this.style,mxShapeMockupBarChart.prototype.cst.FILL_COLOR3,"#dddddd"),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");a.setStrokeColor(d);
  397. a.setFillColor(f);a.rect(0,0.2*c,0.75*b,0.05*c);a.fillAndStroke();a.rect(0,0.45*c,0.6*b,0.05*c);a.fillAndStroke();a.rect(0,0.7*c,0.95*b,0.05*c);a.fillAndStroke();a.setFillColor(g);a.rect(0,0.25*c,0.85*b,0.05*c);a.fillAndStroke();a.rect(0,0.5*c,0.65*b,0.05*c);a.fillAndStroke();a.rect(0,0.75*c,0.8*b,0.05*c);a.fillAndStroke();a.setStrokeWidth(2*h);a.setStrokeColor(e);a.setShadow(!1);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.lineTo(b,c);a.stroke()};
  398. mxCellRenderer.prototype.defaultShapes[mxShapeMockupBarChart.prototype.cst.SHAPE_BAR_CHART]=mxShapeMockupBarChart;function mxShapeMockupColumnChart(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupColumnChart,mxShape);mxShapeMockupColumnChart.prototype.cst={STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",FILL_COLOR2:"fillColor2",FILL_COLOR3:"fillColor3",SHAPE_COLUMN_CHART:"mxgraph.mockup.graphics.columnChart"};
  399. mxShapeMockupColumnChart.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);"none"!==mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"none")&&a.setShadow(!1);this.bars(a,d,e,b,c)};mxShapeMockupColumnChart.prototype.background=function(a,d,e,b,c,f,g){a.rect(0,0,b,c);a.fillAndStroke()};
  400. mxShapeMockupColumnChart.prototype.bars=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupColumnChart.prototype.cst.STROKE_COLOR2,"none");e=mxUtils.getValue(this.style,mxShapeMockupColumnChart.prototype.cst.STROKE_COLOR3,"#666666");var f=mxUtils.getValue(this.style,mxShapeMockupColumnChart.prototype.cst.FILL_COLOR2,"#008cff"),g=mxUtils.getValue(this.style,mxShapeMockupColumnChart.prototype.cst.FILL_COLOR3,"#dddddd"),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");a.setStrokeColor(d);
  401. a.setFillColor(f);a.rect(0.2*b,0.25*c,0.05*b,0.75*c);a.fillAndStroke();a.rect(0.45*b,0.4*c,0.05*b,0.6*c);a.fillAndStroke();a.rect(0.7*b,0.05*c,0.05*b,0.95*c);a.fillAndStroke();a.setFillColor(g);a.rect(0.25*b,0.15*c,0.05*b,0.85*c);a.fillAndStroke();a.rect(0.5*b,0.35*c,0.05*b,0.65*c);a.fillAndStroke();a.rect(0.75*b,0.2*c,0.05*b,0.8*c);a.fillAndStroke();a.setStrokeWidth(2*h);a.setStrokeColor(e);a.setShadow(!1);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.lineTo(b,c);a.stroke()};
  402. mxCellRenderer.prototype.defaultShapes[mxShapeMockupColumnChart.prototype.cst.SHAPE_COLUMN_CHART]=mxShapeMockupColumnChart;function mxShapeMockupLineChart(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupLineChart,mxShape);mxShapeMockupLineChart.prototype.cst={STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",STROKE_COLOR4:"strokeColor4",SHAPE_LINE_CHART:"mxgraph.mockup.graphics.lineChart"};
  403. mxShapeMockupLineChart.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);"none"!==mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"none")&&a.setShadow(!1);this.bars(a,d,e,b,c)};mxShapeMockupLineChart.prototype.background=function(a,d,e,b,c,f,g){a.rect(0,0,b,c);a.fillAndStroke()};
  404. mxShapeMockupLineChart.prototype.bars=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupLineChart.prototype.cst.STROKE_COLOR2,"#666666");e=mxUtils.getValue(this.style,mxShapeMockupLineChart.prototype.cst.STROKE_COLOR3,"#008cff");var f=mxUtils.getValue(this.style,mxShapeMockupLineChart.prototype.cst.STROKE_COLOR4,"#dddddd"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");a.setStrokeWidth(2*g);a.setStrokeColor(f);a.begin();a.moveTo(0,c);a.lineTo(0.3*b,0.5*c);a.lineTo(0.6*
  405. b,0.74*c);a.lineTo(0.9*b,0.24*c);a.stroke();a.setStrokeColor(e);a.begin();a.moveTo(0,c);a.lineTo(0.3*b,0.65*c);a.lineTo(0.6*b,0.6*c);a.lineTo(0.9*b,0.35*c);a.stroke();a.setStrokeColor(d);a.setShadow(!1);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.lineTo(b,c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupLineChart.prototype.cst.SHAPE_LINE_CHART]=mxShapeMockupLineChart;
  406. function mxShapeMockupPieChart(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupPieChart,mxShape);mxShapeMockupPieChart.prototype.cst={PARTS:"parts",PART_COLORS:"partColors",SHAPE_PIE_CHART:"mxgraph.mockup.graphics.pieChart"};mxShapeMockupPieChart.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  407. mxShapeMockupPieChart.prototype.background=function(a,d,e,b,c,f,g){a.ellipse(0,0,b,c);a.fillAndStroke()};
  408. mxShapeMockupPieChart.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupPieChart.prototype.cst.PARTS,"10,20,30").toString().split(",");e=d.length;for(var f=mxUtils.getValue(this.style,mxShapeMockupPieChart.prototype.cst.PART_COLORS,"#333333,#666666,#999999").toString().split(","),g=0,h=0;h<e;h++)g+=parseInt(d[h],10);for(h=0;h<e;h++){f.length>h?a.setFillColor(f[h]):a.setFillColor("#ff0000");var k=0,l=0,l=parseInt(d[h],10)/g;0.5===l&&(l=0.501);for(var n=0;n<h;n++)k+=
  409. parseInt(d[n],10)/g;var l=l+k,m=2*Math.PI*k,p=2*Math.PI*l,n=0.5*b-0.5*b*Math.sin(m),m=0.5*c-0.5*c*Math.cos(m),q=0.5*b-0.5*b*Math.sin(p),p=0.5*c-0.5*c*Math.cos(p),t=1;0.5>l-k&&(t=0);a.begin();a.moveTo(0.5*b,0.5*c);a.lineTo(q,p);a.arcTo(0.5*b,0.5*c,0,t,1,n,m);a.close();a.fillAndStroke()}};mxCellRenderer.prototype.defaultShapes[mxShapeMockupPieChart.prototype.cst.SHAPE_PIE_CHART]=mxShapeMockupPieChart;
  410. function mxShapeMockupIconGrid(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupIconGrid,mxShape);mxShapeMockupIconGrid.prototype.cst={GRID_SIZE:"gridSize",SHAPE_ICON_GRID:"mxgraph.mockup.graphics.iconGrid"};
  411. mxShapeMockupIconGrid.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxShapeMockupIconGrid.prototype.cst.GRID_SIZE,"3,3").toString().split(",");this.background(a,b,c,d);a.setShadow(!1);this.foreground(a,b,c,d)};mxShapeMockupIconGrid.prototype.background=function(a,d,e,b){d/=parseInt(b[0],10)+0.5*(b[0]-1);e/=parseInt(b[1],10)+0.5*(b[1]-1);for(var c=0;c<b[0];c++)for(var f=0;f<b[1];f++)a.rect(1.5*d*c,1.5*e*f,d,e),a.fillAndStroke()};
  412. mxShapeMockupIconGrid.prototype.foreground=function(a,d,e,b){d/=parseInt(b[0],10)+0.5*(b[0]-1);e/=parseInt(b[1],10)+0.5*(b[1]-1);for(var c=0;c<b[0];c++)for(var f=0;f<b[1];f++)a.begin(),a.moveTo(1.5*d*c,1.5*e*f),a.lineTo(1.5*d*c+d,1.5*e*f+e),a.moveTo(1.5*d*c+d,1.5*e*f),a.lineTo(1.5*d*c,1.5*e*f+e),a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupIconGrid.prototype.cst.SHAPE_ICON_GRID]=mxShapeMockupIconGrid;
  413. function mxShapeMockupBubbleChart(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupBubbleChart,mxShape);mxShapeMockupBubbleChart.prototype.cst={STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",FILL_COLOR2:"fillColor2",FILL_COLOR3:"fillColor3",SHAPE_BUBBLE_CHART:"mxgraph.mockup.graphics.bubbleChart"};
  414. mxShapeMockupBubbleChart.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);"none"!==mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"none")&&a.setShadow(!1);this.bars(a,d,e,b,c)};mxShapeMockupBubbleChart.prototype.background=function(a,d,e,b,c,f,g){a.rect(0,0,b,c);a.fillAndStroke()};
  415. mxShapeMockupBubbleChart.prototype.bars=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupBubbleChart.prototype.cst.STROKE_COLOR2,"none");d=mxUtils.getValue(this.style,mxShapeMockupBubbleChart.prototype.cst.STROKE_COLOR3,"#666666");var g=mxUtils.getValue(this.style,mxShapeMockupBubbleChart.prototype.cst.FILL_COLOR2,"#008cff");e=mxUtils.getValue(this.style,mxShapeMockupBubbleChart.prototype.cst.FILL_COLOR3,"#dddddd");var h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,
  416. "1");a.setStrokeColor(f);a.setFillColor(g);var f=0.4*b,g=0.45*c,k=0.14*Math.min(c,b);a.ellipse(f-k,g-k,2*k,2*k);a.fillAndStroke();f=0.1*b;g=0.8*c;k=0.1*Math.min(c,b);a.ellipse(f-k,g-k,2*k,2*k);a.fillAndStroke();f=0.7*b;g=0.7*c;k=0.22*Math.min(c,b);a.ellipse(f-k,g-k,2*k,2*k);a.fillAndStroke();a.setFillColor(e);f=0.15*b;g=0.25*c;k=0.19*Math.min(c,b);a.ellipse(f-k,g-k,2*k,2*k);a.fillAndStroke();f=0.48*b;g=0.7*c;k=0.12*Math.min(c,b);a.ellipse(f-k,g-k,2*k,2*k);a.fillAndStroke();f=0.74*b;g=0.17*c;k=0.1*
  417. Math.min(c,b);a.ellipse(f-k,g-k,2*k,2*k);a.fillAndStroke();a.setStrokeWidth(2*h);a.setStrokeColor(d);a.setShadow(!1);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.lineTo(b,c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupBubbleChart.prototype.cst.SHAPE_BUBBLE_CHART]=mxShapeMockupBubbleChart;function mxShapeMockupGauge(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.gaugePos=25}mxUtils.extend(mxShapeMockupGauge,mxShape);
  418. mxShapeMockupGauge.prototype.cst={SCALE_COLORS:"scaleColors",GAUGE_LABELS:"gaugeLabels",NEEDLE_COLOR:"needleColor",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",GAUGE_POS:"gaugePos",SHAPE_GAUGE:"mxgraph.mockup.graphics.gauge"};mxShapeMockupGauge.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupGauge.prototype.background=function(a,d,e){a.ellipse(0,0,d,e);a.fillAndStroke()};
  419. mxShapeMockupGauge.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupGauge.prototype.cst.GAUGE_POS,"0"),c=mxUtils.getValue(this.style,mxShapeMockupGauge.prototype.cst.SCALE_COLORS,"#888888,#aaaaaa,#444444").toString().split(","),f=mxUtils.getValue(this.style,mxShapeMockupGauge.prototype.cst.GAUGE_LABELS,"CPU[%],0,100").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupGauge.prototype.cst.NEEDLE_COLOR,"#008cff"),h=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,
  420. "#ffffff"),k=mxUtils.getValue(this.style,mxShapeMockupGauge.prototype.cst.TEXT_COLOR,"#666666"),l=mxUtils.getValue(this.style,mxShapeMockupGauge.prototype.cst.TEXT_SIZE,"12"),b=Math.max(0,b),b=Math.min(100,b);a.setFillColor(c[1]);a.begin();a.moveTo(0.05*d,0.5*e);a.arcTo(0.4*d,0.4*e,0,0,1,0.95*d,0.5*e);a.lineTo(d,0.5*e);a.arcTo(0.5*d,0.5*e,0,0,0,0,0.5*e);a.close();a.fill();a.setFillColor(c[0]);a.begin();a.moveTo(0.05*d,0.5*e);a.arcTo(0.45*d,0.45*e,0,0,0,0.182*d,0.818*e);a.lineTo(0.146*d,0.854*e);a.arcTo(0.5*
  421. d,0.5*e,0,0,1,0,0.5*e);a.close();a.fill();a.setFillColor(c[2]);a.begin();a.moveTo(d,0.5*e);a.arcTo(0.5*d,0.5*e,0,0,1,0.854*d,0.854*e);a.lineTo(0.818*d,0.818*e);a.arcTo(0.45*d,0.45*e,0,0,0,0.95*d,0.5*e);a.close();a.fill();a.setFontSize(l);a.setFontColor(k);a.text(0.5*d,0.3*e,0,0,f[0],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.2*d,0.85*e,0,0,f[1],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8*d,0.85*e,0,0,f[2],mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,
  422. 0,null,0,0,0);b=0.75*(2*Math.PI*parseFloat(b)/100)+1.25*Math.PI;c=0.5*d+0.38*d*Math.sin(b);f=0.5*e-0.38*e*Math.cos(b);l=k=0;a.setFillColor(g);a.begin();a.moveTo(c,f);c=0.5*d+0.05*d*Math.cos(b);f=0.5*e+0.05*e*Math.sin(b);a.lineTo(c,f);k=0.5*d+-0.05*d*Math.sin(b);l=0.5*e- -0.05*e*Math.cos(b);a.arcTo(0.05*d,0.05*e,0,0,1,k,l);k=0.5*d-0.05*d*Math.cos(b);l=0.5*e-0.05*e*Math.sin(b);a.arcTo(0.05*d,0.05*e,0,0,1,k,l);a.close();a.fill();a.setFillColor(h);a.begin();a.moveTo(0.49*d,0.49*e);a.lineTo(0.51*d,0.49*
  423. e);a.lineTo(0.51*d,0.51*e);a.lineTo(0.49*d,0.51*e);a.close();a.fill();a.begin();a.ellipse(0,0,d,e);a.stroke();a.begin();a.moveTo(0.146*d,0.854*e);a.lineTo(0.219*d,0.781*e);a.moveTo(0.854*d,0.854*e);a.lineTo(0.781*d,0.781*e);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupGauge.prototype.cst.SHAPE_GAUGE]=mxShapeMockupGauge;
  424. Graph.handleFactory[mxShapeMockupGauge.prototype.cst.SHAPE_GAUGE]=function(a){return[Graph.createHandle(a,["gaugePos"],function(a){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"gaugePos",this.gaugePos))));return new mxPoint(a.x+0.2*a.width+0.6*e*a.width/100,a.y+0.8*a.height)},function(a,e){this.state.style.gaugePos=Math.round(1E3*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/1E3})]};
  425. function mxShapeMockupPlotChart(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupPlotChart,mxShape);mxShapeMockupPlotChart.prototype.cst={STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",SHAPES_COLORS:"fillColor2",SHAPE_PLOT_CHART:"mxgraph.mockup.graphics.plotChart"};
  426. mxShapeMockupPlotChart.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);"none"!==mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"none")&&a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupPlotChart.prototype.background=function(a,d,e,b,c,f,g){a.rect(0,0,b,c);a.fillAndStroke()};
  427. mxShapeMockupPlotChart.prototype.foreground=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupPlotChart.prototype.cst.STROKE_COLOR2,"#dddddd");d=mxUtils.getValue(this.style,mxShapeMockupPlotChart.prototype.cst.STROKE_COLOR3,"#666666");e=mxUtils.getValue(this.style,mxShapeMockupPlotChart.prototype.cst.SHAPES_COLORS,"#00aaff,#0044ff,#008cff").toString().split(",");var g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1"),h=0.03*Math.min(b,c);a.setStrokeColor(f);a.setFillColor(e[0]);
  428. var f=0.2*b,k=0.8*c;a.begin();a.moveTo(f-0.5*h,k-0.5*h);a.lineTo(f+0.5*h,k-0.5*h);a.lineTo(f+0.5*h,k+0.5*h);a.lineTo(f-0.5*h,k+0.5*h);a.close();a.fillAndStroke();f=0.3*b;k=0.65*c;a.begin();a.moveTo(f-0.5*h,k-0.5*h);a.lineTo(f+0.5*h,k-0.5*h);a.lineTo(f+0.5*h,k+0.5*h);a.lineTo(f-0.5*h,k+0.5*h);a.close();a.fillAndStroke();f=0.6*b;k=0.44*c;a.begin();a.moveTo(f-0.5*h,k-0.5*h);a.lineTo(f+0.5*h,k-0.5*h);a.lineTo(f+0.5*h,k+0.5*h);a.lineTo(f-0.5*h,k+0.5*h);a.close();a.fillAndStroke();f=0.85*b;k=0.9*c;a.begin();
  429. a.moveTo(f-0.5*h,k-0.5*h);a.lineTo(f+0.5*h,k-0.5*h);a.lineTo(f+0.5*h,k+0.5*h);a.lineTo(f-0.5*h,k+0.5*h);a.close();a.fillAndStroke();a.setFillColor(e[1]);f=0.08*b;k=0.65*c;a.begin();a.moveTo(f,k-0.5*h);a.lineTo(f+0.5*h,k+0.5*h);a.lineTo(f-0.5*h,k+0.5*h);a.close();a.fillAndStroke();f=0.58*b;k=0.85*c;a.begin();a.moveTo(f,k-0.5*h);a.lineTo(f+0.5*h,k+0.5*h);a.lineTo(f-0.5*h,k+0.5*h);a.close();a.fillAndStroke();f=0.72*b;k=0.92*c;a.begin();a.moveTo(f,k-0.5*h);a.lineTo(f+0.5*h,k+0.5*h);a.lineTo(f-0.5*h,k+
  430. 0.5*h);a.close();a.fillAndStroke();a.setFillColor(e[2]);f=0.32*b;k=0.28*c;a.begin();a.moveTo(f,k-0.75*h);a.lineTo(f+0.75*h,k);a.lineTo(f,k+0.75*h);a.lineTo(f-0.75*h,k);a.close();a.fillAndStroke();f=0.92*b;k=0.45*c;a.begin();a.moveTo(f,k-0.75*h);a.lineTo(f+0.75*h,k);a.lineTo(f,k+0.75*h);a.lineTo(f-0.75*h,k);a.close();a.fillAndStroke();f=0.81*b;k=0.37*c;a.begin();a.moveTo(f,k-0.75*h);a.lineTo(f+0.75*h,k);a.lineTo(f,k+0.75*h);a.lineTo(f-0.75*h,k);a.close();a.fillAndStroke();f=0.51*b;k=0.7*c;a.begin();
  431. a.moveTo(f,k-0.75*h);a.lineTo(f+0.75*h,k);a.lineTo(f,k+0.75*h);a.lineTo(f-0.75*h,k);a.close();a.fillAndStroke();a.setStrokeWidth(2*g);a.setStrokeColor(d);a.setShadow(!1);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.lineTo(b,c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupPlotChart.prototype.cst.SHAPE_PLOT_CHART]=mxShapeMockupPlotChart;function mxShapeMockupGanttChart(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  432. mxUtils.extend(mxShapeMockupGanttChart,mxShape);mxShapeMockupGanttChart.prototype.cst={STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3",SHAPES_COLORS:"fillColor2",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",SHAPE_GANTT_CHART:"mxgraph.mockup.graphics.ganttChart"};mxShapeMockupGanttChart.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  433. mxShapeMockupGanttChart.prototype.background=function(a,d,e,b,c,f,g){a.rect(0,0,b,c);a.fillAndStroke()};
  434. mxShapeMockupGanttChart.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupGanttChart.prototype.cst.SHAPES_COLORS,"#888888,#bbbbbb").toString().split(",");mxUtils.getValue(this.style,mxShapeMockupGanttChart.prototype.cst.TEXT_COLOR,"#666666");mxUtils.getValue(this.style,mxShapeMockupGanttChart.prototype.cst.TEXT_SIZE,"#12");a.begin();a.moveTo(0,0.13*c);a.lineTo(b,0.13*c);a.moveTo(0.4*b,0);a.lineTo(0.4*b,c);a.moveTo(0.4*b,0.065*c);a.lineTo(b,0.065*c);a.moveTo(0.03*
  435. b,0);a.lineTo(0.03*b,0.13*c);a.moveTo(0.1*b,0);a.lineTo(0.1*b,0.13*c);a.moveTo(0.315*b,0);a.lineTo(0.315*b,0.13*c);a.moveTo(0.45*b,0.065*c);a.lineTo(0.45*b,0.13*c);a.moveTo(0.5*b,0.065*c);a.lineTo(0.5*b,c);a.moveTo(0.55*b,0.065*c);a.lineTo(0.55*b,0.13*c);a.moveTo(0.6*b,0.065*c);a.lineTo(0.6*b,c);a.moveTo(0.65*b,0.065*c);a.lineTo(0.65*b,0.13*c);a.moveTo(0.7*b,0.065*c);a.lineTo(0.7*b,c);a.moveTo(0.75*b,0);a.lineTo(0.75*b,0.13*c);a.moveTo(0.8*b,0.065*c);a.lineTo(0.8*b,c);a.moveTo(0.85*b,0.065*c);a.lineTo(0.85*
  436. b,0.13*c);a.moveTo(0.9*b,0.065*c);a.lineTo(0.9*b,c);a.moveTo(0.95*b,0.065*c);a.lineTo(0.95*b,0.13*c);a.stroke();a.setFillColor(d[0]);a.begin();a.moveTo(0.41*b,0.15*c);a.lineTo(0.64*b,0.15*c);a.lineTo(0.64*b,0.18*c);a.lineTo(0.625*b,0.21*c);a.lineTo(0.61*b,0.18*c);a.lineTo(0.44*b,0.18*c);a.lineTo(0.425*b,0.21*c);a.lineTo(0.41*b,0.18*c);a.close();a.moveTo(0.41*b,0.24*c);a.lineTo(0.49*b,0.24*c);a.lineTo(0.49*b,0.275*c);a.lineTo(0.41*b,0.275*c);a.close();a.moveTo(0.46*b,0.31*c);a.lineTo(0.64*b,0.31*c);
  437. a.lineTo(0.64*b,0.345*c);a.lineTo(0.46*b,0.345*c);a.close();a.moveTo(0.56*b,0.39*c);a.lineTo(0.69*b,0.39*c);a.lineTo(0.69*b,0.425*c);a.lineTo(0.56*b,0.425*c);a.close();a.fill();a.setFillColor(d[1]);a.begin();a.moveTo(0.46*b,0.32*c);a.lineTo(0.58*b,0.32*c);a.lineTo(0.58*b,0.335*c);a.lineTo(0.46*b,0.335*c);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupGanttChart.prototype.cst.SHAPE_GANTT_CHART]=mxShapeMockupGanttChart;
  438. function mxShapeMockupSimpleIcon(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupSimpleIcon,mxShape);mxShapeMockupSimpleIcon.prototype.cst={SIMPLE_ICON:"mxgraph.mockup.graphics.simpleIcon"};mxShapeMockupSimpleIcon.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.begin();a.moveTo(0,0);a.lineTo(b,c);a.moveTo(0,c);a.lineTo(b,0);a.stroke()};
  439. mxCellRenderer.prototype.defaultShapes[mxShapeMockupSimpleIcon.prototype.cst.SIMPLE_ICON]=mxShapeMockupSimpleIcon;function mxShapeMockupGraphicsAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeMockupGraphicsAnchor,mxShape);mxShapeMockupGraphicsAnchor.prototype.cst={ANCHOR:"mxgraph.mockup.graphics.anchor"};mxShapeMockupGraphicsAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeMockupGraphicsAnchor.prototype.cst.ANCHOR,mxShapeMockupGraphicsAnchor);
  440. function mxShapeMockupGraphicsRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupGraphicsRRect,mxShape);mxShapeMockupGraphicsRRect.prototype.cst={RRECT:"mxgraph.mockup.graphics.rrect",R_SIZE:"rSize"};mxShapeMockupGraphicsRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupGraphicsRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};
  441. mxCellRenderer.registerShape(mxShapeMockupGraphicsRRect.prototype.cst.RRECT,mxShapeMockupGraphicsRRect);function mxShapeMockupCurlyBrace(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupCurlyBrace,mxShape);mxShapeMockupCurlyBrace.prototype.cst={SHAPE_CURLY_BRACE:"mxgraph.mockup.markup.curlyBrace"};mxShapeMockupCurlyBrace.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  442. mxShapeMockupCurlyBrace.prototype.background=function(a,d,e,b,c){d=0.5*c;e=Math.min(0.125*b,d);a.begin();a.moveTo(0,d+e);a.arcTo(e,e,0,0,1,e,d);a.lineTo(0.5*b-e,d);a.arcTo(e,e,0,0,0,0.5*b,d-e);a.arcTo(e,e,0,0,0,0.5*b+e,d);a.lineTo(b-e,d);a.arcTo(e,e,0,0,1,b,d+e);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupCurlyBrace.prototype.cst.SHAPE_CURLY_BRACE]=mxShapeMockupCurlyBrace;
  443. function mxShapeMockupLine(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupLine,mxShape);mxShapeMockupLine.prototype.cst={SHAPE_LINE:"mxgraph.mockup.markup.line"};mxShapeMockupLine.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupLine.prototype.cst.SHAPE_LINE]=mxShapeMockupLine;
  444. function mxShapeMockupScratchOut(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupScratchOut,mxShape);mxShapeMockupScratchOut.prototype.cst={SHAPE_SCRATCH_OUT:"mxgraph.mockup.markup.scratchOut"};
  445. mxShapeMockupScratchOut.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0.038*b,0.095*c);a.curveTo(0.038*b,0.095*c,0.289*b,-0.045*c,0.186*b,0.05*c);a.curveTo(0.084*b,0.145*c,-0.046*b,0.251*c,0.072*b,0.208*c);a.curveTo(0.191*b,0.164*c,0.522*b,-0.09*c,0.366*b,0.062*c);a.curveTo(0.21*b,0.215*c,-0.094*b,0.38*c,0.108*b,0.304*c);a.curveTo(0.309*b,0.228*c,0.73*b,-0.126*c,0.544*b,0.096*c);a.curveTo(0.358*b,0.319*c,-0.168*b,0.592*c,0.108*b,0.476*c);a.curveTo(0.382*b,0.36*
  446. c,0.972*b,-0.138*c,0.779*b,0.114*c);a.curveTo(0.585*b,0.365*c,-0.12*b,0.688*c,0.071*b,0.639*c);a.curveTo(0.262*b,0.59*c,1.174*b,0.012*c,0.936*b,0.238*c);a.curveTo(0.699*b,0.462*c,-0.216*b,0.855*c,0.085*b,0.806*c);a.curveTo(0.386*b,0.758*c,1.185*b,0.26*c,0.935*b,0.534*c);a.curveTo(0.685*b,0.808*c,-0.186*b,0.94*c,0.236*b,0.895*c);a.curveTo(0.659*b,0.85*c,1.095*b,0.608*c,0.905*b,0.769*c);a.curveTo(0.715*b,0.93*c,0.286*b,0.962*c,0.661*b,0.931*c);a.stroke()};
  447. mxCellRenderer.prototype.defaultShapes[mxShapeMockupScratchOut.prototype.cst.SHAPE_SCRATCH_OUT]=mxShapeMockupScratchOut;function mxShapeMockupRedX(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRedX,mxShape);mxShapeMockupRedX.prototype.cst={SHAPE_RED_X:"mxgraph.mockup.markup.redX"};
  448. mxShapeMockupRedX.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0.1*b,0);a.lineTo(0.5*b,0.4*c);a.lineTo(0.9*b,0);a.lineTo(b,0.1*c);a.lineTo(0.6*b,0.5*c);a.lineTo(b,0.9*c);a.lineTo(0.9*b,c);a.lineTo(0.5*b,0.6*c);a.lineTo(0.1*b,c);a.lineTo(0,0.9*c);a.lineTo(0.4*b,0.5*c);a.lineTo(0,0.1*c);a.close();a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupRedX.prototype.cst.SHAPE_RED_X]=mxShapeMockupRedX;
  449. function mxShapeMockupPlaybackControls(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupPlaybackControls,mxShape);mxShapeMockupPlaybackControls.prototype.cst={SHAPE_PLAYBACK_CONTROLS:"mxgraph.mockup.misc.playbackControls",FILL_COLOR2:"fillColor2",STROKE_COLOR2:"strokeColor2",FILL_COLOR3:"fillColor3",STROKE_COLOR3:"strokeColor3"};
  450. mxShapeMockupPlaybackControls.prototype.paintVertexShape=function(a,d,e,b,c){c=Math.max(c,30);b=Math.max(225,b);a.translate(d,e);this.background(a,b,c,30);a.setShadow(!1);this.foreground(a,b,c,30,22)};mxShapeMockupPlaybackControls.prototype.background=function(a,d,e,b){a.rect(0,0.5*(e-b),d,b);a.fillAndStroke()};
  451. mxShapeMockupPlaybackControls.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapeMockupPlaybackControls.prototype.cst.FILL_COLOR2,"#99ddff");var f=mxUtils.getValue(this.style,mxShapeMockupPlaybackControls.prototype.cst.STROKE_COLOR2,"none"),g=mxUtils.getValue(this.style,mxShapeMockupPlaybackControls.prototype.cst.FILL_COLOR3,"#ffffff"),h=mxUtils.getValue(this.style,mxShapeMockupPlaybackControls.prototype.cst.STROKE_COLOR3,"none");a.setStrokeColor(f);a.setFillColor(d);a.ellipse(10,
  452. 0.5*e-0.5*c,c,c);a.fillAndStroke();a.ellipse(40,0.5*e-0.5*c,c,c);a.fillAndStroke();a.ellipse(70,0.5*e-0.5*c,c,c);a.fillAndStroke();a.ellipse(100,0.5*e-0.5*c,c,c);a.fillAndStroke();a.ellipse(130,0.5*e-0.5*c,c,c);a.fillAndStroke();a.ellipse(160,0.5*e-0.5*c,c,c);a.fillAndStroke();a.ellipse(190,0.5*e-0.5*c,c,c);a.fillAndStroke();a.setStrokeColor(h);a.setFillColor(g);e=0.5*e-0.5*b;a.begin();a.moveTo(16,e+10);a.lineTo(16,e+20);a.lineTo(18,e+20);a.lineTo(18,e+10);a.close();a.moveTo(20,e+15);a.lineTo(25,
  453. e+20);a.lineTo(25,e+10);a.close();a.fillAndStroke();a.begin();a.moveTo(44,e+15);a.lineTo(49,e+20);a.lineTo(49,e+10);a.close();a.moveTo(51,e+15);a.lineTo(56,e+20);a.lineTo(56,e+10);a.close();a.fillAndStroke();a.begin();a.moveTo(77,e+15);a.lineTo(82,e+20);a.lineTo(82,e+10);a.close();a.fillAndStroke();a.begin();a.moveTo(108,e+10);a.lineTo(108,e+20);a.lineTo(110,e+20);a.lineTo(110,e+10);a.close();a.moveTo(117,e+15);a.lineTo(112,e+20);a.lineTo(112,e+10);a.close();a.fillAndStroke();a.begin();a.moveTo(144,
  454. e+15);a.lineTo(139,e+20);a.lineTo(139,e+10);a.close();a.fillAndStroke();a.begin();a.moveTo(171,e+15);a.lineTo(166,e+20);a.lineTo(166,e+10);a.close();a.moveTo(178,e+15);a.lineTo(173,e+20);a.lineTo(173,e+10);a.close();a.fillAndStroke();a.begin();a.moveTo(203,e+10);a.lineTo(203,e+20);a.lineTo(205,e+20);a.lineTo(205,e+10);a.close();a.moveTo(201,e+15);a.lineTo(196,e+20);a.lineTo(196,e+10);a.close();a.fillAndStroke()};
  455. mxCellRenderer.prototype.defaultShapes[mxShapeMockupPlaybackControls.prototype.cst.SHAPE_PLAYBACK_CONTROLS]=mxShapeMockupPlaybackControls;function mxShapeMockupProgressBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.barPos=20}mxUtils.extend(mxShapeMockupProgressBar,mxShape);mxShapeMockupProgressBar.prototype.cst={SHAPE_PROGRESS_BAR:"mxgraph.mockup.misc.progressBar",BAR_POS:"barPos",FILL_COLOR2:"fillColor2"};
  456. mxShapeMockupProgressBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupProgressBar.prototype.background=function(a,d,e){a.roundrect(0,0.5*e-5,d,10,5,5);a.fillAndStroke()};
  457. mxShapeMockupProgressBar.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupProgressBar.prototype.cst.FILL_COLOR2,"#ddeeff"),c=mxUtils.getValue(this.style,mxShapeMockupProgressBar.prototype.cst.BAR_POS,"80"),c=Math.min(c,100),c=Math.max(c,0);d=0+(d-0)*c/100;a.setFillColor(b);a.roundrect(0,0.5*e-5,d,10,5,5);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupProgressBar.prototype.cst.SHAPE_PROGRESS_BAR]=mxShapeMockupProgressBar;
  458. Graph.handleFactory[mxShapeMockupProgressBar.prototype.cst.SHAPE_PROGRESS_BAR]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"barPos",this.barPos))));return new mxPoint(a.x+e*a.width/100,a.y+0.5*a.height)},function(a,e){this.state.style.barPos=Math.round(1E3*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/1E3})]};
  459. function mxShapeMockupShoppingCart(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupShoppingCart,mxShape);mxShapeMockupShoppingCart.prototype.cst={SHAPE_SHOPPING_CART:"mxgraph.mockup.misc.shoppingCart"};
  460. mxShapeMockupShoppingCart.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.translate(d,e);a.setStrokeWidth(3);a.begin();a.moveTo(0.975*b,0.025*c);a.lineTo(0.82*b,0.055*c);a.lineTo(0.59*b,0.66*c);a.lineTo(0.7*b,0.765*c);a.arcTo(0.06*b,0.06*c,0,0,1,0.665*b,0.86*c);a.lineTo(0.05*b,0.86*c);a.moveTo(0.74*b,0.26*c);a.lineTo(0.03*b,0.28*c);a.lineTo(0.065*b,0.61*c);a.lineTo(0.59*b,0.66*c);a.stroke();a.setStrokeWidth(1);a.begin();a.moveTo(0.15*
  461. b,0.28*c);a.lineTo(0.15*b,0.62*c);a.moveTo(0.265*b,0.275*c);a.lineTo(0.265*b,0.63*c);a.moveTo(0.38*b,0.27*c);a.lineTo(0.38*b,0.64*c);a.moveTo(0.495*b,0.265*c);a.lineTo(0.495*b,0.65*c);a.moveTo(0.61*b,0.265*c);a.lineTo(0.61*b,0.61*c);a.stroke();a.begin();a.moveTo(0.69*b,0.405*c);a.lineTo(0.045*b,0.405*c);a.moveTo(0.645*b,0.52*c);a.lineTo(0.055*b,0.52*c);a.stroke();a.setFillColor(f);a.ellipse(0.075*b,0.89*c,0.1*b,0.1*c);a.fillAndStroke();a.ellipse(0.62*b,0.89*c,0.1*b,0.1*c);a.fillAndStroke()};
  462. mxCellRenderer.prototype.defaultShapes[mxShapeMockupShoppingCart.prototype.cst.SHAPE_SHOPPING_CART]=mxShapeMockupShoppingCart;function mxShapeMockupRating(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRating,mxShape);
  463. mxShapeMockupRating.prototype.cst={SHAPE_RATING:"mxgraph.mockup.misc.rating",RATING_STYLE:"ratingStyle",RATING_SCALE:"ratingScale",RATING_HEART:"heart",RATING_STAR:"star",EMPTY_FILL_COLOR:"emptyFillColor",GRADE:"grade"};
  464. mxShapeMockupRating.prototype.paintVertexShape=function(a,d,e,b,c){b=mxUtils.getValue(this.style,mxShapeMockupRating.prototype.cst.RATING_STYLE,mxShapeMockupRating.prototype.cst.RATING_STAR);var f=mxUtils.getValue(this.style,mxShapeMockupRating.prototype.cst.GRADE,"5"),g=mxUtils.getValue(this.style,mxShapeMockupRating.prototype.cst.RATING_SCALE,"10");a.translate(d,e);if(b===mxShapeMockupRating.prototype.cst.RATING_STAR)for(d=0;d<f;d++)a.begin(),a.moveTo(1.5*d*c,0.33*c),a.lineTo(1.5*d*c+0.364*c,0.33*
  465. c),a.lineTo(1.5*d*c+0.475*c,0),a.lineTo(1.5*d*c+0.586*c,0.33*c),a.lineTo(1.5*d*c+0.95*c,0.33*c),a.lineTo(1.5*d*c+0.66*c,0.551*c),a.lineTo(1.5*d*c+0.775*c,0.9*c),a.lineTo(1.5*d*c+0.475*c,0.684*c),a.lineTo(1.5*d*c+0.175*c,0.9*c),a.lineTo(1.5*d*c+0.29*c,0.551*c),a.close(),a.fillAndStroke();else if(b===mxShapeMockupRating.prototype.cst.RATING_HEART)for(d=0;d<f;d++)a.begin(),a.moveTo(1.5*d*c+0.519*c,0.947*c),a.curveTo(1.5*d*c+0.558*c,0.908*c,1.5*d*c+0.778*c,0.682*c,1.5*d*c+0.916*c,0.54*c),a.curveTo(1.5*
  466. d*c+1.039*c,0.414*c,1.5*d*c+1.036*c,0.229*c,1.5*d*c+0.924*c,0.115*c),a.curveTo(1.5*d*c+0.812*c,0,1.5*d*c+0.631*c,0,1.5*d*c+0.519*c,0.115*c),a.curveTo(1.5*d*c+0.408*c,0,1.5*d*c+0.227*c,0,1.5*d*c+0.115*c,0.115*c),a.curveTo(1.5*d*c+0.03*c,0.229*c,1.5*d*c,0.414*c,1.5*d*c+0.123*c,0.54*c),a.close(),a.fillAndStroke();d=mxUtils.getValue(this.style,mxShapeMockupRating.prototype.cst.EMPTY_FILL_COLOR,"#ffffff");a.setFillColor(d);if(b===mxShapeMockupRating.prototype.cst.RATING_STAR)for(d=f;d<g;d++)a.begin(),
  467. a.moveTo(1.5*d*c,0.33*c),a.lineTo(1.5*d*c+0.364*c,0.33*c),a.lineTo(1.5*d*c+0.475*c,0),a.lineTo(1.5*d*c+0.586*c,0.33*c),a.lineTo(1.5*d*c+0.95*c,0.33*c),a.lineTo(1.5*d*c+0.66*c,0.551*c),a.lineTo(1.5*d*c+0.775*c,0.9*c),a.lineTo(1.5*d*c+0.475*c,0.684*c),a.lineTo(1.5*d*c+0.175*c,0.9*c),a.lineTo(1.5*d*c+0.29*c,0.551*c),a.close(),a.fillAndStroke();else if(b===mxShapeMockupRating.prototype.cst.RATING_HEART)for(d=f;d<g;d++)a.begin(),a.moveTo(1.5*d*c+0.519*c,0.947*c),a.curveTo(1.5*d*c+0.558*c,0.908*c,1.5*d*
  468. c+0.778*c,0.682*c,1.5*d*c+0.916*c,0.54*c),a.curveTo(1.5*d*c+1.039*c,0.414*c,1.5*d*c+1.036*c,0.229*c,1.5*d*c+0.924*c,0.115*c),a.curveTo(1.5*d*c+0.812*c,0,1.5*d*c+0.631*c,0,1.5*d*c+0.519*c,0.115*c),a.curveTo(1.5*d*c+0.408*c,0,1.5*d*c+0.227*c,0,1.5*d*c+0.115*c,0.115*c),a.curveTo(1.5*d*c+0.03*c,0.229*c,1.5*d*c,0.414*c,1.5*d*c+0.123*c,0.54*c),a.close(),a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupRating.prototype.cst.SHAPE_RATING]=mxShapeMockupRating;
  469. function mxShapeMockupMail(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupMail,mxShape);mxShapeMockupMail.prototype.cst={SHAPE_MAIL:"mxgraph.mockup.misc.mail2"};mxShapeMockupMail.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();a.moveTo(0,0);a.lineTo(0.5*b,0.5*c);a.lineTo(b,0);a.stroke()};
  470. mxCellRenderer.prototype.defaultShapes[mxShapeMockupMail.prototype.cst.SHAPE_MAIL]=mxShapeMockupMail;function mxShapeMockupVolumeSlider(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.barPos=80}mxUtils.extend(mxShapeMockupVolumeSlider,mxShape);mxShapeMockupVolumeSlider.prototype.cst={SHAPE_VOLUME_SLIDER:"mxgraph.mockup.misc.volumeSlider",BAR_POS:"barPos",FILL_COLOR2:"fillColor2"};
  471. mxShapeMockupVolumeSlider.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);e=mxUtils.getValue(this.style,mxShapeMockupVolumeSlider.prototype.cst.BAR_POS,"80");d=mxUtils.getValue(this.style,mxShapeMockupVolumeSlider.prototype.cst.FILL_COLOR2,"#ddeeff");mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");e=Math.min(e,100);e=Math.max(e,0);c=Math.max(c,25);b=Math.max(b,87.5);var f=b-25,g=0.5*(c-25);a.begin();a.moveTo(f+1.25,g+8.75);a.lineTo(f+3.75,g+8.75);a.lineTo(f+7.5,
  472. g+5);a.lineTo(f+7.5,g+20);a.lineTo(f+3.75,g+16.25);a.lineTo(f+1.25,g+16.25);a.close();a.fill();f=0.5*(c-25);e=0+(b-32.5-0)*e/100;f=b-25;g=0.5*(c-25);a.begin();a.moveTo(f+10,g+8.75);a.arcTo(5,7.5,0,0,1,f+10,g+16.25);a.moveTo(f+10.625,g+6.25);a.arcTo(5.625,8.75,0,0,1,f+10.625,g+18.75);a.moveTo(f+12.5,g+5);a.arcTo(6.25,10,0,0,1,f+12.5,g+20);a.fillAndStroke();f=0.5*(c-25);a.roundrect(0,f+8.75,b-32.5,7.5,5,5);a.fill();a.setShadow(!1);a.setFillColor(d);a.roundrect(0,f+8.75,e,7.5,5,5);a.fill();a.ellipse(e-
  473. 6.25,f+6.25,12.5,12.5);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupVolumeSlider.prototype.cst.SHAPE_VOLUME_SLIDER]=mxShapeMockupVolumeSlider;
  474. Graph.handleFactory[mxShapeMockupVolumeSlider.prototype.cst.SHAPE_VOLUME_SLIDER]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"barPos",this.barPos))));return new mxPoint(a.x+e*(a.width-32.5)/100,a.y+0.5*a.height)},function(a,e){this.state.style.barPos=Math.round(1E3*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/1E3})]};
  475. function mxShapeMockupEdit(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupEdit,mxShape);mxShapeMockupEdit.prototype.cst={SHAPE_EDIT:"mxgraph.mockup.misc.editIcon"};
  476. mxShapeMockupEdit.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");a.translate(d,e);a.roundrect(0,0,b,c,0.05*b,0.05*c);a.fillAndStroke();a.setShadow(!1);a.setFillColor(f);a.begin();a.moveTo(0.11*b,0.8*c);a.lineTo(0.2*b,0.89*c);a.lineTo(0.05*b,0.95*c);a.close();a.moveTo(0.74*b,0.16*c);a.lineTo(0.84*b,0.26*c);a.lineTo(0.22*b,0.88*c);a.lineTo(0.12*b,0.78*c);a.close();a.moveTo(0.755*b,0.145*c);a.lineTo(0.82*b,0.08*c);a.lineTo(0.92*
  477. b,0.18*c);a.lineTo(0.855*b,0.245*c);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupEdit.prototype.cst.SHAPE_EDIT]=mxShapeMockupEdit;function mxShapeMockupPrint(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupPrint,mxShape);mxShapeMockupPrint.prototype.cst={SHAPE_PRINT:"mxgraph.mockup.misc.printIcon"};
  478. mxShapeMockupPrint.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");a.translate(d,e);a.roundrect(0,0,b,c,0.05*b,0.05*c);a.fillAndStroke();a.setShadow(!1);a.setFillColor(f);a.begin();a.moveTo(0.15*b,0.58*c);a.arcTo(0.03*b,0.03*c,0,0,1,0.18*b,0.55*c);a.lineTo(0.82*b,0.55*c);a.arcTo(0.03*b,0.03*c,0,0,1,0.85*b,0.58*c);a.lineTo(0.85*b,0.82*c);a.arcTo(0.03*b,0.03*c,0,0,1,0.82*b,0.85*c);a.lineTo(0.18*b,0.85*c);a.arcTo(0.03*b,0.03*c,
  479. 0,0,1,0.15*b,0.82*c);a.close();a.moveTo(0.7*b,0.52*c);a.lineTo(0.3*b,0.52*c);a.lineTo(0.3*b,0.15*c);a.lineTo(0.55*b,0.15*c);a.lineTo(0.55*b,0.3*c);a.lineTo(0.7*b,0.3*c);a.close();a.moveTo(0.57*b,0.15*c);a.lineTo(0.7*b,0.28*c);a.lineTo(0.57*b,0.28*c);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupPrint.prototype.cst.SHAPE_PRINT]=mxShapeMockupPrint;function mxShapeMockupShare(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  480. mxUtils.extend(mxShapeMockupShare,mxShape);mxShapeMockupShare.prototype.cst={SHAPE_SHARE:"mxgraph.mockup.misc.shareIcon"};
  481. mxShapeMockupShare.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");a.translate(d,e);a.roundrect(0,0,b,c,0.05*b,0.05*c);a.fillAndStroke();a.setShadow(!1);a.setFillColor(f);a.begin();a.moveTo(0.15*b,0.18*c);a.arcTo(0.03*b,0.03*c,0,0,1,0.18*b,0.15*c);a.lineTo(0.82*b,0.15*c);a.arcTo(0.03*b,0.03*c,0,0,1,0.85*b,0.18*c);a.lineTo(0.85*b,0.82*c);a.arcTo(0.03*b,0.03*c,0,0,1,0.82*b,0.85*c);a.lineTo(0.18*b,0.85*c);a.arcTo(0.03*b,0.03*c,
  482. 0,0,1,0.15*b,0.82*c);a.close();a.fill();d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");a.setFillColor(d);a.begin();a.moveTo(0.563*b,0.34*c);a.arcTo(0.095*b,0.095*c,0,1,1,0.603*b,0.42*c);a.lineTo(0.44*b,0.5*c);a.lineTo(0.602*b,0.582*c);a.arcTo(0.095*b,0.095*c,0,1,1,0.563*b,0.653*c);a.lineTo(0.403*b,0.575*c);a.arcTo(0.095*b,0.095*c,0,1,1,0.4*b,0.42*c);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupShare.prototype.cst.SHAPE_SHARE]=mxShapeMockupShare;
  483. function mxShapeMockupTrashcan(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupTrashcan,mxShape);mxShapeMockupTrashcan.prototype.cst={SHAPE_TRASHCAN:"mxgraph.mockup.misc.trashcanIcon"};
  484. mxShapeMockupTrashcan.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");a.translate(d,e);a.roundrect(0,0,b,c,0.05*b,0.05*c);a.fillAndStroke();a.setShadow(!1);a.setFillColor(f);a.begin();a.moveTo(0.24*b,0.24*c);a.arcTo(0.04*b,0.04*c,0,0,1,0.24*b,0.16*c);a.lineTo(0.4*b,0.16*c);a.lineTo(0.4*b,0.12*c);a.lineTo(0.6*b,0.12*c);a.lineTo(0.6*b,0.16*c);a.lineTo(0.76*b,0.16*c);a.arcTo(0.04*b,0.04*c,0,0,1,0.76*b,0.24*c);a.close();a.fill();
  485. a.roundrect(0.26*b,0.3*c,0.1*b,0.6*c,0.06*b,0.06*c);a.fill();a.roundrect(0.44*b,0.3*c,0.1*b,0.6*c,0.06*b,0.06*c);a.fill();a.roundrect(0.62*b,0.3*c,0.1*b,0.6*c,0.06*b,0.06*c);a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupTrashcan.prototype.cst.SHAPE_TRASHCAN]=mxShapeMockupTrashcan;function mxShapeMockupCopyright(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupCopyright,mxShape);
  486. mxShapeMockupCopyright.prototype.cst={SHAPE_COPYRIGHT:"mxgraph.mockup.misc.copyrightIcon"};mxShapeMockupCopyright.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");a.translate(d,e);a.ellipse(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.setFillColor(f);a.begin();a.moveTo(0.713*b,0.288*c);a.arcTo(0.3*b,0.3*c,0,1,0,0.713*b,0.712*c);a.lineTo(0.784*b,0.783*c);a.arcTo(0.4*b,0.4*c,0,1,1,0.784*b,0.217*c);a.close();a.fill()};
  487. mxCellRenderer.prototype.defaultShapes[mxShapeMockupCopyright.prototype.cst.SHAPE_COPYRIGHT]=mxShapeMockupCopyright;function mxShapeMockupRegistered(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRegistered,mxShape);mxShapeMockupRegistered.prototype.cst={SHAPE_REGISTERED:"mxgraph.mockup.misc.registeredIcon"};
  488. mxShapeMockupRegistered.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");a.translate(d,e);a.ellipse(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.setFillColor(f);a.begin();a.moveTo(0.29*b,0.9*c);a.lineTo(0.29*b,0.09*c);a.lineTo(0.5*b,0.09*c);a.arcTo(0.2195*b,0.2195*c,0,0,1,0.545*b,0.525*c);a.lineTo(0.738*b,0.91*c);a.lineTo(0.674*b,0.91*c);a.lineTo(0.4825*b,0.53*c);a.lineTo(0.35*b,0.53*c);a.lineTo(0.35*b,0.9*c);a.close();a.moveTo(0.35*
  489. b,0.47*c);a.lineTo(0.5*b,0.47*c);a.arcTo(0.15*b,0.15*c,0,0,0,0.5*b,0.15*c);a.lineTo(0.35*b,0.15*c);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupRegistered.prototype.cst.SHAPE_REGISTERED]=mxShapeMockupRegistered;function mxShapeMockupVolume(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupVolume,mxShape);mxShapeMockupVolume.prototype.cst={SHAPE_VOLUME:"mxgraph.mockup.misc.volumeIcon"};
  490. mxShapeMockupVolume.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#999999");a.translate(d,e);a.roundrect(0,0,b,c,0.05*b,0.05*c);a.fillAndStroke();a.setShadow(!1);a.setFillColor(f);a.begin();a.moveTo(0.1*b,0.3*c);a.lineTo(0.3*b,0.3*c);a.lineTo(0.5*b,0.15*c);a.lineTo(0.5*b,0.85*c);a.lineTo(0.3*b,0.7*c);a.lineTo(0.1*b,0.7*c);a.close();a.fill();a.begin();a.moveTo(0.6*b,0.4*c);a.arcTo(0.2*b,0.2*c,0,0,1,0.6*b,0.6*c);a.moveTo(0.7*b,0.3*c);
  491. a.arcTo(0.3*b,0.3*c,0,0,1,0.7*b,0.7*c);a.moveTo(0.8*b,0.2*c);a.arcTo(0.4*b,0.4*c,0,0,1,0.8*b,0.8*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupVolume.prototype.cst.SHAPE_VOLUME]=mxShapeMockupVolume;function mxShapeMockupRuler(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRuler,mxShape);
  492. mxShapeMockupRuler.prototype.cst={SHAPE_RULER:"mxgraph.mockup.misc.ruler",ORIENTATION:"rulerOrient",UNIT_SIZE:"unitSize",FACE_UP:"up",FACE_DOWN:"down"};mxShapeMockupRuler.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupRuler.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  493. mxShapeMockupRuler.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupRuler.prototype.cst.ORIENTATION,mxShapeMockupRuler.prototype.cst.FACE_DOWN),c=mxUtils.getValue(this.style,mxShapeMockupRuler.prototype.cst.UNIT_SIZE,"10"),f=c=Math.max(c,1),g=1;if(b===mxShapeMockupRuler.prototype.cst.FACE_DOWN){for(a.begin();f<d;)b=g%10,0===b?a.moveTo(f,0.5*e):5===b?a.moveTo(f,0.7*e):a.moveTo(f,0.8*e),a.lineTo(f,e),f+=c,g+=1;a.stroke()}else if(b===mxShapeMockupRuler.prototype.cst.FACE_UP){for(a.begin();f<
  494. d;)b=g%10,0===b?a.moveTo(f,0.5*e):5===b?a.moveTo(f,0.3*e):a.moveTo(f,0.2*e),a.lineTo(f,0),f+=c,g+=1;a.stroke()}};mxCellRenderer.prototype.defaultShapes[mxShapeMockupRuler.prototype.cst.SHAPE_RULER]=mxShapeMockupRuler;function mxShapeMockupRuler2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRuler2,mxShape);
  495. mxShapeMockupRuler2.prototype.cst={SHAPE_RULER:"mxgraph.mockup.misc.ruler2",ORIENTATION:"rulerOrient",UNIT_SIZE:"unitSize",FACE_UP:"up",FACE_DOWN:"down"};mxShapeMockupRuler2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupRuler2.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  496. mxShapeMockupRuler2.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupRuler2.prototype.cst.ORIENTATION,mxShapeMockupRuler2.prototype.cst.FACE_DOWN),c=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000"),f=mxUtils.getValue(this.style,"dx","100")/10,f=Math.max(f,1);a.setFontColor(c);var c=f,g=1;if(b===mxShapeMockupRuler2.prototype.cst.FACE_DOWN){for(a.begin();c<d;)b=g%10,0===b?(a.moveTo(c,e-10),a.lineTo(c,e),b=this.state.view.graph.getLabel(this.state.cell),
  497. isNaN(b)||(a.stroke(),b=g*Math.round(100*b)/1E3,10!=g&&0!=b&&a.text(c,0.5*(e-10),0,0,b.toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),a.begin())):(5===b?a.moveTo(c,e-6):a.moveTo(c,e-4),a.lineTo(c,e)),c+=f,g+=1;a.stroke()}else if(b===mxShapeMockupRuler2.prototype.cst.FACE_UP){for(a.begin();c<d;)b=g%10,0===b?(a.moveTo(c,10),a.lineTo(c,0),b=this.state.view.graph.getLabel(this.state.cell),isNaN(b)||(a.stroke(),b=g*Math.round(100*b)/1E3,10!=g&&0!=b&&a.text(c,0.5*(e+10),0,0,
  498. b.toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),a.begin())):(5===b?a.moveTo(c,6):a.moveTo(c,4),a.lineTo(c,0)),c+=f,g+=1;a.stroke()}};mxCellRenderer.prototype.defaultShapes[mxShapeMockupRuler2.prototype.cst.SHAPE_RULER]=mxShapeMockupRuler2;
  499. Graph.handleFactory[mxShapeMockupRuler2.prototype.cst.SHAPE_RULER]=function(a){return[Graph.createHandle(a,"dx spacingLeft align varticalAlign spacingBottom spacingTop spacingRight spacing".split(" "),function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx))));return new mxPoint(a.x+e,a.y+a.height-10)},function(a,e){this.state.style.dx=Math.round(1E3*Math.max(0,Math.min(a.width,e.x-a.x)))/1E3;this.state.style.spacingLeft=Math.round(1E3*Math.max(0,Math.min(a.width,
  500. e.x-a.x)))/1E3-4;this.state.style.align="left";this.state.style.verticalAlign="middle";"down"==mxUtils.getValue(this.state.style,"rulerOrient","1")?(this.state.style.spacingBottom=10,this.state.style.spacingTop=0,console.log("down")):(this.state.style.spacingBottom=0,this.state.style.spacingTop=10,console.log("up"));this.state.style.spacingRight=0;this.state.style.spacing=0})]};
  501. function mxShapeMockupRevisionTable(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRevisionTable,mxShape);mxShapeMockupRevisionTable.prototype.cst={SHAPE_REVISION_TABLE:"mxgraph.mockup.misc.revisionTable",MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize"};mxShapeMockupRevisionTable.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};
  502. mxShapeMockupRevisionTable.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  503. mxShapeMockupRevisionTable.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupRevisionTable.prototype.cst.MAIN_TEXT,"").toString().split(","),c=mxUtils.getValue(this.style,mxShapeMockupRevisionTable.prototype.cst.TEXT_COLOR,"#999999"),f=mxUtils.getValue(this.style,mxShapeMockupRevisionTable.prototype.cst.TEXT_SIZE,"17");a.begin();a.moveTo(0,0.33*e);a.lineTo(d,0.33*e);a.moveTo(0,0.67*e);a.lineTo(d,0.67*e);a.moveTo(0.125*d,0.33*e);a.lineTo(0.125*d,e);a.moveTo(0.5*d,
  504. 0.33*e);a.lineTo(0.5*d,e);a.stroke();a.setFontSize(f);a.setFontColor(c);a.text(0.5*d,0.165*e,0,0,b[0],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.0625*d,0.5*e,0,0,b[1],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.3125*d,0.5*e,0,0,b[2],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.75*d,0.5*e,0,0,b[3],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.0625*d,0.835*e,0,0,b[4],mxConstants.ALIGN_CENTER,
  505. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.3125*d,0.835*e,0,0,b[5],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.75*d,0.835*e,0,0,b[6],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupRevisionTable.prototype.cst.SHAPE_REVISION_TABLE]=mxShapeMockupRevisionTable;function mxShapeMockupStatusBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  506. mxUtils.extend(mxShapeMockupStatusBar,mxShape);mxShapeMockupStatusBar.prototype.cst={SHAPE_STATUS_BAR:"mxgraph.mockup.misc.statusBar",MAIN_TEXT:"mainText",FILL_COLOR2:"fillColor2",STROKE_COLOR2:"strokeColor2",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize"};mxShapeMockupStatusBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);b=Math.max(b,105);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};
  507. mxShapeMockupStatusBar.prototype.background=function(a,d,e){a.rect(0,0.5*e-15,d,30);a.fillAndStroke()};
  508. mxShapeMockupStatusBar.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupStatusBar.prototype.cst.FILL_COLOR2,"#ddeeff"),c=mxUtils.getValue(this.style,mxShapeMockupStatusBar.prototype.cst.STROKE_COLOR2,"#008cff"),f=mxUtils.getValue(this.style,mxShapeMockupStatusBar.prototype.cst.MAIN_TEXT,"").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupStatusBar.prototype.cst.TEXT_COLOR,"#999999"),h=mxUtils.getValue(this.style,mxShapeMockupStatusBar.prototype.cst.TEXT_SIZE,
  509. "17");a.setFillColor(b);a.roundrect(5,0.5*e-10,0.46*(d-75),20,5,5);a.fill();a.roundrect(10+0.46*(d-75),0.5*e-10,0.23*(d-75),20,5,5);a.fill();a.roundrect(15+0.69*(d-75),0.5*e-10,0.276*(d-75),20,5,5);a.fill();a.setFontSize(h);a.setFontColor(g);a.text(10,0.5*e,0,0,f[0],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(10+0.575*(d-75),0.5*e,0,0,f[1],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(15+0.828*(d-75),0.5*e,0,0,f[2],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  510. 0,null,0,0,0);a.setStrokeColor(c);a.ellipse(d-25,0.5*e-10,20,20);a.stroke();a.begin();a.moveTo(d-55,0.5*e+10);a.lineTo(d-35,0.5*e+10);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupStatusBar.prototype.cst.SHAPE_STATUS_BAR]=mxShapeMockupStatusBar;function mxShapeMockupPin(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupPin,mxShape);
  511. mxShapeMockupPin.prototype.cst={SHAPE_PIN:"mxgraph.mockup.misc.pin",FILL_COLOR2:"fillColor2",FILL_COLOR3:"fillColor3"};
  512. mxShapeMockupPin.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupPin.prototype.cst.FILL_COLOR2,"#000000"),g=mxUtils.getValue(this.style,mxShapeMockupPin.prototype.cst.FILL_COLOR3,"#000000"),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setShadow(!1);a.translate(d,e);a.setStrokeWidth(3);a.setStrokeColor("#666666");a.begin();a.moveTo(0.5*b,0.4*c);a.lineTo(0.5*b,c);a.stroke();a.setStrokeWidth(2);a.setStrokeColor(h);a.setGradient(f,
  513. g,0,0,b,0.4*c,mxConstants.DIRECTION_SOUTH,1,1);a.setAlpha(0.9);a.ellipse(0,0,b,0.4*c);a.fillAndStroke();a.setFillColor("#ffffff");a.setAlpha(0.5);a.ellipse(0.2*b,0.08*c,0.3*b,0.12*c);a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupPin.prototype.cst.SHAPE_PIN]=mxShapeMockupPin;function mxShapeMockupMiscRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupMiscRRect,mxShape);
  514. mxShapeMockupMiscRRect.prototype.cst={RRECT:"mxgraph.mockup.misc.rrect",R_SIZE:"rSize"};mxShapeMockupMiscRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupMiscRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupMiscRRect.prototype.cst.RRECT,mxShapeMockupMiscRRect);function mxShapeMockupMiscAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}
  515. mxUtils.extend(mxShapeMockupMiscAnchor,mxShape);mxShapeMockupMiscAnchor.prototype.cst={ANCHOR:"mxgraph.mockup.misc.anchor"};mxShapeMockupMiscAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeMockupMiscAnchor.prototype.cst.ANCHOR,mxShapeMockupMiscAnchor);function mxShapeMockupBreadcrumb(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupBreadcrumb,mxShape);
  516. mxShapeMockupBreadcrumb.prototype.cst={SHAPE_BREADCRUMB:"mxgraph.mockup.navigation.breadcrumb",MAIN_TEXT:"mainText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2"};
  517. mxShapeMockupBreadcrumb.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupBreadcrumb.prototype.cst.MAIN_TEXT,"Layer 1, Layer 2, Layer 3").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupBreadcrumb.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupBreadcrumb.prototype.cst.TEXT_COLOR2,"#008cff"),k=mxUtils.getValue(this.style,mxShapeMockupBreadcrumb.prototype.cst.TEXT_SIZE,"17").toString(),l=mxUtils.getValue(this.style,
  518. mxConstants.STYLE_STROKECOLOR,"#c4c4c4"),n=f.length,m=Array(n),p=0,q=0;q<n;q++)m[q]=mxUtils.getSizeForString(f[q],k,mxConstants.DEFAULT_FONTFAMILY).width,p+=m[q];c=Math.max(c,1.5*k,20);p=20*n+p;b=Math.max(b,p);a.translate(d,e);a.setShadow(!1);this.separators(a,b,c,n,m,10,p,l);for(q=d=0;q<n;q++)q+1===n?a.setFontColor(h):a.setFontColor(g),d+=10,this.buttonText(a,d,c,f[q],m[q],k,p,b),d=d+m[q]+10};
  519. mxShapeMockupBreadcrumb.prototype.separators=function(a,d,e,b,c,f,g,h){a.setStrokeColor(h);e*=0.5;a.begin();for(h=1;h<b;h++){for(var k=0,l=0;l<h;l++)k+=c[l]+2*f;k=k*d/g;a.moveTo(k-2.5,e-5);a.lineTo(k+2.5,e);a.lineTo(k-2.5,e+5)}a.stroke()};mxShapeMockupBreadcrumb.prototype.buttonText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(f);a.text((d+0.5*c)*h/g,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  520. mxCellRenderer.prototype.defaultShapes[mxShapeMockupBreadcrumb.prototype.cst.SHAPE_BREADCRUMB]=mxShapeMockupBreadcrumb;function mxShapeMockupStepBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupStepBar,mxShape);mxShapeMockupStepBar.prototype.cst={SHAPE_STEP_BAR:"mxgraph.mockup.navigation.stepBar",SELECTED:"+",MAIN_TEXT:"mainText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2"};
  521. mxShapeMockupStepBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupStepBar.prototype.cst.MAIN_TEXT,"Step 1, Step 2, Step 3").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupStepBar.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupStepBar.prototype.cst.TEXT_COLOR2,"#008cff"),k=mxUtils.getValue(this.style,mxShapeMockupStepBar.prototype.cst.TEXT_SIZE,"17").toString(),l=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,
  522. "#c4c4c4"),n=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#666666"),m=f.length,p=Array(m),q=0,t=-1,s=0;s<m;s++){var u=f[s];u.charAt(0)===mxShapeMockupStepBar.prototype.cst.SELECTED&&(u=f[s].substring(1),t=s);p[s]=mxUtils.getSizeForString(u,k,mxConstants.DEFAULT_FONTFAMILY).width;q+=p[s]}c=Math.max(c,1.5*k,20);q=20*m+q;b=Math.max(b,q);a.translate(d,e);this.stepLineBg(a,b,c,m,p,10,q,l,k,b);a.setShadow(!1);this.stepLineFg(a,b,c,m,p,10,q,l,n,h,k,b,t);for(s=d=0;s<m;s++)s>=t?a.setFontColor(g):
  523. a.setFontColor(l),d+=10,this.buttonText(a,d,c,f[s],p[s],k,q,b),d=d+p[s]+10};mxShapeMockupStepBar.prototype.stepLineBg=function(a,d,e,b,c,f,g,h,k,l){a.setStrokeColor(h);a.setFillColor(h);e=2*k;for(l=k=h=0;l<b;l++){for(var n=0,m=0;m<l;m++)n+=c[m]+2*f;n+=0.5*c[l]+f;n=n*d/g;0===l?h=n:l+1===b&&(k=n);a.begin();a.ellipse(n-10,e-10,20,20);a.fillAndStroke()}a.begin();a.rect(h,e-2,k-h,4);a.fillAndStroke()};
  524. mxShapeMockupStepBar.prototype.stepLineFg=function(a,d,e,b,c,f,g,h,k,l,n,m,p){a.setStrokeColor(k);e=2*n;n=b=0;m=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");for(var q=0;q<=p;q++){for(var t=0,s=0;s<q;s++)t+=c[s]+2*f;t+=0.5*c[q]+f;t=t*d/g;0===q?b=t:q===p&&(n=t)}a.setFillColor(k);a.begin();a.rect(b,e-1.125,n-b,2.25);a.fill();a.setFillColor(h);for(q=0;q<=p;q++){for(s=t=0;s<q;s++)t+=c[s]+2*f;t+=0.5*c[q]+f;t=t*d/g;q<p?(a.setStrokeWidth(m),a.begin(),a.ellipse(t-7.5,e-7.5,15,15),a.fillAndStroke(),
  525. a.setStrokeWidth(0.5*m),a.begin(),a.ellipse(t-4.5,e-4.5,9,9)):(a.setStrokeWidth(m),a.setFillColor(h),a.setStrokeColor(h),a.begin(),a.ellipse(t-10,e-10,20,20),a.fillAndStroke(),a.setStrokeWidth(m),a.setFillColor("#ffffff"),a.setStrokeColor("#ffffff"),a.begin(),a.ellipse(t-7.5,e-7.5,15,15),a.fillAndStroke(),a.setFillColor(l),a.setStrokeColor(l),a.setStrokeWidth(0.5*m),a.begin(),a.ellipse(t-5.25,e-5.25,10.5,10.5));a.fillAndStroke()}};
  526. mxShapeMockupStepBar.prototype.buttonText=function(a,d,e,b,c,f,g,h){b.charAt(0)===mxShapeMockupStepBar.prototype.cst.SELECTED&&(b=b.substring(1));a.begin();a.setFontSize(f);a.text((d+0.5*c)*h/g,0.5*f,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupStepBar.prototype.cst.SHAPE_STEP_BAR]=mxShapeMockupStepBar;
  527. function mxShapeMockupCoverFlow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupCoverFlow,mxShape);mxShapeMockupCoverFlow.prototype.cst={SHAPE_COVER_FLOW:"mxgraph.mockup.navigation.coverFlow"};
  528. mxShapeMockupCoverFlow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0.0924*b,0.07*c);a.lineTo(0.005*b,0.01*c);a.lineTo(0.005*b,0.99*c);a.lineTo(0.0924*b,0.93*c);a.moveTo(0.1774*b,0.09*c);a.lineTo(0.0924*b,0.01*c);a.lineTo(0.0924*b,0.99*c);a.lineTo(0.1774*b,0.91*c);a.moveTo(0.3373*b,0.22*c);a.lineTo(0.1774*b,0.01*c);a.lineTo(0.1774*b,0.99*c);a.lineTo(0.3373*b,0.78*c);a.moveTo(0.912*b,0.07*c);a.lineTo(0.998*b,0.01*c);a.lineTo(0.998*b,0.99*c);a.lineTo(0.912*b,0.93*
  529. c);a.moveTo(0.8271*b,0.09*c);a.lineTo(0.912*b,0.01*c);a.lineTo(0.912*b,0.99*c);a.lineTo(0.8271*b,0.91*c);a.moveTo(0.6672*b,0.22*c);a.lineTo(0.8271*b,0.01*c);a.lineTo(0.8271*b,0.99*c);a.lineTo(0.6672*b,0.78*c);a.moveTo(0.3373*b,0.005*c);a.lineTo(0.3373*b,0.995*c);a.lineTo(0.6672*b,0.995*c);a.lineTo(0.6672*b,0.005*c);a.close();a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupCoverFlow.prototype.cst.SHAPE_COVER_FLOW]=mxShapeMockupCoverFlow;
  530. function mxShapeMockupScrollBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupScrollBar,mxShape);mxShapeMockupScrollBar.prototype.cst={SHAPE_SCROLL_BAR:"mxgraph.mockup.navigation.scrollBar",FILL_COLOR2:"fillColor2",STROKE_COLOR2:"strokeColor2",BAR_POS:"barPos"};
  531. mxShapeMockupScrollBar.prototype.paintVertexShape=function(a,d,e,b,c){c=20;b=Math.max(b,40);a.translate(d,e);this.background(a,b,c,20);a.setShadow(!1);this.foreground(a,b,c,20);this.barPos=20};mxShapeMockupScrollBar.prototype.background=function(a,d,e,b){a.rect(0,0,d,e);a.fillAndStroke();a.begin();a.moveTo(b,0);a.lineTo(b,e);a.moveTo(d-b,0);a.lineTo(d-b,e);a.stroke()};
  532. mxShapeMockupScrollBar.prototype.foreground=function(a,d,e,b){var c=mxUtils.getValue(this.style,mxShapeMockupScrollBar.prototype.cst.BAR_POS,"20"),f=mxUtils.getValue(this.style,mxShapeMockupScrollBar.prototype.cst.FILL_COLOR2,"#99ddff"),g=mxUtils.getValue(this.style,mxShapeMockupScrollBar.prototype.cst.STROKE_COLOR2,"none"),c=Math.max(0,c),c=Math.min(100,c);a.setStrokeColor(g);a.setFillColor(f);a.begin();a.moveTo(0.2*b,0.5*e);a.lineTo(0.8*b,0.2*e);a.lineTo(0.8*b,0.8*e);a.close();a.moveTo(d-0.2*b,
  533. 0.5*e);a.lineTo(d-0.8*b,0.2*e);a.lineTo(d-0.8*b,0.8*e);a.close();a.fillAndStroke();f=d-b;d=Math.min(60,f-b);a.roundrect(b+(f-d/2-(b+d/2))*c/100,0.15*e,d,0.7*e,5,5);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupScrollBar.prototype.cst.SHAPE_SCROLL_BAR]=mxShapeMockupScrollBar;
  534. Graph.handleFactory[mxShapeMockupScrollBar.prototype.cst.SHAPE_SCROLL_BAR]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"barPos",this.barPos))));return new mxPoint(a.x+(a.width-100)*e/a.width/100*a.width+50,a.y+10)},function(a,e){this.state.style.barPos=Math.round(1E3*Math.max(0,Math.min(100,100*(e.x-a.x-50)/(a.width-100))))/1E3})]};
  535. function mxShapeMockupPagination(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupPagination,mxShape);mxShapeMockupPagination.prototype.cst={MAIN_TEXT:"linkText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",SHAPE_PAGINATION:"mxgraph.mockup.navigation.pagination"};
  536. mxShapeMockupPagination.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupPagination.prototype.cst.MAIN_TEXT,"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"),g=mxUtils.getValue(this.style,mxShapeMockupPagination.prototype.cst.TEXT_SIZE,"17"),h=mxUtils.getValue(this.style,mxShapeMockupPagination.prototype.cst.TEXT_COLOR,"#0000ff");a.translate(d,e);d=mxUtils.getSizeForString(f,g,mxConstants.DEFAULT_FONTFAMILY).width;a.setStrokeColor(h);a.setFontSize(g);
  537. a.setFontColor(h);a.text(0.5*b,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.begin();a.moveTo(0.5*b-0.5*d,0.5*(c+parseInt(g,10)));a.lineTo(0.5*b+0.5*d,0.5*(c+parseInt(g,10)));a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupPagination.prototype.cst.SHAPE_PAGINATION]=mxShapeMockupPagination;function mxShapeMockupPageControl(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  538. mxUtils.extend(mxShapeMockupPageControl,mxShape);mxShapeMockupPageControl.prototype.cst={SHAPE_PAGE_CONTROL:"mxgraph.mockup.navigation.pageControl"};
  539. mxShapeMockupPageControl.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#000000");e=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");var f=Math.min(0.5*c,0.05*b);a.setFillColor(e);a.ellipse(0,0.5*c-f,2*f,2*f);a.fill();a.setFillColor(d);a.ellipse(0.35*b-f,0.5*c-f,2*f,2*f);a.fill();a.ellipse(0.65*b-f,0.5*c-f,2*f,2*f);a.fill();a.ellipse(b-2*f,0.5*c-f,2*f,2*f);a.fill()};
  540. mxCellRenderer.prototype.defaultShapes[mxShapeMockupPageControl.prototype.cst.SHAPE_PAGE_CONTROL]=mxShapeMockupPageControl;function mxShapeMockupMapNavigator(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupMapNavigator,mxShape);mxShapeMockupMapNavigator.prototype.cst={SHAPE_MAP_NAVIGATOR:"mxgraph.mockup.navigation.mapNavigator",FILL_COLOR2:"fillColor2",STROKE_COLOR2:"strokeColor2",STROKE_COLOR3:"strokeColor3"};
  541. mxShapeMockupMapNavigator.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupMapNavigator.prototype.background=function(a,d,e){a.ellipse(0,0,d,0.6*e);a.fillAndStroke();a.begin();a.moveTo(0.35*d,0.584*e);a.lineTo(0.35*d,0.95*e);a.arcTo(0.083*d,0.05*e,0,0,0,0.43*d,e);a.lineTo(0.56*d,e);a.arcTo(0.083*d,0.05*e,0,0,0,0.65*d,0.95*e);a.lineTo(0.65*d,0.584*e);a.fillAndStroke()};
  542. mxShapeMockupMapNavigator.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupMapNavigator.prototype.cst.FILL_COLOR2,"#99ddff"),c=mxUtils.getValue(this.style,mxShapeMockupMapNavigator.prototype.cst.STROKE_COLOR2,"none"),f=mxUtils.getValue(this.style,mxShapeMockupMapNavigator.prototype.cst.STROKE_COLOR3,"#ffffff");a.setFillColor(b);a.setStrokeColor(c);a.ellipse(0.4*d,0.65*e,0.2*d,0.12*e);a.fillAndStroke();a.ellipse(0.4*d,0.85*e,0.2*d,0.12*e);a.fillAndStroke();a.begin();
  543. a.moveTo(0.1806*d,0.34*e);a.lineTo(0.1357*d,0.366*e);a.lineTo(0.0228*d,0.3*e);a.lineTo(0.1357*d,0.234*e);a.lineTo(0.1806*d,0.26*e);a.lineTo(0.1142*d,0.3*e);a.close();a.fillAndStroke();a.begin();a.moveTo(0.433*d,0.108*e);a.lineTo(0.3881*d,0.08*e);a.lineTo(0.4994*d,0.012*e);a.lineTo(0.6123*d,0.08*e);a.lineTo(0.5658*d,0.108*e);a.lineTo(0.4994*d,0.068*e);a.close();a.fillAndStroke();a.begin();a.moveTo(0.8198*d,0.262*e);a.lineTo(0.868*d,0.233*e);a.lineTo(0.9776*d,0.3*e);a.lineTo(0.868*d,0.367*e);a.lineTo(0.8198*
  544. d,0.341*e);a.lineTo(0.8863*d,0.3*e);a.close();a.fillAndStroke();a.begin();a.moveTo(0.5641*d,0.493*e);a.lineTo(0.6123*d,0.522*e);a.lineTo(0.4994*d,0.588*e);a.lineTo(0.3881*d,0.521*e);a.lineTo(0.4363*d,0.493*e);a.lineTo(0.4994*d,0.533*e);a.close();a.fillAndStroke();a.begin();a.moveTo(0.3333*d,0.32*e);a.lineTo(0.3333*d,0.28*e);a.lineTo(0.4163*d,0.3*e);a.close();a.moveTo(0.4662*d,0.2*e);a.lineTo(0.5326*d,0.2*e);a.lineTo(0.4994*d,0.25*e);a.close();a.moveTo(0.6654*d,0.28*e);a.lineTo(0.6654*d,0.32*e);a.lineTo(0.5824*
  545. d,0.3*e);a.close();a.moveTo(0.5326*d,0.4*e);a.lineTo(0.4662*d,0.4*e);a.lineTo(0.4994*d,0.35*e);a.close();a.fillAndStroke();a.setStrokeWidth(2);a.setStrokeColor(f);a.begin();a.moveTo(0.5*d,0.67*e);a.lineTo(0.5*d,0.75*e);a.moveTo(0.43*d,0.71*e);a.lineTo(0.57*d,0.71*e);a.moveTo(0.43*d,0.91*e);a.lineTo(0.57*d,0.91*e);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupMapNavigator.prototype.cst.SHAPE_MAP_NAVIGATOR]=mxShapeMockupMapNavigator;
  546. function mxShapeMockupNavigationAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeMockupNavigationAnchor,mxShape);mxShapeMockupNavigationAnchor.prototype.cst={ANCHOR:"mxgraph.mockup.navigation.anchor"};mxShapeMockupNavigationAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeMockupNavigationAnchor.prototype.cst.ANCHOR,mxShapeMockupNavigationAnchor);
  547. function mxShapeMockupLink(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupLink,mxShape);mxShapeMockupLink.prototype.cst={LINK_TEXT:"linkText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",SHAPE_LINK:"mxgraph.mockup.text.link"};
  548. mxShapeMockupLink.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupLink.prototype.cst.LINK_TEXT,"Link"),g=mxUtils.getValue(this.style,mxShapeMockupLink.prototype.cst.TEXT_SIZE,"17"),h=mxUtils.getValue(this.style,mxShapeMockupLink.prototype.cst.TEXT_COLOR,"#0000ff");a.translate(d,e);d=mxUtils.getSizeForString(f,g,mxConstants.DEFAULT_FONTFAMILY).width;a.setStrokeColor(h);a.setFontSize(g);a.setFontColor(h);a.text(0.5*b,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,
  549. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.begin();a.moveTo(0.5*b-0.5*d,0.5*(c+parseInt(g,10)));a.lineTo(0.5*b+0.5*d,0.5*(c+parseInt(g,10)));a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupLink.prototype.cst.SHAPE_LINK]=mxShapeMockupLink;function mxShapeMockupLinkBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupLinkBar,mxShape);
  550. mxShapeMockupLinkBar.prototype.cst={MAIN_TEXT:"mainText",SHAPE_LINK_BAR:"mxgraph.mockup.text.linkBar",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2",STROKE_COLOR2:"strokeColor2",FILL_COLOR2:"fillColor2",SELECTED:"+",TEXT_SIZE:"textSize"};
  551. mxShapeMockupLinkBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeMockupLinkBar.prototype.cst.MAIN_TEXT,"+Button 1, Button 2, Button 3").toString().split(","),g=mxUtils.getValue(this.style,mxShapeMockupLinkBar.prototype.cst.TEXT_COLOR,"#666666"),h=mxUtils.getValue(this.style,mxShapeMockupLinkBar.prototype.cst.TEXT_COLOR2,"#ffffff"),k=mxUtils.getValue(this.style,mxShapeMockupLinkBar.prototype.cst.TEXT_SIZE,"17").toString(),l=mxUtils.getValue(this.style,
  552. mxConstants.STYLE_STROKECOLOR,"#666666"),n=mxUtils.getValue(this.style,mxShapeMockupLinkBar.prototype.cst.STROKE_COLOR2,"#c4c4c4"),m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),p=mxUtils.getValue(this.style,mxShapeMockupLinkBar.prototype.cst.FILL_COLOR2,"#008cff"),q=f.length,t=Array(q),s=0,u=-1,r=0;r<q;r++){var v=f[r];v.charAt(0)===mxShapeMockupLinkBar.prototype.cst.SELECTED&&(v=f[r].substring(1),u=r);v=mxUtils.getSizeForString(v,k,mxConstants.DEFAULT_FONTFAMILY).width;t[r]=
  553. 0===v?42:v;s+=t[r]}c=Math.max(c,1.5*k,20);s=10*q+s;b=Math.max(b,s);a.translate(d,e);this.background(a,b,c,10,q,t,5,s,l,n,m,p,u);a.setShadow(!1);for(r=d=0;r<q;r++)r===u?(a.setFontColor(h),a.setStrokeColor(h)):(a.setFontColor(g),a.setStrokeColor(g)),d+=5,this.buttonText(a,d,c,f[r],t[r],k,s,b),d=d+t[r]+5};
  554. mxShapeMockupLinkBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m,p){a.begin();a.setStrokeColor(k);a.setFillColor(n);a.rect(0,0,d,e);a.fillAndStroke();a.setStrokeColor(l);a.begin();for(b=1;b<c;b++)if(b!==p&&b!==p+1){for(var q=l=0;q<b;q++)l+=f[q]+2*g;l=l*d/h;a.moveTo(l,0);a.lineTo(l,e)}a.stroke();l=0;a.setFillColor(m);for(b=0;b<p;b++)l+=f[b]+2*g;l=l*d/h;f=(f[p]+2*g)*d/h;f+=l;0===p?(a.rect(0,0,f,e),a.fill()):p===c-1?(a.rect(l,0,f-l,e),a.fill()):-1!==p&&(a.rect(l,0,f-l,e),a.fill());a.setStrokeColor(k);
  555. a.setFillColor(n);a.rect(0,0,d,e);a.stroke()};mxShapeMockupLinkBar.prototype.buttonText=function(a,d,e,b,c,f,g,h){b.charAt(0)===mxShapeMockupLinkBar.prototype.cst.SELECTED&&(b=b.substring(1));a.begin();a.setFontSize(f);a.text((d+0.5*c)*h/g,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);var k=0.5*mxUtils.getSizeForString(b,f,mxConstants.DEFAULT_FONTFAMILY).width;null!==b&&""!==b&&(a.begin(),a.moveTo((d+0.5*c)*h/g-k,0.5*e+0.5*f),a.lineTo((d+0.5*c)*h/g+k,0.5*e+0.5*f),a.stroke())};
  556. mxCellRenderer.prototype.defaultShapes[mxShapeMockupLinkBar.prototype.cst.SHAPE_LINK_BAR]=mxShapeMockupLinkBar;function mxShapeMockupCallout(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupCallout,mxShape);
  557. mxShapeMockupCallout.prototype.cst={CALLOUT_TEXT:"linkText",CALLOUT_DIR:"callDir",CALLOUT_STYLE:"callStyle",STYLE_LINE:"line",STYLE_RECT:"rect",STYLE_ROUNDRECT:"roundRect",DIR_NW:"NW",DIR_NE:"NE",DIR_SE:"SE",DIR_SW:"SW",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",SHAPE_CALLOUT:"mxgraph.mockup.text.callout"};
  558. mxShapeMockupCallout.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupCallout.prototype.cst.CALLOUT_TEXT,"Callout"),g=mxUtils.getValue(this.style,mxShapeMockupCallout.prototype.cst.TEXT_SIZE,"17"),h=mxUtils.getValue(this.style,mxShapeMockupCallout.prototype.cst.TEXT_COLOR,"#666666"),k=mxUtils.getValue(this.style,mxShapeMockupCallout.prototype.cst.CALLOUT_STYLE,mxShapeMockupCallout.prototype.cst.STYLE_LINE),l=mxUtils.getValue(this.style,mxShapeMockupCallout.prototype.cst.CALLOUT_DIR,
  559. mxShapeMockupCallout.prototype.cst.DIR_NW),n=mxUtils.getSizeForString(f,g,mxConstants.DEFAULT_FONTFAMILY).width,n=1.2*n;0==n&&(n=70);a.translate(d,e);a.setFontSize(g);a.setFontColor(h);d=1.5*g;l===mxShapeMockupCallout.prototype.cst.DIR_NW?(k===mxShapeMockupCallout.prototype.cst.STYLE_LINE?(a.begin(),a.moveTo(0,d),a.lineTo(n,d),a.lineTo(b,c),a.stroke()):k===mxShapeMockupCallout.prototype.cst.STYLE_RECT?(a.rect(0,0,n,d),a.fillAndStroke(),a.begin(),a.moveTo(0.5*n,d),a.lineTo(b,c),a.stroke()):k===mxShapeMockupCallout.prototype.cst.STYLE_ROUNDRECT&&
  560. (a.roundrect(0,0,n,d,0.25*d,0.25*d),a.fillAndStroke(),a.begin(),a.moveTo(0.5*n,d),a.lineTo(b,c),a.stroke()),a.text(0.5*n,0.5*d,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)):l===mxShapeMockupCallout.prototype.cst.DIR_NE?(k===mxShapeMockupCallout.prototype.cst.STYLE_LINE?(a.begin(),a.moveTo(b,d),a.lineTo(b-n,d),a.lineTo(0,c),a.stroke()):k===mxShapeMockupCallout.prototype.cst.STYLE_RECT?(a.rect(b-n,0,n,d),a.fillAndStroke(),a.begin(),a.moveTo(b-0.5*n,d),a.lineTo(0,c),a.stroke()):
  561. k===mxShapeMockupCallout.prototype.cst.STYLE_ROUNDRECT&&(a.roundrect(b-n,0,n,d,0.25*d,0.25*d),a.fillAndStroke(),a.begin(),a.moveTo(b-0.5*n,d),a.lineTo(0,c),a.stroke()),a.text(b-0.5*n,0.5*d,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)):l===mxShapeMockupCallout.prototype.cst.DIR_SE?(k===mxShapeMockupCallout.prototype.cst.STYLE_LINE?(a.begin(),a.moveTo(b,c),a.lineTo(b-n,c),a.lineTo(0,0),a.stroke()):k===mxShapeMockupCallout.prototype.cst.STYLE_RECT?(a.rect(b-n,c-d,n,d),a.fillAndStroke(),
  562. a.begin(),a.moveTo(b-0.5*n,c-d),a.lineTo(0,0),a.stroke()):k===mxShapeMockupCallout.prototype.cst.STYLE_ROUNDRECT&&(a.roundrect(b-n,c-d,n,d,0.25*d,0.25*d),a.fillAndStroke(),a.begin(),a.moveTo(b-0.5*n,c-d),a.lineTo(0,0),a.stroke()),a.text(b-0.5*n,c-0.5*d,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)):l===mxShapeMockupCallout.prototype.cst.DIR_SW&&(k===mxShapeMockupCallout.prototype.cst.STYLE_LINE?(a.begin(),a.moveTo(0,c),a.lineTo(n,c),a.lineTo(b,0),a.stroke()):k===mxShapeMockupCallout.prototype.cst.STYLE_RECT?
  563. (a.rect(0,c-d,n,d),a.fillAndStroke(),a.begin(),a.moveTo(0.5*n,c-d),a.lineTo(b,0),a.stroke()):k===mxShapeMockupCallout.prototype.cst.STYLE_ROUNDRECT&&(a.roundrect(0,c-d,n,d,0.25*d,0.25*d),a.fillAndStroke(),a.begin(),a.moveTo(0.5*n,c-d),a.lineTo(b,0),a.stroke()),a.text(0.5*n,c-0.5*d,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0))};mxCellRenderer.prototype.defaultShapes[mxShapeMockupCallout.prototype.cst.SHAPE_CALLOUT]=mxShapeMockupCallout;
  564. function mxShapeMockupStickyNote(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupStickyNote,mxShape);mxShapeMockupStickyNote.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",SHAPE_STICKY_NOTE:"mxgraph.mockup.text.stickyNote"};mxShapeMockupStickyNote.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};
  565. mxShapeMockupStickyNote.prototype.background=function(a,d,e){a.setFillColor("#ffffcc");a.begin();a.moveTo(0.03*d,0.07*e);a.lineTo(0.89*d,0.06*e);a.arcTo(2.81*d,2.92*e,1,0,0,0.99*d,0.98*e);a.lineTo(0.09*d,0.99*e);a.arcTo(2.81*d,2.92*e,1,0,1,0.03*d,0.07*e);a.close();a.fill()};
  566. mxShapeMockupStickyNote.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupStickyNote.prototype.cst.MAIN_TEXT,"Note line 1,Note line 2,Note line 3").toString().split(","),c=mxUtils.getValue(this.style,mxShapeMockupStickyNote.prototype.cst.TEXT_COLOR,"#666666").toString(),f=mxUtils.getValue(this.style,mxShapeMockupStickyNote.prototype.cst.TEXT_SIZE,"17").toString();a.setFillColor("#ff3300");a.begin();a.moveTo(0.28*d,0);a.lineTo(0.59*d,0);a.lineTo(0.6*d,0.12*e);a.lineTo(0.28*
  567. d,0.13*e);a.close();a.fill();a.setFontSize(f);a.setFontColor(c);for(var c=1.5*b.length*f,g=0;g<b.length;g++)a.text(d/2,(e-c)/2+1.5*g*f+0.75*f,0,0,b[g],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeMockupStickyNote.prototype.cst.SHAPE_STICKY_NOTE]=mxShapeMockupStickyNote;function mxShapeMockupBulletedList(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  568. mxUtils.extend(mxShapeMockupBulletedList,mxShape);mxShapeMockupBulletedList.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",BULLET_STYLE:"bulletStyle",STYLE_HYPHEN:"hyphen",STYLE_NUM:"number",STYLE_DOT:"dot",SHAPE_BULLETED_LIST:"mxgraph.mockup.text.bulletedList"};mxShapeMockupBulletedList.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};
  569. mxShapeMockupBulletedList.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  570. mxShapeMockupBulletedList.prototype.foreground=function(a,d,e){d=mxUtils.getValue(this.style,mxShapeMockupBulletedList.prototype.cst.MAIN_TEXT,"Note line 1,Note line 2,Note line 3").toString().split(",");var b=mxUtils.getValue(this.style,mxShapeMockupBulletedList.prototype.cst.TEXT_COLOR,"#666666");e=mxUtils.getValue(this.style,mxShapeMockupBulletedList.prototype.cst.TEXT_SIZE,"17");var c=mxUtils.getValue(this.style,mxShapeMockupBulletedList.prototype.cst.BULLET_STYLE,"none");a.setFontColor(b);a.setFontSize(e);
  571. for(b=0;b<d.length;b++){var f="",f=c===mxShapeMockupBulletedList.prototype.cst.STYLE_NUM?b+1+") "+d[b]:c===mxShapeMockupBulletedList.prototype.cst.STYLE_HYPHEN?"- "+d[b]:c===mxShapeMockupBulletedList.prototype.cst.STYLE_DOT?String.fromCharCode(8226)+" "+d[b]:" "+d[b];a.text(10,1.5*b*e+0.75*e,0,0,f,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)}};mxCellRenderer.prototype.defaultShapes[mxShapeMockupBulletedList.prototype.cst.SHAPE_BULLETED_LIST]=mxShapeMockupBulletedList;
  572. function mxShapeMockupTextBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupTextBox,mxShape);mxShapeMockupTextBox.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",SHAPE_TEXT_BOX:"mxgraph.mockup.text.textBox"};mxShapeMockupTextBox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};
  573. mxShapeMockupTextBox.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  574. mxShapeMockupTextBox.prototype.foreground=function(a,d,e){d=mxUtils.getValue(this.style,mxShapeMockupTextBox.prototype.cst.MAIN_TEXT,"Note line 1").toString().split(",");var b=mxUtils.getValue(this.style,mxShapeMockupTextBox.prototype.cst.TEXT_COLOR,"#666666");e=mxUtils.getValue(this.style,mxShapeMockupTextBox.prototype.cst.TEXT_SIZE,"17");a.setFontColor(b);a.setFontSize(e);for(b=0;b<d.length;b++)a.text(5,1.5*b*e+0.75*e,0,0,d[b],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  575. mxCellRenderer.prototype.defaultShapes[mxShapeMockupTextBox.prototype.cst.SHAPE_TEXT_BOX]=mxShapeMockupTextBox;function mxShapeMockupCaptcha(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupCaptcha,mxShape);mxShapeMockupCaptcha.prototype.cst={MAIN_TEXT:"mainText",TEXT_COLOR:"textColor",TEXT_SIZE:"textSize",SHAPE_CAPTCHA:"mxgraph.mockup.text.captcha"};
  576. mxShapeMockupCaptcha.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxShapeMockupCaptcha.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  577. mxShapeMockupCaptcha.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxShapeMockupCaptcha.prototype.cst.MAIN_TEXT,"Note line 1"),c=mxUtils.getValue(this.style,mxShapeMockupCaptcha.prototype.cst.TEXT_COLOR,"#666666"),f=mxUtils.getValue(this.style,mxShapeMockupCaptcha.prototype.cst.TEXT_SIZE,"25");a.setFillColor("#88aaff");a.begin();a.moveTo(0,0);a.lineTo(0.35*d,0);a.lineTo(0.55*d,0.85*e);a.lineTo(0.4*d,0.75*e);a.close();a.fill();a.begin();a.moveTo(0.7*d,0.1*e);a.lineTo(0.95*
  578. d,0.23*e);a.lineTo(d,0.4*e);a.lineTo(d,0.9*e);a.lineTo(d,e);a.lineTo(0.8*d,e);a.close();a.fill();a.setFontColor(c);a.setFontSize(f);a.text(0.5*d,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.rect(0,0,d,e);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupCaptcha.prototype.cst.SHAPE_CAPTCHA]=mxShapeMockupCaptcha;function mxShapeMockupAlphanumeric(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  579. mxUtils.extend(mxShapeMockupAlphanumeric,mxShape);mxShapeMockupAlphanumeric.prototype.cst={MAIN_TEXT:"linkText",TEXT_SIZE:"textSize",TEXT_COLOR:"textColor",SHAPE_ALPHANUMERIC:"mxgraph.mockup.text.alphanumeric"};
  580. mxShapeMockupAlphanumeric.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeMockupAlphanumeric.prototype.cst.MAIN_TEXT,"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"),g=mxUtils.getValue(this.style,mxShapeMockupAlphanumeric.prototype.cst.TEXT_SIZE,"17"),h=mxUtils.getValue(this.style,mxShapeMockupAlphanumeric.prototype.cst.TEXT_COLOR,"#0000ff");a.translate(d,e);d=mxUtils.getSizeForString(f,g,mxConstants.DEFAULT_FONTFAMILY).width;a.setStrokeColor(h);a.setFontSize(g);
  581. a.setFontColor(h);a.text(0.5*b,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.begin();a.moveTo(0.5*b-0.5*d,0.5*(c+parseInt(g,10)));a.lineTo(0.5*b+0.5*d,0.5*(c+parseInt(g,10)));a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupAlphanumeric.prototype.cst.SHAPE_ALPHANUMERIC]=mxShapeMockupAlphanumeric;function mxShapeMockupTextRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  582. mxUtils.extend(mxShapeMockupTextRRect,mxShape);mxShapeMockupTextRRect.prototype.cst={RRECT:"mxgraph.mockup.text.rrect",R_SIZE:"rSize"};mxShapeMockupTextRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupTextRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupTextRRect.prototype.cst.RRECT,mxShapeMockupTextRRect);
  583. var mxMockupC={BAR_HEIGHT:"barHeight",BAR_POS:"barPos",BG_STYLE:"bgStyle",BG_FLAT_GREEN:"bgGreen",BG_FLAT_WHITE:"bgWhite",BG_FLAT_GRAY:"bgGray",BG_FLAT_CUSTOM:"bgFlat",BG_MAP:"bgMap",BG_STRIPED:"bgStriped",BUTTON_STYLE:"buttonStyle",BUTTON_TEXT:"buttonText",BUTTON_STATE:"buttonState",CHEVRON:"chevron",GRID_SIZE:"gridSize",POINTER_BOTTOM:"bottom",POINTER_POS:"pointerPos",POINTER_TOP:"top",ROUND:"round",SELECTED:"+",STATE_ON:"on",STATE_OFF:"off",SUB_TEXT:"subText",SHAPE_IADD_ICON:"mxgraph.ios.iAddIcon",
  584. SHAPE_IALERT_BOX:"mxgraph.ios.iAlertBox",SHAPE_IALPHA_LIST:"mxgraph.ios.iAlphaList",SHAPE_IAPP_BAR:"mxgraph.ios.iAppBar",SHAPE_IARROW_ICON:"mxgraph.ios.iArrowIcon",SHAPE_IBG_FLAT:"mxgraph.ios.iBgFlat",SHAPE_IBG_MAP:"mxgraph.ios.iBgMap",SHAPE_IBG_STRIPED:"mxgraph.ios.iBgStriped",SHAPE_IBUTTON:"mxgraph.ios.iButton",SHAPE_IBUTTON_BACK:"mxgraph.ios.iButtonBack",SHAPE_IBUTTON_FORWARD:"mxgraph.ios.iButtonFw",SHAPE_IBUTTON_BAR:"mxgraph.ios.iButtonBar",SHAPE_ICALL_BUTTONS:"mxgraph.ios.iCallButtons",SHAPE_ICALL_DIALOG:"mxgraph.ios.iCallDialog",
  585. SHAPE_ICHECKBOX_GROUP:"mxgraph.ios.iCheckboxGroup",SHAPE_ICHECK_ICON:"mxgraph.ios.iCheckIcon",SHAPE_ICLOUD_PROGRESS_BAR:"mxgraph.ios.iCloudProgressBar",SHAPE_ICOMBO_BOX:"mxgraph.ios.iComboBox",SHAPE_ICOPY:"mxgraph.ios.iCopy",SHAPE_ICOPY_AREA:"mxgraph.ios.iCopyArea",SHAPE_IICON_GRID:"mxgraph.ios.iIconGrid",SHAPE_IDELETE_APP:"mxgraph.ios.iDeleteApp",SHAPE_IDELETE_ICON:"mxgraph.ios.iDeleteIcon",SHAPE_IDOWNLOAD_BAR:"mxgraph.ios.iDownloadBar",SHAPE_IDIALOG_BOX:"mxgraph.ios.iDialogBox",SHAPE_IDIRECTION:"mxgraph.ios.iDir",
  586. SHAPE_IHOME_PAGE_CONTROL:"mxgraph.ios.iHomePageControl",SHAPE_IKEYB_LETTERS:"mxgraph.ios.iKeybLett",SHAPE_IKEYB_NUMBERS:"mxgraph.ios.iKeybNumb",SHAPE_IKEYB_SYMBOLS:"mxgraph.ios.iKeybSymb",SHAPE_ILOCATION_BAR:"mxgraph.ios.iLocBar",SHAPE_ILOCK_BUTTON:"mxgraph.ios.iLockButton",SHAPE_IHOR_BUTTON_BAR:"mxgraph.ios.iHorButtonBar",SHAPE_IINFO_ICON:"mxgraph.ios.iInfoIcon",SHAPE_ION_OFF_BUTTON:"mxgraph.ios.iOnOffButton",SHAPE_IOPTION:"mxgraph.ios.iOption",SHAPE_IPAGE_CONTROL:"mxgraph.ios.iPageControl",SHAPE_IPAD:"mxgraph.ios.iPad",
  587. SHAPE_IPHONE:"mxgraph.ios.iPhone",SHAPE_IPIN:"mxgraph.ios.iPin",SHAPE_IPREV_NEXT:"mxgraph.ios.iPrevNext",SHAPE_IPROGRESS_BAR:"mxgraph.ios.iProgressBar",SHAPE_IRADIO_GROUP:"mxgraph.ios.iRadioGroup",SHAPE_ISLIDER:"mxgraph.ios.iSlider",SHAPE_ISORT_FIND_ICON:"mxgraph.ios.iSortFindIcon",SHAPE_ITEXT_INPUT:"mxgraph.ios.iTextInput",SHAPE_ITOP_BAR:"mxgraph.ios.iTopBar",SHAPE_ITOP_BAR_LOCKED:"mxgraph.ios.iTopBarLocked",SHAPE_IURL_BAR:"mxgraph.ios.iURLBar",SHAPE_IVIDEO_CONTROLS:"mxgraph.ios.iVideoControls",
  588. SHAPE_ISCREEN_NAME_BAR:"mxgraph.ios.iScreenNameBar",STYLE_FILLCOLOR2:"fillColor2",STYLE_FILLCOLOR3:"fillColor3",STYLE_TEXTCOLOR:"textColor",STYLE_TEXTCOLOR2:"textColor2",STYLE_STROKECOLOR2:"strokeColor2",STYLE_STROKECOLOR3:"strokeColor3"};function mxShapeMockupiPhone(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiPhone,mxShape);
  589. mxShapeMockupiPhone.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c,25);a.setShadow(!1);this.foreground(a,d,e,b,c,25)};mxShapeMockupiPhone.prototype.background=function(a,d,e,b,c,f){a.setFillColor("#000000");a.setStrokeColor("#000000");a.roundrect(0,0,b,c,f,f);a.fillAndStroke()};
  590. mxShapeMockupiPhone.prototype.foreground=function(a,d,e,b,c,f){a.setStrokeWidth(1.5);a.begin();a.setGradient("#808080","#000000",0.325*b,0,0.675*b,0.5*c,mxConstants.DIRECTION_SOUTH,1,1);a.moveTo(0.325*b,0);a.lineTo(b-f,0);a.arcTo(f,f,0,0,1,b,f);a.lineTo(b,0.5*c);a.lineTo(0.7*b,0.5*c);a.close();a.fill();d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"");e=mxUtils.getValue(this.style,mxMockupC.BG_STYLE,mxMockupC.BG_FLAT_GREEN);a.setStrokeWidth(1);if(e===mxMockupC.BG_FLAT_WHITE)a.setFillColor("#ffffff"),
  591. a.rect(0.0625*b,0.15*c,0.875*b,0.7*c),a.fill();else if(e===mxMockupC.BG_FLAT_GREEN)a.setFillColor("#1f2923"),a.rect(0.0625*b,0.15*c,0.875*b,0.7*c),a.fill();else if(e===mxMockupC.BG_FLAT_GRAY)a.setFillColor("#dddddd"),a.rect(0.0625*b,0.15*c,0.875*b,0.7*c),a.fill();else if(e===mxMockupC.BG_FLAT_CUSTOM)a.setFillColor(d),a.rect(0.0625*b,0.15*c,0.875*b,0.7*c),a.fill();else if(e===mxMockupC.BG_STRIPED){d=b;e=c;a.translate(0.0625*b,0.15*c);b*=0.875;c*=0.7;a.setFillColor("#5D7585");a.rect(0,0,b,c);a.fillAndStroke();
  592. var g;a.setStrokeColor("#657E8F");g=5;for(a.begin();g<b;)a.moveTo(g,0),a.lineTo(g,c),g+=5;a.stroke();a.setStrokeColor("#18211b");a.begin();a.rect(0,0,b,c);a.stroke();b=d;c=e;a.translate(0.0625*-b,0.15*-c)}else e===mxMockupC.BG_MAP&&(d=b,e=c,a.translate(0.0625*b,0.15*c),b*=0.875,c*=0.7,a.setFillColor("#ffffff"),a.rect(0,0,b,c),a.fillAndStroke(),g="#008cff",a.setFillColor("#96D1FF"),a.setStrokeColor(g),a.setStrokeWidth(1),a.begin(),a.moveTo(0,0),a.lineTo(0.1171*b,0),a.lineTo(0.1136*b,0.0438*c),a.lineTo(0.0993*
  593. b,0.054*c),a.lineTo(0,0.0446*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.1993*b,0),a.lineTo(0.1914*b,0.03884*c),a.lineTo(0.1536*b,0.0362*c),a.lineTo(0.1586*b,0),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.24*b,0),a.lineTo(0.2257*b,0.054*c),a.lineTo(0.2414*b,0.0674*c),a.lineTo(0.4707*b,0.0835*c),a.lineTo(0.5264*b,0.0906*c),a.lineTo(0.6429*b,0.0929*c),a.arcTo(0.0857*b,0.0536*c,0,0,0,0.7193*b,0.0621*c),a.arcTo(0.48*b,0.2143*c,0,0,0,0.7286*b,0),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.8*
  594. b,0),a.lineTo(0.7886*b,0.04554*c),a.arcTo(0.0857*b,0.0536*c,0,0,0,0.8164*b,0.0875*c),a.arcTo(0.1429*b,0.0893*c,0,0,0,0.88*b,0.1036*c),a.lineTo(b,0.1112*c),a.lineTo(b,0),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.0933*c),a.lineTo(0.08*b,0.1036*c),a.lineTo(0.1021*b,0.1246*c),a.lineTo(0.1007*b,0.1768*c),a.lineTo(0.0471*b,0.2241*c),a.lineTo(0,0.2527*c),a.close(),a.fillAndStroke(),a.ellipse(0.1214*b,0.0603*c,0.0843*b,0.0576*c),a.fillAndStroke(),a.begin(),a.moveTo(0.1293*b,0.1924*c),a.lineTo(0.1729*
  595. b,0.142*c),a.lineTo(0.1407*b,0.1411*c),a.lineTo(0.14*b,0.1777*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.4586*b,0.1241*c),a.lineTo(0.455*b,0.1835*c),a.lineTo(0.3893*b,0.2246*c),a.lineTo(0.2171*b,0.1362*c),a.lineTo(0.2171*b,0.1308*c),a.lineTo(0.2293*b,0.1214*c),a.lineTo(0.2857*b,0.1174*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.5079*b,0.1134*c),a.lineTo(0.7307*b,0.1223*c),a.lineTo(0.7279*b,0.1625*c),a.lineTo(0.715*b,0.1772*c),a.lineTo(0.6929*b,0.1688*c),a.lineTo(0.625*b,0.1795*c),
  596. a.lineTo(0.4779*b,0.2835*c),a.lineTo(0.395*b,0.2299*c),a.lineTo(0.4657*b,0.1826*c),a.lineTo(0.4707*b,0.1223*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.1362*c),a.lineTo(0.7643*b,0.1237*c),a.lineTo(0.7543*b,0.1562*c),a.lineTo(0.7643*b,0.1585*c),a.lineTo(0.9186*b,0.2366*c),a.lineTo(b,0.1732*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.2079*b,0.1545*c),a.lineTo(0.3886*b,0.2536*c),a.lineTo(0.3414*b,0.2933*c),a.lineTo(0.1743*b,0.1969*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.1579*
  597. b,0.2134*c),a.lineTo(0.3221*b,0.3067*c),a.lineTo(0.2957*b,0.3237*c),a.lineTo(0.1157*b,0.2424*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.405*b,0.2656*c),a.lineTo(0.31*b,0.3353*c),a.lineTo(0.3693*b,0.3661*c),a.lineTo(0.4571*b,0.2982*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.7121*b,0.1848*c),a.lineTo(0.6879*b,0.1754*c),a.lineTo(0.6329*b,0.1844*c),a.lineTo(0.61*b,0.2018*c),a.lineTo(0.6207*b,0.2085*c),a.lineTo(0.4986*b,0.2982*c),a.lineTo(0.535*b,0.3237*c),a.close(),a.fillAndStroke(),
  598. a.begin(),a.moveTo(0.5557*b,0.3379*c),a.lineTo(0.7464*b,0.1826*c),a.lineTo(0.8036*b,0.2076*c),a.lineTo(0.595*b,0.3616*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.8293*b,0.2188*c),a.lineTo(0.8979*b,0.2509*c),a.lineTo(0.6936*b,0.4125*c),a.lineTo(0.6171*b,0.3737*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.2138*c),a.lineTo(0.6821*b,0.4603*c),a.lineTo(0.815*b,0.5277*c),a.lineTo(b,0.4*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.317*c),a.lineTo(0.0971*b,0.2554*c),a.lineTo(0.4121*
  599. b,0.4143*c),a.lineTo(0.3736*b,0.4415*c),a.lineTo(0.315*b,0.4076*c),a.lineTo(0.3093*b,0.4116*c),a.lineTo(0.3686*b,0.4455*c),a.lineTo(0.285*b,0.5045*c),a.lineTo(0.1114*b,0.4134*c),a.lineTo(0.025*b,0.4603*c),a.lineTo(0.0371*b,0.4723*c),a.lineTo(0.1114*b,0.4371*c),a.lineTo(0.2871*b,0.5312*c),a.lineTo(0.1929*b,0.6058*c),a.lineTo(0.2271*b,0.6705*c),a.lineTo(0.17*b,0.7147*c),a.lineTo(0.0314*b,0.6321*c),a.lineTo(0,0.6246*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.48*b,0.3121*c),a.lineTo(0.5157*b,
  600. 0.3375*c),a.lineTo(0.4314*b,0.3982*c),a.lineTo(0.3929*b,0.3786*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.3086*b,0.5179*c),a.lineTo(0.53*b,0.3518*c),a.lineTo(0.5757*b,0.3745*c),a.lineTo(0.3479*b,0.5411*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.5964*b,0.3884*c),a.lineTo(0.6736*b,0.4277*c),a.lineTo(0.445*b,0.5991*c),a.lineTo(0.3664*b,0.5531*c),a.lineTo(0.5057*b,0.4545*c),a.lineTo(0.5507*b,0.4754*c),a.lineTo(0.5571*b,0.4723*c),a.lineTo(0.5114*b,0.4504*c),a.close(),a.fillAndStroke(),
  601. a.begin(),a.moveTo(0.4793*b,0.6161*c),a.lineTo(0.6771*b,0.4643*c),a.lineTo(0.8086*b,0.5326*c),a.lineTo(0.7471*b,0.5817*c),a.lineTo(0.7214*b,0.567*c),a.lineTo(0.715*b,0.571*c),a.lineTo(0.7421*b,0.5871*c),a.lineTo(0.6014*b,0.6933*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.4371*c),a.lineTo(0.8443*b,0.546*c),a.lineTo(0.9071*b,0.5701*c),a.lineTo(b,0.5022*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.8407*b,0.5504*c),a.lineTo(0.8993*b,0.5759*c),a.lineTo(0.6757*b,0.7416*c),a.lineTo(0.6286*
  602. b,0.7139*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.5321*c),a.lineTo(0.6979*b,0.7549*c),a.lineTo(0.7457*b,0.7781*c),a.lineTo(0.9814*b,0.6094*c),a.lineTo(b,0.6067*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.6254*c),a.lineTo(0.7664*b,0.792*c),a.lineTo(0.9586*b,0.9062*c),a.lineTo(b,0.8786*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.3093*b,0.5464*c),a.lineTo(0.4271*b,0.6152*c),a.lineTo(0.245*b,0.7643*c),a.lineTo(0.185*b,0.7228*c),a.lineTo(0.2493*b,0.6728*c),a.lineTo(0.2214*
  603. b,0.6143*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.65*c),a.lineTo(0.2179*b,0.7826*c),a.lineTo(0.1136*b,0.8424*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.7272*c),a.lineTo(0.0821*b,0.859*c),a.lineTo(0,0.9085*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.4529*b,0.6366*c),a.lineTo(0.575*b,0.7143*c),a.lineTo(0.39*b,0.8621*c),a.lineTo(0.2657*b,0.7902*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.9415*c),a.lineTo(0.1036*b,0.8821*c),a.lineTo(0.2343*b,0.959*c),a.lineTo(0.1721*
  604. b,c),a.lineTo(0,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.2586*b,0.7951*c),a.lineTo(0.3829*b,0.8674*c),a.lineTo(0.2543*b,0.9451*c),a.lineTo(0.1279*b,0.8692*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.2836*b,0.9639*c),a.lineTo(0.4207*b,0.8772*c),a.lineTo(0.605*b,0.7321*c),a.lineTo(0.6521*b,0.7634*c),a.lineTo(0.3486*b,c),a.lineTo(0.3393*b,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.3879*b,c),a.lineTo(0.6721*b,0.7759*c),a.lineTo(0.7171*b,0.7982*c),a.lineTo(0.4564*b,c),a.close(),
  605. a.fillAndStroke(),a.begin(),a.moveTo(0.4986*b,c),a.lineTo(0.7386*b,0.8125*c),a.lineTo(0.9307*b,0.925*c),a.lineTo(0.8264*b,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.8671*b,c),a.lineTo(0.9464*b,0.9491*c),a.lineTo(b,0.975*c),a.lineTo(b,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.2295*b,c),a.lineTo(0.2648*b,0.9792*c),a.lineTo(0.2981*b,c),a.close(),a.fillAndStroke(),b=d,c=e,a.translate(0.0625*-b,0.15*-c));a.setStrokeWidth(1);a.setStrokeColor("#18211b");a.rect(0.0625*b,0.15*c,0.875*b,
  606. 0.7*c);a.stroke();a.setStrokeWidth(1.5);a.setAlpha(0.8);a.setStrokeColor("#dddddd");a.roundrect(0,0,b,c,f,f);a.stroke();f=22.5;a.begin();a.setStrokeColor("#666666");a.roundrect(5,5,b-10,c-10,f,f);a.stroke();a.setAlpha(1);a.ellipse(0.4875*b,0.04125*c,0.025*b,0.0125*c);a.setStrokeWidth(2.5);a.setStrokeColor("#000000");a.setFillColor("#000099");a.fillAndStroke();a.begin();a.setStrokeWidth(1.5);a.setFillColor("#444444");a.setStrokeColor("#333333");a.roundrect(0.375*b,0.075*c,0.25*b,0.01875*c,0.02*b,0.01*
  607. c);a.fillAndStroke();a.setGradient("#bbbbbb","#000000",0.4*b,0.875*c,0.2*b,0.1*c,mxConstants.DIRECTION_SOUTH,1,1);a.ellipse(0.4*b,0.875*c,0.2*b,0.1*c);a.fill();a.setAlpha(0.5);a.ellipse(0.404*b,0.876*c,0.19*b,0.095*c);a.stroke();a.begin();a.setAlpha(0.85);a.setFillColor("#000000");a.moveTo(0.4025*b,0.925*c);a.arcTo(0.0975*b,0.04625*c,0,0,1,0.5975*b,0.925*c);a.arcTo(0.2*b,0.1*c,0,0,1,0.4025*b,0.925*c);a.close();a.fillAndStroke();a.begin();a.setAlpha(0.7);a.setStrokeWidth(1.5);a.setStrokeColor("#dddddd");
  608. a.roundrect(0.4575*b,0.905*c,0.0875*b,0.04375*c,0.00625*c,0.00625*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IPHONE]=mxShapeMockupiPhone;function mxShapeMockupiBgFlat(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiBgFlat,mxShape);mxShapeMockupiBgFlat.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  609. mxShapeMockupiBgFlat.prototype.background=function(a,d,e,b,c){a.begin();a.rect(0,0,b,c);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IBG_FLAT]=mxShapeMockupiBgFlat;function mxShapeMockupiBgStriped(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiBgStriped,mxShape);
  610. mxShapeMockupiBgStriped.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupiBgStriped.prototype.background=function(a,d,e,b,c){a.setStrokeWidth(1);a.begin();a.rect(0,0,b,c);a.fillAndStroke()};
  611. mxShapeMockupiBgStriped.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"");e=mxUtils.getValue(this.style,mxMockupC.STYLE_STROKECOLOR2,"");a.setStrokeColor(e);e=5;for(a.begin();e<b;)a.moveTo(e,0),a.lineTo(e,c),e+=5;a.stroke();a.setStrokeColor(d);a.begin();a.rect(0,0,b,c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IBG_STRIPED]=mxShapeMockupiBgStriped;
  612. function mxShapeMockupiBgMap(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiBgMap,mxShape);mxShapeMockupiBgMap.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupiBgMap.prototype.background=function(a,d,e,b,c){a.begin();a.rect(0,0,b,c);a.fillAndStroke()};
  613. mxShapeMockupiBgMap.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"");e=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"");var f=mxUtils.getValue(this.style,mxMockupC.STYLE_STROKECOLOR2,"");a.setFillColor(d);a.setStrokeColor(f);a.setStrokeWidth(0.5);a.begin();a.moveTo(0,0);a.lineTo(0.1171*b,0);a.lineTo(0.1136*b,0.0438*c);a.lineTo(0.0993*b,0.054*c);a.lineTo(0,0.0446*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.1993*b,0);a.lineTo(0.1914*
  614. b,0.03884*c);a.lineTo(0.1536*b,0.0362*c);a.lineTo(0.1586*b,0);a.close();a.fillAndStroke();a.begin();a.moveTo(0.24*b,0);a.lineTo(0.2257*b,0.054*c);a.lineTo(0.2414*b,0.0674*c);a.lineTo(0.4707*b,0.0835*c);a.lineTo(0.5264*b,0.0906*c);a.lineTo(0.6429*b,0.0929*c);a.arcTo(0.0857*b,0.0536*c,0,0,0,0.7193*b,0.0621*c);a.arcTo(0.48*b,0.2143*c,0,0,0,0.7286*b,0);a.close();a.fillAndStroke();a.begin();a.moveTo(0.8*b,0);a.lineTo(0.7886*b,0.04554*c);a.arcTo(0.0857*b,0.0536*c,0,0,0,0.8164*b,0.0875*c);a.arcTo(0.1429*
  615. b,0.0893*c,0,0,0,0.88*b,0.1036*c);a.lineTo(b,0.1112*c);a.lineTo(b,0);a.close();a.fillAndStroke();a.begin();a.moveTo(0,0.0933*c);a.lineTo(0.08*b,0.1036*c);a.lineTo(0.1021*b,0.1246*c);a.lineTo(0.1007*b,0.1768*c);a.lineTo(0.0471*b,0.2241*c);a.lineTo(0,0.2527*c);a.close();a.fillAndStroke();a.ellipse(0.1214*b,0.0603*c,0.0843*b,0.0576*c);a.fillAndStroke();a.begin();a.moveTo(0.1293*b,0.1924*c);a.lineTo(0.1729*b,0.142*c);a.lineTo(0.1407*b,0.1411*c);a.lineTo(0.14*b,0.1777*c);a.close();a.fillAndStroke();a.begin();
  616. a.moveTo(0.4586*b,0.1241*c);a.lineTo(0.455*b,0.1835*c);a.lineTo(0.3893*b,0.2246*c);a.lineTo(0.2171*b,0.1362*c);a.lineTo(0.2171*b,0.1308*c);a.lineTo(0.2293*b,0.1214*c);a.lineTo(0.2857*b,0.1174*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.5079*b,0.1134*c);a.lineTo(0.7307*b,0.1223*c);a.lineTo(0.7279*b,0.1625*c);a.lineTo(0.715*b,0.1772*c);a.lineTo(0.6929*b,0.1688*c);a.lineTo(0.625*b,0.1795*c);a.lineTo(0.4779*b,0.2835*c);a.lineTo(0.395*b,0.2299*c);a.lineTo(0.4657*b,0.1826*c);a.lineTo(0.4707*b,0.1223*
  617. c);a.close();a.fillAndStroke();a.begin();a.moveTo(b,0.1362*c);a.lineTo(0.7643*b,0.1237*c);a.lineTo(0.7543*b,0.1562*c);a.lineTo(0.7643*b,0.1585*c);a.lineTo(0.9186*b,0.2366*c);a.lineTo(b,0.1732*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.2079*b,0.1545*c);a.lineTo(0.3886*b,0.2536*c);a.lineTo(0.3414*b,0.2933*c);a.lineTo(0.1743*b,0.1969*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.1579*b,0.2134*c);a.lineTo(0.3221*b,0.3067*c);a.lineTo(0.2957*b,0.3237*c);a.lineTo(0.1157*b,0.2424*c);a.close();
  618. a.fillAndStroke();a.begin();a.moveTo(0.405*b,0.2656*c);a.lineTo(0.31*b,0.3353*c);a.lineTo(0.3693*b,0.3661*c);a.lineTo(0.4571*b,0.2982*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.7121*b,0.1848*c);a.lineTo(0.6879*b,0.1754*c);a.lineTo(0.6329*b,0.1844*c);a.lineTo(0.61*b,0.2018*c);a.lineTo(0.6207*b,0.2085*c);a.lineTo(0.4986*b,0.2982*c);a.lineTo(0.535*b,0.3237*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.5557*b,0.3379*c);a.lineTo(0.7464*b,0.1826*c);a.lineTo(0.8036*b,0.2076*c);a.lineTo(0.595*
  619. b,0.3616*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.8293*b,0.2188*c);a.lineTo(0.8979*b,0.2509*c);a.lineTo(0.6936*b,0.4125*c);a.lineTo(0.6171*b,0.3737*c);a.close();a.fillAndStroke();a.begin();a.moveTo(b,0.2138*c);a.lineTo(0.6821*b,0.4603*c);a.lineTo(0.815*b,0.5277*c);a.lineTo(b,0.4*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0,0.317*c);a.lineTo(0.0971*b,0.2554*c);a.lineTo(0.4121*b,0.4143*c);a.lineTo(0.3736*b,0.4415*c);a.lineTo(0.315*b,0.4076*c);a.lineTo(0.3093*b,0.4116*c);a.lineTo(0.3686*
  620. b,0.4455*c);a.lineTo(0.285*b,0.5045*c);a.lineTo(0.1114*b,0.4134*c);a.lineTo(0.025*b,0.4603*c);a.lineTo(0.0371*b,0.4723*c);a.lineTo(0.1114*b,0.4371*c);a.lineTo(0.2871*b,0.5312*c);a.lineTo(0.1929*b,0.6058*c);a.lineTo(0.2271*b,0.6705*c);a.lineTo(0.17*b,0.7147*c);a.lineTo(0.0314*b,0.6321*c);a.lineTo(0,0.6246*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.48*b,0.3121*c);a.lineTo(0.5157*b,0.3375*c);a.lineTo(0.4314*b,0.3982*c);a.lineTo(0.3929*b,0.3786*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.3086*
  621. b,0.5179*c);a.lineTo(0.53*b,0.3518*c);a.lineTo(0.5757*b,0.3745*c);a.lineTo(0.3479*b,0.5411*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.5964*b,0.3884*c);a.lineTo(0.6736*b,0.4277*c);a.lineTo(0.445*b,0.5991*c);a.lineTo(0.3664*b,0.5531*c);a.lineTo(0.5057*b,0.4545*c);a.lineTo(0.5507*b,0.4754*c);a.lineTo(0.5571*b,0.4723*c);a.lineTo(0.5114*b,0.4504*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.4793*b,0.6161*c);a.lineTo(0.6771*b,0.4643*c);a.lineTo(0.8086*b,0.5326*c);a.lineTo(0.7471*b,0.5817*
  622. c);a.lineTo(0.7214*b,0.567*c);a.lineTo(0.715*b,0.571*c);a.lineTo(0.7421*b,0.5871*c);a.lineTo(0.6014*b,0.6933*c);a.close();a.fillAndStroke();a.begin();a.moveTo(b,0.4371*c);a.lineTo(0.8443*b,0.546*c);a.lineTo(0.9071*b,0.5701*c);a.lineTo(b,0.5022*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.8407*b,0.5504*c);a.lineTo(0.8993*b,0.5759*c);a.lineTo(0.6757*b,0.7416*c);a.lineTo(0.6286*b,0.7139*c);a.close();a.fillAndStroke();a.begin();a.moveTo(b,0.5321*c);a.lineTo(0.6979*b,0.7549*c);a.lineTo(0.7457*b,
  623. 0.7781*c);a.lineTo(0.9814*b,0.6094*c);a.lineTo(b,0.6067*c);a.close();a.fillAndStroke();a.begin();a.moveTo(b,0.6254*c);a.lineTo(0.7664*b,0.792*c);a.lineTo(0.9586*b,0.9062*c);a.lineTo(b,0.8786*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.3093*b,0.5464*c);a.lineTo(0.4271*b,0.6152*c);a.lineTo(0.245*b,0.7643*c);a.lineTo(0.185*b,0.7228*c);a.lineTo(0.2493*b,0.6728*c);a.lineTo(0.2214*b,0.6143*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0,0.65*c);a.lineTo(0.2179*b,0.7826*c);a.lineTo(0.1136*b,
  624. 0.8424*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0,0.7272*c);a.lineTo(0.0821*b,0.859*c);a.lineTo(0,0.9085*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.4529*b,0.6366*c);a.lineTo(0.575*b,0.7143*c);a.lineTo(0.39*b,0.8621*c);a.lineTo(0.2657*b,0.7902*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0,0.9415*c);a.lineTo(0.1036*b,0.8821*c);a.lineTo(0.2343*b,0.959*c);a.lineTo(0.1721*b,c);a.lineTo(0,c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.2586*b,0.7951*c);a.lineTo(0.3829*b,0.8674*
  625. c);a.lineTo(0.2543*b,0.9451*c);a.lineTo(0.1279*b,0.8692*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.2836*b,0.9639*c);a.lineTo(0.4207*b,0.8772*c);a.lineTo(0.605*b,0.7321*c);a.lineTo(0.6521*b,0.7634*c);a.lineTo(0.3486*b,c);a.lineTo(0.3393*b,c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.3879*b,c);a.lineTo(0.6721*b,0.7759*c);a.lineTo(0.7171*b,0.7982*c);a.lineTo(0.4564*b,c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.4986*b,c);a.lineTo(0.7386*b,0.8125*c);a.lineTo(0.9307*b,0.925*c);a.lineTo(0.8264*
  626. b,c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.8671*b,c);a.lineTo(0.9464*b,0.9491*c);a.lineTo(b,0.975*c);a.lineTo(b,c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.2295*b,c);a.lineTo(0.2648*b,0.9792*c);a.lineTo(0.2981*b,c);a.close();a.fillAndStroke();a.setStrokeWidth(1);a.setStrokeColor(e);a.begin();a.rect(0,0,b,c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IBG_MAP]=mxShapeMockupiBgMap;
  627. function mxShapeMockupiButtonBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiButtonBar,mxShape);
  628. mxShapeMockupiButtonBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"+Button 1, Button 2, Button 3").toString().split(","),g=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR,"#666666"),h=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#ffffff"),k=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17").toString(),l=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),n=mxUtils.getValue(this.style,mxMockupC.STYLE_STROKECOLOR2,
  629. "#c4c4c4"),m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),p=f.length,q=0,t=-1,s=0;s<p;s++){var u=f[s];u.charAt(0)===mxMockupC.SELECTED&&(u=f[s].substring(1),t=s);u=mxUtils.getSizeForString(u,k,mxConstants.DEFAULT_FONTFAMILY).width;u>q&&(q=u)}var r=1.5*k,v=p*r;c=Math.max(c,v);b=Math.max(b,5+q);a.translate(d,e);this.background(a,b,c,2.5,p,2.5,p*r,l,n,m,t,r);a.setShadow(!1);this.foreground(a,b,c,2.5,p,2.5,p*r,l,n,m,t,r);for(s=u=0;s<p;s++)s===t?a.setFontColor(h):a.setFontColor(g),
  630. u+=2.5,this.buttonText(a,b,(s*r+0.5*r)*c/v,f[s],k,n)};mxShapeMockupiButtonBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m){a.begin();a.setStrokeWidth(1);a.setStrokeColor(h);a.setFillColor(l);a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.fillAndStroke()};
  631. mxShapeMockupiButtonBar.prototype.foreground=function(a,d,e,b,c,f,g,h,k,l,n,m){f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1");a.setStrokeWidth(f);a.setStrokeColor(k);a.begin();for(k=1;k<c;k++)k!==n&&k!==n+1&&(f=k*m*e/g,a.moveTo(0,f),a.lineTo(d,f));a.stroke();a.setStrokeColor(mxConstants.NONE);0===n?(a.begin(),g=m*e/g,a.setGradient("#5D7585","#008cff",0,0,d,g,mxConstants.DIRECTION_SOUTH,1,1),a.moveTo(0,b),a.arcTo(b,b,0,0,1,b,0),a.lineTo(d-b,0),a.arcTo(b,b,0,0,1,d,b),a.lineTo(d,g),
  632. a.lineTo(0,g),a.close(),a.fill()):n===c-1?(a.begin(),c=e-m*e/g,a.setGradient("#5D7585","#008cff",0,c,d,e-c,mxConstants.DIRECTION_SOUTH,1,1),a.moveTo(0,c),a.lineTo(d,c),a.lineTo(d,e-b),a.arcTo(b,b,0,0,1,d-b,e),a.lineTo(b,e),a.arcTo(b,b,0,0,1,0,e-b),a.close(),a.fill()):-1!==n&&(a.begin(),c=m*n*e/g,g=m*(n+1)*e/g,a.setGradient("#5D7585","#008cff",0,c,d,g-c,mxConstants.DIRECTION_SOUTH,1,1),a.moveTo(0,c),a.lineTo(d,c),a.lineTo(d,g),a.lineTo(0,g),a.close(),a.fill());a.begin();a.setStrokeColor(h);a.setFillColor(l);
  633. a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.stroke()};
  634. mxShapeMockupiButtonBar.prototype.buttonText=function(a,d,e,b,c,f){b.charAt(0)===mxMockupC.SELECTED&&(b=b.substring(1));a.setFontSize(c);a.text(10,e,0,0,b,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);b=0.5*c;a.setStrokeWidth(0.3*c);a.setStrokeColor(f);a.begin();a.moveTo(d-20-b,e-b);a.lineTo(d-20,e);a.lineTo(d-20-b,e+b);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IBUTTON_BAR]=mxShapeMockupiButtonBar;
  635. function mxShapeMockupiAppBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiAppBar,mxShape);mxShapeMockupiAppBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupiAppBar.prototype.background=function(a,d,e,b,c){a.setGradient("#eeeeee","#999999",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.rect(0,0,b,c);a.fill()};
  636. mxShapeMockupiAppBar.prototype.foreground=function(a,d,e,b,c){a.setFillColor("#0099ff");a.rect(5,0.5*c+1.75,1.5,2.5);a.fill();a.rect(7,0.5*c+0.75,1.5,3.5);a.fill();a.rect(9,0.5*c-0.25,1.5,4.5);a.fill();a.rect(11,0.5*c-1.25,1.5,5.5);a.fill();a.rect(13,0.5*c-2.25,1.5,6.5);a.fill();a.rect(15,0.5*c-3.25,1.5,7.5);a.fill();a.setFillColor("#999999");a.ellipse(b-56.5,0.5*c-4,8,8);a.fill();a.setStrokeColor("#cccccc");a.begin();a.moveTo(b-52.5,0.5*c-3);a.lineTo(b-52.5,0.5*c);a.lineTo(b-54.5,0.5*c);a.stroke();
  637. a.setStrokeWidth(0.5);a.setStrokeColor("#333333");a.setFillColor("#990000");a.begin();a.moveTo(b-45.5,0.5*c);a.lineTo(b-37.5,0.5*c-5);a.lineTo(b-41.5,0.5*c+4);a.lineTo(b-42,0.5*c+0.5);a.close();a.fillAndStroke();a.setFillColor("#999999");a.setStrokeColor("#999999");a.begin();a.moveTo(b-28.5,0.5*c+3.5);a.arcTo(3.5,3.5,0,1,1,b-26.5,0.5*c+1);a.stroke();a.begin();a.moveTo(b-27.25,0.5*c+0.25);a.lineTo(b-25.75,0.5*c+0.25);a.lineTo(b-26.5,0.5*c+1.5);a.close();a.fillAndStroke();a.begin();a.moveTo(b-31,0.5*
  638. c-0.5);a.arcTo(1,1.5,0,0,1,b-29,0.5*c-0.5);a.stroke();a.rect(b-31.5,0.5*c-0.5,3,2);a.fillAndStroke();a.setGradient("#eeeeee","#444444",b-20,0.5*c-3,16.5,6,mxConstants.DIRECTION_NORTH,1,1);a.begin();a.moveTo(b-20,0.5*c-3);a.lineTo(b-5,0.5*c-3);a.lineTo(b-5,0.5*c-1);a.lineTo(b-3.5,0.5*c-1);a.lineTo(b-3.5,0.5*c+1);a.lineTo(b-5,0.5*c+1);a.lineTo(b-5,0.5*c+3);a.lineTo(b-20,0.5*c+3);a.close();a.fill();a.setGradient("#E2FFEB","#008215",b-20,0.5*c-3,10,6,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(b-
  639. 20,0.5*c-3);a.lineTo(b-10,0.5*c-3);a.lineTo(b-10,0.5*c+3);a.lineTo(b-20,0.5*c+3);a.close();a.fill();a.setStrokeColor("#666666");a.begin();a.moveTo(b-20,0.5*c-3);a.lineTo(b-5,0.5*c-3);a.lineTo(b-5,0.5*c-1);a.lineTo(b-3.5,0.5*c-1);a.lineTo(b-3.5,0.5*c+1);a.lineTo(b-5,0.5*c+1);a.lineTo(b-5,0.5*c+3);a.lineTo(b-20,0.5*c+3);a.close();a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IAPP_BAR]=mxShapeMockupiAppBar;
  640. function mxShapeMockupiTopBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiTopBar,mxShape);mxShapeMockupiTopBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupiTopBar.prototype.background=function(a,d,e,b,c){a.setAlpha(0.5);a.setFillColor("#999999");a.rect(0,0,b,c);a.fill()};
  641. mxShapeMockupiTopBar.prototype.foreground=function(a,d,e,b,c){a.setFillColor("#cccccc");a.setStrokeColor("#cccccc");a.setFontColor("#cccccc");a.setFontSize(7.5);a.rect(5,0.5*c+1.75,1.5,2.5);a.fill();a.rect(7,0.5*c+0.75,1.5,3.5);a.fill();a.rect(9,0.5*c-0.25,1.5,4.5);a.fill();a.rect(11,0.5*c-1.25,1.5,5.5);a.fill();a.rect(13,0.5*c-2.25,1.5,6.5);a.fill();a.rect(15,0.5*c-3.25,1.5,7.5);a.fill();a.text(18,0.5*c,0,0,"CARRIER",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.5*
  642. c,0,0,"11:15AM",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.begin();a.moveTo(b-19,0.5*c-2);a.lineTo(b-10,0.5*c-2);a.lineTo(b-10,0.5*c+2);a.lineTo(b-19,0.5*c+2);a.close();a.fill();a.begin();a.moveTo(b-20,0.5*c-3);a.lineTo(b-5,0.5*c-3);a.lineTo(b-5,0.5*c-1);a.lineTo(b-3.5,0.5*c-1);a.lineTo(b-3.5,0.5*c+1);a.lineTo(b-5,0.5*c+1);a.lineTo(b-5,0.5*c+3);a.lineTo(b-20,0.5*c+3);a.close();a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ITOP_BAR]=mxShapeMockupiTopBar;
  643. function mxShapeMockupiTopBar2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiTopBar2,mxShape);mxShapeMockupiTopBar2.prototype.cst={SHAPE_ITOP_BAR2:"mxgraph.ios.iTopBar2"};mxShapeMockupiTopBar2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupiTopBar2.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fill()};
  644. mxShapeMockupiTopBar2.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.setStrokeColor(d);a.rect(5,0.5*c+1.75,1.5,2.5);a.fill();a.rect(7,0.5*c+0.75,1.5,3.5);a.fill();a.rect(9,0.5*c-0.25,1.5,4.5);a.fill();a.rect(11,0.5*c-1.25,1.5,5.5);a.fill();a.rect(13,0.5*c-2.25,1.5,6.5);a.fill();a.rect(15,0.5*c-3.25,1.5,7.5);a.fill();a.begin();a.moveTo(b-19,0.5*c-2);a.lineTo(b-10,0.5*c-2);a.lineTo(b-10,0.5*c+2);a.lineTo(b-19,0.5*c+
  645. 2);a.close();a.fill();a.begin();a.moveTo(b-20,0.5*c-3);a.lineTo(b-5,0.5*c-3);a.lineTo(b-5,0.5*c-1);a.lineTo(b-3.5,0.5*c-1);a.lineTo(b-3.5,0.5*c+1);a.lineTo(b-5,0.5*c+1);a.lineTo(b-5,0.5*c+3);a.lineTo(b-20,0.5*c+3);a.close();a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeMockupiTopBar2.prototype.cst.SHAPE_ITOP_BAR2]=mxShapeMockupiTopBar2;function mxShapeMockupiTopBarLocked(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  646. mxUtils.extend(mxShapeMockupiTopBarLocked,mxShape);mxShapeMockupiTopBarLocked.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupiTopBarLocked.prototype.background=function(a,d,e,b,c){a.setFillColor("#000000");a.rect(0,0,b,c);a.fill()};
  647. mxShapeMockupiTopBarLocked.prototype.foreground=function(a,d,e,b,c){a.setFillColor("#cccccc");a.setStrokeColor("#cccccc");a.rect(5,0.5*c+1.75,1.5,2.5);a.fill();a.rect(7,0.5*c+0.75,1.5,3.5);a.fill();a.rect(9,0.5*c-0.25,1.5,4.5);a.fill();a.rect(11,0.5*c-1.25,1.5,5.5);a.fill();a.rect(13,0.5*c-2.25,1.5,6.5);a.fill();a.rect(15,0.5*c-3.25,1.5,7.5);a.fill();a.begin();a.moveTo(0.5*b-2,0.5*c-1);a.arcTo(2,3,0,0,1,0.5*b+2,0.5*c-1);a.stroke();a.rect(0.5*b-3,0.5*c-1,6,4);a.fillAndStroke();a.begin();a.moveTo(b-
  648. 19,0.5*c-2);a.lineTo(b-10,0.5*c-2);a.lineTo(b-10,0.5*c+2);a.lineTo(b-19,0.5*c+2);a.close();a.fill();a.begin();a.moveTo(b-20,0.5*c-3);a.lineTo(b-5,0.5*c-3);a.lineTo(b-5,0.5*c-1);a.lineTo(b-3.5,0.5*c-1);a.lineTo(b-3.5,0.5*c+1);a.lineTo(b-5,0.5*c+1);a.lineTo(b-5,0.5*c+3);a.lineTo(b-20,0.5*c+3);a.close();a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ITOP_BAR_LOCKED]=mxShapeMockupiTopBarLocked;
  649. function mxShapeMockupiButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiButton,mxShape);
  650. mxShapeMockupiButton.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Main Text"),g=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#666666").toString(),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8.5").toString();a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};
  651. mxShapeMockupiButton.prototype.background=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0,0,b,c,2.5,2.5);a.fill()};mxShapeMockupiButton.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(b/2,c/2,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  652. mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IBUTTON]=mxShapeMockupiButton;function mxShapeMockupiButtonBack(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiButtonBack,mxShape);
  653. mxShapeMockupiButtonBack.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Main Text"),g=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#666666").toString(),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17").toString();a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};
  654. mxShapeMockupiButtonBack.prototype.background=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);rSize=2.5;a.begin();a.moveTo(b,rSize);a.arcTo(rSize,rSize,0,0,0,b-rSize,0);a.lineTo(10,0);a.lineTo(0.87,0.5*c-0.75);a.arcTo(rSize,rSize,0,0,0,0.87,0.5*c+0.75);a.lineTo(10,c);a.lineTo(b-rSize,c);a.arcTo(rSize,rSize,0,0,0,b,c-rSize);
  655. a.close();a.fill()};mxShapeMockupiButtonBack.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b+2.5,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IBUTTON_BACK]=mxShapeMockupiButtonBack;function mxShapeMockupiButtonForward(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiButtonForward,mxShape);
  656. mxShapeMockupiButtonForward.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Main Text"),g=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#666666").toString(),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"17").toString();a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};
  657. mxShapeMockupiButtonForward.prototype.background=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);rSize=2.5;a.begin();a.moveTo(0,rSize);a.arcTo(rSize,rSize,0,0,1,rSize,0);a.lineTo(b-10,0);a.lineTo(b-0.87,0.5*c-0.75);a.arcTo(rSize,rSize,0,0,1,b-0.87,0.5*c+0.75);a.lineTo(b-10,c);a.lineTo(rSize,c);a.arcTo(rSize,rSize,0,0,1,0,c-
  658. rSize);a.close();a.fill()};mxShapeMockupiButtonForward.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(0.5*b-2.5,0.5*c,0,0,f,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IBUTTON_FORWARD]=mxShapeMockupiButtonForward;function mxShapeMockupiPrevNextButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  659. mxUtils.extend(mxShapeMockupiPrevNextButton,mxShape);mxShapeMockupiPrevNextButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  660. mxShapeMockupiPrevNextButton.prototype.background=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0,0,b,c,5,5);a.fill();a.begin();a.moveTo(0.5*b,0);a.lineTo(0.5*b,c);a.stroke()};
  661. mxShapeMockupiPrevNextButton.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR3,"").toString();a.setFillColor(d);a.begin();a.moveTo(0.25*b,0.25*c);a.lineTo(0.35*b,0.75*c);a.lineTo(0.15*b,0.75*c);a.close();a.fill();a.begin();a.moveTo(0.75*b,0.75*c);a.lineTo(0.85*b,0.25*c);a.lineTo(0.65*b,0.25*c);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IPREV_NEXT]=mxShapeMockupiPrevNextButton;
  662. function mxShapeMockupiTextInput(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiTextInput,mxShape);
  663. mxShapeMockupiTextInput.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Main Text"),g=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#000000").toString(),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8").toString();a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.mainText(a,d,e,b,c,f,h,g)};mxShapeMockupiTextInput.prototype.background=function(a,d,e,b,c){a.roundrect(0,0,b,c,2.5,2.5);a.fillAndStroke()};
  664. mxShapeMockupiTextInput.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(2,0.5*c,0,0,f,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ITEXT_INPUT]=mxShapeMockupiTextInput;function mxShapeMockupiRadioGroup(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiRadioGroup,mxShape);
  665. mxShapeMockupiRadioGroup.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#666666").toString(),g=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8").toString();d=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Option 1").toString().split(",");e=d.length;var h=Math.max(1.5*g,5),k=0,l=-1,n=e*h;c=Math.max(c,n);for(var m=0;m<e;m++){var p=d[m];p.charAt(0)===mxMockupC.SELECTED&&(p=d[m].substring(1),l=m);p=mxUtils.getSizeForString(p,
  666. g,mxConstants.DEFAULT_FONTFAMILY).width;p>k&&(k=p)}b=Math.max(b,5+k+10);a.roundrect(0,0,b,c,2.5,2.5);a.fillAndStroke();a.setShadow(!1);a.setFontSize(g);a.setFontColor(f);for(m=0;m<e;m++)b=(m*h+0.5*h)*c/n,p=d[m],p.charAt(0)===mxMockupC.SELECTED&&(p=d[m].substring(1),l=m),a.text(12.5,b,0,0,p,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),b-=2.5,a.setFillColor("#dddddd"),a.setStrokeColor("#000000"),l===m?(a.setGradient("#aaaaaa","#666666",2.5,b,5,5,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(2.5,
  667. b,5,5),a.fillAndStroke(),a.setFillColor("#333333"),a.setStrokeColor("#333333"),a.ellipse(3.75,b+1.25,2.5,2.5)):(a.setGradient("#eeeeee","#cccccc",2.5,b,5,5,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(2.5,b,5,5)),a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IRADIO_GROUP]=mxShapeMockupiRadioGroup;function mxShapeMockupiCheckboxGroup(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  668. mxUtils.extend(mxShapeMockupiCheckboxGroup,mxShape);
  669. mxShapeMockupiCheckboxGroup.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#666666").toString(),g=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8").toString();d=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Option 1").toString().split(",");e=d.length;var h=Math.max(1.5*g,5),k=0,l=-1,n=e*h;c=Math.max(c,n);for(var m=0;m<e;m++){var p=d[m];p.charAt(0)===mxMockupC.SELECTED&&(p=d[m].substring(1),l=m);p=mxUtils.getSizeForString(p,
  670. g,mxConstants.DEFAULT_FONTFAMILY).width;p>k&&(k=p)}b=Math.max(b,5+k+10);a.roundrect(0,0,b,c,2.5,2.5);a.fillAndStroke();a.setShadow(!1);a.setFontSize(g);a.setFontColor(f);for(m=0;m<e;m++)b=(m*h+0.5*h)*c/n,p=d[m],p.charAt(0)===mxMockupC.SELECTED&&(p=d[m].substring(1),l=m),a.text(12.5,b,0,0,p,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),b-=2.5,a.setFillColor("#dddddd"),a.setStrokeColor("#000000"),l===m?(a.setGradient("#aaaaaa","#666666",2.5,b,5,5,mxConstants.DIRECTION_SOUTH,1,1),a.rect(2.5,
  671. b,5,5),a.fillAndStroke(),a.setStrokeColor("#333333"),a.begin(),a.moveTo(3.75,b+2.5),a.lineTo(5,b+3.75),a.lineTo(6.25,b+1.25),a.stroke()):(a.setGradient("#eeeeee","#cccccc",2.5,b,5,5,mxConstants.DIRECTION_SOUTH,1,1),a.rect(2.5,b,5,5),a.fillAndStroke()),l=-1};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ICHECKBOX_GROUP]=mxShapeMockupiCheckboxGroup;function mxShapeMockupiComboBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  672. mxUtils.extend(mxShapeMockupiComboBox,mxShape);mxShapeMockupiComboBox.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Main Text"),g=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#666666").toString(),h=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8.5").toString();a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c);this.mainText(a,d,e,b,c,f,h,g)};
  673. mxShapeMockupiComboBox.prototype.background=function(a,d,e,b,c){a.setFillColor("#ffffff");a.roundrect(0,0,b,c,2.5,2.5);a.fillAndStroke()};
  674. mxShapeMockupiComboBox.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,b-30,0,30,c,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(b-15,0);a.lineTo(b-2.5,0);a.arcTo(2.5,2.5,0,0,1,b,2.5);a.lineTo(b,c-2.5);a.arcTo(2.5,2.5,0,0,1,b-2.5,c);a.lineTo(b-15,c);a.close();a.fillAndStroke();a.setFillColor("#ffffff");a.begin();a.moveTo(b-11,5);a.lineTo(b-
  675. 7.5,10);a.lineTo(b-4,5);a.fill()};mxShapeMockupiComboBox.prototype.mainText=function(a,d,e,b,c,f,g,h){a.begin();a.setFontSize(g);a.setFontColor(h);a.text(2.5,0.5*c,0,0,f,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ICOMBO_BOX]=mxShapeMockupiComboBox;function mxShapeMockupiOnOffButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiOnOffButton,mxShape);
  676. mxShapeMockupiOnOffButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);b=Math.max(b,2*c);var f=mxUtils.getValue(this.style,mxMockupC.BUTTON_STATE,mxMockupC.STATE_ON);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c,f);this.mainText(a,d,e,b,c,f)};
  677. mxShapeMockupiOnOffButton.prototype.background=function(a,d,e,b,c,f){f===mxMockupC.STATE_ON?(a.setGradient("#E2FFEB","#008215",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1),a.roundrect(0,0,b,c,0.5*c,0.5*c),a.fillAndStroke()):f===mxMockupC.STATE_OFF&&(a.setGradient("#cc9999","#881100",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1),a.roundrect(0,0,b,c,0.5*c,0.5*c),a.fillAndStroke())};
  678. mxShapeMockupiOnOffButton.prototype.foreground=function(a,d,e,b,c,f){f===mxMockupC.STATE_ON?(a.setGradient("#ffffff","#888888",b-c,0,c,c,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(b-c,0,c,c)):(a.setGradient("#ffffff","#888888",0,0,c,c,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(0,0,c,c));a.fillAndStroke()};
  679. mxShapeMockupiOnOffButton.prototype.mainText=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,"mainText",null);a.setFontColor("#ffffff");a.setFontSize(8.5);""!=d&&(f===mxMockupC.STATE_ON?a.text(0.5*b-0.4*c,0.5*c,0,0,d||"ON",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):f===mxMockupC.STATE_OFF&&a.text(0.5*b+0.4*c,0.5*c,0,0,d||"OFF",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0))};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ION_OFF_BUTTON]=mxShapeMockupiOnOffButton;
  680. function mxShapeMockupiAlertBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiAlertBox,mxShape);mxShapeMockupiAlertBox.prototype.paintVertexShape=function(a,d,e,b,c){b=Math.max(b,15);c=Math.max(c,15);a.translate(d,e);rSize=7.5;this.background(a,d,e,b,c,rSize);a.setShadow(!1);this.foreground(a,d,e,b,c,rSize)};
  681. mxShapeMockupiAlertBox.prototype.background=function(a,d,e,b,c,f){a.setGradient("#497198","#193168",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setAlpha(0.8);a.setStrokeWidth(1);a.roundrect(0,0,b,c,f,f);a.fillAndStroke()};
  682. mxShapeMockupiAlertBox.prototype.foreground=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Main Text").toString().split(",");a.setStrokeColor("#497198");a.setGradient("#497198","#c5cee1",0,0,b,22.5,mxConstants.DIRECTION_SOUTH,1,1);a.setAlpha(0.5);a.begin();a.moveTo(b-f,0);a.arcTo(f,f,0,0,1,b,f);a.lineTo(b,17.5);a.arcTo(1.67*b,2.5*c,0,0,1,0,17.5);a.lineTo(0,f);a.arcTo(f,f,0,0,1,f,0);a.close();a.fillAndStroke();a.setAlpha(0.8);a.setStrokeColor("#ffffff");a.setStrokeWidth(1);
  683. a.roundrect(0,0,b,c,f,f);a.stroke();a.setGradient("#497198","#c5cee1",5,c-50,b-20,20,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(5,c-25,b-10,20,2.5,2.5);a.fillAndStroke();a.setAlpha(0.9);a.setFontSize(9.5);a.setFontColor("#ffffff");a.text(0.5*b,0.15*c,0,0,d[0],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontSize(8);a.text(0.5*b,0.4*c,0,0,d[2],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.55*c,0,0,d[3],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  684. 0,null,0,0,0);a.setFontSize(8.5);a.text(0.5*b,c-15,0,0,d[1],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IALERT_BOX]=mxShapeMockupiAlertBox;function mxShapeMockupiDialogBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiDialogBox,mxShape);
  685. mxShapeMockupiDialogBox.prototype.paintVertexShape=function(a,d,e,b,c){b=Math.max(b,15);c=Math.max(c,15);a.translate(d,e);rSize=7.5;this.background(a,d,e,b,c,rSize);a.setShadow(!1);this.foreground(a,d,e,b,c,rSize)};mxShapeMockupiDialogBox.prototype.background=function(a,d,e,b,c,f){a.setGradient("#497198","#193168",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setAlpha(0.8);a.setStrokeWidth(1);a.roundrect(0,0,b,c,f,f);a.fillAndStroke()};
  686. mxShapeMockupiDialogBox.prototype.foreground=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Main Text").toString().split(",");a.setStrokeColor("#497198");a.setGradient("#497198","#c5cee1",0,0,b,22.5,mxConstants.DIRECTION_SOUTH,1,1);a.setAlpha(0.5);a.begin();a.moveTo(b-f,0);a.arcTo(f,f,0,0,1,b,f);a.lineTo(b,17.5);a.arcTo(1.67*b,2.5*c,0,0,1,0,17.5);a.lineTo(0,f);a.arcTo(f,f,0,0,1,f,0);a.close();a.fillAndStroke();a.setAlpha(0.8);a.setStrokeColor("#ffffff");a.setStrokeWidth(1);
  687. a.roundrect(0,0,b,c,f,f);a.stroke();a.setGradient("#497198","#c5cee1",5,c-25,0.5*b-10,20,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(5,c-25,0.5*b-10,20,2.5,2.5);a.fillAndStroke();a.roundrect(0.5*b+2.5,c-25,0.5*b-10,20,2.5,2.5);a.fillAndStroke();a.setAlpha(0.9);a.setFontSize(9.5);a.setFontColor("#ffffff");a.text(0.5*b,0.15*c,0,0,d[0],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontSize(8);a.text(0.5*b,0.4*c,0,0,d[3],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,
  688. 0,0,0);a.text(0.5*b,0.55*c,0,0,d[4],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontSize(8.5);a.text(0.25*b,c-15,0,0,d[1],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.75*b,c-15,0,0,d[2],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IDIALOG_BOX]=mxShapeMockupiDialogBox;
  689. function mxShapeMockupiLockButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiLockButton,mxShape);
  690. mxShapeMockupiLockButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setShadow(!1);a.setAlpha(0.7);a.setGradient("#4A4F56","#70757B",0,0,b,c,mxConstants.DIRECTION_NORTH,1,1);a.rect(0,0,b,c);a.fill();a.setAlpha(0.8);a.setGradient("#18232D","#1F2933",10,10,154,30,mxConstants.DIRECTION_NORTH,1,1);a.roundrect(10,0.5*c-15,b-20,30,7.5,7.5);a.fill();a.setAlpha(1);a.setGradient("#E9F3FD","#ADB7C1",12.5,12.5,40,25,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(12.5,0.5*c-12.5,40,25,5,5);
  691. a.fill();a.setAlpha(0.8);a.setStrokeWidth(0.5);a.setStrokeColor("#aabbbb");a.setGradient("#AEB7C1","#667079",20,17.5,25,15,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(20,0.5*c-3.5);a.lineTo(35,0.5*c-3.5);a.lineTo(35,0.5*c-7.5);a.lineTo(45,0.5*c);a.lineTo(35,0.5*c+7.5);a.lineTo(35,0.5*c+3.5);a.lineTo(20,0.5*c+3.5);a.close();a.fillAndStroke();""!=mxUtils.getValue(this.style,"mainText",null)&&(a.setFontSize(12.5),a.setFontColor("#cccccc"),a.text(b/2+20.5,c/2,0,0,"slide to unlock",mxConstants.ALIGN_CENTER,
  692. mxConstants.ALIGN_MIDDLE,0,null,0,0,0))};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ILOCK_BUTTON]=mxShapeMockupiLockButton;function mxShapeMockupiArrowIcon(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiArrowIcon,mxShape);
  693. mxShapeMockupiArrowIcon.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"").toString();a.translate(d,e);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c,f)};
  694. mxShapeMockupiArrowIcon.prototype.background=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeWidth(1.5);a.setStrokeColor(f);a.ellipse(0,0,b,c);a.fillAndStroke()};
  695. mxShapeMockupiArrowIcon.prototype.foreground=function(a,d,e,b,c,f){a.setStrokeWidth(2.5);a.begin();a.moveTo(0.4*b,0.22*c);a.lineTo(0.65*b,0.5*c);a.lineTo(0.4*b,0.78*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IARROW_ICON]=mxShapeMockupiArrowIcon;function mxShapeMockupiDeleteIcon(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiDeleteIcon,mxShape);
  696. mxShapeMockupiDeleteIcon.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"").toString();a.translate(d,e);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c,f)};
  697. mxShapeMockupiDeleteIcon.prototype.background=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeWidth(1.5);a.setStrokeColor(f);a.ellipse(0,0,b,c);a.fillAndStroke()};mxShapeMockupiDeleteIcon.prototype.foreground=function(a,d,e,b,c,f){a.setStrokeWidth(2.5);a.begin();a.moveTo(0.25*b,0.5*c);a.lineTo(0.75*b,0.5*c);a.stroke()};
  698. mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IDELETE_ICON]=mxShapeMockupiDeleteIcon;function mxShapeMockupiAddIcon(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiAddIcon,mxShape);
  699. mxShapeMockupiAddIcon.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"").toString(),g=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString(),h=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(g,h,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeColor(f);a.translate(d,e);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c,f)};
  700. mxShapeMockupiAddIcon.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(1.5);a.ellipse(0,0,b,c);a.fillAndStroke()};mxShapeMockupiAddIcon.prototype.foreground=function(a,d,e,b,c,f){a.setStrokeWidth(2.5);a.begin();a.moveTo(0.25*b,0.5*c);a.lineTo(0.75*b,0.5*c);a.moveTo(0.5*b,0.25*c);a.lineTo(0.5*b,0.75*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IADD_ICON]=mxShapeMockupiAddIcon;
  701. function mxShapeMockupiInfoIcon(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiInfoIcon,mxShape);mxShapeMockupiInfoIcon.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"").toString();a.translate(d,e);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c,f)};
  702. mxShapeMockupiInfoIcon.prototype.background=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeWidth(1.5);a.setStrokeColor(f);a.ellipse(0,0,b,c);a.fillAndStroke()};
  703. mxShapeMockupiInfoIcon.prototype.foreground=function(a,d,e,b,c,f){a.setStrokeWidth(2.5);a.begin();a.setFillColor("#ffffff");a.moveTo(0.47*b,0.334*c);a.arcTo(0.1*b,0.15*c,60,0,1,0.61*b,0.42*c);a.lineTo(0.51*b,0.7*c);a.arcTo(0.026*b,0.03*c,30,0,0,0.54*b,0.74*c);a.lineTo(0.608*b,0.684*c);a.arcTo(0.02*b,0.015*c,0,0,1,0.638*b,0.706*c);a.arcTo(0.45*b,0.45*c,0,0,1,0.42*b,0.865*c);a.arcTo(0.1*b,0.08*c,-15,0,1,0.325*b,0.77*c);a.lineTo(0.358*b,0.66*c);a.lineTo(0.435*b,0.46*c);a.arcTo(0.023*b,0.03*c,0,0,0,0.4*
  704. b,0.43*c);a.lineTo(0.338*b,0.484*c);a.arcTo(0.01*b,0.015*c,45,0,1,0.31*b,0.47*c);a.arcTo(0.3*b,0.3*c,0,0,1,0.47*b,0.334*c);a.fill();a.begin();a.moveTo(0.5438*b,0.141*c);a.arcTo(0.0776*b,0.0898*c,40,0,1,0.6671*b,0.2308*c);a.arcTo(0.0776*b,0.0898*c,40,0,1,0.5438*b,0.141*c);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IINFO_ICON]=mxShapeMockupiInfoIcon;
  705. function mxShapeMockupiSortFindIcon(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiSortFindIcon,mxShape);mxShapeMockupiSortFindIcon.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"").toString();a.translate(d,e);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c,f)};
  706. mxShapeMockupiSortFindIcon.prototype.background=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeWidth(1.5);a.setStrokeColor(f);a.roundrect(0,0,b,c,0.1*b,0.1*c);a.fillAndStroke()};
  707. mxShapeMockupiSortFindIcon.prototype.foreground=function(a,d,e,b,c,f){a.setStrokeWidth(Math.min(c,b)/20);a.begin();a.setFillColor("#ffffff");a.moveTo(0.1*b,0.25*c);a.lineTo(0.9*b,0.25*c);a.moveTo(0.1*b,0.4*c);a.lineTo(0.9*b,0.4*c);a.moveTo(0.1*b,0.55*c);a.lineTo(0.6*b,0.55*c);a.moveTo(0.1*b,0.7*c);a.lineTo(0.5*b,0.7*c);a.stroke();a.begin();a.ellipse(0.6*b,0.6*c,0.2*b,0.2*c);a.stroke();a.begin();a.moveTo(0.77*b,0.77*c);a.lineTo(0.85*b,0.85*c);a.stroke()};
  708. mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ISORT_FIND_ICON]=mxShapeMockupiSortFindIcon;function mxShapeMockupiCheckIcon(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiCheckIcon,mxShape);
  709. mxShapeMockupiCheckIcon.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"").toString();a.translate(d,e);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c,f)};
  710. mxShapeMockupiCheckIcon.prototype.background=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeWidth(1.5);a.setStrokeColor(f);a.ellipse(0,0,b,c);a.fillAndStroke()};
  711. mxShapeMockupiCheckIcon.prototype.foreground=function(a,d,e,b,c,f){a.setStrokeWidth(2.5);a.begin();a.moveTo(0.25*b,0.5*c);a.lineTo(0.5*b,0.65*c);a.lineTo(0.75*b,0.25*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ICHECK_ICON]=mxShapeMockupiCheckIcon;function mxShapeMockupiKeybLetters(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiKeybLetters,mxShape);
  712. mxShapeMockupiKeybLetters.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0);this.foreground(a,d,e,b,c)};mxShapeMockupiKeybLetters.prototype.background=function(a,d,e,b,c){a.setGradient("#8A97A7","#425163",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.rect(0,0,b,c);a.fill()};
  713. mxShapeMockupiKeybLetters.prototype.foreground=function(a,d,e,b,c,f){a.setGradient("#EEF3F9","#DBE2E9",0.0086*b,0.03*c,0.0776*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);rSizeX=0.0144*b;rSizeY=0.025*c;a.setFontSize(10.5);a.setFontColor("#000000");a.roundrect(0.0086*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.0474*b,0.125*c,0,0,"Q",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.1092*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.148*b,0.125*c,0,
  714. 0,"W",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2098*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2486*b,0.125*c,0,0,"E",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3103*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.3491*b,0.125*c,0,0,"R",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4109*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.4497*b,0.125*c,0,0,"T",mxConstants.ALIGN_CENTER,
  715. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.5115*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5503*b,0.125*c,0,0,"Y",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.6121*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.6509*b,0.125*c,0,0,"U",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.7126*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7514*b,0.125*c,0,0,"I",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  716. 0,null,0,0,0);a.roundrect(0.8132*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.852*b,0.125*c,0,0,"O",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.9138*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.9526*b,0.125*c,0,0,"P",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.0632*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.102*b,0.375*c,0,0,"A",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,
  717. 0);a.roundrect(0.1638*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2026*b,0.375*c,0,0,"S",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2644*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.3032*b,0.375*c,0,0,"D",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3649*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.4037*b,0.375*c,0,0,"F",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4655*
  718. b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5043*b,0.375*c,0,0,"G",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.5661*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.6049*b,0.375*c,0,0,"H",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.6667*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7055*b,0.375*c,0,0,"J",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.7672*b,0.28*c,
  719. 0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.806*b,0.375*c,0,0,"K",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.8678*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.9066*b,0.375*c,0,0,"L",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.1638*b,0.53*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2026*b,0.625*c,0,0,"Z",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2644*b,0.53*c,0.0776*b,0.19*
  720. c,rSizeX,rSizeY);a.fill();a.text(0.3032*b,0.625*c,0,0,"X",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3649*b,0.53*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.4037*b,0.625*c,0,0,"C",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4655*b,0.53*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5043*b,0.625*c,0,0,"V",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.5661*b,0.53*c,0.0776*b,0.19*c,rSizeX,
  721. rSizeY);a.fill();a.text(0.6049*b,0.625*c,0,0,"B",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.6667*b,0.53*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7055*b,0.625*c,0,0,"N",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.7672*b,0.53*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.806*b,0.625*c,0,0,"M",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2644*b,0.78*c,0.4799*b,0.19*c,rSizeX,rSizeY);a.fill();
  722. a.setFontColor("#666666");a.text(0.5043*b,0.875*c,0,0,"space",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontColor("#ffffff");a.setGradient("#8B98A8","#677488",0.0115*b,0.53*c,0.1207*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0.0115*b,0.53*c,0.1207*b,0.19*c,rSizeX,rSizeY);a.fill();a.setGradient("#8B98A8","#677488",0.8736*b,0.53*c,0.115*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0.8736*b,0.53*c,0.115*b,0.19*c,rSizeX,rSizeY);a.fill();a.setGradient("#8B98A8",
  723. "#677488",0.0115*b,0.78*c,0.2299*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0.0115*b,0.78*c,0.2299*b,0.19*c,rSizeX,rSizeY);a.fill();a.setGradient("#8B98A8","#677488",0.7672*b,0.78*c,0.2213*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0.7672*b,0.78*c,0.2213*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.1264*b,0.875*c,0,0,".?123",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8779*b,0.875*c,0,0,"return",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,
  724. 0,0,0);a.setShadow(!1);a.setLineJoin("round");a.setStrokeColor("#ffffff");a.setFillColor("#ffffff");a.setStrokeWidth(1.5);a.begin();a.moveTo(0.0402*b,0.635*c);a.lineTo(0.0718*b,0.58*c);a.lineTo(0.1034*b,0.635*c);a.lineTo(0.0862*b,0.635*c);a.lineTo(0.0862*b,0.67*c);a.lineTo(0.0575*b,0.67*c);a.lineTo(0.0575*b,0.635*c);a.close();a.stroke();a.begin();a.moveTo(0.9109*b,0.585*c);a.lineTo(0.9655*b,0.585*c);a.lineTo(0.9655*b,0.665*c);a.lineTo(0.9109*b,0.665*c);a.lineTo(0.8879*b,0.625*c);a.close();a.fillAndStroke();
  725. a.setStrokeColor("#677488");a.begin();a.moveTo(0.9224*b,0.605*c);a.lineTo(0.9454*b,0.645*c);a.moveTo(0.9224*b,0.645*c);a.lineTo(0.9454*b,0.605*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IKEYB_LETTERS]=mxShapeMockupiKeybLetters;function mxShapeMockupiKeybNumbers(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiKeybNumbers,mxShape);
  726. mxShapeMockupiKeybNumbers.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0);this.foreground(a,d,e,b,c)};mxShapeMockupiKeybNumbers.prototype.background=function(a,d,e,b,c){a.setGradient("#8A97A7","#425163",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.rect(0,0,b,c);a.fill()};
  727. mxShapeMockupiKeybNumbers.prototype.foreground=function(a,d,e,b,c,f){a.setGradient("#EEF3F9","#DBE2E9",0.0086*b,0.03*c,0.0776*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);rSizeX=0.0144*b;rSizeY=0.025*c;a.setFontSize(10.5);a.setFontColor("#000000");a.roundrect(0.0086*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.0474*b,0.125*c,0,0,"1",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.1092*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.148*b,0.125*c,0,
  728. 0,"2",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2098*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2486*b,0.125*c,0,0,"3",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3103*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.3491*b,0.125*c,0,0,"4",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4109*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.4497*b,0.125*c,0,0,"5",mxConstants.ALIGN_CENTER,
  729. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.5115*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5503*b,0.125*c,0,0,"6",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.6121*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.6509*b,0.125*c,0,0,"7",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.7126*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7514*b,0.125*c,0,0,"8",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  730. 0,null,0,0,0);a.roundrect(0.8132*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.852*b,0.125*c,0,0,"9",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.9138*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.9526*b,0.125*c,0,0,"0",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.0086*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.0474*b,0.375*c,0,0,"-",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,
  731. 0);a.roundrect(0.1092*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.148*b,0.375*c,0,0,"/",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2098*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2486*b,0.375*c,0,0,":",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3103*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.3491*b,0.375*c,0,0,";",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4109*
  732. b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.4497*b,0.375*c,0,0,"(",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.5115*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5503*b,0.375*c,0,0,")",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.6121*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.6509*b,0.375*c,0,0,"$",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.7126*b,0.28*c,
  733. 0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7514*b,0.375*c,0,0,"\x26",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.8132*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.852*b,0.375*c,0,0,"@",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.9138*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.9526*b,0.375*c,0,0,'"',mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.1638*b,0.53*c,0.1178*
  734. b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2227*b,0.625*c,0,0,".",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3046*b,0.53*c,0.1178*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.3635*b,0.625*c,0,0,",",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4454*b,0.53*c,0.1178*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5043*b,0.625*c,0,0,"?",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.5862*b,0.53*c,0.1178*b,0.19*c,
  735. rSizeX,rSizeY);a.fill();a.text(0.6451*b,0.625*c,0,0,"!",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.727*b,0.53*c,0.1178*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7859*b,0.625*c,0,0,"'",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2644*b,0.78*c,0.4799*b,0.19*c,rSizeX,rSizeY);a.fill();a.setFontColor("#666666");a.text(0.5043*b,0.875*c,0,0,"space",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setGradient("#8B98A8",
  736. "#677488",0.0115*b,0.53*c,0.1207*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);a.setFontColor("#ffffff");a.roundrect(0.0115*b,0.53*c,0.1207*b,0.19*c,rSizeX,rSizeY);a.fill();a.roundrect(0.8736*b,0.53*c,0.115*b,0.19*c,rSizeX,rSizeY);a.fill();a.roundrect(0.0115*b,0.78*c,0.2299*b,0.19*c,rSizeX,rSizeY);a.fill();a.roundrect(0.7672*b,0.78*c,0.2213*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.0718*b,0.625*c,0,0,"#+\x3d",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.1264*b,0.875*c,0,0,
  737. "ABC",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8779*b,0.875*c,0,0,"return",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setShadow(!1);a.setLineJoin("round");a.setStrokeColor("#ffffff");a.setFillColor("#ffffff");a.setStrokeWidth(1.5);a.begin();a.moveTo(0.9109*b,0.585*c);a.lineTo(0.9655*b,0.585*c);a.lineTo(0.9655*b,0.665*c);a.lineTo(0.9109*b,0.665*c);a.lineTo(0.8879*b,0.625*c);a.close();a.fillAndStroke();a.setStrokeColor("#677488");a.begin();a.moveTo(0.9224*
  738. b,0.605*c);a.lineTo(0.9454*b,0.645*c);a.moveTo(0.9224*b,0.645*c);a.lineTo(0.9454*b,0.605*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IKEYB_NUMBERS]=mxShapeMockupiKeybNumbers;function mxShapeMockupiKeybSymbols(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiKeybSymbols,mxShape);
  739. mxShapeMockupiKeybSymbols.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0);this.foreground(a,d,e,b,c)};mxShapeMockupiKeybSymbols.prototype.background=function(a,d,e,b,c){a.setGradient("#8A97A7","#425163",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.rect(0,0,b,c);a.fill()};
  740. mxShapeMockupiKeybSymbols.prototype.foreground=function(a,d,e,b,c,f){a.setGradient("#EEF3F9","#DBE2E9",0.0086*b,0.03*c,0.0776*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);rSizeX=0.0144*b;rSizeY=0.025*c;a.setFontSize(10.5);a.setFontColor("#000000");a.roundrect(0.0086*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.0474*b,0.125*c,0,0,"[",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.1092*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.148*b,0.125*c,0,
  741. 0,"]",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2098*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2486*b,0.125*c,0,0,"{",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3103*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.3491*b,0.125*c,0,0,"}",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4109*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.4497*b,0.125*c,0,0,"#",mxConstants.ALIGN_CENTER,
  742. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.5115*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5503*b,0.125*c,0,0,"%",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.6121*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.6509*b,0.125*c,0,0,"^",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.7126*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7514*b,0.125*c,0,0,"*",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  743. 0,null,0,0,0);a.roundrect(0.8132*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.852*b,0.125*c,0,0,"+",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.9138*b,0.03*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.9526*b,0.125*c,0,0,"\x3d",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.0086*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.0474*b,0.375*c,0,0,"_",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,
  744. 0,0,0);a.roundrect(0.1092*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.148*b,0.375*c,0,0,"\\",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2098*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2486*b,0.375*c,0,0,"|",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3103*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.3491*b,0.375*c,0,0,"~",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4109*
  745. b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.4497*b,0.375*c,0,0,"\x3c",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.5115*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5503*b,0.375*c,0,0,"\x3e",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.6121*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.6509*b,0.375*c,0,0,String.fromCharCode(128),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.7126*
  746. b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7514*b,0.375*c,0,0,String.fromCharCode(163),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.8132*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.852*b,0.375*c,0,0,String.fromCharCode(165),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.9138*b,0.28*c,0.0776*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.9526*b,0.375*c,0,0,String.fromCharCode(149),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  747. 0,null,0,0,0);a.roundrect(0.1638*b,0.53*c,0.1178*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.2227*b,0.625*c,0,0,".",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.3046*b,0.53*c,0.1178*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.3635*b,0.625*c,0,0,",",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.4454*b,0.53*c,0.1178*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.5043*b,0.625*c,0,0,"?",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,
  748. 0,0);a.roundrect(0.5862*b,0.53*c,0.1178*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.6451*b,0.625*c,0,0,"!",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.727*b,0.53*c,0.1178*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.7859*b,0.625*c,0,0,"'",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.roundrect(0.2644*b,0.78*c,0.4799*b,0.19*c,rSizeX,rSizeY);a.fill();a.setFontColor("#666666");a.text(0.5043*b,0.875*c,0,0,"space",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  749. 0,null,0,0,0);a.setGradient("#8B98A8","#677488",0.0115*b,0.53*c,0.1207*b,0.19*c,mxConstants.DIRECTION_SOUTH,1,1);a.setFontColor("#ffffff");a.roundrect(0.0115*b,0.53*c,0.1207*b,0.19*c,rSizeX,rSizeY);a.fill();a.roundrect(0.8736*b,0.53*c,0.115*b,0.19*c,rSizeX,rSizeY);a.fill();a.roundrect(0.0115*b,0.78*c,0.2299*b,0.19*c,rSizeX,rSizeY);a.fill();a.roundrect(0.7672*b,0.78*c,0.2213*b,0.19*c,rSizeX,rSizeY);a.fill();a.text(0.0718*b,0.625*c,0,0,"123",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,
  750. 0,0,0);a.text(0.1264*b,0.875*c,0,0,"ABC",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8779*b,0.875*c,0,0,"return",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setShadow(!1);a.setLineJoin("round");a.setStrokeColor("#ffffff");a.setFillColor("#ffffff");a.setStrokeWidth(1.5);a.begin();a.moveTo(0.9109*b,0.585*c);a.lineTo(0.9655*b,0.585*c);a.lineTo(0.9655*b,0.665*c);a.lineTo(0.9109*b,0.665*c);a.lineTo(0.8879*b,0.625*c);a.close();a.fillAndStroke();a.setStrokeColor("#677488");
  751. a.begin();a.moveTo(0.9224*b,0.605*c);a.lineTo(0.9454*b,0.645*c);a.moveTo(0.9224*b,0.645*c);a.lineTo(0.9454*b,0.605*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IKEYB_SYMBOLS]=mxShapeMockupiKeybSymbols;function mxShapeMockupiDeleteApp(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiDeleteApp,mxShape);
  752. mxShapeMockupiDeleteApp.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"").toString();a.translate(d,e);this.background(a,d,e,b,c,f);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  753. mxShapeMockupiDeleteApp.prototype.background=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"").toString();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"").toString();a.setGradient(d,e,0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeWidth(1.5);a.setStrokeColor(f);a.ellipse(0,0,b,c);a.fillAndStroke()};
  754. mxShapeMockupiDeleteApp.prototype.foreground=function(a,d,e,b,c){a.setStrokeWidth(2.5);a.begin();a.moveTo(0.3*b,0.3*c);a.lineTo(0.7*b,0.7*c);a.moveTo(0.3*b,0.7*c);a.lineTo(0.7*b,0.3*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IDELETE_APP]=mxShapeMockupiDeleteApp;function mxShapeMockupiDirection(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiDirection,mxShape);
  755. mxShapeMockupiDirection.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupiDirection.prototype.background=function(a,d,e,b,c){a.setStrokeWidth(0.5);a.setStrokeColor("#008cff");a.ellipse(0,0,b,c);a.stroke()};
  756. mxShapeMockupiDirection.prototype.foreground=function(a,d,e,b,c){a.setAlpha(1);a.setGradient("#ffffff","#ffffff",0.29*b,0.2*c,0.42*b,0.3*c,mxConstants.DIRECTION_NORTH,1,0);a.begin();a.moveTo(0.29*b,0.2*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.71*b,0.2*c);a.fillAndStroke();a.setStrokeColor("#006cdf");a.setGradient("#ffffff","#007cef",0.47*b,0.47*c,0.06*b,0.06*c,mxConstants.DIRECTION_SOUTH,1,1);a.setAlpha(1);a.ellipse(0.47*b,0.47*c,0.06*b,0.06*c);a.fillAndStroke();a.setFillColor("#ffffff");a.setAlpha(0.8);
  757. a.ellipse(0.4825*b,0.4825*c,0.015*b,0.015*c);a.fill()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IDIRECTION]=mxShapeMockupiDirection;function mxShapeMockupiLocationBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiLocationBar,mxShape);mxShapeMockupiLocationBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  758. mxShapeMockupiLocationBar.prototype.background=function(a,d,e,b,c){e=mxUtils.getValue(this.style,mxMockupC.BAR_POS,"80");e=Math.min(e,100);e=Math.max(e,0);d=mxUtils.getValue(this.style,mxMockupC.POINTER_POS,mxMockupC.POINTER_BOTTOM);e=10+(b-20)*e/100;a.setStrokeWidth(0.5);a.setStrokeColor("#000000");a.setAlpha(0.7);a.begin();d===mxMockupC.POINTER_BOTTOM?(a.setGradient("#000000","#888888",0,0,b,c,mxConstants.DIRECTION_NORTH,1,1),a.moveTo(0,2.5),a.arcTo(2.5,2.5,0,0,1,2.5,0),a.lineTo(b-2.5,0),a.arcTo(2.5,
  759. 2.5,0,0,1,b,2.5),a.lineTo(b,c-2.5-7.5),a.arcTo(2.5,2.5,0,0,1,b-2.5,c-7.5),a.lineTo(e+7.5,c-7.5),a.lineTo(e,c),a.lineTo(e-7.5,c-7.5),a.lineTo(2.5,c-7.5),a.arcTo(2.5,2.5,0,0,1,0,c-2.5-7.5)):d===mxMockupC.POINTER_TOP&&(a.setGradient("#000000","#888888",0,0,b,c,mxConstants.DIRECTION_NORTH,1,1),a.moveTo(0,10),a.arcTo(2.5,2.5,0,0,1,2.5,7.5),a.lineTo(e-7.5,7.5),a.lineTo(e,0),a.lineTo(e+7.5,7.5),a.lineTo(b-2.5,7.5),a.arcTo(2.5,2.5,0,0,1,b,10),a.lineTo(b,c-2.5),a.arcTo(2.5,2.5,0,0,1,b-2.5,c),a.lineTo(2.5,
  760. c),a.arcTo(2.5,2.5,0,0,1,0,c-2.5));a.close();a.fillAndStroke()};
  761. mxShapeMockupiLocationBar.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxMockupC.POINTER_POS,mxMockupC.POINTER_BOTTOM);e=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Some Location");a.setAlpha(1);a.setFontColor("#ffffff");a.setFontSize(9.5);d===mxMockupC.POINTER_BOTTOM?(a.text(5,0.5*(c-7.5),0,0,e,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),a.translate(b-20,0.5*(c-7.5)-7.5)):(a.text(5,0.5*(c+7.5),0,0,e,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,
  762. 0,null,0,0,0),a.translate(b-20,0.5*(c+7.5)-7.5));c=b=15;a.setGradient("#8BbEff","#135Ec8",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeWidth(1.5);a.setStrokeColor("#ffffff");a.ellipse(0,0,b,c);a.fillAndStroke();a.setStrokeWidth(2.5);a.begin();a.moveTo(0.4*b,0.22*c);a.lineTo(0.65*b,0.5*c);a.lineTo(0.4*b,0.78*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ILOCATION_BAR]=mxShapeMockupiLocationBar;
  763. function mxShapeMockupiCallDialog(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiCallDialog,mxShape);mxShapeMockupiCallDialog.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c,5);a.setShadow(!1);this.foreground(a,d,e,b,c,5)};
  764. mxShapeMockupiCallDialog.prototype.background=function(a,d,e,b,c,f){a.setAlpha(0.8);a.setStrokeColor("#888888");a.setStrokeWidth(1.5);a.setFillColor("#000000");a.roundrect(0,0,b,c,f,f);a.fillAndStroke()};
  765. mxShapeMockupiCallDialog.prototype.foreground=function(a,d,e,b,c,f){a.begin();a.moveTo(0.33*b,0);a.lineTo(0.33*b,c);a.moveTo(0.67*b,0);a.lineTo(0.67*b,c);a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke();a.setStrokeColor("#000000");a.setFillColor("#ffffff");a.setStrokeWidth(0.5);a.roundrect(0.1433*b,0.104*c,0.0417*b,0.148*c,0.02*b,0.024*c);a.fill();a.begin();a.moveTo(0.14*b,0.188*c);a.lineTo(0.14*b,0.228*c);a.arcTo(0.025*b,0.03*c,0,0,0,0.19*b,0.228*c);a.lineTo(0.19*b,0.188*c);a.lineTo(0.2*b,0.188*c);
  766. a.lineTo(0.2*b,0.228*c);a.arcTo(0.0367*b,0.044*c,0,0,1,0.17*b,0.27*c);a.lineTo(0.17*b,0.296*c);a.lineTo(0.195*b,0.296*c);a.lineTo(0.195*b,0.308*c);a.lineTo(0.1367*b,0.308*c);a.lineTo(0.1367*b,0.296*c);a.lineTo(0.16*b,0.296*c);a.lineTo(0.16*b,0.27*c);a.arcTo(0.0367*b,0.044*c,0,0,1,0.13*b,0.228*c);a.lineTo(0.13*b,0.188*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.1033*b,0.108*c);a.lineTo(0.24*b,0.286*c);a.lineTo(0.2317*b,0.298*c);a.lineTo(0.095*b,0.12*c);a.close();a.fillAndStroke();a.rect(0.44*
  767. b,0.128*c,0.033*b,0.04*c);a.fill();a.rect(0.485*b,0.128*c,0.033*b,0.04*c);a.fill();a.rect(0.53*b,0.128*c,0.033*b,0.04*c);a.fill();a.rect(0.44*b,0.186*c,0.033*b,0.04*c);a.fill();a.rect(0.485*b,0.186*c,0.033*b,0.04*c);a.fill();a.rect(0.53*b,0.186*c,0.033*b,0.04*c);a.fill();a.rect(0.44*b,0.244*c,0.033*b,0.04*c);a.fill();a.rect(0.485*b,0.244*c,0.033*b,0.04*c);a.fill();a.rect(0.53*b,0.244*c,0.033*b,0.04*c);a.fill();a.begin();a.moveTo(0.7567*b,0.18*c);a.lineTo(0.785*b,0.18*c);a.lineTo(0.825*b,0.128*c);
  768. a.lineTo(0.825*b,0.28*c);a.lineTo(0.79*b,0.234*c);a.lineTo(0.7567*b,0.234*c);a.close();a.fill();a.setStrokeWidth(1.5);a.setStrokeColor("#ffffff");a.begin();a.moveTo(0.8383*b,0.16*c);a.arcTo(0.0533*b,0.064*c,0,0,1,0.8383*b,0.252*c);a.moveTo(0.8583*b,0.134*c);a.arcTo(0.0817*b,0.098*c,0,0,1,0.8583*b,0.276*c);a.moveTo(0.8767*b,0.11*c);a.arcTo(0.1133*b,0.136*c,0,0,1,0.8767*b,0.304*c);a.stroke();a.begin();a.moveTo(0.1467*b,0.62*c);a.lineTo(0.1833*b,0.62*c);a.lineTo(0.1833*b,0.676*c);a.lineTo(0.2267*b,0.676*
  769. c);a.lineTo(0.2267*b,0.724*c);a.lineTo(0.1833*b,0.724*c);a.lineTo(0.1833*b,0.78*c);a.lineTo(0.1467*b,0.78*c);a.lineTo(0.1467*b,0.724*c);a.lineTo(0.105*b,0.724*c);a.lineTo(0.105*b,0.676*c);a.lineTo(0.1467*b,0.676*c);a.close();a.fill();a.rect(0.4517*b,0.624*c,0.0333*b,0.152*c);a.fill();a.rect(0.5183*b,0.624*c,0.0333*b,0.152*c);a.fill();a.begin();a.moveTo(0.76*b,0.752*c);a.arcTo(0.1*b,0.12*c,0,0,1,0.8033*b,0.728*c);a.arcTo(0.0167*b,0.02*c,0,0,0,0.8167*b,0.712*c);a.lineTo(0.8175*b,0.7*c);a.arcTo(0.0267*
  770. b,0.06*c,0,0,1,0.8067*b,0.644*c);a.arcTo(0.0287*b,0.0344*c,0,0,1,0.8633*b,0.644*c);a.arcTo(0.0267*b,0.06*c,0,0,1,0.855*b,0.7*c);a.arcTo(0.05*b,0.724*c,0,0,1,0.8633*b,0.724*c);a.arcTo(0.1667*b,0.75*c,0,0,1,0.9083*b,0.75*c);a.lineTo(0.9083*b,0.78*c);a.lineTo(0.76*b,0.78*c);a.close();a.fill();a.setFontColor("#ffffff");a.setFontSize(8.5);a.text(0.1667*b,0.35*c,0,0,"mute",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.35*c,0,0,"keypad",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  771. 0,null,0,0,0);a.text(0.8333*b,0.35*c,0,0,"speaker",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.1667*b,0.85*c,0,0,"add",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.85*c,0,0,"pause",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8333*b,0.85*c,0,0,"contacts",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setGradient("#808080","#ffffff",0,0,b,0.308*c,mxConstants.DIRECTION_NORTH,1,1);a.setAlpha(0.4);
  772. a.begin();a.moveTo(0,0.308*c);a.lineTo(0,f);a.arcTo(f,f,0,0,1,f,0);a.lineTo(b-f,0);a.arcTo(f,f,0,0,1,b,f);a.lineTo(b,0.308*c);a.arcTo(1.5*b,1.8*c,0,0,1,0,0.308*c);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ICALL_DIALOG]=mxShapeMockupiCallDialog;function mxShapeMockupiCallButtons(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiCallButtons,mxShape);
  773. mxShapeMockupiCallButtons.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeMockupiCallButtons.prototype.background=function(a,d,e,b,c){a.setStrokeWidth(0.5);a.setStrokeColor("#008cff");a.setGradient("#0F1B2B","#4F5B6B",0,0,b,c,mxConstants.DIRECTION_NORTH,1,1);a.rect(0,0,b,c);a.fillAndStroke()};
  774. mxShapeMockupiCallButtons.prototype.foreground=function(a,d,e,b,c){a.begin();a.moveTo(0,0.1667*c);a.lineTo(b,0.1667*c);a.moveTo(0,0.3333*c);a.lineTo(b,0.3333*c);a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.moveTo(0,0.6667*c);a.lineTo(b,0.6667*c);a.moveTo(0,0.8333*c);a.lineTo(b,0.8333*c);a.moveTo(0.3333*b,0.1667*c);a.lineTo(0.3333*b,c);a.moveTo(0.6667*b,0.1667*c);a.lineTo(0.6667*b,c);a.stroke();a.setFontSize(15.5);a.setFontColor("#ffffff");a.setFontStyle(mxConstants.FONT_BOLD);a.text(0.5*b,0.0834*c,0,0,"(123) 456-7890",
  775. mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.1667*b,0.22*c,0,0,"1",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.22*c,0,0,"2",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8333*b,0.22*c,0,0,"3",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.1667*b,0.3867*c,0,0,"3",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.3867*c,0,0,"4",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  776. 0,null,0,0,0);a.text(0.8333*b,0.3867*c,0,0,"5",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.1667*b,0.5534*c,0,0,"6",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.5534*c,0,0,"7",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8333*b,0.5534*c,0,0,"8",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontSize(27.5);a.text(0.1667*b,0.76*c,0,0,"*",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,
  777. null,0,0,0);a.setFontSize(15.5);a.text(0.5*b,0.72*c,0,0,"0",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8333*b,0.75*c,0,0,"#",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setGradient("#E2FFEB","#008215",0.3333*b,0.8333*c,0.3333*b,0.1667*c,mxConstants.DIRECTION_SOUTH,1,1);a.rect(0.3333*b,0.8333*c,0.3333*b,0.1667*c);a.fillAndStroke();a.text(0.5*b,0.9168*c,0,0,"Call",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontStyle(0);a.setFontSize(8);
  778. a.setFontColor("#bbbbbb");a.text(0.5*b,0.28*c,0,0,"ABC",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8333*b,0.28*c,0,0,"DEF",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.1667*b,0.4467*c,0,0,"GHI",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.4467*c,0,0,"JKL",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8333*b,0.4467*c,0,0,"MNO",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,
  779. 0,0,0);a.text(0.1667*b,0.6134*c,0,0,"PQRS",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.6134*c,0,0,"TUV",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.8333*b,0.6134*c,0,0,"WXYZ",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.78*c,0,0,"+",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFillColor("#ffffff");a.begin();a.moveTo(0.1028*b,0.9464*c);a.arcTo(0.0862*b,0.0652*c,0,0,1,0.1402*b,0.9333*
  780. c);a.arcTo(0.0144*b,0.0109*c,0,0,0,0.1517*b,0.9246*c);a.lineTo(0.1524*b,0.9181*c);a.arcTo(0.023*b,0.0326*c,0,0,1,0.143*b,0.8877*c);a.arcTo(0.0247*b,0.0187*c,0,0,1,0.1919*b,0.8877*c);a.arcTo(0.023*b,0.0326*c,0,0,1,0.1847*b,0.9181*c);a.arcTo(0.0431*b,0.0174*c,0,0,0,0.1919*b,0.9311*c);a.arcTo(0.1437*b,0.1087*c,0,0,1,0.2307*b,0.9453*c);a.lineTo(0.2307*b,0.9616*c);a.lineTo(0.1028*b,0.9616*c);a.close();a.fill();a.setStrokeColor("#ffffff");a.setStrokeWidth(2.5);a.setLineJoin("round");a.begin();a.moveTo(0.79*
  781. b,0.89*c);a.lineTo(0.9*b,0.89*c);a.lineTo(0.9*b,0.95*c);a.lineTo(0.79*b,0.95*c);a.lineTo(0.76*b,0.92*c);a.close();a.fillAndStroke();a.setStrokeColor("#0F1B2B");a.begin();a.moveTo(0.82*b,0.907*c);a.lineTo(0.85*b,0.933*c);a.moveTo(0.82*b,0.933*c);a.lineTo(0.85*b,0.907*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ICALL_BUTTONS]=mxShapeMockupiCallButtons;
  782. function mxShapeMockupiOption(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiOption,mxShape);mxShapeMockupiOption.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  783. mxShapeMockupiOption.prototype.background=function(a,d,e,b,c){e=mxUtils.getValue(this.style,mxMockupC.BAR_POS,"80");e=Math.min(e,100);e=Math.max(e,0);d=mxUtils.getValue(this.style,mxMockupC.POINTER_POS,mxMockupC.POINTER_BOTTOM);e=10+(b-20)*e/100;a.setStrokeWidth(0.5);a.setStrokeColor("#000000");a.setAlpha(0.9);a.begin();d===mxMockupC.POINTER_BOTTOM?(a.setGradient("#000000","#888888",0,0,b,c,mxConstants.DIRECTION_NORTH,1,1),a.moveTo(0,2.5),a.arcTo(2.5,2.5,0,0,1,2.5,0),a.lineTo(b-2.5,0),a.arcTo(2.5,
  784. 2.5,0,0,1,b,2.5),a.lineTo(b,c-2.5-7.5),a.arcTo(2.5,2.5,0,0,1,b-2.5,c-7.5),a.lineTo(e+7.5,c-7.5),a.lineTo(e,c),a.lineTo(e-7.5,c-7.5),a.lineTo(2.5,c-7.5),a.arcTo(2.5,2.5,0,0,1,0,c-2.5-7.5)):d===mxMockupC.POINTER_TOP&&(a.setGradient("#000000","#888888",0,0,b,c,mxConstants.DIRECTION_NORTH,1,1),a.moveTo(0,10),a.arcTo(2.5,2.5,0,0,1,2.5,7.5),a.lineTo(e-7.5,7.5),a.lineTo(e,0),a.lineTo(e+7.5,7.5),a.lineTo(b-2.5,7.5),a.arcTo(2.5,2.5,0,0,1,b,10),a.lineTo(b,c-2.5),a.arcTo(2.5,2.5,0,0,1,b-2.5,c),a.lineTo(2.5,
  785. c),a.arcTo(2.5,2.5,0,0,1,0,c-2.5));a.close();a.fillAndStroke()};
  786. mxShapeMockupiOption.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"Some Location");e=mxUtils.getValue(this.style,mxMockupC.POINTER_POS,mxMockupC.POINTER_BOTTOM);a.setAlpha(1);a.setFontColor("#ffffff");a.setFontSize(9.5);e===mxMockupC.POINTER_BOTTOM?a.text(0.5*b,0.5*(c-7.5),0,0,d,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0):a.text(0.5*b,0.5*(c+7.5),0,0,d,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  787. mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IOPTION]=mxShapeMockupiOption;function mxShapeMockupiAlphaList(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiAlphaList,mxShape);
  788. mxShapeMockupiAlphaList.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setShadow(!1);d=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8");a.setFontColor("#999999");a.setFontSize(d);a.text(0.5*b,0.069*c,0,0,"A",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.1035*c,0,0,"B",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.138*c,0,0,"C",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,
  789. 0.1725*c,0,0,"D",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.207*c,0,0,"E",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.2415*c,0,0,"F",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.276*c,0,0,"G",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.3105*c,0,0,"H",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.345*c,0,0,"I",mxConstants.ALIGN_CENTER,
  790. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.3795*c,0,0,"J",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.414*c,0,0,"K",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.4485*c,0,0,"L",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.483*c,0,0,"M",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.5175*c,0,0,"N",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,
  791. 0,0);a.text(0.5*b,0.552*c,0,0,"O",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.5865*c,0,0,"P",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.621*c,0,0,"Q",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.6555*c,0,0,"R",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.69*c,0,0,"S",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.7245*c,0,0,"T",
  792. mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.759*c,0,0,"U",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.7935*c,0,0,"V",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.828*c,0,0,"W",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.8625*c,0,0,"X",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.897*c,0,0,"Y",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  793. 0,null,0,0,0);a.text(0.5*b,0.9315*c,0,0,"Z",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.text(0.5*b,0.966*c,0,0,"#",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor("#999999");a.ellipse(0.5*b-2.25,0.0345*c-3.5,4.5,4.5);a.stroke();a.begin();a.moveTo(0.5*b-4.25,0.0345*c+3);a.lineTo(0.5*b-1.75,0.0345*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IALPHA_LIST]=mxShapeMockupiAlphaList;
  794. function mxShapeMockupiHorButtonBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiHorButtonBar,mxShape);
  795. mxShapeMockupiHorButtonBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"+Button 1, Button 2, Button 3").toString().split(","),g=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR,"#666666"),h=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR2,"#ffffff"),k=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8.5").toString(),l=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#666666"),n=mxUtils.getValue(this.style,mxMockupC.STYLE_STROKECOLOR2,
  796. "#c4c4c4"),m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),p=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"#008cff"),q=f.length,t=Array(q),s=0,u=-1,r=0;r<q;r++){var v=f[r];v.charAt(0)===mxMockupC.SELECTED&&(v=f[r].substring(1),u=r);t[r]=mxUtils.getSizeForString(v,k,mxConstants.DEFAULT_FONTFAMILY).width;s+=t[r]}c=Math.max(c,1.5*k,10);s=5*q+s;b=Math.max(b,s);a.translate(d,e);this.background(a,b,c,2.5,q,t,2.5,s,l,n,m,p,u);a.setShadow(!1);for(r=d=0;r<q;r++)r===u?a.setFontColor(h):
  797. a.setFontColor(g),d+=2.5,this.buttonText(a,d,c,f[r],t[r],k,s,b),d=d+t[r]+2.5};
  798. mxShapeMockupiHorButtonBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m,p){a.begin();a.setStrokeColor(k);a.setFillColor(n);a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.fillAndStroke();a.setStrokeColor(l);a.begin();for(l=1;l<c;l++)if(l!==p&&l!==p+1){for(var q=m=0;q<l;q++)m+=f[q]+2*g;m=m*d/h;a.moveTo(m,0);a.lineTo(m,e)}a.stroke();m=0;a.setStrokeColor(mxConstants.NONE);
  799. for(l=0;l<p;l++)m+=f[l]+2*g;m=m*d/h;f=(f[p]+2*g)*d/h;f+=m;0===p?(a.setGradient("#5D7585","#008cff",0,0,f,e,mxConstants.DIRECTION_SOUTH,1,1),a.begin(),a.moveTo(0,b),a.arcTo(b,b,0,0,1,b,0),a.lineTo(f,0),a.lineTo(f,e),a.lineTo(b,e),a.arcTo(b,b,0,0,1,0,e-b),a.close(),a.fill()):p===c-1?(a.setGradient("#5D7585","#008cff",m,0,f-m,e,mxConstants.DIRECTION_SOUTH,1,1),a.begin(),a.moveTo(m,0),a.lineTo(f-b,0),a.arcTo(b,b,0,0,1,f,b),a.lineTo(f,e-b),a.arcTo(b,b,0,0,1,f-b,e),a.lineTo(m,e),a.close(),a.fill()):-1!==
  800. p&&(a.setGradient("#5D7585","#008cff",m,0,f-m,e,mxConstants.DIRECTION_SOUTH,1,1),a.begin(),a.moveTo(m,0),a.lineTo(f,0),a.lineTo(f,e),a.lineTo(m,e),a.close(),a.fill());a.setStrokeColor(k);a.setFillColor(n);a.begin();a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(b,e);a.arcTo(b,b,0,0,1,0,e-b);a.close();a.stroke()};
  801. mxShapeMockupiHorButtonBar.prototype.buttonText=function(a,d,e,b,c,f,g,h){b.charAt(0)===mxMockupC.SELECTED&&(b=b.substring(1));a.begin();a.setFontSize(f);a.text((d+0.5*c)*h/g,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IHOR_BUTTON_BAR]=mxShapeMockupiHorButtonBar;function mxShapeMockupiPin(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  802. mxUtils.extend(mxShapeMockupiPin,mxShape);
  803. mxShapeMockupiPin.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"#000000"),g=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR3,"#000000"),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setShadow(!1);a.translate(d,e);a.setStrokeWidth(1.5);a.setStrokeColor("#666666");a.begin();a.moveTo(0.5*b,0.4*c);a.lineTo(0.5*b,c);a.stroke();a.setStrokeWidth(1);a.setStrokeColor(h);a.setGradient(f,g,0,0,b,0.4*c,mxConstants.DIRECTION_SOUTH,
  804. 1,1);a.setAlpha(0.9);a.ellipse(0,0,b,0.4*c);a.fillAndStroke();a.setFillColor("#ffffff");a.setAlpha(0.5);a.ellipse(0.2*b,0.08*c,0.3*b,0.12*c);a.fill()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IPIN]=mxShapeMockupiPin;function mxShapeMockupiVideoControls(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiVideoControls,mxShape);
  805. mxShapeMockupiVideoControls.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setStrokeWidth(1);a.setFillColor("#000000");a.setStrokeColor("#bbbbbb");a.setAlpha(0.7);a.roundrect(0,0,b,c,5,5);a.fillAndStroke();a.setShadow(!1);this.foreground(a,b,c,5)};
  806. mxShapeMockupiVideoControls.prototype.foreground=function(a,d,e,b){a.setGradient("#ffffff","#ffffff",0,0,d,0.5*e,mxConstants.DIRECTION_SOUTH,0.8,0.1);a.begin();a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,0.5*e);a.lineTo(0,0.5*e);a.close();a.fill();a.setAlpha(1);a.setFillColor("#ffffff");a.setStrokeColor("#ffffff");var c=0.1*d,f=0.35*e;a.begin();a.moveTo(c-7.5,f-2.5);a.arcTo(6,6,0,0,1,c,f-2.5);a.arcTo(6,6,0,0,1,c+7.5,f-2.5);a.lineTo(c+7.5,f+4);a.arcTo(6,6,
  807. 0,0,0,c,f+4);a.arcTo(6,6,0,0,0,c-7.5,f+4);a.close();a.stroke();a.begin();a.moveTo(c,f-2.5);a.lineTo(c,f+4);a.stroke();c=0.3*d;a.rect(c-7.5,f-5,1,10);a.fill();a.begin();a.moveTo(c-6.5,f);a.lineTo(c+0.5,f-5);a.lineTo(c+0.5,f+5);a.close();a.fill();a.begin();a.moveTo(c+0.5,f);a.lineTo(c+7.5,f-5);a.lineTo(c+7.5,f+5);a.close();a.fill();c=0.5*d;a.begin();a.moveTo(c-6,f-5);a.lineTo(c+6,f);a.lineTo(c-6,f+5);a.close();a.fill();c=0.7*d;a.begin();a.moveTo(c-7.5,f-5);a.lineTo(c-0.5,f);a.lineTo(c-7.5,f+5);a.close();
  808. a.fill();a.begin();a.moveTo(c-0.5,f-5);a.lineTo(c+6.5,f);a.lineTo(c-0.5,f+5);a.close();a.fill();a.rect(c+6.5,f-5,1,10);a.fill();c=0.9*d;a.rect(c-7.5,f-4,15,8);a.stroke();a.setStrokeWidth(0.5);a.begin();a.moveTo(c-7.5,f-4);a.lineTo(c,f+1.5);a.lineTo(c+7.5,f-4);a.stroke();a.begin();a.moveTo(c-7.5,f+4);a.lineTo(c-2,f);a.stroke();a.begin();a.moveTo(c+7.5,f+4);a.lineTo(c+2,f);a.stroke();a.setGradient("#444444","#ffffff",0.1*d,0.75*e-2.5,0.8*d,5,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0.1*d,0.75*e-
  809. 2.5,0.8*d,5,2.5,2.5);a.fill();c=mxUtils.getValue(this.style,mxMockupC.BAR_POS,"80");c=Math.min(c,100);c=Math.max(c,0);f=0.1*d;c=f+(d-2*f)*c/100;a.setGradient("#96D1FF","#003377",0.1*d,0.75*e-5,c-0.1*d,10,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(c,0.75*e-2.5);a.lineTo(c,0.75*e+2.5);a.lineTo(0.1*d+2.5,0.75*e+2.5);a.arcTo(2.5,2.5,0,0,1,0.1*d+2.5,0.75*e-2.5);a.close();a.fill();a.setStrokeColor("#999999");a.setGradient("#444444","#ffffff",c-5,0.75*e-5,10,10,mxConstants.DIRECTION_NORTH,1,1);
  810. a.ellipse(c-5,0.75*e-5,10,10);a.fillAndStroke();a.setStrokeColor("#dddddd");a.roundrect(0,0,d,e,b,b);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IVIDEO_CONTROLS]=mxShapeMockupiVideoControls;
  811. Graph.handleFactory[mxMockupC.SHAPE_IVIDEO_CONTROLS]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",40))));return new mxPoint(a.x+0.1*a.width+0.8*e*a.width/100,a.y+0.75*a.height)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-0.1*a.width-a.x)/(0.8*a.width))))/100})]};
  812. function mxShapeMockupiURLBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiURLBar,mxShape);mxShapeMockupiURLBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setGradient("#cccccc","#003377",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.rect(0,0,b,c);a.fill();a.setShadow(!1);this.foreground(a,b,c)};
  813. mxShapeMockupiURLBar.prototype.foreground=function(a,d,e){a.setStrokeWidth(0.5);a.setFillColor("#ffffff");a.setStrokeColor("#008cff");a.roundrect(0.0287*d,0.625*e-6.25,0.7184*d,12.5,6.25,6.25);a.fillAndStroke();a.setGradient("#cccccc","#001144",0.7816*d,0.625*e-6.25,0.1868*d,12.5,mxConstants.DIRECTION_SOUTH,1,1);a.setStrokeColor("#000000");a.roundrect(0.7816*d,0.625*e-6.25,0.1868*d,12.5,2.5,2.5);a.fillAndStroke();a.setFillColor("#bbbbbb");a.ellipse(0.7471*d-11.5,0.625*e-5,10,10);a.fill();a.setStrokeColor("#ffffff");
  814. a.setStrokeWidth(1.5);a.begin();a.moveTo(0.7471*d-8.5,0.625*e-2.5);a.lineTo(0.7471*d-3.5,0.625*e+2.5);a.moveTo(0.7471*d-8.5,0.625*e+2.5);a.lineTo(0.7471*d-3.5,0.625*e-2.5);a.stroke();var b=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"").toString().split(",");a.setFontColor("#425664");a.setFontStyle(mxConstants.FONT_BOLD);a.setFontSize(8);a.text(0.5*d,0.2*e,0,0,b[0],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontColor("#000000");a.text(0.06*d,0.625*e,0,0,b[1],mxConstants.ALIGN_LEFT,
  815. mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFontColor("#ffffff");a.text(0.875*d,0.625*e,0,0,b[2],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IURL_BAR]=mxShapeMockupiURLBar;function mxShapeMockupiSlider(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiSlider,mxShape);
  816. mxShapeMockupiSlider.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setShadow(!1);this.foreground(a,b,c)};
  817. mxShapeMockupiSlider.prototype.foreground=function(a,d,e){a.setStrokeWidth(0.5);a.setGradient("#444444","#ffffff",0,0.5*e-2.5,d,5,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0,0.5*e-2.5,d,5,2.5,2.5);a.fill();var b=mxUtils.getValue(this.style,mxMockupC.BAR_POS,"80"),b=Math.min(b,100),b=Math.max(b,0);d=0+(d-0)*b/100;a.setGradient("#96D1FF","#003377",2.5,0.5*e-2.5,d-2.5,5,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(d,0.5*e-2.5);a.lineTo(d,0.5*e+2.5);a.lineTo(2.5,0.5*e+2.5);a.arcTo(2.5,2.5,0,
  818. 0,1,2.5,0.5*e-2.5);a.close();a.fill();a.setStrokeColor("#999999");a.setGradient("#444444","#ffffff",d-5,0.5*e-5,10,10,mxConstants.DIRECTION_NORTH,1,1);a.ellipse(d-5,0.5*e-5,10,10);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ISLIDER]=mxShapeMockupiSlider;
  819. Graph.handleFactory[mxMockupC.SHAPE_ISLIDER]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/100})]};function mxShapeMockupiProgressBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  820. mxUtils.extend(mxShapeMockupiProgressBar,mxShape);mxShapeMockupiProgressBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setShadow(!1);this.foreground(a,b,c)};
  821. mxShapeMockupiProgressBar.prototype.foreground=function(a,d,e){a.setStrokeWidth(0.5);a.setGradient("#444444","#ffffff",0,0.5*e-2.5,d,5,mxConstants.DIRECTION_SOUTH,1,1);a.roundrect(0,0.5*e-2.5,d,5,2.5,2.5);a.fill();var b=mxUtils.getValue(this.style,mxMockupC.BAR_POS,"80"),b=Math.min(b,100),b=Math.max(b,0);d=0+(d-0)*b/100;a.setGradient("#96D1FF","#003377",2.5,0.5*e-2.5,d-2.5,5,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(d,0.5*e-2.5);a.arcTo(2.5,2.5,0,0,1,d,0.5*e+2.5);a.lineTo(2.5,0.5*e+2.5);
  822. a.arcTo(2.5,2.5,0,0,1,2.5,0.5*e-2.5);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IPROGRESS_BAR]=mxShapeMockupiProgressBar;
  823. Graph.handleFactory[mxMockupC.SHAPE_IPROGRESS_BAR]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/100})]};
  824. function mxShapeMockupiCloudProgressBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiCloudProgressBar,mxShape);mxShapeMockupiCloudProgressBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setShadow(!1);this.foreground(a,b,c)};
  825. mxShapeMockupiCloudProgressBar.prototype.foreground=function(a,d,e){a.setStrokeWidth(0.5);a.setFillColor("#5C6E86");a.rect(0,0.5*e-2.5,d,5);a.fill();var b=mxUtils.getValue(this.style,mxMockupC.BAR_POS,"80"),b=Math.min(b,100),b=Math.max(b,0);d=0+(d-0)*b/100;a.setFillColor("#8AD155");a.rect(0,0.5*e-2.5,d,5);a.fill()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ICLOUD_PROGRESS_BAR]=mxShapeMockupiCloudProgressBar;
  826. Graph.handleFactory[mxMockupC.SHAPE_ICLOUD_PROGRESS_BAR]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/100})]};
  827. function mxShapeMockupiDownloadBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiDownloadBar,mxShape);mxShapeMockupiDownloadBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setGradient("#00ccff","#0066cc",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.rect(0,0,b,c);a.fill();a.setShadow(!1);this.foreground(a,b,c)};
  828. mxShapeMockupiDownloadBar.prototype.foreground=function(a,d,e){var b=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"");a.setFontColor("#ffffff");a.setFontStyle(mxConstants.FONT_BOLD);a.setFontSize(8);a.text(0.5*d,0.2*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);var c=mxUtils.getValue(this.style,mxMockupC.BAR_POS,"80"),c=Math.min(c,100),c=Math.max(c,0),b=0.1*d,c=b+(d-2*b)*c/100;a.setStrokeWidth(0.5);a.setGradient("#96D1FF","#003377",b,0.65*e-2.5,d-2*b,5,mxConstants.DIRECTION_NORTH,
  829. 1,1);a.roundrect(b,0.65*e-2.5,d-2*b,5,2.5,2.5);a.fill();a.setGradient("#aaaaaa","#ffffff",b+2.5,0.65*e-2.5,c-b-2.5,5,mxConstants.DIRECTION_NORTH,1,1);a.begin();a.moveTo(c,0.65*e-2.5);a.arcTo(2.5,2.5,0,0,1,c,0.65*e+2.5);a.lineTo(b+2.5,0.65*e+2.5);a.arcTo(2.5,2.5,0,0,1,b+2.5,0.65*e-2.5);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IDOWNLOAD_BAR]=mxShapeMockupiDownloadBar;
  830. Graph.handleFactory[mxMockupC.SHAPE_IDOWNLOAD_BAR]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",40))));return new mxPoint(a.x+0.1*a.width+0.8*e*a.width/100,a.y+0.65*a.height)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-0.1*a.width-a.x)/(0.8*a.width))))/100})]};
  831. function mxShapeMockupiScreenNameBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiScreenNameBar,mxShape);mxShapeMockupiScreenNameBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setStrokeWidth(0.5);d=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"#00ff00");a.setFillColor(d);a.rect(0,0,b,c);a.fill();a.setShadow(!1);this.foreground(a,b,c,5)};
  832. mxShapeMockupiScreenNameBar.prototype.foreground=function(a,d,e,b){b=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR3,"#00ff00");a.setGradient(b,b,0,0,d,0.5*e,mxConstants.DIRECTION_SOUTH,0.8,0.1);a.rect(0,0,d,0.5*e);a.fill();b=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"");var c=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR,"#00ff00");a.setFontColor(c);a.setFontSize(9.5);a.text(0.5*d,0.45*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  833. mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ISCREEN_NAME_BAR]=mxShapeMockupiScreenNameBar;function mxShapeMockupiIconGrid(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiIconGrid,mxShape);
  834. mxShapeMockupiIconGrid.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxMockupC.GRID_SIZE,"3,3").toString().split(",");this.background(a,b,c,d);a.setShadow(!1);this.foreground(a,b,c,d)};
  835. mxShapeMockupiIconGrid.prototype.background=function(a,d,e,b){var c=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#00ff00"),f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#00ff00");a.setStrokeColor(f);a.setFillColor(c);d/=parseInt(b[0],10)+0.5*(b[0]-1);e/=parseInt(b[1],10)+0.5*(b[1]-1);for(c=0;c<b[0];c++)for(f=0;f<b[1];f++)a.rect(1.5*d*c,1.5*e*f,d,e),a.fillAndStroke()};
  836. mxShapeMockupiIconGrid.prototype.foreground=function(a,d,e,b){d/=parseInt(b[0],10)+0.5*(b[0]-1);e/=parseInt(b[1],10)+0.5*(b[1]-1);for(var c=0;c<b[0];c++)for(var f=0;f<b[1];f++)a.begin(),a.moveTo(1.5*d*c,1.5*e*f),a.lineTo(1.5*d*c+d,1.5*e*f+e),a.moveTo(1.5*d*c+d,1.5*e*f),a.lineTo(1.5*d*c,1.5*e*f+e),a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IICON_GRID]=mxShapeMockupiIconGrid;
  837. function mxShapeMockupiCopy(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiCopy,mxShape);mxShapeMockupiCopy.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c,5);a.setShadow(!1);this.foreground(a,b,c,5)};
  838. mxShapeMockupiCopy.prototype.background=function(a,d,e,b){a.begin();a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,e-b-7.5);a.arcTo(b,b,0,0,1,d-b,e-7.5);a.lineTo(0.5*d+7.5,e-7.5);a.lineTo(0.5*d,e);a.lineTo(0.5*d-7.5,e-7.5);a.lineTo(b,e-7.5);a.arcTo(b,b,0,0,1,0,e-b-7.5);a.close();a.fillAndStroke()};
  839. mxShapeMockupiCopy.prototype.foreground=function(a,d,e,b){var c=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR3,"#00ff00");a.setGradient(c,c,0,0,d,0.5*e,mxConstants.DIRECTION_SOUTH,0.8,0.1);a.begin();a.moveTo(0,b);a.arcTo(b,b,0,0,1,b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,b);a.lineTo(d,0.5*(e-7.5));a.lineTo(0,0.5*(e-7.5));a.close();a.fill();b=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"");c=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR,"#00ff00");a.setFontColor(c);a.setFontSize(8.5);
  840. a.text(0.5*d,0.45*(e-7.5),0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ICOPY]=mxShapeMockupiCopy;function mxShapeMockupiCopyArea(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiCopyArea,mxShape);
  841. mxShapeMockupiCopyArea.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c,5);a.setShadow(!1);this.foreground(a,b,c,5)};
  842. mxShapeMockupiCopyArea.prototype.background=function(a,d,e,b){a.begin();a.moveTo(0.5*d-20,0+b);a.arcTo(b,b,0,0,1,0.5*d-20+b,0);a.lineTo(0.5*d+20-b,0);a.arcTo(b,b,0,0,1,0.5*d+20,b);a.lineTo(0.5*d+20,20-b);a.arcTo(b,b,0,0,1,0.5*d+20-b,20);a.lineTo(0.5*d+7.5,20);a.lineTo(0.5*d,27.5);a.lineTo(0.5*d-7.5,20);a.lineTo(0.5*d-20+b,20);a.arcTo(b,b,0,0,1,0.5*d-20,20-b);a.close();a.fillAndStroke()};
  843. mxShapeMockupiCopyArea.prototype.foreground=function(a,d,e,b){a.setAlpha(0.3);a.setFillColor("#2266ff");a.rect(2.5,27.5,d-5,e-30);a.fill();a.setAlpha(1);27.5<e&&(a.setStrokeColor("#ffffff"),a.setGradient("#88ddff","#2266ff",0.5*d-2.5,25,5,5,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(0.5*d-2.5,25,5,5),a.fillAndStroke(),a.setGradient("#88ddff","#2266ff",0.5*d-2.5,e-5,5,5,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(0.5*d-2.5,e-5,5,5),a.fillAndStroke(),a.setGradient("#88ddff","#2266ff",0,0.5*e+10,5,5,
  844. mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(0,0.5*e+10,5,5),a.fillAndStroke(),a.setGradient("#88ddff","#2266ff",d-5,0.5*e+10,5,5,mxConstants.DIRECTION_SOUTH,1,1),a.ellipse(d-5,0.5*e+10,5,5),a.fillAndStroke());e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR2,"#00ff00");var c=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#00ff00");a.setFillColor(e);a.setStrokeColor(c);a.begin();a.moveTo(0.5*d-20,0+b);a.arcTo(b,b,0,0,1,0.5*d-20+b,0);a.lineTo(0.5*d+20-b,0);a.arcTo(b,b,0,0,1,0.5*d+
  845. 20,b);a.lineTo(0.5*d+20,20-b);a.arcTo(b,b,0,0,1,0.5*d+20-b,20);a.lineTo(0.5*d+7.5,20);a.lineTo(0.5*d,27.5);a.lineTo(0.5*d-7.5,20);a.lineTo(0.5*d-20+b,20);a.arcTo(b,b,0,0,1,0.5*d-20,20-b);a.close();a.fillAndStroke();e=mxUtils.getValue(this.style,mxMockupC.STYLE_FILLCOLOR3,"#00ff00");a.setGradient(e,e,0.5*d-20,0,40,10,mxConstants.DIRECTION_SOUTH,0.8,0.1);a.begin();a.moveTo(0.5*d-20,b);a.arcTo(b,b,0,0,1,0.5*d-20+b,0);a.lineTo(0.5*d+20-b,0);a.arcTo(b,b,0,0,1,0.5*d+20,b);a.lineTo(0.5*d+20,10);a.lineTo(0.5*
  846. d-20,10);a.close();a.fill();b=mxUtils.getValue(this.style,mxMockupC.BUTTON_TEXT,"");e=mxUtils.getValue(this.style,mxMockupC.STYLE_TEXTCOLOR,"#00ff00");a.setFontColor(e);a.setFontSize(8.5);a.text(0.5*d,8.75,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_ICOPY_AREA]=mxShapeMockupiCopyArea;
  847. function mxShapeMockupiHomePageControl(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiHomePageControl,mxShape);
  848. mxShapeMockupiHomePageControl.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#000000");e=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setStrokeColor(e);a.setFillColor(d);d=Math.min(0.5*c,0.05*b);a.ellipse(0.35*b-d,0.5*c-d,2*d,2*d);a.fill();a.ellipse(0.65*b-d,0.5*c-d,2*d,2*d);a.fill();a.ellipse(b-2*d,0.5*c-d,2*d,2*d);a.fill();a.ellipse(0.2*d,0.5*c-0.8*d,1.2*d,1.2*d);a.stroke();a.begin();a.moveTo(1.15*
  849. d,0.5*c+0.25*d);a.lineTo(1.6*d,0.5*c+0.8*d);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IHOME_PAGE_CONTROL]=mxShapeMockupiHomePageControl;function mxShapeMockupiPageControl(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiPageControl,mxShape);
  850. mxShapeMockupiPageControl.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#000000");e=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");var f=Math.min(0.5*c,0.05*b);a.setFillColor(e);a.ellipse(0,0.5*c-f,2*f,2*f);a.fill();a.setFillColor(d);a.ellipse(0.35*b-f,0.5*c-f,2*f,2*f);a.fill();a.ellipse(0.65*b-f,0.5*c-f,2*f,2*f);a.fill();a.ellipse(b-2*f,0.5*c-f,2*f,2*f);a.fill()};
  851. mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IPAGE_CONTROL]=mxShapeMockupiPageControl;function mxShapeMockupiPad(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupiPad,mxShape);mxShapeMockupiPad.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c,25);a.setShadow(!1);this.foreground(a,d,e,b,c,25)};
  852. mxShapeMockupiPad.prototype.background=function(a,d,e,b,c,f){a.setFillColor("#000000");a.setStrokeColor("#000000");a.roundrect(0,0,b,c,f,f);a.fillAndStroke()};
  853. mxShapeMockupiPad.prototype.foreground=function(a,d,e,b,c,f){a.setStrokeWidth(1.5);a.setStrokeColor("#999999");a.begin();a.setStrokeColor("none");a.setFillColor("#808080");a.setGradient("#808080","#000000",0.325*b,0,0.675*b,0.5*c,mxConstants.DIRECTION_SOUTH,1,1);a.moveTo(0.325*b,0);a.lineTo(b-f,0);a.arcTo(f,f,0,0,1,b,f);a.lineTo(b,0.5*c);a.lineTo(0.7*b,0.5*c);a.close();a.fillAndStroke();a.begin();a.setFillColor("#1f2923");a.setStrokeColor("#18211b");a.setStrokeWidth(1);d=mxUtils.getValue(this.style,
  854. mxConstants.STYLE_FILLCOLOR,"");e=mxUtils.getValue(this.style,mxMockupC.BG_STYLE,mxMockupC.BG_FLAT_GREEN);a.setStrokeWidth(1);if(e===mxMockupC.BG_FLAT_WHITE)a.setFillColor("#ffffff"),a.rect(0.0928*b,0.08*c,0.8144*b,0.816*c),a.fill();else if(e===mxMockupC.BG_FLAT_GREEN)a.setFillColor("#1f2923"),a.rect(0.0928*b,0.08*c,0.8144*b,0.816*c),a.fill();else if(e===mxMockupC.BG_FLAT_GRAY)a.setFillColor("#dddddd"),a.rect(0.0928*b,0.08*c,0.8144*b,0.816*c),a.fill();else if(e===mxMockupC.BG_FLAT_CUSTOM)a.setFillColor(d),
  855. a.rect(0.0928*b,0.08*c,0.8144*b,0.816*c),a.fill();else if(e===mxMockupC.BG_STRIPED){d=b;e=c;a.translate(0.0928*b,0.08*c);b*=0.8144;c*=0.816;a.setFillColor("#5D7585");a.rect(0,0,b,c);a.fillAndStroke();var g;a.setStrokeColor("#657E8F");g=7;for(a.begin();g<b;)a.moveTo(g,0),a.lineTo(g,c),g+=7;a.stroke();a.setStrokeColor("#18211b");a.begin();a.rect(0,0,b,c);a.stroke();b=d;c=e;a.translate(0.0928*-b,0.08*-c)}else e===mxMockupC.BG_MAP&&(d=b,e=c,a.translate(0.0928*b,0.08*c),b*=0.8144,c*=0.816,a.setFillColor("#ffffff"),
  856. a.rect(0,0,b,c),a.fillAndStroke(),g="#008cff",a.setFillColor("#96D1FF"),a.setStrokeColor(g),a.setStrokeWidth(0.5),a.begin(),a.moveTo(0,0),a.lineTo(0.1171*b,0),a.lineTo(0.1136*b,0.0438*c),a.lineTo(0.0993*b,0.054*c),a.lineTo(0,0.0446*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.1993*b,0),a.lineTo(0.1914*b,0.03884*c),a.lineTo(0.1536*b,0.0362*c),a.lineTo(0.1586*b,0),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.24*b,0),a.lineTo(0.2257*b,0.054*c),a.lineTo(0.2414*b,0.0674*c),a.lineTo(0.4707*b,
  857. 0.0835*c),a.lineTo(0.5264*b,0.0906*c),a.lineTo(0.6429*b,0.0929*c),a.arcTo(0.0857*b,0.0536*c,0,0,0,0.7193*b,0.0621*c),a.arcTo(0.48*b,0.2143*c,0,0,0,0.7286*b,0),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.8*b,0),a.lineTo(0.7886*b,0.04554*c),a.arcTo(0.0857*b,0.0536*c,0,0,0,0.8164*b,0.0875*c),a.arcTo(0.1429*b,0.0893*c,0,0,0,0.88*b,0.1036*c),a.lineTo(b,0.1112*c),a.lineTo(b,0),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.0933*c),a.lineTo(0.08*b,0.1036*c),a.lineTo(0.1021*b,0.1246*c),a.lineTo(0.1007*
  858. b,0.1768*c),a.lineTo(0.0471*b,0.2241*c),a.lineTo(0,0.2527*c),a.close(),a.fillAndStroke(),a.ellipse(0.1214*b,0.0603*c,0.0843*b,0.0576*c),a.fillAndStroke(),a.begin(),a.moveTo(0.1293*b,0.1924*c),a.lineTo(0.1729*b,0.142*c),a.lineTo(0.1407*b,0.1411*c),a.lineTo(0.14*b,0.1777*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.4586*b,0.1241*c),a.lineTo(0.455*b,0.1835*c),a.lineTo(0.3893*b,0.2246*c),a.lineTo(0.2171*b,0.1362*c),a.lineTo(0.2171*b,0.1308*c),a.lineTo(0.2293*b,0.1214*c),a.lineTo(0.2857*b,0.1174*
  859. c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.5079*b,0.1134*c),a.lineTo(0.7307*b,0.1223*c),a.lineTo(0.7279*b,0.1625*c),a.lineTo(0.715*b,0.1772*c),a.lineTo(0.6929*b,0.1688*c),a.lineTo(0.625*b,0.1795*c),a.lineTo(0.4779*b,0.2835*c),a.lineTo(0.395*b,0.2299*c),a.lineTo(0.4657*b,0.1826*c),a.lineTo(0.4707*b,0.1223*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.1362*c),a.lineTo(0.7643*b,0.1237*c),a.lineTo(0.7543*b,0.1562*c),a.lineTo(0.7643*b,0.1585*c),a.lineTo(0.9186*b,0.2366*c),a.lineTo(b,0.1732*
  860. c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.2079*b,0.1545*c),a.lineTo(0.3886*b,0.2536*c),a.lineTo(0.3414*b,0.2933*c),a.lineTo(0.1743*b,0.1969*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.1579*b,0.2134*c),a.lineTo(0.3221*b,0.3067*c),a.lineTo(0.2957*b,0.3237*c),a.lineTo(0.1157*b,0.2424*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.405*b,0.2656*c),a.lineTo(0.31*b,0.3353*c),a.lineTo(0.3693*b,0.3661*c),a.lineTo(0.4571*b,0.2982*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.7121*
  861. b,0.1848*c),a.lineTo(0.6879*b,0.1754*c),a.lineTo(0.6329*b,0.1844*c),a.lineTo(0.61*b,0.2018*c),a.lineTo(0.6207*b,0.2085*c),a.lineTo(0.4986*b,0.2982*c),a.lineTo(0.535*b,0.3237*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.5557*b,0.3379*c),a.lineTo(0.7464*b,0.1826*c),a.lineTo(0.8036*b,0.2076*c),a.lineTo(0.595*b,0.3616*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.8293*b,0.2188*c),a.lineTo(0.8979*b,0.2509*c),a.lineTo(0.6936*b,0.4125*c),a.lineTo(0.6171*b,0.3737*c),a.close(),a.fillAndStroke(),
  862. a.begin(),a.moveTo(b,0.2138*c),a.lineTo(0.6821*b,0.4603*c),a.lineTo(0.815*b,0.5277*c),a.lineTo(b,0.4*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.317*c),a.lineTo(0.0971*b,0.2554*c),a.lineTo(0.4121*b,0.4143*c),a.lineTo(0.3736*b,0.4415*c),a.lineTo(0.315*b,0.4076*c),a.lineTo(0.3093*b,0.4116*c),a.lineTo(0.3686*b,0.4455*c),a.lineTo(0.285*b,0.5045*c),a.lineTo(0.1114*b,0.4134*c),a.lineTo(0.025*b,0.4603*c),a.lineTo(0.0371*b,0.4723*c),a.lineTo(0.1114*b,0.4371*c),a.lineTo(0.2871*b,0.5312*c),a.lineTo(0.1929*
  863. b,0.6058*c),a.lineTo(0.2271*b,0.6705*c),a.lineTo(0.17*b,0.7147*c),a.lineTo(0.0314*b,0.6321*c),a.lineTo(0,0.6246*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.48*b,0.3121*c),a.lineTo(0.5157*b,0.3375*c),a.lineTo(0.4314*b,0.3982*c),a.lineTo(0.3929*b,0.3786*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.3086*b,0.5179*c),a.lineTo(0.53*b,0.3518*c),a.lineTo(0.5757*b,0.3745*c),a.lineTo(0.3479*b,0.5411*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.5964*b,0.3884*c),a.lineTo(0.6736*b,0.4277*
  864. c),a.lineTo(0.445*b,0.5991*c),a.lineTo(0.3664*b,0.5531*c),a.lineTo(0.5057*b,0.4545*c),a.lineTo(0.5507*b,0.4754*c),a.lineTo(0.5571*b,0.4723*c),a.lineTo(0.5114*b,0.4504*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.4793*b,0.6161*c),a.lineTo(0.6771*b,0.4643*c),a.lineTo(0.8086*b,0.5326*c),a.lineTo(0.7471*b,0.5817*c),a.lineTo(0.7214*b,0.567*c),a.lineTo(0.715*b,0.571*c),a.lineTo(0.7421*b,0.5871*c),a.lineTo(0.6014*b,0.6933*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.4371*c),a.lineTo(0.8443*
  865. b,0.546*c),a.lineTo(0.9071*b,0.5701*c),a.lineTo(b,0.5022*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.8407*b,0.5504*c),a.lineTo(0.8993*b,0.5759*c),a.lineTo(0.6757*b,0.7416*c),a.lineTo(0.6286*b,0.7139*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.5321*c),a.lineTo(0.6979*b,0.7549*c),a.lineTo(0.7457*b,0.7781*c),a.lineTo(0.9814*b,0.6094*c),a.lineTo(b,0.6067*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(b,0.6254*c),a.lineTo(0.7664*b,0.792*c),a.lineTo(0.9586*b,0.9062*c),a.lineTo(b,0.8786*
  866. c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.3093*b,0.5464*c),a.lineTo(0.4271*b,0.6152*c),a.lineTo(0.245*b,0.7643*c),a.lineTo(0.185*b,0.7228*c),a.lineTo(0.2493*b,0.6728*c),a.lineTo(0.2214*b,0.6143*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.65*c),a.lineTo(0.2179*b,0.7826*c),a.lineTo(0.1136*b,0.8424*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.7272*c),a.lineTo(0.0821*b,0.859*c),a.lineTo(0,0.9085*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.4529*b,0.6366*c),a.lineTo(0.575*
  867. b,0.7143*c),a.lineTo(0.39*b,0.8621*c),a.lineTo(0.2657*b,0.7902*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0,0.9415*c),a.lineTo(0.1036*b,0.8821*c),a.lineTo(0.2343*b,0.959*c),a.lineTo(0.1721*b,c),a.lineTo(0,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.2586*b,0.7951*c),a.lineTo(0.3829*b,0.8674*c),a.lineTo(0.2543*b,0.9451*c),a.lineTo(0.1279*b,0.8692*c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.2836*b,0.9639*c),a.lineTo(0.4207*b,0.8772*c),a.lineTo(0.605*b,0.7321*c),a.lineTo(0.6521*
  868. b,0.7634*c),a.lineTo(0.3486*b,c),a.lineTo(0.3393*b,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.3879*b,c),a.lineTo(0.6721*b,0.7759*c),a.lineTo(0.7171*b,0.7982*c),a.lineTo(0.4564*b,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.4986*b,c),a.lineTo(0.7386*b,0.8125*c),a.lineTo(0.9307*b,0.925*c),a.lineTo(0.8264*b,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.8671*b,c),a.lineTo(0.9464*b,0.9491*c),a.lineTo(b,0.975*c),a.lineTo(b,c),a.close(),a.fillAndStroke(),a.begin(),a.moveTo(0.2295*b,
  869. c),a.lineTo(0.2648*b,0.9792*c),a.lineTo(0.2981*b,c),a.close(),a.fillAndStroke(),b=d,c=e,a.translate(0.0928*-b,0.08*-c));a.setStrokeWidth(1);a.setStrokeColor("#18211b");a.rect(0.0928*b,0.08*c,0.8144*b,0.816*c);a.stroke();a.setStrokeWidth(1.5);a.setAlpha(0.8);a.setStrokeColor("#dddddd");a.begin();a.moveTo(0,f);a.arcTo(f,f,0,0,1,f,0);a.lineTo(b-f,0);a.arcTo(f,f,0,0,1,b,f);a.lineTo(b,c-f);a.arcTo(f,f,0,0,1,b-f,c);a.lineTo(f,c);a.arcTo(f,f,0,0,1,0,c-f);a.close();a.stroke();f=22.5;a.begin();a.setStrokeColor("#666666");
  870. a.begin();a.moveTo(2.5,2.5+f);a.arcTo(f,f,0,0,1,2.5+f,2.5);a.lineTo(b-f-5,2.5);a.arcTo(f,f,0,0,1,b-2.5,f+2.5);a.lineTo(b-2.5,c-f-2.5);a.arcTo(f,f,0,0,1,b-f-2.5,c-2.5);a.lineTo(f+2.5,c-2.5);a.arcTo(f,f,0,0,1,2.5,c-f-2.5);a.close();a.stroke();a.setAlpha(1);a.ellipse(0.4948*b,0.0444*c,0.0103*b,0.008*c);a.setStrokeWidth(2.5);a.setStrokeColor("#000000");a.setFillColor("#000099");a.fillAndStroke();a.setGradient("#bbbbbb","#000000",0.4588*b,0.912*c,0.0825*b,0.064*c,mxConstants.DIRECTION_SOUTH,1,1);a.ellipse(0.4588*
  871. b,0.912*c,0.0825*b,0.064*c);a.fill();a.setAlpha(0.5);a.ellipse(0.4588*b,0.912*c,0.0825*b,0.064*c);a.stroke();a.begin();a.setAlpha(0.85);a.setFillColor("#000000");a.moveTo(0.4598*b,0.944*c);a.arcTo(0.0402*b,0.0296*c,0,0,1,0.5402*b,0.944*c);a.arcTo(0.0825*b,0.064*c,0,0,1,0.4598*b,0.944*c);a.close();a.fillAndStroke();a.begin();a.setAlpha(0.7);a.setStrokeWidth(1.5);a.setStrokeColor("#dddddd");a.roundrect(0.4814*b,0.9296*c,0.0371*b,0.0288*c,0.00515*c,0.004*c);a.stroke()};
  872. mxCellRenderer.prototype.defaultShapes[mxMockupC.SHAPE_IPAD]=mxShapeMockupiPad;function mxShapeMockupRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupRRect,mxShape);mxShapeMockupRRect.prototype.cst={RRECT:"mxgraph.ios.rrect",R_SIZE:"rSize"};
  873. mxShapeMockupRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeMockupRRect.prototype.cst.RRECT,mxShapeMockupRRect);function mxShapeIosTopButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIosTopButton,mxShape);
  874. mxShapeIosTopButton.prototype.cst={TOP_BUTTON:"mxgraph.ios.topButton",R_SIZE:"rSize"};mxShapeIosTopButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeIosTopButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeIosTopButton.prototype.cst.TOP_BUTTON,mxShapeIosTopButton);
  875. function mxShapeIosBottomButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIosBottomButton,mxShape);mxShapeIosBottomButton.prototype.cst={BOTTOM_BUTTON:"mxgraph.ios.bottomButton",R_SIZE:"rSize"};
  876. mxShapeIosBottomButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeIosBottomButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c-d);a.arcTo(d,d,0,0,1,b-d,c);a.lineTo(d,c);a.arcTo(d,d,0,0,1,0,c-d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeIosBottomButton.prototype.cst.BOTTOM_BUTTON,mxShapeIosBottomButton);function mxShapeIosAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}
  877. mxUtils.extend(mxShapeIosAnchor,mxShape);mxShapeIosAnchor.prototype.cst={ANCHOR:"mxgraph.ios.anchor"};mxShapeIosAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeIosAnchor.prototype.cst.ANCHOR,mxShapeIosAnchor);function mxShapeIosCheckbox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeIosCheckbox,mxShape);mxShapeIosCheckbox.prototype.cst={CHECKBOX:"mxgraph.ios.checkbox"};
  878. mxShapeIosCheckbox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.begin();a.moveTo(0.8*b,0.2*c);a.lineTo(0.4*b,0.8*c);a.lineTo(0.25*b,0.6*c);a.stroke()};mxCellRenderer.registerShape(mxShapeIosCheckbox.prototype.cst.CHECKBOX,mxShapeIosCheckbox);function mxShapeMockupFancyRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeMockupFancyRRect,mxShape);
  879. mxShapeMockupFancyRRect.prototype.cst={FANCY_RRECT:"mxgraph.ios.fancyRRect",R_SIZE:"rSize"};
  880. mxShapeMockupFancyRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeMockupFancyRRect.prototype.cst.R_SIZE,"10"));e=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.roundrect(0,0,b,c,d);a.fillAndStroke();a.setShadow(!1);a.setStrokeColor(e);a.setGradient(e,"#ffffff",0,0,b,22.5,mxConstants.DIRECTION_SOUTH,1,1);a.setAlpha(0.3);a.begin();a.moveTo(b-
  881. d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,17.5);a.arcTo(1.67*b,2.5*c,0,0,1,0,17.5);a.lineTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.close();a.fillAndStroke();a.setAlpha(0.8);a.setStrokeColor(f);a.setStrokeWidth(1);a.roundrect(0,0,b,c,d,d);a.stroke()};mxCellRenderer.registerShape(mxShapeMockupFancyRRect.prototype.cst.FANCY_RRECT,mxShapeMockupFancyRRect);function mxShapeAws3dArrowNE(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  882. mxUtils.extend(mxShapeAws3dArrowNE,mxShape);mxShapeAws3dArrowNE.prototype.cst={ARROW_NE:"mxgraph.aws3d.arrowNE"};mxShapeAws3dArrowNE.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(b-17,8);a.lineTo(b-21,5.5);a.lineTo(b,0);a.lineTo(b-9.7,12.2);a.lineTo(b-13.9,9.8);a.lineTo(9.7,c-3.5);a.arcTo(6,3,0,0,1,9,c-0.4);a.arcTo(5.2,3,0,0,1,1,c-1.4);a.arcTo(6,2.8,0,0,1,3,c-5.4);a.arcTo(5,3,0,0,1,6.7,c-5.2);a.close();a.fillAndStroke()};
  883. mxCellRenderer.registerShape(mxShapeAws3dArrowNE.prototype.cst.ARROW_NE,mxShapeAws3dArrowNE);function mxShapeAws3dArrowSE(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dArrowSE,mxShape);mxShapeAws3dArrowSE.prototype.cst={ARROW_SE:"mxgraph.aws3d.arrowSE"};
  884. mxShapeAws3dArrowSE.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(b-17,c-8);a.lineTo(b-21,c-5.5);a.lineTo(b,c);a.lineTo(b-9.7,c-12.2);a.lineTo(b-13.9,c-9.8);a.lineTo(9.7,3.5);a.arcTo(6,3,0,0,0,9,0.4);a.arcTo(5.2,3,0,0,0,1,1.4);a.arcTo(6,2.8,0,0,0,3,5.4);a.arcTo(5,3,0,0,0,6.7,5.2);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeAws3dArrowSE.prototype.cst.ARROW_SE,mxShapeAws3dArrowSE);
  885. function mxShapeAws3dArrowSW(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dArrowSW,mxShape);mxShapeAws3dArrowSW.prototype.cst={ARROW_SW:"mxgraph.aws3d.arrowSW"};
  886. mxShapeAws3dArrowSW.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(17,c-8);a.lineTo(21,c-5.5);a.lineTo(0,c);a.lineTo(9.7,c-12.2);a.lineTo(13.9,c-9.8);a.lineTo(b-9.7,3.5);a.arcTo(6,3,0,0,1,b-9,0.4);a.arcTo(5.2,3,0,0,1,b-1,1.4);a.arcTo(6,2.8,0,0,1,b-3,5.4);a.arcTo(5,3,0,0,1,b-6.7,5.2);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeAws3dArrowSW.prototype.cst.ARROW_SW,mxShapeAws3dArrowSW);
  887. function mxShapeAws3dArrowNW(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dArrowNW,mxShape);mxShapeAws3dArrowNW.prototype.cst={ARROW_NW:"mxgraph.aws3d.arrowNW"};
  888. mxShapeAws3dArrowNW.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(17,8);a.lineTo(21,5.5);a.lineTo(0,0);a.lineTo(9.7,12.2);a.lineTo(13.9,9.8);a.lineTo(b-9.7,c-3.5);a.arcTo(6,3,0,0,0,b-9,c-0.4);a.arcTo(5.2,3,0,0,0,b-1,c-1.4);a.arcTo(6,2.8,0,0,0,b-3,c-5.4);a.arcTo(5,3,0,0,0,b-6.7,c-5.2);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeAws3dArrowNW.prototype.cst.ARROW_NW,mxShapeAws3dArrowNW);
  889. function mxShapeAws3dArrowlessNE(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dArrowlessNE,mxShape);mxShapeAws3dArrowlessNE.prototype.cst={ARROWLESS_NE:"mxgraph.aws3d.arrowlessNE"};
  890. mxShapeAws3dArrowlessNE.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(b-3.1,0);a.lineTo(b,1.8);a.lineTo(9.7,c-3.5);a.arcTo(6,3,0,0,1,9,c-0.4);a.arcTo(5.2,3,0,0,1,1,c-1.4);a.arcTo(6,2.8,0,0,1,3,c-5.4);a.arcTo(5,3,0,0,1,6.7,c-5.2);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeAws3dArrowlessNE.prototype.cst.ARROWLESS_NE,mxShapeAws3dArrowlessNE);
  891. function mxShapeAws3dDashedEdgeDouble(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dDashedEdgeDouble,mxShape);mxShapeAws3dDashedEdgeDouble.prototype.cst={DASHED_EDGE_DOUBLE:"mxgraph.aws3d.dashedEdgeDouble"};
  892. mxShapeAws3dDashedEdgeDouble.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setFillColor("#2D6195");a.save();a.setStrokeColor("none");a.begin();a.moveTo(21,5.5);a.lineTo(0,0);a.lineTo(9.7,12.2);a.fillAndStroke();a.begin();a.moveTo(b-21,c-5.5);a.lineTo(b,c);a.lineTo(b-9.7,c-12.2);a.fillAndStroke();a.restore();a.setStrokeColor("#2D6195");a.setStrokeWidth("4");a.setDashed("true");a.setLineCap("round");a.begin();a.moveTo(7.675,4.425);a.lineTo(b-7.675,c-4.425);a.stroke()};
  893. mxCellRenderer.registerShape(mxShapeAws3dDashedEdgeDouble.prototype.cst.DASHED_EDGE_DOUBLE,mxShapeAws3dDashedEdgeDouble);function mxShapeAws3dDashedArrowlessEdge(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dDashedArrowlessEdge,mxShape);mxShapeAws3dDashedArrowlessEdge.prototype.cst={DASHED_ARROWLESS_EDGE:"mxgraph.aws3d.dashedArrowlessEdge"};
  894. mxShapeAws3dDashedArrowlessEdge.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setStrokeColor("#2D6195");a.setStrokeWidth("4");a.setDashed("true");a.setLineCap("round");a.begin();a.moveTo(0,0);a.lineTo(b,c);a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dDashedArrowlessEdge.prototype.cst.DASHED_ARROWLESS_EDGE,mxShapeAws3dDashedArrowlessEdge);function mxShapeAws3dDashedEdge(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  895. mxUtils.extend(mxShapeAws3dDashedEdge,mxShape);mxShapeAws3dDashedEdge.prototype.cst={DASHED_EDGE:"mxgraph.aws3d.dashedEdge"};
  896. mxShapeAws3dDashedEdge.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setFillColor("#2D6195");a.save();a.setStrokeColor("none");a.begin();a.moveTo(b-21,5.5);a.lineTo(b,0);a.lineTo(b-9.7,12.2);a.fillAndStroke();a.restore();a.setStrokeColor("#2D6195");a.setStrokeWidth("4");a.setDashed("true");a.setLineCap("round");a.begin();a.moveTo(b-7.675,4.425);a.lineTo(0,c);a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dDashedEdge.prototype.cst.DASHED_EDGE,mxShapeAws3dDashedEdge);
  897. function mxShapeAws3dFlatEdge(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dFlatEdge,mxShape);mxShapeAws3dFlatEdge.prototype.cst={FLAT_EDGE:"mxgraph.aws3d.flatEdge"};
  898. mxShapeAws3dFlatEdge.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setFillColor("#F4B934");a.setStrokeColor("none");a.begin();a.moveTo(b-46,8.8);a.lineTo(b-61.2,0);a.lineTo(b,0);a.lineTo(b,35.5);a.lineTo(b-15.4,26.5);a.lineTo(30.7,c);a.lineTo(0,c-17.7);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeAws3dFlatEdge.prototype.cst.FLAT_EDGE,mxShapeAws3dFlatEdge);
  899. function mxShapeAws3dFlatDoubleEdge(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dFlatDoubleEdge,mxShape);mxShapeAws3dFlatDoubleEdge.prototype.cst={FLAT_DOUBLE_EDGE:"mxgraph.aws3d.flatDoubleEdge"};
  900. mxShapeAws3dFlatDoubleEdge.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setFillColor("#F4B934");a.setStrokeColor("none");a.begin();a.moveTo(15.3,61.9);a.lineTo(30.8,53.2);a.lineTo(15.4,44.2);a.lineTo(0,53.2);a.lineTo(15.4,8.8);a.lineTo(92.1,0);a.lineTo(76.5,8.8);a.lineTo(92.1,17.7);a.lineTo(107.4,8.8);a.lineTo(b-15.3,c-61.9);a.lineTo(b-30.8,c-53.2);a.lineTo(b-15.4,c-44.2);a.lineTo(b,c-53.2);a.lineTo(b-15.4,c-8.8);a.lineTo(b-92.1,c);a.lineTo(b-76.5,c-8.8);a.lineTo(b-92.1,c-17.7);
  901. a.lineTo(b-107.4,c-8.8);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeAws3dFlatDoubleEdge.prototype.cst.FLAT_DOUBLE_EDGE,mxShapeAws3dFlatDoubleEdge);function mxShapeAws3dAMI(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dAMI,mxShape);mxShapeAws3dAMI.prototype.cst={AMI:"mxgraph.aws3d.ami",SHADING_COLORS:"shadingCols"};
  902. mxShapeAws3dAMI.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(d*b/92,d*c/60);a.setStrokeWidth(d);a.setShadow(!1);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==e&&a.setShadow(!0);a.begin();a.moveTo(0,0.6483*c);a.lineTo(0.0684*b,0.4133*c);a.lineTo(0.5326*b,0);a.lineTo(0.6685*b,0);a.lineTo(0.9359*
  903. b,0.2367*c);a.lineTo(b,0.465*c);a.lineTo(0.4*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dAMI.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");var f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.65*c);a.lineTo(0.0652*b,0.5*c);a.lineTo(0.3326*b,0.7667*c);a.lineTo(0.4663*b,0.7667*c);a.lineTo(0.4*b,c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);
  904. a.begin();a.moveTo(0.4*b,c);a.lineTo(0.4641*b,0.77*c);a.lineTo(0.9326*b,0.355*c);a.lineTo(0.9347*b,0.24*c);a.lineTo(b,0.4667*c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.65*c);a.lineTo(0.0652*b,0.5*c);a.lineTo(0.3326*b,0.7667*c);a.lineTo(0.4663*b,0.7667*c);a.lineTo(0.4*b,c);a.close();a.stroke();a.begin();a.moveTo(0.4*b,c);a.lineTo(0.4641*b,0.77*c);a.lineTo(0.9326*b,0.355*c);a.lineTo(0.9347*b,0.24*c);a.lineTo(b,0.4667*c);a.close();a.stroke();a.begin();a.moveTo(0.0652*
  905. b,0.42*c);a.lineTo(0.0652*b,0.5*c);a.moveTo(0.3337*b,0.7667*c);a.lineTo(0.4*b,c);a.moveTo(0.9348*b,0.355*c);a.lineTo(b,0.4733*c);a.stroke();a.setLineJoin("miter");e=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(e);a.begin();a.moveTo(0.1935*b,0.42*c);a.lineTo(0.5543*b,0.0967*c);a.lineTo(0.6652*b,0.1967*c);a.lineTo(0.3*b,0.5133*c);a.close();a.moveTo(0.2967*b,0.4633*c);a.lineTo(0.3837*b,0.3883*c);a.lineTo(0.3326*b,0.3417*c);a.lineTo(0.2467*b,0.42*c);a.close();a.moveTo(0.362*
  906. b,0.32*c);a.lineTo(0.412*b,0.3633*c);a.lineTo(0.5054*b,0.2867*c);a.lineTo(0.4522*b,0.24*c);a.close();a.moveTo(0.5293*b,0.26*c);a.lineTo(0.6109*b,0.1933*c);a.lineTo(0.5511*b,0.145*c);a.lineTo(0.4739*b,0.2133*c);a.close();a.moveTo(0.3528*b,0.557*c);a.lineTo(0.7137*b,0.2337*c);a.lineTo(0.8246*b,0.3337*c);a.lineTo(0.4593*b,0.6503*c);a.close();a.moveTo(0.4561*b,0.6003*c);a.lineTo(0.543*b,0.5253*c);a.lineTo(0.492*b,0.4787*c);a.lineTo(0.4061*b,0.557*c);a.close();a.moveTo(0.5213*b,0.457*c);a.lineTo(0.5713*
  907. b,0.5003*c);a.lineTo(0.6648*b,0.4237*c);a.lineTo(0.6115*b,0.377*c);a.close();a.moveTo(0.6887*b,0.397*c);a.lineTo(0.7702*b,0.3303*c);a.lineTo(0.7104*b,0.282*c);a.lineTo(0.6333*b,0.3503*c);a.close();a.fill();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6483*c);a.lineTo(0.0684*b,0.4133*c);a.lineTo(0.5326*b,0);a.lineTo(0.6685*b,0);a.lineTo(0.9359*b,0.2367*c);a.lineTo(b,0.465*c);a.lineTo(0.4*b,c);a.close();a.stroke()};
  908. mxCellRenderer.registerShape(mxShapeAws3dAMI.prototype.cst.AMI,mxShapeAws3dAMI);function mxShapeAws3dSnapshot(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dSnapshot,mxShape);mxShapeAws3dSnapshot.prototype.cst={SNAPSHOT:"mxgraph.aws3d.snapshot",SHADING_COLORS:"shadingCols"};
  909. mxShapeAws3dSnapshot.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/92;d=d*c/60;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setStrokeWidth(d);a.setShadow(!1);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(b,0.6483*c);a.lineTo(0.9316*b,0.4133*c);a.lineTo(0.4674*b,0);a.lineTo(0.3315*b,0);
  910. a.lineTo(0.0641*b,0.2367*c);a.lineTo(0,0.465*c);a.lineTo(0.6*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dSnapshot.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(b,0.65*c);a.lineTo(0.9348*b,0.52*c);a.lineTo(0.6674*b,0.7667*c);a.lineTo(0.5337*b,0.7667*c);a.lineTo(0.6*b,c);a.close();a.fill();"0"==f?a.setAlpha(e[0]):
  911. a.setAlpha(e[1]);a.begin();a.moveTo(0.6*b,c);a.lineTo(0.5359*b,0.77*c);a.lineTo(0.0674*b,0.355*c);a.lineTo(0.0653*b,0.24*c);a.lineTo(0,0.4667*c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(b,0.65*c);a.lineTo(0.9348*b,0.52*c);a.lineTo(0.6674*b,0.7667*c);a.lineTo(0.5337*b,0.7667*c);a.lineTo(0.6*b,c);a.close();a.stroke();a.begin();a.moveTo(0.6*b,c);a.lineTo(0.5359*b,0.77*c);a.lineTo(0.0674*b,0.355*c);a.lineTo(0.0653*b,0.24*c);a.lineTo(0,0.4667*c);a.close();a.stroke();a.begin();
  912. a.moveTo(0.9348*b,0.42*c);a.lineTo(0.9348*b,0.52*c);a.moveTo(0.6663*b,0.7667*c);a.lineTo(0.6*b,c);a.moveTo(0.0652*b,0.355*c);a.lineTo(0,0.4733*c);a.stroke();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(b,0.6483*c);a.lineTo(0.9316*b,0.4133*c);a.lineTo(0.4674*b,0);a.lineTo(0.3315*b,0);a.lineTo(0.0641*b,0.2367*c);a.lineTo(0,0.465*c);a.lineTo(0.6*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dSnapshot.prototype.cst.SNAPSHOT,mxShapeAws3dSnapshot);
  913. function mxShapeAws3dApplication(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dApplication,mxShape);mxShapeAws3dApplication.prototype.cst={APPLICATION:"mxgraph.aws3d.application",SHADING_COLORS:"shadingCols"};
  914. mxShapeAws3dApplication.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/62;d=d*c/68.8;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setShadow(!1);a.setStrokeWidth(d);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.2544*c);a.lineTo(0.5*b,0);a.lineTo(b,0.2544*c);a.lineTo(b,0.7485*c);a.lineTo(0.5*
  915. b,c);a.lineTo(0,0.7485*c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dApplication.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.2544*c);a.lineTo(0.5*b,0.5015*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7485*c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.5*b,0.5015*c);a.lineTo(b,
  916. 0.2544*c);a.lineTo(b,0.7485*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.2544*c);a.lineTo(0.5*b,0.5015*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7485*c);a.close();a.stroke();a.begin();a.moveTo(0.5*b,0.5015*c);a.lineTo(b,0.2544*c);a.lineTo(b,0.7485*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.setLineJoin("miter");e=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(e);a.begin();a.moveTo(0.6694*b,0.0872*c);a.lineTo(0.7629*b,0.1337*c);
  917. a.lineTo(0.2661*b,0.3882*c);a.lineTo(0.2661*b,0.5407*c);a.lineTo(0.1742*b,0.4953*c);a.lineTo(0.1742*b,0.3459*c);a.close();a.moveTo(0.8629*b,0.1846*c);a.lineTo(0.379*b,0.4331*c);a.lineTo(0.379*b,0.5945*c);a.lineTo(0.2855*b,0.5494*c);a.lineTo(0.2855*b,0.3953*c);a.lineTo(0.7839*b,0.1439*c);a.close();a.fill();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.2544*c);a.lineTo(0.5*b,0);a.lineTo(b,0.2544*c);a.lineTo(b,0.7485*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7485*
  918. c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dApplication.prototype.cst.APPLICATION,mxShapeAws3dApplication);function mxShapeAws3dApplicationServer(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dApplicationServer,mxShape);mxShapeAws3dApplicationServer.prototype.cst={APPLICATION_SERVER:"mxgraph.aws3d.application_server",SHADING_COLORS:"shadingCols"};
  919. mxShapeAws3dApplicationServer.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/124);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  920. mxShapeAws3dApplicationServer.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7236*c);a.lineTo(0,0.2863*c);a.lineTo(0.5*b,0);a.lineTo(b,0.2863*c);a.lineTo(b,0.7236*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  921. mxShapeAws3dApplicationServer.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dApplicationServer.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.2863*c);a.lineTo(0.5*b,0.5726*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7177*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();
  922. a.moveTo(b,0.2863*c);a.lineTo(0.5*b,0.5726*c);a.lineTo(0.5*b,c);a.lineTo(b,0.7177*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.2863*c);a.lineTo(0.5*b,0.5726*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7177*c);a.close();a.stroke();a.begin();a.moveTo(b,0.2863*c);a.lineTo(0.5*b,0.5726*c);a.lineTo(0.5*b,c);a.lineTo(b,0.7177*c);a.close();a.stroke();a.setLineJoin("miter");d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.374*
  923. b,0.4435*c);a.arcTo(0.0325*b,0.0202*c,0,0,1,0.374*b,0.4153*c);a.lineTo(0.4797*b,0.3548*c);a.arcTo(0.0325*b,0.0161*c,0,0,1,0.5203*b,0.3548*c);a.lineTo(0.626*b,0.4153*c);a.arcTo(0.0325*b,0.0202*c,0,0,1,0.626*b,0.4411*c);a.lineTo(0.5203*b,0.5016*c);a.arcTo(0.0325*b,0.0161*c,0,0,1,0.4797*b,0.5016*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7236*c);a.lineTo(0,0.2863*c);a.lineTo(0.5*b,0);a.lineTo(b,0.2863*c);a.lineTo(b,0.7236*c);
  924. a.lineTo(0.5*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dApplicationServer.prototype.cst.APPLICATION_SERVER,mxShapeAws3dApplicationServer);function mxShapeAws3dCloudFront(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dCloudFront,mxShape);mxShapeAws3dCloudFront.prototype.cst={CLOUDFRONT:"mxgraph.aws3d.cloudfront",SHADING_COLORS:"shadingCols"};
  925. mxShapeAws3dCloudFront.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/103.8;d=d*c/169.8;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setShadow(!1);a.setStrokeWidth(d);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.7915*c);a.lineTo(0,0.7491*c);a.lineTo(0.0588*b,0.7279*c);a.lineTo(0.0588*
  926. b,0.1036*c);a.lineTo(0.3526*b,0);a.lineTo(0.9422*b,0.2073*c);a.lineTo(0.9422*b,0.8316*c);a.lineTo(b,0.8539*c);a.lineTo(b,0.894*c);a.lineTo(0.7013*b,c);a.lineTo(0.5877*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dCloudFront.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0.0588*b,0.106*c);a.lineTo(0.6474*
  927. b,0.3121*c);a.lineTo(0.6474*b,0.9352*c);a.lineTo(0.7052*b,c);a.lineTo(0.5915*b,c);a.lineTo(0,0.7915*c);a.lineTo(0,0.7491*c);a.lineTo(0.0588*b,0.7279*c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.6474*b,0.3121*c);a.lineTo(0.9422*b,0.2073*c);a.lineTo(0.9422*b,0.8363*c);a.lineTo(b,0.8539*c);a.lineTo(b,0.894*c);a.lineTo(0.7013*b,c);a.lineTo(0.6474*b,0.9305*c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.7915*c);a.lineTo(0.0559*b,0.7291*
  928. c);a.lineTo(0.6474*b,0.9364*c);a.lineTo(0.5896*b,c);a.moveTo(0.6493*b,0.9364*c);a.lineTo(0.9412*b,0.8333*c);a.lineTo(b,0.894*c);a.stroke();a.begin();a.moveTo(0.0588*b,0.106*c);a.lineTo(0.6474*b,0.3121*c);a.lineTo(0.6474*b,0.9352*c);a.lineTo(0.7052*b,c);a.lineTo(0.5915*b,c);a.lineTo(0,0.7915*c);a.lineTo(0,0.7491*c);a.lineTo(0.0588*b,0.7279*c);a.close();a.stroke();a.begin();a.moveTo(0.6474*b,0.3121*c);a.lineTo(0.9422*b,0.2073*c);a.lineTo(0.9422*b,0.8363*c);a.lineTo(b,0.8539*c);a.lineTo(b,0.894*c);a.lineTo(0.7013*
  929. b,c);a.lineTo(0.6474*b,0.9305*c);a.close();a.stroke();e=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(e);a.begin();a.moveTo(0.3333*b,0.6643*c);a.arcTo(0.3372*b,0.2061*c,0,0,1,0.2351*b,0.6042*c);a.arcTo(0.4528*b,0.2768*c,0,0,1,0.1724*b,0.523*c);a.lineTo(0.2428*b,0.5677*c);a.lineTo(0.2427*b,0.5895*c);a.lineTo(0.2765*b,0.5995*c);a.close();a.moveTo(0.1599*b,0.4935*c);a.arcTo(0.3372*b,0.2061*c,0,0,1,0.1522*b,0.4146*c);a.arcTo(0.1156*b,0.0883*c,0,0,1,0.2071*b,0.3486*c);a.lineTo(0.2013*
  930. b,0.4187*c);a.lineTo(0.1859*b,0.4146*c);a.lineTo(0.1859*b,0.4464*c);a.lineTo(0.1907*b,0.4493*c);a.close();a.moveTo(0.2235*b,0.3445*c);a.arcTo(0.1927*b,0.1767*c,0,0,1,0.368*b,0.361*c);a.arcTo(0.3854*b,0.2356*c,0,0,1,0.468*b,0.4299*c);a.lineTo(0.368*b,0.4034*c);a.lineTo(0.368*b,0.394*c);a.lineTo(0.3256*b,0.3799*c);a.lineTo(0.3256*b,0.3887*c);a.close();a.moveTo(0.4855*b,0.4499*c);a.arcTo(0.3854*b,0.2356*c,0,0,1,0.5337*b,0.5395*c);a.arcTo(0.3854*b,0.2356*c,0,0,1,0.5328*b,0.6302*c);a.lineTo(0.4952*b,0.5589*
  931. c);a.lineTo(0.5019*b,0.5595*c);a.lineTo(0.5019*b,0.5265*c);a.lineTo(0.4855*b,0.5194*c);a.close();a.moveTo(0.5241*b,0.6455*c);a.arcTo(0.0963*b,0.0589*c,0,0,1,0.4663*b,0.682*c);a.arcTo(0.1445*b,0.0883*c,0,0,1,0.3642*b,0.6761*c);a.lineTo(0.4239*b,0.6525*c);a.lineTo(0.4566*b,0.6643*c);a.lineTo(0.4566*b,0.6413*c);a.close();a.moveTo(0.3507*b,0.6667*c);a.lineTo(0.2871*b,0.5919*c);a.lineTo(0.4123*b,0.6366*c);a.close();a.moveTo(0.2563*b,0.5595*c);a.lineTo(0.1753*b,0.5088*c);a.lineTo(0.2052*b,0.4594*c);a.close();
  932. a.moveTo(0.2139*b,0.4229*c);a.lineTo(0.2197*b,0.3528*c);a.lineTo(0.3256*b,0.4028*c);a.lineTo(0.2283*b,0.4252*c);a.close();a.moveTo(0.2264*b,0.4417*c);a.lineTo(0.3218*b,0.4146*c);a.lineTo(0.3353*b,0.4181*c);a.lineTo(0.3353*b,0.4971*c);a.lineTo(0.3208*b,0.4912*c);a.lineTo(0.3208*b,0.4965*c);a.lineTo(0.2264*b,0.4482*c);a.close();a.moveTo(0.2697*b,0.5618*c);a.lineTo(0.2245*b,0.4635*c);a.lineTo(0.2331*b,0.4588*c);a.lineTo(0.3256*b,0.5112*c);a.lineTo(0.3237*b,0.5241*c);a.close();a.moveTo(0.2852*b,0.576*
  933. c);a.lineTo(0.2852*b,0.5654*c);a.lineTo(0.3391*b,0.53*c);a.lineTo(0.3516*b,0.5347*c);a.lineTo(0.4133*b,0.6213*c);a.close();a.moveTo(0.368*b,0.5141*c);a.lineTo(0.368*b,0.5088*c);a.lineTo(0.3526*b,0.5029*c);a.lineTo(0.3526*b,0.4234*c);a.lineTo(0.3622*b,0.4276*c);a.lineTo(0.4547*b,0.5177*c);a.lineTo(0.4557*b,0.5277*c);a.close();a.moveTo(0.3671*b,0.417*c);a.lineTo(0.4692*b,0.4411*c);a.lineTo(0.4721*b,0.52*c);a.close();a.moveTo(0.368*b,0.5253*c);a.lineTo(0.4566*b,0.5359*c);a.lineTo(0.4566*b,0.5453*c);
  934. a.lineTo(0.4663*b,0.5465*c);a.lineTo(0.4335*b,0.6201*c);a.lineTo(0.422*b,0.616*c);a.lineTo(0.368*b,0.5389*c);a.close();a.moveTo(0.4798*b,0.5583*c);a.lineTo(0.5183*b,0.629*c);a.lineTo(0.4557*b,0.6313*c);a.lineTo(0.4557*b,0.6237*c);a.lineTo(0.447*b,0.6225*c);a.close();a.fill();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7915*c);a.lineTo(0,0.7491*c);a.lineTo(0.0588*b,0.7279*c);a.lineTo(0.0588*b,0.1036*c);a.lineTo(0.3526*b,0);a.lineTo(0.9422*b,0.2073*
  935. c);a.lineTo(0.9422*b,0.8316*c);a.lineTo(b,0.8539*c);a.lineTo(b,0.894*c);a.lineTo(0.7013*b,c);a.lineTo(0.5877*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dCloudFront.prototype.cst.CLOUDFRONT,mxShapeAws3dCloudFront);function mxShapeAws3dDataCenter(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dDataCenter,mxShape);mxShapeAws3dDataCenter.prototype.cst={DATA_CENTER:"mxgraph.aws3d.dataCenter",SHADING_COLORS:"shadingCols"};
  936. mxShapeAws3dDataCenter.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/123;d=d*c/142;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setShadow(!1);a.setStrokeWidth(d);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.7465*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0);a.lineTo(b,0.25*c);a.lineTo(b,
  937. 0.7465*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dDataCenter.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.7465*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.5*b,c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(b,0.7465*c);a.lineTo(b,0.25*
  938. c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.7465*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.begin();a.moveTo(b,0.7465*c);a.lineTo(b,0.25*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.setLineCap("round");a.setStrokeWidth(3*d);a.begin();a.moveTo(0.0894*b,0.3838*c);a.lineTo(0.4187*b,0.5493*c);a.moveTo(0.0894*b,0.4331*c);a.lineTo(0.4187*b,0.5986*c);a.moveTo(0.0894*
  939. b,0.4824*c);a.lineTo(0.4187*b,0.6479*c);a.moveTo(0.5854*b,0.5493*c);a.lineTo(0.9146*b,0.3838*c);a.moveTo(0.5854*b,0.5986*c);a.lineTo(0.9146*b,0.4331*c);a.moveTo(0.5854*b,0.6479*c);a.lineTo(0.9146*b,0.4824*c);a.stroke();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7465*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0);a.lineTo(b,0.25*c);a.lineTo(b,0.7465*c);a.lineTo(0.5*b,c);a.close();a.stroke()};
  940. mxCellRenderer.registerShape(mxShapeAws3dDataCenter.prototype.cst.DATA_CENTER,mxShapeAws3dDataCenter);function mxShapeAws3dDataServer(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dDataServer,mxShape);mxShapeAws3dDataServer.prototype.cst={DATA_SERVER:"mxgraph.aws3d.dataServer",SHADINC_COLORS:"shadingCols"};
  941. mxShapeAws3dDataServer.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/123;d=d*c/106;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setShadow(!1);a.setStrokeWidth(d);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.6651*c);a.lineTo(0,0.3349*c);a.lineTo(0.5*b,0);a.lineTo(b,0.3349*c);a.lineTo(b,
  942. 0.6651*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dDataServer.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.6651*c);a.lineTo(0,0.3349*c);a.lineTo(0.5*b,0.6698*c);a.lineTo(0.5*b,c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(b,0.6651*c);a.lineTo(b,
  943. 0.3349*c);a.lineTo(0.5*b,0.6698*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.6651*c);a.lineTo(0,0.3349*c);a.lineTo(0.5*b,0.6698*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.begin();a.moveTo(b,0.6651*c);a.lineTo(b,0.3349*c);a.lineTo(0.5*b,0.6698*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.setLineCap("round");a.setStrokeWidth(3*d);a.begin();a.moveTo(0.0878*b,0.4858*c);a.lineTo(0.4187*b,0.7094*c);a.moveTo(0.587*b,0.7094*c);a.lineTo(0.9187*b,0.4858*
  944. c);a.stroke();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6651*c);a.lineTo(0,0.3349*c);a.lineTo(0.5*b,0);a.lineTo(b,0.3349*c);a.lineTo(b,0.6651*c);a.lineTo(0.5*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dDataServer.prototype.cst.DATA_SERVER,mxShapeAws3dDataServer);function mxShapeAws3dElasticLoadBalancing(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  945. mxUtils.extend(mxShapeAws3dElasticLoadBalancing,mxShape);mxShapeAws3dElasticLoadBalancing.prototype.cst={ELASTIC_LOAD_BALANCING:"mxgraph.aws3d.elasticLoadBalancing",SHADING_COLORS:"shadingCols"};
  946. mxShapeAws3dElasticLoadBalancing.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);e=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));var f=e*b/92;e=e*c/88.17;d=mxUtils.getValue(this.state.style,"strokeColor","#000000");var g=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));e=Math.min(f,e);a.setShadow(!1);a.setStrokeWidth(e);a.save();a.save();a.save();a.save();a.setStrokeWidth(2*e);a.setStrokeColor("#292929");a.setLineJoin("round");1==g&&a.setShadow(!0);a.begin();
  947. a.moveTo(0,0.7996*c);a.lineTo(0,0.1985*c);a.lineTo(0.3315*b,0);a.lineTo(0.6685*b,0);a.lineTo(b,0.1985*c);a.lineTo(b,0.7996*c);a.lineTo(0.6685*b,c);a.lineTo(0.3315*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");f=mxUtils.getValue(this.state.style,mxShapeAws3dElasticLoadBalancing.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");g=mxUtils.getValue(this.state.style,"flipH","0");"0"==g?a.setAlpha(f[0]):a.setAlpha(f[1]);a.begin();a.moveTo(0,0.4026*c);a.lineTo(0.3315*
  948. b,0.6011*c);a.lineTo(0.6685*b,0.6011*c);a.lineTo(0.6685*b,c);a.lineTo(0.3315*b,c);a.lineTo(0,0.7996*c);a.close();a.fill();"0"==g?a.setAlpha(f[1]):a.setAlpha(f[0]);a.begin();a.moveTo(0.6685*b,0.6011*c);a.lineTo(b,0.4026*c);a.lineTo(b,0.7996*c);a.lineTo(0.6685*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.4026*c);a.lineTo(0.3315*b,0.6011*c);a.lineTo(0.6685*b,0.6011*c);a.lineTo(0.6685*b,c);a.lineTo(0.3315*b,c);a.lineTo(0,0.7996*c);a.close();a.stroke();a.begin();a.moveTo(0.6685*
  949. b,0.6011*c);a.lineTo(b,0.4026*c);a.lineTo(b,0.7996*c);a.lineTo(0.6685*b,c);a.close();a.moveTo(0.3315*b,0.6011*c);a.lineTo(0.3315*b,c);a.stroke();a.restore();a.setFillColor(d);a.begin();a.moveTo(0.337*b,0.1395*c);a.arcTo(0.3043*b,0.1928*c,0,0,1,0.5*b,0.1191*c);a.arcTo(0.3043*b,0.1928*c,0,0,1,0.6739*b,0.1645*c);a.arcTo(0.3261*b,0.2155*c,0,0,1,0.8152*b,0.3176*c);a.arcTo(0.3261*b,0.1701*c,0,0,1,0.75*b,0.4367*c);a.arcTo(0.3261*b,0.3403*c,0,0,1,0.6033*b,0.4854*c);a.arcTo(0.3261*b,0.2268*c,0,0,1,0.4348*
  950. b,0.4741*c);a.arcTo(0.3261*b,0.2268*c,0,0,1,0.2848*b,0.4094*c);a.arcTo(0.3261*b,0.2268*c,0,0,1,0.2065*b,0.3062*c);a.arcTo(0.3261*b,0.1701*c,0,0,1,0.2446*b,0.1928*c);a.arcTo(0.2717*b,0.1701*c,0,0,1,0.337*b,0.1395*c);a.fill();a.restore();a.begin();a.moveTo(0.2826*b,0.372*c);a.lineTo(0.362*b,0.3232*c);a.lineTo(0.4054*b,0.3482*c);a.lineTo(0.4457*b,0.2654*c);a.lineTo(0.4185*b,0.2643*c);a.lineTo(0.4728*b,0.2132*c);a.lineTo(0.4348*b,0.1928*c);a.lineTo(0.5141*b,0.144*c);a.lineTo(0.5837*b,0.1883*c);a.lineTo(0.5043*
  951. b,0.2348*c);a.lineTo(0.4848*b,0.2223*c);a.lineTo(0.4967*b,0.2688*c);a.lineTo(0.463*b,0.2665*c);a.lineTo(0.4304*b,0.3346*c);a.lineTo(0.4946*b,0.2949*c);a.lineTo(0.4761*b,0.2858*c);a.lineTo(0.5511*b,0.2631*c);a.lineTo(0.5261*b,0.2472*c);a.lineTo(0.6043*b,0.1996*c);a.lineTo(0.6761*b,0.2404*c);a.lineTo(0.5978*b,0.2892*c);a.lineTo(0.5652*b,0.2699*c);a.lineTo(0.5293*b,0.3198*c);a.lineTo(0.5087*b,0.3051*c);a.lineTo(0.4543*b,0.3391*c);a.lineTo(0.563*b,0.3221*c);a.lineTo(0.5598*b,0.3017*c);a.lineTo(0.6326*
  952. b,0.3096*c);a.lineTo(0.6163*b,0.2994*c);a.lineTo(0.6957*b,0.2529*c);a.lineTo(0.7674*b,0.2938*c);a.lineTo(0.687*b,0.3425*c);a.lineTo(0.6489*b,0.321*c);a.lineTo(0.5707*b,0.3539*c);a.lineTo(0.5674*b,0.3369*c);a.lineTo(0.4293*b,0.3618*c);a.lineTo(0.4641*b,0.3834*c);a.lineTo(0.3859*b,0.4299*c);a.close();a.fill();a.setStrokeWidth(2*e);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7996*c);a.lineTo(0,0.1985*c);a.lineTo(0.3315*b,0);a.lineTo(0.6685*b,0);a.lineTo(b,0.1985*c);a.lineTo(b,
  953. 0.7996*c);a.lineTo(0.6685*b,c);a.lineTo(0.3315*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dElasticLoadBalancing.prototype.cst.ELASTIC_LOAD_BALANCING,mxShapeAws3dElasticLoadBalancing);function mxShapeAws3dInstance(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dInstance,mxShape);mxShapeAws3dInstance.prototype.cst={INSTANCE:"mxgraph.aws3d.instance",SHADIG_COLORS:"shadingCols"};
  954. mxShapeAws3dInstance.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/97);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  955. mxShapeAws3dInstance.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.634*c);a.lineTo(0,0.2732*c);a.lineTo(0.374*b,0);a.lineTo(0.622*b,0);a.lineTo(b,0.2732*c);a.lineTo(b,0.634*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  956. mxShapeAws3dInstance.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dInstance.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.2732*c);a.lineTo(0.5*b,0.6392*c);a.lineTo(0.5*b,c);a.lineTo(0,0.634*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5*
  957. b,0.6392*c);a.lineTo(b,0.2732*c);a.lineTo(b,0.6392*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.2732*c);a.lineTo(0.5*b,0.6392*c);a.lineTo(0.5*b,c);a.lineTo(0,0.634*c);a.close();a.stroke();a.begin();a.moveTo(0.5*b,0.6392*c);a.lineTo(b,0.2732*c);a.lineTo(b,0.6392*c);a.lineTo(0.5*b,c);a.close();a.stroke();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.374*b,0.4742*c);a.arcTo(0.0325*
  958. b,0.0258*c,0,0,1,0.374*b,0.4381*c);a.lineTo(0.4797*b,0.3608*c);a.arcTo(0.0325*b,0.0206*c,0,0,1,0.5203*b,0.3608*c);a.lineTo(0.626*b,0.4381*c);a.arcTo(0.0325*b,0.0258*c,0,0,1,0.626*b,0.4711*c);a.lineTo(0.5203*b,0.5485*c);a.arcTo(0.0325*b,0.0206*c,0,0,1,0.4797*b,0.5485*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.634*c);a.lineTo(0,0.2732*c);a.lineTo(0.374*b,0);a.lineTo(0.622*b,0);a.lineTo(b,0.2732*c);a.lineTo(b,0.634*c);a.lineTo(0.5*
  959. b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dInstance.prototype.cst.INSTANCE,mxShapeAws3dInstance);function mxShapeAws3dInternetGateway(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dInternetGateway,mxShape);mxShapeAws3dInternetGateway.prototype.cst={INTERNET_GATEWAY:"mxgraph.aws3d.internetGateway",SHADING_COLORS:"shadingCols"};
  960. mxShapeAws3dInternetGateway.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/116.7,d*c/102.8);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  961. mxShapeAws3dInternetGateway.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0.4199*b,0.5447*c);a.lineTo(0.4199*b,0.035*c);a.lineTo(0.8946*b,0);a.lineTo(b,0.0691*c);a.lineTo(b,0.4134*c);a.lineTo(0.6812*b,0.7247*c);a.close();a.fillAndStroke();a.restore();a.save();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dInternetGateway.prototype.cst.SHADING_COLORS,
  962. "0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.4199*b,0.5447*c);a.lineTo(0.4199*b,0.035*c);a.lineTo(0.6838*b,0.2072*c);a.lineTo(0.6838*b,0.7247*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.6838*b,0.2072*c);a.lineTo(b,0.0691*c);a.lineTo(b,0.4134*c);a.lineTo(0.6838*b,0.7247*c);a.close();a.fill();a.restore();a.setShadow(!1);a.begin();a.moveTo(0.4199*b,0.5447*c);a.lineTo(0.4199*
  963. b,0.035*c);a.lineTo(0.6838*b,0.2072*c);a.lineTo(0.6838*b,0.7247*c);a.close();a.stroke();a.restore();a.setLineJoin("round");a.setShadow(!1);a.begin();a.moveTo(0.6838*b,0.2072*c);a.lineTo(b,0.0691*c);a.lineTo(b,0.4134*c);a.lineTo(0.6838*b,0.7247*c);a.close();a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0.4199*b,0.5447*c);a.lineTo(0.4199*b,0.035*c);a.lineTo(0.8946*b,0);a.lineTo(b,0.0691*c);a.lineTo(b,0.4134*c);a.lineTo(0.6812*b,0.7247*c);a.close();a.stroke();a.restore();
  964. a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.929*c);a.lineTo(0,0.5866*c);a.lineTo(0.3171*b,0.1031*c);a.lineTo(0.5784*b,0.2753*c);a.lineTo(0.5784*b,0.7928*c);a.lineTo(0.1054*b,c);a.close();a.fillAndStroke()};
  965. mxShapeAws3dInternetGateway.prototype.foreground=function(a,d,e,b,c,f){a.restore();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setShadow(!1);a.setLineJoin("round");a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dInternetGateway.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");var g=mxUtils.getValue(this.state.style,"flipH","0");"0"==g?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.929*c);a.lineTo(0,0.5866*c);a.lineTo(0.1054*b,0.6537*
  966. c);a.lineTo(0.1054*b,c);a.close();a.fill();"0"==g?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.1054*b,c);a.lineTo(0.1054*b,0.6537*c);a.lineTo(0.5784*b,0.2753*c);a.lineTo(0.5784*b,0.7928*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.929*c);a.lineTo(0,0.5866*c);a.lineTo(0.1054*b,0.6537*c);a.lineTo(0.1054*b,c);a.close();a.stroke();a.begin();a.moveTo(0.1054*b,c);a.lineTo(0.1054*b,0.6537*c);a.lineTo(0.5784*b,0.2753*c);a.lineTo(0.5784*b,0.7928*
  967. c);a.close();a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.929*c);a.lineTo(0,0.5866*c);a.lineTo(0.3171*b,0.1031*c);a.lineTo(0.5784*b,0.2753*c);a.lineTo(0.5784*b,0.7928*c);a.lineTo(0.1054*b,c);a.close();a.stroke();a.setFillColor(d);a.begin();a.moveTo(0.7849*b,0.5039*c);a.arcTo(0.0343*b,0.0632*c,0,0,1,0.7481*b,0.4796*c);a.arcTo(0.0857*b,0.0973*c,0,0,1,0.7661*b,0.3911*c);a.arcTo(0.06*b,0.0681*c,0,0,1,0.7712*b,0.3356*c);a.arcTo(0.0257*b,0.0292*
  968. c,0,0,1,0.7952*b,0.32*c);a.arcTo(0.1285*b,0.1459*c,0,0,1,0.8166*b,0.2461*c);a.arcTo(0.06*b,0.0973*c,0,0,1,0.8595*b,0.2238*c);a.arcTo(0.0514*b,0.0973*c,0,0,1,0.8937*b,0.2743*c);a.arcTo(0.0428*b,0.0778*c,0,0,1,0.9323*b,0.3093*c);a.arcTo(0.0686*b,0.0778*c,0,0,1,0.928*b,0.3716*c);a.arcTo(0.0857*b,0.0973*c,0,0,1,0.8972*b,0.4125*c);a.close();a.fill()};mxCellRenderer.registerShape(mxShapeAws3dInternetGateway.prototype.cst.INTERNET_GATEWAY,mxShapeAws3dInternetGateway);
  969. function mxShapeAws3dOracleDataCenter(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dOracleDataCenter,mxShape);mxShapeAws3dOracleDataCenter.prototype.cst={ORACLE_DATA_CENTER:"mxgraph.aws3d.oracleDataCenter"};
  970. mxShapeAws3dOracleDataCenter.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/142);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  971. mxShapeAws3dOracleDataCenter.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7464*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0);a.lineTo(b,0.25*c);a.lineTo(b,0.7464*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  972. mxShapeAws3dOracleDataCenter.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");a.setAlpha("0.1");a.begin();a.moveTo(0,0.7464*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.5*b,c);a.close();a.fill();a.setAlpha("0.3");a.begin();a.moveTo(0.5*b,0.5*c);a.lineTo(b,0.25*c);a.lineTo(b,0.7464*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.setFillColor("#ff0000");a.begin();a.moveTo(0,0.5866*c);a.lineTo(0.5*
  973. b,0.8359*c);a.lineTo(b,0.5866*c);a.lineTo(b,0.6986*c);a.lineTo(0.5*b,0.9486*c);a.lineTo(0,0.6986*c);a.fill();a.setStrokeWidth(0.5*f);a.setStrokeColor("#ffffff");a.setFillColor("#ffffff");a.begin();a.moveTo(0,0.5866*c);a.lineTo(0.5*b,0.8359*c);a.lineTo(b,0.5866*c);a.moveTo(b,0.6986*c);a.lineTo(0.5*b,0.9486*c);a.lineTo(0,0.6986*c);a.stroke();a.begin();a.moveTo(0.0813*b,0.7113*c);a.arcTo(0.0569*b,0.0493*c,0,0,1,0.065*b,0.6831*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.065*b,0.6613*c);a.arcTo(0.0163*b,0.0141*
  974. c,0,0,1,0.0797*b,0.6549*c);a.lineTo(0.122*b,0.6754*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.1358*b,0.6937*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.139*b,0.7232*c);a.arcTo(0.0179*b,0.0155*c,0,0,1,0.1187*b,0.7296*c);a.close();a.moveTo(0.1163*b,0.7183*c);a.arcTo(0.0089*b,0.0077*c,0,0,0,0.1285*b,0.7148*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.1293*b,0.7021*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.1179*b,0.6831*c);a.lineTo(0.087*b,0.6676*c);a.arcTo(0.0081*b,0.007*c,0,0,0,0.0764*b,0.6697*c);a.arcTo(0.0325*b,0.0352*c,0,0,
  975. 0,0.078*b,0.6937*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.087*b,0.7035*c);a.close();a.moveTo(0.1439*b,0.743*c);a.lineTo(0.1439*b,0.6866*c);a.lineTo(0.1846*b,0.707*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.1967*b,0.7183*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.2*b,0.738*c);a.arcTo(0.0138*b,0.0155*c,0,0,1,0.1813*b,0.743*c);a.lineTo(0.1992*b,0.769*c);a.lineTo(0.187*b,0.7641*c);a.lineTo(0.1577*b,0.7218*c);a.lineTo(0.1854*b,0.7345*c);a.arcTo(0.0041*b,0.0035*c,0,0,0,0.1911*b,0.7317*c);a.arcTo(0.0163*b,0.0141*c,0,0,
  976. 0,0.1894*b,0.7225*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.1821*b,0.7155*c);a.lineTo(0.1528*b,0.7007*c);a.lineTo(0.1528*b,0.7472*c);a.close();a.moveTo(0.2008*b,0.7711*c);a.lineTo(0.2293*b,0.7338*c);a.arcTo(0.0065*b,0.0056*c,0,0,1,0.2382*b,0.7324*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.2431*b,0.7415*c);a.lineTo(0.2699*b,0.8035*c);a.lineTo(0.2602*b,0.8007*c);a.lineTo(0.252*b,0.7859*c);a.lineTo(0.2293*b,0.7754*c);a.lineTo(0.2244*b,0.7634*c);a.lineTo(0.248*b,0.7739*c);a.lineTo(0.235*b,0.7444*c);a.lineTo(0.2122*
  977. b,0.7768*c);a.close();a.moveTo(0.3244*b,0.8225*c);a.lineTo(0.3171*b,0.8289*c);a.lineTo(0.2854*b,0.8127*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.2724*b,0.7986*c);a.arcTo(0.0569*b,0.0493*c,0,0,1,0.265*b,0.7746*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.2683*b,0.762*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.2829*b,0.757*c);a.lineTo(0.3228*b,0.7761*c);a.lineTo(0.3179*b,0.7831*c);a.lineTo(0.2878*b,0.7683*c);a.arcTo(0.0081*b,0.007*c,0,0,0,0.2789*b,0.7697*c);a.arcTo(0.0244*b,0.0211*c,0,0,0,0.2748*b,0.7831*c);a.arcTo(0.0407*
  978. b,0.0352*c,0,0,0,0.2878*b,0.8042*c);a.close();a.moveTo(0.3276*b,0.7789*c);a.lineTo(0.3366*b,0.7831*c);a.lineTo(0.3366*b,0.8289*c);a.lineTo(0.3805*b,0.8507*c);a.lineTo(0.3748*b,0.857*c);a.lineTo(0.3317*b,0.8359*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.3276*b,0.8275*c);a.close();a.moveTo(0.435*b,0.8775*c);a.lineTo(0.4325*b,0.8866*c);a.lineTo(0.3959*b,0.8683*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.3862*b,0.8563*c);a.arcTo(0.0528*b,0.0458*c,0,0,1,0.3805*b,0.8183*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.3951*b,0.8134*
  979. c);a.lineTo(0.435*b,0.8324*c);a.lineTo(0.4285*b,0.838*c);a.lineTo(0.4008*b,0.8246*c);a.arcTo(0.0098*b,0.0085*c,0,0,0,0.3878*b,0.831*c);a.lineTo(0.4333*b,0.8542*c);a.lineTo(0.426*b,0.8606*c);a.lineTo(0.3878*b,0.8415*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.3976*b,0.8585*c);a.close();a.moveTo(0.6171*b,0.8063*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.6366*b,0.8092*c);a.arcTo(0.0325*b,0.0282*c,0,0,1,0.639*b,0.8303*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.6211*b,0.8592*c);a.lineTo(0.5894*b,0.8761*c);a.arcTo(0.0203*
  980. b,0.0176*c,0,0,1,0.565*b,0.8732*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.5659*b,0.8458*c);a.arcTo(0.0488*b,0.0422*c,0,0,1,0.5805*b,0.8246*c);a.close();a.moveTo(0.5886*b,0.8296*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.5748*b,0.8472*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.574*b,0.862*c);a.arcTo(0.0098*b,0.0085*c,0,0,0,0.587*b,0.8676*c);a.lineTo(0.6163*b,0.8528*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.6285*b,0.8359*c);a.arcTo(0.0244*b,0.0211*c,0,0,0,0.6293*b,0.8225*c);a.arcTo(0.0098*b,0.0085*c,0,0,0,0.6163*b,0.8155*
  981. c);a.close();a.moveTo(0.64*b,0.85*c);a.lineTo(0.64*b,0.793*c);a.lineTo(0.6854*b,0.7718*c);a.arcTo(0.0106*b,0.0092*c,0,0,1,0.7008*b,0.7782*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.6959*b,0.8*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.6805*b,0.8127*c);a.lineTo(0.6992*b,0.8218*c);a.lineTo(0.6854*b,0.8282*c);a.lineTo(0.6569*b,0.8141*c);a.lineTo(0.6805*b,0.8021*c);a.arcTo(0.0203*b,0.0176*c,0,0,0,0.6894*b,0.7923*c);a.arcTo(0.0244*b,0.0211*c,0,0,0,0.6894*b,0.7845*c);a.arcTo(0.0041*b,0.0035*c,0,0,0,0.6837*b,0.7831*
  982. c);a.lineTo(0.6528*b,0.7979*c);a.lineTo(0.6528*b,0.8437*c);a.close();a.moveTo(0.7*b,0.8204*c);a.lineTo(0.7301*b,0.7507*c);a.arcTo(0.0098*b,0.0085*c,0,0,1,0.7358*b,0.7444*c);a.arcTo(0.0098*b,0.0085*c,0,0,1,0.7415*b,0.7486*c);a.lineTo(0.7699*b,0.7852*c);a.lineTo(0.7602*b,0.7908*c);a.lineTo(0.7537*b,0.7838*c);a.lineTo(0.7276*b,0.7958*c);a.lineTo(0.7228*b,0.788*c);a.lineTo(0.748*b,0.7768*c);a.lineTo(0.7358*b,0.7585*c);a.lineTo(0.7114*b,0.8155*c);a.close();a.moveTo(0.8244*b,0.7486*c);a.lineTo(0.8171*b,
  983. 0.762*c);a.lineTo(0.7894*b,0.7761*c);a.arcTo(0.0244*b,0.0211*c,0,0,1,0.7683*b,0.7746*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.7667*b,0.7507*c);a.arcTo(0.0488*b,0.0423*c,0,0,1,0.7937*b,0.7162*c);a.lineTo(0.822*b,0.7035*c);a.lineTo(0.8171*b,0.7155*c);a.lineTo(0.7902*b,0.7296*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.778*b,0.743*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.7756*b,0.7606*c);a.arcTo(0.0077*b,0.0067*c,0,0,0,0.787*b,0.767*c);a.close();a.moveTo(0.8366*b,0.6949*c);a.lineTo(0.8366*b,0.7423*c);a.lineTo(0.878*
  984. b,0.7231*c);a.lineTo(0.874*b,0.7338*c);a.lineTo(0.8333*b,0.7535*c);a.arcTo(0.0041*b,0.0035*c,0,0,1,0.8268*b,0.75*c);a.lineTo(0.8268*b,0.7007*c);a.close();a.moveTo(0.9342*b,0.6472*c);a.lineTo(0.9293*b,0.6599*c);a.lineTo(0.9033*b,0.6725*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.8927*b,0.6817*c);a.arcTo(0.0406*b,0.0352*c,0,0,0,0.887*b,0.6937*c);a.lineTo(0.9309*b,0.6725*c);a.lineTo(0.9268*b,0.6845*c);a.lineTo(0.887*b,0.7035*c);a.arcTo(0.0089*b,0.0077*c,0,0,0,0.8992*b,0.7106*c);a.lineTo(0.935*b,0.693*c);a.lineTo(0.9285*
  985. b,0.7063*c);a.lineTo(0.9008*b,0.7197*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.8829*b,0.7204*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.8764*b,0.7028*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.8959*b,0.6669*c);a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.7464*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.begin();a.moveTo(0.5*b,0.5*c);a.lineTo(b,0.25*c);a.lineTo(b,0.7464*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");
  986. a.setLineJoin("round");a.begin();a.moveTo(0,0.7464*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0);a.lineTo(b,0.25*c);a.lineTo(b,0.7464*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.restore();a.setShadow(!1);a.setStrokeWidth(3*f);a.setLineCap("round");a.begin();a.moveTo(0.0894*b,0.3838*c);a.lineTo(0.4187*b,0.5493*c);a.moveTo(0.0894*b,0.4331*c);a.lineTo(0.4187*b,0.5986*c);a.moveTo(0.0894*b,0.4824*c);a.lineTo(0.4187*b,0.6479*c);a.moveTo(0.5854*b,0.5492*c);a.lineTo(0.9146*b,0.3838*c);a.moveTo(0.5854*b,0.5986*
  987. c);a.lineTo(0.9146*b,0.4331*c);a.moveTo(0.5854*b,0.6479*c);a.lineTo(0.9146*b,0.4824*c);a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dOracleDataCenter.prototype.cst.ORACLE_DATA_CENTER,mxShapeAws3dOracleDataCenter);function mxShapeAws3dOracleDatabaseServer(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dOracleDatabaseServer,mxShape);mxShapeAws3dOracleDatabaseServer.prototype.cst={ORACLE_DB_SERVER:"mxgraph.aws3d.oracleDbServer"};
  988. mxShapeAws3dOracleDatabaseServer.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/142);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  989. mxShapeAws3dOracleDatabaseServer.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  990. mxShapeAws3dOracleDatabaseServer.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");a.setAlpha("0.1");a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.close();a.moveTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3308*c);a.fill();a.setAlpha("0.3");a.begin();a.moveTo(0.5*b,c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*
  991. b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(b,0.3308*c);a.lineTo(b,0.7331*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.setFillColor("#ff0000");a.begin();a.moveTo(0,0.5586*c);a.lineTo(0.5*b,0.8248*c);a.lineTo(b,0.5586*c);a.lineTo(b,0.6782*c);a.lineTo(0.5*b,0.9453*c);a.lineTo(0,0.6782*c);a.fill();a.setStrokeWidth(0.5*f);a.setStrokeColor("#ffffff");a.setFillColor("#ffffff");a.begin();a.moveTo(0,0.5586*c);a.lineTo(0.5*b,0.8248*c);a.lineTo(b,0.5586*c);a.moveTo(b,0.6782*
  992. c);a.lineTo(0.5*b,0.9453*c);a.lineTo(0,0.6782*c);a.stroke();a.begin();a.moveTo(0.0813*b,0.6918*c);a.arcTo(0.0569*b,0.0526*c,0,0,1,0.065*b,0.6616*c);a.arcTo(0.065*b,0.0601*c,0,0,1,0.065*b,0.6384*c);a.arcTo(0.0163*b,0.0151*c,0,0,1,0.0797*b,0.6315*c);a.lineTo(0.122*b,0.6534*c);a.arcTo(0.065*b,0.0601*c,0,0,1,0.1358*b,0.673*c);a.arcTo(0.065*b,0.0601*c,0,0,1,0.139*b,0.7045*c);a.arcTo(0.0179*b,0.0165*c,0,0,1,0.1187*b,0.7113*c);a.close();a.moveTo(0.1163*b,0.6992*c);a.arcTo(0.0089*b,0.0082*c,0,0,0,0.1285*
  993. b,0.6955*c);a.arcTo(0.0407*b,0.0376*c,0,0,0,0.1293*b,0.6819*c);a.arcTo(0.0407*b,0.0376*c,0,0,0,0.1179*b,0.6616*c);a.lineTo(0.087*b,0.6451*c);a.arcTo(0.0081*b,0.0075*c,0,0,0,0.0764*b,0.6473*c);a.arcTo(0.0325*b,0.0376*c,0,0,0,0.078*b,0.673*c);a.arcTo(0.0407*b,0.0376*c,0,0,0,0.087*b,0.6834*c);a.close();a.moveTo(0.1439*b,0.7256*c);a.lineTo(0.1439*b,0.6654*c);a.lineTo(0.1846*b,0.6872*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.1967*b,0.6992*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.2*b,0.7203*c);a.arcTo(0.0138*b,
  994. 0.0165*c,0,0,1,0.1813*b,0.7256*c);a.lineTo(0.1992*b,0.7534*c);a.lineTo(0.187*b,0.7481*c);a.lineTo(0.1577*b,0.7029*c);a.lineTo(0.1854*b,0.7165*c);a.arcTo(0.0041*b,0.0037*c,0,0,0,0.1911*b,0.7135*c);a.arcTo(0.0163*b,0.0151*c,0,0,0,0.1894*b,0.7037*c);a.arcTo(0.0325*b,0.0301*c,0,0,0,0.1821*b,0.6962*c);a.lineTo(0.1528*b,0.6804*c);a.lineTo(0.1528*b,0.7301*c);a.close();a.moveTo(0.2008*b,0.7556*c);a.lineTo(0.2293*b,0.7158*c);a.arcTo(0.0065*b,0.006*c,0,0,1,0.2382*b,0.7143*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,
  995. 0.2431*b,0.724*c);a.lineTo(0.2699*b,0.7902*c);a.lineTo(0.2602*b,0.7872*c);a.lineTo(0.252*b,0.7714*c);a.lineTo(0.2293*b,0.7602*c);a.lineTo(0.2244*b,0.7474*c);a.lineTo(0.248*b,0.7586*c);a.lineTo(0.235*b,0.7271*c);a.lineTo(0.2122*b,0.7617*c);a.close();a.moveTo(0.3244*b,0.8105*c);a.lineTo(0.3171*b,0.8173*c);a.lineTo(0.2854*b,0.8*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.2724*b,0.785*c);a.arcTo(0.0569*b,0.0526*c,0,0,1,0.265*b,0.7593*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.2683*b,0.7459*c);a.arcTo(0.0163*b,0.0151*
  996. c,0,0,1,0.2829*b,0.7405*c);a.lineTo(0.3228*b,0.7609*c);a.lineTo(0.3179*b,0.7684*c);a.lineTo(0.2878*b,0.7526*c);a.arcTo(0.0081*b,0.0075*c,0,0,0,0.2789*b,0.7541*c);a.arcTo(0.0244*b,0.0225*c,0,0,0,0.2748*b,0.7684*c);a.arcTo(0.0407*b,0.0376*c,0,0,0,0.2878*b,0.7909*c);a.close();a.moveTo(0.3276*b,0.7639*c);a.lineTo(0.3366*b,0.7684*c);a.lineTo(0.3366*b,0.8173*c);a.lineTo(0.3805*b,0.8406*c);a.lineTo(0.3748*b,0.8473*c);a.lineTo(0.3317*b,0.8248*c);a.arcTo(0.0163*b,0.0151*c,0,0,1,0.3276*b,0.8158*c);a.close();
  997. a.moveTo(0.435*b,0.8692*c);a.lineTo(0.4325*b,0.8789*c);a.lineTo(0.3959*b,0.8594*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.3862*b,0.8466*c);a.arcTo(0.0528*b,0.0489*c,0,0,1,0.3805*b,0.806*c);a.arcTo(0.0163*b,0.0151*c,0,0,1,0.3951*b,0.8008*c);a.lineTo(0.435*b,0.821*c);a.lineTo(0.4285*b,0.827*c);a.lineTo(0.4008*b,0.8127*c);a.arcTo(0.0098*b,0.0091*c,0,0,0,0.3878*b,0.8196*c);a.lineTo(0.4333*b,0.8443*c);a.lineTo(0.426*b,0.8512*c);a.lineTo(0.3878*b,0.8308*c);a.arcTo(0.0325*b,0.0301*c,0,0,0,0.3976*b,0.8489*c);
  998. a.close();a.moveTo(0.6171*b,0.7932*c);a.arcTo(0.0163*b,0.0151*c,0,0,1,0.6366*b,0.7963*c);a.arcTo(0.0325*b,0.0301*c,0,0,1,0.639*b,0.8188*c);a.arcTo(0.065*b,0.0601*c,0,0,1,0.6211*b,0.8497*c);a.lineTo(0.5894*b,0.8677*c);a.arcTo(0.0203*b,0.0188*c,0,0,1,0.565*b,0.8646*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.5659*b,0.8354*c);a.arcTo(0.0488*b,0.0451*c,0,0,1,0.5805*b,0.8127*c);a.close();a.moveTo(0.5886*b,0.8181*c);a.arcTo(0.0325*b,0.0301*c,0,0,0,0.5748*b,0.8368*c);a.arcTo(0.0325*b,0.0301*c,0,0,0,0.574*b,0.8527*
  999. c);a.arcTo(0.0098*b,0.0091*c,0,0,0,0.587*b,0.8586*c);a.lineTo(0.6163*b,0.8428*c);a.arcTo(0.0407*b,0.0376*c,0,0,0,0.6285*b,0.8248*c);a.arcTo(0.0244*b,0.0225*c,0,0,0,0.6293*b,0.8105*c);a.arcTo(0.0098*b,0.0091*c,0,0,0,0.6163*b,0.803*c);a.close();a.moveTo(0.64*b,0.8398*c);a.lineTo(0.64*b,0.779*c);a.lineTo(0.6854*b,0.7563*c);a.arcTo(0.0106*b,0.0098*c,0,0,1,0.7008*b,0.7632*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.6959*b,0.7865*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.6805*b,0.8*c);a.lineTo(0.6992*b,0.8097*c);a.lineTo(0.6854*
  1000. b,0.8166*c);a.lineTo(0.6569*b,0.8015*c);a.lineTo(0.6805*b,0.7887*c);a.arcTo(0.0203*b,0.0188*c,0,0,0,0.6894*b,0.7782*c);a.arcTo(0.0244*b,0.0225*c,0,0,0,0.6894*b,0.7699*c);a.arcTo(0.0041*b,0.0037*c,0,0,0,0.6837*b,0.7684*c);a.lineTo(0.6528*b,0.7842*c);a.lineTo(0.6528*b,0.8331*c);a.close();a.moveTo(0.7*b,0.8082*c);a.lineTo(0.7301*b,0.7338*c);a.arcTo(0.0098*b,0.0091*c,0,0,1,0.7358*b,0.7271*c);a.arcTo(0.0098*b,0.0091*c,0,0,1,0.7415*b,0.7316*c);a.lineTo(0.7699*b,0.7707*c);a.lineTo(0.7602*b,0.7766*c);a.lineTo(0.7537*
  1001. b,0.7692*c);a.lineTo(0.7276*b,0.782*c);a.lineTo(0.7228*b,0.7736*c);a.lineTo(0.748*b,0.7617*c);a.lineTo(0.7358*b,0.7421*c);a.lineTo(0.7114*b,0.803*c);a.close();a.moveTo(0.8244*b,0.7316*c);a.lineTo(0.8171*b,0.7459*c);a.lineTo(0.7894*b,0.7609*c);a.arcTo(0.0244*b,0.0225*c,0,0,1,0.7683*b,0.7593*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.7667*b,0.7338*c);a.arcTo(0.0488*b,0.0452*c,0,0,1,0.7937*b,0.697*c);a.lineTo(0.822*b,0.6834*c);a.lineTo(0.8171*b,0.6962*c);a.lineTo(0.7902*b,0.7113*c);a.arcTo(0.0325*b,0.0301*
  1002. c,0,0,0,0.778*b,0.7256*c);a.arcTo(0.0407*b,0.0376*c,0,0,0,0.7756*b,0.7444*c);a.arcTo(0.0077*b,0.0072*c,0,0,0,0.787*b,0.7512*c);a.close();a.moveTo(0.8366*b,0.6742*c);a.lineTo(0.8366*b,0.7248*c);a.lineTo(0.878*b,0.7043*c);a.lineTo(0.874*b,0.7158*c);a.lineTo(0.8333*b,0.7368*c);a.arcTo(0.0041*b,0.0037*c,0,0,1,0.8268*b,0.7324*c);a.lineTo(0.8268*b,0.6804*c);a.close();a.moveTo(0.9342*b,0.6233*c);a.lineTo(0.9293*b,0.6369*c);a.lineTo(0.9033*b,0.6503*c);a.arcTo(0.0325*b,0.0301*c,0,0,0,0.8927*b,0.6601*c);a.arcTo(0.0406*
  1003. b,0.0376*c,0,0,0,0.887*b,0.6729*c);a.lineTo(0.9309*b,0.6503*c);a.lineTo(0.9268*b,0.6631*c);a.lineTo(0.887*b,0.6834*c);a.arcTo(0.0089*b,0.0082*c,0,0,0,0.8992*b,0.691*c);a.lineTo(0.935*b,0.6722*c);a.lineTo(0.9285*b,0.6864*c);a.lineTo(0.9008*b,0.7007*c);a.arcTo(0.0163*b,0.0151*c,0,0,1,0.8829*b,0.7015*c);a.arcTo(0.0407*b,0.0376*c,0,0,1,0.8764*b,0.6827*c);a.arcTo(0.065*b,0.0601*c,0,0,1,0.8959*b,0.6443*c);a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*
  1004. b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.moveTo(0,0.3346*c);a.lineTo(0.126*b,0.267*c);a.moveTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.moveTo(b,0.3346*c);a.lineTo(0.87*b,0.267*c);a.moveTo(0.378*b,0.4023*c);a.lineTo(0.622*b,0.4023*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*
  1005. b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dOracleDatabaseServer.prototype.cst.ORACLE_DB_SERVER,mxShapeAws3dOracleDatabaseServer);function mxShapeAws3dRdsMaster(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dRdsMaster,mxShape);mxShapeAws3dRdsMaster.prototype.cst={RDS_MASTER:"mxgraph.aws3d.rdsMaster",SHADIG_COLORS:"shadingCols"};
  1006. mxShapeAws3dRdsMaster.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/133);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1007. mxShapeAws3dRdsMaster.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1008. mxShapeAws3dRdsMaster.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dRdsMaster.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7331*c);a.lineTo(0,0.3346*
  1009. c);a.close();a.moveTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3308*c);a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5*b,c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(b,0.3308*c);a.lineTo(b,0.7331*c);a.close();a.fill();a.restore();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.setShadow(!1);a.begin();a.moveTo(0.1878*b,0.1932*c);a.lineTo(0.4854*b,0.0414*c);a.lineTo(0.5886*b,0.094*
  1010. c);a.lineTo(0.4455*b,0.2308*c);a.lineTo(0.7122*b,0.1579*c);a.lineTo(0.8171*b,0.2098*c);a.lineTo(0.5187*b,0.3617*c);a.lineTo(0.4537*b,0.3293*c);a.lineTo(0.7016*b,0.2053*c);a.lineTo(0.3854*b,0.2947*c);a.lineTo(0.3187*b,0.2602*c);a.lineTo(0.4959*b,0.0992*c);a.lineTo(0.2504*b,0.2256*c);a.close();a.fill();a.setLineJoin("round");a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(0.874*
  1011. b,0.1316*c);a.moveTo(0,0.3346*c);a.lineTo(0.126*b,0.267*c);a.moveTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.moveTo(b,0.3346*c);a.lineTo(0.87*b,0.267*c);a.moveTo(0.378*b,0.4023*c);a.lineTo(0.622*b,0.4023*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.stroke()};
  1012. mxCellRenderer.registerShape(mxShapeAws3dRdsMaster.prototype.cst.RDS_MASTER,mxShapeAws3dRdsMaster);function mxShapeAws3dRds(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dRds,mxShape);mxShapeAws3dRds.prototype.cst={RDS:"mxgraph.aws3d.rds",SHADING_COLORS:"shadingCols"};
  1013. mxShapeAws3dRds.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/133);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1014. mxShapeAws3dRds.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1015. mxShapeAws3dRds.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dRds.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.close();
  1016. a.moveTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3308*c);a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5*b,c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(b,0.3308*c);a.lineTo(b,0.7331*c);a.close();a.fill();a.restore();a.setFillColor("#ffffff");a.setShadow(!1);a.begin();a.moveTo(0,0.6053*c);a.lineTo(0.5*b,0.8722*c);a.lineTo(b,0.6053*c);a.lineTo(b,0.6278*c);a.lineTo(0.5*b,0.8947*c);a.lineTo(0,0.6278*c);a.close();a.fill();
  1017. a.setLineJoin("round");a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.moveTo(0,0.3346*c);a.lineTo(0.126*b,0.267*c);a.moveTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.moveTo(b,0.3346*c);a.lineTo(0.87*b,0.267*c);a.moveTo(0.378*b,0.4023*c);a.lineTo(0.622*b,0.4023*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,
  1018. 0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dRds.prototype.cst.RDS,mxShapeAws3dRds);function mxShapeAws3dRoute53(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dRoute53,mxShape);
  1019. mxShapeAws3dRoute53.prototype.cst={ROUTE_53:"mxgraph.aws3d.route53",SHADING_COLORS:"shadingCols"};mxShapeAws3dRoute53.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/117,d*c/134.4);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1020. mxShapeAws3dRoute53.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6994*c);a.lineTo(0,0.2009*c);a.lineTo(0.0427*b,0.0781*c);a.lineTo(0.7974*b,0);a.lineTo(b,0.1004*c);a.lineTo(b,0.5915*c);a.lineTo(0.8376*b,0.9784*c);a.lineTo(0.5983*b,c);a.close();a.fillAndStroke()};
  1021. mxShapeAws3dRoute53.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dRoute53.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.2009*c);a.lineTo(0.6009*b,0.5007*c);a.lineTo(0.8376*b,0.4799*c);a.lineTo(0.8376*b,0.9784*c);a.lineTo(0.5966*b,c);a.lineTo(0,0.6979*c);a.close();a.fill();
  1022. "0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.8348*b,0.4861*c);a.lineTo(0.9985*b,0.0992*c);a.lineTo(b,0.5952*c);a.lineTo(0.8404*b,0.9747*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.5855*b,0.1079*c);a.arcTo(0.094*b,0.0744*c,0,0,0,0.6863*b,0.1548*c);a.arcTo(0.0855*b,0.0446*c,0,0,0,0.7761*b,0.2031*c);a.lineTo(0.7726*b,0.2455*c);a.arcTo(0.0769*b,0.0298*c,0,0,
  1023. 0,0.694*b,0.2693*c);a.arcTo(0.0684*b,0.0446*c,0,0,1,0.5897*b,0.3051*c);a.arcTo(0.4274*b,0.372*c,0,0,0,0.4573*b,0.2753*c);a.arcTo(0.0855*b,0.0744*c,0,0,0,0.4188*b,0.2344*c);a.lineTo(0.3846*b,0.2083*c);a.arcTo(0.0769*b,0.0372*c,0,0,1,0.4103*b,0.1525*c);a.arcTo(0.0855*b,0.0409*c,0,0,0,0.4906*b,0.1079*c);a.close();a.fill();a.begin();a.moveTo(0,0.2009*c);a.lineTo(0.6009*b,0.5007*c);a.lineTo(0.8376*b,0.4799*c);a.lineTo(0.8376*b,0.9784*c);a.lineTo(0.5966*b,c);a.lineTo(0,0.6979*c);a.close();a.moveTo(0.8348*
  1024. b,0.4861*c);a.lineTo(0.9985*b,0.0992*c);a.lineTo(b,0.5952*c);a.lineTo(0.8404*b,0.9747*c);a.close();a.moveTo(0.6009*b,0.5007*c);a.lineTo(0.6009*b,c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.6994*c);a.lineTo(0,0.2009*c);a.lineTo(0.0427*b,0.0781*c);a.lineTo(0.7974*b,0);a.lineTo(b,0.1004*c);a.lineTo(b,0.5915*c);a.lineTo(0.8376*b,0.9784*c);a.lineTo(0.5983*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dRoute53.prototype.cst.ROUTE_53,mxShapeAws3dRoute53);
  1025. function mxShapeAws3dS3Bucket(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dS3Bucket,mxShape);mxShapeAws3dS3Bucket.prototype.cst={S3_BUCKET:"mxgraph.aws3d.s3Bucket",SHADING_COLORS:"shadingCols"};
  1026. mxShapeAws3dS3Bucket.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/61.5;d=d*c/63.8;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setShadow(!1);a.setStrokeWidth(d);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.2774*c);a.lineTo(0.5*b,0);a.lineTo(b,0.2774*c);a.lineTo(0.7967*b,0.8307*c);
  1027. a.lineTo(0.5*b,c);a.lineTo(0.1951*b,0.8307*c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dS3Bucket.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.2774*c);a.lineTo(0.5*b,0.5564*c);a.lineTo(0.5*b,c);a.lineTo(0.1984*b,0.8307*c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.5*
  1028. b,0.5533*c);a.lineTo(b,0.2774*c);a.lineTo(0.7967*b,0.8307*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.2774*c);a.lineTo(0.5*b,0.5564*c);a.lineTo(b,0.2774*c);a.stroke();a.begin();a.moveTo(0.5*b,0.5564*c);a.lineTo(0.5*b,c);a.stroke();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.2774*c);a.lineTo(0.5008*b,0);a.lineTo(b,0.2774*c);a.lineTo(0.7967*b,0.8307*c);a.lineTo(0.5008*b,c);a.lineTo(0.1951*b,0.8307*
  1029. c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dS3Bucket.prototype.cst.S3_BUCKET,mxShapeAws3dS3Bucket);function mxShapeAws3dS3(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dS3,mxShape);mxShapeAws3dS3.prototype.cst={S3:"mxgraph.aws3d.s3",SHADING_COLORS:"shadingCols"};
  1030. mxShapeAws3dS3.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/231.5,d*c/239);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1031. mxShapeAws3dS3.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7782*c);a.lineTo(0,0.3406*c);a.lineTo(0.5974*b,0);a.lineTo(b,0.2218*c);a.lineTo(b,0.6674*c);a.lineTo(0.3991*b,c);a.close();a.fillAndStroke()};
  1032. mxShapeAws3dS3.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dS3.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.3406*c);a.lineTo(0.3991*b,0.5548*c);a.lineTo(0.3991*b,c);a.lineTo(0,0.7782*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.3991*
  1033. b,0.5548*c);a.lineTo(b,0.2218*c);a.lineTo(b,0.6661*c);a.lineTo(0.3991*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.3406*c);a.lineTo(0.3991*b,0.5548*c);a.lineTo(b,0.2218*c);a.moveTo(0.3991*b,0.5548*c);a.lineTo(0.3991*b,c);a.moveTo(0.3991*b,0.3335*c);a.lineTo(0.2009*b,0.448*c);a.lineTo(0.2009*b,0.8891*c);a.moveTo(0.5983*b,0.2209*c);a.lineTo(0.7948*b,0.1109*c);a.moveTo(0.2022*b,0.2218*c);a.lineTo(0.5991*b,0.4448*c);a.lineTo(0.5991*b,0.8891*c);a.moveTo(0.4004*
  1034. b,0.1117*c);a.lineTo(0.7978*b,0.3335*c);a.lineTo(0.7978*b,0.7791*c);a.stroke();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.4773*b,0.2155*c);a.arcTo(0.0086*b,0.0046*c,0,0,1,0.4903*b,0.2096*c);a.arcTo(0.2808*b,0.272*c,0,0,1,0.6004*b,0.2619*c);a.arcTo(0.108*b,0.105*c,0,0,1,0.6177*b,0.277*c);a.arcTo(0.0065*b,0.0063*c,0,0,1,0.6099*b,0.2879*c);a.arcTo(0.1944*b,0.1883*c,0,0,1,0.5378*b,0.2607*c);a.arcTo(0.216*b,0.2092*c,0,0,1,0.4773*b,0.2155*c);a.close();
  1035. a.fill();a.begin();a.moveTo(0.4687*b,0.2138*c);a.arcTo(0.1512*b,0.1464*c,0,0,0,0.4838*b,0.2343*c);a.arcTo(0.2376*b,0.2301*c,0,0,0,0.5529*b,0.2774*c);a.arcTo(0.1728*b,0.1674*c,0,0,0,0.6091*b,0.2954*c);a.lineTo(0.4946*b,0.3339*c);a.arcTo(0.1944*b,0.1883*c,0,0,1,0.4549*b,0.3205*c);a.arcTo(0.1944*b,0.1883*c,0,0,1,0.419*b,0.3004*c);a.arcTo(0.1944*b,0.1883*c,0,0,1,0.3965*b,0.2795*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7782*c);
  1036. a.lineTo(0,0.3406*c);a.lineTo(0.5974*b,0);a.lineTo(b,0.2218*c);a.lineTo(b,0.6674*c);a.lineTo(0.3991*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dS3.prototype.cst.S3,mxShapeAws3dS3);function mxShapeAws3dSimpleDB(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dSimpleDB,mxShape);mxShapeAws3dSimpleDB.prototype.cst={SIMPLE_DB:"mxgraph.aws3d.simpleDb",SHADING_COLORS:"shadingCols"};
  1037. mxShapeAws3dSimpleDB.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/133);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1038. mxShapeAws3dSimpleDB.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1039. mxShapeAws3dSimpleDB.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dSimpleDB.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7331*c);a.lineTo(0,0.3346*c);
  1040. a.close();a.moveTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3308*c);a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5*b,c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(b,0.3308*c);a.lineTo(b,0.7331*c);a.close();a.fill();a.restore();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.setShadow(!1);a.begin();a.moveTo(0.1821*b,0.182*c);a.lineTo(0.4659*b,0.0308*c);a.lineTo(0.822*b,0.2218*c);a.lineTo(0.539*
  1041. b,0.3714*c);a.close();a.fill();a.setLineJoin("round");a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.moveTo(0,0.3346*c);a.lineTo(0.126*b,0.267*c);a.moveTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.moveTo(b,0.3346*c);a.lineTo(0.87*b,0.267*c);a.moveTo(0.378*b,0.4023*c);a.lineTo(0.622*b,0.4023*c);a.stroke();a.restore();a.setShadow(!1);d=mxUtils.getValue(this.state.style,
  1042. "fillColor","#ffffff");a.setStrokeColor(d);a.setStrokeWidth(2.2*f);a.begin();a.moveTo(0.2382*b,0.2218*c);a.lineTo(0.5415*b,0.0602*c);a.moveTo(0.3821*b,0.0564*c);a.lineTo(0.7737*b,0.2656*c);a.moveTo(0.2967*b,0.0915*c);a.lineTo(0.7114*b,0.312*c);a.moveTo(0.2209*b,0.1316*c);a.lineTo(0.6179*b,0.3434*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*
  1043. c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dSimpleDB.prototype.cst.SIMPLE_DB,mxShapeAws3dSimpleDB);function mxShapeAws3dSqs(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dSqs,mxShape);mxShapeAws3dSqs.prototype.cst={SQS:"mxgraph.aws3d.sqs",SHADING_COLORS:"shadingCols"};
  1044. mxShapeAws3dSqs.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/184,d*c/212.75);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1045. mxShapeAws3dSqs.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7485*c);a.lineTo(0,0.584*c);a.lineTo(0.1658*b,0.1666*c);a.lineTo(0.5*b,0);a.lineTo(0.8337*b,0.1666*c);a.lineTo(b,0.584*c);a.lineTo(b,0.7485*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1046. mxShapeAws3dSqs.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dSqs.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.1658*b,0.1671*c);a.lineTo(0.5*b,0.334*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7485*c);a.lineTo(0,0.584*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();
  1047. a.moveTo(0.5*b,0.3344*c);a.lineTo(0.8332*b,0.1671*c);a.lineTo(b,0.584*c);a.lineTo(b,0.7509*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0.6674*b,0.0844*c);a.lineTo(0.3337*b,0.2512*c);a.lineTo(0.25*b,0.7109*c);a.lineTo(0.25*b,0.8736*c);a.moveTo(0.3326*b,0.0839*c);a.lineTo(0.6674*b,0.2512*c);a.lineTo(0.75*b,0.7053*c);a.lineTo(0.75*b,0.874*c);a.moveTo(0,0.584*c);a.lineTo(0.5*b,0.8331*c);a.lineTo(b,0.584*c);a.moveTo(0.1658*b,0.1671*c);a.lineTo(0.5*
  1048. b,0.334*c);a.lineTo(0.8332*b,0.1671*c);a.moveTo(0.5*b,0.334*c);a.lineTo(0.5*b,c);a.stroke();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.3337*b,0.1511*c);a.lineTo(0.4668*b,0.0848*c);a.lineTo(0.6663*b,0.184*c);a.lineTo(0.5337*b,0.2503*c);a.close();a.fill();d=mxUtils.getValue(this.state.style,"fillColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.3902*b,0.153*c);a.lineTo(0.4701*b,0.113*c);a.lineTo(0.4701*b,0.153*c);a.close();a.moveTo(0.4402*
  1049. b,0.1784*c);a.lineTo(0.5196*b,0.1384*c);a.lineTo(0.5196*b,0.1784*c);a.close();a.moveTo(0.4908*b,0.2033*c);a.lineTo(0.5701*b,0.1633*c);a.lineTo(0.5701*b,0.2033*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7485*c);a.lineTo(0,0.584*c);a.lineTo(0.1658*b,0.1666*c);a.lineTo(0.5*b,0);a.lineTo(0.8337*b,0.1666*c);a.lineTo(b,0.584*c);a.lineTo(b,0.7485*c);a.lineTo(0.5*b,c);a.close();a.stroke()};
  1050. mxCellRenderer.registerShape(mxShapeAws3dSqs.prototype.cst.SQS,mxShapeAws3dSqs);function mxShapeAws3dVpcGateway(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dVpcGateway,mxShape);mxShapeAws3dVpcGateway.prototype.cst={VPC_GATEWAY:"mxgraph.aws3d.vpcGateway",SHADING_COLORS:"shadingCols"};
  1051. mxShapeAws3dVpcGateway.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/116.7,d*c/102.8);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1052. mxShapeAws3dVpcGateway.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0.5801*b,0.5447*c);a.lineTo(0.5801*b,0.035*c);a.lineTo(0.1054*b,0);a.lineTo(0,0.0691*c);a.lineTo(0,0.4134*c);a.lineTo(0.3188*b,0.7247*c);a.close();a.fillAndStroke();a.restore();a.save();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dVpcGateway.prototype.cst.SHADING_COLORS,
  1053. "0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5801*b,0.5447*c);a.lineTo(0.5801*b,0.035*c);a.lineTo(0.3162*b,0.2072*c);a.lineTo(0.3162*b,0.7247*c);a.close();a.fill();"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.3162*b,0.2072*c);a.lineTo(0,0.0691*c);a.lineTo(0,0.4134*c);a.lineTo(0.3162*b,0.7247*c);a.close();a.fill();a.restore();a.setShadow(!1);a.begin();a.moveTo(0.5801*b,0.5447*c);a.lineTo(0.5801*
  1054. b,0.035*c);a.lineTo(0.3162*b,0.2072*c);a.lineTo(0.3162*b,0.7247*c);a.close();a.stroke();a.restore();a.setLineJoin("round");a.setShadow(!1);a.begin();a.moveTo(0.3162*b,0.2072*c);a.lineTo(0,0.0691*c);a.lineTo(0,0.4134*c);a.lineTo(0.3162*b,0.7247*c);a.close();a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0.5801*b,0.5447*c);a.lineTo(0.5801*b,0.035*c);a.lineTo(0.1054*b,0);a.lineTo(0,0.0691*c);a.lineTo(0,0.4134*c);a.lineTo(0.3188*b,0.7247*c);a.close();a.stroke();a.restore();
  1055. a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(b,0.929*c);a.lineTo(b,0.5866*c);a.lineTo(0.6829*b,0.1031*c);a.lineTo(0.4216*b,0.2753*c);a.lineTo(0.4216*b,0.7928*c);a.lineTo(0.8946*b,c);a.close();a.fillAndStroke()};
  1056. mxShapeAws3dVpcGateway.prototype.foreground=function(a,d,e,b,c,f){a.restore();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setShadow(!1);a.setLineJoin("round");a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dVpcGateway.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");var g=mxUtils.getValue(this.state.style,"flipH","0");"0"==g?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(b,0.929*c);a.lineTo(b,0.5866*c);a.lineTo(0.8946*b,0.6537*c);a.lineTo(0.8946*
  1057. b,c);a.close();a.fill();"0"==g?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0.8946*b,c);a.lineTo(0.8946*b,0.6537*c);a.lineTo(0.4216*b,0.2753*c);a.lineTo(0.4216*b,0.7928*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(b,0.929*c);a.lineTo(b,0.5866*c);a.lineTo(0.8946*b,0.6537*c);a.lineTo(0.8946*b,c);a.close();a.stroke();a.begin();a.moveTo(0.8946*b,c);a.lineTo(0.8946*b,0.6537*c);a.lineTo(0.4216*b,0.2753*c);a.lineTo(0.4216*b,0.7928*c);a.close();a.stroke();
  1058. a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(b,0.929*c);a.lineTo(b,0.5866*c);a.lineTo(0.6829*b,0.1031*c);a.lineTo(0.4216*b,0.2753*c);a.lineTo(0.4216*b,0.7928*c);a.lineTo(0.8946*b,c);a.close();a.stroke();a.setFillColor(d);a.begin();a.moveTo(0.5587*b,0.7743*c);a.lineTo(0.5587*b,0.6274*c);a.lineTo(0.5775*b,0.6342*c);a.lineTo(0.5775*b,0.57*c);a.arcTo(0.0428*b,0.0486*c,0,0,1,0.6058*b,0.5253*c);a.arcTo(0.0686*b,0.0778*c,0,0,1,0.6564*b,0.5447*c);a.arcTo(0.0857*
  1059. b,0.0973*c,0,0,1,0.6847*b,0.607*c);a.lineTo(0.6847*b,0.6877*c);a.lineTo(0.7001*b,0.6946*c);a.lineTo(0.7001*b,0.8405*c);a.close();a.moveTo(0.6564*b,0.6741*c);a.lineTo(0.6564*b,0.6177*c);a.arcTo(0.06*b,0.0681*c,0,0,0,0.6392*b,0.57*c);a.arcTo(0.0343*b,0.0389*c,0,0,0,0.6195*b,0.5574*c);a.arcTo(0.0111*b,0.0126*c,0,0,0,0.6058*b,0.5691*c);a.lineTo(0.6058*b,0.6498*c);a.close();a.fill()};mxCellRenderer.registerShape(mxShapeAws3dVpcGateway.prototype.cst.VPC_GATEWAY,mxShapeAws3dVpcGateway);
  1060. function mxShapeAws3dWebServer(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dWebServer,mxShape);mxShapeAws3dWebServer.prototype.cst={WEB_SERVER:"mxgraph.aws3d.webServer",SHADING_COLORS:"shadingCols"};
  1061. mxShapeAws3dWebServer.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/106);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1062. mxShapeAws3dWebServer.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6651*c);a.lineTo(0,0.3349*c);a.lineTo(0.5*b,0);a.lineTo(b,0.3349*c);a.lineTo(b,0.6651*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1063. mxShapeAws3dWebServer.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dWebServer.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.3349*c);a.lineTo(0.5*b,0.6651*c);a.lineTo(0.5*b,c);a.lineTo(0,0.6651*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5*
  1064. b,0.6651*c);a.lineTo(b,0.3349*c);a.lineTo(b,0.6651*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.3349*c);a.lineTo(0.5*b,0.6651*c);a.lineTo(0.5*b,c);a.lineTo(0,0.6651*c);a.close();a.stroke();a.begin();a.moveTo(0.5*b,0.6651*c);a.lineTo(b,0.3349*c);a.lineTo(b,0.6651*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.setLineJoin("miter");d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.374*
  1065. b,0.5189*c);a.arcTo(0.0325*b,0.0236*c,0,0,1,0.374*b,0.4858*c);a.lineTo(0.4797*b,0.4151*c);a.arcTo(0.0325*b,0.0236*c,0,0,1,0.5203*b,0.4151*c);a.lineTo(0.626*b,0.4858*c);a.arcTo(0.0325*b,0.0236*c,0,0,1,0.626*b,0.516*c);a.lineTo(0.5203*b,0.5868*c);a.arcTo(0.0325*b,0.0236*c,0,0,1,0.4797*b,0.5868*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6651*c);a.lineTo(0,0.3349*c);a.lineTo(0.5*b,0);a.lineTo(b,0.3349*c);a.lineTo(b,0.6651*c);a.lineTo(0.5*
  1066. b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dWebServer.prototype.cst.WEB_SERVER,mxShapeAws3dWebServer);function mxShapeAws3dDynamoDB(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dDynamoDB,mxShape);mxShapeAws3dDynamoDB.prototype.cst={DYNAMO_DB:"mxgraph.aws3d.dynamoDb",SHADING_COLORS:"shadingCols"};
  1067. mxShapeAws3dDynamoDB.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/181.5,d*c/210);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1068. mxShapeAws3dDynamoDB.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.8333*c);a.lineTo(0,0.1667*c);a.lineTo(0.3333*b,0.0014*c);a.lineTo(0.4986*b,0.1667*c);a.lineTo(0.6639*b,0);a.lineTo(b,0.169*c);a.lineTo(b,0.8333*c);a.lineTo(0.6667*b,c);a.lineTo(0.5014*b,0.9162*c);a.lineTo(0.3333*b,c);a.close();a.fillAndStroke()};
  1069. mxShapeAws3dDynamoDB.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dDynamoDB.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.168*b,0.3333*c);a.lineTo(0,0.3333*c);a.lineTo(0.3333*b,0.5*c);a.lineTo(0.3333*b,c);a.lineTo(0,0.8333*c);a.lineTo(0,0.1714*c);a.close();a.moveTo(0.4986*b,
  1070. 0.1667*c);a.lineTo(0.6667*b,0);a.lineTo(b,0.169*c);a.lineTo(0.832*b,0.3348*c);a.lineTo(b,0.3333*c);a.lineTo(0.6667*b,0.5*c);a.lineTo(0.5014*b,0.5*c);a.lineTo(0.832*b,0.3348*c);a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.3333*b,0.5*c);a.lineTo(0.4986*b,0.5*c);a.lineTo(0.4986*b,0.9162*c);a.lineTo(0.3333*b,c);a.close();a.moveTo(0.6667*b,c);a.lineTo(0.6667*b,0.5*c);a.lineTo(b,0.3333*c);a.lineTo(0.832*b,0.3348*c);a.lineTo(b,0.169*c);a.lineTo(b,0.831*c);a.close();a.fill();a.restore();
  1071. a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0.168*b,0.3333*c);a.lineTo(0,0.3333*c);a.lineTo(0.3333*b,0.5*c);a.lineTo(0.3333*b,c);a.lineTo(0,0.8333*c);a.lineTo(0,0.1714*c);a.close();a.moveTo(0.4986*b,0.1667*c);a.lineTo(0.6667*b,0);a.lineTo(b,0.169*c);a.lineTo(0.832*b,0.3348*c);a.lineTo(b,0.3333*c);a.lineTo(0.6667*b,0.5*c);a.lineTo(0.5014*b,0.5*c);a.lineTo(0.832*b,0.3348*c);a.close();a.moveTo(0.3333*b,0.5*c);a.lineTo(0.4986*b,0.5*c);a.lineTo(0.4986*b,0.9162*c);a.lineTo(0.3333*b,c);a.close();
  1072. a.moveTo(0.6667*b,c);a.lineTo(0.6667*b,0.5*c);a.lineTo(b,0.3333*c);a.lineTo(b,0.831*c);a.close();a.moveTo(0.168*b,0.3333*c);a.lineTo(0.5*b,0.1667*c);a.moveTo(0.168*b,0.3333*c);a.lineTo(0.5014*b,0.5*c);a.stroke();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.4876*b,0.2262*c);a.arcTo(0.303*b,0.2619*c,0,0,1,0.5647*b,0.25*c);a.arcTo(0.4407*b,0.381*c,0,0,1,0.6419*b,0.2905*c);a.arcTo(0.303*b,0.2619*c,0,0,1,0.6799*b,0.32*c);a.arcTo(0.0132*b,0.0076*c,
  1073. 0,0,1,0.6634*b,0.3314*c);a.arcTo(0.303*b,0.2619*c,0,0,1,0.5978*b,0.3119*c);a.arcTo(0.4408*b,0.381*c,0,0,1,0.508*b,0.2667*c);a.arcTo(0.303*b,0.2619*c,0,0,1,0.4711*b,0.2343*c);a.arcTo(0.0132*b,0.0076*c,0,0,1,0.4876*b,0.2262*c);a.close();a.fill();a.begin();a.moveTo(0.5124*b,0.4143*c);a.arcTo(0.1102*b,0.0952*c,0,0,1,0.4683*b,0.4095*c);a.arcTo(0.4408*b,0.381*c,0,0,1,0.3829*b,0.3757*c);a.arcTo(0.4408*b,0.381*c,0,0,1,0.3196*b,0.3371*c);a.arcTo(0.0661*b,0.0357*c,0,0,1,0.3058*b,0.3081*c);a.lineTo(0.4612*b,
  1074. 0.2333*c);a.arcTo(0.0661*b,0.0476*c,0,0,0,0.4744*b,0.2548*c);a.arcTo(0.3306*b,0.2857*c,0,0,0,0.53*b,0.2905*c);a.arcTo(0.4408*b,0.381*c,0,0,0,0.6198*b,0.3295*c);a.arcTo(0.1102*b,0.0952*c,0,0,0,0.665*b,0.3367*c);a.close();a.moveTo(0.5052*b,0.3714*c);a.arcTo(0.0275*b,0.019*c,0,0,1,0.5135*b,0.3581*c);a.arcTo(0.0275*b,0.0238*c,0,0,1,0.5344*b,0.3571*c);a.lineTo(0.5405*b,0.3471*c);a.arcTo(0.0275*b,0.0143*c,0,0,1,0.5278*b,0.3381*c);a.arcTo(0.022*b,0.0119*c,0,0,1,0.5372*b,0.3271*c);a.lineTo(0.5306*b,0.3186*
  1075. c);a.arcTo(0.0331*b,0.0286*c,0,0,1,0.5041*b,0.3143*c);a.arcTo(0.0275*b,0.0143*c,0,0,1,0.4975*b,0.3029*c);a.lineTo(0.4777*b,0.2995*c);a.arcTo(0.0331*b,0.0286*c,0,0,1,0.4628*b,0.3033*c);a.arcTo(0.0331*b,0.0286*c,0,0,1,0.4408*b,0.2967*c);a.lineTo(0.4187*b,0.3*c);a.arcTo(0.011*b,0.0081*c,0,0,1,0.4132*b,0.3124*c);a.arcTo(0.0386*b,0.0333*c,0,0,1,0.395*b,0.3129*c);a.lineTo(0.3873*b,0.3224*c);a.arcTo(0.0165*b,0.0143*c,0,0,1,0.3994*b,0.3333*c);a.arcTo(0.0138*b,0.0119*c,0,0,1,0.3901*b,0.3433*c);a.lineTo(0.3994*
  1076. b,0.3514*c);a.arcTo(0.0331*b,0.0286*c,0,0,1,0.4215*b,0.3548*c);a.arcTo(0.0165*b,0.0119*c,0,0,1,0.4298*b,0.3667*c);a.lineTo(0.449*b,0.3714*c);a.arcTo(0.0331*b,0.0286*c,0,0,1,0.4711*b,0.3657*c);a.arcTo(0.0331*b,0.0286*c,0,0,1,0.4887*b,0.3724*c);a.close();a.moveTo(0.4986*b,0.351*c);a.arcTo(0.0441*b,0.0381*c,0,0,1,0.4804*b,0.3552*c);a.arcTo(0.1102*b,0.0952*c,0,0,1,0.443*b,0.349*c);a.lineTo(0.4413*b,0.3529*c);a.lineTo(0.4242*b,0.3371*c);a.arcTo(0.1102*b,0.0952*c,0,0,0,0.4545*b,0.3462*c);a.arcTo(0.1102*
  1077. b,0.0952*c,0,0,0,0.4793*b,0.3476*c);a.arcTo(0.0441*b,0.0381*c,0,0,0,0.4986*b,0.3448*c);a.close();a.moveTo(0.503*b,0.3349*c);a.arcTo(0.1102*b,0.0952*c,0,0,0,0.4766*b,0.3233*c);a.arcTo(0.0826*b,0.0714*c,0,0,0,0.4529*b,0.32*c);a.arcTo(0.0551*b,0.0476*c,0,0,0,0.4325*b,0.3238*c);a.lineTo(0.427*b,0.3195*c);a.arcTo(0.0826*b,0.0714*c,0,0,1,0.4556*b,0.3157*c);a.arcTo(0.0826*b,0.0714*c,0,0,1,0.4851*b,0.3232*c);a.lineTo(0.4876*b,0.3181*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");
  1078. a.setLineJoin("round");a.begin();a.moveTo(0,0.8333*c);a.lineTo(0,0.1667*c);a.lineTo(0.3333*b,0.0014*c);a.lineTo(0.4986*b,0.1667*c);a.lineTo(0.6639*b,0);a.lineTo(b,0.169*c);a.lineTo(b,0.8333*c);a.lineTo(0.6667*b,c);a.lineTo(0.5014*b,0.9162*c);a.lineTo(0.3333*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dDynamoDB.prototype.cst.DYNAMO_DB,mxShapeAws3dDynamoDB);
  1079. function mxShapeAws3dElasticMapReduce(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dElasticMapReduce,mxShape);mxShapeAws3dElasticMapReduce.prototype.cst={ELASTIC_MAP_REDUCE:"mxgraph.aws3d.elasticMapReduce",SHADING_COLORS:"shadingCols"};
  1080. mxShapeAws3dElasticMapReduce.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/133);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1081. mxShapeAws3dElasticMapReduce.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1082. mxShapeAws3dElasticMapReduce.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dDynamoDB.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7331*c);a.lineTo(0,0.3346*
  1083. c);a.close();a.moveTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3308*c);a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5*b,c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(b,0.3308*c);a.lineTo(b,0.7331*c);a.close();a.fill();a.restore();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.setShadow(!1);a.begin();a.moveTo(0.3336*b,0.1789*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.359*b,0.1789*c);a.lineTo(0.4001*
  1084. b,0.2015*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.4008*b,0.2135*c);a.lineTo(0.3574*b,0.2368*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.3352*b,0.2368*c);a.lineTo(0.2934*b,0.2143*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.2934*b,0.2015*c);a.close();a.moveTo(0.3705*b,0.1729*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.3705*b,0.1602*c);a.lineTo(0.4139*b,0.1368*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.4336*b,0.1368*c);a.lineTo(0.4811*b,0.1617*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.4811*b,0.1708*c);a.lineTo(0.4328*b,0.1955*c);a.arcTo(0.0328*
  1085. b,0.0301*c,0,0,1,0.4156*b,0.1955*c);a.close();a.moveTo(0.4467*b,0.1308*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.4467*b,0.1203*c);a.lineTo(0.491*b,0.0962*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.5123*b,0.0962*c);a.lineTo(0.559*b,0.1203*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.559*b,0.1293*c);a.lineTo(0.5123*b,0.1549*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.4918*b,0.1549*c);a.close();a.moveTo(0.568*b,0.1383*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.5918*b,0.1383*c);a.lineTo(0.6361*b,0.1624*c);a.arcTo(0.0074*b,0.0068*c,
  1086. 0,0,1,0.6366*b,0.1714*c);a.lineTo(0.5885*b,0.1955*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.568*b,0.1955*c);a.lineTo(0.523*b,0.1714*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.523*b,0.1616*c);a.close();a.moveTo(0.6451*b,0.1789*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.6697*b,0.1789*c);a.lineTo(0.7123*b,0.2023*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.7123*b,0.2128*c);a.lineTo(0.6664*b,0.2376*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.6492*b,0.2376*c);a.lineTo(0.6016*b,0.2135*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.6016*b,0.2023*
  1087. c);a.close();a.moveTo(0.6369*b,0.2451*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.6369*b,0.2526*c);a.lineTo(0.5172*b,0.3173*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.4893*b,0.3173*c);a.lineTo(0.3697*b,0.2541*c);a.arcTo(0.0074*b,0.0068*c,0,0,1,0.3697*b,0.2436*c);a.lineTo(0.4918*b,0.1782*c);a.arcTo(0.0328*b,0.0301*c,0,0,1,0.5131*b,0.1782*c);a.close();a.fill();a.moveTo(0*b,0*c);a.lineTo(0*b,0*c);a.arcTo(0*b,0*c,0,0,1,0*b,0*c);a.setLineJoin("round");a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);
  1088. a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.moveTo(0,0.3346*c);a.lineTo(0.126*b,0.267*c);a.moveTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.moveTo(b,0.3346*c);a.lineTo(0.87*b,0.267*c);a.moveTo(0.378*b,0.4023*c);a.lineTo(0.622*b,0.4023*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);
  1089. a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dElasticMapReduce.prototype.cst.ELASTIC_MAP_REDUCE,mxShapeAws3dElasticMapReduce);function mxShapeAws3dRdsSlave(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dRdsSlave,mxShape);mxShapeAws3dRdsSlave.prototype.cst={RDS_SLAVE:"mxgraph.aws3d.rdsSlave"};
  1090. mxShapeAws3dRdsSlave.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/133);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1091. mxShapeAws3dRdsSlave.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1092. mxShapeAws3dRdsSlave.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");a.setAlpha("0.1");a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.lineTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.close();a.moveTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3308*c);a.fill();a.setAlpha("0.3");a.begin();a.moveTo(0.5*b,c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);
  1093. a.lineTo(0.874*b,0.267*c);a.lineTo(b,0.3308*c);a.lineTo(b,0.7331*c);a.close();a.fill();a.restore();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.setShadow(!1);a.begin();a.moveTo(0.2457*b,0.2137*c);a.lineTo(0.5393*b,0.0593*c);a.lineTo(0.6875*b,0.1377*c);a.arcTo(0.0871*b,0.0799*c,0,0,1,0.7137*b,0.1625*c);a.arcTo(0.0348*b,0.032*c,0,0,1,0.7076*b,0.1968*c);a.arcTo(0.1743*b,0.1599*c,0,0,1,0.6597*b,0.2249*c);a.arcTo(0.1307*b,0.1199*c,0,0,1,0.5943*b,0.232*c);a.arcTo(0.1307*
  1094. b,0.1199*c,0,0,1,0.5542*b,0.2225*c);a.arcTo(0.0871*b,0.0799*c,0,0,1,0.5673*b,0.2353*c);a.arcTo(0.0261*b,0.024*c,0,0,1,0.5611*b,0.2729*c);a.lineTo(0.4889*b,0.316*c);a.arcTo(0.0261*b,0.024*c,0,0,0,0.4766*b,0.3352*c);a.lineTo(0.4052*b,0.2992*c);a.arcTo(0.0173*b,0.0159*c,0,0,1,0.4121*b,0.2841*c);a.lineTo(0.4914*b,0.2368*c);a.arcTo(0.0218*b,0.02*c,0,0,0,0.4897*b,0.2129*c);a.lineTo(0.4409*b,0.1857*c);a.lineTo(0.3145*b,0.2529*c);a.close();a.moveTo(0.4801*b,0.1633*c);a.lineTo(0.5263*b,0.1865*c);a.arcTo(0.0871*
  1095. b,0.0799*c,0,0,0,0.583*b,0.1905*c);a.arcTo(0.1307*b,0.1199*c,0,0,0,0.6196*b,0.1721*c);a.arcTo(0.0261*b,0.024*c,0,0,0,0.6117*b,0.1441*c);a.lineTo(0.5655*b,0.1193*c);a.fill();a.setLineJoin("round");a.begin();a.moveTo(0.126*b,0.1316*c);a.lineTo(0.126*b,0.267*c);a.lineTo(0.378*b,0.4023*c);a.lineTo(0.5*b,0.6015*c);a.lineTo(0.622*b,0.4023*c);a.lineTo(0.874*b,0.267*c);a.lineTo(0.874*b,0.1316*c);a.moveTo(0,0.3346*c);a.lineTo(0.126*b,0.267*c);a.moveTo(0.5*b,0.6015*c);a.lineTo(0.5*b,c);a.moveTo(b,0.3346*c);
  1096. a.lineTo(0.87*b,0.267*c);a.moveTo(0.378*b,0.4023*c);a.lineTo(0.622*b,0.4023*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.7331*c);a.lineTo(0,0.3346*c);a.lineTo(0.126*b,0.1316*c);a.lineTo(0.374*b,0);a.lineTo(0.626*b,0);a.lineTo(0.874*b,0.1316*c);a.lineTo(b,0.3346*c);a.lineTo(b,0.7331*c);a.lineTo(0.5*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dRdsSlave.prototype.cst.RDS_SLAVE,mxShapeAws3dRdsSlave);
  1097. function mxShapeAws3dAMI2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dAMI2,mxShape);mxShapeAws3dAMI2.prototype.cst={AMI_2:"mxgraph.aws3d.ami2",SHADING_COLORS:"shadingCols"};
  1098. mxShapeAws3dAMI2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(d*b/92,d*c/60);a.setStrokeWidth(d);a.setShadow(!1);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==e&&a.setShadow(!0);a.begin();a.moveTo(0,0.572*c);a.lineTo(0.0865*b,0.284*c);a.lineTo(0.4203*b,0);a.lineTo(0.5865*b,0);a.lineTo(0.919*b,
  1099. 0.286*c);a.lineTo(b,0.566*c);a.lineTo(0.5027*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dAMI2.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");var f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.566*c);a.lineTo(0.0892*b,0.282*c);a.lineTo(0.0878*b,0.426*c);a.lineTo(0.4216*b,0.712*c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.5027*b,c);a.close();a.fill();
  1100. "0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.5027*b,c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.9176*b,0.43*c);a.lineTo(b,0.566*c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.566*c);a.lineTo(0.0892*b,0.282*c);a.lineTo(0.0878*b,0.426*c);a.lineTo(0.4216*b,0.712*c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.5027*b,c);a.close();a.moveTo(0.5027*b,c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.9176*b,0.43*c);a.lineTo(b,0.566*c);a.close();a.moveTo(0,0.572*c);a.lineTo(0.0892*
  1101. b,0.422*c);a.moveTo(0.5027*b,c);a.lineTo(0.4189*b,0.708*c);a.moveTo(0.9176*b,0.43*c);a.lineTo(0.9176*b,0.29*c);a.stroke();a.setStrokeWidth(2*d);a.setLineJoin("round");a.begin();a.moveTo(0.2095*b,0.376*c);a.lineTo(0.527*b,0.104*c);a.lineTo(0.6338*b,0.194*c);a.lineTo(0.3149*b,0.468*c);a.close();a.moveTo(0.3716*b,0.518*c);a.lineTo(0.6892*b,0.246*c);a.lineTo(0.796*b,0.336*c);a.lineTo(0.477*b,0.61*c);a.close();a.moveTo(0.3108*b,0.282*c);a.lineTo(0.4257*b,0.38*c);a.moveTo(0.4189*b,0.194*c);a.lineTo(0.5297*
  1102. b,0.288*c);a.moveTo(0.5838*b,0.338*c);a.lineTo(0.6892*b,0.426*c);a.moveTo(0.4757*b,0.426*c);a.lineTo(0.5838*b,0.518*c);a.stroke();a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.572*c);a.lineTo(0.0865*b,0.284*c);a.lineTo(0.4203*b,0);a.lineTo(0.5865*b,0);a.lineTo(0.919*b,0.286*c);a.lineTo(b,0.566*c);a.lineTo(0.5027*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dAMI2.prototype.cst.AMI_2,mxShapeAws3dAMI2);
  1103. function mxShapeAws3dEbs(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dEbs,mxShape);mxShapeAws3dEbs.prototype.cst={EBS:"mxgraph.aws3d.ebs",SHADING_COLORS:"shadingCols"};
  1104. mxShapeAws3dEbs.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/92;d=d*c/60;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setStrokeWidth(d);a.setShadow(!1);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.5276*c);a.lineTo(0,0.4188*c);a.lineTo(0.071*b,0.2898*c);a.lineTo(0.4033*b,0);a.lineTo(0.9301*
  1105. b,0.464*c);a.lineTo(b,0.5863*c);a.lineTo(b,0.7035*c);a.lineTo(0.6667*b,c);a.lineTo(0.5355*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dEbs.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0.071*b,0.2948*c);a.lineTo(0.6011*b,0.7621*c);a.lineTo(0.6667*b,c);a.lineTo(0.5355*b,c);a.lineTo(0,0.5276*c);a.lineTo(0,
  1106. 0.4137*c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.6011*b,0.7655*c);a.lineTo(0.9344*b,0.4724*c);a.lineTo(b,0.7035*c);a.lineTo(0.6667*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0.071*b,0.2948*c);a.lineTo(0.6011*b,0.7621*c);a.lineTo(0.6667*b,c);a.lineTo(0.5355*b,c);a.lineTo(0,0.5276*c);a.lineTo(0,0.4137*c);a.close();a.moveTo(0.6011*b,0.7655*c);a.lineTo(0.9344*b,0.4724*c);a.lineTo(b,0.7035*c);a.lineTo(0.6667*b,c);a.close();a.moveTo(0.0033*
  1107. b,0.5276*c);a.lineTo(0.071*b,0.2898*c);a.moveTo(0.5325*b,0.9976*c);a.lineTo(0.603*b,0.7593*c);a.stroke();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.5276*c);a.lineTo(0,0.4188*c);a.lineTo(0.071*b,0.2898*c);a.lineTo(0.4033*b,0);a.lineTo(0.9301*b,0.464*c);a.lineTo(b,0.5863*c);a.lineTo(b,0.7035*c);a.lineTo(0.6667*b,c);a.lineTo(0.5355*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dEbs.prototype.cst.EBS,mxShapeAws3dEbs);
  1108. function mxShapeAws3dOracleServer(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dOracleServer,mxShape);mxShapeAws3dOracleServer.prototype.cst={ORACLE_SERVER:"mxgraph.aws3d.oracleServer"};
  1109. mxShapeAws3dOracleServer.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/123,d*c/133);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1110. mxShapeAws3dOracleServer.prototype.background=function(a,d,e,b,c,f){a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7464*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0);a.lineTo(b,0.25*c);a.lineTo(b,0.7464*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1111. mxShapeAws3dOracleServer.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");a.setAlpha("0.1");a.begin();a.moveTo(0,0.7464*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.5*b,c);a.close();a.fill();a.setAlpha("0.3");a.begin();a.moveTo(0.5*b,0.5*c);a.lineTo(b,0.25*c);a.lineTo(b,0.7464*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.setFillColor("#ff0000");a.begin();a.moveTo(0,0.5866*c);a.lineTo(0.5*b,0.8359*
  1112. c);a.lineTo(b,0.5866*c);a.lineTo(b,0.6986*c);a.lineTo(0.5*b,0.9486*c);a.lineTo(0,0.6986*c);a.fill();a.setStrokeWidth(0.5*f);a.setStrokeColor("#ffffff");a.setFillColor("#ffffff");a.begin();a.moveTo(0,0.5866*c);a.lineTo(0.5*b,0.8359*c);a.lineTo(b,0.5866*c);a.moveTo(b,0.6986*c);a.lineTo(0.5*b,0.9486*c);a.lineTo(0,0.6986*c);a.stroke();a.begin();a.moveTo(0.0813*b,0.7113*c);a.arcTo(0.0569*b,0.0493*c,0,0,1,0.065*b,0.6831*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.065*b,0.6613*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,
  1113. 0.0797*b,0.6549*c);a.lineTo(0.122*b,0.6754*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.1358*b,0.6937*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.139*b,0.7232*c);a.arcTo(0.0179*b,0.0155*c,0,0,1,0.1187*b,0.7296*c);a.close();a.moveTo(0.1163*b,0.7183*c);a.arcTo(0.0089*b,0.0077*c,0,0,0,0.1285*b,0.7148*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.1293*b,0.7021*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.1179*b,0.6831*c);a.lineTo(0.087*b,0.6676*c);a.arcTo(0.0081*b,0.007*c,0,0,0,0.0764*b,0.6697*c);a.arcTo(0.0325*b,0.0352*c,0,0,0,0.078*
  1114. b,0.6937*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.087*b,0.7035*c);a.close();a.moveTo(0.1439*b,0.743*c);a.lineTo(0.1439*b,0.6866*c);a.lineTo(0.1846*b,0.707*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.1967*b,0.7183*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.2*b,0.738*c);a.arcTo(0.0138*b,0.0155*c,0,0,1,0.1813*b,0.743*c);a.lineTo(0.1992*b,0.769*c);a.lineTo(0.187*b,0.7641*c);a.lineTo(0.1577*b,0.7218*c);a.lineTo(0.1854*b,0.7345*c);a.arcTo(0.0041*b,0.0035*c,0,0,0,0.1911*b,0.7317*c);a.arcTo(0.0163*b,0.0141*c,0,0,0,0.1894*
  1115. b,0.7225*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.1821*b,0.7155*c);a.lineTo(0.1528*b,0.7007*c);a.lineTo(0.1528*b,0.7472*c);a.close();a.moveTo(0.2008*b,0.7711*c);a.lineTo(0.2293*b,0.7338*c);a.arcTo(0.0065*b,0.0056*c,0,0,1,0.2382*b,0.7324*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.2431*b,0.7415*c);a.lineTo(0.2699*b,0.8035*c);a.lineTo(0.2602*b,0.8007*c);a.lineTo(0.252*b,0.7859*c);a.lineTo(0.2293*b,0.7754*c);a.lineTo(0.2244*b,0.7634*c);a.lineTo(0.248*b,0.7739*c);a.lineTo(0.235*b,0.7444*c);a.lineTo(0.2122*b,0.7768*
  1116. c);a.close();a.moveTo(0.3244*b,0.8225*c);a.lineTo(0.3171*b,0.8289*c);a.lineTo(0.2854*b,0.8127*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.2724*b,0.7986*c);a.arcTo(0.0569*b,0.0493*c,0,0,1,0.265*b,0.7746*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.2683*b,0.762*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.2829*b,0.757*c);a.lineTo(0.3228*b,0.7761*c);a.lineTo(0.3179*b,0.7831*c);a.lineTo(0.2878*b,0.7683*c);a.arcTo(0.0081*b,0.007*c,0,0,0,0.2789*b,0.7697*c);a.arcTo(0.0244*b,0.0211*c,0,0,0,0.2748*b,0.7831*c);a.arcTo(0.0407*b,0.0352*
  1117. c,0,0,0,0.2878*b,0.8042*c);a.close();a.moveTo(0.3276*b,0.7789*c);a.lineTo(0.3366*b,0.7831*c);a.lineTo(0.3366*b,0.8289*c);a.lineTo(0.3805*b,0.8507*c);a.lineTo(0.3748*b,0.857*c);a.lineTo(0.3317*b,0.8359*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.3276*b,0.8275*c);a.close();a.moveTo(0.435*b,0.8775*c);a.lineTo(0.4325*b,0.8866*c);a.lineTo(0.3959*b,0.8683*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.3862*b,0.8563*c);a.arcTo(0.0528*b,0.0458*c,0,0,1,0.3805*b,0.8183*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.3951*b,0.8134*c);
  1118. a.lineTo(0.435*b,0.8324*c);a.lineTo(0.4285*b,0.838*c);a.lineTo(0.4008*b,0.8246*c);a.arcTo(0.0098*b,0.0085*c,0,0,0,0.3878*b,0.831*c);a.lineTo(0.4333*b,0.8542*c);a.lineTo(0.426*b,0.8606*c);a.lineTo(0.3878*b,0.8415*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.3976*b,0.8585*c);a.close();a.moveTo(0.6171*b,0.8063*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.6366*b,0.8092*c);a.arcTo(0.0325*b,0.0282*c,0,0,1,0.639*b,0.8303*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.6211*b,0.8592*c);a.lineTo(0.5894*b,0.8761*c);a.arcTo(0.0203*b,0.0176*
  1119. c,0,0,1,0.565*b,0.8732*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.5659*b,0.8458*c);a.arcTo(0.0488*b,0.0422*c,0,0,1,0.5805*b,0.8246*c);a.close();a.moveTo(0.5886*b,0.8296*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.5748*b,0.8472*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.574*b,0.862*c);a.arcTo(0.0098*b,0.0085*c,0,0,0,0.587*b,0.8676*c);a.lineTo(0.6163*b,0.8528*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.6285*b,0.8359*c);a.arcTo(0.0244*b,0.0211*c,0,0,0,0.6293*b,0.8225*c);a.arcTo(0.0098*b,0.0085*c,0,0,0,0.6163*b,0.8155*c);a.close();
  1120. a.moveTo(0.64*b,0.85*c);a.lineTo(0.64*b,0.793*c);a.lineTo(0.6854*b,0.7718*c);a.arcTo(0.0106*b,0.0092*c,0,0,1,0.7008*b,0.7782*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.6959*b,0.8*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.6805*b,0.8127*c);a.lineTo(0.6992*b,0.8218*c);a.lineTo(0.6854*b,0.8282*c);a.lineTo(0.6569*b,0.8141*c);a.lineTo(0.6805*b,0.8021*c);a.arcTo(0.0203*b,0.0176*c,0,0,0,0.6894*b,0.7923*c);a.arcTo(0.0244*b,0.0211*c,0,0,0,0.6894*b,0.7845*c);a.arcTo(0.0041*b,0.0035*c,0,0,0,0.6837*b,0.7831*c);a.lineTo(0.6528*
  1121. b,0.7979*c);a.lineTo(0.6528*b,0.8437*c);a.close();a.moveTo(0.7*b,0.8204*c);a.lineTo(0.7301*b,0.7507*c);a.arcTo(0.0098*b,0.0085*c,0,0,1,0.7358*b,0.7444*c);a.arcTo(0.0098*b,0.0085*c,0,0,1,0.7415*b,0.7486*c);a.lineTo(0.7699*b,0.7852*c);a.lineTo(0.7602*b,0.7908*c);a.lineTo(0.7537*b,0.7838*c);a.lineTo(0.7276*b,0.7958*c);a.lineTo(0.7228*b,0.788*c);a.lineTo(0.748*b,0.7768*c);a.lineTo(0.7358*b,0.7585*c);a.lineTo(0.7114*b,0.8155*c);a.close();a.moveTo(0.8244*b,0.7486*c);a.lineTo(0.8171*b,0.762*c);a.lineTo(0.7894*
  1122. b,0.7761*c);a.arcTo(0.0244*b,0.0211*c,0,0,1,0.7683*b,0.7746*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.7667*b,0.7507*c);a.arcTo(0.0488*b,0.0423*c,0,0,1,0.7937*b,0.7162*c);a.lineTo(0.822*b,0.7035*c);a.lineTo(0.8171*b,0.7155*c);a.lineTo(0.7902*b,0.7296*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.778*b,0.743*c);a.arcTo(0.0407*b,0.0352*c,0,0,0,0.7756*b,0.7606*c);a.arcTo(0.0077*b,0.0067*c,0,0,0,0.787*b,0.767*c);a.close();a.moveTo(0.8366*b,0.6949*c);a.lineTo(0.8366*b,0.7423*c);a.lineTo(0.878*b,0.7231*c);a.lineTo(0.874*
  1123. b,0.7338*c);a.lineTo(0.8333*b,0.7535*c);a.arcTo(0.0041*b,0.0035*c,0,0,1,0.8268*b,0.75*c);a.lineTo(0.8268*b,0.7007*c);a.close();a.moveTo(0.9342*b,0.6472*c);a.lineTo(0.9293*b,0.6599*c);a.lineTo(0.9033*b,0.6725*c);a.arcTo(0.0325*b,0.0282*c,0,0,0,0.8927*b,0.6817*c);a.arcTo(0.0406*b,0.0352*c,0,0,0,0.887*b,0.6937*c);a.lineTo(0.9309*b,0.6725*c);a.lineTo(0.9268*b,0.6845*c);a.lineTo(0.887*b,0.7035*c);a.arcTo(0.0089*b,0.0077*c,0,0,0,0.8992*b,0.7106*c);a.lineTo(0.935*b,0.693*c);a.lineTo(0.9285*b,0.7063*c);a.lineTo(0.9008*
  1124. b,0.7197*c);a.arcTo(0.0163*b,0.0141*c,0,0,1,0.8829*b,0.7204*c);a.arcTo(0.0407*b,0.0352*c,0,0,1,0.8764*b,0.7028*c);a.arcTo(0.065*b,0.0563*c,0,0,1,0.8959*b,0.6669*c);a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.7464*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.5*b,c);a.close();a.moveTo(0.5*b,0.5*c);a.lineTo(b,0.25*c);a.lineTo(b,0.7464*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.setLineJoin("miter");d=mxUtils.getValue(this.state.style,"strokeColor","#000000");
  1125. a.setFillColor(d);a.begin();a.moveTo(0.374*b,0.3873*c);a.arcTo(0.0325*b,0.01764*c,0,0,1,0.374*b,0.3626*c);a.lineTo(0.4797*b,0.3098*c);a.arcTo(0.0325*b,0.0141*c,0,0,1,0.5203*b,0.3098*c);a.lineTo(0.626*b,0.3626*c);a.arcTo(0.0325*b,0.01764*c,0,0,1,0.626*b,0.3852*c);a.lineTo(0.5203*b,0.438*c);a.arcTo(0.0325*b,0.0141*c,0,0,1,0.4797*b,0.438*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7464*c);a.lineTo(0,0.25*c);a.lineTo(0.5*b,0);a.lineTo(b,
  1126. 0.25*c);a.lineTo(b,0.7464*c);a.lineTo(0.5*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dOracleServer.prototype.cst.ORACLE_SERVER,mxShapeAws3dOracleServer);function mxShapeAws3dSecureConnection(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dSecureConnection,mxShape);mxShapeAws3dSecureConnection.prototype.cst={SECURE_CONNECTION:"mxgraph.aws3d.secureConnection"};
  1127. mxShapeAws3dSecureConnection.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/57,d*c/34);a.setStrokeWidth(d);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1128. mxShapeAws3dSecureConnection.prototype.background=function(a,d,e,b,c,f){a.begin();a.moveTo(0.0058*b,0.3889*c);a.arcTo(0.2096*b,0.3536*c,0,0,1,0.0774*b,0.1856*c);a.arcTo(0.5241*b,0.8839*c,0,0,1,0.308*b,0.0262*c);a.arcTo(0.8735*b,1.4732*c,0,0,1,0.6417*b,0.056*c);a.arcTo(0.6988*b,1.1786*c,0,0,1,0.9106*b,0.277*c);a.arcTo(0.2621*b,0.442*c,0,0,1,b,0.5451*c);a.arcTo(0.2096*b,0.3536*c,0,0,1,0.9474*b,0.7808*c);a.arcTo(0.4368*b,0.7366*c,0,0,1,0.7186*b,0.9605*c);a.arcTo(0.8735*b,1.4732*c,0,0,1,0.3045*b,0.9104*
  1129. c);a.arcTo(0.6115*b,1.0312*c,0,0,1,0.0687*b,0.6747*c);a.arcTo(0.2096*b,0.3536*c,0,0,1,0.0058*b,0.3889*c);a.close();a.fill()};
  1130. mxShapeAws3dSecureConnection.prototype.foreground=function(a,d,e,b,c,f){d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.2661*b,0.5068*c);a.lineTo(0.5002*b,0.7336*c);a.lineTo(0.6626*b,0.5775*c);a.lineTo(0.6469*b,0.5539*c);a.lineTo(0.6958*b,0.5097*c);a.arcTo(0.0874*b,0.1473*c,0,0,0,0.7325*b,0.4066*c);a.arcTo(0.0874*b,0.1473*c,0,0,0,0.6889*b,0.3153*c);a.arcTo(0.1747*b,0.2946*c,0,0,0,0.5928*b,0.2622*c);a.arcTo(0.1398*b,0.2357*c,0,0,0,0.5107*b,0.3005*
  1131. c);a.lineTo(0.446*b,0.3654*c);a.lineTo(0.4268*b,0.3477*c);a.close();a.moveTo(0.4949*b,0.4184*c);a.lineTo(0.5491*b,0.3624*c);a.arcTo(0.1222*b,0.2062*c,0,0,1,0.6277*b,0.3536*c);a.arcTo(0.0874*b,0.1179*c,0,0,1,0.6679*b,0.3978*c);a.arcTo(0.0175*b,0.0295*c,0,0,1,0.6626*b,0.439*c);a.lineTo(0.5928*b,0.5068*c);a.close();a.fill()};mxCellRenderer.registerShape(mxShapeAws3dSecureConnection.prototype.cst.SECURE_CONNECTION,mxShapeAws3dSecureConnection);
  1132. function mxShapeAws3dEmailService(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dEmailService,mxShape);mxShapeAws3dEmailService.prototype.cst={EMAIL_SERVICE:"mxgraph.aws3d.email_service",SHADING_COLORS:"shadingCols"};
  1133. mxShapeAws3dEmailService.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/151,d*c/192);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1134. mxShapeAws3dEmailService.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.8182*c);a.lineTo(0,0.1818*c);a.lineTo(0.4007*b,0);a.lineTo(0.606*b,0);a.lineTo(b,0.1792*c);a.lineTo(b,0.8182*c);a.lineTo(0.5993*b,c);a.lineTo(0.4007*b,c);a.close();a.fillAndStroke()};
  1135. mxShapeAws3dEmailService.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dEmailService.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.2727*c);a.lineTo(0.4007*b,0.4546*c);a.lineTo(0.5993*b,0.4546*c);a.lineTo(0.5993*b,c);a.lineTo(0.4007*b,c);a.lineTo(0,0.8182*c);a.close();a.fill();
  1136. "0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5993*b,0.4546*c);a.lineTo(b,0.2727*c);a.lineTo(0.8013*b,0.1792*c);a.lineTo(0.8013*b,0.0883*c);a.lineTo(b,0.1792*c);a.lineTo(b,0.8182*c);a.lineTo(0.5993*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.2727*c);a.lineTo(0.4007*b,0.4546*c);a.lineTo(0.5993*b,0.4546*c);a.lineTo(0.5993*b,c);a.lineTo(0.4007*b,c);a.lineTo(0,0.8182*c);a.close();a.stroke();a.begin();a.moveTo(0.5993*b,0.4546*c);a.lineTo(b,
  1137. 0.2727*c);a.lineTo(0.8013*b,0.1792*c);a.lineTo(0.8013*b,0.0883*c);a.lineTo(b,0.1792*c);a.lineTo(b,0.8182*c);a.lineTo(0.5993*b,c);a.close();a.stroke();a.begin();a.moveTo(0.202*b,0.0883*c);a.lineTo(0.202*b,0.1818*c);a.lineTo(0.4007*b,0.2727*c);a.lineTo(0.5993*b,0.2727*c);a.lineTo(0.798*b,0.1818*c);a.moveTo(0.2053*b,0.1818*c);a.lineTo(0.0033*b,0.2714*c);a.moveTo(0.4007*b,0.2727*c);a.lineTo(0.4007*b,0.9961*c);a.moveTo(0.5993*b,0.2727*c);a.lineTo(0.5993*b,0.4546*c);a.stroke();a.setLineJoin("miter");d=
  1138. mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.4437*b,0.0779*c);a.arcTo(0.0662*b,0.0519*c,0,0,1,0.404*b,0.0706*c);a.arcTo(0.0464*b,0.0364*c,0,0,1,0.3815*b,0.0421*c);a.arcTo(0.053*b,0.026*c,0,0,1,0.4205*b,0.0187*c);a.arcTo(0.1987*b,0.1558*c,0,0,1,0.4768*b,0.0203*c);a.arcTo(0.0795*b,0.0364*c,0,0,1,0.5199*b,0.0494*c);a.arcTo(0.0265*b,0.0208*c,0,0,1,0.5099*b,0.0649*c);a.arcTo(0.0795*b,0.0623*c,0,0,1,0.4536*b,0.0727*c);a.arcTo(0.0199*b,0.0156*c,0,0,1,
  1139. 0.4404*b,0.0597*c);a.arcTo(0.0265*b,0.0208*c,0,0,1,0.4219*b,0.0566*c);a.arcTo(0.0199*b,0.0114*c,0,0,1,0.4172*b,0.0431*c);a.arcTo(0.0265*b,0.0208*c,0,0,1,0.4483*b,0.0416*c);a.arcTo(0.0132*b,0.0104*c,0,0,1,0.457*b,0.053*c);a.arcTo(0.0132*b,0.0104*c,0,0,0,0.4669*b,0.0431*c);a.arcTo(0.0166*b,0.0166*c,0,0,0,0.4464*b,0.0358*c);a.lineTo(0.4437*b,0.0338*c);a.arcTo(0.0199*b,0.0156*c,0,0,1,0.4603*b,0.0322*c);a.arcTo(0.0397*b,0.0156*c,0,0,1,0.4755*b,0.0462*c);a.arcTo(0.0199*b,0.0156*c,0,0,1,0.4669*b,0.0545*
  1140. c);a.arcTo(0.053*b,0.0416*c,0,0,1,0.453*b,0.0608*c);a.arcTo(0.0099*b,0.0078*c,0,0,0,0.4636*b,0.0675*c);a.arcTo(0.0662*b,0.0519*c,0,0,0,0.498*b,0.0623*c);a.arcTo(0.0185*b,0.0145*c,0,0,0,0.5079*b,0.0457*c);a.arcTo(0.053*b,0.0416*c,0,0,0,0.4848*b,0.0296*c);a.arcTo(0.0993*b,0.0779*c,0,0,0,0.455*b,0.0234*c);a.arcTo(0.1325*b,0.1039*c,0,0,0,0.4172*b,0.026*c);a.arcTo(0.0397*b,0.0312*c,0,0,0,0.3927*b,0.039*c);a.arcTo(0.0265*b,0.0208*c,0,0,0,0.3974*b,0.0571*c);a.arcTo(0.053*b,0.0416*c,0,0,0,0.4205*b,0.0701*
  1141. c);a.arcTo(0.0331*b,0.026*c,0,0,0,0.4404*b,0.0722*c);a.moveTo(0.42*b,0.049*c);a.arcTo(0.02*b,0.02*c,0,0,0,0.435*b,0.055*c);a.arcTo(0.02*b,0.02*c,0,0,0,0.45*b,0.049*c);a.arcTo(0.02*b,0.02*c,0,0,0,0.435*b,0.043*c);a.arcTo(0.02*b,0.02*c,0,0,0,0.42*b,0.049*c);a.close();a.moveTo(0.4669*b,0.0894*c);a.arcTo(0.1325*b,0.1039*c,0,0,0,0.5099*b,0.0831*c);a.lineTo(0.6689*b,0.1543*c);a.lineTo(0.4887*b,0.1371*c);a.close();a.moveTo(0.3887*b,0.0769*c);a.arcTo(0.0662*b,0.0519*c,0,0,0,0.4205*b,0.0888*c);a.arcTo(0.0662*
  1142. b,0.026*c,0,0,0,0.447*b,0.0894*c);a.lineTo(0.4735*b,0.1512*c);a.lineTo(0.6689*b,0.1688*c);a.lineTo(0.5199*b,0.2364*c);a.lineTo(0.2815*b,0.1273*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.8182*c);a.lineTo(0,0.1818*c);a.lineTo(0.4007*b,0);a.lineTo(0.606*b,0);a.lineTo(b,0.1792*c);a.lineTo(b,0.8182*c);a.lineTo(0.5993*b,c);a.lineTo(0.4007*b,c);a.close();a.stroke()};
  1143. mxCellRenderer.registerShape(mxShapeAws3dEmailService.prototype.cst.EMAIL_SERVICE,mxShapeAws3dEmailService);function mxShapeAws3dWorker(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dWorker,mxShape);mxShapeAws3dWorker.prototype.cst={WORKER:"mxgraph.aws3d.worker",SHADING_COLORS:"shadingCols"};
  1144. mxShapeAws3dWorker.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(d*b/74,d*c/50);a.setStrokeWidth(d);a.setShadow(!1);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==e&&a.setShadow(!0);a.begin();a.moveTo(0,0.572*c);a.lineTo(0.0865*b,0.284*c);a.lineTo(0.4203*b,0);a.lineTo(0.5865*b,0);a.lineTo(0.919*
  1145. b,0.286*c);a.lineTo(b,0.566*c);a.lineTo(0.5027*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dWorker.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");var f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.566*c);a.lineTo(0.0892*b,0.282*c);a.lineTo(0.0878*b,0.426*c);a.lineTo(0.4216*b,0.712*c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.5027*b,c);a.close();a.fill();
  1146. "0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.5027*b,c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.9176*b,0.43*c);a.lineTo(b,0.566*c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.566*c);a.lineTo(0.0892*b,0.282*c);a.lineTo(0.0878*b,0.426*c);a.lineTo(0.4216*b,0.712*c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.5027*b,c);a.close();a.moveTo(0.5027*b,c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.9176*b,0.43*c);a.lineTo(b,0.566*c);a.close();a.moveTo(0,0.572*c);a.lineTo(0.0892*
  1147. b,0.422*c);a.moveTo(0.5027*b,c);a.lineTo(0.4189*b,0.708*c);a.moveTo(0.9176*b,0.43*c);a.lineTo(0.9176*b,0.29*c);a.stroke();e=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(e);a.setLineJoin("round");a.begin();a.moveTo(0.2892*b,0.2104*c);a.lineTo(0.3595*b,0.1503*c);a.lineTo(0.3973*b,0.1844*c);a.arcTo(0.2703*b,0.4008*c,0,0,1,0.4486*b,0.1703*c);a.lineTo(0.4486*b,0.1242*c);a.lineTo(0.5527*b,0.1242*c);a.lineTo(0.5527*b,0.1703*c);a.arcTo(0.2703*b,0.4008*c,0,0,1,0.6149*b,0.1924*
  1148. c);a.lineTo(0.6527*b,0.1603*c);a.lineTo(0.7257*b,0.2224*c);a.lineTo(0.6892*b,0.2545*c);a.arcTo(0.2027*b,0.3006*c,0,0,1,0.7162*b,0.3106*c);a.lineTo(0.7676*b,0.3106*c);a.lineTo(0.7676*b,0.3988*c);a.lineTo(0.7162*b,0.3988*c);a.arcTo(0.2027*b,0.3006*c,0,0,1,0.6973*b,0.4409*c);a.lineTo(0.7378*b,0.475*c);a.lineTo(0.6635*b,0.5371*c);a.lineTo(0.6297*b,0.505*c);a.arcTo(0.2703*b,0.4008*c,0,0,1,0.5527*b,0.5351*c);a.lineTo(0.5527*b,0.5812*c);a.lineTo(0.45*b,0.5812*c);a.lineTo(0.45*b,0.5351*c);a.arcTo(0.2703*
  1149. b,0.4008*c,0,0,1,0.3878*b,0.513*c);a.lineTo(0.3514*b,0.5431*c);a.lineTo(0.2784*b,0.481*c);a.lineTo(0.3149*b,0.4509*c);a.arcTo(0.2027*b,0.3006*c,0,0,1,0.2865*b,0.3968*c);a.lineTo(0.2351*b,0.3968*c);a.lineTo(0.2351*b,0.3086*c);a.lineTo(0.2865*b,0.3086*c);a.arcTo(0.2027*b,0.3006*c,0,0,1,0.3203*b,0.2425*c);a.close();a.moveTo(0.4054*b,0.2445*c);a.arcTo(0.1351*b,0.2004*c,0,0,0,0.3554*b,0.2986*c);a.arcTo(0.0676*b,0.1002*c,0,0,0,0.3432*b,0.3567*c);a.arcTo(0.0811*b,0.1202*c,0,0,0,0.3635*b,0.4208*c);a.arcTo(0.1351*
  1150. b,0.2004*c,0,0,0,0.4122*b,0.4649*c);a.arcTo(0.2027*b,0.3006*c,0,0,0,0.4122*b,0.4649*c);a.arcTo(0.2027*b,0.3006*c,0,0,0,0.5676*b,0.4749*c);a.arcTo(0.1351*b,0.2004*c,0,0,0,0.6351*b,0.4228*c);a.arcTo(0.0676*b,0.1002*c,0,0,0,0.6595*b,0.3467*c);a.arcTo(0.0811*b,0.1202*c,0,0,0,0.6149*b,0.2605*c);a.arcTo(0.2027*b,0.3006*c,0,0,0,0.5419*b,0.2204*c);a.arcTo(0.3378*b,0.501*c,0,0,0,0.4649*b,0.2184*c);a.arcTo(0.2027*b,0.3006*c,0,0,0,0.4054*b,0.2445*c);a.close();a.moveTo(0.473*b,0.2806*c);a.arcTo(0.2027*b,0.3006*
  1151. c,0,0,1,0.55*b,0.2866*c);a.arcTo(0.0676*b,0.1002*c,0,0,1,0.5892*b,0.3307*c);a.arcTo(0.0338*b,0.0501*c,0,0,1,0.5824*b,0.3888*c);a.arcTo(0.0946*b,0.1403*c,0,0,1,0.5216*b,0.4269*c);a.arcTo(0.1622*b,0.2405*c,0,0,1,0.4432*b,0.4128*c);a.arcTo(0.0541*b,0.0802*c,0,0,1,0.4108*b,0.3527*c);a.arcTo(0.0541*b,0.0802*c,0,0,1,0.4351*b,0.2986*c);a.arcTo(0.0811*b,0.1202*c,0,0,1,0.473*b,0.2806*c);a.close();a.fill();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.572*c);a.lineTo(0.0865*b,0.284*
  1152. c);a.lineTo(0.4203*b,0);a.lineTo(0.5865*b,0);a.lineTo(0.919*b,0.286*c);a.lineTo(b,0.566*c);a.lineTo(0.5027*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dWorker.prototype.cst.WORKER,mxShapeAws3dWorker);function mxShapeAws3dApplication2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dApplication2,mxShape);mxShapeAws3dApplication2.prototype.cst={APPLICATION2:"mxgraph.aws3d.application2",SHADING_COLORS:"shadingCols"};
  1153. mxShapeAws3dApplication2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/62;d=d*c/53.5;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setShadow(!1);a.setStrokeWidth(d);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.6766*c);a.lineTo(0,0.3271*c);a.lineTo(0.5*b,0);a.lineTo(b,0.3271*c);a.lineTo(b,
  1154. 0.6766*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dApplication2.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.3271*c);a.lineTo(0.5*b,0.6449*c);a.lineTo(0.5*b,c);a.lineTo(0,0.6766*c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.5*b,0.6449*c);a.lineTo(b,
  1155. 0.3271*c);a.lineTo(b,0.6766*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.3271*c);a.lineTo(0.5*b,0.6449*c);a.lineTo(0.5*b,c);a.lineTo(0,0.6766*c);a.close();a.stroke();a.begin();a.moveTo(0.5*b,0.6449*c);a.lineTo(b,0.3271*c);a.lineTo(b,0.6766*c);a.lineTo(0.5*b,c);a.close();a.stroke();a.setLineJoin("miter");e=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(e);a.begin();a.moveTo(0.1742*b,0.6355*c);a.lineTo(0.1742*b,0.4393*c);
  1156. a.lineTo(0.6726*b,0.1121*c);a.lineTo(0.7661*b,0.1738*c);a.lineTo(0.2661*b,0.4991*c);a.lineTo(0.2661*b,0.6916*c);a.close();a.moveTo(0.2871*b,0.7084*c);a.lineTo(0.2871*b,0.514*c);a.lineTo(0.7823*b,0.1869*c);a.lineTo(0.8629*b,0.2374*c);a.lineTo(0.379*b,0.5626*c);a.lineTo(0.379*b,0.7607*c);a.close();a.fill();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6766*c);a.lineTo(0,0.3271*c);a.lineTo(0.5*b,0);a.lineTo(b,0.3271*c);a.lineTo(b,0.6766*c);a.lineTo(0.5*
  1157. b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dApplication2.prototype.cst.APPLICATION2,mxShapeAws3dApplication2);function mxShapeAws3dElasticBeanstalk(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dElasticBeanstalk,mxShape);mxShapeAws3dElasticBeanstalk.prototype.cst={ELASTIC_BEANSTALK:"mxgraph.aws3d.elasticBeanstalk",SHADING_COLORS:"shadingCols"};
  1158. mxShapeAws3dElasticBeanstalk.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/181.5;d=d*c/140;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setShadow(!1);a.setStrokeWidth(d);a.save();a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.6239*c);a.lineTo(0,0.3754*c);a.lineTo(0.5*b,0);a.lineTo(b,
  1159. 0.3754*c);a.lineTo(b,0.6239*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dElasticBeanstalk.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.3754*c);a.lineTo(0.5*b,0.7514*c);a.lineTo(0.5*b,c);a.lineTo(0,0.6239*c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.5*
  1160. b,0.7514*c);a.lineTo(b,0.3754*c);a.lineTo(b,0.6239*c);a.lineTo(0.5*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.3754*c);a.lineTo(0.5*b,0.7514*c);a.lineTo(0.5*b,c);a.lineTo(0,0.6239*c);a.close();a.moveTo(0.5*b,0.7514*c);a.lineTo(b,0.3754*c);a.lineTo(b,0.6239*c);a.lineTo(0.5*b,c);a.close();a.moveTo(0.2485*b,0.187*c);a.lineTo(0.7493*b,0.5623*c);a.lineTo(0.7493*b,0.8123*c);a.stroke();a.setLineJoin("miter");e=mxUtils.getValue(this.state.style,"strokeColor","#000000");
  1161. a.setFillColor(e);a.begin();a.moveTo(0.7763*b,0.2063*c);a.lineTo(0.2749*b,0.5817*c);a.lineTo(0.2749*b,0.8309*c);a.lineTo(0.2204*b,0.7894*c);a.lineTo(0.2204*b,0.5394*c);a.lineTo(0.7185*b,0.1619*c);a.close();a.fill();a.restore();a.begin();a.moveTo(0.1713*b,0.543*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.2028*b,0.5723*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.2281*b,0.6096*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.2402*b,0.644*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.2424*b,0.6848*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.216*
  1162. b,0.6612*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.1895*b,0.6239*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.1719*b,0.5824*c);a.arcTo(0.0826*b,0.1074*c,0,0,1,0.1713*b,0.543*c);a.close();a.moveTo(0.2507*b,0.7794*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.254*b,0.7421*c);a.arcTo(0.022*b,0.0287*c,0,0,1,0.27*b,0.7264*c);a.arcTo(0.0551*b,0.0716*c,0,0,1,0.2986*b,0.73*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.3234*b,0.7457*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.3218*b,0.7815*c);a.arcTo(0.022*b,0.0287*c,0,0,1,0.3019*b,0.7987*c);
  1163. a.arcTo(0.0826*b,0.1074*c,0,0,1,0.27*b,0.7923*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.2507*b,0.7794*c);a.close();a.moveTo(0.2799*b,0.5265*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.3003*b,0.515*c);a.arcTo(0.0826*b,0.1074*c,0,0,1,0.3317*b,0.515*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.3774*b,0.5315*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.4033*b,0.5487*c);a.arcTo(0.0826*b,0.1074*c,0,0,1,0.3906*b,0.5595*c);a.arcTo(0.0826*b,0.1074*c,0,0,1,0.3493*b,0.5616*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.3069*b,0.5444*c);a.arcTo(0.1653*
  1164. b,0.2149*c,0,0,1,0.2799*b,0.5265*c);a.close();a.moveTo(0.2887*b,0.3933*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.314*b,0.414*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.3322*b,0.4391*c);a.arcTo(0.0193*b,0.0251*c,0,0,1,0.3344*b,0.4699*c);a.arcTo(0.0551*b,0.0716*c,0,0,1,0.3196*b,0.485*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.2887*b,0.4592*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.27*b,0.4269*c);a.arcTo(0.0165*b,0.0215*c,0,0,1,0.2727*b,0.4054*c);a.arcTo(0.0551*b,0.0716*c,0,0,1,0.2887*b,0.3933*c);a.close();a.moveTo(0.4613*
  1165. b,0.262*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.4867*b,0.2827*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.5049*b,0.3078*c);a.arcTo(0.0193*b,0.0251*c,0,0,1,0.5071*b,0.3386*c);a.arcTo(0.0551*b,0.0716*c,0,0,1,0.4922*b,0.3537*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.4613*b,0.3279*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.4426*b,0.2956*c);a.arcTo(0.0165*b,0.0215*c,0,0,1,0.4453*b,0.2741*c);a.arcTo(0.0551*b,0.0716*c,0,0,1,0.4613*b,0.262*c);a.close();a.moveTo(0.4525*b,0.3952*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.4729*b,0.3837*
  1166. c);a.arcTo(0.0826*b,0.1074*c,0,0,1,0.5043*b,0.3837*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.55*b,0.4002*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.5759*b,0.4174*c);a.arcTo(0.0826*b,0.1074*c,0,0,1,0.5633*b,0.4282*c);a.arcTo(0.0826*b,0.1074*c,0,0,1,0.5219*b,0.4303*c);a.arcTo(0.1653*b,0.1074*c,0,0,1,0.4795*b,0.4131*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.4525*b,0.3952*c);a.close();a.moveTo(0.6217*b,0.1426*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.6471*b,0.1633*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.6652*b,0.1884*c);a.arcTo(0.0193*
  1167. b,0.0251*c,0,0,1,0.6674*b,0.2192*c);a.arcTo(0.0551*b,0.0716*c,0,0,1,0.6526*b,0.2342*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.6217*b,0.2085*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.603*b,0.1762*c);a.arcTo(0.0165*b,0.0215*c,0,0,1,0.6057*b,0.1547*c);a.arcTo(0.0551*b,0.0716*c,0,0,1,0.6217*b,0.1426*c);a.close();a.moveTo(0.6129*b,0.2758*c);a.arcTo(0.1102*b,0.1433*c,0,0,1,0.6333*b,0.2643*c);a.arcTo(0.0826*b,0.1433*c,0,0,1,0.6647*b,0.2643*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.7104*b,0.2808*c);a.arcTo(0.1653*b,0.2149*
  1168. c,0,0,1,0.7363*b,0.298*c);a.arcTo(0.0826*b,0.2149*c,0,0,1,0.7363*b,0.298*c);a.arcTo(0.0826*b,0.1074*c,0,0,1,0.6823*b,0.3109*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.6399*b,0.2937*c);a.arcTo(0.1653*b,0.2149*c,0,0,1,0.6129*b,0.2758*c);a.close();a.fillAndStroke();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6239*c);a.lineTo(0,0.3754*c);a.lineTo(0.5*b,0);a.lineTo(b,0.3754*c);a.lineTo(b,0.6239*c);a.lineTo(0.5*b,c);a.close();a.stroke()};
  1169. mxCellRenderer.registerShape(mxShapeAws3dElasticBeanstalk.prototype.cst.ELASTIC_BEANSTALK,mxShapeAws3dElasticBeanstalk);function mxShapeAws3dSimpleDB2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dSimpleDB2,mxShape);mxShapeAws3dSimpleDB2.prototype.cst={SIMPLE_DB_2:"mxgraph.aws3d.simpleDb2",SHADING_COLORS:"shadingCols"};
  1170. mxShapeAws3dSimpleDB2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/181.5,d*c/210);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1171. mxShapeAws3dSimpleDB2.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.8183*c);a.lineTo(0,0.1848*c);a.lineTo(0.3366*b,0);a.lineTo(0.6293*b,0.0021*c);a.lineTo(b,0.1833*c);a.lineTo(b,0.8183*c);a.lineTo(0.6694*b,c);a.lineTo(0.4986*b,0.9091*c);a.lineTo(0.3333*b,c);a.close();a.fillAndStroke()};
  1172. mxShapeAws3dSimpleDB2.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dSimpleDB2.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.1848*c);a.lineTo(0.168*b,0.1833*c);a.lineTo(0,0.365*c);a.lineTo(0.3333*b,0.5467*c);a.lineTo(0.3333*b,c);a.lineTo(0,0.8183*c);a.close();a.moveTo(0.4986*
  1173. b,0.9078*c);a.lineTo(0.4986*b,0.3655*c);a.lineTo(0.6667*b,0.5457*c);a.lineTo(0.6667*b,c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.3333*b,0.5467*c);a.lineTo(0.4986*b,0.3655*c);a.lineTo(0.4986*b,0.9076*c);a.lineTo(0.3333*b,c);a.close();a.moveTo(0.8292*b,0.1822*c);a.lineTo(b,0.1848*c);a.lineTo(b,0.8183*c);a.lineTo(0.6667*b,c);a.lineTo(0.6667*b,0.5441*c);a.lineTo(b,0.3666*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,
  1174. 0.1848*c);a.lineTo(0.168*b,0.1833*c);a.lineTo(0,0.365*c);a.lineTo(0.3333*b,0.5467*c);a.lineTo(0.3333*b,c);a.lineTo(0,0.8183*c);a.close();a.moveTo(0.4986*b,0.9078*c);a.lineTo(0.4986*b,0.3655*c);a.lineTo(0.6667*b,0.5457*c);a.lineTo(0.6667*b,c);a.close();a.moveTo(0.3333*b,0.5467*c);a.lineTo(0.4986*b,0.3655*c);a.lineTo(0.4986*b,0.9076*c);a.lineTo(0.3333*b,c);a.close();a.moveTo(0.8292*b,0.1822*c);a.lineTo(b,0.1848*c);a.lineTo(b,0.8183*c);a.lineTo(0.6667*b,c);a.lineTo(0.6667*b,0.5441*c);a.lineTo(b,0.3666*
  1175. c);a.close();a.moveTo(0.1669*b,0.1828*c);a.lineTo(0.4986*b,0.3655*c);a.lineTo(0.8314*b,0.1833*c);a.lineTo(0.4986*b,0.0031*c);a.close();a.stroke();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.2634*b,0.1833*c);a.lineTo(0.5003*b,0.0535*c);a.lineTo(0.7394*b,0.1833*c);a.lineTo(0.5003*b,0.3136*c);a.close();a.fill();d=mxUtils.getValue(this.state.style,"fillColor","#000000");a.restore();a.setShadow(!1);a.setStrokeWidth(3*f);a.setStrokeColor(d);a.begin();
  1176. a.moveTo(0.3003*b,0.2108*c);a.lineTo(0.5642*b,0.068*c);a.moveTo(0.4429*b,0.0693*c);a.lineTo(0.7059*b,0.2121*c);a.moveTo(0.6667*b,0.2458*c);a.lineTo(0.3974*b,0.0992*c);a.moveTo(0.3499*b,0.1277*c);a.lineTo(0.6088*b,0.2698*c);a.moveTo(0.3009*b,0.1556*c);a.lineTo(0.5496*b,0.2913*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.8183*c);a.lineTo(0,0.1848*c);a.lineTo(0.3366*b,0);a.lineTo(0.6293*b,0.0021*c);a.lineTo(b,0.1833*c);a.lineTo(b,0.8183*
  1177. c);a.lineTo(0.6694*b,c);a.lineTo(0.4986*b,0.9091*c);a.lineTo(0.3333*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dSimpleDB2.prototype.cst.SIMPLE_DB_2,mxShapeAws3dSimpleDB2);function mxShapeAws3dWorkflowService(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dWorkflowService,mxShape);mxShapeAws3dWorkflowService.prototype.cst={WORKFLOW_SERVICE:"mxgraph.aws3d.workflowService",SHADING_COLORS:"shadingCols"};
  1178. mxShapeAws3dWorkflowService.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/181.5,d*c/210);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1179. mxShapeAws3dWorkflowService.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6456*c);a.lineTo(0.2481*b,0);a.lineTo(0.7497*b,0);a.lineTo(b,0.6456*c);a.lineTo(0.4984*b,c);a.close();a.fillAndStroke()};
  1180. mxShapeAws3dWorkflowService.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dWorkflowService.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.6456*c);a.lineTo(0.2486*b,0);a.lineTo(0.2486*b,0.3531*c);a.lineTo(0.4984*b,c);a.close();a.moveTo(0.7497*b,0.3531*c);a.lineTo(0.7497*b,0);
  1181. a.lineTo(b,0.6456*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.4984*b,c);a.lineTo(0.7486*b,0.3531*c);a.lineTo(b,0.6456*c);a.lineTo(0.4967*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0.7497*b,0.3531*c);a.lineTo(0.7497*b,0);a.lineTo(b,0.6456*c);a.close();a.moveTo(0,0.6456*c);a.lineTo(0.2486*b,0);a.lineTo(0.2486*b,0.3531*c);a.lineTo(0.4984*b,c);a.lineTo(0.7486*b,0.3531*c);a.lineTo(b,0.6456*c);a.lineTo(0.4967*b,c);
  1182. a.close();a.moveTo(0.2486*b,0.3531*c);a.lineTo(0.7508*b,0.3531*c);a.moveTo(0.2488*b,0.353*c);a.lineTo(0,0.6486*c);a.stroke();a.restore();a.setShadow(!1);d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.setStrokeWidth(2*f);a.begin();a.ellipse(0.2925*b,0.031*c,0.4116*b,0.2925*c);a.fill();d=mxUtils.getValue(this.state.style,"fillColor","#ffffff");a.setStrokeColor(d);a.begin();a.moveTo(0.5252*b,0.0465*c);a.lineTo(0.5873*b,0.0903*c);a.lineTo(0.5483*b,0.1173*c);a.lineTo(0.4874*
  1183. b,0.0728*c);a.close();a.moveTo(0.4896*b,0.1132*c);a.lineTo(0.5005*b,0.1705*c);a.lineTo(0.4182*b,0.1631*c);a.lineTo(0.4122*b,0.1058*c);a.close();a.moveTo(0.3584*b,0.1631*c);a.lineTo(0.4204*b,0.2062*c);a.lineTo(0.3825*b,0.2332*c);a.lineTo(0.32*b,0.19*c);a.close();a.moveTo(0.4594*b,0.2338*c);a.lineTo(0.5214*b,0.2783*c);a.lineTo(0.4835*b,0.3053*c);a.lineTo(0.4215*b,0.2608*c);a.close();a.moveTo(0.5187*b,0.0943*c);a.lineTo(0.4879*b,0.1152*c);a.moveTo(0.421*b,0.1624*c);a.lineTo(0.3895*b,0.1846*c);a.moveTo(0.5*
  1184. b,0.1698*c);a.lineTo(0.5554*b,0.2089*c);a.lineTo(0.4885*b,0.2567*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6456*c);a.lineTo(0.2481*b,0);a.lineTo(0.7497*b,0);a.lineTo(b,0.6456*c);a.lineTo(0.4984*b,c);a.close();a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dWorkflowService.prototype.cst.WORKFLOW_SERVICE,mxShapeAws3dWorkflowService);
  1185. function mxShapeAws3dDecider(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dDecider,mxShape);mxShapeAws3dDecider.prototype.cst={DECIDER:"mxgraph.aws3d.decider",SHADING_COLORS:"shadingCols"};
  1186. mxShapeAws3dDecider.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(d*b/74,d*c/50);a.setStrokeWidth(d);a.setShadow(!1);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==e&&a.setShadow(!0);a.begin();a.moveTo(0,0.572*c);a.lineTo(0.0865*b,0.284*c);a.lineTo(0.4203*b,0);a.lineTo(0.5865*b,0);a.lineTo(0.919*
  1187. b,0.286*c);a.lineTo(b,0.566*c);a.lineTo(0.5027*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dDecider.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");var f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.566*c);a.lineTo(0.0892*b,0.282*c);a.lineTo(0.0878*b,0.426*c);a.lineTo(0.4216*b,0.712*c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.5027*b,c);a.close();a.fill();
  1188. "0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.5027*b,c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.9176*b,0.43*c);a.lineTo(b,0.566*c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0,0.566*c);a.lineTo(0.0892*b,0.282*c);a.lineTo(0.0878*b,0.426*c);a.lineTo(0.4216*b,0.712*c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.5027*b,c);a.close();a.moveTo(0.5027*b,c);a.lineTo(0.5865*b,0.712*c);a.lineTo(0.9176*b,0.43*c);a.lineTo(b,0.566*c);a.close();a.moveTo(0,0.572*c);a.lineTo(0.0892*
  1189. b,0.422*c);a.moveTo(0.5027*b,c);a.lineTo(0.4189*b,0.708*c);a.moveTo(0.9176*b,0.43*c);a.lineTo(0.9176*b,0.29*c);a.stroke();a.setStrokeWidth(1.6*d);a.setLineJoin("square");a.begin();a.moveTo(0.4973*b,0.1523*c);a.lineTo(0.5608*b,0.0982*c);a.lineTo(0.6581*b,0.1844*c);a.lineTo(0.5986*b,0.2365*c);a.close();a.moveTo(0.3784*b,0.2164*c);a.lineTo(0.5054*b,0.2305*c);a.lineTo(0.5203*b,0.3407*c);a.lineTo(0.3892*b,0.3246*c);a.close();a.moveTo(0.2932*b,0.3246*c);a.lineTo(0.3919*b,0.4128*c);a.lineTo(0.3334*b,0.4647*
  1190. c);a.lineTo(0.2357*b,0.38*c);a.close();a.moveTo(0.4568*b,0.4649*c);a.lineTo(0.5554*b,0.5511*c);a.lineTo(0.4932*b,0.6032*c);a.lineTo(0.3946*b,0.517*c);a.close();a.moveTo(0.5473*b,0.1924*c);a.lineTo(0.5027*b,0.2365*c);a.moveTo(0.4*b,0.3186*c);a.lineTo(0.3446*b,0.3667*c);a.moveTo(0.5189*b,0.3387*c);a.lineTo(0.6081*b,0.4148*c);a.lineTo(0.5068*b,0.501*c);a.stroke();a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.572*c);a.lineTo(0.0865*b,0.284*c);a.lineTo(0.4203*b,0);a.lineTo(0.5865*b,0);a.lineTo(0.919*
  1191. b,0.286*c);a.lineTo(b,0.566*c);a.lineTo(0.5027*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dDecider.prototype.cst.DECIDER,mxShapeAws3dDecider);function mxShapeAws3dSearchEngine(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dSearchEngine,mxShape);mxShapeAws3dSearchEngine.prototype.cst={SEARCH_ENGINE:"mxgraph.aws3d.searchEngine",SHADING_COLORS:"shadingCols"};
  1192. mxShapeAws3dSearchEngine.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/180,d*c/192);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1193. mxShapeAws3dSearchEngine.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7281*c);a.lineTo(0.1667*b,0.5444*c);a.lineTo(0.1667*b,0.1832*c);a.lineTo(0.5011*b,0);a.lineTo(0.8333*b,0.1832*c);a.lineTo(0.8333*b,0.5446*c);a.lineTo(b,0.7281*c);a.lineTo(0.7486*b,0.7735*c);a.lineTo(0.5819*b,0.8617*c);a.lineTo(0.5011*b,c);a.lineTo(0.4169*b,0.8653*c);a.lineTo(0.2475*b,0.7704*
  1194. c);a.close();a.fillAndStroke()};
  1195. mxShapeAws3dSearchEngine.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dSearchEngine.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.1672*b,0.1837*c);a.lineTo(0.4989*b,0.3638*c);a.lineTo(0.4989*b,0.7291*c);a.lineTo(0.5825*b,0.8633*c);a.lineTo(0.4989*b,c);a.lineTo(0.4164*b,0.8622*
  1196. c);a.lineTo(0.2458*b,0.7719*c);a.lineTo(0,0.7276*c);a.lineTo(0.1661*b,0.5454*c);a.close();a.moveTo(0.7486*b,0.7714*c);a.lineTo(0.8317*b,0.5459*c);a.lineTo(b,0.727*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.4989*b,0.3643*c);a.lineTo(0.8317*b,0.1827*c);a.lineTo(0.8317*b,0.5465*c);a.lineTo(0.7508*b,0.7714*c);a.lineTo(0.5836*b,0.8633*c);a.lineTo(0.4989*b,0.727*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0.1672*b,
  1197. 0.1837*c);a.lineTo(0.4989*b,0.3638*c);a.lineTo(0.4989*b,0.7291*c);a.lineTo(0.5825*b,0.8633*c);a.lineTo(0.4989*b,c);a.lineTo(0.4164*b,0.8622*c);a.lineTo(0.2458*b,0.7719*c);a.lineTo(0,0.7276*c);a.lineTo(0.1661*b,0.5454*c);a.close();a.moveTo(0.7486*b,0.7714*c);a.lineTo(0.8317*b,0.5459*c);a.lineTo(b,0.727*c);a.close();a.moveTo(0.4989*b,0.3643*c);a.lineTo(0.8317*b,0.1827*c);a.lineTo(0.8317*b,0.5465*c);a.lineTo(0.7508*b,0.7714*c);a.lineTo(0.5836*b,0.8633*c);a.lineTo(0.4989*b,0.727*c);a.close();a.moveTo(0.1667*
  1198. b,0.5459*c);a.lineTo(0.2486*b,0.7704*c);a.moveTo(0.4164*b,0.8633*c);a.lineTo(0.4989*b,0.727*c);a.lineTo(0.4989*b,c);a.stroke();a.restore();a.setShadow(!1);d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.3427*b,0.179*c);a.arcTo(0.0277*b,0.0261*c,0,0,1,0.3267*b,0.1487*c);a.arcTo(0.0664*b,0.0365*c,0,0,1,0.3621*b,0.1227*c);a.arcTo(0.1052*b,0.0992*c,0,0,1,0.4247*b,0.1195*c);a.arcTo(0.1274*b,0.12*c,0,0,1,0.4884*b,0.1018*c);a.arcTo(0.1329*b,0.1253*c,0,
  1199. 0,1,0.5548*b,0.1112*c);a.arcTo(0.0377*b,0.0344*c,0,0,1,0.572*b,0.166*c);a.arcTo(0.0388*b,0.0365*c,0,0,1,0.6047*b,0.1775*c);a.arcTo(0.021*b,0.0198*c,0,0,1,0.5936*b,0.2046*c);a.arcTo(0.0332*b,0.0313*c,0,0,1,0.6008*b,0.2416*c);a.arcTo(0.072*b,0.0678*c,0,0,1,0.5437*b,0.2677*c);a.arcTo(0.1052*b,0.0939*c,0,0,1,0.4828*b,0.2563*c);a.close();a.moveTo(0.448*b,0.2156*c);a.arcTo(0.0111*b,0.0104*c,0,0,0,0.459*b,0.2255*c);a.arcTo(0.0138*b,0.013*c,0,0,0,0.4729*b,0.2182*c);a.lineTo(0.4773*b,0.1874*c);a.arcTo(0.0664*
  1200. b,0.0626*c,0,0,0,0.5116*b,0.1759*c);a.arcTo(0.0277*b,0.0626*c,0,0,0,0.5233*b,0.1503*c);a.arcTo(0.0554*b,0.0261*c,0,0,0,0.5022*b,0.1336*c);a.arcTo(0.0886*b,0.0835*c,0,0,0,0.4607*b,0.1305*c);a.arcTo(0.0664*b,0.0626*c,0,0,0,0.4313*b,0.142*c);a.arcTo(0.0332*b,0.0313*c,0,0,0,0.4175*b,0.1597*c);a.arcTo(0.0249*b,0.0235*c,0,0,0,0.4313*b,0.1822*c);a.arcTo(0.0443*b,0.0418*c,0,0,0,0.4535*b,0.1884*c);a.close();a.moveTo(0.4718*b,0.1764*c);a.arcTo(0.0443*b,0.0418*c,0,0,1,0.4496*b,0.1754*c);a.arcTo(0.0221*b,0.0157*
  1201. c,0,0,1,0.4369*b,0.1634*c);a.arcTo(0.0221*b,0.0183*c,0,0,1,0.4496*b,0.1467*c);a.arcTo(0.0609*b,0.0574*c,0,0,1,0.4759*b,0.1414*c);a.arcTo(0.0388*b,0.0365*c,0,0,1,0.5033*b,0.1514*c);a.arcTo(0.0443*b,0.0209*c,0,0,1,0.495*b,0.1701*c);a.arcTo(0.0388*b,0.0365*c,0,0,1,0.4718*b,0.1764*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7281*c);a.lineTo(0.1667*b,0.5444*c);a.lineTo(0.1667*b,0.1832*c);a.lineTo(0.5011*b,0);a.lineTo(0.8333*b,0.1832*
  1202. c);a.lineTo(0.8333*b,0.5446*c);a.lineTo(b,0.7281*c);a.lineTo(0.7486*b,0.7735*c);a.lineTo(0.5819*b,0.8617*c);a.lineTo(0.5011*b,c);a.lineTo(0.4169*b,0.8653*c);a.lineTo(0.2475*b,0.7704*c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dSearchEngine.prototype.cst.SEARCH_ENGINE,mxShapeAws3dSearchEngine);function mxShapeAws3dSecurityTokenService(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1203. mxUtils.extend(mxShapeAws3dSecurityTokenService,mxShape);mxShapeAws3dSecurityTokenService.prototype.cst={SECURITY_TOKEN_SERVICE:"mxgraph.aws3d.securityTokenService",SHADING_COLORS:"shadingCols"};mxShapeAws3dSecurityTokenService.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/180,d*c/192);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1204. mxShapeAws3dSecurityTokenService.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.7281*c);a.lineTo(0.1667*b,0.5444*c);a.lineTo(0.1667*b,0.1832*c);a.lineTo(0.5011*b,0);a.lineTo(0.8333*b,0.1832*c);a.lineTo(0.8333*b,0.5446*c);a.lineTo(b,0.7281*c);a.lineTo(0.7486*b,0.7735*c);a.lineTo(0.5819*b,0.8617*c);a.lineTo(0.5011*b,c);a.lineTo(0.4169*b,0.8653*c);a.lineTo(0.2475*
  1205. b,0.7704*c);a.close();a.fillAndStroke()};
  1206. mxShapeAws3dSecurityTokenService.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dSecurityTokenService.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.1672*b,0.1837*c);a.lineTo(0.4989*b,0.3638*c);a.lineTo(0.4989*b,0.7291*c);a.lineTo(0.5825*b,0.8633*c);a.lineTo(0.4989*b,c);a.lineTo(0.4164*
  1207. b,0.8622*c);a.lineTo(0.2458*b,0.7719*c);a.lineTo(0,0.7276*c);a.lineTo(0.1661*b,0.5454*c);a.close();a.moveTo(0.7486*b,0.7714*c);a.lineTo(0.8317*b,0.5459*c);a.lineTo(b,0.727*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.4989*b,0.3643*c);a.lineTo(0.8317*b,0.1827*c);a.lineTo(0.8317*b,0.5465*c);a.lineTo(0.7508*b,0.7714*c);a.lineTo(0.5836*b,0.8633*c);a.lineTo(0.4989*b,0.727*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0.1672*
  1208. b,0.1837*c);a.lineTo(0.4989*b,0.3638*c);a.lineTo(0.4989*b,0.7291*c);a.lineTo(0.5825*b,0.8633*c);a.lineTo(0.4989*b,c);a.lineTo(0.4164*b,0.8622*c);a.lineTo(0.2458*b,0.7719*c);a.lineTo(0,0.7276*c);a.lineTo(0.1661*b,0.5454*c);a.close();a.moveTo(0.7486*b,0.7714*c);a.lineTo(0.8317*b,0.5459*c);a.lineTo(b,0.727*c);a.close();a.moveTo(0.4989*b,0.3643*c);a.lineTo(0.8317*b,0.1827*c);a.lineTo(0.8317*b,0.5465*c);a.lineTo(0.7508*b,0.7714*c);a.lineTo(0.5836*b,0.8633*c);a.lineTo(0.4989*b,0.727*c);a.close();a.moveTo(0.1667*
  1209. b,0.5459*c);a.lineTo(0.2486*b,0.7704*c);a.moveTo(0.4164*b,0.8633*c);a.lineTo(0.4989*b,0.727*c);a.lineTo(0.4989*b,c);a.stroke();a.restore();a.setShadow(!1);d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.4773*b,0.1915*c);a.arcTo(0.1274*b,0.12*c,0,0,1,0.4358*b,0.1968*c);a.arcTo(0.1107*b,0.1044*c,0,0,1,0.3937*b,0.1905*c);a.arcTo(0.0554*b,0.0522*c,0,0,1,0.3682*b,0.1707*c);a.arcTo(0.0332*b,0.0313*c,0,0,1,0.3699*b,0.1414*c);a.arcTo(0.0775*b,0.0731*c,0,
  1210. 0,1,0.4009*b,0.118*c);a.arcTo(0.1107*b,0.1044*c,0,0,1,0.4524*b,0.1059*c);a.arcTo(0.1107*b,0.1044*c,0,0,1,0.5028*b,0.1112*c);a.arcTo(0.0664*b,0.0626*c,0,0,1,0.531*b,0.1315*c);a.arcTo(0.0332*b,0.0313*c,0,0,1,0.531*b,0.1597*c);a.lineTo(0.5615*b,0.1754*c);a.lineTo(0.5526*b,0.1905*c);a.lineTo(0.5759*b,0.1999*c);a.lineTo(0.5753*b,0.2109*c);a.lineTo(0.5792*b,0.2161*c);a.lineTo(0.6135*b,0.2182*c);a.lineTo(0.6113*b,0.2416*c);a.lineTo(0.5819*b,0.2474*c);a.close();a.moveTo(0.4756*b,0.1816*c);a.arcTo(0.0554*
  1211. b,0.0522*c,0,0,0,0.5*b,0.1691*c);a.arcTo(0.0332*b,0.0313*c,0,0,0,0.5144*b,0.1435*c);a.arcTo(0.0277*b,0.0261*c,0,0,0,0.4967*b,0.1247*c);a.arcTo(0.0554*b,0.0522*c,0,0,0,0.4729*b,0.1174*c);a.arcTo(0.1107*b,0.1044*c,0,0,0,0.4452*b,0.1169*c);a.arcTo(0.0831*b,0.0783*c,0,0,0,0.4197*b,0.1232*c);a.arcTo(0.0554*b,0.0522*c,0,0,0,0.397*b,0.1357*c);a.arcTo(0.0388*b,0.0365*c,0,0,0,0.3859*b,0.1555*c);a.arcTo(0.0305*b,0.0287*c,0,0,0,0.4053*b,0.178*c);a.arcTo(0.072*b,0.0678*c,0,0,0,0.4385*b,0.1863*c);a.arcTo(0.0831*
  1212. b,0.0783*c,0,0,0,0.4596*b,0.1848*c);a.arcTo(0.0664*b,0.0626*c,0,0,0,0.4756*b,0.1816*c);a.fill();a.setStrokeWidth(1.5*f);a.setLineJoin("round");a.setLineCap("round");a.begin();a.moveTo(0.4939*b,0.1326*c);a.lineTo(0.4474*b,0.1508*c);a.lineTo(0.4812*b,0.1576*c);a.moveTo(0.4889*b,0.1733*c);a.lineTo(0.4939*b,0.1775*c);a.moveTo(0.5061*b,0.1576*c);a.lineTo(0.5199*b,0.1597*c);a.moveTo(0.5094*b,0.1394*c);a.lineTo(0.5244*b,0.1378*c);a.moveTo(0.4945*b,0.1247*c);a.lineTo(0.4994*b,0.1185*c);a.moveTo(0.4679*b,
  1213. 0.1175*c);a.lineTo(0.4707*b,0.1117*c);a.moveTo(0.4396*b,0.1195*c);a.lineTo(0.4374*b,0.1138*c);a.moveTo(0.412*b,0.1284*c);a.lineTo(0.4059*b,0.1232*c);a.moveTo(0.3948*b,0.1441*c);a.lineTo(0.3804*b,0.1425*c);a.moveTo(0.3931*b,0.1608*c);a.lineTo(0.3804*b,0.1649*c);a.moveTo(0.4059*b,0.1754*c);a.lineTo(0.3998*b,0.1801*c);a.moveTo(0.4308*b,0.1822*c);a.lineTo(0.4286*b,0.1884*c);a.moveTo(0.4618*b,0.1827*c);a.lineTo(0.4635*b,0.1868*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,
  1214. 0.7281*c);a.lineTo(0.1667*b,0.5444*c);a.lineTo(0.1667*b,0.1832*c);a.lineTo(0.5011*b,0);a.lineTo(0.8333*b,0.1832*c);a.lineTo(0.8333*b,0.5446*c);a.lineTo(b,0.7281*c);a.lineTo(0.7486*b,0.7735*c);a.lineTo(0.5819*b,0.8617*c);a.lineTo(0.5011*b,c);a.lineTo(0.4169*b,0.8653*c);a.lineTo(0.2475*b,0.7704*c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dSecurityTokenService.prototype.cst.SECURITY_TOKEN_SERVICE,mxShapeAws3dSecurityTokenService);
  1215. function mxShapeAws3dGlacier(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dGlacier,mxShape);mxShapeAws3dGlacier.prototype.cst={GLACIER:"mxgraph.aws3d.glacier",SHADING_COLORS:"shadingCols"};
  1216. mxShapeAws3dGlacier.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/180,d*c/192);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1217. mxShapeAws3dGlacier.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.8177*c);a.lineTo(0,0.5448*c);a.lineTo(0.168*b,0.1792*c);a.lineTo(0.5008*b,0);a.lineTo(0.8309*b,0.1812*c);a.lineTo(b,0.5469*c);a.lineTo(b,0.8188*c);a.lineTo(0.6661*b,c);a.lineTo(0.3333*b,c);a.close();a.fillAndStroke()};
  1218. mxShapeAws3dGlacier.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dGlacier.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.1658*b,0.1802*c);a.lineTo(0.5008*b,0.3651*c);a.lineTo(0.6661*b,0.9089*c);a.lineTo(0.6661*b,c);a.lineTo(0.3339*b,c);a.lineTo(0,0.8177*c);a.lineTo(0,0.5427*c);
  1219. a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.5008*b,0.362*c);a.lineTo(0.8314*b,0.1823*c);a.lineTo(b,0.5469*c);a.lineTo(b,0.8177*c);a.lineTo(0.6661*b,c);a.lineTo(0.6661*b,0.9089*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0.1658*b,0.1802*c);a.lineTo(0.5008*b,0.3651*c);a.lineTo(0.6661*b,0.9089*c);a.lineTo(0.6661*b,c);a.lineTo(0.3339*b,c);a.lineTo(0,0.8177*c);a.lineTo(0,0.5427*c);a.close();a.moveTo(0.5008*b,0.362*c);
  1220. a.lineTo(0.8314*b,0.1823*c);a.lineTo(b,0.5469*c);a.lineTo(b,0.8177*c);a.lineTo(0.6661*b,c);a.lineTo(0.6661*b,0.9089*c);a.close();a.moveTo(0.1675*b,0.1797*c);a.lineTo(0,0.7281*c);a.lineTo(0.3284*b,0.9089*c);a.lineTo(0.6661*b,0.9089*c);a.lineTo(b,0.7266*c);a.lineTo(0.8309*b,0.1823*c);a.moveTo(0.5003*b,0.362*c);a.lineTo(0.3311*b,0.9089*c);a.lineTo(0.3311*b,c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.8177*c);a.lineTo(0,0.5448*c);a.lineTo(0.168*b,0.1792*c);a.lineTo(0.5008*
  1221. b,0);a.lineTo(0.8309*b,0.1812*c);a.lineTo(b,0.5469*c);a.lineTo(b,0.8188*c);a.lineTo(0.6661*b,c);a.lineTo(0.3333*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dGlacier.prototype.cst.GLACIER,mxShapeAws3dGlacier);function mxShapeAws3dCustomerGateway(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dCustomerGateway,mxShape);
  1222. mxShapeAws3dCustomerGateway.prototype.cst={CUSTOMER_GATEWAY:"mxgraph.aws3d.customerGateway",SHADING_COLORS:"shadingCols"};mxShapeAws3dCustomerGateway.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/116.7,d*c/102.8);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1223. mxShapeAws3dCustomerGateway.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0.4199*b,0.5447*c);a.lineTo(0.4199*b,0.035*c);a.lineTo(0.8946*b,0);a.lineTo(b,0.0691*c);a.lineTo(b,0.4134*c);a.lineTo(0.6812*b,0.7247*c);a.close();a.fillAndStroke();a.restore();a.save();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dCustomerGateway.prototype.cst.SHADING_COLORS,
  1224. "0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0.4199*b,0.5447*c);a.lineTo(0.4199*b,0.035*c);a.lineTo(0.6838*b,0.2072*c);a.lineTo(0.6838*b,0.7247*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.6838*b,0.2072*c);a.lineTo(b,0.0691*c);a.lineTo(b,0.4134*c);a.lineTo(0.6838*b,0.7247*c);a.close();a.fill();a.restore();a.setShadow(!1);a.begin();a.moveTo(0.4199*b,0.5447*c);a.lineTo(0.4199*
  1225. b,0.035*c);a.lineTo(0.6838*b,0.2072*c);a.lineTo(0.6838*b,0.7247*c);a.close();a.stroke();a.restore();a.setLineJoin("round");a.setShadow(!1);a.begin();a.moveTo(0.6838*b,0.2072*c);a.lineTo(b,0.0691*c);a.lineTo(b,0.4134*c);a.lineTo(0.6838*b,0.7247*c);a.close();a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0.4199*b,0.5447*c);a.lineTo(0.4199*b,0.035*c);a.lineTo(0.8946*b,0);a.lineTo(b,0.0691*c);a.lineTo(b,0.4134*c);a.lineTo(0.6812*b,0.7247*c);a.close();a.stroke();a.restore();
  1226. a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.929*c);a.lineTo(0,0.5866*c);a.lineTo(0.3171*b,0.1031*c);a.lineTo(0.5784*b,0.2753*c);a.lineTo(0.5784*b,0.7928*c);a.lineTo(0.1054*b,c);a.close();a.fillAndStroke()};
  1227. mxShapeAws3dCustomerGateway.prototype.foreground=function(a,d,e,b,c,f){a.restore();d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setShadow(!1);a.setLineJoin("round");a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dCustomerGateway.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");var g=mxUtils.getValue(this.state.style,"flipH","0");"0"==g?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0,0.929*c);a.lineTo(0,0.5866*c);a.lineTo(0.1054*b,0.6537*
  1228. c);a.lineTo(0.1054*b,c);a.close();a.fill();"0"==g?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.1054*b,c);a.lineTo(0.1054*b,0.6537*c);a.lineTo(0.5784*b,0.2753*c);a.lineTo(0.5784*b,0.7928*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.929*c);a.lineTo(0,0.5866*c);a.lineTo(0.1054*b,0.6537*c);a.lineTo(0.1054*b,c);a.close();a.stroke();a.begin();a.moveTo(0.1054*b,c);a.lineTo(0.1054*b,0.6537*c);a.lineTo(0.5784*b,0.2753*c);a.lineTo(0.5784*b,0.7928*
  1229. c);a.close();a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.929*c);a.lineTo(0,0.5866*c);a.lineTo(0.3171*b,0.1031*c);a.lineTo(0.5784*b,0.2753*c);a.lineTo(0.5784*b,0.7928*c);a.lineTo(0.1054*b,c);a.close();a.stroke();a.setFillColor(d);a.begin();a.moveTo(0.7575*b,0.3969*c);a.arcTo(0.2142*b,0.2432*c,0,0,1,0.7686*b,0.3259*c);a.arcTo(0.2142*b,0.2432*c,0,0,1,0.8055*b,0.2481*c);a.arcTo(0.2142*b,0.2432*c,0,0,1,0.8406*b,0.2091*c);a.lineTo(0.8269*b,
  1230. 0.2665*c);a.lineTo(0.8372*b,0.2607*c);a.lineTo(0.8372*b,0.3444*c);a.lineTo(0.7832*b,0.3804*c);a.lineTo(0.7832*b,0.3658*c);a.close();a.moveTo(0.8466*b,0.2082*c);a.arcTo(0.0514*b,0.0584*c,0,0,1,0.8766*b,0.1955*c);a.arcTo(0.0514*b,0.0584*c,0,0,1,0.9186*b,0.2286*c);a.arcTo(0.12*b,0.1362*c,0,0,1,0.9297*b,0.2821*c);a.lineTo(0.9006*b,0.2831*c);a.lineTo(0.9006*b,0.3016*c);a.lineTo(0.85*b,0.3366*c);a.lineTo(0.85*b,0.251*c);a.lineTo(0.8586*b,0.2471*c);a.close();a.moveTo(0.9297*b,0.2967*c);a.arcTo(0.2142*b,
  1231. 0.2432*c,0,0,1,0.9195*b,0.3667*c);a.arcTo(0.2571*b,0.2918*c,0,0,1,0.8869*b,0.4436*c);a.arcTo(0.1714*b,0.1946*c,0,0,1,0.8466*b,0.4903*c);a.lineTo(0.8595*b,0.4358*c);a.lineTo(0.8492*b,0.4416*c);a.lineTo(0.8492*b,0.357*c);a.lineTo(0.9006*b,0.32004*c);a.lineTo(0.9006*b,0.3346*c);a.close();a.moveTo(0.838*b,0.4942*c);a.arcTo(0.0857*b,0.0973*c,0,0,1,0.8072*b,0.5049*c);a.arcTo(0.0514*b,0.0584*c,0,0,1,0.7712*b,0.4815*c);a.arcTo(0.1714*b,0.1946*c,0,0,1,0.7566*b,0.4163*c);a.lineTo(0.7832*b,0.4173*c);a.lineTo(0.7832*
  1232. b,0.4008*c);a.lineTo(0.8372*b,0.3638*c);a.lineTo(0.8372*b,0.4494*c);a.lineTo(0.8278*b,0.4562*c);a.close();a.fill()};mxCellRenderer.registerShape(mxShapeAws3dCustomerGateway.prototype.cst.CUSTOMER_GATEWAY,mxShapeAws3dCustomerGateway);function mxShapeAws3dRedshift(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dRedshift,mxShape);mxShapeAws3dRedshift.prototype.cst={REDSHIFT:"mxgraph.aws3d.redshift",SHADING_COLORS:"shadingCols"};
  1233. mxShapeAws3dRedshift.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/149.5,d*c/187.5);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1234. mxShapeAws3dRedshift.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.6517*c);a.lineTo(0,0.0912*c);a.lineTo(0.0368*b,0.0155*c);a.lineTo(0.2047*b,0);a.lineTo(0.3378*b,0.0619*c);a.lineTo(0.3378*b,0.0912*c);a.lineTo(0.3819*b,0.0693*c);a.lineTo(0.6154*b,0.0693*c);a.lineTo(0.8502*b,0.1776*c);a.lineTo(0.8502*b,0.3083*c);a.lineTo(0.8682*b,0.3061*c);a.lineTo(b,0.3664*c);
  1235. a.lineTo(b,0.9099*c);a.lineTo(0.9672*b,0.9861*c);a.lineTo(0.7926*b,c);a.lineTo(0.6629*b,0.9392*c);a.lineTo(0.6629*b,0.9099*c);a.lineTo(0.6167*b,0.9317*c);a.lineTo(0.3813*b,0.9317*c);a.lineTo(0.1478*b,0.8219*c);a.lineTo(0.1478*b,0.7093*c);a.lineTo(0.1365*b,0.7163*c);a.close();a.fillAndStroke()};
  1236. mxShapeAws3dRedshift.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dRedshift.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.6541*c);a.lineTo(0,0.0933*c);a.lineTo(0.1371*b,0.1573*c);a.lineTo(0.1371*b,0.7157*c);a.close();a.moveTo(0.1485*b,0.8219*c);a.lineTo(0.1485*b,0.2864*c);
  1237. a.lineTo(0.3846*b,0.3941*c);a.lineTo(0.3846*b,0.9317*c);a.close();a.moveTo(0.6642*b,0.9392*c);a.lineTo(0.6642*b,0.4011*c);a.lineTo(0.796*b,0.4597*c);a.lineTo(0.796*b,c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.1371*b,0.7157*c);a.lineTo(0.1371*b,0.1568*c);a.lineTo(0.2027*b,0.1525*c);a.lineTo(0.1498*b,0.1771*c);a.lineTo(0.1498*b,0.7061*c);a.close();a.moveTo(0.3846*b,0.3941*c);a.lineTo(0.614*b,0.3941*c);a.lineTo(0.6809*b,0.3632*c);a.lineTo(0.6642*b,0.4*c);a.lineTo(0.6642*
  1238. b,0.9067*c);a.lineTo(0.6191*b,0.9317*c);a.lineTo(0.3833*b,0.9317*c);a.close();a.moveTo(0.796*b,0.4608*c);a.lineTo(0.9639*b,0.4469*c);a.lineTo(b,0.3691*c);a.lineTo(b,0.9077*c);a.lineTo(0.9686*b,0.9856*c);a.lineTo(0.796*b,c);a.close();a.moveTo(0.3378*b,0.0608*c);a.lineTo(0.3378*b,0.0907*c);a.lineTo(0.3197*b,0.1008*c);a.close();a.moveTo(0.8502*b,0.2843*c);a.lineTo(0.8502*b,0.3083*c);a.lineTo(0.794*b,0.3136*c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,
  1239. 0.6541*c);a.lineTo(0,0.0933*c);a.lineTo(0.1371*b,0.1573*c);a.lineTo(0.1371*b,0.7157*c);a.close();a.moveTo(0.1485*b,0.8219*c);a.lineTo(0.1485*b,0.2864*c);a.lineTo(0.3846*b,0.3941*c);a.lineTo(0.3846*b,0.9317*c);a.close();a.moveTo(0.6642*b,0.9392*c);a.lineTo(0.6642*b,0.4011*c);a.lineTo(0.796*b,0.4597*c);a.lineTo(0.796*b,c);a.close();a.moveTo(0.1371*b,0.7157*c);a.lineTo(0.1371*b,0.1568*c);a.lineTo(0.2027*b,0.1525*c);a.lineTo(0.1498*b,0.1771*c);a.lineTo(0.1498*b,0.7061*c);a.close();a.moveTo(0.3846*b,0.3941*
  1240. c);a.lineTo(0.614*b,0.3941*c);a.lineTo(0.6809*b,0.3632*c);a.lineTo(0.6642*b,0.4*c);a.lineTo(0.6642*b,0.9067*c);a.lineTo(0.6191*b,0.9317*c);a.lineTo(0.3833*b,0.9317*c);a.close();a.moveTo(0.796*b,0.4608*c);a.lineTo(0.9639*b,0.4469*c);a.lineTo(b,0.3691*c);a.lineTo(b,0.9077*c);a.lineTo(0.9686*b,0.9856*c);a.lineTo(0.796*b,c);a.close();a.moveTo(0.3378*b,0.0608*c);a.lineTo(0.3378*b,0.0907*c);a.lineTo(0.3197*b,0.1008*c);a.close();a.moveTo(0.8502*b,0.2843*c);a.lineTo(0.8502*b,0.3083*c);a.lineTo(0.794*b,0.3136*
  1241. c);a.close();a.moveTo(0.6167*b,0.3941*c);a.lineTo(0.6167*b,0.9317*c);a.moveTo(0.9652*b,0.4448*c);a.lineTo(0.9652*b,0.9851*c);a.stroke();a.restore();a.setShadow(!1);d=mxUtils.getValue(this.state.style,"strokeColor","#000000");a.setFillColor(d);a.begin();a.moveTo(0.4903*b,0.1259*c);a.arcTo(0.01*b,0.008*c,0,0,1,0.5023*b,0.1189*c);a.arcTo(0.2007*b,0.16*c,0,0,1,0.5639*b,0.1333*c);a.arcTo(0.602*b,0.48*c,0,0,1,0.7157*b,0.2005*c);a.arcTo(0.2006*b,0.16*c,0,0,1,0.7565*b,0.2315*c);a.arcTo(0.01*b,0.008*c,0,0,
  1242. 1,0.7445*b,0.2421*c);a.arcTo(0.2676*b,0.2133*c,0,0,1,0.6742*b,0.2251*c);a.arcTo(0.602*b,0.48*c,0,0,1,0.5204*b,0.1541*c);a.arcTo(0.1338*b,0.1067*c,0,0,1,0.4903*b,0.1259*c);a.close();a.moveTo(0.4789*b,0.1275*c);a.arcTo(0.0334*b,0.0267*c,0,0,0,0.487*b,0.1461*c);a.arcTo(0.1672*b,0.1333*c,0,0,0,0.5237*b,0.1728*c);a.arcTo(0.6689*b,0.5333*c,0,0,0,0.6609*b,0.2352*c);a.arcTo(0.2676*b,0.2133*c,0,0,0,0.7244*b,0.2501*c);a.arcTo(0.0201*b,0.016*c,0,0,0,0.7411*b,0.2475*c);a.lineTo(0.5385*b,0.3408*c);a.arcTo(0.0669*
  1243. b,0.05333*c,0,0,1,0.512*b,0.3397*c);a.arcTo(0.2676*b,0.2133*c,0,0,1,0.4548*b,0.3248*c);a.arcTo(0.6689*b,0.5333*c,0,0,1,0.3084*b,0.2565*c);a.arcTo(0.1672*b,0.1333*c,0,0,1,0.2776*b,0.2304*c);a.arcTo(0.01*b,0.008*c,0,0,1,0.2776*b,0.2197*c);a.close();a.fill();d=mxUtils.getValue(this.state.style,"fillColor","#ffffff");a.setFillColor(d);a.setLineJoin("round");a.setLineCap("round");a.begin();a.moveTo(0.3398*b,0.2421*c);a.lineTo(0.4769*b,0.1797*c);a.lineTo(0.6341*b,0.2512*c);a.lineTo(0.4936*b,0.3147*c);a.fill();
  1244. a.begin();a.moveTo(0.4334*b,0.1941*c);a.lineTo(0.6207*b,0.2811*c);a.moveTo(0.5338*b,0.1995*c);a.lineTo(0.3866*b,0.2688*c);a.moveTo(0.5873*b,0.2235*c);a.lineTo(0.4334*b,0.2955*c);a.stroke();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.begin();a.moveTo(0,0.6517*c);a.lineTo(0,0.0912*c);a.lineTo(0.0368*b,0.0155*c);a.lineTo(0.2047*b,0);a.lineTo(0.3378*b,0.0619*c);a.lineTo(0.3378*b,0.0912*c);a.lineTo(0.3819*b,0.0693*c);a.lineTo(0.6154*b,0.0693*c);a.lineTo(0.8502*b,0.1776*c);a.lineTo(0.8502*b,0.3083*
  1245. c);a.lineTo(0.8682*b,0.3061*c);a.lineTo(b,0.3664*c);a.lineTo(b,0.9099*c);a.lineTo(0.9672*b,0.9861*c);a.lineTo(0.7926*b,c);a.lineTo(0.6629*b,0.9392*c);a.lineTo(0.6629*b,0.9099*c);a.lineTo(0.6167*b,0.9317*c);a.lineTo(0.3813*b,0.9317*c);a.lineTo(0.1478*b,0.8219*c);a.lineTo(0.1478*b,0.7093*c);a.lineTo(0.1365*b,0.7163*c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dRedshift.prototype.cst.REDSHIFT,mxShapeAws3dRedshift);
  1246. function mxShapeAws3dLambda(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dLambda,mxShape);mxShapeAws3dLambda.prototype.cst={LAMBDA:"mxgraph.aws3d.lambda",SHADING_COLORS:"shadingCols"};
  1247. mxShapeAws3dLambda.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));d=Math.min(d*b/92,d*c/109.5);this.background(a,0,0,b,c,d);a.setShadow(!1);this.foreground(a,0,0,b,c,d)};
  1248. mxShapeAws3dLambda.prototype.background=function(a,d,e,b,c,f){a.setStrokeWidth(f);a.save();a.save();a.save();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.1671*c);a.lineTo(0.3424*b,0);a.lineTo(0.663*b,0);a.lineTo(b,0.1671*c);a.lineTo(b,0.8365*c);a.lineTo(0.663*b,c);a.lineTo(0.3424*b,c);a.lineTo(0,0.8365*c);a.close();a.fillAndStroke()};
  1249. mxShapeAws3dLambda.prototype.foreground=function(a,d,e,b,c,f){a.restore();a.setShadow(!1);a.setFillColor("#000000");d=mxUtils.getValue(this.state.style,mxShapeAws3dLambda.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");e=mxUtils.getValue(this.state.style,"flipH","0");"0"==e?a.setAlpha(d[0]):a.setAlpha(d[1]);a.begin();a.moveTo(0,0.3242*c);a.lineTo(0.3424*b,0.4895*c);a.lineTo(0.663*b,0.4895*c);a.lineTo(0.663*b,c);a.lineTo(0.3424*b,c);a.lineTo(0,0.8365*c);a.close();a.moveTo(0*b,0*c);a.lineTo(0*
  1250. b,0*c);a.lineTo(0*b,0*c);a.lineTo(0*b,0*c);a.lineTo(0*b,0*c);a.lineTo(0*b,0*c);a.close();a.moveTo(0*b,0*c);a.lineTo(0*b,0*c);a.lineTo(0*b,0*c);a.lineTo(0*b,0*c);a.lineTo(0*b,0*c);a.lineTo(0*b,0*c);a.close();a.fill();"0"==e?a.setAlpha(d[1]):a.setAlpha(d[0]);a.begin();a.moveTo(0.663*b,0.4895*c);a.lineTo(b,0.3242*c);a.lineTo(b,0.8365*c);a.lineTo(0.663*b,c);a.close();a.fill();a.restore();a.setShadow(!1);a.setLineJoin("round");a.begin();a.moveTo(0,0.3242*c);a.lineTo(0.3424*b,0.4895*c);a.lineTo(0.663*b,
  1251. 0.4895*c);a.lineTo(b,0.3242*c);a.moveTo(0.3424*b,0.4895*c);a.lineTo(0.3424*b,c);a.moveTo(0.663*b,0.4895*c);a.lineTo(0.663*b,c);a.stroke();a.setFillColor("#5E5E5E");a.begin();a.moveTo(0.3804*b,0.1169*c);a.arcTo(0.5435*b,0.4566*c,0,0,1,0.6087*b,0.1123*c);a.arcTo(0.33804*b,0.3196*c,0,0,1,0.725*b,0.1553*c);a.arcTo(0.1304*b,0.1096*c,0,0,1,0.7924*b,0.2402*c);a.arcTo(0.1522*b,0.1279*c,0,0,1,0.725*b,0.3333*c);a.arcTo(0.4416*b,0.274*c,0,0,1,0.6087*b,0.3772*c);a.arcTo(0.5435*b,0.4566*c,0,0,1,0.3804*b,0.3708*
  1252. c);a.arcTo(0.3804*b,0.3196*c,0,0,1,0.2772*b,0.3324*c);a.arcTo(0.1522*b,0.1279*c,0,0,1,0.2163*b,0.2539*c);a.arcTo(0.1522*b,0.1279*c,0,0,1,0.2663*b,0.1644*c);a.arcTo(0.3804*b,0.3196*c,0,0,1,0.3804*b,0.1169*c);a.fill();a.setFillColor("#ffffff");a.begin();a.moveTo(0.5565*b,0.2174*c);a.arcTo(0.0652*b,0.0548*c,0,0,0,0.5837*b,0.1945*c);a.arcTo(0.0326*b,0.0274*c,0,0,0,0.5793*b,0.1671*c);a.arcTo(0.0652*b,0.0548*c,0,0,0,0.525*b,0.1598*c);a.arcTo(0.0652*b,0.0548*c,0,0,1,0.5543*b,0.1443*c);a.arcTo(0.0761*b,0.0639*
  1253. c,0,0,1,0.6163*b,0.1662*c);a.arcTo(0.0598*b,0.0502*c,0,0,1,0.6087*b,0.2091*c);a.lineTo(0.5*b,0.3032*c);a.arcTo(0.0978*b,0.0822*c,0,0,0,0.4728*b,0.3379*c);a.arcTo(0.0272*b,0.0228*c,0,0,0,0.4924*b,0.3571*c);a.arcTo(0.0326*b,0.0274*c,0,0,1,0.4489*b,0.3571*c);a.arcTo(0.038*b,0.032*c,0,0,1,0.437*b,0.3242*c);a.arcTo(0.1087*b,0.0913*c,0,0,1,0.4674*b,0.2886*c);a.lineTo(0.5141*b,0.2557*c);a.lineTo(0.3185*b,0.2895*c);a.lineTo(0.2641*b,0.2648*c);a.close();a.fill();a.setStrokeWidth(2*f);a.setStrokeColor("#292929");
  1254. a.begin();a.moveTo(0,0.1671*c);a.lineTo(0.3424*b,0);a.lineTo(0.663*b,0);a.lineTo(b,0.1671*c);a.lineTo(b,0.8365*c);a.lineTo(0.663*b,c);a.lineTo(0.3424*b,c);a.lineTo(0,0.8365*c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dLambda.prototype.cst.LAMBDA,mxShapeAws3dLambda);function mxShapeAws3dEbs2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAws3dEbs2,mxShape);
  1255. mxShapeAws3dEbs2.prototype.cst={EBS2:"mxgraph.aws3d.ebs2",SHADING_COLORS:"shadingCols"};
  1256. mxShapeAws3dEbs2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.state.style,"strokeWidth","1"));e=d*b/92;d=d*c/60;var f=parseFloat(mxUtils.getValue(this.state.style,"shadow","0"));d=Math.min(e,d);a.setStrokeWidth(d);a.setShadow(!1);a.save();a.save();a.setStrokeWidth(2*d);a.setStrokeColor("#292929");a.setLineJoin("round");1==f&&a.setShadow(!0);a.begin();a.moveTo(0,0.5276*c);a.lineTo(0,0.4188*c);a.lineTo(0.071*b,0.2898*c);a.lineTo(0.4033*b,0);a.lineTo(0.9301*
  1257. b,0.464*c);a.lineTo(b,0.5863*c);a.lineTo(b,0.7035*c);a.lineTo(0.6667*b,c);a.lineTo(0.5355*b,c);a.close();a.fillAndStroke();a.restore();a.setFillColor("#000000");e=mxUtils.getValue(this.state.style,mxShapeAws3dEbs2.prototype.cst.SHADING_COLORS,"0.1,0.3").toString().split(",");f=mxUtils.getValue(this.state.style,"flipH","0");"0"==f?a.setAlpha(e[0]):a.setAlpha(e[1]);a.begin();a.moveTo(0.071*b,0.2948*c);a.lineTo(0.6011*b,0.7621*c);a.lineTo(0.6667*b,c);a.lineTo(0.5355*b,c);a.lineTo(0,0.5276*c);a.lineTo(0,
  1258. 0.4137*c);a.close();a.fill();"0"==f?a.setAlpha(e[1]):a.setAlpha(e[0]);a.begin();a.moveTo(0.6011*b,0.7655*c);a.lineTo(0.9344*b,0.4724*c);a.lineTo(b,0.7035*c);a.lineTo(0.6667*b,c);a.close();a.fill();a.restore();a.setLineJoin("round");a.begin();a.moveTo(0.071*b,0.2948*c);a.lineTo(0.6011*b,0.7621*c);a.lineTo(0.6667*b,c);a.lineTo(0.5355*b,c);a.lineTo(0,0.5276*c);a.lineTo(0,0.4137*c);a.close();a.moveTo(0.6011*b,0.7655*c);a.lineTo(0.9344*b,0.4724*c);a.lineTo(b,0.7035*c);a.lineTo(0.6667*b,c);a.close();a.moveTo(0.0033*
  1259. b,0.5276*c);a.lineTo(0.071*b,0.2898*c);a.moveTo(0.5325*b,0.9976*c);a.lineTo(0.603*b,0.7593*c);a.stroke();a.setStrokeWidth(2*d);a.setLineCap("round");a.begin();a.moveTo(0.3388*b,0.3802*c);a.lineTo(0.5027*b,0.2345*c);a.lineTo(0.6667*b,0.3802*c);a.lineTo(0.5027*b,0.526*c);a.close();a.moveTo(0.4426*b,0.3802*c);a.lineTo(0.5027*b,0.3266*c);a.lineTo(0.5628*b,0.3802*c);a.lineTo(0.5027*b,0.4338*c);a.close();a.moveTo(0.3867*b,0.3284*c);a.lineTo(0.3541*b,0.2998*c);a.moveTo(0.4436*b,0.2748*c);a.lineTo(0.4077*
  1260. b,0.2412*c);a.moveTo(0.5704*b,0.2803*c);a.lineTo(0.5992*b,0.2513*c);a.moveTo(0.6231*b,0.3284*c);a.lineTo(0.6503*b,0.3032*c);a.moveTo(0.622*b,0.4338*c);a.lineTo(0.6557*b,0.4606*c);a.moveTo(0.5667*b,0.4845*c);a.lineTo(0.5992*b,0.5156*c);a.moveTo(0.4414*b,0.4874*c);a.lineTo(0.412*b,0.5159*c);a.moveTo(0.3889*b,0.4405*c);a.lineTo(0.3607*b,0.4657*c);a.stroke();a.setStrokeColor("#292929");a.setLineJoin("round");a.begin();a.moveTo(0,0.5276*c);a.lineTo(0,0.4188*c);a.lineTo(0.071*b,0.2898*c);a.lineTo(0.4033*
  1261. b,0);a.lineTo(0.9301*b,0.464*c);a.lineTo(b,0.5863*c);a.lineTo(b,0.7035*c);a.lineTo(0.6667*b,c);a.lineTo(0.5355*b,c);a.close();a.stroke()};mxCellRenderer.registerShape(mxShapeAws3dEbs2.prototype.cst.EBS2,mxShapeAws3dEbs2);function mxShapeAndroidTabBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidTabBar,mxShape);
  1262. mxShapeAndroidTabBar.prototype.cst={MAIN_TEXT:"mainText",SHAPE_TAB_BAR:"mxgraph.android.tabBar",TEXT_COLOR:"textColor",TEXT_COLOR2:"textColor2",STROKE_COLOR2:"strokeColor2",FILL_COLOR2:"fillColor2",SELECTED:"+",TEXT_SIZE:"textSize"};
  1263. mxShapeAndroidTabBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeAndroidTabBar.prototype.cst.MAIN_TEXT,"+Tab 1, Tab 2, Tab 3").toString().split(","),g=mxUtils.getValue(this.style,mxShapeAndroidTabBar.prototype.cst.TEXT_COLOR,"none"),h=mxUtils.getValue(this.style,mxShapeAndroidTabBar.prototype.cst.TEXT_COLOR2,"none"),k=mxUtils.getValue(this.style,mxShapeAndroidTabBar.prototype.cst.TEXT_SIZE,"17").toString(),l=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,
  1264. "none"),n=mxUtils.getValue(this.style,mxShapeAndroidTabBar.prototype.cst.STROKE_COLOR2,"none"),m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"none"),p=mxUtils.getValue(this.style,mxShapeAndroidTabBar.prototype.cst.FILL_COLOR2,"none"),q=f.length,t=Array(q),s=0,u=-1,r=0;r<q;r++){var v=f[r];v.charAt(0)===mxShapeAndroidTabBar.prototype.cst.SELECTED&&(v=f[r].substring(1),u=r);t[r]=mxUtils.getSizeForString(v,k,mxConstants.DEFAULT_FONTFAMILY).width;s+=t[r]}c=Math.max(c,1.5*k,7);s=10*q+s;b=Math.max(b,
  1265. s);a.translate(d,e);this.background(a,b,c,q,t,5,s,l,n,m,p,u);a.setShadow(!1);a.setFontStyle(mxConstants.FONT_BOLD);for(r=d=0;r<q;r++)r===u?a.setFontColor(h):a.setFontColor(g),d+=5,this.buttonText(a,d,c,f[r],t[r],k,s,b),d=d+t[r]+5};
  1266. mxShapeAndroidTabBar.prototype.background=function(a,d,e,b,c,f,g,h,k,l,n,m){a.begin();a.setStrokeColor(h);a.setFillColor(l);a.rect(0,0,d,e);a.fillAndStroke();a.setStrokeColor(k);a.begin();for(h=1;h<b;h++)if(h!==m&&h!==m+1){for(l=k=0;l<h;l++)k+=c[l]+2*f;k=k*d/g;a.moveTo(k,0.2*e);a.lineTo(k,0.8*e)}a.stroke();b=0;a.setFillColor(n);for(h=0;h<m;h++)b+=c[h]+2*f;b=b*d/g;d=(c[m]+2*f)*d/g;d+=b;a.rect(b,0,d-b,e);a.fill();a.setAlpha(1);a.setFillColor("#33b5e5");a.rect(b,0.9*e,d-b,0.1*e);a.fill()};
  1267. mxShapeAndroidTabBar.prototype.buttonText=function(a,d,e,b,c,f,g,h){b.charAt(0)===mxShapeAndroidTabBar.prototype.cst.SELECTED&&(b=b.substring(1));a.begin();a.setFontSize(f);a.text((d+0.5*c)*h/g,0.5*e,0,0,b,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeAndroidTabBar.prototype.cst.SHAPE_TAB_BAR]=mxShapeAndroidTabBar;
  1268. function mxShapeAndroidPhone(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidPhone,mxShape);mxShapeAndroidPhone.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.roundrect(0,0,b,c,25,25);a.fillAndStroke();a.setShadow(!1);this.foreground(a,d,e,b,c,25)};
  1269. mxShapeAndroidPhone.prototype.foreground=function(a,d,e,b,c,f){a.rect(0.0625*b,0.15*c,0.875*b,0.7*c);a.stroke();a.ellipse(0.4875*b,0.04125*c,0.025*b,0.0125*c);a.stroke();a.roundrect(0.375*b,0.075*c,0.25*b,0.01875*c,0.02*b,0.01*c);a.stroke();a.ellipse(0.4*b,0.875*c,0.2*b,0.1*c);a.stroke();a.roundrect(0.4575*b,0.905*c,0.085*b,0.04375*c,0.00625*c,0.00625*c);a.stroke()};mxCellRenderer.prototype.defaultShapes["mxgraph.android.phone"]=mxShapeAndroidPhone;
  1270. function mxShapeAndroidStatusBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidStatusBar,mxShape);mxShapeAndroidStatusBar.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeAndroidStatusBar.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fill()};
  1271. mxShapeAndroidStatusBar.prototype.foreground=function(a,d,e,b,c){a.rect(0,0,b,c);a.fill();a.setFontColor(mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#222222"));a.setFontSize(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"5"));a.text(b-30,0.5*c+1,0,0,"12:00",mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setFillColor("#444444");a.begin();a.moveTo(b-37,0.5*c+6);a.lineTo(b-37,0.5*c-5);a.lineTo(b-36,0.5*c-5);a.lineTo(b-36,0.5*c-6);a.lineTo(b-32,0.5*c-6);a.lineTo(b-
  1272. 32,0.5*c-5);a.lineTo(b-31,0.5*c-5);a.lineTo(b-31,0.5*c+6);a.close();a.fill();a.setFillColor(mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"none"));a.ellipse(b-56,0.5*c+2,2,2);a.fillAndStroke();a.setStrokeWidth(2);a.begin();a.moveTo(b-52,0.5*c+1);a.arcTo(3.5,3.5,0,0,0,b-58,0.5*c+1);a.stroke();a.begin();a.moveTo(b-50,0.5*c-1);a.arcTo(6,6,0,0,0,b-60,0.5*c-1);a.stroke();a.setStrokeWidth(1);a.rect(b-51,0.5*c+5,2,1);a.fill();a.rect(b-48,0.5*c+2,2,4);a.fill();a.rect(b-45,0.5*c-1,2,7);a.fill();
  1273. a.rect(b-42,0.5*c-4,2,10);a.fill();a.rect(b-37,0.5*c-2,6,8);a.fill()};mxCellRenderer.prototype.defaultShapes["mxgraph.android.statusBar"]=mxShapeAndroidStatusBar;function mxShapeAndroidCheckboxGroup(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidCheckboxGroup,mxShape);mxShapeAndroidCheckboxGroup.prototype.cst={STYLE_TEXTCOLOR2:"textColor2",STYLE_STROKECOLOR2:"strokeColor2",BUTTON_TEXT:"buttonText",SELECTED:"+"};
  1274. mxShapeAndroidCheckboxGroup.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=mxUtils.getValue(this.style,mxConstants.STYLE_TEXTCOLOR,"#666666"),g=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8").toString();d=mxUtils.getValue(this.style,mxShapeAndroidCheckboxGroup.prototype.cst.BUTTON_TEXT,"Option 1").toString().split(",");var h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"none");e=mxUtils.getValue(this.style,mxShapeAndroidCheckboxGroup.prototype.cst.STYLE_STROKECOLOR2,
  1275. "none");a.setStrokeColor(e);e=d.length;var k=Math.max(1.5*g,5),l=0,n=-1,m=e*k;c=Math.max(c,m);for(var p=0;p<e;p++){var q=d[p];q.charAt(0)===mxShapeAndroidCheckboxGroup.prototype.cst.SELECTED&&(q=d[p].substring(1),n=p);q=mxUtils.getSizeForString(q,g,mxConstants.DEFAULT_FONTFAMILY).width;q>l&&(l=q)}b=Math.max(b,5+l+10);a.roundrect(0,0,b,c,2.5,2.5);a.fillAndStroke();a.setShadow(!1);a.setFontSize(g);a.setFontColor(f);a.setStrokeColor(h);for(p=0;p<e;p++)b=(p*k+0.5*k)*c/m,q=d[p],q.charAt(0)===mxShapeAndroidCheckboxGroup.prototype.cst.SELECTED&&
  1276. (q=d[p].substring(1),n=p),a.text(12.5,b,0,0,q,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),b-=2.5,n===p?(a.rect(2.5,b,5,5),a.fillAndStroke(),a.begin(),a.moveTo(3.75,b+2.5),a.lineTo(5,b+3.75),a.lineTo(6.25,b+1.25),a.stroke()):(a.rect(2.5,b,5,5),a.fillAndStroke()),n=-1};mxCellRenderer.prototype.defaultShapes["mxgraph.android.checkboxGroup"]=mxShapeAndroidCheckboxGroup;
  1277. function mxShapeAndroidRadioGroup(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidRadioGroup,mxShape);mxShapeAndroidRadioGroup.prototype.cst={STYLE_TEXTCOLOR2:"textColor2",STYLE_STROKECOLOR2:"strokeColor2",BUTTON_TEXT:"buttonText",SELECTED:"+"};
  1278. mxShapeAndroidRadioGroup.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=mxUtils.getValue(this.style,mxConstants.STYLE_TEXTCOLOR,"#666666"),g=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8").toString();d=mxUtils.getValue(this.style,mxShapeAndroidRadioGroup.prototype.cst.BUTTON_TEXT,"Option 1").toString().split(",");var h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"none");e=mxUtils.getValue(this.style,mxShapeAndroidRadioGroup.prototype.cst.STYLE_STROKECOLOR2,
  1279. "none");a.setStrokeColor(e);e=d.length;var k=Math.max(1.5*g,5),l=0,n=-1,m=e*k;c=Math.max(c,m);for(var p=0;p<e;p++){var q=d[p];q.charAt(0)===mxShapeAndroidRadioGroup.prototype.cst.SELECTED&&(q=d[p].substring(1),n=p);q=mxUtils.getSizeForString(q,g,mxConstants.DEFAULT_FONTFAMILY).width;q>l&&(l=q)}b=Math.max(b,5+l+10);a.roundrect(0,0,b,c,2.5,2.5);a.fillAndStroke();a.setShadow(!1);a.setFontSize(g);a.setFontColor(f);a.setStrokeColor(h);a.setFillColor(h);for(p=0;p<e;p++)b=(p*k+0.5*k)*c/m,q=d[p],q.charAt(0)===
  1280. mxShapeAndroidRadioGroup.prototype.cst.SELECTED&&(q=d[p].substring(1),n=p),a.text(12.5,b,0,0,q,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0),b-=2.5,n===p?(a.ellipse(2.5,b,5,5),a.stroke(),a.ellipse(3.75,b+1.25,2.5,2.5),a.fillAndStroke()):(a.ellipse(2.5,b,5,5),a.stroke())};mxCellRenderer.prototype.defaultShapes["mxgraph.android.radioGroup"]=mxShapeAndroidRadioGroup;
  1281. function mxShapeAndroidMenuBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidMenuBar,mxShape);mxShapeAndroidMenuBar.prototype.cst={MENU_TEXT:"menuText"};
  1282. mxShapeAndroidMenuBar.prototype.paintVertexShape=function(a,d,e,b,c){for(var f=mxUtils.getValue(this.style,mxShapeAndroidMenuBar.prototype.cst.MENU_TEXT,"Item 1, Item 2, Item 3").toString().split(","),g=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"12"),h=f.length,k=0,l=0;l<h;l++){var n=mxUtils.getSizeForString(f[l],g,mxConstants.DEFAULT_FONTFAMILY).width;n>k&&(k=n)}var g=1.5*g,m=h*g;c=Math.max(c,m);Math.max(b,5+k);a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();
  1283. for(l=1;l<h;l++)d=l*g*c/m,a.moveTo(0,d),a.lineTo(b,d);a.stroke();for(l=0;l<h;l++)n+=2.5,d=(l*g+0.5*g)*c/m,a.text(10,d,0,0,f[l],mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes["mxgraph.android.menuBar"]=mxShapeAndroidMenuBar;function mxShapeAndroidTextSelHandles(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidTextSelHandles,mxShape);
  1284. mxShapeAndroidTextSelHandles.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"none");a.translate(d,e);d=Math.max(0,c-22.5);a.setAlpha(0.5);a.rect(15,0,b-30,d);a.fill();a.begin();a.moveTo(0,c-15);a.lineTo(7.5,c-22.5);a.lineTo(15,c-15);a.close();a.moveTo(b-15,c-15);a.lineTo(b-7.5,c-22.5);a.lineTo(b,c-15);a.close();a.fill();a.setFillColor(f);a.rect(0,c-15,15,15);a.fill();a.rect(b-15,c-15,15,15);a.fill()};
  1285. mxCellRenderer.prototype.defaultShapes["mxgraph.android.textSelHandles"]=mxShapeAndroidTextSelHandles;function mxShapeAndroidIndeterminateSpinner(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidIndeterminateSpinner,mxShape);mxShapeAndroidIndeterminateSpinner.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1286. mxShapeAndroidIndeterminateSpinner.prototype.background=function(a,d,e,b,c){a.setGradient("#aaaaaa","#dddddd",0.325*b,0,0.675*b,0.5*c,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(0.5*b,0.1*c);a.arcTo(0.4*b,0.4*c,0,0,0,0.5*b,0.9*c);a.lineTo(0.5*b,c);a.arcTo(0.5*b,0.5*c,0,0,1,0.5*b,0);a.close();a.fill();a.setGradient("#ffffff","#dddddd",0.325*b,0,0.675*b,0.5*c,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(0.5*b,0.1*c);a.arcTo(0.4*b,0.4*c,0,0,1,0.5*b,0.9*c);a.lineTo(0.5*b,c);a.arcTo(0.5*
  1287. b,0.5*c,0,0,0,0.5*b,0);a.close();a.fill()};mxCellRenderer.prototype.defaultShapes["mxgraph.android.indeterminateSpinner"]=mxShapeAndroidIndeterminateSpinner;function mxShapeAndroidAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeAndroidAnchor,mxShape);mxShapeAndroidAnchor.prototype.cst={ANCHOR:"mxgraph.android.anchor"};mxShapeAndroidAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeAndroidAnchor.prototype.cst.ANCHOR,mxShapeAndroidAnchor);
  1288. function mxShapeAndroidRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidRRect,mxShape);mxShapeAndroidRRect.prototype.cst={RRECT:"mxgraph.android.rrect",R_SIZE:"rSize"};mxShapeAndroidRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeAndroidRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};
  1289. mxCellRenderer.registerShape(mxShapeAndroidRRect.prototype.cst.RRECT,mxShapeAndroidRRect);function mxShapeAndroidCheckbox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidCheckbox,mxShape);mxShapeAndroidCheckbox.prototype.cst={CHECKBOX:"mxgraph.android.checkbox"};
  1290. mxShapeAndroidCheckbox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.begin();a.moveTo(0.8*b,0.2*c);a.lineTo(0.4*b,0.8*c);a.lineTo(0.25*b,0.6*c);a.stroke()};mxCellRenderer.registerShape(mxShapeAndroidCheckbox.prototype.cst.CHECKBOX,mxShapeAndroidCheckbox);function mxShapeAndroidProgressBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx1=0.8;this.dx2=0.6}
  1291. mxUtils.extend(mxShapeAndroidProgressBar,mxShape);mxShapeAndroidProgressBar.prototype.cst={PROGRESS_BAR:"mxgraph.android.progressBar"};
  1292. mxShapeAndroidProgressBar.prototype.paintVertexShape=function(a,d,e,b,c){var f=b*Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1)))),g=b*Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx2",this.dx2))));a.translate(d,e);a.save();a.save();a.setStrokeColor("#444444");a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke();a.restore();a.setShadow(!1);a.begin();a.moveTo(0,0.5*c);a.lineTo(f,0.5*c);a.stroke();a.setStrokeColor("#000000");a.setAlpha("0.2");a.begin();
  1293. a.moveTo(0,0.5*c);a.lineTo(f,0.5*c);a.stroke();a.restore();a.setShadow(!1);a.begin();a.moveTo(0,0.5*c);a.lineTo(g,0.5*c);a.stroke()};mxCellRenderer.registerShape(mxShapeAndroidProgressBar.prototype.cst.PROGRESS_BAR,mxShapeAndroidProgressBar);mxShapeAndroidProgressBar.prototype.constraints=null;
  1294. Graph.handleFactory[mxShapeAndroidProgressBar.prototype.cst.PROGRESS_BAR]=function(a){var d=[Graph.createHandle(a,["dx1"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1))));return new mxPoint(a.x+b*a.width,a.y+a.height/2)},function(a,b){this.state.style.dx1=Math.round(100*Math.max(0,Math.min(1,(b.x-a.x)/a.width)))/100})];a=Graph.createHandle(a,["dx2"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx1))));
  1295. return new mxPoint(a.x+b*a.width,a.y+a.height/2)},function(a,b){this.state.style.dx2=Math.round(100*Math.max(0,Math.min(1,(b.x-a.x)/a.width)))/100});d.push(a);return d};function mxShapeAndroidProgressScrubberDisabled(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=0.3}mxUtils.extend(mxShapeAndroidProgressScrubberDisabled,mxShape);mxShapeAndroidProgressScrubberDisabled.prototype.cst={PROGRESS_SCRUBBER_DISABLED:"mxgraph.android.progressScrubberDisabled"};
  1296. mxShapeAndroidProgressScrubberDisabled.prototype.paintVertexShape=function(a,d,e,b,c){var f=b*Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));a.translate(d,e);a.save();a.save();a.setStrokeColor("#444444");a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke();a.restore();a.setShadow(!1);a.setAlpha("0.5");a.setFillColor("#666666");a.begin();d=Math.min(c,0.1*b)/2;a.ellipse(f-d,0.5*c-d,2*d,2*d);a.fill();a.restore();a.setShadow(!1);a.begin();d=Math.min(c,0.1*b)/8;a.ellipse(f-
  1297. d,0.5*c-d,2*d,2*d);a.fill()};mxCellRenderer.registerShape(mxShapeAndroidProgressScrubberDisabled.prototype.cst.PROGRESS_SCRUBBER_DISABLED,mxShapeAndroidProgressScrubberDisabled);mxShapeAndroidProgressScrubberDisabled.prototype.constraints=null;
  1298. Graph.handleFactory[mxShapeAndroidProgressScrubberDisabled.prototype.cst.PROGRESS_SCRUBBER_DISABLED]=function(a){return[Graph.createHandle(a,["dx"],function(a){var e=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx))));return new mxPoint(a.x+e*a.width,a.y+a.height/2)},function(a,e){this.state.style.dx=Math.round(100*Math.max(0,Math.min(1,(e.x-a.x)/a.width)))/100})]};
  1299. function mxShapeAndroidProgressScrubberFocused(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=0.3}mxUtils.extend(mxShapeAndroidProgressScrubberFocused,mxShape);mxShapeAndroidProgressScrubberFocused.prototype.cst={PROGRESS_SCRUBBER_FOCUSED:"mxgraph.android.progressScrubberFocused"};
  1300. mxShapeAndroidProgressScrubberFocused.prototype.paintVertexShape=function(a,d,e,b,c){var f=b*Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),g=mxUtils.getValue(this.style,"fillColor","#ffffff");a.translate(d,e);a.save();a.save();a.setStrokeColor("#444444");a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke();a.restore();a.setShadow(!1);a.setAlpha("0.75");a.begin();d=Math.min(c,0.1*b)/2;a.ellipse(f-d,0.5*c-d,2*d,2*d);a.fill();a.restore();a.setShadow(!1);a.setStrokeColor(g);
  1301. a.begin();a.moveTo(0,0.5*c);a.lineTo(f,0.5*c);a.stroke();a.begin();d=Math.min(c,0.1*b)/8;a.ellipse(f-d,0.5*c-d,2*d,2*d);a.fill()};mxCellRenderer.registerShape(mxShapeAndroidProgressScrubberFocused.prototype.cst.PROGRESS_SCRUBBER_FOCUSED,mxShapeAndroidProgressScrubberFocused);mxShapeAndroidProgressScrubberFocused.prototype.constraints=null;
  1302. Graph.handleFactory[mxShapeAndroidProgressScrubberFocused.prototype.cst.PROGRESS_SCRUBBER_FOCUSED]=function(a){return[Graph.createHandle(a,["dx"],function(a){var e=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx))));return new mxPoint(a.x+e*a.width,a.y+a.height/2)},function(a,e){this.state.style.dx=Math.round(100*Math.max(0,Math.min(1,(e.x-a.x)/a.width)))/100})]};
  1303. function mxShapeAndroidProgressScrubberPressed(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=0.3}mxUtils.extend(mxShapeAndroidProgressScrubberPressed,mxShape);mxShapeAndroidProgressScrubberPressed.prototype.cst={PROGRESS_SCRUBBER_PRESSED:"mxgraph.android.progressScrubberPressed"};
  1304. mxShapeAndroidProgressScrubberPressed.prototype.paintVertexShape=function(a,d,e,b,c){var f=b*Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),g=mxUtils.getValue(this.style,"fillColor","#ffffff");a.translate(d,e);a.save();a.save();a.setStrokeColor("#444444");a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke();a.restore();a.setShadow(!1);a.setStrokeColor(g);a.setAlpha("0.5");a.begin();d=Math.min(c,0.1*b)/2;a.ellipse(f-d,0.5*c-d,2*d,2*d);a.fillAndStroke();a.restore();
  1305. a.setShadow(!1);a.setStrokeColor(g);a.begin();a.moveTo(0,0.5*c);a.lineTo(f,0.5*c);a.stroke();a.begin();d=Math.min(c,0.1*b)/8;a.ellipse(f-d,0.5*c-d,2*d,2*d);a.fill()};mxCellRenderer.registerShape(mxShapeAndroidProgressScrubberPressed.prototype.cst.PROGRESS_SCRUBBER_PRESSED,mxShapeAndroidProgressScrubberPressed);mxShapeAndroidProgressScrubberPressed.prototype.constraints=null;
  1306. Graph.handleFactory[mxShapeAndroidProgressScrubberPressed.prototype.cst.PROGRESS_SCRUBBER_PRESSED]=function(a){return[Graph.createHandle(a,["dx"],function(a){var e=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx))));return new mxPoint(a.x+e*a.width,a.y+a.height/2)},function(a,e){this.state.style.dx=Math.round(100*Math.max(0,Math.min(1,(e.x-a.x)/a.width)))/100})]};
  1307. function mxShapeAndroidQuickscroll2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dy=0.5}mxUtils.extend(mxShapeAndroidQuickscroll2,mxShape);mxShapeAndroidQuickscroll2.prototype.cst={QUICKSCROLL:"mxgraph.android.quickscroll2"};
  1308. mxShapeAndroidQuickscroll2.prototype.paintVertexShape=function(a,d,e,b,c){var f=Math.min(c-20,Math.max(20,c*Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))))));mxUtils.getValue(this.style,"fillColor","#ffffff");a.translate(d,e);a.save();a.save();a.setStrokeColor("#cccccc");a.begin();a.moveTo(b-3,0);a.lineTo(b-3,c);a.stroke();a.restore();a.begin();a.roundrect(b-6,f-10,6,20,1,1);a.fillAndStroke();a.setFillColor("#cccccc");a.begin();a.rect(0,f-20,b-18,40);a.fill();a.setFillColor("#666666");
  1309. a.begin();a.moveTo(b-18,f-20);a.lineTo(b-6,f);a.lineTo(b-18,f+20);a.close();a.fill();a.setFontSize("12");a.text(0.5*(b-18),f,0,0,"Aa",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.registerShape(mxShapeAndroidQuickscroll2.prototype.cst.QUICKSCROLL,mxShapeAndroidQuickscroll2);mxShapeAndroidQuickscroll2.prototype.constraints=null;
  1310. Graph.handleFactory[mxShapeAndroidQuickscroll2.prototype.cst.QUICKSCROLL]=function(a){return[Graph.createHandle(a,["dy"],function(a){var e=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-3,a.y+Math.min(a.height-20,Math.max(20,e*a.height)))},function(a,e){this.state.style.dy=Math.round(1E3*Math.max(0,Math.min(1,(e.y-a.y)/a.height)))/1E3})]};
  1311. function mxShapeAndroidQuickscroll3(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dy=0.5}mxUtils.extend(mxShapeAndroidQuickscroll3,mxShape);mxShapeAndroidQuickscroll3.prototype.cst={QUICKSCROLL:"mxgraph.android.quickscroll3"};
  1312. mxShapeAndroidQuickscroll3.prototype.paintVertexShape=function(a,d,e,b,c){var f=Math.min(c-10,Math.max(10,c*Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))))));mxUtils.getValue(this.style,"fillColor","#ffffff");a.translate(d,e);a.save();a.setStrokeColor("#cccccc");a.begin();a.moveTo(0.5*b,0);a.lineTo(0.5*b,c);a.stroke();a.restore();a.begin();a.roundrect(0.5*b-3,f-10,6,20,1,1);a.fillAndStroke()};
  1313. mxCellRenderer.registerShape(mxShapeAndroidQuickscroll3.prototype.cst.QUICKSCROLL,mxShapeAndroidQuickscroll3);mxShapeAndroidQuickscroll3.prototype.constraints=null;
  1314. Graph.handleFactory[mxShapeAndroidQuickscroll3.prototype.cst.QUICKSCROLL]=function(a){return[Graph.createHandle(a,["dy"],function(a){var e=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+0.5*a.width,a.y+Math.min(a.height-10,Math.max(10,e*a.height)))},function(a,e){this.state.style.dy=Math.round(1E3*Math.max(0,Math.min(1,(e.y-a.y)/a.height)))/1E3})]};
  1315. function mxShapeAndroidScrollbars2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidScrollbars2,mxShape);mxShapeAndroidScrollbars2.prototype.cst={SCROLLBARS:"mxgraph.android.scrollbars2"};mxShapeAndroidScrollbars2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.rect(b-5,0,5,c-7);a.fillAndStroke();a.begin();a.rect(0,c-5,b-7,5);a.fillAndStroke()};
  1316. mxCellRenderer.registerShape(mxShapeAndroidScrollbars2.prototype.cst.SCROLLBARS,mxShapeAndroidScrollbars2);mxShapeAndroidScrollbars2.prototype.constraints=null;function mxShapeAndroidSpinner2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeAndroidSpinner2,mxShape);mxShapeAndroidSpinner2.prototype.cst={SPINNER:"mxgraph.android.spinner2"};
  1317. mxShapeAndroidSpinner2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,c);a.lineTo(b,c);a.stroke();d=Math.min(b/10,c);a.begin();a.moveTo(b-d,c);a.lineTo(b,c-d);a.lineTo(b,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeAndroidSpinner2.prototype.cst.SPINNER,mxShapeAndroidSpinner2);mxShapeAndroidSpinner2.prototype.constraints=null;
  1318. function mxArchiMateLocation(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMateLocation,mxShape);mxArchiMateLocation.prototype.cst={LOCATION:"mxgraph.archimate.location"};mxArchiMateLocation.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-20,5);this.foreground(a,b-20,5,15,15)};
  1319. mxArchiMateLocation.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};mxArchiMateLocation.prototype.foreground=function(a,d,e,b,c){a.setDashed(!1);a.translate(3,0);b-=6;a.begin();a.moveTo(0.5*b,c);a.arcTo(0.1775*b,0.3*c,0,0,0,0.345*b,0.7*c);a.arcTo(0.538*b,0.364*c,0,0,1,0.5*b,0);a.arcTo(0.538*b,0.364*c,0,0,1,0.655*b,0.7*c);a.arcTo(0.1775*b,0.3*c,0,0,0,0.5*b,c);a.stroke()};mxCellRenderer.registerShape(mxArchiMateLocation.prototype.cst.LOCATION,mxArchiMateLocation);
  1320. function mxArchiMateBusiness(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMateBusiness,mxShape);mxArchiMateBusiness.prototype.cst={BUSINESS:"mxgraph.archimate.business",TYPE:"busType",PROCESS:"process",FUNCTION:"function",INTERACTION:"interaction",EVENT:"event",SERVICE:"service"};
  1321. mxArchiMateBusiness.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-20,5);this.foreground(a,b-20,5,15,15)};mxArchiMateBusiness.prototype.background=function(a,d,e,b,c){a.roundrect(0,0,b,c,10,10);a.fillAndStroke()};
  1322. mxArchiMateBusiness.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxArchiMateBusiness.prototype.cst.TYPE,mxArchiMateBusiness.prototype.cst.PROCESS);a.setDashed(!1);d===mxArchiMateBusiness.prototype.cst.PROCESS?(a.translate(0,2),c-=4,a.begin(),a.moveTo(0,0.15*c),a.lineTo(0.65*b,0.15*c),a.lineTo(0.65*b,0),a.lineTo(b,0.5*c),a.lineTo(0.65*b,c),a.lineTo(0.65*b,0.85*c),a.lineTo(0,0.85*c),a.close(),a.stroke()):d===mxArchiMateBusiness.prototype.cst.FUNCTION?(a.translate(2,0),b-=4,
  1323. a.begin(),a.moveTo(0,0.15*c),a.lineTo(0.5*b,0),a.lineTo(b,0.15*c),a.lineTo(b,c),a.lineTo(0.5*b,0.85*c),a.lineTo(0,c),a.close(),a.stroke()):d===mxArchiMateBusiness.prototype.cst.INTERACTION?(a.begin(),a.moveTo(0.55*b,0),a.arcTo(0.45*b,0.5*c,0,0,1,0.55*b,c),a.close(),a.moveTo(0.45*b,0),a.arcTo(0.45*b,0.5*c,0,0,0,0.45*b,c),a.close(),a.stroke()):d===mxArchiMateBusiness.prototype.cst.EVENT?(a.translate(0,3),c-=6,a.begin(),a.moveTo(b-0.5*c,0),a.arcTo(0.5*c,0.5*c,0,0,1,b-0.5*c,c),a.lineTo(0,c),a.arcTo(0.5*
  1324. c,0.5*c,0,0,0,0,0),a.close(),a.stroke()):d===mxArchiMateBusiness.prototype.cst.SERVICE&&(a.translate(0,3),c-=6,a.begin(),a.moveTo(b-0.5*c,0),a.arcTo(0.5*c,0.5*c,0,0,1,b-0.5*c,c),a.lineTo(0,c),a.arcTo(0.5*c,0.5*c,0,0,1,0,0),a.close(),a.stroke())};mxCellRenderer.registerShape(mxArchiMateBusiness.prototype.cst.BUSINESS,mxArchiMateBusiness);function mxArchiMateBusinessObject(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1325. mxUtils.extend(mxArchiMateBusinessObject,mxShape);mxArchiMateBusinessObject.prototype.cst={BUSINESS_OBJECT:"mxgraph.archimate.businessObject"};mxArchiMateBusinessObject.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);this.foreground(a,0,0,b,c)};mxArchiMateBusinessObject.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};
  1326. mxArchiMateBusinessObject.prototype.foreground=function(a,d,e,b,c){15<=c&&(a.begin(),a.moveTo(0,15),a.lineTo(b,15),a.stroke())};mxCellRenderer.registerShape(mxArchiMateBusinessObject.prototype.cst.BUSINESS_OBJECT,mxArchiMateBusinessObject);function mxArchiMateRepresentation(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMateRepresentation,mxShape);mxArchiMateRepresentation.prototype.cst={REPRESENTATION:"mxgraph.archimate.representation"};
  1327. mxArchiMateRepresentation.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c)};mxArchiMateRepresentation.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,0,0.5*b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,1,0,0.85*c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMateRepresentation.prototype.cst.REPRESENTATION,mxArchiMateRepresentation);
  1328. function mxArchiMateProduct(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMateProduct,mxShape);mxArchiMateProduct.prototype.cst={PRODUCT:"mxgraph.archimate.product"};mxArchiMateProduct.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);this.foreground(a,0,0,b,c)};mxArchiMateProduct.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};
  1329. mxArchiMateProduct.prototype.foreground=function(a,d,e,b,c){15<=c&&(a.begin(),a.moveTo(0,15),a.lineTo(0.6*b,15),a.lineTo(0.6*b,0),a.stroke())};mxCellRenderer.registerShape(mxArchiMateProduct.prototype.cst.PRODUCT,mxArchiMateProduct);function mxArchiMateApplication(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMateApplication,mxShape);
  1330. mxArchiMateApplication.prototype.cst={APPLICATION:"mxgraph.archimate.application",TYPE:"appType",COMPONENT:"comp",COLLABORATION:"collab",INTERFACE:"interface",INTERFACE2:"interface2",FUNCTION:"function",INTERACTION:"interaction",SERVICE:"service",NODE:"node",NETWORK:"network",COMM_PATH:"commPath",SYS_SW:"sysSw",ARTIFACT:"artifact",ACTOR:"actor",ROLE:"role",COLLABORATION:"collab"};
  1331. mxArchiMateApplication.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-20,5);this.foreground(a,b-20,5,15,15)};mxArchiMateApplication.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};
  1332. mxArchiMateApplication.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxArchiMateApplication.prototype.cst.TYPE,mxArchiMateApplication.prototype.cst.COMPONENT);a.setDashed(!1);d===mxArchiMateApplication.prototype.cst.COMPONENT?(a.translate(1,0),b-=2,a.rect(0.25*b,0,0.75*b,c),a.stroke(),a.rect(0,0.25*c,0.5*b,0.15*c),a.fillAndStroke(),a.rect(0,0.6*c,0.5*b,0.15*c),a.fillAndStroke()):d===mxArchiMateApplication.prototype.cst.COLLABORATION?(a.translate(0,3),c-=6,a.ellipse(0,0,0.6*
  1333. b,c),a.stroke(),a.ellipse(0.4*b,0,0.6*b,c),a.fillAndStroke()):d===mxArchiMateApplication.prototype.cst.INTERFACE?(a.translate(0,4),c-=8,a.ellipse(0.5*b,0,0.5*b,c),a.stroke(),a.begin(),a.moveTo(0,0.5*c),a.lineTo(0.5*b,0.5*c),a.stroke()):d===mxArchiMateApplication.prototype.cst.INTERFACE2?(a.translate(0,1),c-=2,a.begin(),a.moveTo(0,0.5*c),a.lineTo(0.6*b,0.5*c),a.moveTo(b,0),a.arcTo(0.4*b,0.5*c,0,0,0,b,c),a.stroke()):d===mxArchiMateApplication.prototype.cst.FUNCTION?(a.begin(),a.moveTo(0.5*b,0),a.lineTo(b,
  1334. 0.2*c),a.lineTo(b,c),a.lineTo(0.5*b,0.8*c),a.lineTo(0,c),a.lineTo(0,0.2*c),a.close(),a.stroke()):d===mxArchiMateApplication.prototype.cst.INTERACTION?(a.begin(),a.moveTo(0.55*b,0),a.arcTo(0.45*b,0.5*c,0,0,1,0.55*b,c),a.close(),a.moveTo(0.45*b,0),a.arcTo(0.45*b,0.5*c,0,0,0,0.45*b,c),a.close(),a.stroke()):d===mxArchiMateApplication.prototype.cst.SERVICE?(a.translate(0,3),c-=6,a.begin(),a.moveTo(b-0.5*c,0),a.arcTo(0.5*c,0.5*c,0,0,1,b-0.5*c,c),a.lineTo(0,c),a.arcTo(0.5*c,0.5*c,0,0,1,0,0),a.close(),a.stroke()):
  1335. d===mxArchiMateApplication.prototype.cst.NODE?(a.begin(),a.moveTo(0,0.25*c),a.lineTo(0.25*b,0),a.lineTo(b,0),a.lineTo(b,0.75*c),a.lineTo(0.75*b,c),a.lineTo(0,c),a.close(),a.moveTo(0,0.25*c),a.lineTo(0.75*b,0.25*c),a.lineTo(0.75*b,c),a.moveTo(b,0),a.lineTo(0.75*b,0.25*c),a.stroke()):d===mxArchiMateApplication.prototype.cst.NETWORK?(a.translate(0,2),c-=4,a.begin(),a.moveTo(0.4*b,0.2*c),a.lineTo(0.85*b,0.2*c),a.lineTo(0.6*b,0.8*c),a.lineTo(0.15*b,0.8*c),a.close(),a.stroke(),e=mxUtils.getValue(this.style,
  1336. mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(e),a.ellipse(0.25*b,0,0.3*b,0.4*c),a.fill(),a.ellipse(0.7*b,0,0.3*b,0.4*c),a.fill(),a.ellipse(0,0.6*c,0.3*b,0.4*c),a.fill(),a.ellipse(0.45*b,0.6*c,0.3*b,0.4*c),a.fill()):d===mxArchiMateApplication.prototype.cst.COMM_PATH?(a.translate(0,5),c-=10,a.begin(),a.moveTo(0.1*b,0),a.lineTo(0,0.5*c),a.lineTo(0.1*b,c),a.moveTo(0.9*b,0),a.lineTo(b,0.5*c),a.lineTo(0.9*b,c),a.stroke(),a.setDashed(!0),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):
  1337. d===mxArchiMateApplication.prototype.cst.SYS_SW?(a.ellipse(0.3*b,0,0.7*b,0.7*c),a.stroke(),a.ellipse(0,0.02*c,0.98*b,0.98*c),a.fillAndStroke()):d===mxArchiMateApplication.prototype.cst.ARTIFACT?(a.translate(2,0),b-=4,a.begin(),a.moveTo(0,0),a.lineTo(0.7*b,0),a.lineTo(b,0.22*c),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.moveTo(0.7*b,0),a.lineTo(0.7*b,0.22*c),a.lineTo(b,0.22*c),a.stroke()):d===mxArchiMateApplication.prototype.cst.ACTOR&&(a.translate(3,0),b-=6,a.ellipse(0.2*b,0,0.6*b,0.3*c),a.stroke(),
  1338. a.begin(),a.moveTo(0.5*b,0.3*c),a.lineTo(0.5*b,0.75*c),a.moveTo(0,0.45*c),a.lineTo(b,0.45*c),a.moveTo(0,c),a.lineTo(0.5*b,0.75*c),a.lineTo(b,c),a.stroke());d===mxArchiMateApplication.prototype.cst.ROLE&&(a.translate(0,4),c-=8,a.begin(),a.moveTo(0.8*b,0),a.lineTo(0.2*b,0),a.arcTo(0.2*b,0.5*c,0,0,0,0.2*b,c),a.lineTo(0.8*b,c),a.stroke(),a.ellipse(0.6*b,0,0.4*b,c),a.stroke())};mxCellRenderer.registerShape(mxArchiMateApplication.prototype.cst.APPLICATION,mxArchiMateApplication);
  1339. function mxArchiMateTech(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMateTech,mxShape);mxArchiMateTech.prototype.cst={TECH:"mxgraph.archimate.tech",TYPE:"techType",DEVICE:"device",PLATEAU:"plateau"};mxArchiMateTech.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-30,15);this.foreground(a,b-30,15,15,15)};
  1340. mxArchiMateTech.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,10);a.lineTo(10,0);a.lineTo(b,0);a.lineTo(b,c-10);a.lineTo(b-10,c);a.lineTo(0,c);a.close();a.moveTo(0,10);a.lineTo(b-10,10);a.lineTo(b-10,c);a.moveTo(b,0);a.lineTo(b-10,10);a.fillAndStroke()};
  1341. mxArchiMateTech.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxArchiMateTech.prototype.cst.TYPE,mxArchiMateTech.prototype.cst.DEVICE);a.setDashed(!1);d===mxArchiMateTech.prototype.cst.DEVICE?(a.roundrect(0,0,b,0.88*c,0.05*b,0.05*c),a.stroke(),a.begin(),a.moveTo(0.1*b,0.88*c),a.lineTo(0,c),a.lineTo(b,c),a.lineTo(0.9*b,0.88*c),a.stroke()):d===mxArchiMateTech.prototype.cst.PLATEAU&&(d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),a.rect(0.4*
  1342. b,0,0.6*b,0.2*c),a.fill(),a.rect(0.2*b,0.4*c,0.6*b,0.2*c),a.fill(),a.rect(0,0.8*c,0.6*b,0.2*c),a.fill())};mxCellRenderer.registerShape(mxArchiMateTech.prototype.cst.TECH,mxArchiMateTech);function mxArchiMateMotivational(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMateMotivational,mxShape);
  1343. mxArchiMateMotivational.prototype.cst={MOTIV:"mxgraph.archimate.motiv",TYPE:"motivType",STAKE:"stake",DRIVER:"driver",ASSESSMENT:"assess",GOAL:"goal",REQUIREMENT:"req",CONSTRAINT:"const",PRINCIPLE:"princ"};mxArchiMateMotivational.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-20,5);this.foreground(a,b-20,5,15,15)};
  1344. mxArchiMateMotivational.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(10,0);a.lineTo(b-10,0);a.lineTo(b,10);a.lineTo(b,c-10);a.lineTo(b-10,c);a.lineTo(10,c);a.lineTo(0,c-10);a.lineTo(0,10);a.close();a.fillAndStroke()};
  1345. mxArchiMateMotivational.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxArchiMateMotivational.prototype.cst.TYPE,mxArchiMateMotivational.prototype.cst.STAKE);a.setDashed(!1);d===mxArchiMateMotivational.prototype.cst.STAKE?(a.translate(0,4),c-=8,a.begin(),a.moveTo(0.8*b,0),a.lineTo(0.2*b,0),a.arcTo(0.2*b,0.5*c,0,0,0,0.2*b,c),a.lineTo(0.8*b,c),a.stroke(),a.ellipse(0.6*b,0,0.4*b,c),a.stroke()):d===mxArchiMateMotivational.prototype.cst.DRIVER?(a.ellipse(0.1*b,0.1*c,0.8*b,0.8*
  1346. c),a.stroke(),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.moveTo(0.5*b,0),a.lineTo(0.5*b,c),a.moveTo(0.145*b,0.145*c),a.lineTo(0.855*b,0.855*c),a.moveTo(0.145*b,0.855*c),a.lineTo(0.855*b,0.145*c),a.stroke(),d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),a.ellipse(0.35*b,0.35*c,0.3*b,0.3*c),a.fillAndStroke()):d===mxArchiMateMotivational.prototype.cst.ASSESSMENT?(a.ellipse(0.2*b,0,0.8*b,0.8*c),a.stroke(),a.begin(),a.moveTo(0,c),a.lineTo(0.32*b,0.68*c),a.stroke()):
  1347. d===mxArchiMateMotivational.prototype.cst.GOAL?(a.ellipse(0,0,b,c),a.stroke(),a.ellipse(0.15*b,0.15*c,0.7*b,0.7*c),a.stroke(),d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),a.ellipse(0.3*b,0.3*c,0.4*b,0.4*c),a.fillAndStroke()):d===mxArchiMateMotivational.prototype.cst.REQUIREMENT?(a.translate(0,4),c-=8,a.begin(),a.moveTo(0.25*b,0),a.lineTo(b,0),a.lineTo(0.75*b,c),a.lineTo(0,c),a.close(),a.stroke()):d===mxArchiMateMotivational.prototype.cst.CONSTRAINT?(a.translate(0,
  1348. 4),c-=8,a.begin(),a.moveTo(0.25*b,0),a.lineTo(b,0),a.lineTo(0.75*b,c),a.lineTo(0,c),a.close(),a.moveTo(0.45*b,0),a.lineTo(0.2*b,c),a.stroke()):d===mxArchiMateMotivational.prototype.cst.PRINCIPLE&&(a.begin(),a.moveTo(0.05*b,0.05*c),a.arcTo(2.3*b,2.3*c,0,0,1,0.95*b,0.05*c),a.arcTo(2.3*b,2.3*c,0,0,1,0.95*b,0.95*c),a.arcTo(2.3*b,2.3*c,0,0,1,0.05*b,0.95*c),a.arcTo(2.3*b,2.3*c,0,0,1,0.05*b,0.05*c),a.close(),a.stroke(),d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),
  1349. a.begin(),a.moveTo(0.45*b,0.7*c),a.lineTo(0.42*b,0.15*c),a.lineTo(0.58*b,0.15*c),a.lineTo(0.55*b,0.7*c),a.close(),a.fill(),a.rect(0.45*b,0.75*c,0.1*b,0.1*c),a.fill())};mxCellRenderer.registerShape(mxArchiMateMotivational.prototype.cst.MOTIV,mxArchiMateMotivational);function mxArchiMateGap(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMateGap,mxShape);mxArchiMateGap.prototype.cst={GAP:"mxgraph.archimate.gap"};
  1350. mxArchiMateGap.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-20,5);this.foreground(a,b-20,5,15,15)};mxArchiMateGap.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,0,0.5*b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,1,0,0.85*c);a.close();a.fillAndStroke()};
  1351. mxArchiMateGap.prototype.foreground=function(a,d,e,b,c){a.setDashed(!1);a.translate(0,2);c-=4;a.ellipse(0.15*b,0,0.7*b,c);a.stroke();a.begin();a.moveTo(0,0.35*c);a.lineTo(b,0.35*c);a.moveTo(0,0.65*c);a.lineTo(b,0.65*c);a.stroke()};mxCellRenderer.registerShape(mxArchiMateGap.prototype.cst.GAP,mxArchiMateGap);function mxArchiMate3Application(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Application,mxShape);
  1352. mxArchiMate3Application.prototype.cst={APPLICATION:"mxgraph.archimate3.application",TYPE:"appType",COMPONENT:"comp",COLLABORATION:"collab",INTERFACE:"interface",INTERFACE2:"interface2",FUNCTION:"func",INTERACTION:"interaction",SERVICE:"serv",EVENT:"event",EVENT2:"event2",NODE:"node",NETWORK:"netw",COMM_PATH:"commPath",SYS_SW:"sysSw",ARTIFACT:"artifact",ACTOR:"actor",ASSESSMENT:"assess",GOAL:"goal",OUTCOME:"outcome",ROLE:"role",PROCESS:"proc",DRIVER:"driver",PRINCIPLE:"principle",REQUIREMENT:"requirement",
  1353. CONSTRAINT:"constraint",RESOURCE:"resource",CAPABILITY:"capability",COURSE:"course",MATERIAL:"material",DISTRIBUTION:"distribution",SYS_SW:"sysSw",ARTIFACT:"artifact",PATH:"path",ARCHI_TYPE:"archiType",TYPE_SQUARE:"square",TYPE_ROUNDED:"rounded",TYPE_OCT:"oct"};mxArchiMate3Application.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-20,5);this.foreground(a,b-20,5,15,15)};
  1354. mxArchiMate3Application.prototype.background=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxArchiMate3Application.prototype.cst.ARCHI_TYPE,"square");"rounded"===d?a.roundrect(0,0,b,c,10,10):"oct"===d&&20<=b&&20<=c?(a.begin(),a.moveTo(0,10),a.lineTo(10,0),a.lineTo(b-10,0),a.lineTo(b,10),a.lineTo(b,c-10),a.lineTo(b-10,c),a.lineTo(10,c),a.lineTo(0,c-10),a.close(),a.fillAndStroke()):a.rect(0,0,b,c);a.fillAndStroke()};
  1355. mxArchiMate3Application.prototype.foreground=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxArchiMate3Application.prototype.cst.TYPE,"");a.setDashed(!1);f===mxArchiMate3Application.prototype.cst.COMPONENT?(a.translate(1,0),mxArchiMate3Component.prototype.background(a,d,e,b-2,c)):f===mxArchiMate3Application.prototype.cst.COLLABORATION?(a.translate(0,3),mxArchiMate3Collaboration.prototype.background(a,d,e,b,c-6)):f===mxArchiMate3Application.prototype.cst.INTERFACE?(a.translate(0,4),c-=8,mxArchiMate3Interface.prototype.background(a,
  1356. d,e,b,c)):f===mxArchiMate3Application.prototype.cst.INTERFACE2?(a.translate(0,1),c-=2,a.begin(),a.moveTo(0,0.5*c),a.lineTo(0.6*b,0.5*c),a.moveTo(b,0),a.arcTo(0.4*b,0.5*c,0,0,0,b,c),a.stroke()):f===mxArchiMate3Application.prototype.cst.FUNCTION?mxArchiMate3Function.prototype.background(a,d,e,b,c):f===mxArchiMate3Application.prototype.cst.INTERACTION?mxArchiMate3Interaction.prototype.background(a,d,e,b,c):f===mxArchiMate3Application.prototype.cst.SERVICE?(a.translate(0,3),c-=6,mxArchiMate3Service.prototype.background(a,
  1357. d,e,b,c)):f===mxArchiMate3Application.prototype.cst.EVENT?(a.translate(0,3),c-=6,mxArchiMate3Event.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.EVENT2?(a.translate(0,3),c-=6,mxArchiMate3Event2.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.NODE?mxArchiMate3Node.prototype.background(a,d,e,b,c):f===mxArchiMate3Application.prototype.cst.NETWORK?(a.translate(0,2),c-=4,a.begin(),a.moveTo(0.4*b,0.2*c),a.lineTo(0.85*b,0.2*c),a.lineTo(0.6*b,0.8*c),
  1358. a.lineTo(0.15*b,0.8*c),a.close(),a.stroke(),d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),a.ellipse(0.25*b,0,0.3*b,0.4*c),a.fill(),a.ellipse(0.7*b,0,0.3*b,0.4*c),a.fill(),a.ellipse(0,0.6*c,0.3*b,0.4*c),a.fill(),a.ellipse(0.45*b,0.6*c,0.3*b,0.4*c),a.fill()):f===mxArchiMate3Application.prototype.cst.COMM_PATH?(a.translate(0,5),c-=10,a.begin(),a.moveTo(0.1*b,0),a.lineTo(0,0.5*c),a.lineTo(0.1*b,c),a.moveTo(0.9*b,0),a.lineTo(b,0.5*c),a.lineTo(0.9*b,c),a.stroke(),
  1359. a.setDashed(!0),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):f===mxArchiMate3Application.prototype.cst.ARTIFACT?(a.translate(2,0),b-=4,a.begin(),a.moveTo(0,0),a.lineTo(0.7*b,0),a.lineTo(b,0.22*c),a.lineTo(b,c),a.lineTo(0,c),a.close(),a.moveTo(0.7*b,0),a.lineTo(0.7*b,0.22*c),a.lineTo(b,0.22*c),a.stroke()):f===mxArchiMate3Application.prototype.cst.ACTOR?(a.translate(3,0),b-=6,mxArchiMate3Actor.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.ROLE?(a.translate(0,
  1360. 4),c-=8,mxArchiMate3Role.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.PROCESS?(a.translate(0,3),c-=6,mxArchiMate3Process.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.DRIVER?(a.ellipse(0.1*b,0.1*c,0.8*b,0.8*c),a.stroke(),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.moveTo(0.5*b,0),a.lineTo(0.5*b,c),a.moveTo(0.145*b,0.145*c),a.lineTo(0.855*b,0.855*c),a.moveTo(0.145*b,0.855*c),a.lineTo(0.855*b,0.145*c),a.stroke(),d=mxUtils.getValue(this.style,
  1361. mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),a.ellipse(0.35*b,0.35*c,0.3*b,0.3*c),a.fillAndStroke()):f===mxArchiMate3Application.prototype.cst.ASSESSMENT?(a.ellipse(0.2*b,0,0.8*b,0.8*c),a.stroke(),a.begin(),a.moveTo(0,c),a.lineTo(0.32*b,0.68*c),a.stroke()):f===mxArchiMate3Application.prototype.cst.GOAL?(a.ellipse(0,0,b,c),a.stroke(),a.ellipse(0.15*b,0.15*c,0.7*b,0.7*c),a.stroke(),d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),a.ellipse(0.3*b,
  1362. 0.3*c,0.4*b,0.4*c),a.fillAndStroke()):f===mxArchiMate3Application.prototype.cst.OUTCOME?(a.ellipse(0,0.2*b,0.8*b,0.8*c),a.stroke(),a.ellipse(0.15*b,0.35*b,0.5*b,0.5*c),a.stroke(),a.ellipse(0.3*b,0.5*b,0.2*b,0.2*c),a.stroke(),a.begin(),a.moveTo(0.4*b,0.6*c),a.lineTo(0.9*b,0.1*c),a.moveTo(0.42*b,0.4*c),a.lineTo(0.4*b,0.6*c),a.lineTo(0.6*b,0.58*c),a.moveTo(0.8*b,0),a.lineTo(0.75*b,0.25*c),a.lineTo(b,0.2*c),a.stroke()):f===mxArchiMate3Application.prototype.cst.PRINCIPLE?(a.begin(),a.moveTo(0.05*b,0.05*
  1363. c),a.arcTo(2.3*b,2.3*c,0,0,1,0.95*b,0.05*c),a.arcTo(2.3*b,2.3*c,0,0,1,0.95*b,0.95*c),a.arcTo(2.3*b,2.3*c,0,0,1,0.05*b,0.95*c),a.arcTo(2.3*b,2.3*c,0,0,1,0.05*b,0.05*c),a.close(),a.stroke(),d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),a.begin(),a.moveTo(0.45*b,0.7*c),a.lineTo(0.42*b,0.15*c),a.lineTo(0.58*b,0.15*c),a.lineTo(0.55*b,0.7*c),a.close(),a.fill(),a.rect(0.45*b,0.75*c,0.1*b,0.1*c),a.fill()):f===mxArchiMate3Application.prototype.cst.REQUIREMENT?(a.translate(0,
  1364. 4),c-=8,mxArchiMate3Requirement.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.CONSTRAINT?(a.translate(0,4),c-=8,mxArchiMate3Constraint.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.MATERIAL?(a.translate(0,1),c-=2,a.begin(),a.moveTo(0,0.5*c),a.lineTo(0.25*b,0),a.lineTo(0.75*b,0),a.lineTo(b,0.5*c),a.lineTo(0.75*b,c),a.lineTo(0.25*b,c),a.close(),a.moveTo(0.15*b,0.5*c),a.lineTo(0.31*b,0.2*c),a.moveTo(0.69*b,0.2*c),a.lineTo(0.85*b,0.5*c),a.moveTo(0.68*
  1365. b,0.8*c),a.lineTo(0.32*b,0.8*c),a.stroke()):f===mxArchiMate3Application.prototype.cst.DISTRIBUTION?(a.translate(0,4),c-=8,mxArchiMate3Distribution.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.RESOURCE?(a.translate(0,1),c-=2,mxArchiMate3Resource.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.CAPABILITY?mxArchiMate3Capability.prototype.background(a,d,e,b,c):f===mxArchiMate3Application.prototype.cst.COURSE?mxArchiMate3Course.prototype.background(a,
  1366. d,e,b,c):f===mxArchiMate3Application.prototype.cst.SYS_SW?mxArchiMate3SysSw.prototype.background(a,d,e,b,c):f===mxArchiMate3Application.prototype.cst.ARTIFACT?(a.translate(2,0),b-=4,mxArchiMate3Artifact.prototype.background(a,d,e,b,c)):f===mxArchiMate3Application.prototype.cst.PATH&&(a.translate(0,5),c-=10,mxArchiMate3Path.prototype.background(a,d,e,b,c))};mxCellRenderer.registerShape(mxArchiMate3Application.prototype.cst.APPLICATION,mxArchiMate3Application);
  1367. function mxArchiMate3Component(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Component,mxShape);mxArchiMate3Component.prototype.cst={COMPONENT:"mxgraph.archimate3.component"};mxArchiMate3Component.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1368. mxArchiMate3Component.prototype.background=function(a,d,e,b,c){a.rect(0.25*b,0,0.75*b,c);a.fillAndStroke();a.rect(0,0.25*c,0.5*b,0.15*c);a.fillAndStroke();a.rect(0,0.6*c,0.5*b,0.15*c);a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Component.prototype.cst.COMPONENT,mxArchiMate3Component);function mxArchiMate3Collaboration(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Collaboration,mxShape);
  1369. mxArchiMate3Collaboration.prototype.cst={COLLABORATION:"mxgraph.archimate3.collaboration"};mxArchiMate3Collaboration.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};mxArchiMate3Collaboration.prototype.background=function(a,d,e,b,c){a.ellipse(0,0,0.6*b,c);a.fillAndStroke();a.ellipse(0.4*b,0,0.6*b,c);a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Collaboration.prototype.cst.COLLABORATION,mxArchiMate3Collaboration);
  1370. function mxArchiMate3Interface(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Interface,mxShape);mxArchiMate3Interface.prototype.cst={INTERFACE:"mxgraph.archimate3.interface"};mxArchiMate3Interface.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1371. mxArchiMate3Interface.prototype.background=function(a,d,e,b,c){a.ellipse(0.5*b,0,0.5*b,c);a.fillAndStroke();a.begin();a.moveTo(0,0.5*c);a.lineTo(0.5*b,0.5*c);a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Interface.prototype.cst.INTERFACE,mxArchiMate3Interface);function mxArchiMate3Process(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Process,mxShape);mxArchiMate3Process.prototype.cst={PROCESS:"mxgraph.archimate3.process"};
  1372. mxArchiMate3Process.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};mxArchiMate3Process.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0.3*c);a.lineTo(0.6*b,0.3*c);a.lineTo(0.6*b,0);a.lineTo(b,0.5*c);a.lineTo(0.6*b,c);a.lineTo(0.6*b,0.7*c);a.lineTo(0,0.7*c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Process.prototype.cst.PROCESS,mxArchiMate3Process);
  1373. function mxArchiMate3Function(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Function,mxShape);mxArchiMate3Function.prototype.cst={FUNCTION:"mxgraph.archimate3.function"};mxArchiMate3Function.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1374. mxArchiMate3Function.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.5*b,0);a.lineTo(b,0.2*c);a.lineTo(b,c);a.lineTo(0.5*b,0.8*c);a.lineTo(0,c);a.lineTo(0,0.2*c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Function.prototype.cst.FUNCTION,mxArchiMate3Function);function mxArchiMate3Interaction(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Interaction,mxShape);
  1375. mxArchiMate3Interaction.prototype.cst={INTERACTION:"mxgraph.archimate3.interaction"};mxArchiMate3Interaction.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};mxArchiMate3Interaction.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.55*b,0);a.arcTo(0.45*b,0.5*c,0,0,1,0.55*b,c);a.close();a.moveTo(0.45*b,0);a.arcTo(0.45*b,0.5*c,0,0,0,0.45*b,c);a.close();a.fillAndStroke()};
  1376. mxCellRenderer.registerShape(mxArchiMate3Interaction.prototype.cst.INTERACTION,mxArchiMate3Interaction);function mxArchiMate3Service(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Service,mxShape);mxArchiMate3Service.prototype.cst={SERVICE:"mxgraph.archimate3.service"};mxArchiMate3Service.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1377. mxArchiMate3Service.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(b-0.5*c,0);a.arcTo(0.5*c,0.5*c,0,0,1,b-0.5*c,c);a.lineTo(0.5*c,c);a.arcTo(0.5*c,0.5*c,0,0,1,0.5*c,0);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Service.prototype.cst.SERVICE,mxArchiMate3Service);function mxArchiMate3Requirement(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Requirement,mxShape);
  1378. mxArchiMate3Requirement.prototype.cst={REQUIREMENT:"mxgraph.archimate3.requirement"};mxArchiMate3Requirement.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};mxArchiMate3Requirement.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.25*b,0);a.lineTo(b,0);a.lineTo(0.75*b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Requirement.prototype.cst.REQUIREMENT,mxArchiMate3Requirement);
  1379. function mxArchiMate3Constraint(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Constraint,mxShape);mxArchiMate3Constraint.prototype.cst={CONSTRAINT:"mxgraph.archimate3.constraint"};mxArchiMate3Constraint.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1380. mxArchiMate3Constraint.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.25*b,0);a.lineTo(b,0);a.lineTo(0.75*b,c);a.lineTo(0,c);a.close();a.moveTo(0.45*b,0);a.lineTo(0.2*b,c);a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Constraint.prototype.cst.CONSTRAINT,mxArchiMate3Constraint);function mxArchiMate3Event(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Event,mxShape);
  1381. mxArchiMate3Event.prototype.cst={EVENT:"mxgraph.archimate3.event"};mxArchiMate3Event.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};mxArchiMate3Event.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(b-0.5*c,0);a.arcTo(0.5*c,0.5*c,0,0,1,b-0.5*c,c);a.lineTo(0,c);a.lineTo(0.5*c,0.5*c);a.lineTo(0,0);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Event.prototype.cst.EVENT,mxArchiMate3Event);
  1382. function mxArchiMate3Event2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Event2,mxShape);mxArchiMate3Event2.prototype.cst={EVENT2:"mxgraph.archimate3.event2"};mxArchiMate3Event2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1383. mxArchiMate3Event2.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(b-0.5*c,0);a.arcTo(0.5*c,0.5*c,0,0,1,b-0.5*c,c);a.lineTo(0,c);a.arcTo(0.5*c,0.5*c,0,0,0,0,0);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Event2.prototype.cst.EVENT2,mxArchiMate3Event2);function mxArchiMate3Actor(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Actor,mxShape);mxArchiMate3Actor.prototype.cst={ACTOR:"mxgraph.archimate3.actor"};
  1384. mxArchiMate3Actor.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};mxArchiMate3Actor.prototype.background=function(a,d,e,b,c){a.ellipse(0.2*b,0,0.6*b,0.3*c);a.fillAndStroke();a.begin();a.moveTo(0.5*b,0.3*c);a.lineTo(0.5*b,0.75*c);a.moveTo(0,0.45*c);a.lineTo(b,0.45*c);a.moveTo(0,c);a.lineTo(0.5*b,0.75*c);a.lineTo(b,c);a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Actor.prototype.cst.ACTOR,mxArchiMate3Actor);
  1385. function mxArchiMate3Role(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Role,mxShape);mxArchiMate3Role.prototype.cst={ROLE:"mxgraph.archimate3.role"};mxArchiMate3Role.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1386. mxArchiMate3Role.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.8*b,0);a.lineTo(0.2*b,0);a.arcTo(0.2*b,0.5*c,0,0,0,0.2*b,c);a.lineTo(0.8*b,c);a.fillAndStroke();a.ellipse(0.6*b,0,0.4*b,c);a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Role.prototype.cst.ROLE,mxArchiMate3Role);function mxArchiMate3BusinessObject(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3BusinessObject,mxShape);
  1387. mxArchiMate3BusinessObject.prototype.cst={BUSINESS_OBJECT:"mxgraph.archimate3.businessObject"};mxArchiMate3BusinessObject.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);this.foreground(a,0,0,b,c)};mxArchiMate3BusinessObject.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};mxArchiMate3BusinessObject.prototype.foreground=function(a,d,e,b,c){15<=c&&(a.begin(),a.moveTo(0,15),a.lineTo(b,15),a.stroke())};
  1388. mxCellRenderer.registerShape(mxArchiMate3BusinessObject.prototype.cst.BUSINESS_OBJECT,mxArchiMate3BusinessObject);function mxArchiMate3Contract(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Contract,mxShape);mxArchiMate3Contract.prototype.cst={CONTRACT:"mxgraph.archimate3.contract"};
  1389. mxArchiMate3Contract.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);this.foreground(a,0,0,b,c)};mxArchiMate3Contract.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};mxArchiMate3Contract.prototype.foreground=function(a,d,e,b,c){15<=c&&(a.begin(),a.moveTo(0,15),a.lineTo(b,15),a.stroke());30<=c&&(a.begin(),a.moveTo(0,c-15),a.lineTo(b,c-15),a.stroke())};
  1390. mxCellRenderer.registerShape(mxArchiMate3Contract.prototype.cst.CONTRACT,mxArchiMate3Contract);function mxArchiMate3Product(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Product,mxShape);mxArchiMate3Product.prototype.cst={PRODUCT:"mxgraph.archimate3.product"};mxArchiMate3Product.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);this.foreground(a,0,0,b,c)};
  1391. mxArchiMate3Product.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};mxArchiMate3Product.prototype.foreground=function(a,d,e,b,c){15<=c&&(a.begin(),a.moveTo(0,15),a.lineTo(0.6*b,15),a.lineTo(0.6*b,0),a.stroke())};mxCellRenderer.registerShape(mxArchiMate3Product.prototype.cst.PRODUCT,mxArchiMate3Product);function mxArchiMate3Representation(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1392. mxUtils.extend(mxArchiMate3Representation,mxShape);mxArchiMate3Representation.prototype.cst={REPRESENTATION:"mxgraph.archimate3.representation"};mxArchiMate3Representation.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c)};
  1393. mxArchiMate3Representation.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,0,0.5*b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,1,0,0.85*c);a.close();a.fillAndStroke();20<=c&&a.begin();a.moveTo(0,15);a.lineTo(b,15);a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Representation.prototype.cst.REPRESENTATION,mxArchiMate3Representation);
  1394. function mxArchiMate3Deliverable(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Deliverable,mxShape);mxArchiMate3Deliverable.prototype.cst={DELIVERABLE:"mxgraph.archimate3.deliverable"};mxArchiMate3Deliverable.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c)};
  1395. mxArchiMate3Deliverable.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,0,0.5*b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,1,0,0.85*c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Deliverable.prototype.cst.DELIVERABLE,mxArchiMate3Deliverable);function mxArchiMate3Location(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Location,mxShape);
  1396. mxArchiMate3Location.prototype.cst={LOCATION:"mxgraph.archimate3.location"};mxArchiMate3Location.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-20,5);this.foreground(a,b-20,5,15,15)};mxArchiMate3Location.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};
  1397. mxArchiMate3Location.prototype.foreground=function(a,d,e,b,c){a.setDashed(!1);a.translate(3,0);b-=6;a.begin();a.moveTo(0.5*b,c);a.arcTo(0.1775*b,0.3*c,0,0,0,0.345*b,0.7*c);a.arcTo(0.538*b,0.364*c,0,0,1,0.5*b,0);a.arcTo(0.538*b,0.364*c,0,0,1,0.655*b,0.7*c);a.arcTo(0.1775*b,0.3*c,0,0,0,0.5*b,c);a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Location.prototype.cst.LOCATION,mxArchiMate3Location);
  1398. function mxArchiMate3Gap(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Gap,mxShape);mxArchiMate3Gap.prototype.cst={GAP:"mxgraph.archimate3.gap"};mxArchiMate3Gap.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-20,5);this.foreground(a,b-20,5,15,15)};
  1399. mxArchiMate3Gap.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,0,0.5*b,0.85*c);a.arcTo(0.35*b,0.35*c,0,0,1,0,0.85*c);a.close();a.fillAndStroke()};mxArchiMate3Gap.prototype.foreground=function(a,d,e,b,c){a.setDashed(!1);a.translate(0,2);c-=4;a.ellipse(0.15*b,0,0.7*b,c);a.stroke();a.begin();a.moveTo(0,0.35*c);a.lineTo(b,0.35*c);a.moveTo(0,0.65*c);a.lineTo(b,0.65*c);a.stroke()};
  1400. mxCellRenderer.registerShape(mxArchiMate3Gap.prototype.cst.GAP,mxArchiMate3Gap);function mxArchiMate3Tech(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Tech,mxShape);mxArchiMate3Tech.prototype.cst={TECH:"mxgraph.archimate3.tech",TYPE:"techType",DEVICE:"device",PLATEAU:"plateau",FACILITY:"facility",EQUIPMENT:"equipment",SYS_SW:"sysSw"};
  1401. mxArchiMate3Tech.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);a.translate(b-30,15);this.foreground(a,b-30,15,15,15)};mxArchiMate3Tech.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,10);a.lineTo(10,0);a.lineTo(b,0);a.lineTo(b,c-10);a.lineTo(b-10,c);a.lineTo(0,c);a.close();a.moveTo(0,10);a.lineTo(b-10,10);a.lineTo(b-10,c);a.moveTo(b,0);a.lineTo(b-10,10);a.fillAndStroke()};
  1402. mxArchiMate3Tech.prototype.foreground=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxArchiMate3Tech.prototype.cst.TYPE,mxArchiMate3Tech.prototype.cst.DEVICE);a.setDashed(!1);f===mxArchiMate3Tech.prototype.cst.PLATEAU?(d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),a.setFillColor(d),a.rect(0.4*b,0,0.6*b,0.2*c),a.fill(),a.rect(0.2*b,0.4*c,0.6*b,0.2*c),a.fill(),a.rect(0,0.8*c,0.6*b,0.2*c),a.fill()):f===mxArchiMate3Tech.prototype.cst.FACILITY?(a.begin(),a.moveTo(0,c),
  1403. a.lineTo(0,0),a.lineTo(0.13*b,0),a.lineTo(0.13*b,0.7*c),a.lineTo(0.42*b,0.55*c),a.lineTo(0.42*b,0.7*c),a.lineTo(0.71*b,0.55*c),a.lineTo(0.71*b,0.7*c),a.lineTo(b,0.55*c),a.lineTo(b,c),a.close(),a.stroke()):f===mxArchiMate3Tech.prototype.cst.EQUIPMENT?(a.begin(),a.moveTo(0.72*b,0.38*c),a.curveTo(0.78*b,0.38*b,0.85*b,0.34*c,0.85*b,0.26*c),a.curveTo(0.85*b,0.18*b,0.78*b,0.14*c,0.73*b,0.14*c),a.curveTo(0.64*b,0.14*b,0.59*b,0.2*c,0.59*b,0.26*c),a.curveTo(0.59*b,0.33*c,0.65*b,0.38*b,0.72*b,0.38*c),a.close(),
  1404. a.moveTo(0.68*b,0.52*c),a.lineTo(0.67*b,0.45*c),a.lineTo(0.61*b,0.43*c),a.lineTo(0.56*b,0.48*c),a.lineTo(0.5*b,0.42*c),a.lineTo(0.54*b,0.36*c),a.lineTo(0.52*b,0.31*c),a.lineTo(0.45*b,0.31*c),a.lineTo(0.45*b,0.22*c),a.lineTo(0.52*b,0.21*c),a.lineTo(0.54*b,0.16*c),a.lineTo(0.5*b,0.11*c),a.lineTo(0.56*b,0.05*c),a.lineTo(0.62*b,0.09*c),a.lineTo(0.67*b,0.07*c),a.lineTo(0.68*b,0),a.lineTo(0.77*b,0),a.lineTo(0.78*b,0.07*c),a.lineTo(0.83*b,0.09*c),a.lineTo(0.89*b,0.05*c),a.lineTo(0.95*b,0.11*c),a.lineTo(0.91*
  1405. b,0.16*c),a.lineTo(0.93*b,0.21*c),a.lineTo(b,0.22*c),a.lineTo(b,0.31*c),a.lineTo(0.93*b,0.31*c),a.lineTo(0.91*b,0.36*c),a.lineTo(0.95*b,0.41*c),a.lineTo(0.89*b,0.47*c),a.lineTo(0.83*b,0.43*c),a.lineTo(0.78*b,0.45*c),a.lineTo(0.77*b,0.52*c),a.lineTo(0.68*b,0.52*c),a.close(),a.moveTo(0.36*b,0.81*c),a.curveTo(0.44*b,0.81*c,0.52*b,0.75*c,0.52*b,0.67*c),a.curveTo(0.52*b,0.59*c,0.45*b,0.51*c,0.35*b,0.51*c),a.curveTo(0.27*b,0.51*c,0.19*b,0.58*c,0.19*b,0.67*c),a.curveTo(0.19*b,0.74*c,0.27*b,0.82*c,0.36*b,
  1406. 0.81*c),a.close(),a.moveTo(0.21*b,0.98*c),a.lineTo(0.22*b,0.89*c),a.lineTo(0.16*b,0.85*c),a.lineTo(0.08*b,0.88*c),a.lineTo(0.02*b,0.79*c),a.lineTo(0.09*b,0.74*c),a.lineTo(0.08*b,0.67*c),a.lineTo(0,0.63*c),a.lineTo(0.03*b,0.53*c),a.lineTo(0.12*b,0.54*c),a.lineTo(0.16*b,0.48*c),a.lineTo(0.13*b,0.4*c),a.lineTo(0.22*b,0.35*c),a.lineTo(0.28*b,0.42*c),a.lineTo(0.36*b,0.41*c),a.lineTo(0.39*b,0.33*c),a.lineTo(0.5*b,0.36*c),a.lineTo(0.49*b,0.45*c),a.lineTo(0.55*b,0.49*c),a.lineTo(0.63*b,0.45*c),a.lineTo(0.69*
  1407. b,0.54*c),a.lineTo(0.62*b,0.6*c),a.lineTo(0.63*b,0.67*c),a.lineTo(0.71*b,0.7*c),a.lineTo(0.68*b,0.8*c),a.lineTo(0.59*b,0.79*c),a.lineTo(0.55*b,0.85*c),a.lineTo(0.59*b,0.79*c),a.lineTo(0.55*b,0.85*c),a.lineTo(0.59*b,0.93*c),a.lineTo(0.49*b,0.98*c),a.lineTo(0.43*b,0.91*c),a.lineTo(0.36*b,0.92*c),a.lineTo(0.32*b,c),a.lineTo(0.21*b,0.98*c),a.close(),a.stroke()):f===mxArchiMate3Tech.prototype.cst.SYS_SW?mxArchiMate3SysSw.prototype.background(a,d,e,b,c):f===mxArchiMate3Tech.prototype.cst.DEVICE&&mxArchiMate3Device.prototype.background(a,
  1408. d,e,b,c)};mxCellRenderer.registerShape(mxArchiMate3Tech.prototype.cst.TECH,mxArchiMate3Tech);function mxArchiMate3Distribution(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Distribution,mxShape);mxArchiMate3Distribution.prototype.cst={DISTRIBUTION:"mxgraph.archimate3.distribution"};mxArchiMate3Distribution.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1409. mxArchiMate3Distribution.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.1*b,0.25*c);a.lineTo(0.9*b,0.25*c);a.lineTo(b,0.5*c);a.lineTo(0.9*b,0.75*c);a.lineTo(0.1*b,0.75*c);a.lineTo(0,0.5*c);a.fillAndStroke();a.begin();a.moveTo(0.2*b,0);a.lineTo(0,0.5*c);a.lineTo(0.2*b,c);a.moveTo(0.8*b,0);a.lineTo(b,0.5*c);a.lineTo(0.8*b,c);a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Distribution.prototype.cst.DISTRIBUTION,mxArchiMate3Distribution);
  1410. function mxArchiMate3Resource(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Resource,mxShape);mxArchiMate3Resource.prototype.cst={RESOURCE:"mxgraph.archimate3.resource"};mxArchiMate3Resource.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1411. mxArchiMate3Resource.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.51*b,0.34*c);a.lineTo(0.51*b,0.65*c);a.moveTo(0.35*b,0.34*c);a.lineTo(0.35*b,0.65*c);a.moveTo(0.19*b,0.34*c);a.lineTo(0.19*b,0.65*c);a.moveTo(0.91*b,0.4*c);a.curveTo(0.93*b,0.39*c,0.95*b,0.39*c,0.97*b,0.4*c);a.curveTo(0.99*b,0.4*c,b,0.41*c,b,0.43*c);a.curveTo(b,0.48*c,b,0.52*c,b,0.57*c);a.curveTo(b,0.58*c,0.99*b,0.59*c,0.98*b,0.6*c);a.curveTo(0.96*b,0.6*c,0.93*b,0.6*c,0.91*b,0.6*c);a.moveTo(0,0.73*c);a.curveTo(0,0.6*
  1412. c,0,0.43*c,0,0.27*c);a.curveTo(0,0.24*c,0.03*b,0.21*c,0.08*b,0.21*c);a.curveTo(0.33*b,0.2*c,0.61*b,0.2*c,0.84*b,0.21*c);a.curveTo(0.88*b,0.22*c,0.89*b,0.24*c,0.9*b,0.26*c);a.curveTo(0.91*b,0.41*c,0.91*b,0.57*c,0.9*b,0.72*c);a.curveTo(0.9*b,0.74*c,0.88*b,0.78*c,0.83*b,0.79*c);a.curveTo(0.57*b,0.79*c,0.32*b,0.79*c,0.06*b,0.79*c);a.curveTo(0.02*b,0.78*c,0,0.76*c,0,0.73*c);a.close();a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Resource.prototype.cst.RESOURCE,mxArchiMate3Resource);
  1413. function mxArchiMate3Capability(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Capability,mxShape);mxArchiMate3Capability.prototype.cst={CAPABILITY:"mxgraph.archimate3.capability"};mxArchiMate3Capability.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1414. mxArchiMate3Capability.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.lineTo(0,0.67*c);a.lineTo(0.33*b,0.67*c);a.lineTo(0.33*b,0.33*c);a.lineTo(0.67*b,0.33*c);a.lineTo(0.67*b,0);a.close();a.moveTo(0.67*b,0.33*c);a.lineTo(b,0.33*c);a.moveTo(0.33*b,0.67*c);a.lineTo(b,0.67*c);a.moveTo(0.33*b,0.67*c);a.lineTo(0.33*b,c);a.moveTo(0.67*b,0.33*c);a.lineTo(0.67*b,c);a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Capability.prototype.cst.CAPABILITY,mxArchiMate3Capability);
  1415. function mxArchiMate3Course(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Course,mxShape);mxArchiMate3Course.prototype.cst={COURSE:"mxgraph.archimate3.course"};mxArchiMate3Course.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1416. mxArchiMate3Course.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,c);a.arcTo(0.7*b,0.7*c,0,0,1,0.41*b,0.56*c);a.moveTo(0.14*b,0.54*c);a.lineTo(0.41*b,0.56*c);a.lineTo(0.3*b,0.78*c);a.stroke();a.ellipse(0.4*b,0,0.6*b,0.6*c);a.stroke();a.ellipse(0.5*b,0.1*c,0.4*b,0.4*c);a.stroke();d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#000000");a.setFillColor(d);a.ellipse(0.6*b,0.2*c,0.2*b,0.2*c);a.fill()};mxCellRenderer.registerShape(mxArchiMate3Course.prototype.cst.COURSE,mxArchiMate3Course);
  1417. function mxArchiMate3Node(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Node,mxShape);mxArchiMate3Node.prototype.cst={NODE:"mxgraph.archimate3.node"};mxArchiMate3Node.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1418. mxArchiMate3Node.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0.25*c);a.lineTo(0.25*b,0);a.lineTo(b,0);a.lineTo(b,0.75*c);a.lineTo(0.75*b,c);a.lineTo(0,c);a.close();a.moveTo(0,0.25*c);a.lineTo(0.75*b,0.25*c);a.lineTo(0.75*b,c);a.moveTo(b,0);a.lineTo(0.75*b,0.25*c);a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Node.prototype.cst.NODE,mxArchiMate3Node);
  1419. function mxArchiMate3Device(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Device,mxShape);mxArchiMate3Device.prototype.cst={DEVICE:"mxgraph.archimate3.device"};mxArchiMate3Device.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1420. mxArchiMate3Device.prototype.background=function(a,d,e,b,c){a.roundrect(0,0,b,0.88*c,0.1*b,0.1*c);a.fillAndStroke();a.begin();a.moveTo(0.1*b,0.88*c);a.lineTo(0,c);a.lineTo(b,c);a.lineTo(0.9*b,0.88*c);a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3Device.prototype.cst.DEVICE,mxArchiMate3Device);function mxArchiMate3SysSw(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3SysSw,mxShape);
  1421. mxArchiMate3SysSw.prototype.cst={SYS_SW:"mxgraph.archimate3.sysSw"};mxArchiMate3SysSw.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};mxArchiMate3SysSw.prototype.background=function(a,d,e,b,c){a.ellipse(0.3*b,0,0.7*b,0.7*c);a.stroke();a.ellipse(0,0.02*c,0.98*b,0.98*c);a.fillAndStroke()};mxCellRenderer.registerShape(mxArchiMate3SysSw.prototype.cst.SYS_SW,mxArchiMate3SysSw);
  1422. function mxArchiMate3Artifact(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Artifact,mxShape);mxArchiMate3Artifact.prototype.cst={ARTIFACT:"mxgraph.archimate3.artifact"};mxArchiMate3Artifact.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1423. mxArchiMate3Artifact.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(0.7*b,0);a.lineTo(b,0.22*c);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.7*b,0);a.lineTo(0.7*b,0.22*c);a.lineTo(b,0.22*c);a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Artifact.prototype.cst.ARTIFACT,mxArchiMate3Artifact);function mxArchiMate3CommNetw(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1424. mxUtils.extend(mxArchiMate3CommNetw,mxShape);mxArchiMate3CommNetw.prototype.cst={COMM_NETW:"mxgraph.archimate3.commNetw"};mxArchiMate3CommNetw.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};mxArchiMate3CommNetw.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.2*b,c);a.lineTo(0,0.5*c);a.lineTo(0.2*b,0);a.moveTo(0.8*b,c);a.lineTo(b,0.5*c);a.lineTo(0.8*b,0);a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke()};
  1425. mxCellRenderer.registerShape(mxArchiMate3CommNetw.prototype.cst.COMM_NETW,mxArchiMate3CommNetw);function mxArchiMate3Path(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxArchiMate3Path,mxShape);mxArchiMate3Path.prototype.cst={PATH:"mxgraph.archimate3.path"};mxArchiMate3Path.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1)};
  1426. mxArchiMate3Path.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0.2*b,c);a.lineTo(0,0.5*c);a.lineTo(0.2*b,0);a.moveTo(0.8*b,c);a.lineTo(b,0.5*c);a.lineTo(0.8*b,0);a.stroke();a.setDashed(!0);a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke()};mxCellRenderer.registerShape(mxArchiMate3Path.prototype.cst.PATH,mxArchiMate3Path);
  1427. function mxShapeArrows2Arrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.notch=0}mxUtils.extend(mxShapeArrows2Arrow,mxActor);mxShapeArrows2Arrow.prototype.cst={ARROW:"mxgraph.arrows2.arrow"};
  1428. mxShapeArrows2Arrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=0.5*c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch))));a.begin();a.moveTo(0,d);a.lineTo(b-e,d);a.lineTo(b-e,0);a.lineTo(b,0.5*c);a.lineTo(b-e,c);a.lineTo(b-e,c-d);a.lineTo(0,c-d);a.lineTo(f,0.5*c);a.close();a.fillAndStroke()};
  1429. mxCellRenderer.registerShape(mxShapeArrows2Arrow.prototype.cst.ARROW,mxShapeArrows2Arrow);mxShapeArrows2Arrow.prototype.constraints=null;
  1430. Graph.handleFactory[mxShapeArrows2Arrow.prototype.cst.ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),c=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-b,a.y+c*a.height/2)},function(a,b){this.state.style.dx=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),
  1431. a.x+a.width-b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,2*((b.y-a.y)/a.height))))/100})];a=Graph.createHandle(a,["notch"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+b,a.y+a.height/2)},function(a,b){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),b.x-a.x)))/100});d.push(a);return d};
  1432. function mxShapeArrows2TwoWayArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5}mxUtils.extend(mxShapeArrows2TwoWayArrow,mxActor);mxShapeArrows2TwoWayArrow.prototype.cst={TWO_WAY_ARROW:"mxgraph.arrows2.twoWayArrow"};
  1433. mxShapeArrows2TwoWayArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=0.5*c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));a.begin();a.moveTo(e,d);a.lineTo(b-e,d);a.lineTo(b-e,0);a.lineTo(b,0.5*c);a.lineTo(b-e,c);a.lineTo(b-e,c-d);a.lineTo(e,c-d);a.lineTo(e,c);a.lineTo(0,0.5*c);a.lineTo(e,0);a.close();a.fillAndStroke()};
  1434. mxCellRenderer.registerShape(mxShapeArrows2TwoWayArrow.prototype.cst.TWO_WAY_ARROW,mxShapeArrows2TwoWayArrow);mxShapeArrows2TwoWayArrow.prototype.constraints=null;
  1435. Graph.handleFactory[mxShapeArrows2TwoWayArrow.prototype.cst.TWO_WAY_ARROW]=function(a){return[Graph.createHandle(a,["dx","dy"],function(a){var e=Math.max(0,Math.min(a.width/2,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-e,a.y+b*a.height/2)},function(a,e){this.state.style.dx=Math.round(100*Math.max(0,Math.min(a.width/2,a.x+a.width-e.x)))/100;this.state.style.dy=Math.round(100*
  1436. Math.max(0,Math.min(1,2*((e.y-a.y)/a.height))))/100})]};function mxShapeArrows2StylisedArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.notch=0;this.feather=0.5}mxUtils.extend(mxShapeArrows2StylisedArrow,mxActor);mxShapeArrows2StylisedArrow.prototype.cst={STYLISED_ARROW:"mxgraph.arrows2.stylisedArrow"};
  1437. mxShapeArrows2StylisedArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=0.5*c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),g=0.5*c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"feather",this.feather))));a.begin();a.moveTo(0,g);a.lineTo(b-e,d);a.lineTo(b-e-10,0);
  1438. a.lineTo(b,0.5*c);a.lineTo(b-e-10,c);a.lineTo(b-e,c-d);a.lineTo(0,c-g);a.lineTo(f,0.5*c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2StylisedArrow.prototype.cst.STYLISED_ARROW,mxShapeArrows2StylisedArrow);mxShapeArrows2StylisedArrow.prototype.constraints=null;
  1439. Graph.handleFactory[mxShapeArrows2StylisedArrow.prototype.cst.STYLISED_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var c=Math.max(0,Math.min(a.width-10,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),d=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-c,a.y+d*a.height/2)},function(a,c){this.state.style.dx=Math.round(100*Math.max(0,Math.min(a.width-10,a.width-parseFloat(mxUtils.getValue(this.state.style,
  1440. "notch",this.notch)),a.x+a.width-c.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,2*((c.y-a.y)/a.height))))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+c,a.y+a.height/2)},function(a,c){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,
  1441. "dx",this.dx)),c.x-a.x)))/100});d.push(e);a=Graph.createHandle(a,["feather"],function(a){var c=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"feather",this.dy))));return new mxPoint(a.x,a.y+c*a.height/2)},function(a,c){this.state.style.feather=Math.round(100*Math.max(0,Math.min(1,2*((c.y-a.y)/a.height))))/100});d.push(a);return d};
  1442. function mxShapeArrows2SharpArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx2=this.dx1=this.dy1=0.5;this.notch=0}mxUtils.extend(mxShapeArrows2SharpArrow,mxActor);mxShapeArrows2SharpArrow.prototype.cst={SHARP_ARROW:"mxgraph.arrows2.sharpArrow"};
  1443. mxShapeArrows2SharpArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=0.5*c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx2",this.dx2)))),g=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),h=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1)))),
  1444. k=0.5*c*Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),l=0;0!=c&&(l=h+2*f*k/c);a.begin();a.moveTo(0,d);a.lineTo(b-e,d);a.lineTo(b-l,0);a.lineTo(b-f,0);a.lineTo(b,0.5*c);a.lineTo(b-f,c);a.lineTo(b-l,c);a.lineTo(b-e,c-d);a.lineTo(0,c-d);a.lineTo(g,0.5*c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2SharpArrow.prototype.cst.SHARP_ARROW,mxShapeArrows2SharpArrow);mxShapeArrows2SharpArrow.prototype.constraints=null;
  1445. Graph.handleFactory[mxShapeArrows2SharpArrow.prototype.cst.SHARP_ARROW]=function(a){var d=[Graph.createHandle(a,["dx1","dy1"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)))),d=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))));return new mxPoint(a.x+a.width-c,a.y+d*a.height/2)},function(a,c){this.state.style.dx1=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",
  1446. this.notch)),a.x+a.width-c.x)))/100;this.state.style.dy1=Math.round(100*Math.max(0,Math.min(1,2*((c.y-a.y)/a.height))))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+c,a.y+a.height/2)},function(a,c){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)),c.x-a.x)))/100});d.push(e);a=Graph.createHandle(a,
  1447. ["dx2"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2))));return new mxPoint(a.x+a.width-c,a.y)},function(a,c){this.state.style.dx2=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),a.x+a.width-c.x)))/100});d.push(a);return d};
  1448. function mxShapeArrows2SharpArrow2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx3=this.dy3=this.dx2=this.dx1=this.dy1=0.5;this.notch=0}mxUtils.extend(mxShapeArrows2SharpArrow2,mxActor);mxShapeArrows2SharpArrow2.prototype.cst={SHARP_ARROW2:"mxgraph.arrows2.sharpArrow2"};
  1449. mxShapeArrows2SharpArrow2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=0.5*c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx2",this.dx2)))),g=0.5*c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy3",this.dy3)))),h=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx3",
  1450. this.dx3)))),k=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch))));Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1))));Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1))));a.begin();a.moveTo(0,d);a.lineTo(b-e,d);a.lineTo(b-h,g);a.lineTo(b-f,0);a.lineTo(b,0.5*c);a.lineTo(b-f,c);a.lineTo(b-h,c-g);a.lineTo(b-e,c-d);a.lineTo(0,c-d);a.lineTo(k,0.5*c);a.close();a.fillAndStroke()};
  1451. mxCellRenderer.registerShape(mxShapeArrows2SharpArrow2.prototype.cst.SHARP_ARROW2,mxShapeArrows2SharpArrow2);mxShapeArrows2SharpArrow2.prototype.constraints=null;
  1452. Graph.handleFactory[mxShapeArrows2SharpArrow2.prototype.cst.SHARP_ARROW2]=function(a){var d=[Graph.createHandle(a,["dx1","dy1"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)))),d=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))));return new mxPoint(a.x+a.width-c,a.y+d*a.height/2)},function(a,c){this.state.style.dx1=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,
  1453. "notch",this.notch)),a.x+a.width-c.x)))/100;this.state.style.dy1=Math.round(100*Math.max(0,Math.min(1,2*((c.y-a.y)/a.height))))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+c,a.y+a.height/2)},function(a,c){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)),c.x-a.x)))/100});d.push(e);e=Graph.createHandle(a,
  1454. ["dx2"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2))));return new mxPoint(a.x+a.width-c,a.y)},function(a,c){this.state.style.dx2=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),a.x+a.width-c.x)))/100});d.push(e);a=Graph.createHandle(a,["dx3","dy3"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx3",this.dx3)))),d=Math.max(0,Math.min(1-
  1455. parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))/2,parseFloat(mxUtils.getValue(this.state.style,"dy3",this.dy3))));return new mxPoint(a.x+a.width-c,a.y+d*a.height/2)},function(a,c){this.state.style.dx3=Math.round(100*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2)),Math.min(a.width,a.x+a.width-c.x)))/100;this.state.style.dy3=Math.round(100*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)),2*((c.y-a.y)/a.height))))/100});d.push(a);
  1456. return d};function mxShapeArrows2CalloutArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=this.notch=0}mxUtils.extend(mxShapeArrows2CalloutArrow,mxActor);mxShapeArrows2CalloutArrow.prototype.cst={CALLOUT_ARROW:"mxgraph.arrows2.calloutArrow"};
  1457. mxShapeArrows2CalloutArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),g=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead))));a.begin();a.moveTo(0,0);a.lineTo(f,0);a.lineTo(f,0.5*c-d);a.lineTo(b-
  1458. e,0.5*c-d);a.lineTo(b-e,0.5*c-d-g);a.lineTo(b,0.5*c);a.lineTo(b-e,0.5*c+d+g);a.lineTo(b-e,0.5*c+d);a.lineTo(f,0.5*c+d);a.lineTo(f,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2CalloutArrow.prototype.cst.CALLOUT_ARROW,mxShapeArrows2CalloutArrow);mxShapeArrows2CalloutArrow.prototype.constraints=null;
  1459. Graph.handleFactory[mxShapeArrows2CalloutArrow.prototype.cst.CALLOUT_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var c=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),d=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),c=Math.max(0,Math.min(a.height/2-c,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-d,a.y+a.height/2-c)},function(a,
  1460. c){this.state.style.dx=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),a.x+a.width-c.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),a.y+a.height/2-c.y)))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+c,a.y+a.height/
  1461. 2)},function(a,c){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),c.x-a.x)))/100});d.push(e);a=Graph.createHandle(a,["arrowHead"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),d=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)))),e=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",
  1462. this.arrowHead))));return new mxPoint(a.x+a.width-c,a.y+a.height/2-d-e)},function(a,c){this.state.style.arrowHead=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),a.y+a.height/2-parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))-c.y)))/100});d.push(a);return d};
  1463. function mxShapeArrows2BendArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.notch=0;this.arrowHead=40}mxUtils.extend(mxShapeArrows2BendArrow,mxActor);mxShapeArrows2BendArrow.prototype.cst={BEND_ARROW:"mxgraph.arrows2.bendArrow"};
  1464. mxShapeArrows2BendArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),g=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead)))),h=mxUtils.getValue(this.style,"rounded","0");a.begin();a.moveTo(b-e,0);
  1465. a.lineTo(b,0.5*g);a.lineTo(b-e,g);a.lineTo(b-e,g/2+d);"1"==h?(a.lineTo(2.2*d,g/2+d),a.arcTo(0.2*d,0.2*d,0,0,0,2*d,g/2+1.2*d)):a.lineTo(2*d,g/2+d);a.lineTo(2*d,c);a.lineTo(d,c-f);a.lineTo(0,c);"1"==h?(a.lineTo(0,g/2+d),a.arcTo(2*d,2*d,0,0,1,2*d,g/2-d)):a.lineTo(0,g/2-d);a.lineTo(b-e,g/2-d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2BendArrow.prototype.cst.BEND_ARROW,mxShapeArrows2BendArrow);mxShapeArrows2BendArrow.prototype.constraints=null;
  1466. Graph.handleFactory[mxShapeArrows2BendArrow.prototype.cst.BEND_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),d=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-d,a.y+c/2-e)},function(a,c){this.state.style.dx=
  1467. Math.round(100*Math.max(0,Math.min(a.width-2.2*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),a.x+a.width-c.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2,a.y+parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2-c.y)))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),
  1468. d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)))),c=Math.max(0,Math.min(a.height-c/2-d,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+d,a.y+a.height-c)},function(a,c){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.height-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2-parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),a.y+a.height-c.y)))/100});d.push(e);a=Graph.createHandle(a,
  1469. ["arrowHead"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),d=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-c,a.y+d)},function(a,c){this.state.style.arrowHead=Math.round(100*Math.max(2*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),Math.min(a.height,c.y-a.y)))/100});d.push(a);return d};
  1470. function mxShapeArrows2BendDoubleArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.notch=0;this.arrowHead=40}mxUtils.extend(mxShapeArrows2BendDoubleArrow,mxActor);mxShapeArrows2BendDoubleArrow.prototype.cst={BEND_DOUBLE_ARROW:"mxgraph.arrows2.bendDoubleArrow"};
  1471. mxShapeArrows2BendDoubleArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead)))),g=mxUtils.getValue(this.style,"rounded","0");a.begin();a.moveTo(b-e,0);a.lineTo(b,0.5*f);a.lineTo(b-e,f);a.lineTo(b-e,f/2+d);"1"==g?(a.lineTo(f/2+1.2*
  1472. d,f/2+d),a.arcTo(0.2*d,0.2*d,0,0,0,f/2+d,f/2+1.2*d)):a.lineTo(f/2+d,f/2+d);a.lineTo(f/2+d,c-e);a.lineTo(f,c-e);a.lineTo(f/2,c);a.lineTo(0,c-e);a.lineTo(f/2-d,c-e);"1"==g?(a.lineTo(f/2-d,f/2+d),a.arcTo(2*d,2*d,0,0,1,f/2+d,f/2-d)):a.lineTo(f/2-d,f/2-d);a.lineTo(b-e,f/2-d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2BendDoubleArrow.prototype.cst.BEND_DOUBLE_ARROW,mxShapeArrows2BendDoubleArrow);mxShapeArrows2BendDoubleArrow.prototype.constraints=null;
  1473. Graph.handleFactory[mxShapeArrows2BendDoubleArrow.prototype.cst.BEND_DOUBLE_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(Math.min(a.height,a.width)-parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),c=Math.max(0,Math.min(Math.min(a.width,a.height)-b,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.state.style,
  1474. "dy",this.dy))));return new mxPoint(a.x+a.width-c,a.y+b/2-d)},function(a,b){this.state.style.dx=Math.round(100*Math.max(0,Math.min(Math.min(a.width,a.height)-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),a.x+a.width-b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2,a.y+parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2-b.y)))/100})];a=Graph.createHandle(a,
  1475. ["arrowHead"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),c=Math.max(0,Math.min(Math.min(a.height,a.width)-b,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-b,a.y+c)},function(a,b){this.state.style.arrowHead=Math.round(100*Math.max(2*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),Math.min(Math.min(a.height,a.width)-parseFloat(mxUtils.getValue(this.state.style,"dx",
  1476. this.dx)),b.y-a.y)))/100});d.push(a);return d};function mxShapeArrows2CalloutDoubleArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=this.notch=0}mxUtils.extend(mxShapeArrows2CalloutDoubleArrow,mxActor);mxShapeArrows2CalloutDoubleArrow.prototype.cst={CALLOUT_DOUBLE_ARROW:"mxgraph.arrows2.calloutDoubleArrow"};
  1477. mxShapeArrows2CalloutDoubleArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),g=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead))));a.begin();a.moveTo(b/2-f,0);a.lineTo(b/2+f,0);a.lineTo(b/2+f,
  1478. 0.5*c-d);a.lineTo(b-e,0.5*c-d);a.lineTo(b-e,0.5*c-d-g);a.lineTo(b,0.5*c);a.lineTo(b-e,0.5*c+d+g);a.lineTo(b-e,0.5*c+d);a.lineTo(b/2+f,0.5*c+d);a.lineTo(b/2+f,c);a.lineTo(b/2-f,c);a.lineTo(b/2-f,0.5*c+d);a.lineTo(e,0.5*c+d);a.lineTo(e,0.5*c+d+g);a.lineTo(0,0.5*c);a.lineTo(e,0.5*c-d-g);a.lineTo(e,0.5*c-d);a.lineTo(b/2-f,0.5*c-d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2CalloutDoubleArrow.prototype.cst.CALLOUT_DOUBLE_ARROW,mxShapeArrows2CalloutDoubleArrow);
  1479. mxShapeArrows2CalloutDoubleArrow.prototype.constraints=null;
  1480. Graph.handleFactory[mxShapeArrows2CalloutDoubleArrow.prototype.cst.CALLOUT_DOUBLE_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var c=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),d=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),c=Math.max(0,Math.min(a.height/2-c,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-d,a.y+a.height/
  1481. 2-c)},function(a,c){this.state.style.dx=Math.round(100*Math.max(0,Math.min(a.width/2-parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),a.x+a.width-c.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),a.y+a.height/2-c.y)))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+
  1482. a.width/2+c,a.y+a.height/2)},function(a,c){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width/2-parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),c.x-a.x-a.width/2)))/100});d.push(e);a=Graph.createHandle(a,["arrowHead"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),d=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)))),e=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,
  1483. "arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-c,a.y+a.height/2-d-e)},function(a,c){this.state.style.arrowHead=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),a.y+a.height/2-parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))-c.y)))/100});d.push(a);return d};
  1484. function mxShapeArrows2CalloutQuadArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=this.notch=0}mxUtils.extend(mxShapeArrows2CalloutQuadArrow,mxActor);mxShapeArrows2CalloutQuadArrow.prototype.cst={CALLOUT_QUAD_ARROW:"mxgraph.arrows2.calloutQuadArrow"};
  1485. mxShapeArrows2CalloutQuadArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),g=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead))));a.begin();a.moveTo(0.5*b+d,0.5*c-f);a.lineTo(0.5*b+f,0.5*c-f);
  1486. a.lineTo(0.5*b+f,0.5*c-d);a.lineTo(b-e,0.5*c-d);a.lineTo(b-e,0.5*c-d-g);a.lineTo(b,0.5*c);a.lineTo(b-e,0.5*c+d+g);a.lineTo(b-e,0.5*c+d);a.lineTo(0.5*b+f,0.5*c+d);a.lineTo(0.5*b+f,0.5*c+f);a.lineTo(0.5*b+d,0.5*c+f);a.lineTo(0.5*b+d,c-e);a.lineTo(0.5*b+d+g,c-e);a.lineTo(0.5*b,c);a.lineTo(0.5*b-d-g,c-e);a.lineTo(0.5*b-d,c-e);a.lineTo(0.5*b-d,0.5*c+f);a.lineTo(0.5*b-f,0.5*c+f);a.lineTo(0.5*b-f,0.5*c+d);a.lineTo(e,0.5*c+d);a.lineTo(e,0.5*c+d+g);a.lineTo(0,0.5*c);a.lineTo(e,0.5*c-d-g);a.lineTo(e,0.5*c-
  1487. d);a.lineTo(0.5*b-f,0.5*c-d);a.lineTo(0.5*b-f,0.5*c-f);a.lineTo(0.5*b-d,0.5*c-f);a.lineTo(0.5*b-d,e);a.lineTo(0.5*b-d-g,e);a.lineTo(0.5*b,0);a.lineTo(0.5*b+d+g,e);a.lineTo(0.5*b+d,e);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2CalloutQuadArrow.prototype.cst.CALLOUT_QUAD_ARROW,mxShapeArrows2CalloutQuadArrow);mxShapeArrows2CalloutQuadArrow.prototype.constraints=null;
  1488. Graph.handleFactory[mxShapeArrows2CalloutQuadArrow.prototype.cst.CALLOUT_QUAD_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),d=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-c,a.y+a.height/2-d)},function(a,
  1489. c){this.state.style.dx=Math.round(100*Math.max(0,Math.min(Math.min(a.width,a.height)/2-Math.max(parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))),a.x+a.width-c.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),a.y+a.height/2-c.y)))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=Math.max(parseFloat(mxUtils.getValue(this.state.style,
  1490. "dy",this.dy)),Math.min(Math.min(a.width,a.height),parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+a.width/2+c,a.y+a.height/2)},function(a,c){this.state.style.notch=Math.round(100*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),Math.min(Math.min(a.width,a.height)/2-parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),c.x-a.x-a.width/2)))/100});d.push(e);a=Graph.createHandle(a,["arrowHead"],function(a){var c=Math.max(0,Math.min(a.width,
  1491. parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),d=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)))),e=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-c,a.y+a.height/2-d-e)},function(a,c){this.state.style.arrowHead=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),a.y+a.height/2-c.y)))/100});d.push(a);
  1492. return d};function mxShapeArrows2CalloutDouble90Arrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx1=this.dy1=0.5;this.arrowHead=this.dy2=this.dx2=0}mxUtils.extend(mxShapeArrows2CalloutDouble90Arrow,mxActor);mxShapeArrows2CalloutDouble90Arrow.prototype.cst={CALLOUT_DOUBLE_90_ARROW:"mxgraph.arrows2.calloutDouble90Arrow"};
  1493. mxShapeArrows2CalloutDouble90Arrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx2",this.dx2)))),g=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dy2",this.dy2)))),h=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",
  1494. this.arrowHead))));a.begin();a.moveTo(0,0);a.lineTo(f,0);a.lineTo(f,0.5*g-d);a.lineTo(b-e,0.5*g-d);a.lineTo(b-e,0.5*g-d-h);a.lineTo(b,0.5*g);a.lineTo(b-e,0.5*g+d+h);a.lineTo(b-e,0.5*g+d);a.lineTo(f,0.5*g+d);a.lineTo(f,g);a.lineTo(f/2+d,g);a.lineTo(f/2+d,c-e);a.lineTo(f/2+d+h,c-e);a.lineTo(f/2,c);a.lineTo(f/2-d-h,c-e);a.lineTo(f/2-d,c-e);a.lineTo(f/2-d,g);a.lineTo(0,g);a.close();a.fillAndStroke()};
  1495. mxCellRenderer.registerShape(mxShapeArrows2CalloutDouble90Arrow.prototype.cst.CALLOUT_DOUBLE_90_ARROW,mxShapeArrows2CalloutDouble90Arrow);mxShapeArrows2CalloutDouble90Arrow.prototype.constraints=null;
  1496. Graph.handleFactory[mxShapeArrows2CalloutDouble90Arrow.prototype.cst.CALLOUT_DOUBLE_90_ARROW]=function(a){var d=[Graph.createHandle(a,["dx1","dy1"],function(a){var c=Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),d=Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2)),parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)))),c=Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,
  1497. "dy2",this.dy2))/2-c,parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))));return new mxPoint(a.x+a.width-d,a.y+parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))/2-c)},function(a,c){this.state.style.dx1=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2)),a.height-parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2)),a.x+a.width-c.x)))/100;this.state.style.dy1=Math.round(100*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,
  1498. "dy2",this.dy2))/2-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),a.y+parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))/2-c.y)))/100})],e=Graph.createHandle(a,["dx2","dy2"],function(a){var c=Math.max(parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))+parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)),parseFloat(mxUtils.getValue(this.state.style,"dx2",
  1499. this.dx2)))),d=Math.max(parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))+parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),Math.min(a.height-parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)),parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))));return new mxPoint(a.x+c,a.y+d)},function(a,c){this.state.style.dx2=Math.round(100*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))+parseFloat(mxUtils.getValue(this.state.style,
  1500. "arrowHead",this.arrowHead)),Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)),c.x-a.x)))/100;this.state.style.dy2=Math.round(100*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))+parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),Math.min(a.height-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)),c.y-a.y)))/100});d.push(e);a=Graph.createHandle(a,["arrowHead"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,
  1501. "dx1",this.dx1)))),d=Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))/2,parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)))),e=Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-c,a.y+parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))/2-d-e)},function(a,c){this.state.style.arrowHead=Math.round(100*Math.max(0,
  1502. Math.min(parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))/2-parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)),a.y+parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))/2-parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))-c.y)))/100});d.push(a);return d};function mxShapeArrows2QuadArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=this.notch=0}
  1503. mxUtils.extend(mxShapeArrows2QuadArrow,mxActor);mxShapeArrows2QuadArrow.prototype.cst={QUAD_ARROW:"mxgraph.arrows2.quadArrow"};
  1504. mxShapeArrows2QuadArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead))));a.begin();a.moveTo(0.5*b+d,0.5*c-d);a.lineTo(b-e,0.5*c-d);a.lineTo(b-e,0.5*c-d-f);a.lineTo(b,0.5*c);a.lineTo(b-e,0.5*c+d+f);a.lineTo(b-e,0.5*c+d);a.lineTo(0.5*
  1505. b+d,0.5*c+d);a.lineTo(0.5*b+d,c-e);a.lineTo(0.5*b+d+f,c-e);a.lineTo(0.5*b,c);a.lineTo(0.5*b-d-f,c-e);a.lineTo(0.5*b-d,c-e);a.lineTo(0.5*b-d,0.5*c+d);a.lineTo(e,0.5*c+d);a.lineTo(e,0.5*c+d+f);a.lineTo(0,0.5*c);a.lineTo(e,0.5*c-d-f);a.lineTo(e,0.5*c-d);a.lineTo(0.5*b-d,0.5*c-d);a.lineTo(0.5*b-d,e);a.lineTo(0.5*b-d-f,e);a.lineTo(0.5*b,0);a.lineTo(0.5*b+d+f,e);a.lineTo(0.5*b+d,e);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2QuadArrow.prototype.cst.QUAD_ARROW,mxShapeArrows2QuadArrow);
  1506. mxShapeArrows2QuadArrow.prototype.constraints=null;
  1507. Graph.handleFactory[mxShapeArrows2QuadArrow.prototype.cst.QUAD_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),c=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-b,a.y+a.height/2-c)},function(a,b){this.state.style.dx=
  1508. Math.round(100*Math.max(0,Math.min(Math.min(a.width,a.height)/2-parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),a.x+a.width-b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),a.y+a.height/2-b.y)))/100})];a=Graph.createHandle(a,["arrowHead"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,
  1509. "dx",this.dx)))),c=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)))),d=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-b,a.y+a.height/2-c-d)},function(a,b){this.state.style.arrowHead=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),a.y+a.height/2-b.y)))/100});d.push(a);return d};
  1510. function mxShapeArrows2TriadArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=0}mxUtils.extend(mxShapeArrows2TriadArrow,mxActor);mxShapeArrows2TriadArrow.prototype.cst={TRIAD_ARROW:"mxgraph.arrows2.triadArrow"};
  1511. mxShapeArrows2TriadArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead))));a.begin();a.moveTo(0.5*b+0.5*f-d,c-f+d);a.lineTo(b-e,c-f+d);a.lineTo(b-e,c-f);a.lineTo(b,c-0.5*f);a.lineTo(b-e,c);a.lineTo(b-e,c-d);a.lineTo(e,c-d);a.lineTo(e,
  1512. c);a.lineTo(0,c-0.5*f);a.lineTo(e,c-f);a.lineTo(e,c-f+d);a.lineTo(0.5*b-0.5*f+d,c-f+d);a.lineTo(0.5*b-0.5*f+d,e);a.lineTo(0.5*b-0.5*f,e);a.lineTo(0.5*b,0);a.lineTo(0.5*b+0.5*f,e);a.lineTo(0.5*b+0.5*f-d,e);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2TriadArrow.prototype.cst.TRIAD_ARROW,mxShapeArrows2TriadArrow);mxShapeArrows2TriadArrow.prototype.constraints=null;
  1513. Graph.handleFactory[mxShapeArrows2TriadArrow.prototype.cst.TRIAD_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),b=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-c,a.y+a.height-b)},function(a,b){this.state.style.dx=
  1514. Math.round(100*Math.max(0,Math.min(Math.min(a.height-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),a.width/2-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2),a.x+a.width-b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2,a.y+a.height-b.y)))/100})];a=Graph.createHandle(a,["arrowHead"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,
  1515. "dx",this.dx))));Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));var c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-b,a.y+a.height-c)},function(a,b){this.state.style.arrowHead=Math.round(100*Math.max(2*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),Math.min(a.height-parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),a.width-2*parseFloat(mxUtils.getValue(this.state.style,
  1516. "dx",this.dx)),a.y+a.height-b.y)))/100});d.push(a);return d};function mxShapeArrows2TailedArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=this.notch=0}mxUtils.extend(mxShapeArrows2TailedArrow,mxActor);mxShapeArrows2TailedArrow.prototype.cst={TAILED_ARROW:"mxgraph.arrows2.tailedArrow"};
  1517. mxShapeArrows2TailedArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1))));var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy2",this.dy2)))),g=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx2",this.dx2)))),h=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),
  1518. k=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead)))),l=0;0!=f&&(l=g+f*(f-d)/f);a.begin();a.moveTo(0,0.5*c-f);a.lineTo(g,0.5*c-f);a.lineTo(l,0.5*c-d);a.lineTo(b-e,0.5*c-d);a.lineTo(b-e,0.5*c-d-k);a.lineTo(b,0.5*c);a.lineTo(b-e,0.5*c+d+k);a.lineTo(b-e,0.5*c+d);a.lineTo(l,0.5*c+d);a.lineTo(g,0.5*c+f);a.lineTo(0,0.5*c+f);a.lineTo(h,0.5*c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2TailedArrow.prototype.cst.TAILED_ARROW,mxShapeArrows2TailedArrow);
  1519. mxShapeArrows2TailedArrow.prototype.constraints=null;
  1520. Graph.handleFactory[mxShapeArrows2TailedArrow.prototype.cst.TAILED_ARROW]=function(a){var d=[Graph.createHandle(a,["dx1","dy1"],function(a){var c=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),d=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)))),c=Math.max(0,Math.min(a.height/2-c,parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))));return new mxPoint(a.x+a.width-d,a.y+a.height/2-c)},function(a,
  1521. c){this.state.style.dx1=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),a.width-parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2)),a.x+a.width-c.x)))/100;this.state.style.dy1=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2)),a.y+a.height/2-c.y)))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=
  1522. Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+c,a.y+a.height/2)},function(a,c){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)),parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2)),c.x-a.x)))/100});d.push(e);e=Graph.createHandle(a,["arrowHead"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx1",
  1523. this.dx1)))),d=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)))),e=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-c,a.y+a.height/2-d-e)},function(a,c){this.state.style.arrowHead=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)),a.y+a.height/2-c.y)))/100});d.push(e);a=Graph.createHandle(a,["dx2","dy2"],function(a){var c=
  1524. Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2)))),d=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))));return new mxPoint(a.x+c,a.y+a.height/2-d)},function(a,c){this.state.style.dx2=Math.round(100*Math.max(parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch)),Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1))-parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))+parseFloat(mxUtils.getValue(this.state.style,
  1525. "dy1",this.dy1))-1,c.x-a.x)))/100;this.state.style.dy2=Math.round(100*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)),Math.min(a.height/2,a.y+a.height/2-c.y)))/100});d.push(a);return d};function mxShapeArrows2TailedNotchedArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=this.notch=0}mxUtils.extend(mxShapeArrows2TailedNotchedArrow,mxActor);mxShapeArrows2TailedNotchedArrow.prototype.cst={TAILED_NOTCHED_ARROW:"mxgraph.arrows2.tailedNotchedArrow"};
  1526. mxShapeArrows2TailedNotchedArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1))));var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy2",this.dy2)))),g=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx2",this.dx2)))),h=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch)))),
  1527. k=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead)))),l=0;0!=f&&(l=g+h*(f-d)/f);a.begin();a.moveTo(0,0.5*c-f);a.lineTo(g,0.5*c-f);a.lineTo(l,0.5*c-d);a.lineTo(b-e,0.5*c-d);a.lineTo(b-e,0.5*c-d-k);a.lineTo(b,0.5*c);a.lineTo(b-e,0.5*c+d+k);a.lineTo(b-e,0.5*c+d);a.lineTo(l,0.5*c+d);a.lineTo(g,0.5*c+f);a.lineTo(0,0.5*c+f);a.lineTo(h,0.5*c);a.close();a.fillAndStroke()};
  1528. mxCellRenderer.registerShape(mxShapeArrows2TailedNotchedArrow.prototype.cst.TAILED_NOTCHED_ARROW,mxShapeArrows2TailedNotchedArrow);mxShapeArrows2TailedNotchedArrow.prototype.constraints=null;
  1529. Graph.handleFactory[mxShapeArrows2TailedNotchedArrow.prototype.cst.TAILED_NOTCHED_ARROW]=function(a){var d=[Graph.createHandle(a,["dx1","dy1"],function(a){var c=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),d=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)))),c=Math.max(0,Math.min(a.height/2-c,parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1))));return new mxPoint(a.x+a.width-d,a.y+a.height/
  1530. 2-c)},function(a,c){this.state.style.dx1=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))-parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2)),a.x+a.width-c.x)))/100;this.state.style.dy1=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)),parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2)),a.y+a.height/2-c.y)))/100})],e=Graph.createHandle(a,["notch"],function(a){var c=
  1531. Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+c,a.y+a.height/2)},function(a,c){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)),c.x-a.x)))/100});d.push(e);e=Graph.createHandle(a,["arrowHead"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)))),d=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,
  1532. "dy1",this.dy1)))),e=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-c,a.y+a.height/2-d-e)},function(a,c){this.state.style.arrowHead=Math.round(100*Math.max(0,Math.min(a.height/2-parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)),a.y+a.height/2-c.y)))/100});d.push(e);a=Graph.createHandle(a,["dx2","dy2"],function(a){var c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx2",
  1533. this.dx2)))),d=Math.max(0,Math.min(a.height/2,parseFloat(mxUtils.getValue(this.state.style,"dy2",this.dy2))));return new mxPoint(a.x+c,a.y+a.height/2-d)},function(a,c){this.state.style.dx2=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))-parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1)),c.x-a.x)))/100;this.state.style.dy2=Math.round(100*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dy1",this.dy1)),Math.min(a.height/2,
  1534. a.y+a.height/2-c.y)))/100});d.push(a);return d};function mxShapeArrows2StripedArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.notch=0}mxUtils.extend(mxShapeArrows2StripedArrow,mxActor);mxShapeArrows2StripedArrow.prototype.cst={STRIPED_ARROW:"mxgraph.arrows2.stripedArrow"};
  1535. mxShapeArrows2StripedArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=0.5*c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"notch",this.notch))));a.begin();a.moveTo(f,d);a.lineTo(b-e,d);a.lineTo(b-e,0);a.lineTo(b,0.5*c);a.lineTo(b-e,c);a.lineTo(b-e,c-d);a.lineTo(f,c-d);a.close();a.moveTo(0,c-d);a.lineTo(0.16*
  1536. f,c-d);a.lineTo(0.16*f,d);a.lineTo(0,d);a.close();a.moveTo(0.32*f,c-d);a.lineTo(0.8*f,c-d);a.lineTo(0.8*f,d);a.lineTo(0.32*f,d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2StripedArrow.prototype.cst.STRIPED_ARROW,mxShapeArrows2StripedArrow);mxShapeArrows2StripedArrow.prototype.constraints=null;
  1537. Graph.handleFactory[mxShapeArrows2StripedArrow.prototype.cst.STRIPED_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),c=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-b,a.y+c*a.height/2)},function(a,b){this.state.style.dx=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"notch",
  1538. this.notch)),a.x+a.width-b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,2*((b.y-a.y)/a.height))))/100})];a=Graph.createHandle(a,["notch"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"notch",this.notch))));return new mxPoint(a.x+b,a.y+a.height/2)},function(a,b){this.state.style.notch=Math.round(100*Math.max(0,Math.min(a.width-parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)),b.x-a.x)))/100});d.push(a);return d};
  1539. function mxShapeArrows2JumpInArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=40}mxUtils.extend(mxShapeArrows2JumpInArrow,mxActor);mxShapeArrows2JumpInArrow.prototype.cst={JUMP_IN_ARROW:"mxgraph.arrows2.jumpInArrow"};
  1540. mxShapeArrows2JumpInArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead))));a.begin();a.moveTo(b-e,0);a.lineTo(b,0.5*f);a.lineTo(b-e,f);a.lineTo(b-e,f/2+d);a.arcTo(b-e,c-f/2-d,0,0,0,0,c);a.arcTo(b-e,c-f/2+d,0,0,1,b-e,f/2-d);a.close();
  1541. a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2JumpInArrow.prototype.cst.JUMP_IN_ARROW,mxShapeArrows2JumpInArrow);mxShapeArrows2JumpInArrow.prototype.constraints=null;
  1542. Graph.handleFactory[mxShapeArrows2JumpInArrow.prototype.cst.JUMP_IN_ARROW]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),c=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width-c,a.y+b/2-d)},function(a,b){this.state.style.dx=
  1543. Math.round(100*Math.max(0,Math.min(a.width,a.x+a.width-b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2,a.y+parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2-b.y)))/100})];a=Graph.createHandle(a,["arrowHead"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,
  1544. "arrowHead",this.arrowHead))));return new mxPoint(a.x+a.width-b,a.y+c)},function(a,b){this.state.style.arrowHead=Math.round(100*Math.max(2*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),Math.min(a.height,b.y-a.y)))/100});d.push(a);return d};function mxShapeArrows2UTurnArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.arrowHead=40}mxUtils.extend(mxShapeArrows2UTurnArrow,mxActor);
  1545. mxShapeArrows2UTurnArrow.prototype.cst={U_TURN_ARROW:"mxgraph.arrows2.uTurnArrow"};
  1546. mxShapeArrows2UTurnArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"arrowHead",this.arrowHead))));var f=(c-e/2+d)/2,g=Math.max(0,parseFloat(mxUtils.getValue(this.style,"dx2",this.dx2)));a.begin();a.moveTo(f,0);a.lineTo(f+g,0.5*e);a.lineTo(f,e);a.lineTo(f,e/2+d);a.arcTo(f-2*d,f-2*d,0,0,0,f,c-2*d);a.lineTo(Math.max(b,f),c-2*d);a.lineTo(Math.max(b,
  1547. f),c);a.lineTo(f,c);a.arcTo(f,f,0,0,1,f,e/2-d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeArrows2UTurnArrow.prototype.cst.U_TURN_ARROW,mxShapeArrows2UTurnArrow);mxShapeArrows2UTurnArrow.prototype.constraints=null;
  1548. Graph.handleFactory[mxShapeArrows2UTurnArrow.prototype.cst.U_TURN_ARROW]=function(a){var d=[Graph.createHandle(a,["dy"],function(a){var c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+(a.height-c/2+d)/2,a.y+c/2-d)},function(a,c){this.state.style.dy=Math.round(100*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"arrowHead",
  1549. this.arrowHead))/2,a.y+parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead))/2-c.y)))/100})],e=Graph.createHandle(a,["dx2"],function(a){var c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)))),d=(a.height-c/2+d)/2,e=Math.max(0,Math.min(a.width-d,parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx2))));return new mxPoint(a.x+d+e,a.y+
  1550. c/2)},function(a,c){var d=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),e=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)))),d=(a.height-d/2+e)/2;this.state.style.dx2=Math.round(100*Math.max(0,Math.min(Math.max(a.width,d),c.x-a.x-d)))/100});d.push(e);a=Graph.createHandle(a,["arrowHead"],function(a){var c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))),
  1551. d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+(a.height-c/2+d)/2,a.y+c)},function(a,c){this.state.style.arrowHead=Math.round(100*Math.max(2*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy)),Math.min(a.height/2,c.y-a.y)))/100});d.push(a);return d};function mxShapeBasicCross(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=0.5}mxUtils.extend(mxShapeBasicCross,mxActor);
  1552. mxShapeBasicCross.prototype.cst={CROSS:"mxgraph.basic.cross2"};
  1553. mxShapeBasicCross.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));a.begin();a.moveTo(0.5*b+d,0);a.lineTo(0.5*b+d,0.5*c-d);a.lineTo(b,0.5*c-d);a.lineTo(b,0.5*c+d);a.lineTo(0.5*b+d,0.5*c+d);a.lineTo(0.5*b+d,c);a.lineTo(0.5*b-d,c);a.lineTo(0.5*b-d,0.5*c+d);a.lineTo(0,0.5*c+d);a.lineTo(0,0.5*c-d);a.lineTo(0.5*b-d,0.5*c-d);a.lineTo(0.5*b-d,0);a.close();a.fillAndStroke()};
  1554. mxCellRenderer.registerShape(mxShapeBasicCross.prototype.cst.CROSS,mxShapeBasicCross);mxShapeBasicCross.prototype.constraints=null;
  1555. Graph.handleFactory[mxShapeBasicCross.prototype.cst.CROSS]=function(a){return[Graph.createHandle(a,["dx"],function(a){var e=Math.max(0,Math.min(a.width/2,a.width/2,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx))));return new mxPoint(a.x+a.width/2+e,a.y+a.height/2-e)},function(a,e){this.state.style.dx=Math.round(100*Math.max(0,Math.min(a.height/2,a.width/2,e.x-a.x-a.width/2)))/100})]};
  1556. function mxShapeBasicRectCallout(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5}mxUtils.extend(mxShapeBasicRectCallout,mxActor);mxShapeBasicRectCallout.prototype.cst={RECT_CALLOUT:"mxgraph.basic.rectCallout"};
  1557. mxShapeBasicRectCallout.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.begin();a.moveTo(d-0.5*e,c-e);a.lineTo(0,c-e);a.lineTo(0,0);a.lineTo(b,0);a.lineTo(b,c-e);a.lineTo(d+0.5*e,c-e);a.lineTo(d-e,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeBasicRectCallout.prototype.cst.RECT_CALLOUT,mxShapeBasicRectCallout);
  1558. mxShapeBasicRectCallout.prototype.constraints=null;
  1559. Graph.handleFactory[mxShapeBasicRectCallout.prototype.cst.RECT_CALLOUT]=function(a){return[Graph.createHandle(a,["dx","dy"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+e,a.y+a.height-b)},function(a,e){var b=0.6*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy));this.state.style.dx=Math.round(100*Math.max(b,Math.min(a.width-
  1560. b,e.x-a.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(a.height,a.y+a.height-e.y)))/100})]};function mxShapeBasicRoundRectCallout(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx=this.dy=0.5;this.size=10}mxUtils.extend(mxShapeBasicRoundRectCallout,mxActor);mxShapeBasicRoundRectCallout.prototype.cst={ROUND_RECT_CALLOUT:"mxgraph.basic.roundRectCallout"};
  1561. mxShapeBasicRoundRectCallout.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),f=Math.min((c-e)/2,b/2,f);d=Math.max(f+0.5*e,d);d=Math.min(b-f-0.5*e,d);a.begin();a.moveTo(d-0.5*e,c-e);a.lineTo(f,c-e);a.arcTo(f,f,0,0,1,0,c-e-f);a.lineTo(0,f);
  1562. a.arcTo(f,f,0,0,1,f,0);a.lineTo(b-f,0);a.arcTo(f,f,0,0,1,b,f);a.lineTo(b,c-e-f);a.arcTo(f,f,0,0,1,b-f,c-e);a.lineTo(d+0.5*e,c-e);a.arcTo(1.9*e,1.4*e,0,0,1,d-e,c);a.arcTo(0.9*e,1.4*e,0,0,0,d-0.5*e,c-e);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeBasicRoundRectCallout.prototype.cst.ROUND_RECT_CALLOUT,mxShapeBasicRoundRectCallout);mxShapeBasicRoundRectCallout.prototype.constraints=null;
  1563. Graph.handleFactory[mxShapeBasicRoundRectCallout.prototype.cst.ROUND_RECT_CALLOUT]=function(a){var d=[Graph.createHandle(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx",this.dx)))),c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+b,a.y+a.height-c)},function(a,b){var c=0.6*parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy));this.state.style.dx=Math.round(100*Math.max(c,
  1564. Math.min(a.width-c,b.x-a.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(a.height,a.y+a.height-b.y)))/100})];a=Graph.createHandle(a,["size"],function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(a.x+a.width-b,a.y+10)},function(a,b){var c=parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy));this.state.style.size=Math.round(100*Math.max(0,Math.min(a.width/2,(a.height-c)/2,a.x+a.width-b.x)))/100});d.push(a);
  1565. return d};function mxShapeBasicWave(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dy=0.5}mxUtils.extend(mxShapeBasicWave,mxActor);mxShapeBasicWave.prototype.cst={WAVE:"mxgraph.basic.wave2"};
  1566. mxShapeBasicWave.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=c*Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.begin();a.moveTo(0,d/2);a.quadTo(b/6,d*(1-1.4),b/3,d/2);a.quadTo(b/2,1.4*d,2*b/3,d/2);a.quadTo(5*b/6,d*(1-1.4),b,d/2);a.lineTo(b,c-d/2);a.quadTo(5*b/6,c-1.4*d,2*b/3,c-d/2);a.quadTo(b/2,c-d*(1-1.4),b/3,c-d/2);a.quadTo(b/6,c-1.4*d,0,c-d/2);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeBasicWave.prototype.cst.WAVE,mxShapeBasicWave);
  1567. mxShapeBasicWave.prototype.constraints=null;Graph.handleFactory[mxShapeBasicWave.prototype.cst.WAVE]=function(a){return[Graph.createHandle(a,["dy"],function(a){var e=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dy",this.dy))));return new mxPoint(a.x+a.width/2,a.y+e*a.height)},function(a,e){this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,(e.y-a.y)/a.height)))/100})]};
  1568. function mxShapeBootstrapRRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapRRect,mxShape);mxShapeBootstrapRRect.prototype.cst={PACKAGE:"mxgraph.bootstrap.rrect",R_SIZE:"rSize"};mxShapeBootstrapRRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeBootstrapRRect.prototype.cst.R_SIZE,"10"));a.roundrect(0,0,b,c,d);a.fillAndStroke()};
  1569. mxCellRenderer.registerShape(mxShapeBootstrapRRect.prototype.cst.PACKAGE,mxShapeBootstrapRRect);function mxShapeBootstrapTopButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapTopButton,mxShape);mxShapeBootstrapTopButton.prototype.cst={TOP_BUTTON:"mxgraph.bootstrap.topButton",R_SIZE:"rSize"};
  1570. mxShapeBootstrapTopButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeBootstrapTopButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeBootstrapTopButton.prototype.cst.TOP_BUTTON,mxShapeBootstrapTopButton);
  1571. function mxShapeBootstrapBottomButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapBottomButton,mxShape);mxShapeBootstrapBottomButton.prototype.cst={BOTTOM_BUTTON:"mxgraph.bootstrap.bottomButton",R_SIZE:"rSize"};
  1572. mxShapeBootstrapBottomButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeBootstrapBottomButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c-d);a.arcTo(d,d,0,0,1,b-d,c);a.lineTo(d,c);a.arcTo(d,d,0,0,1,0,c-d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeBootstrapBottomButton.prototype.cst.BOTTOM_BUTTON,mxShapeBootstrapBottomButton);
  1573. function mxShapeBootstrapRightButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapRightButton,mxShape);mxShapeBootstrapRightButton.prototype.cst={RIGHT_BUTTON:"mxgraph.bootstrap.rightButton",R_SIZE:"rSize"};
  1574. mxShapeBootstrapRightButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeBootstrapRightButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(0,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c-d);a.arcTo(d,d,0,0,1,b-d,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeBootstrapRightButton.prototype.cst.RIGHT_BUTTON,mxShapeBootstrapRightButton);
  1575. function mxShapeBootstrapLeftButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapLeftButton,mxShape);mxShapeBootstrapLeftButton.prototype.cst={LEFT_BUTTON:"mxgraph.bootstrap.leftButton",R_SIZE:"rSize"};
  1576. mxShapeBootstrapLeftButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeBootstrapLeftButton.prototype.cst.R_SIZE,"10"));a.begin();a.moveTo(b,0);a.lineTo(b,c);a.lineTo(d,c);a.arcTo(d,d,0,0,1,0,c-d);a.lineTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeBootstrapLeftButton.prototype.cst.LEFT_BUTTON,mxShapeBootstrapLeftButton);
  1577. function mxShapeBootstrapLeftButtonStriped(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapLeftButtonStriped,mxShape);mxShapeBootstrapLeftButtonStriped.prototype.cst={LEFT_BUTTON_STRIPED:"mxgraph.bootstrap.leftButtonStriped"};
  1578. mxShapeBootstrapLeftButtonStriped.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);rSize=5;a.begin();a.moveTo(b,0);a.lineTo(b,c);a.lineTo(rSize,c);a.arcTo(rSize,rSize,0,0,1,0,c-rSize);a.lineTo(0,rSize);a.arcTo(rSize,rSize,0,0,1,rSize,0);a.close();a.fill();a.setAlpha("0.2");d=0.5*c;a.setFillColor("#ffffff");a.begin();a.moveTo(0,0.75*c);a.lineTo(0,0.25*c);a.lineTo(0.75*c,c);a.lineTo(0.25*c,c);a.close();a.fill();e=!1;for(var f=0.5*d;!e;)a.begin(),a.moveTo(f,0),f+d>=b?(a.lineTo(b,0),a.lineTo(b,
  1579. b-f)):(a.lineTo(f+d,0),f+d+c>b?(a.lineTo(b,b-f-d),b-f>c?(a.lineTo(b,c),a.lineTo(f+c,c)):a.lineTo(b,b-f)):(a.lineTo(f+d+c,c),a.lineTo(f+c,c))),a.close(),a.fill(),f+=2*d,f>b&&(e=!0)};mxCellRenderer.registerShape(mxShapeBootstrapLeftButtonStriped.prototype.cst.LEFT_BUTTON_STRIPED,mxShapeBootstrapLeftButtonStriped);function mxShapeBootstrapRoundedButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapRoundedButton,mxShape);
  1580. mxShapeBootstrapRoundedButton.prototype.cst={ROUNDED_BUTTON:"mxgraph.bootstrap.roundedButton"};mxShapeBootstrapRoundedButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);b>c?(d=0.5*c,a.begin(),a.moveTo(b-d,0),a.arcTo(d,d,0,0,1,b-d,c),a.lineTo(d,c),a.arcTo(d,d,0,0,1,d,0)):(d=0.5*b,a.begin(),a.moveTo(0,c-d),a.arcTo(d,d,0,0,0,b,c-d),a.lineTo(b,d),a.arcTo(d,d,0,0,0,0,d));a.close();a.fillAndStroke()};
  1581. mxCellRenderer.registerShape(mxShapeBootstrapRoundedButton.prototype.cst.ROUNDED_BUTTON,mxShapeBootstrapRoundedButton);function mxShapeBootstrapArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapArrow,mxShape);mxShapeBootstrapArrow.prototype.cst={ARROW:"mxgraph.bootstrap.arrow"};
  1582. mxShapeBootstrapArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.moveTo(0.9*b,0);a.lineTo(b,0.5*c);a.lineTo(0.9*b,c);a.stroke()};mxCellRenderer.registerShape(mxShapeBootstrapArrow.prototype.cst.ARROW,mxShapeBootstrapArrow);function mxShapeBootstrapTabTop(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapTabTop,mxShape);
  1583. mxShapeBootstrapTabTop.prototype.cst={TAB_TOP:"mxgraph.bootstrap.tabTop",R_SIZE:"rSize"};
  1584. mxShapeBootstrapTabTop.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseInt(mxUtils.getValue(this.style,mxShapeBootstrapTopButton.prototype.cst.R_SIZE,"10"));e=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");a.setStrokeColor(f);a.begin();a.moveTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c);a.lineTo(0,c);a.close();a.fillAndStroke();a.setStrokeColor(e);
  1585. a.begin();a.moveTo(0,c);a.lineTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c);a.stroke()};mxCellRenderer.registerShape(mxShapeBootstrapTabTop.prototype.cst.TAB_TOP,mxShapeBootstrapTabTop);function mxShapeBootstrapImage(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapImage,mxShape);mxShapeBootstrapImage.prototype.cst={IMAGE:"mxgraph.bootstrap.image",R_SIZE:"rSize"};
  1586. mxShapeBootstrapImage.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.max(0,parseInt(mxUtils.getValue(this.style,mxShapeBootstrapTopButton.prototype.cst.R_SIZE,"10")));mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");a.begin();a.moveTo(0,d);a.arcTo(d,d,0,0,1,d,0);a.lineTo(b-d,0);a.arcTo(d,d,0,0,1,b,d);a.lineTo(b,c-d);a.arcTo(d,d,0,0,1,b-d,c);a.lineTo(d,c);a.arcTo(d,d,0,0,1,0,c-d);a.close();
  1587. a.stroke();e=0.5*d;a.translate(e,e);b=Math.max(0,b-d);c=Math.max(0,c-d);a.begin();a.moveTo(0,e);a.arcTo(e,e,0,0,1,e,0);a.lineTo(b-e,0);a.arcTo(e,e,0,0,1,b,e);a.lineTo(b,c-e);a.arcTo(e,e,0,0,1,b-e,c);a.lineTo(e,c);a.arcTo(e,e,0,0,1,0,c-e);a.close();a.fill()};mxCellRenderer.registerShape(mxShapeBootstrapImage.prototype.cst.IMAGE,mxShapeBootstrapImage);function mxShapeBootstrapCheckbox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1588. mxUtils.extend(mxShapeBootstrapCheckbox,mxShape);mxShapeBootstrapCheckbox.prototype.cst={CHECKBOX:"mxgraph.bootstrap.checkbox"};mxShapeBootstrapCheckbox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.roundrect(0,0,b,c,3,3);a.stroke();a.setStrokeWidth("3");a.begin();a.moveTo(0.8*b,0.2*c);a.lineTo(0.4*b,0.8*c);a.lineTo(0.25*b,0.6*c);a.stroke()};mxCellRenderer.registerShape(mxShapeBootstrapCheckbox.prototype.cst.CHECKBOX,mxShapeBootstrapCheckbox);
  1589. function mxShapeBootstrapRadioButton(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapRadioButton,mxShape);mxShapeBootstrapRadioButton.prototype.cst={RADIO_BUTTON:"mxgraph.bootstrap.radioButton"};
  1590. mxShapeBootstrapRadioButton.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.ellipse(0,0,b,c);a.stroke();a.setFillColor(d);a.ellipse(0.25*b,0.25*c,0.5*b,0.5*c);a.fill()};mxCellRenderer.registerShape(mxShapeBootstrapRadioButton.prototype.cst.RADIO_BUTTON,mxShapeBootstrapRadioButton);
  1591. function mxShapeBootstrapHorLines(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapHorLines,mxShape);mxShapeBootstrapHorLines.prototype.cst={HOR_LINES:"mxgraph.bootstrap.horLines"};mxShapeBootstrapHorLines.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fill();a.begin();a.moveTo(0,0);a.lineTo(b,0);a.moveTo(0,c);a.lineTo(b,c);a.stroke()};
  1592. mxCellRenderer.registerShape(mxShapeBootstrapHorLines.prototype.cst.HOR_LINES,mxShapeBootstrapHorLines);function mxShapeBootstrapUserTwo(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeBootstrapUserTwo,mxShape);mxShapeBootstrapUserTwo.prototype.cst={USER2:"mxgraph.bootstrap.user2"};
  1593. mxShapeBootstrapUserTwo.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0.95*c);a.arcTo(0.3*b,0.3*c,0,0,1,0.02*b,0.87*c);a.arcTo(0.1*b,0.1*c,0,0,1,0.08*b,0.812*c);a.arcTo(3*b,3*c,0,0,1,0.29*b,0.732*c);a.arcTo(0.15*b,0.15*c,0,0,0,0.385*b,0.607*c);a.arcTo(0.11*b,0.11*c,0,0,0,0.355*b,0.53*c);a.arcTo(0.3*b,0.3*c,0,0,1,0.305*b,0.44*c);a.arcTo(0.33*b,0.38*c,0,0,1,0.312*b,0.15*c);a.arcTo(0.218*b,0.218*c,0,0,1,0.688*b,0.15*c);a.arcTo(0.33*b,0.38*c,0,0,1,0.693*b,0.44*c);
  1594. a.arcTo(0.25*b,0.25*c,0,0,1,0.645*b,0.53*c);a.arcTo(0.1*b,0.1*c,0,0,0,0.612*b,0.6*c);a.arcTo(0.15*b,0.15*c,0,0,0,0.7*b,0.726*c);a.arcTo(3*b,3*c,0,0,1,0.92*b,0.812*c);a.arcTo(0.1*b,0.1*c,0,0,1,0.97*b,0.865*c);a.arcTo(0.2*b,0.2*c,0,0,1,0.995*b,0.952*c);a.close();a.fill()};mxCellRenderer.registerShape(mxShapeBootstrapUserTwo.prototype.cst.USER2,mxShapeBootstrapUserTwo);function mxShapeBootstrapRating(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1595. mxUtils.extend(mxShapeBootstrapRating,mxShape);mxShapeBootstrapRating.prototype.cst={RATING:"mxgraph.bootstrap.rating",RATING_STYLE:"ratingStyle",RATING_SCALE:"ratingScale",RATING_HEART:"heart",RATING_STAR:"star",EMPTY_FILL_COLOR:"emptyFillColor",GRADE:"grade"};
  1596. mxShapeBootstrapRating.prototype.paintVertexShape=function(a,d,e,b,c){b=mxUtils.getValue(this.style,mxShapeBootstrapRating.prototype.cst.RATING_STYLE,mxShapeBootstrapRating.prototype.cst.RATING_STAR);var f=mxUtils.getValue(this.style,mxShapeBootstrapRating.prototype.cst.GRADE,"5"),g=mxUtils.getValue(this.style,mxShapeBootstrapRating.prototype.cst.RATING_SCALE,"10");a.translate(d,e);if(b===mxShapeBootstrapRating.prototype.cst.RATING_STAR)for(d=0;d<f;d++)a.begin(),a.moveTo(1.2*d*c,0.33*c),a.lineTo(1.2*
  1597. d*c+0.364*c,0.33*c),a.lineTo(1.2*d*c+0.475*c,0),a.lineTo(1.2*d*c+0.586*c,0.33*c),a.lineTo(1.2*d*c+0.95*c,0.33*c),a.lineTo(1.2*d*c+0.66*c,0.551*c),a.lineTo(1.2*d*c+0.775*c,0.9*c),a.lineTo(1.2*d*c+0.475*c,0.684*c),a.lineTo(1.2*d*c+0.175*c,0.9*c),a.lineTo(1.2*d*c+0.29*c,0.551*c),a.close(),a.fillAndStroke();else if(b===mxShapeBootstrapRating.prototype.cst.RATING_HEART)for(d=0;d<f;d++)a.begin(),a.moveTo(1.2*d*c+0.519*c,0.947*c),a.curveTo(1.2*d*c+0.558*c,0.908*c,1.5*d*c+0.778*c,0.682*c,1.5*d*c+0.916*c,
  1598. 0.54*c),a.curveTo(1.2*d*c+1.039*c,0.414*c,1.5*d*c+1.036*c,0.229*c,1.5*d*c+0.924*c,0.115*c),a.curveTo(1.2*d*c+0.812*c,0,1.5*d*c+0.631*c,0,1.5*d*c+0.519*c,0.115*c),a.curveTo(1.2*d*c+0.408*c,0,1.5*d*c+0.227*c,0,1.5*d*c+0.115*c,0.115*c),a.curveTo(1.2*d*c+0.03*c,0.229*c,1.5*d*c,0.414*c,1.5*d*c+0.123*c,0.54*c),a.close(),a.fillAndStroke();d=mxUtils.getValue(this.style,mxShapeBootstrapRating.prototype.cst.EMPTY_FILL_COLOR,"#ffffff");a.setFillColor(d);if(b===mxShapeBootstrapRating.prototype.cst.RATING_STAR)for(d=
  1599. f;d<g;d++)a.begin(),a.moveTo(1.2*d*c,0.33*c),a.lineTo(1.2*d*c+0.364*c,0.33*c),a.lineTo(1.2*d*c+0.475*c,0),a.lineTo(1.2*d*c+0.586*c,0.33*c),a.lineTo(1.2*d*c+0.95*c,0.33*c),a.lineTo(1.2*d*c+0.66*c,0.551*c),a.lineTo(1.2*d*c+0.775*c,0.9*c),a.lineTo(1.2*d*c+0.475*c,0.684*c),a.lineTo(1.2*d*c+0.175*c,0.9*c),a.lineTo(1.2*d*c+0.29*c,0.551*c),a.close(),a.fillAndStroke();else if(b===mxShapeBootstrapRating.prototype.cst.RATING_HEART)for(d=f;d<g;d++)a.begin(),a.moveTo(1.2*d*c+0.519*c,0.947*c),a.curveTo(1.2*d*
  1600. c+0.558*c,0.908*c,1.5*d*c+0.778*c,0.682*c,1.5*d*c+0.916*c,0.54*c),a.curveTo(1.2*d*c+1.039*c,0.414*c,1.5*d*c+1.036*c,0.229*c,1.5*d*c+0.924*c,0.115*c),a.curveTo(1.2*d*c+0.812*c,0,1.5*d*c+0.631*c,0,1.5*d*c+0.519*c,0.115*c),a.curveTo(1.2*d*c+0.408*c,0,1.5*d*c+0.227*c,0,1.5*d*c+0.115*c,0.115*c),a.curveTo(1.2*d*c+0.03*c,0.229*c,1.5*d*c,0.414*c,1.5*d*c+0.123*c,0.54*c),a.close(),a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeBootstrapRating.prototype.cst.RATING]=mxShapeBootstrapRating;
  1601. function mxShapeBoostrapAnchor(a,d,e,b){mxShape.call(this);this.bounds=a}mxUtils.extend(mxShapeBoostrapAnchor,mxShape);mxShapeBoostrapAnchor.prototype.cst={ANCHOR:"mxgraph.bootstrap.anchor"};mxShapeBoostrapAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeBoostrapAnchor.prototype.cst.ANCHOR,mxShapeBoostrapAnchor);function mxCabinetsCabinet(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1602. mxUtils.extend(mxCabinetsCabinet,mxShape);mxCabinetsCabinet.prototype.cst={HAS_STAND:"hasStand",CABINET:"mxgraph.cabinets.cabinet"};mxCabinetsCabinet.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);this.foreground(a,0,0,b,c)};mxCabinetsCabinet.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};
  1603. mxCabinetsCabinet.prototype.foreground=function(a,d,e,b,c){a.rect(0,0,b,15);a.stroke();a.begin();a.moveTo(15,15);a.lineTo(15,c);a.moveTo(b-15,15);a.lineTo(b-15,c);a.stroke();1===mxUtils.getValue(this.style,mxCabinetsCabinet.prototype.cst.HAS_STAND,"1")?a.rect(0,c-40,b,40):a.rect(0,c-15,b,15);a.fillAndStroke()};mxCellRenderer.registerShape(mxCabinetsCabinet.prototype.cst.CABINET,mxCabinetsCabinet);
  1604. function mxCabinetsCoverPlate(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxCabinetsCoverPlate,mxShape);mxCabinetsCoverPlate.prototype.cst={COVER_PLATE:"mxgraph.cabinets.coverPlate"};mxCabinetsCoverPlate.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,0,0,b,c);a.setShadow(!1);this.foreground(a,0,0,b,c)};
  1605. mxCabinetsCoverPlate.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.close();a.moveTo(10,0.5*c-12.5);a.lineTo(10,0.5*c+12.5);a.lineTo(b-10,0.5*c+12.5);a.lineTo(b-10,0.5*c-12.5);a.close();a.fillAndStroke()};mxCabinetsCoverPlate.prototype.foreground=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxCabinetsCoverPlate.prototype.cst.COVER_PLATE,mxCabinetsCoverPlate);
  1606. function mxCabinetsDimension(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxCabinetsDimension,mxShape);mxCabinetsDimension.prototype.cst={DIMENSION:"mxgraph.cabinets.dimension"};mxCabinetsDimension.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1607. mxCabinetsDimension.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,20);a.lineTo(b,20);a.moveTo(10,15);a.lineTo(0,20);a.lineTo(10,25);a.moveTo(b-10,15);a.lineTo(b,20);a.lineTo(b-10,25);a.moveTo(0,15);a.lineTo(0,c);a.moveTo(b,15);a.lineTo(b,c);a.stroke()};mxCellRenderer.registerShape(mxCabinetsDimension.prototype.cst.DIMENSION,mxCabinetsDimension);function mxCabinetsDimensionBottom(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1608. mxUtils.extend(mxCabinetsDimensionBottom,mxShape);mxCabinetsDimensionBottom.prototype.cst={DIMENSION:"mxgraph.cabinets.dimensionBottom"};mxCabinetsDimensionBottom.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1609. mxCabinetsDimensionBottom.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,c-20);a.lineTo(b,c-20);a.moveTo(10,c-15);a.lineTo(0,c-20);a.lineTo(10,c-25);a.moveTo(b-10,c-15);a.lineTo(b,c-20);a.lineTo(b-10,c-25);a.moveTo(0,c-15);a.lineTo(0,0);a.moveTo(b,c-15);a.lineTo(b,0);a.stroke()};mxCellRenderer.registerShape(mxCabinetsDimensionBottom.prototype.cst.DIMENSION,mxCabinetsDimensionBottom);
  1610. function mxShapeEipMessageExpiration(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeEipMessageExpiration,mxShape);mxShapeEipMessageExpiration.prototype.cst={SHAPE_MESS_EXP:"mxgraph.eip.messExp"};mxShapeEipMessageExpiration.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1611. mxShapeEipMessageExpiration.prototype.background=function(a,d,e,b,c){a.ellipse(0,0,b,c);a.stroke();a.setStrokeColor("#808080");a.begin();a.moveTo(0.5*b,0.1*c);a.lineTo(0.5*b,0.5*c);a.lineTo(0.6*b,0.8*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeEipMessageExpiration.prototype.cst.SHAPE_MESS_EXP]=mxShapeEipMessageExpiration;function mxShapeEipReturnAddress(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1612. mxUtils.extend(mxShapeEipReturnAddress,mxShape);mxShapeEipReturnAddress.prototype.cst={SHAPE_RET_ADDR:"mxgraph.eip.retAddr"};mxShapeEipReturnAddress.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeEipReturnAddress.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};
  1613. mxShapeEipReturnAddress.prototype.foreground=function(a,d,e,b,c){a.begin();a.moveTo(0.05*b,0.11*c);a.lineTo(0.25*b,0.11*c);a.moveTo(0.05*b,0.18*c);a.lineTo(0.25*b,0.18*c);a.moveTo(0.05*b,0.25*c);a.lineTo(0.25*b,0.25*c);a.setStrokeWidth(2);a.moveTo(0.3*b,0.63*c);a.lineTo(0.8*b,0.63*c);a.moveTo(0.3*b,0.72*c);a.lineTo(0.8*b,0.72*c);a.moveTo(0.3*b,0.8*c);a.lineTo(0.8*b,0.8*c);a.stroke();a.setFillColor("#EDEDED");a.rect(0.8*b,0.1*c,0.12*b,0.19*c);a.fillAndStroke()};
  1614. mxCellRenderer.prototype.defaultShapes[mxShapeEipReturnAddress.prototype.cst.SHAPE_RET_ADDR]=mxShapeEipReturnAddress;function mxShapeEipAnchor(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeEipAnchor,mxShape);mxShapeEipAnchor.prototype.cst={SHAPE_ANCHOR:"mxgraph.eip.anchor"};mxShapeEipAnchor.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.prototype.defaultShapes[mxShapeEipAnchor.prototype.cst.SHAPE_ANCHOR]=mxShapeEipAnchor;
  1615. function mxShapeEipMessageChannel(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeEipMessageChannel,mxShape);mxShapeEipMessageChannel.prototype.cst={SHAPE_MESSAGE_CHANNEL:"mxgraph.eip.messageChannel"};mxShapeEipMessageChannel.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1616. mxShapeEipMessageChannel.prototype.background=function(a,d,e,b,c){a.setGradient("#e6e6e6","#808080",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(8,0.5*c+10);a.arcTo(12,12,0,0,1,8,0.5*c-10);a.lineTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.close();a.fillAndStroke()};mxShapeEipMessageChannel.prototype.foreground=function(a,d,e,b,c){a.setFillColor("#e6e6e6");a.begin();a.moveTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.arcTo(12,12,0,0,1,b-8,0.5*c-10);a.fillAndStroke()};
  1617. mxCellRenderer.prototype.defaultShapes[mxShapeEipMessageChannel.prototype.cst.SHAPE_MESSAGE_CHANNEL]=mxShapeEipMessageChannel;
  1618. mxShapeEipMessageChannel.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.05,0),!0),new mxConnectionConstraint(new mxPoint(0.1,0),!0),new mxConnectionConstraint(new mxPoint(0.15,0),!0),new mxConnectionConstraint(new mxPoint(0.2,0),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.3,0),!0),new mxConnectionConstraint(new mxPoint(0.35,0),!0),
  1619. new mxConnectionConstraint(new mxPoint(0.4,0),!0),new mxConnectionConstraint(new mxPoint(0.45,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.55,0),!0),new mxConnectionConstraint(new mxPoint(0.6,0),!0),new mxConnectionConstraint(new mxPoint(0.65,0),!0),new mxConnectionConstraint(new mxPoint(0.7,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0.8,0),!0),new mxConnectionConstraint(new mxPoint(0.85,0),
  1620. !0),new mxConnectionConstraint(new mxPoint(0.9,0),!0),new mxConnectionConstraint(new mxPoint(0.95,0),!0),new mxConnectionConstraint(new mxPoint(0.05,1),!0),new mxConnectionConstraint(new mxPoint(0.1,1),!0),new mxConnectionConstraint(new mxPoint(0.15,1),!0),new mxConnectionConstraint(new mxPoint(0.2,1),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.3,1),!0),new mxConnectionConstraint(new mxPoint(0.35,1),!0),new mxConnectionConstraint(new mxPoint(0.4,
  1621. 1),!0),new mxConnectionConstraint(new mxPoint(0.45,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.55,1),!0),new mxConnectionConstraint(new mxPoint(0.6,1),!0),new mxConnectionConstraint(new mxPoint(0.65,1),!0),new mxConnectionConstraint(new mxPoint(0.7,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0),new mxConnectionConstraint(new mxPoint(0.8,1),!0),new mxConnectionConstraint(new mxPoint(0.85,1),!0),new mxConnectionConstraint(new mxPoint(0.9,
  1622. 1),!0),new mxConnectionConstraint(new mxPoint(0.95,1),!0)];function mxShapeEipDatatypeChannel(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeEipDatatypeChannel,mxShape);mxShapeEipDatatypeChannel.prototype.cst={SHAPE_DATATYPE_CHANNEL:"mxgraph.eip.dataChannel"};mxShapeEipDatatypeChannel.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1623. mxShapeEipDatatypeChannel.prototype.background=function(a,d,e,b,c){a.setGradient("#e6e6e6","#808080",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(8,0.5*c+10);a.arcTo(12,12,0,0,1,8,0.5*c-10);a.lineTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.close();a.fillAndStroke()};
  1624. mxShapeEipDatatypeChannel.prototype.foreground=function(a,d,e,b,c){a.setFillColor("#e6e6e6");a.begin();a.moveTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.arcTo(12,12,0,0,1,b-8,0.5*c-10);a.fillAndStroke();a.setFillColor("#fffbc0");a.setStrokeWidth("1");for(d=1;20*d+10<b-14;d++)a.rect(20*d,0.5*c-5,10,10),a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeEipDatatypeChannel.prototype.cst.SHAPE_DATATYPE_CHANNEL]=mxShapeEipDatatypeChannel;
  1625. mxShapeEipDatatypeChannel.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.05,0),!0),new mxConnectionConstraint(new mxPoint(0.1,0),!0),new mxConnectionConstraint(new mxPoint(0.15,0),!0),new mxConnectionConstraint(new mxPoint(0.2,0),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.3,0),!0),new mxConnectionConstraint(new mxPoint(0.35,0),!0),
  1626. new mxConnectionConstraint(new mxPoint(0.4,0),!0),new mxConnectionConstraint(new mxPoint(0.45,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.55,0),!0),new mxConnectionConstraint(new mxPoint(0.6,0),!0),new mxConnectionConstraint(new mxPoint(0.65,0),!0),new mxConnectionConstraint(new mxPoint(0.7,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0.8,0),!0),new mxConnectionConstraint(new mxPoint(0.85,0),
  1627. !0),new mxConnectionConstraint(new mxPoint(0.9,0),!0),new mxConnectionConstraint(new mxPoint(0.95,0),!0),new mxConnectionConstraint(new mxPoint(0.05,1),!0),new mxConnectionConstraint(new mxPoint(0.1,1),!0),new mxConnectionConstraint(new mxPoint(0.15,1),!0),new mxConnectionConstraint(new mxPoint(0.2,1),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.3,1),!0),new mxConnectionConstraint(new mxPoint(0.35,1),!0),new mxConnectionConstraint(new mxPoint(0.4,
  1628. 1),!0),new mxConnectionConstraint(new mxPoint(0.45,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.55,1),!0),new mxConnectionConstraint(new mxPoint(0.6,1),!0),new mxConnectionConstraint(new mxPoint(0.65,1),!0),new mxConnectionConstraint(new mxPoint(0.7,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0),new mxConnectionConstraint(new mxPoint(0.8,1),!0),new mxConnectionConstraint(new mxPoint(0.85,1),!0),new mxConnectionConstraint(new mxPoint(0.9,
  1629. 1),!0),new mxConnectionConstraint(new mxPoint(0.95,1),!0)];function mxShapeEipDeadLetterChannel(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeEipDeadLetterChannel,mxShape);mxShapeEipDeadLetterChannel.prototype.cst={SHAPE_DEAD_LETTER_CHANNEL:"mxgraph.eip.deadLetterChannel"};
  1630. mxShapeEipDeadLetterChannel.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeEipDeadLetterChannel.prototype.background=function(a,d,e,b,c){a.setGradient("#e6e6e6","#808080",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(8,0.5*c+10);a.arcTo(12,12,0,0,1,8,0.5*c-10);a.lineTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.close();a.fillAndStroke()};
  1631. mxShapeEipDeadLetterChannel.prototype.foreground=function(a,d,e,b,c){a.setFillColor("#e6e6e6");a.begin();a.moveTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.arcTo(12,12,0,0,1,b-8,0.5*c-10);a.fillAndStroke();a.setFillColor("#ff0000");a.setStrokeWidth("1");a.begin();a.moveTo(0.5*b-6,0.5*c-3);a.lineTo(0.5*b-3,0.5*c-6);a.lineTo(0.5*b+3,0.5*c-6);a.lineTo(0.5*b+6,0.5*c-3);a.lineTo(0.5*b+6,0.5*c+3);a.lineTo(0.5*b+3,0.5*c+6);a.lineTo(0.5*b-3,0.5*c+6);a.lineTo(0.5*b-6,0.5*c+3);a.close();a.fillAndStroke();
  1632. a.setStrokeWidth("2");a.setStrokeColor("#ffffff");a.begin();a.moveTo(0.5*b-4,0.5*c);a.lineTo(0.5*b+4,0.5*c);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeEipDeadLetterChannel.prototype.cst.SHAPE_DEAD_LETTER_CHANNEL]=mxShapeEipDeadLetterChannel;
  1633. mxShapeEipDeadLetterChannel.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.05,0),!0),new mxConnectionConstraint(new mxPoint(0.1,0),!0),new mxConnectionConstraint(new mxPoint(0.15,0),!0),new mxConnectionConstraint(new mxPoint(0.2,0),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.3,0),!0),new mxConnectionConstraint(new mxPoint(0.35,0),
  1634. !0),new mxConnectionConstraint(new mxPoint(0.4,0),!0),new mxConnectionConstraint(new mxPoint(0.45,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.55,0),!0),new mxConnectionConstraint(new mxPoint(0.6,0),!0),new mxConnectionConstraint(new mxPoint(0.65,0),!0),new mxConnectionConstraint(new mxPoint(0.7,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0.8,0),!0),new mxConnectionConstraint(new mxPoint(0.85,
  1635. 0),!0),new mxConnectionConstraint(new mxPoint(0.9,0),!0),new mxConnectionConstraint(new mxPoint(0.95,0),!0),new mxConnectionConstraint(new mxPoint(0.05,1),!0),new mxConnectionConstraint(new mxPoint(0.1,1),!0),new mxConnectionConstraint(new mxPoint(0.15,1),!0),new mxConnectionConstraint(new mxPoint(0.2,1),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.3,1),!0),new mxConnectionConstraint(new mxPoint(0.35,1),!0),new mxConnectionConstraint(new mxPoint(0.4,
  1636. 1),!0),new mxConnectionConstraint(new mxPoint(0.45,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.55,1),!0),new mxConnectionConstraint(new mxPoint(0.6,1),!0),new mxConnectionConstraint(new mxPoint(0.65,1),!0),new mxConnectionConstraint(new mxPoint(0.7,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0),new mxConnectionConstraint(new mxPoint(0.8,1),!0),new mxConnectionConstraint(new mxPoint(0.85,1),!0),new mxConnectionConstraint(new mxPoint(0.9,
  1637. 1),!0),new mxConnectionConstraint(new mxPoint(0.95,1),!0)];function mxShapeEipInvalidMessageChannel(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeEipInvalidMessageChannel,mxShape);mxShapeEipInvalidMessageChannel.prototype.cst={SHAPE_INVALID_MESSAGE_CHANNEL:"mxgraph.eip.invalidMessageChannel"};
  1638. mxShapeEipInvalidMessageChannel.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeEipInvalidMessageChannel.prototype.background=function(a,d,e,b,c){a.setGradient("#e6e6e6","#808080",0,0,b,c,mxConstants.DIRECTION_SOUTH,1,1);a.begin();a.moveTo(8,0.5*c+10);a.arcTo(12,12,0,0,1,8,0.5*c-10);a.lineTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.close();a.fillAndStroke()};
  1639. mxShapeEipInvalidMessageChannel.prototype.foreground=function(a,d,e,b,c){a.setFillColor("#e6e6e6");a.begin();a.moveTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.arcTo(12,12,0,0,1,b-8,0.5*c-10);a.fillAndStroke();a.setFillColor("#ffe040");a.setStrokeWidth("1");a.begin();a.moveTo(0.5*b-6,0.5*c+5);a.lineTo(0.5*b,0.5*c-5);a.lineTo(0.5*b+6,0.5*c+5);a.close();a.fillAndStroke();a.setStrokeWidth("1");a.begin();a.moveTo(0.5*b,0.5*c-2);a.lineTo(0.5*b,0.5*c+2);a.moveTo(0.5*b,0.5*c+3);a.lineTo(0.5*b,0.5*
  1640. c+4);a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeEipInvalidMessageChannel.prototype.cst.SHAPE_INVALID_MESSAGE_CHANNEL]=mxShapeEipInvalidMessageChannel;
  1641. mxShapeEipInvalidMessageChannel.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.05,0),!0),new mxConnectionConstraint(new mxPoint(0.1,0),!0),new mxConnectionConstraint(new mxPoint(0.15,0),!0),new mxConnectionConstraint(new mxPoint(0.2,0),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.3,0),!0),new mxConnectionConstraint(new mxPoint(0.35,
  1642. 0),!0),new mxConnectionConstraint(new mxPoint(0.4,0),!0),new mxConnectionConstraint(new mxPoint(0.45,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.55,0),!0),new mxConnectionConstraint(new mxPoint(0.6,0),!0),new mxConnectionConstraint(new mxPoint(0.65,0),!0),new mxConnectionConstraint(new mxPoint(0.7,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0.8,0),!0),new mxConnectionConstraint(new mxPoint(0.85,
  1643. 0),!0),new mxConnectionConstraint(new mxPoint(0.9,0),!0),new mxConnectionConstraint(new mxPoint(0.95,0),!0),new mxConnectionConstraint(new mxPoint(0.05,1),!0),new mxConnectionConstraint(new mxPoint(0.1,1),!0),new mxConnectionConstraint(new mxPoint(0.15,1),!0),new mxConnectionConstraint(new mxPoint(0.2,1),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.3,1),!0),new mxConnectionConstraint(new mxPoint(0.35,1),!0),new mxConnectionConstraint(new mxPoint(0.4,
  1644. 1),!0),new mxConnectionConstraint(new mxPoint(0.45,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.55,1),!0),new mxConnectionConstraint(new mxPoint(0.6,1),!0),new mxConnectionConstraint(new mxPoint(0.65,1),!0),new mxConnectionConstraint(new mxPoint(0.7,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0),new mxConnectionConstraint(new mxPoint(0.8,1),!0),new mxConnectionConstraint(new mxPoint(0.85,1),!0),new mxConnectionConstraint(new mxPoint(0.9,
  1645. 1),!0),new mxConnectionConstraint(new mxPoint(0.95,1),!0)];function mxFloorplanWall(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanWall,mxShape);mxFloorplanWall.prototype.cst={WALL:"mxgraph.floorplan.wall",WALL_THICKNESS:"wallThickness"};mxFloorplanWall.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1646. mxFloorplanWall.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxFloorplanWall.prototype.cst.WALL_THICKNESS,"10"));a.rect(0,0.5*c-0.5*d,b,d);a.fillAndStroke()};mxCellRenderer.registerShape(mxFloorplanWall.prototype.cst.WALL,mxFloorplanWall);function mxFloorplanWallCorner(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanWallCorner,mxShape);
  1647. mxFloorplanWallCorner.prototype.cst={WALL_CORNER:"mxgraph.floorplan.wallCorner",WALL_THICKNESS:"wallThickness"};mxFloorplanWallCorner.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};mxFloorplanWallCorner.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxFloorplanWallCorner.prototype.cst.WALL_THICKNESS,"10"));a.begin();a.moveTo(0,c);a.lineTo(0,0);a.lineTo(b,0);a.lineTo(b,d);a.lineTo(d,d);a.lineTo(d,c);a.close();a.fillAndStroke()};
  1648. mxCellRenderer.registerShape(mxFloorplanWallCorner.prototype.cst.WALL_CORNER,mxFloorplanWallCorner);function mxFloorplanWallU(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanWallU,mxShape);mxFloorplanWallU.prototype.cst={WALL_U:"mxgraph.floorplan.wallU",WALL_THICKNESS:"wallThickness"};mxFloorplanWallU.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1649. mxFloorplanWallU.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxFloorplanWallU.prototype.cst.WALL_THICKNESS,"10"));a.begin();a.moveTo(0,c);a.lineTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(b-d,c);a.lineTo(b-d,d);a.lineTo(d,d);a.lineTo(d,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxFloorplanWallU.prototype.cst.WALL_U,mxFloorplanWallU);
  1650. function mxFloorplanRoom(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanRoom,mxShape);mxFloorplanRoom.prototype.cst={ROOM:"mxgraph.floorplan.room",WALL_THICKNESS:"wallThickness"};mxFloorplanRoom.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1651. mxFloorplanRoom.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxFloorplanRoom.prototype.cst.WALL_THICKNESS,"10"));a.begin();a.moveTo(0,c);a.lineTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.close();a.moveTo(d,d);a.lineTo(d,c-d);a.lineTo(b-d,c-d);a.lineTo(b-d,d);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxFloorplanRoom.prototype.cst.ROOM,mxFloorplanRoom);
  1652. function mxFloorplanWindow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanWindow,mxShape);mxFloorplanWindow.prototype.cst={WINDOW:"mxgraph.floorplan.window",WALL_THICKNESS:"wallThickness"};mxFloorplanWindow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1653. mxFloorplanWindow.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxFloorplanWindow.prototype.cst.WALL_THICKNESS,"10"));a.rect(0,0.5*c-0.5*d,b,d);a.fillAndStroke();a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke()};mxCellRenderer.registerShape(mxFloorplanWindow.prototype.cst.WINDOW,mxFloorplanWindow);function mxFloorplanDimension(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1654. mxUtils.extend(mxFloorplanDimension,mxShape);mxFloorplanDimension.prototype.cst={DIMENSION:"mxgraph.floorplan.dimension"};mxFloorplanDimension.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};mxFloorplanDimension.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,20);a.lineTo(b,20);a.moveTo(10,15);a.lineTo(0,20);a.lineTo(10,25);a.moveTo(b-10,15);a.lineTo(b,20);a.lineTo(b-10,25);a.moveTo(0,15);a.lineTo(0,c);a.moveTo(b,15);a.lineTo(b,c);a.stroke()};
  1655. mxCellRenderer.registerShape(mxFloorplanDimension.prototype.cst.DIMENSION,mxFloorplanDimension);function mxFloorplanDimensionBottom(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanDimensionBottom,mxShape);mxFloorplanDimensionBottom.prototype.cst={DIMENSION:"mxgraph.floorplan.dimensionBottom"};mxFloorplanDimensionBottom.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1656. mxFloorplanDimensionBottom.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,c-20);a.lineTo(b,c-20);a.moveTo(10,c-15);a.lineTo(0,c-20);a.lineTo(10,c-25);a.moveTo(b-10,c-15);a.lineTo(b,c-20);a.lineTo(b-10,c-25);a.moveTo(0,c-15);a.lineTo(0,0);a.moveTo(b,c-15);a.lineTo(b,0);a.stroke()};mxCellRenderer.registerShape(mxFloorplanDimensionBottom.prototype.cst.DIMENSION,mxFloorplanDimensionBottom);
  1657. function mxFloorplanStairs(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanStairs,mxShape);mxFloorplanStairs.prototype.cst={STAIRS:"mxgraph.floorplan.stairs"};mxFloorplanStairs.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);b=Math.max(b,50);this.background(a,d,e,b,c)};
  1658. mxFloorplanStairs.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();for(d=25;d<b;d+=25)a.moveTo(d,0),a.lineTo(d,c);a.stroke();a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.moveTo(b-25,0);a.lineTo(b,0.5*c);a.lineTo(b-25,c);a.stroke()};mxCellRenderer.registerShape(mxFloorplanStairs.prototype.cst.STAIRS,mxFloorplanStairs);
  1659. function mxFloorplanStairsRest(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanStairsRest,mxShape);mxFloorplanStairsRest.prototype.cst={STAIRS:"mxgraph.floorplan.stairsRest"};mxFloorplanStairsRest.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=Math.max(b,50,c);Math.min(b,c);this.background(a,d,e,f,c)};
  1660. mxFloorplanStairsRest.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();for(d=25;d<b-0.5*c;d+=25)a.moveTo(d,0),a.lineTo(d,c);a.stroke();a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.moveTo(b,0);a.lineTo(b-0.5*c,0.5*c);a.lineTo(b,c);a.moveTo(b-0.5*c,0);a.lineTo(b-0.5*c,c);a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke()};mxCellRenderer.registerShape(mxFloorplanStairsRest.prototype.cst.STAIRS,mxFloorplanStairsRest);
  1661. function mxFloorplanStairsRest(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanStairsRest,mxShape);mxFloorplanStairsRest.prototype.cst={STAIRS:"mxgraph.floorplan.stairsRest"};mxFloorplanStairsRest.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=Math.max(b,50,c);Math.min(b,c);this.background(a,d,e,f,c)};
  1662. mxFloorplanStairsRest.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();for(d=25;d<b-0.5*c;d+=25)a.moveTo(d,0),a.lineTo(d,c);a.stroke();a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.moveTo(b,0);a.lineTo(b-0.5*c,0.5*c);a.lineTo(b,c);a.moveTo(b-0.5*c,0);a.lineTo(b-0.5*c,c);a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke()};mxCellRenderer.registerShape(mxFloorplanStairsRest.prototype.cst.STAIRS,mxFloorplanStairsRest);
  1663. function mxFloorplanDoorLeft(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanDoorLeft,mxShape);mxFloorplanDoorLeft.prototype.cst={DOOR_LEFT:"mxgraph.floorplan.doorLeft"};mxFloorplanDoorLeft.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1664. mxFloorplanDoorLeft.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,5);a.fillAndStroke();a.begin();a.moveTo(b,5);a.arcTo(b,b,0,0,1,0,5+b);a.lineTo(0,5);a.stroke()};mxCellRenderer.registerShape(mxFloorplanDoorLeft.prototype.cst.DOOR_LEFT,mxFloorplanDoorLeft);function mxFloorplanDoorRight(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanDoorRight,mxShape);mxFloorplanDoorRight.prototype.cst={DOOR_RIGHT:"mxgraph.floorplan.doorRight"};
  1665. mxFloorplanDoorRight.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};mxFloorplanDoorRight.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,5);a.fillAndStroke();a.begin();a.moveTo(0,5);a.arcTo(b,b,0,0,0,b,5+b);a.lineTo(b,5);a.stroke()};mxCellRenderer.registerShape(mxFloorplanDoorRight.prototype.cst.DOOR_RIGHT,mxFloorplanDoorRight);
  1666. function mxFloorplanDoorDouble(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxFloorplanDoorDouble,mxShape);mxFloorplanDoorDouble.prototype.cst={DOOR_DOUBLE:"mxgraph.floorplan.doorDouble"};mxFloorplanDoorDouble.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1667. mxFloorplanDoorDouble.prototype.background=function(a,d,e,b,c){d=0.5*b;a.rect(0,0,b,5);a.fillAndStroke();a.begin();a.moveTo(d,0);a.lineTo(d,5);a.moveTo(d,5);a.arcTo(d,d,0,0,1,0,5+d);a.lineTo(0,5);a.moveTo(d,5);a.arcTo(d,d,0,0,0,b,5+d);a.lineTo(b,5);a.stroke()};mxCellRenderer.registerShape(mxFloorplanDoorDouble.prototype.cst.DOOR_DOUBLE,mxFloorplanDoorDouble);function mxShapeGmdlPlayer(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1668. mxUtils.extend(mxShapeGmdlPlayer,mxShape);mxShapeGmdlPlayer.prototype.cst={SHAPE_PLAYER:"mxgraph.gmdl.player"};mxShapeGmdlPlayer.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.rect(0,0,b,c);a.fill();a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1669. mxShapeGmdlPlayer.prototype.foreground=function(a,d,e,b,c){4<=c&&(a.setFillColor("#FFED00"),a.begin(),a.rect(0,0,0.8*b,4),a.fill());14<=c&&33<=b&&(a.setFillColor("#717171"),a.begin(),a.rect(b-33,0.5*c-7,4,14),a.fill(),a.begin(),a.rect(b-25,0.5*c-7,4,14),a.fill())};mxCellRenderer.prototype.defaultShapes[mxShapeGmdlPlayer.prototype.cst.SHAPE_PLAYER]=mxShapeGmdlPlayer;function mxShapeGmdlSwitch(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1670. mxUtils.extend(mxShapeGmdlSwitch,mxShape);mxShapeGmdlSwitch.prototype.cst={SHAPE_SWITCH:"mxgraph.gmdl.switch",STATE:"switchState",STATE_ON:"on",STATE_OFF:"off"};mxShapeGmdlSwitch.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=mxUtils.getValue(this.style,mxShapeGmdlSwitch.prototype.cst.STATE,mxShapeGmdlSwitch.prototype.cst.STATE_ON);this.background(a,d,e,b,c,f);a.setShadow(!0);this.foreground(a,d,e,b,c,f)};
  1671. mxShapeGmdlSwitch.prototype.background=function(a,d,e,b,c,f){a.begin();f===mxShapeGmdlSwitch.prototype.cst.STATE_ON?(a.save(),a.setAlpha("0.5"),a.moveTo(0.135*b,0.8*c),a.arcTo(0.135*b,0.3*c,0,0,1,0.135*b,0.2*c),a.lineTo(0.675*b,0.2*c),a.arcTo(0.135*b,0.3*c,0,0,1,0.675*b,0.8*c),a.close(),a.fillAndStroke(),a.restore()):(a.setFillColor("#BCBBBB"),a.moveTo(0.225*b,0.8*c),a.arcTo(0.135*b,0.3*c,0,0,1,0.225*b,0.2*c),a.lineTo(0.865*b,0.2*c),a.arcTo(0.135*b,0.3*c,0,0,1,0.865*b,0.8*c),a.close(),a.fillAndStroke())};
  1672. mxShapeGmdlSwitch.prototype.foreground=function(a,d,e,b,c,f){a.begin();f===mxShapeGmdlSwitch.prototype.cst.STATE_ON?a.ellipse(0.36*b,0,0.64*b,c):(a.setFillColor("#F1F1F1"),a.ellipse(0,0,0.64*b,c));a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeGmdlSwitch.prototype.cst.SHAPE_SWITCH]=mxShapeGmdlSwitch;function mxShapeGmdlMarginRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeGmdlMarginRect,mxShape);
  1673. mxShapeGmdlMarginRect.prototype.cst={SHAPE_MARGIN_RECT:"mxgraph.gmdl.marginRect",MARGIN:"rectMargin",MARGIN_TOP:"rectMarginTop",MARGIN_LEFT:"rectMarginLeft",MARGIN_BOTTOM:"rectMarginBottom",MARGIN_RIGHT:"rectMarginRight"};mxShapeGmdlMarginRect.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};
  1674. mxShapeGmdlMarginRect.prototype.background=function(a,d,e,b,c,f){d=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlMarginRect.prototype.cst.MARGIN,"0"));var g=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlMarginRect.prototype.cst.MARGIN_TOP,"0"));f=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlMarginRect.prototype.cst.MARGIN_LEFT,"0"));e=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlMarginRect.prototype.cst.MARGIN_BOTTOM,"0"));var h=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlMarginRect.prototype.cst.MARGIN_RIGHT,
  1675. "0"));f=d+f;g=d+g;b=b-h-f-d;c=c-e-g-d;0<b&&0<c&&(a.begin(),a.rect(f,g,b,c),a.fillAndStroke())};mxCellRenderer.prototype.defaultShapes[mxShapeGmdlMarginRect.prototype.cst.SHAPE_MARGIN_RECT]=mxShapeGmdlMarginRect;function mxShapeGmdlSliderNormal(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeGmdlSliderNormal,mxShape);mxShapeGmdlSliderNormal.prototype.cst={SHAPE_SLIDER_NORMAL:"mxgraph.gmdl.sliderNormal",HANDLE_SIZE:"handleSize"};
  1676. mxShapeGmdlSliderNormal.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0)};mxShapeGmdlSliderNormal.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderNormal.prototype.cst.HANDLE_SIZE,"10"));a.ellipse(0,0.5*c-0.5*d,d,d);a.stroke();a.begin();a.moveTo(d,0.5*c);a.lineTo(b,0.5*c);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeGmdlSliderNormal.prototype.cst.SHAPE_SLIDER_NORMAL]=mxShapeGmdlSliderNormal;
  1677. function mxShapeGmdlSlider2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeGmdlSlider2,mxShape);mxShapeGmdlSlider2.prototype.cst={SHAPE_SLIDER:"mxgraph.gmdl.slider2",BAR_POS:"barPos",HANDLE_SIZE:"handleSize"};mxShapeGmdlSlider2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0)};
  1678. mxShapeGmdlSlider2.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSlider2.prototype.cst.HANDLE_SIZE,"10"));e=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSlider2.prototype.cst.BAR_POS,"40"))/100;e=Math.max(0,Math.min(1,e));a.save();a.setStrokeColor("#bbbbbb");a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.fillAndStroke();a.restore();a.begin();a.moveTo(0,0.5*c);a.lineTo(e*b,0.5*c);a.fillAndStroke();a.begin();a.ellipse(e*b-0.5*d,0.5*c-0.5*d,d,d);a.fillAndStroke()};
  1679. mxCellRenderer.prototype.defaultShapes[mxShapeGmdlSlider2.prototype.cst.SHAPE_SLIDER]=mxShapeGmdlSlider2;mxShapeGmdlSlider2.prototype.constraints=null;
  1680. Graph.handleFactory[mxShapeGmdlSlider2.prototype.cst.SHAPE_SLIDER]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/100})]};
  1681. function mxShapeGmdlSliderFocused(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeGmdlSliderFocused,mxShape);mxShapeGmdlSliderFocused.prototype.cst={SHAPE_SLIDER_FOCUSED:"mxgraph.gmdl.sliderFocused",BAR_POS:"barPos",HANDLE_SIZE:"handleSize"};mxShapeGmdlSliderFocused.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0)};
  1682. mxShapeGmdlSliderFocused.prototype.background=function(a,d,e,b,c){d=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderFocused.prototype.cst.HANDLE_SIZE,"10"));e=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderFocused.prototype.cst.BAR_POS,"40"))/100;var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#ffffff");e=Math.max(0,Math.min(1,e));a.save();a.setStrokeColor("#bbbbbb");a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.fillAndStroke();a.restore();a.begin();a.moveTo(0,
  1683. 0.5*c);a.lineTo(e*b,0.5*c);a.fillAndStroke();a.begin();a.ellipse(e*b-0.167*d,0.5*c-0.167*d,0.33*d,0.33*d);a.fillAndStroke();a.setFillColor(f);a.setAlpha(0.15);a.begin();a.ellipse(e*b-0.5*d,0.5*c-0.5*d,d,d);a.fill()};mxCellRenderer.prototype.defaultShapes[mxShapeGmdlSliderFocused.prototype.cst.SHAPE_SLIDER_FOCUSED]=mxShapeGmdlSliderFocused;mxShapeGmdlSliderFocused.prototype.constraints=null;
  1684. Graph.handleFactory[mxShapeGmdlSliderFocused.prototype.cst.SHAPE_SLIDER_FOCUSED]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/100})]};
  1685. function mxShapeGmdlSliderDisabled(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeGmdlSliderDisabled,mxShape);mxShapeGmdlSliderDisabled.prototype.cst={SHAPE_SLIDER_DISABLED:"mxgraph.gmdl.sliderDisabled",HANDLE_POSITION:"hPos",HANDLE_SIZE:"handleSize"};mxShapeGmdlSliderDisabled.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0)};
  1686. mxShapeGmdlSliderDisabled.prototype.background=function(a,d,e,b,c){e=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderDisabled.prototype.cst.HANDLE_SIZE,"10"));d=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderDisabled.prototype.cst.HANDLE_POSITION,"50"))/100;d=Math.max(d,0);d=Math.min(d,1);a.ellipse(b*d-0.5*e,0.5*(c-e),e,e);a.fillAndStroke();e=b*d-7;d=b*d+7;0<e&&(a.begin(),a.moveTo(0,0.5*c),a.lineTo(e,0.5*c),a.stroke());d<b&&(a.begin(),a.moveTo(d,0.5*c),a.lineTo(b,0.5*c),a.stroke())};
  1687. mxCellRenderer.prototype.defaultShapes[mxShapeGmdlSliderDisabled.prototype.cst.SHAPE_SLIDER_DISABLED]=mxShapeGmdlSliderDisabled;function mxShapeGmdlSliderDisabled2(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeGmdlSliderDisabled2,mxShape);mxShapeGmdlSliderDisabled2.prototype.cst={SHAPE_SLIDER_DISABLED:"mxgraph.gmdl.sliderDisabled2",HANDLE_POSITION:"hPos",HANDLE_SIZE:"handleSize"};
  1688. mxShapeGmdlSliderDisabled2.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0)};
  1689. mxShapeGmdlSliderDisabled2.prototype.background=function(a,d,e,b,c){e=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderDisabled2.prototype.cst.HANDLE_SIZE,"10"));d=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderDisabled2.prototype.cst.HANDLE_POSITION,"50"))/100;d=Math.min(Math.max(d,0),1);a.ellipse(b*d-0.5*e,0.5*(c-e),e,e);a.fillAndStroke();e=b*d-7;d=b*d+7;0<e&&(a.begin(),a.moveTo(0,0.5*c),a.lineTo(e,0.5*c),a.stroke());d<b&&(a.begin(),a.moveTo(d,0.5*c),a.lineTo(b,0.5*c),a.stroke())};
  1690. mxCellRenderer.prototype.defaultShapes[mxShapeGmdlSliderDisabled2.prototype.cst.SHAPE_SLIDER_DISABLED]=mxShapeGmdlSliderDisabled2;mxShapeGmdlSlider2.prototype.constraints=null;
  1691. Graph.handleFactory[mxShapeGmdlSliderDisabled2.prototype.cst.SHAPE_SLIDER_DISABLED]=function(a){return[Graph.createHandle(a,["hPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"hPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2)},function(a,e){this.state.style.hPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/100})]};
  1692. function mxShapeGmdlSliderDiscrete(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeGmdlSliderDiscrete,mxShape);mxShapeGmdlSliderDiscrete.prototype.cst={SHAPE_DISCRETE:"mxgraph.gmdl.sliderDiscrete",BAR_POS:"barPos",HANDLE_SIZE:"handleSize"};mxShapeGmdlSliderDiscrete.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0)};
  1693. mxShapeGmdlSliderDiscrete.prototype.background=function(a,d,e,b,c){parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderDiscrete.prototype.cst.HANDLE_SIZE,"10"));d=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderDiscrete.prototype.cst.BAR_POS,"40"))/100;e=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"12"));var f=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");d=Math.max(0,Math.min(1,d));a.save();a.setStrokeColor("#bbbbbb");a.begin();a.moveTo(0,0.5*
  1694. c+22.5);a.lineTo(b,0.5*c+22.5);a.fillAndStroke();a.restore();a.begin();a.moveTo(0,0.5*c+22.5);a.lineTo(d*b,0.5*c+22.5);a.fillAndStroke();a.begin();a.moveTo(d*b,0.5*c+15.5);a.lineTo(d*b-10.5,0.5*c+2.5);a.arcTo(15,15,0,0,1,d*b,0.5*c-22.5);a.arcTo(15,15,0,0,1,d*b+10.5,0.5*c+2.5);a.close();a.fillAndStroke();a.setFontSize(e);a.setFontColor(f);e=Math.round(100*d);a.text(d*b,0.5*c-9,0,0,e.toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  1695. mxCellRenderer.prototype.defaultShapes[mxShapeGmdlSliderDiscrete.prototype.cst.SHAPE_DISCRETE]=mxShapeGmdlSliderDiscrete;mxShapeGmdlSliderDiscrete.prototype.constraints=null;
  1696. Graph.handleFactory[mxShapeGmdlSliderDiscrete.prototype.cst.SHAPE_DISCRETE]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2+22.5)},function(a,e){this.state.style.barPos=Math.round(100*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/100})]};
  1697. function mxShapeGmdlSliderDiscreteDots(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeGmdlSliderDiscreteDots,mxShape);mxShapeGmdlSliderDiscreteDots.prototype.cst={SHAPE_DISCRETE_DOTS:"mxgraph.gmdl.sliderDiscreteDots",BAR_POS:"barPos",HANDLE_SIZE:"handleSize"};mxShapeGmdlSliderDiscreteDots.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!0)};
  1698. mxShapeGmdlSliderDiscreteDots.prototype.background=function(a,d,e,b,c){parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderDiscreteDots.prototype.cst.HANDLE_SIZE,"10"));d=parseFloat(mxUtils.getValue(this.style,mxShapeGmdlSliderDiscreteDots.prototype.cst.BAR_POS,"40"))/100;e=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"12"));var f=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000"),g=mxUtils.getValue(this.style,"bright","1");d=Math.max(0,Math.min(1,d));a.save();
  1699. a.setStrokeColor("#bebebe");a.begin();a.moveTo(0,0.5*c+22.5);a.lineTo(b,0.5*c+22.5);a.fillAndStroke();a.restore();0.1>=d&&a.setFillColor("#bebebe");a.begin();a.moveTo(0,0.5*c+22.5);a.lineTo(d*b,0.5*c+22.5);a.fillAndStroke();a.begin();a.moveTo(d*b,0.5*c+15.5);a.lineTo(d*b-10.5,0.5*c+2.5);a.arcTo(15,15,0,0,1,d*b,0.5*c-22.5);a.arcTo(15,15,0,0,1,d*b+10.5,0.5*c+2.5);a.close();a.fill();"1"==g?a.setFillColor("#000000"):a.setFillColor("#ffffff");a.ellipse(-1.5,0.5*c+21,3,3);a.fill();a.ellipse(0.2*b-1.5,0.5*
  1700. c+21,3,3);a.fill();a.ellipse(0.4*b-1.5,0.5*c+21,3,3);a.fill();a.ellipse(0.6*b-1.5,0.5*c+21,3,3);a.fill();a.ellipse(0.8*b-1.5,0.5*c+21,3,3);a.fill();a.ellipse(b-1.5,0.5*c+21,3,3);a.fill();a.setFontSize(e);a.setFontColor(f);e=Math.round(100*d);a.text(d*b,0.5*c-9,0,0,e.toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxCellRenderer.prototype.defaultShapes[mxShapeGmdlSliderDiscreteDots.prototype.cst.SHAPE_DISCRETE_DOTS]=mxShapeGmdlSliderDiscreteDots;
  1701. mxShapeGmdlSliderDiscreteDots.prototype.constraints=null;Graph.handleFactory[mxShapeGmdlSliderDiscreteDots.prototype.cst.SHAPE_DISCRETE_DOTS]=function(a){return[Graph.createHandle(a,["barPos"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"barPos",0.4))));return new mxPoint(a.x+e*a.width/100,a.y+a.height/2+22.5)},function(a,e){this.state.style.barPos=Math.round(0.05*Math.max(0,Math.min(100,100*(e.x-a.x)/a.width)))/0.05})]};
  1702. function mxShapeGmdlProgressBar(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1;this.dx1=0.8}mxUtils.extend(mxShapeGmdlProgressBar,mxShape);mxShapeGmdlProgressBar.prototype.cst={PROGRESS_BAR:"mxgraph.gmdl.progressBar"};
  1703. mxShapeGmdlProgressBar.prototype.paintVertexShape=function(a,d,e,b,c){var f=b*Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx1",this.dx1))));a.translate(d,e);a.save();a.setStrokeColor("#aaaaaa");a.begin();a.moveTo(0,0.5*c);a.lineTo(b,0.5*c);a.stroke();a.restore();a.setShadow(!1);a.begin();a.moveTo(0,0.5*c);a.lineTo(f,0.5*c);a.stroke()};mxCellRenderer.registerShape(mxShapeGmdlProgressBar.prototype.cst.PROGRESS_BAR,mxShapeGmdlProgressBar);
  1704. mxShapeGmdlProgressBar.prototype.constraints=null;
  1705. Graph.handleFactory[mxShapeGmdlProgressBar.prototype.cst.PROGRESS_BAR]=function(a){var d=[Graph.createHandle(a,["dx1"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dx1",this.dx1))));return new mxPoint(a.x+b*a.width,a.y+a.height/2)},function(a,b){this.state.style.dx1=Math.round(100*Math.max(0,Math.min(1,(b.x-a.x)/a.width)))/100})];a=Graph.createHandle(a,["dx2"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"dx2",this.dx1))));
  1706. return new mxPoint(a.x+b*a.width,a.y+a.height/2)},function(a,b){this.state.style.dx2=Math.round(100*Math.max(0,Math.min(1,(b.x-a.x)/a.width)))/100});d.push(a);return d};function mxLeanBoatShipment(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanBoatShipment,mxShape);
  1707. mxLeanBoatShipment.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0.15*b,0.77*c);a.lineTo(0.5*b,0);a.lineTo(0.85*b,0.77*c);a.close();a.moveTo(0.2*b,c);a.lineTo(0,0.8*c);a.lineTo(b,0.8*c);a.lineTo(0.8*b,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.boat_shipment",mxLeanBoatShipment);
  1708. mxLeanBoatShipment.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!1),new mxConnectionConstraint(new mxPoint(0.5,1),!1),new mxConnectionConstraint(new mxPoint(0,0.8),!1),new mxConnectionConstraint(new mxPoint(1,0.8),!1),new mxConnectionConstraint(new mxPoint(0.2,1),!1),new mxConnectionConstraint(new mxPoint(0.8,1),!1),new mxConnectionConstraint(new mxPoint(0.26,0.5),!1),new mxConnectionConstraint(new mxPoint(0.74,0.5),!1)];
  1709. function mxLeanSafetyStock(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanSafetyStock,mxShape);mxLeanSafetyStock.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxLeanSafetyStock.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  1710. mxLeanSafetyStock.prototype.foreground=function(a,d,e){a.begin();a.moveTo(0,0.34*e);a.lineTo(d,0.34*e);a.moveTo(0,0.66*e);a.lineTo(d,0.66*e);a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.buffer_or_safety_stock",mxLeanSafetyStock);
  1711. mxLeanSafetyStock.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1712. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanDataBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanDataBox,mxShape);
  1713. mxLeanDataBox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxLeanDataBox.prototype.background=function(a,d,e){a.begin();a.moveTo(0,e);a.lineTo(0,0);a.lineTo(d,0);a.lineTo(d,e);a.fillAndStroke()};mxLeanDataBox.prototype.foreground=function(a,d,e){a.begin();a.moveTo(0,0.2*e);a.lineTo(d,0.2*e);a.moveTo(0,0.4*e);a.lineTo(d,0.4*e);a.moveTo(0,0.6*e);a.lineTo(d,0.6*e);a.moveTo(0,0.8*e);a.lineTo(d,0.8*e);a.stroke()};
  1714. mxCellRenderer.registerShape("mxgraph.lean_mapping.data_box",mxLeanDataBox);
  1715. mxLeanDataBox.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1716. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanCustomerSupplier(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanCustomerSupplier,mxShape);
  1717. mxLeanCustomerSupplier.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1)};mxLeanCustomerSupplier.prototype.background=function(a,d,e){a.begin();a.moveTo(0,e);a.lineTo(0,0.3*e);a.lineTo(0.33*d,0.02*e);a.lineTo(0.33*d,0.3*e);a.lineTo(0.67*d,0.02*e);a.lineTo(0.67*d,0.3*e);a.lineTo(d,0.02*e);a.lineTo(d,e);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.outside_sources",mxLeanCustomerSupplier);
  1718. mxLeanCustomerSupplier.prototype.constraints=[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(0.33,0),!0),new mxConnectionConstraint(new mxPoint(0.67,0),!0),new mxConnectionConstraint(new mxPoint(0,0.3),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,
  1719. 0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanDedicatedProcess(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanDedicatedProcess,mxShape);
  1720. mxLeanDedicatedProcess.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8"));this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c,d)};mxLeanDedicatedProcess.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};mxLeanDedicatedProcess.prototype.foreground=function(a,d,e,b){e=Math.min(1.5*b,e);a.begin();a.moveTo(0,e);a.lineTo(d,e);a.stroke()};
  1721. mxCellRenderer.registerShape("mxgraph.lean_mapping.manufacturing_process",mxLeanDedicatedProcess);
  1722. mxLeanDedicatedProcess.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1723. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanSharedProcess(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanSharedProcess,mxShape);
  1724. mxLeanSharedProcess.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8"));this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c,d)};mxLeanSharedProcess.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  1725. mxLeanSharedProcess.prototype.foreground=function(a,d,e,b){b=Math.min(1.5*b,e);a.begin();a.moveTo(0,b);a.lineTo(d,b);a.stroke();var c=0;a.begin();var f=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"2"));for(a.setStrokeWidth(0.5*f);c<e+d;)if(c+=10,c>b){var f=Math.max(0,c-e),g=Math.min(c,e),h=Math.min(c-b,d),k=b,k=Math.max(c-d,b);f<d&&(a.moveTo(f,g),a.lineTo(h,k))}a.stroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.manufacturing_process_shared",mxLeanSharedProcess);
  1726. mxLeanSharedProcess.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1727. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanWorkcell(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanWorkcell,mxShape);
  1728. mxLeanWorkcell.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0.65*b,c);a.lineTo(0.65*b,0.4*c);a.lineTo(0.35*b,0.4*c);a.lineTo(0.35*b,c);a.lineTo(0,c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.work_cell",mxLeanWorkcell);
  1729. mxLeanWorkcell.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1730. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanInventoryBox(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanInventoryBox,mxShape);
  1731. mxLeanInventoryBox.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,c);a.lineTo(0.5*b,0);a.lineTo(b,c);a.close();a.fillAndStroke();a.setShadow(!1);a.begin();a.moveTo(0.4*b,0.45*c);a.lineTo(0.6*b,0.45*c);a.moveTo(0.5*b,0.45*c);a.lineTo(0.5*b,0.85*c);a.moveTo(0.4*b,0.85*c);a.lineTo(0.6*b,0.85*c);a.stroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.inventory_box",mxLeanInventoryBox);
  1732. mxLeanInventoryBox.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.375,0.25),!1),new mxConnectionConstraint(new mxPoint(0.25,0.5),!1),new mxConnectionConstraint(new mxPoint(0.125,0.75),!1),new mxConnectionConstraint(new mxPoint(0.625,0.25),!1),new mxConnectionConstraint(new mxPoint(0.75,0.5),!1),new mxConnectionConstraint(new mxPoint(0.875,
  1733. 0.75),!1),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanPushArrow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanPushArrow,mxShape);mxLeanPushArrow.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};
  1734. mxLeanPushArrow.prototype.background=function(a,d,e){a.begin();a.moveTo(0,0.17*e);a.lineTo(0.75*d,0.17*e);a.lineTo(0.75*d,0);a.lineTo(d,0.5*e);a.lineTo(0.75*d,e);a.lineTo(0.75*d,0.83*e);a.lineTo(0,0.83*e);a.close();a.fillAndStroke()};
  1735. mxLeanPushArrow.prototype.foreground=function(a,d,e,b){b=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(b);a.rect(0,0.17*e,0.12*d,0.66*e);a.fill();a.rect(0.24*d,0.17*e,0.12*d,0.66*e);a.fill();a.rect(0.48*d,0.17*e,0.12*d,0.66*e);a.fill();a.begin();a.moveTo(0.72*d,0.17*e);a.lineTo(0.75*d,0.17*e);a.lineTo(0.75*d,0);a.lineTo(d,0.5*e);a.lineTo(0.75*d,e);a.lineTo(0.75*d,0.83*e);a.lineTo(0.72*d,0.83*e);a.close();a.fill()};
  1736. mxCellRenderer.registerShape("mxgraph.lean_mapping.push_arrow",mxLeanPushArrow);
  1737. mxLeanPushArrow.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0.17),!1),new mxConnectionConstraint(new mxPoint(0.5,0.17),!1),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.17),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.83),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.25,0.83),!1),new mxConnectionConstraint(new mxPoint(0.5,0.83),
  1738. !1),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanSupermarket(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanSupermarket,mxShape);mxLeanSupermarket.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(b,c);a.lineTo(0,c);a.moveTo(0,0.33*c);a.lineTo(b,0.33*c);a.moveTo(0,0.67*c);a.lineTo(b,0.67*c);a.fillAndStroke()};
  1739. mxCellRenderer.registerShape("mxgraph.lean_mapping.supermarket",mxLeanSupermarket);
  1740. mxLeanSupermarket.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1741. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanMaterialPull(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanMaterialPull,mxShape);
  1742. mxLeanMaterialPull.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0.732*b,0.0736*c);a.arcTo(0.4827*b,0.4959*c,0,1,0,0.9553*b,0.6191*c);a.stroke();a.begin();a.moveTo(0.9071*b,0.6191*c);a.lineTo(0.9794*b,0.4951*c);a.lineTo(b,0.6438*c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.physical_pull",mxLeanMaterialPull);
  1743. mxLeanMaterialPull.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0.98,0.5),!0),new mxConnectionConstraint(new mxPoint(0.144,0.144),!1),new mxConnectionConstraint(new mxPoint(0.144,0.845),!1),new mxConnectionConstraint(new mxPoint(0.845,0.845),!1)];
  1744. function mxLeanFifoLane(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanFifoLane,mxShape);mxLeanFifoLane.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"8"));this.background(a,b,c,d);a.setShadow(!1)};
  1745. mxLeanFifoLane.prototype.background=function(a,d,e,b){b=Math.min(1.5*b,e);a.begin();a.moveTo(0,b);a.lineTo(d,b);a.moveTo(0,e);a.lineTo(d,e);a.stroke();a.rect(0.02*d,b+4,0.26*d,e-b-8);a.fillAndStroke();a.ellipse(0.35*d,b+4,0.26*d,e-b-8);a.fillAndStroke();a.begin();a.moveTo(0.69*d,b+4);a.lineTo(0.98*d,b+4);a.lineTo(0.835*d,e-4);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.fifo_lane",mxLeanFifoLane);
  1746. mxLeanFifoLane.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,
  1747. 1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanTruckShipment(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanTruckShipment,mxShape);mxLeanTruckShipment.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1)};
  1748. mxLeanTruckShipment.prototype.background=function(a,d,e){a.rect(0,0,0.6*d,0.8*e);a.fillAndStroke();a.rect(0.6*d,0.35*e,0.4*d,0.45*e);a.fillAndStroke();var b=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(b);a.ellipse(0.15*d,0.8*e,0.2*d,0.2*e);a.fillAndStroke();a.ellipse(0.65*d,0.8*e,0.2*d,0.2*e);a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.truck_shipment",mxLeanTruckShipment);
  1749. mxLeanTruckShipment.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(0.6,0.35),!1),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,
  1750. 1),!0),new mxConnectionConstraint(new mxPoint(0.5,0.8),!1),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanProductionControl(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanProductionControl,mxShape);mxLeanProductionControl.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.schedule",mxLeanProductionControl);
  1751. mxLeanProductionControl.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1752. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanFifoSequence(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanFifoSequence,mxShape);
  1753. mxLeanFifoSequence.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.moveTo(0,c);a.lineTo(b,c);a.moveTo(0.05*b,0.5*c);a.lineTo(0.15*b,0.5*c);a.moveTo(0.75*b,0.5*c);a.lineTo(0.88*b,0.5*c);a.stroke();d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.begin();a.moveTo(0.88*b,0.39*c);a.lineTo(0.98*b,0.5*c);a.lineTo(0.88*b,0.61*c);a.fillAndStroke()};
  1754. mxCellRenderer.registerShape("mxgraph.lean_mapping.fifo_sequence_flow",mxLeanFifoSequence);
  1755. mxLeanFifoSequence.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.25,
  1756. 1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanProductionKanban(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanProductionKanban,mxShape);
  1757. mxLeanProductionKanban.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setDashed(!0);a.begin();a.moveTo(4,c-10);a.lineTo(4,25);a.lineTo(b,25);a.stroke();a.setDashed(!1);a.begin();a.moveTo(b-75,0);a.lineTo(b-30,0);a.lineTo(b-15,15);a.lineTo(b-15,50);a.lineTo(b-75,50);a.close();a.fillAndStroke();d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.begin();a.moveTo(0,c-10);a.lineTo(4,c);a.lineTo(8,c-10);a.close();a.fillAndStroke()};
  1758. mxCellRenderer.registerShape("mxgraph.lean_mapping.production_kanban",mxLeanProductionKanban);function mxLeanWithdrawalKanban(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanWithdrawalKanban,mxShape);
  1759. mxLeanWithdrawalKanban.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setDashed(!0);a.begin();a.moveTo(4,c-10);a.lineTo(4,25);a.lineTo(b,25);a.stroke();a.setDashed(!1);a.begin();a.moveTo(b-75,0);a.lineTo(b-30,0);a.lineTo(b-15,15);a.lineTo(b-15,50);a.lineTo(b-75,50);a.close();a.fillAndStroke();a.begin();a.moveTo(b-75,45);a.lineTo(b-70,50);a.moveTo(b-75,35);a.lineTo(b-60,50);a.moveTo(b-75,25);a.lineTo(b-50,50);a.moveTo(b-75,15);a.lineTo(b-40,50);a.moveTo(b-75,5);a.lineTo(b-30,50);
  1760. a.moveTo(b-70,0);a.lineTo(b-20,50);a.moveTo(b-60,0);a.lineTo(b-15,45);a.moveTo(b-50,0);a.lineTo(b-15,35);a.moveTo(b-40,0);a.lineTo(b-15,25);a.stroke();d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.begin();a.moveTo(0,c-10);a.lineTo(4,c);a.lineTo(8,c-10);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.withdrawal_kanban",mxLeanWithdrawalKanban);
  1761. function mxLeanSignalKanban(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanSignalKanban,mxShape);
  1762. mxLeanSignalKanban.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.setDashed(!0);a.begin();a.moveTo(4,c-10);a.lineTo(4,15);a.lineTo(b,15);a.stroke();a.setDashed(!1);a.begin();a.moveTo(b-65,0);a.lineTo(b-25,0);a.lineTo(b-45,45);a.close();a.fillAndStroke();d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.begin();a.moveTo(0,c-10);a.lineTo(4,c);a.lineTo(8,c-10);a.close();a.fillAndStroke()};
  1763. mxCellRenderer.registerShape("mxgraph.lean_mapping.signal_kanban",mxLeanSignalKanban);function mxLeanSequencedPullBall(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanSequencedPullBall,mxShape);
  1764. mxLeanSequencedPullBall.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.ellipse(0,0,b,c);a.fillAndStroke();d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.setShadow(!1);a.ellipse(0.15*b,0.15*c,0.7*b,0.7*c);a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.sequenced_pull_ball",mxLeanSequencedPullBall);
  1765. mxLeanSequencedPullBall.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.144,0.144),!1),new mxConnectionConstraint(new mxPoint(0.856,0.144),!1),new mxConnectionConstraint(new mxPoint(0.856,0.856),!1),new mxConnectionConstraint(new mxPoint(0.144,0.856),!1),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0)];
  1766. function mxLeanRailShipment(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanRailShipment,mxShape);
  1767. mxLeanRailShipment.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0.1*b,0,0.35*b,0.8*c);a.fillAndStroke();a.rect(0.55*b,0,0.35*b,0.8*c);a.fillAndStroke();a.begin();a.moveTo(0,c);a.lineTo(b,c);a.moveTo(0.45*b,0.7*c);a.lineTo(0.55*b,0.7*c);a.stroke();a.ellipse(0.15*b,0.8*c,0.06*b,0.2*c);a.fillAndStroke();a.ellipse(0.34*b,0.8*c,0.06*b,0.2*c);a.fillAndStroke();a.ellipse(0.6*b,0.8*c,0.06*b,0.2*c);a.fillAndStroke();a.ellipse(0.79*b,0.8*c,0.06*b,0.2*c);a.fillAndStroke()};
  1768. mxCellRenderer.registerShape("mxgraph.lean_mapping.rail_shipment",mxLeanRailShipment);
  1769. mxLeanRailShipment.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0.1,0.25),!1),new mxConnectionConstraint(new mxPoint(0.1,0.5),!1),new mxConnectionConstraint(new mxPoint(0.1,0.75),!1),new mxConnectionConstraint(new mxPoint(0.9,0.25),!1),
  1770. new mxConnectionConstraint(new mxPoint(0.9,0.5),!1),new mxConnectionConstraint(new mxPoint(0.9,0.75),!1),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanWarehouse(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanWarehouse,mxShape);
  1771. mxLeanWarehouse.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();a.moveTo(0,0.4*c);a.lineTo(b,0.4*c);a.moveTo(0.15*b,c);a.lineTo(0.15*b,0.55*c);a.lineTo(0.3*b,0.55*c);a.lineTo(0.3*b,c);a.stroke();a.ellipse(0.27*b,0.75*c,0.02*b,0.02*b);a.stroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.warehouse",mxLeanWarehouse);
  1772. mxLeanWarehouse.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1773. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanTimeline(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanTimeline,mxShape);
  1774. mxLeanTimeline.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);var f=mxUtils.getValue(this.style,"mainText","20,Time 1,50,Time 2,30,Time 3,40,Time 4,30,Time 5,50,Time 6,20,Time 7").toString().split(",");d=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,"12");e=[];for(var g=0,h=0;h<f.length;h+=2){var k=parseFloat(f[h]);e.push(k);g+=k}b/=g;g=[];for(h=1;h<f.length;h+=2)g.push(f[h]);a.begin();f=0;a.moveTo(0,c);for(h=0;h<g.length;h++)k=e[h]*b,f+=k,0===h%2?(a.lineTo(f,c),a.lineTo(f,
  1775. 1.5*d),a.text(f-0.5*k,c-0.75*d,0,0,g[h],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)):(a.lineTo(f,1.5*d),a.lineTo(f,c),a.text(f-0.5*k,0.75*d,0,0,g[h],mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0));a.stroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.timeline",mxLeanTimeline);function mxLeanCrossDock(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanCrossDock,mxShape);
  1776. mxLeanCrossDock.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();a.moveTo(0,0.25*c);a.lineTo(b,0.25*c);a.moveTo(0.1*b,0.4*c);a.lineTo(0.35*b,0.4*c);a.arcTo(0.15*b,0.15*c,0,0,1,0.5*b,0.5*c);a.arcTo(0.15*b,0.15*c,0,0,0,0.65*b,0.6*c);a.lineTo(0.9*b,0.6*c);a.stroke();a.moveTo(0.1*b,0.4*c);a.lineTo(0.35*b,0.4*c);a.arcTo(0.15*b,0.25*c,0,0,1,0.5*b,0.55*c);a.arcTo(0.15*b,0.25*c,0,0,0,0.65*b,0.7*c);a.lineTo(0.9*b,0.7*c);a.stroke();
  1777. a.moveTo(0.1*b,0.4*c);a.lineTo(0.35*b,0.4*c);a.arcTo(0.15*b,0.3*c,0,0,1,0.5*b,0.6*c);a.arcTo(0.15*b,0.3*c,0,0,0,0.65*b,0.8*c);a.lineTo(0.9*b,0.8*c);a.stroke();a.moveTo(0.1*b,0.8*c);a.lineTo(0.35*b,0.8*c);a.arcTo(0.15*b,0.3*c,0,0,0,0.5*b,0.6*c);a.arcTo(0.15*b,0.3*c,0,0,1,0.65*b,0.4*c);a.lineTo(0.9*b,0.4*c);a.stroke();a.moveTo(0.1*b,0.8*c);a.lineTo(0.35*b,0.8*c);a.arcTo(0.15*b,0.1*c,0,0,0,0.5*b,0.75*c);a.arcTo(0.15*b,0.1*c,0,0,1,0.65*b,0.7*c);a.lineTo(0.9*b,0.7*c);a.stroke()};
  1778. mxCellRenderer.registerShape("mxgraph.lean_mapping.crossDock",mxLeanCrossDock);
  1779. mxLeanCrossDock.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(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,
  1780. 0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanOrders(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanOrders,mxShape);
  1781. mxLeanOrders.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0.56*c,b,0.44*c);a.fillAndStroke();d=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"2"));a.setStrokeWidth(0.5*d);a.begin();a.moveTo(0.04*b,0.5418*c);a.lineTo(0.94*b,0.5418*c);a.moveTo(0.0522*b,0.5088*c);a.lineTo(0.9522*b,0.5088*c);a.moveTo(0.05*b,0.4738*c);a.lineTo(0.95*b,0.4738*c);a.moveTo(0.0456*b,0.4427*c);a.lineTo(0.9456*b,0.4427*c);a.moveTo(0.0422*b,0.4135*c);a.lineTo(0.9422*b,0.4135*
  1782. c);a.moveTo(0.0533*b,0.3804*c);a.lineTo(0.9533*b,0.3804*c);a.moveTo(0.0556*b,0.3454*c);a.lineTo(0.9556*b,0.3454*c);a.moveTo(0.05*b,0.3143*c);a.lineTo(0.95*b,0.3143*c);a.moveTo(0.0489*b,0.2832*c);a.lineTo(0.0489*b,0.2832*c);a.moveTo(0.0544*b,0.254*c);a.lineTo(0.9544*b,0.254*c);a.moveTo(0.0489*b,0.221*c);a.lineTo(0.9489*b,0.221*c);a.moveTo(0.0556*b,0.1918*c);a.lineTo(0.9556*b,0.1918*c);a.moveTo(0.0522*b,0.1587*c);a.lineTo(0.9522*b,0.1587*c);a.moveTo(0.0544*b,0.1276*c);a.lineTo(0.9544*b,0.1276*c);a.moveTo(0.0544*
  1783. b,0.0965*c);a.lineTo(0.9544*b,0.0965*c);a.moveTo(0.0556*b,0.0654*c);a.lineTo(0.9556*b,0.0654*c);a.moveTo(0.0533*b,0.0304*c);a.lineTo(0.9533*b,0.0304*c);a.moveTo(0.0556*b,0);a.lineTo(0.9556*b,0);a.stroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.orders",mxLeanOrders);
  1784. mxLeanOrders.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.05,0),!0),new mxConnectionConstraint(new mxPoint(0.95,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0.05,0.25),!1),new mxConnectionConstraint(new mxPoint(0.05,0.5),!1),new mxConnectionConstraint(new mxPoint(0,
  1785. 0.75),!0),new mxConnectionConstraint(new mxPoint(0.95,0.25),!1),new mxConnectionConstraint(new mxPoint(0.95,0.5),!1),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function mxLeanBatchedKanban(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanBatchedKanban,mxShape);
  1786. mxLeanBatchedKanban.prototype.paintVertexShape=function(a,d,e,b,c){b=Math.max(110,b);a.translate(d,e);a.begin();a.moveTo(4,0.5*c);a.lineTo(b,0.5*c);a.stroke();a.begin();a.moveTo(0.5*b-20,0.5*c-35);a.lineTo(0.5*b+25,0.5*c-35);a.lineTo(0.5*b+40,0.5*c-20);a.lineTo(0.5*b+40,0.5*c+15);a.lineTo(0.5*b-20,0.5*c+15);a.close();a.fillAndStroke();a.begin();a.moveTo(0.5*b-30,0.5*c-25);a.lineTo(0.5*b+15,0.5*c-25);a.lineTo(0.5*b+30,0.5*c-10);a.lineTo(0.5*b+30,0.5*c+25);a.lineTo(0.5*b-30,0.5*c+25);a.close();a.fillAndStroke();
  1787. a.begin();a.moveTo(0.5*b-40,0.5*c-15);a.lineTo(0.5*b+5,0.5*c-15);a.lineTo(0.5*b+20,0.5*c);a.lineTo(0.5*b+20,0.5*c+35);a.lineTo(0.5*b-40,0.5*c+35);a.close();a.fillAndStroke();d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.begin();a.moveTo(b-10,0.5*c-4);a.lineTo(b,0.5*c);a.lineTo(b-10,0.5*c+4);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("mxgraph.lean_mapping.batched_kanban",mxLeanBatchedKanban);
  1788. mxLeanBatchedKanban.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0)];function mxLeanControlCenter(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxLeanControlCenter,mxShape);mxLeanControlCenter.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0.15*b,0,0.7*b,0.8*c);a.fillAndStroke();a.rect(0,0.8*c,b,0.2*c);a.fillAndStroke()};
  1789. mxCellRenderer.registerShape("mxgraph.lean_mapping.control_center",mxLeanControlCenter);
  1790. mxLeanControlCenter.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.15,0),!0),new mxConnectionConstraint(new mxPoint(0.85,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.15,0.25),!1),new mxConnectionConstraint(new mxPoint(0.15,0.5),!1),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(0.85,0.25),!1),
  1791. new mxConnectionConstraint(new mxPoint(0.85,0.5),!1),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];function LeanElectronicInfoShape(){mxArrow.call(this)}mxUtils.extend(LeanElectronicInfoShape,mxArrow);
  1792. LeanElectronicInfoShape.prototype.paintEdgeShape=function(a,d){var e=d[0],b=d[d.length-1],c=b.x-e.x,f=b.y-e.y;e.x+=0.05*c;e.y+=0.05*f;b.x-=0.05*c;b.y-=0.05*f;var c=b.x-e.x,f=b.y-e.y,g=Math.sqrt(c*c+f*f),h=c/g,k=f/g,l=e.x+0.5*c,n=e.y+0.5*f,c=l-0.1*h*g-0.1*k/3*g,f=n-0.1*k*g+0.1*h/3*g,l=l+0.1*h*g+0.1*k/3*g,g=n+0.1*k*g-0.1*h/3*g;a.begin();a.moveTo(e.x,e.y);a.lineTo(l,g);a.lineTo(c,f);a.lineTo(b.x,b.y);a.stroke();c=b.x-c;f=b.y-f;g=Math.sqrt(c*c+f*f);h=c/g;k=f/g;a.setFillColor(mxUtils.getValue(this.style,
  1793. mxConstants.STYLE_STROKECOLOR,"#000000"));a.begin();a.moveTo(b.x-10*h-5*k,b.y-10*k+5*h);a.lineTo(b.x,b.y);a.lineTo(b.x-10*h+5*k,b.y-10*k-5*h);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes["mxgraph.lean_mapping.electronic_info_flow_edge"]=LeanElectronicInfoShape;function LeanManualInfoShape(){mxArrow.call(this)}mxUtils.extend(LeanManualInfoShape,mxArrow);
  1794. LeanManualInfoShape.prototype.paintEdgeShape=function(a,d){var e=d[0],b=d[d.length-1],c=b.x-e.x,f=b.y-e.y;e.x+=0.05*c;e.y+=0.05*f;b.x-=0.05*c;b.y-=0.05*f;var c=b.x-e.x,f=b.y-e.y,g=Math.sqrt(c*c+f*f),c=c/g,f=f/g;a.begin();a.moveTo(e.x,e.y);a.lineTo(b.x,b.y);a.stroke();a.setFillColor(mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"));a.begin();a.moveTo(b.x-10*c-5*f,b.y-10*f+5*c);a.lineTo(b.x,b.y);a.lineTo(b.x-10*c+5*f,b.y-10*f-5*c);a.fillAndStroke()};
  1795. mxCellRenderer.prototype.defaultShapes["mxgraph.lean_mapping.manual_info_flow_edge"]=LeanManualInfoShape;function mxShapeLeanTimeline(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeLeanTimeline,mxShape);mxShapeLeanTimeline.prototype.cst={SHAPE_TIMELINE:"mxgraph.lean_mapping.timeline2"};
  1796. mxShapeLeanTimeline.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,"dy1","0");e=mxUtils.getValue(this.style,"dx2","0");var f=mxUtils.getValue(this.style,"dy2","0"),g=mxUtils.getValue(this.style,"dx3","0"),h=mxUtils.getValue(this.style,"dy3","0"),k=mxUtils.getValue(this.style,"dx4","0"),l=mxUtils.getValue(this.style,"dy4","0"),n=mxUtils.getValue(this.style,"dx5","0"),m=mxUtils.getValue(this.style,"dy5","0"),p=mxUtils.getValue(this.style,"dy6","0"),q=!0;
  1797. a.begin();0.5>=d?(a.moveTo(0,0),q=!0):(a.moveTo(0,c),q=!1);0.5>=f&&q?(a.lineTo(e,0),q=!0):0.5<f&&!q?(a.lineTo(e,c),q=!1):0.5>=f&&!q?(a.lineTo(e,c),a.lineTo(e,0),q=!0):(a.lineTo(e,0),a.lineTo(e,c),q=!1);0.5>=h&&q?(a.lineTo(g,0),q=!0):0.5<h&&!q?(a.lineTo(g,c),q=!1):0.5>=h&&!q?(a.lineTo(g,c),a.lineTo(g,0),q=!0):(a.lineTo(g,0),a.lineTo(g,c),q=!1);0.5>=l&&q?(a.lineTo(k,0),q=!0):0.5<l&&!q?(a.lineTo(k,c),q=!1):0.5>=l&&!q?(a.lineTo(k,c),a.lineTo(k,0),q=!0):(a.lineTo(k,0),a.lineTo(k,c),q=!1);0.5>=m&&q?(a.lineTo(n,
  1798. 0),q=!0):0.5<m&&!q?(a.lineTo(n,c),q=!1):0.5>=m&&!q?(a.lineTo(n,c),a.lineTo(n,0),q=!0):(a.lineTo(n,0),a.lineTo(n,c),q=!1);0.5>=p&&q?a.lineTo(b,0):0.5<p&&!q?a.lineTo(b,c):0.5>=p&&!q?(a.lineTo(b,c),a.lineTo(b,0)):(a.lineTo(b,0),a.lineTo(b,c));a.stroke()};mxCellRenderer.prototype.defaultShapes[mxShapeLeanTimeline.prototype.cst.SHAPE_TIMELINE]=mxShapeLeanTimeline;
  1799. Graph.handleFactory[mxShapeLeanTimeline.prototype.cst.SHAPE_TIMELINE]=function(a){var d=[Graph.createHandle(a,["dy1"],function(a){var c=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy1",0))));return new mxPoint(a.x,a.y+c*a.height)},function(a,c){this.state.style.dy1=Math.round(1E3*Math.max(0,Math.min(1,(c.y-a.y)/a.height)))/1E3})],e=Graph.createHandle(a,["dx2","dy2"],function(a){var c=Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx3",0)),parseFloat(mxUtils.getValue(this.state.style,
  1800. "dx2",0)))),d=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy2",0))));return new mxPoint(a.x+c,a.y+d*a.height)},function(a,c){this.state.style.dx2=Math.round(1E3*Math.max(0,Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx3",0)),c.x-a.x)))/1E3;this.state.style.dy2=Math.round(1E3*Math.max(0,Math.min(1,(c.y-a.y)/a.height)))/1E3});d.push(e);e=Graph.createHandle(a,["dx3","dy3"],function(a){var c=Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx2",0)),Math.min(parseFloat(mxUtils.getValue(this.state.style,
  1801. "dx4",0)),parseFloat(mxUtils.getValue(this.state.style,"dx3",0)))),d=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy3",0))));return new mxPoint(a.x+c,a.y+d*a.height)},function(a,c){this.state.style.dx3=Math.round(1E3*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx2",0)),Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx4",0)),c.x-a.x)))/1E3;this.state.style.dy3=Math.round(1E3*Math.max(0,Math.min(1,(c.y-a.y)/a.height)))/1E3});d.push(e);e=Graph.createHandle(a,
  1802. ["dx4","dy4"],function(a){var c=Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx3",0)),Math.min(parseFloat(mxUtils.getValue(this.state.style,"dx5",0)),parseFloat(mxUtils.getValue(this.state.style,"dx4",0)))),d=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy4",0))));return new mxPoint(a.x+c,a.y+d*a.height)},function(a,c){this.state.style.dx4=Math.round(1E3*Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx3",0)),Math.min(parseFloat(mxUtils.getValue(this.state.style,
  1803. "dx5",0)),c.x-a.x)))/1E3;this.state.style.dy4=Math.round(1E3*Math.max(0,Math.min(1,(c.y-a.y)/a.height)))/1E3});d.push(e);e=Graph.createHandle(a,["dx5","dy5"],function(a){var c=Math.max(parseFloat(mxUtils.getValue(this.state.style,"dx4",0)),Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"dx5",0)))),d=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy5",0))));return new mxPoint(a.x+c,a.y+d*a.height)},function(a,c){this.state.style.dx5=Math.round(1E3*Math.max(parseFloat(mxUtils.getValue(this.state.style,
  1804. "dx4",0)),Math.min(a.width,c.x-a.x)))/1E3;this.state.style.dy5=Math.round(1E3*Math.max(0,Math.min(1,(c.y-a.y)/a.height)))/1E3});d.push(e);a=Graph.createHandle(a,["dy6"],function(a){var c=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"dy6",0))));return new mxPoint(a.x+a.width,a.y+c*a.height)},function(a,c){this.state.style.dy6=Math.round(1E3*Math.max(0,Math.min(1,(c.y-a.y)/a.height)))/1E3});d.push(a);return d};
  1805. function mxShapeNetworksBus(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeNetworksBus,mxShape);mxShapeNetworksBus.prototype.cst={SHAPE_BUS:"mxgraph.networks.bus"};mxShapeNetworksBus.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1806. mxShapeNetworksBus.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(8,0.5*c+10);a.arcTo(12,12,0,0,1,8,0.5*c-10);a.lineTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.close();a.fillAndStroke()};mxShapeNetworksBus.prototype.foreground=function(a,d,e,b,c){a.setFillColor("#ffffff");a.begin();a.moveTo(b-8,0.5*c-10);a.arcTo(12,12,0,0,1,b-8,0.5*c+10);a.arcTo(12,12,0,0,1,b-8,0.5*c-10);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes[mxShapeNetworksBus.prototype.cst.SHAPE_BUS]=mxShapeNetworksBus;
  1807. function mxShapeNetworksCommLinkEdge(){mxArrow.call(this)}mxUtils.extend(mxShapeNetworksCommLinkEdge,mxArrow);
  1808. mxShapeNetworksCommLinkEdge.prototype.paintEdgeShape=function(a,d){var e=d[0],b=d[d.length-1],c=b.x-e.x,f=b.y-e.y;e.x+=0.05*c;e.y+=0.05*f;b.x-=0.05*c;b.y-=0.05*f;var c=b.x-e.x,f=b.y-e.y,g=Math.sqrt(c*c+f*f),h=c/g,k=f/g,l=e.x+0.5*c,n=e.y+0.5*f,f=l+0.1*(h*g/3)-0.1*k/3*g,c=n+0.1*(k*g/3)+0.1*h/3*g,m=l+0.1*h*g+0.1*k*g,p=n+0.1*k*g-0.1*h*g,q=l-0.1*(h*g/3)+0.1*k/3*g,t=n-0.1*(k*g/3)-0.1*h/3*g,l=l-0.1*h*g-0.1*k*g,g=n-0.1*k*g+0.1*h*g;a.begin();a.moveTo(e.x,e.y);a.lineTo(m,p);a.lineTo(f,c);a.lineTo(b.x,b.y);
  1809. a.lineTo(l,g);a.lineTo(q,t);a.close();a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes["mxgraph.networks.comm_link_edge"]=mxShapeNetworksCommLinkEdge;function mxShapeSysMLComposite(){mxCylinder.call(this)}mxUtils.extend(mxShapeSysMLComposite,mxShape);mxShapeSysMLComposite.prototype.isHtmlAllowed=function(){return!1};
  1810. mxShapeSysMLComposite.prototype.paintForeground=function(a,d,e,b,c){if(null!=this.style){var f=mxCellRenderer.prototype.defaultShapes[this.style.symbol0];a.save();var g=new f;g.style=this.style;f.prototype.paintVertexShape.call(g,a,d,e,b,c);a.restore();a.setDashed(!1);var h=1;do{f=mxCellRenderer.prototype.defaultShapes[this.style["symbol"+h]];if(null!=f){var g=this.style["symbol"+h+"Align"],k=this.style["symbol"+h+"VerticalAlign"],l=this.style["symbol"+h+"Width"],n=this.style["symbol"+h+"Height"],
  1811. m=this.style["symbol"+h+"Spacing"]||0,p=this.style["symbol"+h+"VSpacing"]||0,q=this.style["symbol"+h+"ArcSpacing"],t=this.style["symbol"+h+"Direction"];null!=q&&(m+=this.getArcSize(b+this.strokewidth,c+this.strokewidth)*q,p+=this.getArcSize(b+this.strokewidth,c+this.strokewidth)*q);var q=d,s=e,q=g==mxConstants.ALIGN_CENTER?q+(b-l)/2:g==mxConstants.ALIGN_RIGHT?q+(b-l-m):q+m,s=k==mxConstants.ALIGN_MIDDLE?s+(c-n)/2:k==mxConstants.ALIGN_BOTTOM?s+(c-n-p):s+p;a.save();g=new f;g.style=mxUtils.clone(this.style);
  1812. g.direction=t;g.updateTransform(a,q,s,l,n);f.prototype.paintVertexShape.call(g,a,q,s,l,n);a.restore()}h++}while(null!=f)}};mxCellRenderer.prototype.defaultShapes["mxgraph.sysml.composite"]=mxShapeSysMLComposite;function mxShapeSysMLPackage(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLPackage,mxShape);mxShapeSysMLPackage.prototype.cst={PACKAGE:"mxgraph.sysml.package",LABEL_X:"labelX"};
  1813. mxShapeSysMLPackage.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeSysMLPackage.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};mxShapeSysMLPackage.prototype.foreground=function(a,d,e,b,c){d=parseInt(mxUtils.getValue(this.style,mxShapeSysMLPackage.prototype.cst.LABEL_X,"90"));d=Math.min(d,b);20<d&&(a.begin(),a.moveTo(0,20),a.lineTo(d-10,20),a.lineTo(d,10),a.lineTo(d,0),a.stroke())};
  1814. mxCellRenderer.registerShape(mxShapeSysMLPackage.prototype.cst.PACKAGE,mxShapeSysMLPackage);Graph.handleFactory[mxShapeSysMLPackage.prototype.cst.PACKAGE]=function(a){return[Graph.createHandle(a,["labelX"],function(a){var e=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.state.style,"labelX",90))));return new mxPoint(a.x+e,a.y+10)},function(a,e){this.state.style.labelX=Math.round(100*Math.max(0,Math.min(a.width,e.x-a.x)))/100})]};
  1815. function mxShapeSysMLNone(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLNone,mxShape);mxShapeSysMLNone.prototype.cst={NONE:"mxgraph.sysml.none"};mxShapeSysMLNone.prototype.paintVertexShape=function(a,d,e,b,c){};mxCellRenderer.registerShape(mxShapeSysMLNone.prototype.cst.NONE,mxShapeSysMLNone);function mxShapeSysMLRect(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1816. mxUtils.extend(mxShapeSysMLRect,mxShape);mxShapeSysMLRect.prototype.cst={RECT:"mxgraph.sysml.rect"};mxShapeSysMLRect.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d,e,b,c);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLRect.prototype.cst.RECT,mxShapeSysMLRect);function mxShapeSysMLPortOne(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLPortOne,mxShape);mxShapeSysMLPortOne.prototype.cst={PORT1:"mxgraph.sysml.port1"};
  1817. mxShapeSysMLPortOne.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d+0.05*b,e,b-0.1*b,c);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLPortOne.prototype.cst.PORT1,mxShapeSysMLPortOne);function mxShapeSysMLPortTwo(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLPortTwo,mxShape);mxShapeSysMLPortTwo.prototype.cst={PORT2:"mxgraph.sysml.port2"};
  1818. mxShapeSysMLPortTwo.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d+0.05*b,e,0.8*b,c);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLPortTwo.prototype.cst.PORT2,mxShapeSysMLPortTwo);function mxShapeSysMLPortThree(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLPortThree,mxShape);mxShapeSysMLPortThree.prototype.cst={PORT3:"mxgraph.sysml.port3"};
  1819. mxShapeSysMLPortThree.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d+0.07*b,e,0.86*b,c);a.fillAndStroke();a.rect(d,e+0.125*c,0.14*b,0.25*c);a.fillAndStroke();a.rect(d,e+0.625*c,0.14*b,0.25*c);a.fillAndStroke();a.rect(d+0.86*b,e+0.375*c,0.14*b,0.25*c);a.fillAndStroke();this.drawIn(a,d+0.01*b,e+0.2*c,0.11*b,0.1*c);this.drawOut(a,d+0.02*b,e+0.7*c,0.11*b,0.1*c);this.drawInOut(a,d+0.88*b,e+0.45*c,0.1*b,0.1*c)};
  1820. mxShapeSysMLPortThree.prototype.drawIn=function(a,d,e,b,c){a.begin();a.moveTo(d,e+0.5*c);a.lineTo(d+b,e+0.5*c);a.moveTo(d+0.75*b,e);a.lineTo(d+b,e+0.5*c);a.lineTo(d+0.75*b,e+c);a.stroke()};mxShapeSysMLPortThree.prototype.drawOut=function(a,d,e,b,c){a.begin();a.moveTo(d,e+0.5*c);a.lineTo(d+b,e+0.5*c);a.moveTo(d+0.25*b,e);a.lineTo(d,e+0.5*c);a.lineTo(d+0.25*b,e+c);a.stroke()};
  1821. mxShapeSysMLPortThree.prototype.drawInOut=function(a,d,e,b,c){a.begin();a.moveTo(d+0.75*b,e);a.lineTo(d+b,e+0.5*c);a.lineTo(d+0.75*b,e+c);a.moveTo(d+0.25*b,e);a.lineTo(d,e+0.5*c);a.lineTo(d+0.25*b,e+c);a.stroke()};mxCellRenderer.registerShape(mxShapeSysMLPortThree.prototype.cst.PORT3,mxShapeSysMLPortThree);function mxShapeSysMLPortFour(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLPortFour,mxShape);
  1822. mxShapeSysMLPortFour.prototype.cst={PORT4:"mxgraph.sysml.port4"};mxShapeSysMLPortFour.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d+0.05*b,e,b-0.05*b,c);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLPortFour.prototype.cst.PORT4,mxShapeSysMLPortFour);
  1823. mxShapeSysMLPortFour.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0)];function mxShapeSysMLItemFlow(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLItemFlow,mxShape);
  1824. mxShapeSysMLItemFlow.prototype.cst={ITEM_FLOW:"mxgraph.sysml.itemFlow",FLOW_DIR:"flowDir",FLOW_TYPE:"flowType"};
  1825. mxShapeSysMLItemFlow.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapeSysMLItemFlow.prototype.cst.FLOW_DIR,"none").toLowerCase(),g=mxUtils.getValue(this.style,mxShapeSysMLItemFlow.prototype.cst.FLOW_TYPE,"none");"n"===f?(a.rect(d,e+10,b,c-10),a.fillAndStroke(),a.setShadow(!1),a.rect(d+0.5*b-10,e,20,20),a.fillAndStroke(),"in"===g?this.drawDown(a,d+0.5*b-5,e+2,10,16):"out"===g&&this.drawUp(a,d+0.5*b-5,e+2,10,16)):"s"===f?(a.rect(d,e,b,c-10),a.fillAndStroke(),a.setShadow(!1),
  1826. a.rect(d+0.5*b-10,e+c-20,20,20),a.fillAndStroke(),"in"===g?this.drawUp(a,d+0.5*b-5,e+c-18,10,16):"out"===g&&this.drawDown(a,d+0.5*b-5,e+c-18,10,16)):"w"===f?(a.rect(d+10,e,b-10,c),a.fillAndStroke(),a.setShadow(!1),a.rect(d,e+0.5*c-10,20,20),a.fillAndStroke(),"in"===g?this.drawRight(a,d+2,e+0.5*c-5,16,10):"out"===g&&this.drawLeft(a,d+2,e+0.5*c-5,16,10)):"e"===f&&(a.rect(d,e,b-10,c),a.fillAndStroke(),a.setShadow(!1),a.rect(d+b-20,e+0.5*c-10,20,20),a.fillAndStroke(),"in"===g?this.drawLeft(a,d+b-18,e+
  1827. 0.5*c-5,16,10):"out"===g&&this.drawRight(a,d+b-18,e+0.5*c-5,16,10))};mxShapeSysMLItemFlow.prototype.drawRight=function(a,d,e,b,c){a.begin();a.moveTo(d,e+0.5*c);a.lineTo(d+b,e+0.5*c);a.moveTo(d+0.75*b,e);a.lineTo(d+b,e+0.5*c);a.lineTo(d+0.75*b,e+c);a.stroke()};mxShapeSysMLItemFlow.prototype.drawDown=function(a,d,e,b,c){a.begin();a.moveTo(d+0.5*b,e);a.lineTo(d+0.5*b,e+c);a.moveTo(d,e+0.75*c);a.lineTo(d+0.5*b,e+c);a.lineTo(d+b,e+0.75*c);a.stroke()};
  1828. mxShapeSysMLItemFlow.prototype.drawLeft=function(a,d,e,b,c){a.begin();a.moveTo(d,e+0.5*c);a.lineTo(d+b,e+0.5*c);a.moveTo(d+0.25*b,e);a.lineTo(d,e+0.5*c);a.lineTo(d+0.25*b,e+c);a.stroke()};mxShapeSysMLItemFlow.prototype.drawUp=function(a,d,e,b,c){a.begin();a.moveTo(d+0.5*b,e+c);a.lineTo(d+0.5*b,e);a.moveTo(d,e+0.25*c);a.lineTo(d+0.5*b,e);a.lineTo(d+b,e+0.25*c);a.stroke()};mxCellRenderer.registerShape(mxShapeSysMLItemFlow.prototype.cst.ITEM_FLOW,mxShapeSysMLItemFlow);
  1829. mxShapeSysMLItemFlow.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0)];function mxShapeSysMLItemFlowLeft(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLItemFlowLeft,mxShape);mxShapeSysMLItemFlowLeft.prototype.cst={ITEM_FLOW_LEFT:"mxgraph.sysml.itemFlowLeft"};
  1830. mxShapeSysMLItemFlowLeft.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d+10,e,b-10,c);a.fillAndStroke();a.rect(d,e+0.25*c-10,20,20);a.fillAndStroke();a.rect(d,e+0.5*c-10,20,20);a.fillAndStroke();a.rect(d,e+0.75*c-10,20,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLItemFlowLeft.prototype.cst.ITEM_FLOW_LEFT,mxShapeSysMLItemFlowLeft);
  1831. mxShapeSysMLItemFlowLeft.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0)];function mxShapeSysMLItemFlowRight(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1832. mxUtils.extend(mxShapeSysMLItemFlowRight,mxShape);mxShapeSysMLItemFlowRight.prototype.cst={ITEM_FLOW_RIGHT:"mxgraph.sysml.itemFlowRight"};mxShapeSysMLItemFlowRight.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d,e,b-10,c);a.fillAndStroke();a.rect(d+b-20,e+0.25*c-10,20,20);a.fillAndStroke();a.rect(d+b-20,e+0.5*c-10,20,20);a.fillAndStroke();a.rect(d+b-20,e+0.75*c-10,20,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLItemFlowRight.prototype.cst.ITEM_FLOW_RIGHT,mxShapeSysMLItemFlowRight);
  1833. mxShapeSysMLItemFlowRight.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0)];function mxShapeSysMLNestedPort(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1834. mxUtils.extend(mxShapeSysMLNestedPort,mxShape);mxShapeSysMLNestedPort.prototype.cst={NESTED_PORT:"mxgraph.sysml.nestedPort"};mxShapeSysMLNestedPort.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d+0.08*b,e,0.92*b,c);a.fillAndStroke();a.rect(d+0.03*b,e+0.1*c,0.1*b,0.8*c);a.fillAndStroke();a.rect(d,e+0.15*c,0.06*b,0.16*c);a.fillAndStroke();a.rect(d,e+0.42*c,0.06*b,0.16*c);a.fillAndStroke();a.rect(d,e+0.69*c,0.06*b,0.16*c);a.fillAndStroke()};
  1835. mxCellRenderer.registerShape(mxShapeSysMLNestedPort.prototype.cst.NESTED_PORT,mxShapeSysMLNestedPort);mxMarker.addMarker("sysMLPackCont",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1),p=g/2;return function(){a.begin();a.moveTo(b.x-n/2-m/2,b.y-m/2+n/2);a.lineTo(b.x-n/2+m/2,b.y-m/2-n/2);a.stroke();a.ellipse(b.x-0.5*n-p,b.y-0.5*m-p,2*p,2*p);a.stroke()}});
  1836. mxMarker.addMarker("sysMLReqInt",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1),p=g/2;return function(){var c=mxUtils.getValue(d.style,mxConstants.STYLE_FILLCOLOR,"none");a.setFillColor(c);a.ellipse(b.x-0.5*n-p,b.y-0.5*m-p,2*p,2*p);a.fillAndStroke()}});
  1837. mxMarker.addMarker("sysMLProvInt",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1),p=g/2;return function(){var c=mxUtils.getValue(d.style,mxConstants.STYLE_FILLCOLOR,"none");a.setFillColor(c);a.begin();a.moveTo(b.x-m/2,b.y+n/2);a.arcTo(p,p,0,0,1,b.x+m/2,b.y-n/2);a.fillAndStroke()}});function mxShapeSysMLParametricDiagram(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLParametricDiagram,mxShape);
  1838. mxShapeSysMLParametricDiagram.prototype.cst={PARAM_DGM:"mxgraph.sysml.paramDgm"};mxShapeSysMLParametricDiagram.prototype.paintVertexShape=function(a,d,e,b,c){a.roundrect(d,e,b,c,10,10);a.fillAndStroke();a.setShadow(!1);60<c&&(a.rect(d,e+0.25*c-10,20,20),a.stroke(),a.rect(d,e+0.75*c-10,20,20),a.stroke())};mxCellRenderer.registerShape(mxShapeSysMLParametricDiagram.prototype.cst.PARAM_DGM,mxShapeSysMLParametricDiagram);
  1839. function mxShapeSysMLConstraintProperty(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLConstraintProperty,mxShape);mxShapeSysMLConstraintProperty.prototype.cst={CONS_PROP:"mxgraph.sysml.consProp"};mxShapeSysMLConstraintProperty.prototype.paintVertexShape=function(a,d,e,b,c){a.rect(d,e,b,c);a.fillAndStroke();a.setShadow(!1);60<c&&(a.rect(d,e+50,20,20),a.stroke(),a.rect(d,e+80,20,20),a.stroke())};
  1840. mxCellRenderer.registerShape(mxShapeSysMLConstraintProperty.prototype.cst.CONS_PROP,mxShapeSysMLConstraintProperty);function mxShapeSysMLCallBehaviorAction(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLCallBehaviorAction,mxShape);mxShapeSysMLCallBehaviorAction.prototype.cst={CALL_BEH_ACT:"mxgraph.sysml.callBehAct"};
  1841. mxShapeSysMLCallBehaviorAction.prototype.paintVertexShape=function(a,d,e,b,c){a.roundrect(d,e,b,c,10,10);a.fillAndStroke();30<c&&40<b&&(a.setShadow(!1),this.drawSymb(a,d+b-30,e+c-30,20,20))};mxShapeSysMLCallBehaviorAction.prototype.drawSymb=function(a,d,e,b,c){a.begin();a.moveTo(d+0.5*b,e);a.lineTo(d+0.5*b,e+c);a.moveTo(d,e+c);a.lineTo(d,e+0.5*c);a.lineTo(d+b,e+0.5*c);a.lineTo(d+b,e+c);a.stroke()};mxCellRenderer.registerShape(mxShapeSysMLCallBehaviorAction.prototype.cst.CALL_BEH_ACT,mxShapeSysMLCallBehaviorAction);
  1842. function mxShapeSysMLAcceptEventAction(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLAcceptEventAction,mxShape);mxShapeSysMLAcceptEventAction.prototype.cst={ACC_EVENT:"mxgraph.sysml.accEvent"};mxShapeSysMLAcceptEventAction.prototype.paintVertexShape=function(a,d,e,b,c){a.begin();a.moveTo(d,e);a.lineTo(d+b,e);a.lineTo(d+b,e+c);a.lineTo(d,e+c);a.lineTo(d+0.3*c,e+0.5*c);a.close();a.fillAndStroke()};
  1843. mxCellRenderer.registerShape(mxShapeSysMLAcceptEventAction.prototype.cst.ACC_EVENT,mxShapeSysMLAcceptEventAction);function mxShapeSysMLTimeEvent(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLTimeEvent,mxShape);mxShapeSysMLTimeEvent.prototype.cst={TIME_EVENT:"mxgraph.sysml.timeEvent"};
  1844. mxShapeSysMLTimeEvent.prototype.paintVertexShape=function(a,d,e,b,c){a.begin();a.moveTo(d,e);a.lineTo(d+b,e);a.lineTo(d,e+c);a.lineTo(d+b,e+c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLTimeEvent.prototype.cst.TIME_EVENT,mxShapeSysMLTimeEvent);function mxShapeSysMLSendSignalAction(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLSendSignalAction,mxShape);
  1845. mxShapeSysMLSendSignalAction.prototype.cst={SEND_SIG_ACT:"mxgraph.sysml.sendSigAct"};mxShapeSysMLSendSignalAction.prototype.paintVertexShape=function(a,d,e,b,c){a.begin();a.moveTo(d,e);a.lineTo(d+b-0.3*c,e);a.lineTo(d+b,e+0.5*c);a.lineTo(d+b-0.3*c,e+c);a.lineTo(d,e+c);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLSendSignalAction.prototype.cst.SEND_SIG_ACT,mxShapeSysMLSendSignalAction);
  1846. function mxShapeSysMLActivityFinal(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLActivityFinal,mxShape);mxShapeSysMLActivityFinal.prototype.cst={ACT_FINAL:"mxgraph.sysml.actFinal"};mxShapeSysMLActivityFinal.prototype.paintVertexShape=function(a,d,e,b,c){a.ellipse(d,e,b,c);a.fillAndStroke();var f=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(f);a.ellipse(d+5,e+5,b-10,c-10);a.fillAndStroke()};
  1847. mxCellRenderer.registerShape(mxShapeSysMLActivityFinal.prototype.cst.ACT_FINAL,mxShapeSysMLActivityFinal);function mxShapeSysMLActivityParameterNode(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLActivityParameterNode,mxShape);mxShapeSysMLActivityParameterNode.prototype.cst={ACT_PARAM_NODE:"mxgraph.sysml.actParamNode"};
  1848. mxShapeSysMLActivityParameterNode.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();d=Math.max(0.35*b,70);e=Math.min(0.65*b,b-10);a.begin();a.moveTo(d,c);a.lineTo(10,c);a.lineTo(10,0);a.lineTo(d,0);a.moveTo(e,c);a.lineTo(b-10,c);a.lineTo(b-10,0);a.lineTo(e,0);a.stroke();d=Math.min(50,b);20<d&&(a.begin(),a.moveTo(10,20),a.lineTo(d-10,20),a.lineTo(d,10),a.lineTo(d,0),a.lineTo(10,0),a.close(),a.fillAndStroke());a.rect(0,0.35*c-10,20,20);a.fillAndStroke();a.rect(0,0.65*c-10,20,
  1849. 20);a.fillAndStroke();a.rect(b-20,0.5*c-10,20,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLActivityParameterNode.prototype.cst.ACT_PARAM_NODE,mxShapeSysMLActivityParameterNode);function mxShapeSysMLControlOperator(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLControlOperator,mxShape);mxShapeSysMLControlOperator.prototype.cst={CONT_OPER:"mxgraph.sysml.contOper"};
  1850. mxShapeSysMLControlOperator.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapeSysMLControlOperator.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};mxShapeSysMLControlOperator.prototype.foreground=function(a,d,e,b,c){d=Math.min(130,b);20<d&&(a.begin(),a.moveTo(0,20),a.lineTo(d-10,20),a.lineTo(d,10),a.lineTo(d,0),a.stroke())};
  1851. mxCellRenderer.registerShape(mxShapeSysMLControlOperator.prototype.cst.CONT_OPER,mxShapeSysMLControlOperator);function mxShapeSysMLFlowFinal(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLFlowFinal,mxShape);mxShapeSysMLFlowFinal.prototype.cst={FLOW_FINAL:"mxgraph.sysml.flowFinal"};
  1852. mxShapeSysMLFlowFinal.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.ellipse(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();a.moveTo(0.145*b,0.145*c);a.lineTo(0.855*b,0.855*c);a.moveTo(0.855*b,0.145*c);a.lineTo(0.145*b,0.855*c);a.stroke()};mxCellRenderer.registerShape(mxShapeSysMLFlowFinal.prototype.cst.FLOW_FINAL,mxShapeSysMLFlowFinal);function mxShapeSysMLIsControl(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1853. mxUtils.extend(mxShapeSysMLIsControl,mxShape);mxShapeSysMLIsControl.prototype.cst={IS_CONTROL:"mxgraph.sysml.isControl"};mxShapeSysMLIsControl.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0.5*c-10,10,20);a.fillAndStroke();a.roundrect(10,0,b-20,c,10,10);a.fillAndStroke();a.rect(b-10,0.5*c-10,10,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLIsControl.prototype.cst.IS_CONTROL,mxShapeSysMLIsControl);
  1854. function mxShapeSysMLIsStream(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLIsStream,mxShape);mxShapeSysMLIsStream.prototype.cst={IS_STREAM:"mxgraph.sysml.isStream"};
  1855. mxShapeSysMLIsStream.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");e=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");a.setFillColor(d);a.rect(0,0.5*c-10,10,20);a.fillAndStroke();a.setFillColor(e);a.roundrect(10,0,b-20,c,10,10);a.fillAndStroke();a.setFillColor(d);a.rect(b-10,0.5*c-10,10,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLIsStream.prototype.cst.IS_STREAM,mxShapeSysMLIsStream);
  1856. function mxShapeSysMLIsActStream(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLIsActStream,mxShape);mxShapeSysMLIsActStream.prototype.cst={IS_ACT_STREAM:"mxgraph.sysml.isActStream"};
  1857. mxShapeSysMLIsActStream.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.rect(0,0,b-10,c);a.fillAndStroke();d=Math.min(40,b);20<d&&(a.begin(),a.moveTo(0,20),a.lineTo(d-10,20),a.lineTo(d,10),a.lineTo(d,0),a.lineTo(0,0),a.close(),a.fillAndStroke());a.rect(b-20,0.5*c-10,20,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLIsActStream.prototype.cst.IS_ACT_STREAM,mxShapeSysMLIsActStream);
  1858. function mxShapeSysMLParameterSet(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLParameterSet,mxShape);mxShapeSysMLParameterSet.prototype.cst={PARAM_SET:"mxgraph.sysml.paramSet"};
  1859. mxShapeSysMLParameterSet.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0.5*c-28,10,56);a.fillAndStroke();a.roundrect(10,0,b-20,c,10,10);a.fillAndStroke();a.rect(b-10,0.5*c-28,10,56);a.fillAndStroke();a.setShadow(!1);a.rect(4,0.5*c-24,6,20);a.fillAndStroke();a.rect(4,0.5*c+4,6,20);a.fillAndStroke();a.rect(b-10,0.5*c-24,6,20);a.fillAndStroke();a.rect(b-10,0.5*c+4,6,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLParameterSet.prototype.cst.PARAM_SET,mxShapeSysMLParameterSet);
  1860. function mxShapeSysMLParameterActivitySet(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLParameterActivitySet,mxShape);mxShapeSysMLParameterActivitySet.prototype.cst={PARAM_ACT_SET:"mxgraph.sysml.paramActSet"};
  1861. mxShapeSysMLParameterActivitySet.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.rect(10,0,b-20,c);a.fillAndStroke();d=Math.min(50,b);20<d&&(a.begin(),a.moveTo(10,20),a.lineTo(d-10,20),a.lineTo(d,10),a.lineTo(d,0),a.lineTo(10,0),a.close(),a.fillAndStroke());a.setShadow(!1);70<c&&(a.rect(0,0.5*c-28,15,56),a.fillAndStroke(),a.rect(4,0.5*c-24,15,20),a.fillAndStroke(),a.rect(4,0.5*c+4,15,20),a.fillAndStroke(),a.rect(b-15,0.5*c-28,15,56),a.fillAndStroke(),a.rect(b-19,0.5*c-
  1862. 24,15,20),a.fillAndStroke(),a.rect(b-19,0.5*c+4,15,20),a.fillAndStroke())};mxCellRenderer.registerShape(mxShapeSysMLParameterActivitySet.prototype.cst.PARAM_ACT_SET,mxShapeSysMLParameterActivitySet);function mxShapeSysMLProbability(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLProbability,mxShape);mxShapeSysMLProbability.prototype.cst={PROBABILITY:"mxgraph.sysml.probability"};
  1863. mxShapeSysMLProbability.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.roundrect(0,0,b-10,c,10,10);a.fillAndStroke();a.rect(b-10,0.25*c-28,10,56);a.fillAndStroke();a.rect(b-10,0.75*c-28,10,56);a.fillAndStroke();a.setShadow(!1);a.rect(b-10,0.25*c-24,6,20);a.fillAndStroke();a.rect(b-10,0.25*c+4,6,20);a.fillAndStroke();a.rect(b-10,0.75*c-24,6,20);a.fillAndStroke();a.rect(b-10,0.75*c+4,6,20);a.fillAndStroke()};
  1864. mxCellRenderer.registerShape(mxShapeSysMLProbability.prototype.cst.PROBABILITY,mxShapeSysMLProbability);function mxShapeSysMLActivityProbability(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLActivityProbability,mxShape);mxShapeSysMLActivityProbability.prototype.cst={ACT_PROB:"mxgraph.sysml.actProb"};
  1865. mxShapeSysMLActivityProbability.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.rect(0,0,b-10,c);a.fillAndStroke();d=Math.min(40,b);20<d&&(a.begin(),a.moveTo(0,20),a.lineTo(d-10,20),a.lineTo(d,10),a.lineTo(d,0),a.lineTo(0,0),a.close(),a.fillAndStroke());a.setShadow(!1);70<c&&(a.rect(b-15,0.25*c-28,15,56),a.fillAndStroke(),a.rect(b-19,0.25*c-24,15,20),a.fillAndStroke(),a.rect(b-19,0.25*c+4,15,20),a.fillAndStroke(),a.rect(b-15,0.75*c-28,15,56),a.fillAndStroke(),a.rect(b-
  1866. 19,0.75*c-24,15,20),a.fillAndStroke(),a.rect(b-19,0.75*c+4,15,20),a.fillAndStroke())};mxCellRenderer.registerShape(mxShapeSysMLActivityProbability.prototype.cst.ACT_PROB,mxShapeSysMLActivityProbability);function mxShapeSysMLObjectFlowRight(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLObjectFlowRight,mxShape);mxShapeSysMLObjectFlowRight.prototype.cst={OBJ_FLOW_R:"mxgraph.sysml.objFlowR"};
  1867. mxShapeSysMLObjectFlowRight.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.roundrect(0,0,b-10,c,10,10);a.fillAndStroke();a.rect(b-10,0.5*c-10,10,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLObjectFlowRight.prototype.cst.OBJ_FLOW_R,mxShapeSysMLObjectFlowRight);function mxShapeSysMLObjectFlowLeft(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLObjectFlowLeft,mxShape);
  1868. mxShapeSysMLObjectFlowLeft.prototype.cst={OBJ_FLOW_L:"mxgraph.sysml.objFlowL"};mxShapeSysMLObjectFlowLeft.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.rect(0,0.5*c-10,10,20);a.fillAndStroke();a.roundrect(10,0,b-10,c,10,10);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLObjectFlowLeft.prototype.cst.OBJ_FLOW_L,mxShapeSysMLObjectFlowLeft);
  1869. function mxShapeSysMLActivityPartition(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLActivityPartition,mxShape);mxShapeSysMLActivityPartition.prototype.cst={ACT_PART:"mxgraph.sysml.actPart"};mxShapeSysMLActivityPartition.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.moveTo(b,0);a.lineTo(b,c);a.stroke()};
  1870. mxCellRenderer.registerShape(mxShapeSysMLActivityPartition.prototype.cst.ACT_PART,mxShapeSysMLActivityPartition);function mxShapeSysMLContinuation(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLContinuation,mxShape);mxShapeSysMLContinuation.prototype.cst={CONT:"mxgraph.sysml.cont"};
  1871. mxShapeSysMLContinuation.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);b>c?(d=0.5*c,a.begin(),a.moveTo(b-d,0),a.arcTo(d,d,0,0,1,b-d,c),a.lineTo(d,c),a.arcTo(d,d,0,0,1,d,0)):(d=0.5*b,a.begin(),a.moveTo(0,c-d),a.arcTo(d,d,0,0,0,b,c-d),a.lineTo(b,d),a.arcTo(d,d,0,0,0,0,d));a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLContinuation.prototype.cst.CONT,mxShapeSysMLContinuation);
  1872. function mxShapeSysMLCoregion(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLCoregion,mxShape);mxShapeSysMLCoregion.prototype.cst={COREGION:"mxgraph.sysml.coregion"};mxShapeSysMLCoregion.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);d=Math.min(10,c);a.begin();a.moveTo(0,d);a.lineTo(0,0);a.lineTo(b,0);a.lineTo(b,d);a.moveTo(0,c-d);a.lineTo(0,c);a.lineTo(b,c);a.lineTo(b,c-d);a.stroke()};
  1873. mxCellRenderer.registerShape(mxShapeSysMLCoregion.prototype.cst.COREGION,mxShapeSysMLCoregion);mxMarker.addMarker("sysMLx",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1);return function(){a.begin();a.moveTo(b.x-n/2-m/2,b.y-m/2+n/2);a.lineTo(b.x+n/2+m/2,b.y+m/2-n/2);a.moveTo(b.x+n/2-m/2,b.y+m/2+n/2);a.lineTo(b.x-n/2+m/2,b.y-m/2-n/2);a.stroke()}});function mxShapeSysMLDimension(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1874. mxUtils.extend(mxShapeSysMLDimension,mxShape);mxShapeSysMLDimension.prototype.cst={DIMENSION:"mxgraph.sysml.dimension"};mxShapeSysMLDimension.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};mxShapeSysMLDimension.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,20);a.lineTo(b,20);a.moveTo(10,15);a.lineTo(0,20);a.lineTo(10,25);a.moveTo(b-10,15);a.lineTo(b,20);a.lineTo(b-10,25);a.moveTo(0,15);a.lineTo(0,c);a.moveTo(b,15);a.lineTo(b,c);a.stroke()};
  1875. mxCellRenderer.registerShape(mxShapeSysMLDimension.prototype.cst.DIMENSION,mxShapeSysMLDimension);mxMarker.addMarker("sysMLLost",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1),p=g/2;return function(){a.begin();a.moveTo(b.x-1.5*n-m/2,b.y-1.5*m+n/2);a.lineTo(b.x-n/2,b.y-m/2);a.lineTo(b.x-1.5*n+m/2,b.y-1.5*m-n/2);a.stroke();a.ellipse(b.x-0.5*n-p,b.y-0.5*m-p,2*p,2*p);var c=mxUtils.getValue(d.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(c);a.fillAndStroke()}});
  1876. mxMarker.addMarker("sysMLFound",function(a,d,e,b,c,f,g,h,k,l){var n=c*(g+k+1),m=f*(g+k+1),p=g/2;return function(){a.ellipse(b.x-0.5*n-p,b.y-0.5*m-p,2*p,2*p);var c=mxUtils.getValue(d.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(c);a.fillAndStroke()}});function mxShapeSysMLCompositeState(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLCompositeState,mxShape);mxShapeSysMLCompositeState.prototype.cst={COMP_STATE:"mxgraph.sysml.compState"};
  1877. mxShapeSysMLCompositeState.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c)};mxShapeSysMLCompositeState.prototype.background=function(a,d,e,b,c){a.roundrect(0,20,b,c-20,10,10);a.fillAndStroke();a.rect(15,0,110,20);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLCompositeState.prototype.cst.COMP_STATE,mxShapeSysMLCompositeState);
  1878. function mxShapeSysMLRegion(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLRegion,mxShape);mxShapeSysMLRegion.prototype.cst={REGION:"mxgraph.sysml.region"};mxShapeSysMLRegion.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c,20,50);a.setShadow(!1);this.foreground(a,d,e,b,c,20,50)};
  1879. mxShapeSysMLRegion.prototype.background=function(a,d,e,b,c,f,g){d=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1"));a.roundrect(0,f,b,c-f,10,10);a.fillAndStroke();a.setStrokeWidth(2*d);a.rect(15,0,g,f);a.fillAndStroke();a.setStrokeWidth(d)};mxShapeSysMLRegion.prototype.foreground=function(a,d,e,b,c,f,g){a.setDashed(!0);a.begin();a.moveTo(0.5*b,f);a.lineTo(0.5*b,c);a.stroke()};mxCellRenderer.registerShape(mxShapeSysMLRegion.prototype.cst.REGION,mxShapeSysMLRegion);
  1880. function mxShapeSysMLSimpleState(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLSimpleState,mxShape);mxShapeSysMLSimpleState.prototype.cst={SIMPLE_STATE:"mxgraph.sysml.simpleState"};mxShapeSysMLSimpleState.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1)};
  1881. mxShapeSysMLSimpleState.prototype.background=function(a,d,e,b,c){parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_STROKEWIDTH,"1"));a.roundrect(0,0,b,c,10,10);a.fillAndStroke()};mxShapeSysMLSimpleState.prototype.foreground=function(a,d,e,b,c){a.begin();a.moveTo(0,20);a.lineTo(b,20);a.stroke()};mxCellRenderer.registerShape(mxShapeSysMLSimpleState.prototype.cst.SIMPLE_STATE,mxShapeSysMLSimpleState);
  1882. function mxShapeSysMLStateMachine(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLStateMachine,mxShape);mxShapeSysMLStateMachine.prototype.cst={STATE_MACHINE:"mxgraph.sysml.stateMachine"};mxShapeSysMLStateMachine.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1883. mxShapeSysMLStateMachine.prototype.background=function(a,d,e,b,c){a.roundrect(0,0,b-10,c,10,10);a.fillAndStroke()};mxShapeSysMLStateMachine.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.ellipse(b-20,0.5*c-10,20,20);a.stroke();a.ellipse(b-17,0.5*c-7,14,14);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLStateMachine.prototype.cst.STATE_MACHINE,mxShapeSysMLStateMachine);
  1884. function mxShapeSysMLX(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLX,mxShape);mxShapeSysMLX.prototype.cst={X:"mxgraph.sysml.x"};mxShapeSysMLX.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(b,c);a.moveTo(0,c);a.lineTo(b,0);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLX.prototype.cst.X,mxShapeSysMLX);
  1885. function mxShapeSysMLSubmachineState(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLSubmachineState,mxShape);mxShapeSysMLSubmachineState.prototype.cst={SUBMACHINE_STATE:"mxgraph.sysml.submState"};mxShapeSysMLSubmachineState.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1886. mxShapeSysMLSubmachineState.prototype.background=function(a,d,e,b,c){a.roundrect(0,0,b-10,c,10,10);a.fillAndStroke()};mxShapeSysMLSubmachineState.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.setFillColor(d);a.ellipse(b-20,0.5*c-10,20,20);a.stroke();a.ellipse(b-17,0.5*c-7,14,14);a.fillAndStroke()};mxCellRenderer.registerShape(mxShapeSysMLSubmachineState.prototype.cst.SUBMACHINE_STATE,mxShapeSysMLSubmachineState);
  1887. function mxShapeSysMLUseCaseExtensionPoints(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapeSysMLUseCaseExtensionPoints,mxShape);mxShapeSysMLUseCaseExtensionPoints.prototype.cst={USE_CASE_EXT_PT:"mxgraph.sysml.useCaseExtPt"};mxShapeSysMLUseCaseExtensionPoints.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1888. mxShapeSysMLUseCaseExtensionPoints.prototype.background=function(a,d,e,b,c){a.ellipse(0,0,b,c);a.fillAndStroke()};mxShapeSysMLUseCaseExtensionPoints.prototype.foreground=function(a,d,e,b,c){a.begin();a.moveTo(0.02*b,0.35*c);a.lineTo(0.98*b,0.35*c);a.stroke()};mxCellRenderer.registerShape(mxShapeSysMLUseCaseExtensionPoints.prototype.cst.USE_CASE_EXT_PT,mxShapeSysMLUseCaseExtensionPoints);
  1889. function mxShapePidDiscInst(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidDiscInst,mxShape);mxShapePidDiscInst.prototype.cst={SHAPE_DISC_INST:"mxgraph.pid2inst.discInst",MOUNTING:"mounting",FIELD:"field",ROOM:"room",INACCESSIBLE:"inaccessible",LOCAL:"local"};mxShapePidDiscInst.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1890. mxShapePidDiscInst.prototype.background=function(a,d,e,b,c){a.ellipse(0,0,b,c);a.fillAndStroke()};
  1891. mxShapePidDiscInst.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapePidDiscInst.prototype.cst.MOUNTING,"field");d===mxShapePidDiscInst.prototype.cst.ROOM?(a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidDiscInst.prototype.cst.INACCESSIBLE?(a.setDashed(!0),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidDiscInst.prototype.cst.LOCAL&&(a.begin(),a.moveTo(0.005*b,0.48*c),a.lineTo(0.995*b,0.48*c),a.moveTo(0.005*b,0.52*c),a.lineTo(0.995*
  1892. b,0.52*c),a.stroke())};mxCellRenderer.prototype.defaultShapes[mxShapePidDiscInst.prototype.cst.SHAPE_DISC_INST]=mxShapePidDiscInst;
  1893. mxShapePidDiscInst.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.145,0.145),!1),new mxConnectionConstraint(new mxPoint(0.145,0.855),!1),new mxConnectionConstraint(new mxPoint(0.855,0.145),!1),new mxConnectionConstraint(new mxPoint(0.855,0.855),!1)];
  1894. function mxShapePidSharedCont(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidSharedCont,mxShape);mxShapePidSharedCont.prototype.cst={SHAPE_SHARED_CONT:"mxgraph.pid2inst.sharedCont",MOUNTING:"mounting",FIELD:"field",ROOM:"room",INACCESSIBLE:"inaccessible",LOCAL:"local"};mxShapePidSharedCont.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1895. mxShapePidSharedCont.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};
  1896. mxShapePidSharedCont.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapePidSharedCont.prototype.cst.MOUNTING,"field");a.ellipse(0,0,b,c);a.fillAndStroke();d===mxShapePidSharedCont.prototype.cst.ROOM?(a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidSharedCont.prototype.cst.INACCESSIBLE?(a.setDashed(!0),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidDiscInst.prototype.cst.LOCAL&&(a.begin(),a.moveTo(0.005*b,0.48*c),a.lineTo(0.995*
  1897. b,0.48*c),a.moveTo(0.005*b,0.52*c),a.lineTo(0.995*b,0.52*c),a.stroke())};mxCellRenderer.prototype.defaultShapes[mxShapePidSharedCont.prototype.cst.SHAPE_SHARED_CONT]=mxShapePidSharedCont;
  1898. mxShapePidSharedCont.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];
  1899. function mxShapePidCompFunc(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidCompFunc,mxShape);mxShapePidCompFunc.prototype.cst={SHAPE_COMP_FUNC:"mxgraph.pid2inst.compFunc",MOUNTING:"mounting",FIELD:"field",ROOM:"room",INACCESSIBLE:"inaccessible",LOCAL:"local"};mxShapePidCompFunc.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1900. mxShapePidCompFunc.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0.5*c);a.lineTo(0.25*b,0);a.lineTo(0.75*b,0);a.lineTo(b,0.5*c);a.lineTo(0.75*b,c);a.lineTo(0.25*b,c);a.close();a.fillAndStroke()};
  1901. mxShapePidCompFunc.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapePidCompFunc.prototype.cst.MOUNTING,"field");d===mxShapePidCompFunc.prototype.cst.ROOM?(a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidCompFunc.prototype.cst.INACCESSIBLE?(a.setDashed(!0),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidDiscInst.prototype.cst.LOCAL&&(a.begin(),a.moveTo(0.01*b,0.48*c),a.lineTo(0.99*b,0.48*c),a.moveTo(0.01*b,0.52*c),a.lineTo(0.99*
  1902. b,0.52*c),a.stroke())};mxCellRenderer.prototype.defaultShapes[mxShapePidCompFunc.prototype.cst.SHAPE_COMP_FUNC]=mxShapePidCompFunc;
  1903. mxShapePidCompFunc.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.25,0),!1),new mxConnectionConstraint(new mxPoint(0.75,0),!1),new mxConnectionConstraint(new mxPoint(0.25,1),!1),new mxConnectionConstraint(new mxPoint(0.75,1),!1)];
  1904. function mxShapePidProgLogCont(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidProgLogCont,mxShape);mxShapePidProgLogCont.prototype.cst={SHAPE_PROG_LOG_CONT:"mxgraph.pid2inst.progLogCont",MOUNTING:"mounting",FIELD:"field",ROOM:"room",INACCESSIBLE:"inaccessible",LOCAL:"local"};
  1905. mxShapePidProgLogCont.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapePidProgLogCont.prototype.background=function(a,d,e,b,c){a.rect(0,0,b,c);a.fillAndStroke()};
  1906. mxShapePidProgLogCont.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapePidProgLogCont.prototype.cst.MOUNTING,"field");a.begin();a.moveTo(0,0.5*c);a.lineTo(0.5*b,0);a.lineTo(b,0.5*c);a.lineTo(0.5*b,c);a.close();a.stroke();d===mxShapePidProgLogCont.prototype.cst.ROOM?(a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidProgLogCont.prototype.cst.INACCESSIBLE?(a.setDashed(!0),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidDiscInst.prototype.cst.LOCAL&&
  1907. (a.begin(),a.moveTo(0.02*b,0.48*c),a.lineTo(0.98*b,0.48*c),a.moveTo(0.02*b,0.52*c),a.lineTo(0.98*b,0.52*c),a.stroke())};mxCellRenderer.prototype.defaultShapes[mxShapePidProgLogCont.prototype.cst.SHAPE_PROG_LOG_CONT]=mxShapePidProgLogCont;
  1908. mxShapePidProgLogCont.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];
  1909. function mxShapePidIndicator(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidIndicator,mxShape);mxShapePidIndicator.prototype.cst={SHAPE_INDICATOR:"mxgraph.pid2inst.indicator",MOUNTING:"mounting",FIELD:"field",ROOM:"room",INACCESSIBLE:"inaccessible",LOCAL:"local",IND_TYPE:"indType",INSTRUMENT:"inst",CONTROL:"ctrl",FUNCTION:"func",PLC:"plc"};
  1910. mxShapePidIndicator.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1911. mxShapePidIndicator.prototype.background=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapePidIndicator.prototype.cst.IND_TYPE,"inst");a.begin();a.moveTo(0.5*b,b);a.lineTo(0.5*b,c);a.stroke();d===mxShapePidIndicator.prototype.cst.INSTRUMENT?(a.ellipse(0,0,b,b),a.fillAndStroke()):d===mxShapePidIndicator.prototype.cst.CONTROL?(a.rect(0,0,b,b),a.fillAndStroke()):d===mxShapePidIndicator.prototype.cst.FUNCTION?(a.begin(),a.moveTo(0,0.5*b),a.lineTo(0.25*b,0),a.lineTo(0.75*b,0),a.lineTo(b,0.5*b),
  1912. a.lineTo(0.75*b,b),a.lineTo(0.25*b,b),a.close(),a.fillAndStroke()):d===mxShapePidIndicator.prototype.cst.PLC&&(a.rect(0,0,b,b),a.fillAndStroke())};
  1913. mxShapePidIndicator.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapePidIndicator.prototype.cst.MOUNTING,"field");e=mxUtils.getValue(this.style,mxShapePidIndicator.prototype.cst.IND_TYPE,"inst");e===mxShapePidIndicator.prototype.cst.CONTROL?(a.ellipse(0,0,b,b),a.stroke()):e===mxShapePidIndicator.prototype.cst.PLC&&(a.begin(),a.moveTo(0,0.5*b),a.lineTo(0.5*b,0),a.lineTo(b,0.5*b),a.lineTo(0.5*b,b),a.close(),a.stroke());d===mxShapePidIndicator.prototype.cst.ROOM?(a.begin(),
  1914. a.moveTo(0,0.5*b),a.lineTo(b,0.5*b),a.stroke()):d===mxShapePidIndicator.prototype.cst.INACCESSIBLE?(a.setDashed(!0),a.begin(),a.moveTo(0,0.5*b),a.lineTo(b,0.5*b),a.stroke()):d===mxShapePidIndicator.prototype.cst.LOCAL&&(a.begin(),a.moveTo(0.005*b,0.48*b),a.lineTo(0.995*b,0.48*b),a.moveTo(0.005*b,0.52*b),a.lineTo(0.995*b,0.52*b),a.stroke())};mxCellRenderer.prototype.defaultShapes[mxShapePidIndicator.prototype.cst.SHAPE_INDICATOR]=mxShapePidIndicator;
  1915. mxShapePidIndicator.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,1),!0)];function mxShapePidLogic(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidLogic,mxShape);mxShapePidLogic.prototype.cst={SHAPE_LOGIC:"mxgraph.pid2inst.logic",MOUNTING:"mounting",FIELD:"field",ROOM:"room",INACCESSIBLE:"inaccessible",LOCAL:"local"};
  1916. mxShapePidLogic.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapePidLogic.prototype.background=function(a,d,e,b,c){a.begin();a.moveTo(0,0.5*c);a.lineTo(0.5*b,0);a.lineTo(b,0.5*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke()};
  1917. mxShapePidLogic.prototype.foreground=function(a,d,e,b,c){d=mxUtils.getValue(this.style,mxShapePidLogic.prototype.cst.MOUNTING,"field");d===mxShapePidLogic.prototype.cst.ROOM?(a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidLogic.prototype.cst.INACCESSIBLE?(a.setDashed(!0),a.begin(),a.moveTo(0,0.5*c),a.lineTo(b,0.5*c),a.stroke()):d===mxShapePidLogic.prototype.cst.LOCAL&&(a.begin(),a.moveTo(0.02*b,0.48*c),a.lineTo(0.98*b,0.48*c),a.moveTo(0.02*b,0.52*c),a.lineTo(0.98*b,0.52*c),
  1918. a.stroke())};mxCellRenderer.prototype.defaultShapes[mxShapePidLogic.prototype.cst.SHAPE_LOGIC]=mxShapePidLogic;
  1919. mxShapePidLogic.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.25,0.25),!1),new mxConnectionConstraint(new mxPoint(0.25,0.75),!1),new mxConnectionConstraint(new mxPoint(0.75,0.25),!1),new mxConnectionConstraint(new mxPoint(0.75,0.75),!1)];
  1920. function mxShapePidFan(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidFan,mxShape);mxShapePidFan.prototype.cst={SHAPE_FAN:"mxgraph.pid2misc.fan",FAN_TYPE:"fanType",COMMON:"common",AXIAL:"axial",RADIAL:"radial"};mxShapePidFan.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};
  1921. mxShapePidFan.prototype.background=function(a,d,e,b,c){a.ellipse(0,0,b,c);a.fillAndStroke()};
  1922. mxShapePidFan.prototype.foreground=function(a,d,e,b,c){a.begin();a.moveTo(0.3*b,0.045*c);a.lineTo(0.97*b,0.33*c);a.moveTo(0.3*b,0.955*c);a.lineTo(0.97*b,0.67*c);a.moveTo(0.4228*b,0.3655*c);a.arcTo(0.15*b,0.03*c,50,0,1,0.5*b,0.5*c);a.arcTo(0*b,15,0.03*c,50,0,1,0.3772*b,0.4045*c);a.arcTo(0.15*b,0.03*c,50,0,1,0.3025*b,0.271*c);a.arcTo(0.15*b,0.03*c,50,0,1,0.4228*b,0.3655*c);a.close();a.moveTo(0.377*b,0.5973*c);a.arcTo(0.15*b,0.03*c,-50,0,1,0.4966*b,0.5019*c);a.arcTo(0*b,15,0.03*c,-50,0,1,0.423*b,0.636*
  1923. c);a.arcTo(0.15*b,0.03*c,-50,0,1,0.3034*b,0.7314*c);a.arcTo(0.15*b,0.03*c,-50,0,1,0.377*b,0.5973*c);a.close();a.stroke();a.ellipse(0.5*b,0.47*c,0.3*b,0.06*c);a.stroke();d=mxUtils.getValue(this.style,mxShapePidFan.prototype.cst.FAN_TYPE,"common");d===mxShapePidFan.prototype.cst.AXIAL?(a.begin(),a.moveTo(0.1*b,0.5*c),a.lineTo(0.3*b,0.5*c),a.stroke()):d===mxShapePidFan.prototype.cst.RADIAL&&(a.begin(),a.moveTo(0.2*b,0.4*c),a.lineTo(0.2*b,0.6*c),a.stroke())};
  1924. mxCellRenderer.prototype.defaultShapes[mxShapePidFan.prototype.cst.SHAPE_FAN]=mxShapePidFan;function mxShapePidColumn(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidColumn,mxShape);mxShapePidColumn.prototype.cst={SHAPE_COLUMN:"mxgraph.pid2misc.column",COLUMN_TYPE:"columnType",COMMON:"common",FIXED:"fixed",FLUIDIZED:"fluid",BAFFLE:"baffle",VALVE:"valve",BUBBLE:"bubble",NOZZLE:"nozzle",TRAY:"tray"};
  1925. mxShapePidColumn.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1);this.foreground(a,d,e,b,c)};mxShapePidColumn.prototype.background=function(a,d,e,b,c){c=Math.max(c,30);a.begin();a.moveTo(0,15);a.arcTo(0.5*b,15,0,0,1,b,15);a.lineTo(b,c-15);a.arcTo(0.5*b,15,0,0,1,0,c-15);a.close();a.fillAndStroke()};
  1926. mxShapePidColumn.prototype.foreground=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapePidColumn.prototype.cst.COLUMN_TYPE,"common");if(f===mxShapePidColumn.prototype.cst.FIXED){var g=1.2*b;d=c-50;e=0.5*(d%g)+25;a.begin();for(c=0;c<=d-g;c+=g)a.moveTo(0,c+e+0.1*g),a.lineTo(b,c+e+0.1*g),a.moveTo(0,c+e+0.9*g),a.lineTo(b,c+e+0.9*g),a.moveTo(0,c+e+0.1*g),a.lineTo(b,c+e+0.9*g),a.moveTo(0,c+e+0.9*g),a.lineTo(b,c+e+0.1*g);a.stroke()}else if(f===mxShapePidColumn.prototype.cst.TRAY){g=0.2*b;d=c-
  1927. 50;e=0.5*(d%g)+25;a.setDashed(!0);a.begin();for(c=0;c<=d;c+=g)a.moveTo(0,c+e),a.lineTo(b,c+e);a.stroke()}else if(f===mxShapePidColumn.prototype.cst.FLUIDIZED){g=0.1*b;f=0.1*b;d=c-50;e=25;var h=0.02*Math.min(b,c);mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");var k=mxUtils.getValue(this.style,mxConstants.STYLE_DASHED,"0"),l=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000"),n=0;a.setFillColor(l);a.setDashed(!0);a.begin();a.moveTo(0,25);a.lineTo(b,25);a.moveTo(0,
  1928. c-25);a.lineTo(b,c-25);a.stroke();"0"===k?a.setDashed(!1):a.setDashed(!0);k=0;for(c=e+0.5*g;c<d+e-h;c+=g){l=f;n=k%2;for(0===n&&(l=0.5*f);l<b;l+=f)a.ellipse(l,c,h,h),a.fillAndStroke();k++}}else if(f===mxShapePidColumn.prototype.cst.BAFFLE){g=0.2*b;d=c-50-g;e=25+0.5*g;a.setDashed(!0);a.begin();a.moveTo(0,25);a.lineTo(b,25);a.moveTo(0,c-25);a.lineTo(b,c-25);a.stroke();k=0;a.begin();for(c=e+0.5*g;c<d+e;c+=g)n=k%2,0===n?(a.moveTo(0,c),a.lineTo(0.9*b,c),a.lineTo(0.9*b,c-0.3*g)):(a.moveTo(0.1*b,c-0.5*g),
  1929. a.lineTo(0.1*b,c),a.lineTo(b,c)),k++;a.stroke()}else if(f===mxShapePidColumn.prototype.cst.VALVE||f===mxShapePidColumn.prototype.cst.BUBBLE){g=0.2*b;d=c-50-g;e=25+0.5*g;k=mxUtils.getValue(this.style,mxConstants.STYLE_DASHED,"0");a.setFillColor(l);a.setDashed(!0);a.begin();a.moveTo(0,25);a.lineTo(b,25);a.moveTo(0,c-25);a.lineTo(b,c-25);a.stroke();"0"===k?a.setDashed(!1):a.setDashed(!0);a.begin();for(c=e+0.5*g;c<d+e;c+=g)a.moveTo(0,c),a.lineTo(0.4*b,c),f===mxShapePidColumn.prototype.cst.VALVE?(a.moveTo(0.4*
  1930. b,c-0.2*g),a.lineTo(0.6*b,c-0.2*g)):f===mxShapePidColumn.prototype.cst.BUBBLE&&(a.moveTo(0.25*b,c-0.2*g),a.arcTo(3*g,3*g,0,0,1,0.75*b,c-0.2*g)),a.moveTo(0.6*b,c),a.lineTo(b,c);a.stroke()}else if(f===mxShapePidColumn.prototype.cst.NOZZLE){g=1.2*b;d=c-50;e=0.5*(d%g)+25;k=mxUtils.getValue(this.style,mxConstants.STYLE_DASHED,0);for(c=0;c<=d-g;c+=g)a.setDashed(!0),a.begin(),a.moveTo(0,c+e+0.2*g),a.lineTo(b,c+e+0.2*g),a.moveTo(0,c+e+0.8*g),a.lineTo(b,c+e+0.8*g),a.stroke(),0===k?a.setDashed(!1):a.setDashed(!0),
  1931. a.begin(),a.moveTo(0,c+e+0.2*g),a.lineTo(b,c+e+0.8*g),a.moveTo(0,c+e+0.8*g),a.lineTo(b,c+e+0.2*g),0!==c&&(a.moveTo(0,c+e),a.lineTo(0.5*b,c+e),a.moveTo(0.5*b-0.08*g,c+e+0.08*g),a.lineTo(0.5*b,c+e),a.lineTo(0.5*b+0.08*g,c+e+0.08*g),a.moveTo(0.5*b,c+e),a.lineTo(0.5*b,c+e+0.08*g)),a.stroke();a.stroke()}};mxCellRenderer.prototype.defaultShapes[mxShapePidColumn.prototype.cst.SHAPE_COLUMN]=mxShapePidColumn;
  1932. function mxShapePidConveyor(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidConveyor,mxShape);mxShapePidConveyor.prototype.cst={SHAPE_CONVEYOR:"mxgraph.pid2misc.conveyor"};mxShapePidConveyor.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,d,e,b,c);a.setShadow(!1)};
  1933. mxShapePidConveyor.prototype.background=function(a,d,e,b,c){d=Math.min(c,0.5*b);a.begin();a.moveTo(0.5*d,0);a.lineTo(b-0.5*d,0);a.stroke();a.ellipse(0,0,d,d);a.fillAndStroke();a.ellipse(b-d,0,d,d);a.fillAndStroke();a.begin();a.moveTo(0.5*d,d);a.lineTo(b-0.5*d,d);a.stroke();b-=1.8*d;e=0.9*d;c=0.7*d;for(var f=0;f<b;f+=c)a.rect(e+f,0,0.2*d,0.1*d),a.fillAndStroke(),a.rect(e+f,0.9*d,0.2*d,0.1*d),a.fillAndStroke()};
  1934. mxCellRenderer.prototype.defaultShapes[mxShapePidConveyor.prototype.cst.SHAPE_CONVEYOR]=mxShapePidConveyor;function mxShapePidValve(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidValve,mxShape);
  1935. mxShapePidValve.prototype.cst={SHAPE_VALVE:"mxgraph.pid2valves.valve",DEFAULT_STATE:"defState",CLOSED:"closed",OPEN:"open",ACTUATOR:"actuator",MANUAL:"man",DIAPHRAGM:"diaph",BALANCED_DIAPHRAGM:"balDiaph",MOTOR:"motor",NONE:"none",SPRING:"spring",PILOT:"pilot",SOLENOID:"solenoid",SOLENOID_MANUAL_RESET:"solenoidManRes",SINGLE_ACTING:"singActing",DOUBLE_ACTING:"dblActing",PILOT_CYLINDER:"pilotCyl",DIGITAL:"digital",WEIGHT:"weight",KEY:"key",ANGLE_BLOWDOWN:"angleBlowdown",ELECTRO_HYDRAULIC:"elHyd",VALVE_TYPE:"valveType",
  1936. BUTTERFLY:"butterfly",CHECK:"check",PLUG:"plug",GATE:"gate",GLOBE:"globe",NEEDLE:"needle",PLUG:"plug",SELF_DRAINING:"selfDrain",ANGLE:"angle",ANGLE_GLOBE:"angleGlobe",THREE_WAY:"threeWay",ANGLE_BLOWDOWN:"angBlow",BALL:"ball"};
  1937. mxShapePidValve.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.VALVE_TYPE,"gate"),g=mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.ACTUATOR,mxShapePidValve.prototype.cst.NONE),h=0;"none"!==g&&(h=this.isAngleVariant(f)?0.3333*c:0.4*c);a.translate(d,e);a.setLineJoin("round");this.background(a,d,e,b,c,f,g,h);a.setShadow(!1);this.foreground(a,d,e,b,c,f,g,h)};
  1938. mxShapePidValve.prototype.background=function(a,d,e,b,c,f,g,h){g!==mxShapePidValve.prototype.cst.NONE&&(this.isAngleVariant(f)?this.drawActuatorBg(a,d,e,b,c/1.2,g,h):this.drawActuatorBg(a,d,e,b,c,g,h));this.isGateVariant(f)?this.drawGateVariantBg(a,0,0,b,c,f,g,h):this.isAngleVariant(f)?this.drawAngleVariantBg(a,0,0,b,c,f,g,h):f===mxShapePidValve.prototype.cst.BUTTERFLY?this.drawButterflyValve(a,0,0,b,c,g,h):f===mxShapePidValve.prototype.cst.CHECK&&this.drawCheckValve(a,0,0,b,c,g,h)};
  1939. mxShapePidValve.prototype.foreground=function(a,d,e,b,c,f,g,h){f=mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.VALVE_TYPE,"gate");g!==mxShapePidValve.prototype.cst.NONE&&(this.isAngleVariant(f)?this.drawActuatorFg(a,d,e,b,c/1.2,g,h):this.drawActuatorFg(a,d,e,b,c,g,h));this.isGateVariant(f)&&this.drawGateVariantFg(a,0,0,b,c,f,g,h);this.isAngleVariant(f)&&this.drawAngleVariantFg(a,0,0,b,c,f,g,h)};
  1940. mxShapePidValve.prototype.drawActuatorBg=function(a,d,e,b,c,f){this.isSquareVariant(f)?(a.translate(0.325*b,0),this.drawSquareAct(a,0.35*b,0.7*c,f),a.translate(0.325*-b,0)):f===mxShapePidValve.prototype.cst.MANUAL?(a.translate(0.25*b,0.15*c),this.drawManAct(a,0.5*b,0.55*c),a.translate(0.25*-b,0.15*-c)):f===mxShapePidValve.prototype.cst.DIAPHRAGM?(a.translate(0.25*b,0.1*c),this.drawDiaphAct(a,0.5*b,0.6*c),a.translate(0.25*-b,0.1*-c)):f===mxShapePidValve.prototype.cst.BALANCED_DIAPHRAGM?(a.translate(0.25*
  1941. b,0.1*c),this.drawBalDiaphActBg(a,0.5*b,0.6*c),a.translate(0.25*-b,0.1*-c)):f===mxShapePidValve.prototype.cst.MOTOR||f===mxShapePidValve.prototype.cst.ELECTRO_HYDRAULIC?(a.translate(0.325*b,0),this.drawCircleAct(a,0.35*b,0.7*c,f),a.translate(0.325*-b,0)):f===mxShapePidValve.prototype.cst.SPRING?(a.translate(0.36*b,0),this.drawSpringAct(a,0.28*b,0.7*c),a.translate(0.36*-b,0)):f===mxShapePidValve.prototype.cst.SOLENOID_MANUAL_RESET?(a.translate(0.325*b,0),this.drawSolenoidManResetAct(a,0.575*b,0.7*
  1942. c),a.translate(0.325*-b,0)):f===mxShapePidValve.prototype.cst.SINGLE_ACTING?(a.translate(0.35*b,0),this.drawSingActingActBg(a,0.65*b,0.7*c),a.translate(0.35*-b,0)):f===mxShapePidValve.prototype.cst.DOUBLE_ACTING?(a.translate(0.35*b,0),this.drawDblActingActBg(a,0.65*b,0.7*c),a.translate(0.35*-b,0)):f===mxShapePidValve.prototype.cst.PILOT_CYLINDER?(a.translate(0.35*b,0),this.drawPilotCylinderActBg(a,0.65*b,0.7*c),a.translate(0.35*-b,0)):f===mxShapePidValve.prototype.cst.ANGLE_BLOWDOWN&&(a.translate(0.5*
  1943. b,0.2*c),this.drawAngleBlowdownAct(a,0.4*b,0.5*c),a.translate(0.5*-b,0.2*-c))};
  1944. mxShapePidValve.prototype.drawActuatorFg=function(a,d,e,b,c,f){if(f===mxShapePidValve.prototype.cst.BALANCED_DIAPHRAGM)a.translate(0.25*b,0.1*c),this.drawBalDiaphActFg(a,0.5*b,0.6*c),a.translate(0.25*-b,0.1*-c);else if(f===mxShapePidValve.prototype.cst.SINGLE_ACTING||f===mxShapePidValve.prototype.cst.DOUBLE_ACTING||f===mxShapePidValve.prototype.cst.PILOT_CYLINDER)a.translate(0.35*b,0),this.drawActingActFg(a,0.65*b,0.7*c),a.translate(0.35*-b,0)};
  1945. mxShapePidValve.prototype.drawManAct=function(a,d,e){a.begin();a.moveTo(0,0);a.lineTo(d,0);a.moveTo(0.5*d,0);a.lineTo(0.5*d,e);a.stroke()};mxShapePidValve.prototype.drawDiaphAct=function(a,d,e){a.begin();a.moveTo(0.5*d,0.2*e);a.lineTo(0.5*d,e);a.stroke();a.moveTo(0,0.2*e);a.arcTo(0.6*d,0.4*e,0,0,1,d,0.2*e);a.close();a.fillAndStroke()};mxShapePidValve.prototype.drawBalDiaphActBg=function(a,d,e){a.ellipse(0,0,d,0.3*e);a.fillAndStroke();a.begin();a.moveTo(0.5*d,0.3*e);a.lineTo(0.5*d,e);a.stroke()};
  1946. mxShapePidValve.prototype.drawBalDiaphActFg=function(a,d,e){a.begin();a.moveTo(0,0.15*e);a.lineTo(d,0.15*e);a.stroke()};
  1947. mxShapePidValve.prototype.drawCircleAct=function(a,d,e,b){a.ellipse(0,0,d,0.5*e);a.fillAndStroke();a.begin();a.moveTo(0.5*d,0.5*e);a.lineTo(0.5*d,e);a.stroke();var c="";b===mxShapePidValve.prototype.cst.MOTOR?c="M":b===mxShapePidValve.prototype.cst.ELECTRO_HYDRAULIC&&(c="E/H");a.setFontStyle(1);a.setFontFamily("Helvetica");a.setFontSize(0.4*Math.min(d,e));a.text(0.5*d,0.25*e,0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  1948. mxShapePidValve.prototype.drawSpringAct=function(a,d,e){a.begin();a.moveTo(0.5*d,0);a.lineTo(0.5*d,e);a.moveTo(0.32*d,0.16*e);a.lineTo(0.68*d,0.08*e);a.moveTo(0.21*d,0.32*e);a.lineTo(0.79*d,0.2*e);a.moveTo(0.1*d,0.52*e);a.lineTo(0.9*d,0.36*e);a.moveTo(0,0.72*e);a.lineTo(d,0.5*e);a.stroke()};
  1949. mxShapePidValve.prototype.drawSolenoidManResetAct=function(a,d,e){a.rect(0,0,0.61*d,0.46*e);a.fillAndStroke();a.begin();a.moveTo(0.56*d,0.6*e);a.lineTo(0.78*d,0.5*e);a.lineTo(d,0.6*e);a.lineTo(0.78*d,0.7*e);a.close();a.fillAndStroke();a.begin();a.moveTo(0.305*d,0.46*e);a.lineTo(0.305*d,e);a.moveTo(0.305*d,0.6*e);a.lineTo(0.56*d,0.6*e);a.stroke();a.setFontStyle(1);a.setFontFamily("Helvetica");a.setFontSize(0.4*Math.min(d,e));a.text(0.305*d,0.23*e,0,0,"S",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
  1950. 0,null,0,0,0);a.setFontStyle(0);a.setFontSize(0.15*Math.min(d,e));a.text(0.78*d,0.6*e,0,0,"R",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};mxShapePidValve.prototype.drawSingActingActBg=function(a,d,e){a.rect(0,0,0.46*d,0.46*e);a.fillAndStroke();a.begin();a.moveTo(0.23*d,0.46*e);a.lineTo(0.23*d,e);a.moveTo(0.46*d,0.23*e);a.lineTo(d,0.23*e);a.moveTo(0.77*d,0.15*e);a.lineTo(0.69*d,0.31*e);a.moveTo(0.82*d,0.15*e);a.lineTo(0.74*d,0.31*e);a.stroke()};
  1951. mxShapePidValve.prototype.drawActingActFg=function(a,d,e){a.begin();a.moveTo(0.23*d,0.23*e);a.lineTo(0.23*d,0.46*e);a.moveTo(0,0.23*e);a.lineTo(0.46*d,0.23*e);a.stroke()};
  1952. mxShapePidValve.prototype.drawDblActingActBg=function(a,d,e){a.rect(0,0,0.46*d,0.46*e);a.fillAndStroke();a.begin();a.moveTo(0.23*d,0.46*e);a.lineTo(0.23*d,e);a.moveTo(0.46*d,0.115*e);a.lineTo(d,0.115*e);a.moveTo(0.77*d,0.035*e);a.lineTo(0.69*d,0.195*e);a.moveTo(0.82*d,0.035*e);a.lineTo(0.74*d,0.195*e);a.moveTo(0.46*d,0.345*e);a.lineTo(d,0.345*e);a.moveTo(0.77*d,0.265*e);a.lineTo(0.69*d,0.425*e);a.moveTo(0.82*d,0.265*e);a.lineTo(0.74*d,0.425*e);a.stroke()};
  1953. mxShapePidValve.prototype.drawPilotCylinderActBg=function(a,d,e){a.rect(0,0,0.46*d,0.46*e);a.fillAndStroke();a.begin();a.moveTo(0.23*d,0.46*e);a.lineTo(0.23*d,e);a.moveTo(0.46*d,0.23*e);a.lineTo(0.77*d,0.23*e);a.stroke();a.rect(0.77*d,0.115*e,0.23*d,0.23*e);a.fillAndStroke();a.setFontStyle(0);a.setFontFamily("Helvetica");a.setFontSize(0.15*Math.min(d,e));a.text(0.885*d,0.23*e,0,0,"P",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  1954. mxShapePidValve.prototype.drawAngleBlowdownAct=function(a,d,e){a.begin();a.moveTo(0.34*d,0);a.lineTo(d,0.405*e);a.moveTo(0,e);a.lineTo(0.665*d,0.205*e);a.stroke()};
  1955. mxShapePidValve.prototype.drawSquareAct=function(a,d,e,b){a.rect(0,0,d,0.5*e);a.fillAndStroke();a.begin();a.moveTo(0.5*d,0.5*e);a.lineTo(0.5*d,e);a.stroke();var c="";b===mxShapePidValve.prototype.cst.PILOT?c="P":b===mxShapePidValve.prototype.cst.SOLENOID?c="S":b===mxShapePidValve.prototype.cst.DIGITAL?c="D":b===mxShapePidValve.prototype.cst.WEIGHT?c="W":b===mxShapePidValve.prototype.cst.KEY&&(c="K");a.setFontStyle(1);a.setFontFamily("Helvetica");a.setFontSize(0.4*Math.min(d,e));a.text(0.5*d,0.25*
  1956. e,0,0,c,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  1957. mxShapePidValve.prototype.drawGateVariantFg=function(a,d,e,b,c,f,g,h){mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.DEFAULT_STATE,"open");g=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");var k=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");f===mxShapePidValve.prototype.cst.BALL?(a.ellipse(d+0.3*b,e+h+0.18*(c-h),0.4*b,0.64*(c-h)),a.fillAndStroke()):f===mxShapePidValve.prototype.cst.GLOBE?(a.ellipse(d+0.3*b,e+h+0.18*(c-h),0.4*b,0.64*(c-h)),a.setFillColor(k),
  1958. a.fillAndStroke(),a.setFillColor(g)):f===mxShapePidValve.prototype.cst.PLUG?this.drawPlug(a,d+0.4*b,e+h+0.25*(c-h),0.2*b,0.5*(c-h)):f===mxShapePidValve.prototype.cst.NEEDLE?this.drawNeedle(a,d+0.45*b,e+h+0.1*(c-h),0.1*b,0.9*(c-h)):f===mxShapePidValve.prototype.cst.SELF_DRAINING&&this.drawDrain(a,d+0.48*b,e+h+0.5*(c-h),0.04*b,0.49*(c-h))};
  1959. mxShapePidValve.prototype.drawAngleVariantFg=function(a,d,e,b,c,f,g,h){mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.DEFAULT_STATE,"open");d=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");e=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");f===mxShapePidValve.prototype.cst.ANGLE_GLOBE&&("none"===g?a.ellipse(0.34*b,0.175*c,0.32*b,0.4*c):a.ellipse(0.34*b,0.45*c,0.32*b,0.2667*c),a.setFillColor(e),a.fillAndStroke(),a.setFillColor(d))};
  1960. mxShapePidValve.prototype.drawGateVariantBg=function(a,d,e,b,c,f,g,h){f===mxShapePidValve.prototype.cst.GATE?this.drawGateValve(a,d,e+h,b,c-h):f===mxShapePidValve.prototype.cst.BALL||f===mxShapePidValve.prototype.cst.GLOBE?(a.ellipse(d+0.3*b,e+h+0.18*(c-h),0.4*b,0.64*(c-h)),a.fillAndStroke(),this.drawGateValve(a,d,e+h,b,c-h)):f===mxShapePidValve.prototype.cst.PLUG?(this.drawPlug(a,d+0.4*b,e+h+0.25*(c-h),0.2*b,0.5*(c-h)),this.drawGateValve(a,d,e+h,b,c-h)):f===mxShapePidValve.prototype.cst.NEEDLE?(this.drawNeedle(a,
  1961. d+0.45*b,e+h+0.1*(c-h),0.1*b,0.9*(c-h)),this.drawGateValve(a,d,e+h,b,c-h)):f===mxShapePidValve.prototype.cst.SELF_DRAINING&&(this.drawDrain(a,d+0.48*b,e+h+0.5*(c-h),0.04*b,0.49*(c-h)),this.drawGateValve(a,d,e+h,b,c-h))};
  1962. mxShapePidValve.prototype.drawAngleVariantBg=function(a,d,e,b,c,f,g,h){f===mxShapePidValve.prototype.cst.ANGLE?this.drawAngleValve(a,0.2*b,e+h,0.8*b,c-h):f===mxShapePidValve.prototype.cst.ANGLE_GLOBE?this.drawAngleGlobeValveBg(a,0.2*b,e+h,0.8*b,c-h):f===mxShapePidValve.prototype.cst.THREE_WAY?this.drawThreeWayValve(a,0,e+h,b,c-h):f===mxShapePidValve.prototype.cst.ANGLE_BLOWDOWN&&this.drawAngleBlowdownValve(a,d,e+h,b,c-h)};
  1963. mxShapePidValve.prototype.drawPlug=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0.5*c);a.lineTo(0.5*b,0);a.lineTo(b,0.5*c);a.lineTo(0.5*b,c);a.close();a.fillAndStroke();a.translate(-d,-e)};
  1964. mxShapePidValve.prototype.drawNeedle=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(b,0);a.lineTo(0.5*b,c);a.close();a.setFillColor(g);a.fillAndStroke();a.setFillColor(f);a.translate(-d,-e)};
  1965. mxShapePidValve.prototype.drawDrain=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.translate(d,e);a.begin();a.moveTo(0.5*b,0);a.lineTo(0.5*b,0.96*c);a.stroke();a.begin();a.moveTo(0,0.9*c);a.lineTo(b,0.9*c);a.lineTo(0.5*b,c);a.close();a.setFillColor(g);a.fillAndStroke();a.setFillColor(f);a.translate(-d,-e)};
  1966. mxShapePidValve.prototype.drawGateValve=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapePidValve.prototype.cst.DEFAULT_STATE,"open"),g=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(0.5*b,0.5*c);a.lineTo(0,c);a.close();a.moveTo(b,0);a.lineTo(0.5*b,0.5*c);a.lineTo(b,c);a.close();f===mxShapePidValve.prototype.cst.CLOSED?(a.setFillColor(h),a.fillAndStroke(),
  1967. a.setFillColor(g)):a.fillAndStroke();a.translate(-d,-e)};mxShapePidValve.prototype.drawAngleValve=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0.375*b,0.375*c);a.lineTo(b,0);a.lineTo(b,0.75*c);a.close();a.moveTo(0.375*b,0.375*c);a.lineTo(0.75*b,c);a.lineTo(0,c);a.close();a.fillAndStroke();a.translate(-d,-e)};
  1968. mxShapePidValve.prototype.drawAngleGlobeValveBg=function(a,d,e,b,c){a.translate(d,e);a.ellipse(0.175*b,0.175*c,0.4*b,0.4*c);a.fillAndStroke();a.begin();a.moveTo(0.375*b,0.375*c);a.lineTo(b,0);a.lineTo(b,0.75*c);a.close();a.moveTo(0.375*b,0.375*c);a.lineTo(0.75*b,c);a.lineTo(0,c);a.close();a.fillAndStroke();a.translate(-d,-e)};mxShapePidValve.prototype.drawAngleGlobeValveFg=function(a,d,e,b,c){a.translate(d,e);a.ellipse(0.275*b,0.275*c,0.2*b,0.2*c);a.fillAndStroke();a.translate(-d,-e)};
  1969. mxShapePidValve.prototype.drawThreeWayValve=function(a,d,e,b,c){a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(0.5*b,0.375*c);a.lineTo(0,0.75*c);a.close();a.moveTo(b,0);a.lineTo(0.5*b,0.375*c);a.lineTo(b,0.75*c);a.close();a.moveTo(0.5*b,0.375*c);a.lineTo(0.8*b,c);a.lineTo(0.2*b,c);a.close();a.fillAndStroke();a.translate(-d,-e)};mxShapePidValve.prototype.drawAngleBlowdownValve=function(a,d,e,b,c){};
  1970. mxShapePidValve.prototype.drawButterflyValve=function(a,d,e,b,c,f,g){mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");c-=g;a.translate(d,e+g);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.moveTo(b,0);a.lineTo(b,c);a.moveTo(0.05*b,0.05*c);a.lineTo(0.95*b,0.95*c);a.fillAndStroke();a.ellipse(0.4*b,0.33*c,0.2*b,0.33*c);a.fillAndStroke();a.translate(-d,-e)};
  1971. mxShapePidValve.prototype.drawCheckValve=function(a,d,e,b,c,f,g){f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff");var h=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");c-=g;a.translate(d,e+g);a.begin();a.moveTo(0,0);a.lineTo(0,c);a.moveTo(b,0);a.lineTo(b,c);a.moveTo(0.05*b,0.05*c);a.lineTo(0.95*b,0.95*c);a.fillAndStroke();a.begin();a.moveTo(0.8925*b,0.815*c);a.lineTo(0.957*b,0.955*c);a.lineTo(0.85*b,0.928*c);a.close();a.setFillColor(h);a.fillAndStroke();a.setFillColor(f);
  1972. a.translate(-d,-e)};mxShapePidValve.prototype.isGateVariant=function(a){return a===mxShapePidValve.prototype.cst.GATE||a===mxShapePidValve.prototype.cst.BALL||a===mxShapePidValve.prototype.cst.PLUG||a===mxShapePidValve.prototype.cst.NEEDLE||a===mxShapePidValve.prototype.cst.SELF_DRAINING||a===mxShapePidValve.prototype.cst.GLOBE?!0:!1};
  1973. mxShapePidValve.prototype.isAngleVariant=function(a){return a===mxShapePidValve.prototype.cst.ANGLE||a===mxShapePidValve.prototype.cst.ANGLE_GLOBE||a===mxShapePidValve.prototype.cst.THREE_WAY||a===mxShapePidValve.prototype.cst.ANGLE_BLOWDOWN?!0:!1};
  1974. mxShapePidValve.prototype.isSquareVariant=function(a){return a===mxShapePidValve.prototype.cst.PILOT||a===mxShapePidValve.prototype.cst.SOLENOID||a===mxShapePidValve.prototype.cst.DIGITAL||a===mxShapePidValve.prototype.cst.WEIGHT||a===mxShapePidValve.prototype.cst.KEY?!0:!1};mxCellRenderer.prototype.defaultShapes[mxShapePidValve.prototype.cst.SHAPE_VALVE]=mxShapePidValve;
  1975. function mxShapePidIntBlockBleedValve(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidIntBlockBleedValve,mxShapePidValve);
  1976. mxShapePidIntBlockBleedValve.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxShapePidIntBlockBleedValve.prototype.cst.ACTUATOR,mxShapePidIntBlockBleedValve.prototype.cst.NONE),g=0;"none"!==f&&(g=0.2353*c);a.translate(d,e);a.setLineJoin("round");this.background(a,d,e,b,c,f,g);a.setShadow(!1);this.foreground(a,d,e,b,c,f,g)};
  1977. mxShapePidIntBlockBleedValve.prototype.background=function(a,d,e,b,c,f,g){f!==mxShapePidIntBlockBleedValve.prototype.cst.NONE&&this.drawActuatorBg(a,d,e,b,c,f);this.drawValveBg(a,0,g,b,c-g)};mxShapePidIntBlockBleedValve.prototype.foreground=function(a,d,e,b,c,f,g){f!==mxShapePidIntBlockBleedValve.prototype.cst.NONE&&this.drawActuatorFg(a,d,e,b,c,f)};
  1978. mxShapePidIntBlockBleedValve.prototype.drawValveBg=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,"#ffffff"),g=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.translate(d,e);a.begin();a.moveTo(0,0);a.lineTo(0.5*b,0.23*c);a.lineTo(0,0.46*c);a.close();a.moveTo(0.5*b,0.23*c);a.lineTo(b,0);a.lineTo(b,0.46*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.5*b,0.23*c);a.lineTo(0.5*b,0.5*c);a.stroke();a.setFillColor(g);a.begin();a.moveTo(0.3*b,
  1979. 0.5*c);a.lineTo(0.7*b,0.5*c);a.lineTo(0.5*b,0.75*c);a.close();a.fillAndStroke();a.begin();a.moveTo(0.3*b,c);a.lineTo(0.5*b,0.75*c);a.lineTo(0.7*b,c);a.fillAndStroke();a.setFillColor(f);a.translate(-d,-e)};
  1980. mxShapePidIntBlockBleedValve.prototype.drawActuatorBg=function(a,d,e,b,c,f){this.isSquareVariant(f)?(a.translate(0.325*b,0),this.drawSquareAct(a,0.35*b,0.4112*c,f),a.translate(0.325*-b,0)):f===mxShapePidIntBlockBleedValve.prototype.cst.MANUAL?(a.translate(0.25*b,0.0882*c),this.drawManAct(a,0.5*b,0.323*c),a.translate(0.25*-b,0.0882*-c)):f===mxShapePidIntBlockBleedValve.prototype.cst.DIAPHRAGM?(a.translate(0.25*b,0.0588*c),this.drawDiaphAct(a,0.5*b,0.3524*c),a.translate(0.25*-b,0.0588*-c)):f===mxShapePidIntBlockBleedValve.prototype.cst.BALANCED_DIAPHRAGM?
  1981. (a.translate(0.25*b,0.0588*c),this.drawBalDiaphActBg(a,0.5*b,0.3524*c),a.translate(0.25*-b,0.0588*-c)):f===mxShapePidIntBlockBleedValve.prototype.cst.MOTOR||f===mxShapePidIntBlockBleedValve.prototype.cst.ELECTRO_HYDRAULIC?(a.translate(0.325*b,0),this.drawCircleAct(a,0.35*b,0.4112*c,f),a.translate(0.325*-b,0)):f===mxShapePidIntBlockBleedValve.prototype.cst.SPRING?(a.translate(0.36*b,0),this.drawSpringAct(a,0.28*b,0.4112*c),a.translate(0.36*-b,0)):f===mxShapePidIntBlockBleedValve.prototype.cst.SOLENOID_MANUAL_RESET?
  1982. (a.translate(0.325*b,0),this.drawSolenoidManResetAct(a,0.575*b,0.4112*c),a.translate(0.325*-b,0)):f===mxShapePidIntBlockBleedValve.prototype.cst.SINGLE_ACTING?(a.translate(0.35*b,0),this.drawSingActingActBg(a,0.65*b,0.4112*c),a.translate(0.35*-b,0)):f===mxShapePidIntBlockBleedValve.prototype.cst.DOUBLE_ACTING?(a.translate(0.35*b,0),this.drawDblActingActBg(a,0.65*b,0.4112*c),a.translate(0.35*-b,0)):f===mxShapePidIntBlockBleedValve.prototype.cst.PILOT_CYLINDER&&(a.translate(0.35*b,0),this.drawPilotCylinderActBg(a,
  1983. 0.65*b,0.4112*c),a.translate(0.35*-b,0))};
  1984. mxShapePidIntBlockBleedValve.prototype.drawActuatorFg=function(a,d,e,b,c,f){if(f===mxShapePidIntBlockBleedValve.prototype.cst.BALANCED_DIAPHRAGM)a.translate(0.25*b,0.0588*c),this.drawBalDiaphActFg(a,0.5*b,0.3524*c),a.translate(0.25*-b,0.0588*-c);else if(f===mxShapePidIntBlockBleedValve.prototype.cst.SINGLE_ACTING||f===mxShapePidIntBlockBleedValve.prototype.cst.DOUBLE_ACTING||f===mxShapePidIntBlockBleedValve.prototype.cst.PILOT_CYLINDER)a.translate(0.35*b,0),this.drawActingActFg(a,0.65*b,0.4112*c),
  1985. a.translate(0.35*-b,0)};mxCellRenderer.prototype.defaultShapes["mxgraph.pid2valves.blockBleedValve"]=mxShapePidIntBlockBleedValve;function mxShapePidAutoRecircValve(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxShapePidAutoRecircValve,mxShape);
  1986. mxShapePidAutoRecircValve.prototype.paintVertexShape=function(a,d,e,b,c){a.setLineJoin("round");a.translate(d,e);a.rect(0,0,b,c);a.fillAndStroke();a.setShadow(!1);a.begin();a.moveTo(0.08*b,0.08*c);a.lineTo(0.08*b,0.92*c);a.moveTo(0.92*b,0.08*c);a.lineTo(0.92*b,0.92*c);a.moveTo(0.12*b,0.122*c);a.lineTo(0.8738*b,0.8837*c);a.moveTo(0.5*b,0);a.lineTo(0.55*b,0.05*c);a.lineTo(0.45*b,0.15*c);a.lineTo(0.55*b,0.25*c);a.lineTo(0.45*b,0.35*c);a.lineTo(0.55*b,0.45*c);a.lineTo(0.49*b,0.5*c);a.stroke();d=mxUtils.getValue(this.style,
  1987. mxConstants.STYLE_FILLCOLOR,"#ffffff");e=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,"#000000");a.begin();a.moveTo(0.8257*b,0.7695*c);a.lineTo(0.8797*b,0.888*c);a.lineTo(0.79*b,0.8651*c);a.close();a.setFillColor(e);a.fillAndStroke();a.setFillColor(d)};mxCellRenderer.prototype.defaultShapes["mxgraph.pid2valves.autoRecircValve"]=mxShapePidAutoRecircValve;function mxRackContainer(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  1988. mxUtils.extend(mxRackContainer,mxShape);mxRackContainer.unitSize=20;mxRackContainer.prototype.cst={SHAPE_RACK_CONTAINER:"mxgraph.rackGeneral.container",TEXT_COLOR:"textColor",NUMBER_DISPLAY:"numDisp",OFF:"off",DIR_ASC:"ascend",DIR_DESC:"descend"};
  1989. mxRackContainer.prototype.paintVertexShape=function(a,d,e,b,c){var f=mxUtils.getValue(this.style,mxRackContainer.prototype.cst.NUMBER_DISPLAY,mxRackContainer.prototype.cst.DIR_ASC);f!==mxRackContainer.prototype.cst.OFF?(a.translate(d+24,e),b=Math.max(b-24,0)):a.translate(d,e);this.background(a,b,c,12);a.setShadow(!1);this.foreground(a,b,c,12);f!==mxRackContainer.prototype.cst.OFF&&42<b&&this.sideText(a,b,c,12)};
  1990. mxRackContainer.prototype.background=function(a,d,e,b){a.setFillColor("#ffffff");a.rect(0,0,d,e);a.fillAndStroke()};mxRackContainer.prototype.foreground=function(a,d,e,b){d>18+2*b&&42<e&&(a.setFillColor("#f4f4f4"),a.rect(0,0,d,21),a.fillAndStroke(),a.rect(0,e-21,d,21),a.fillAndStroke(),a.rect(0,21,9,e-42),a.fillAndStroke(),a.rect(d-9,21,9,e-42),a.fillAndStroke(),a.ellipse(2.5,7.5,6,6),a.stroke(),a.ellipse(d-8.5,7.5,6,6),a.stroke(),a.ellipse(2.5,e-13.5,6,6),a.stroke(),a.ellipse(d-8.5,e-13.5,6,6),a.stroke())};
  1991. mxRackContainer.prototype.sideText=function(a,d,e,b){var c=mxUtils.getValue(this.style,mxRackContainer.prototype.cst.TEXT_COLOR,"#666666");d=mxUtils.getValue(this.style,mxRackContainer.prototype.cst.NUMBER_DISPLAY,mxRackContainer.prototype.cst.DIR_ASC);a.setFontSize(b);a.setFontColor(c);e=Math.floor((Math.abs(e)-42)/mxRackContainer.unitSize);for(c=0;c<e;c++)a.text(-b,21+0.5*mxRackContainer.unitSize+c*mxRackContainer.unitSize,0,0,d===mxRackContainer.prototype.cst.DIR_DESC?(c+1).toString():(e-c).toString(),
  1992. mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor("#dddddd");a.begin();for(c=0;c<e+1;c++)a.moveTo(-2*b,21+c*mxRackContainer.unitSize),a.lineTo(0,21+c*mxRackContainer.unitSize);a.stroke()};function mxRackPlate(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=1}mxUtils.extend(mxRackPlate,mxShape);mxRackPlate.prototype.cst={SHAPE_RACK_PLATE:"mxgraph.rackGeneral.plate"};
  1993. mxRackPlate.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackPlate.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};mxRackPlate.prototype.foreground=function(a,d,e){18<d&&(a.save(),a.setFillColor("#b4b4b4"),a.rect(0,0,d,e),a.fillAndStroke(),a.restore(),a.rect(9,0,d-18,e),a.fillAndStroke())};
  1994. function mxRackHorCableDuct(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorCableDuct,mxShape);mxRackHorCableDuct.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT:"mxgraph.rackGeneral.horCableDuct"};mxRackHorCableDuct.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  1995. mxRackHorCableDuct.prototype.foreground=function(a,d,e){e=Math.floor((d-20)/33);d=10+Math.floor((d-20-33*e)/2);if(0<e)for(var b=0;b<=e;b++)a.rect(d,0,3,7),a.stroke(),a.rect(d,7,3,7.8),a.stroke(),d+=33};function mxRackHorRoutingBank(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorRoutingBank,mxShape);mxRackHorRoutingBank.prototype.cst={SHAPE_RACK_HOR_ROUTING_BANK:"mxgraph.rackGeneral.horRoutingBank"};
  1996. mxRackHorRoutingBank.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorRoutingBank.prototype.background=function(a,d,e){a.rect(0,0,d,e);a.fillAndStroke()};
  1997. mxRackHorRoutingBank.prototype.foreground=function(a,d,e){var b=Math.floor((d-20-16)/22);e=Math.floor(e/mxRackContainer.unitSize);if(0<b&&0<e)for(var c=0;c<e;c++)for(var f=18+Math.floor((d-20-16-22*b)/2)-8,g=0;g<=b;g++)a.rect(f,4+c*mxRackContainer.unitSize,16,6.8),a.stroke(),f+=22};function mxRackNeatPatch(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackNeatPatch,mxShape);mxRackNeatPatch.prototype.cst={SHAPE_RACK_NEAT_PATCH:"mxgraph.rackGeneral.neatPatch"};
  1998. mxRackNeatPatch.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.mainText(a,b,c)};mxRackNeatPatch.prototype.background=function(a,d,e){a.setFillColor("#666666");a.rect(0,0,d,e);a.fillAndStroke()};mxRackNeatPatch.prototype.mainText=function(a,d,e){a.setFontSize("12");a.setFontColor("#ffffff");a.setFontStyle(mxConstants.FONT_BOLD);a.text(d/2,e-6,0,0,"NEAT-PATCH",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};
  1999. function mxRackShelf(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackShelf,mxShape);mxRackShelf.prototype.cst={SHAPE_RACK_SHELF:"mxgraph.rackGeneral.shelf"};mxRackShelf.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c)};mxRackShelf.prototype.background=function(a,d,e){a.setStrokeWidth(2);a.begin();a.moveTo(1,0);a.lineTo(1,e-1);a.lineTo(d-1,e-1);a.lineTo(d-1,1);a.fillAndStroke()};
  2000. function mxRackRackNumbering(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackRackNumbering,mxShape);mxRackRackNumbering.prototype.cst={SHAPE_RACK_RACK_NUMBERING:"mxgraph.rackGeneral.rackNumbering",UNIT_NUM:"unitNum",UNIT_HEIGHT:"unitHeight",TEXT_COLOR:"textColor",NUM_DIR:"numDir",DIR_ASC:"ascend",DIR_DESC:"descend",TEXT_SIZE:"textSize"};
  2001. mxRackRackNumbering.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFloat(mxUtils.getValue(this.style,mxRackRackNumbering.prototype.cst.UNIT_NUM,"42")),g=parseFloat(mxUtils.getValue(this.style,mxRackRackNumbering.prototype.cst.UNIT_HEIGHT,"14.8")),h=parseFloat(mxUtils.getValue(this.style,mxRackRackNumbering.prototype.cst.TEXT_SIZE,"12"));a.translate(d,e);c=f*g;this.background(a,b,c,h);a.setShadow(!1);this.sideText(a,b,c,f,g,h)};
  2002. mxRackRackNumbering.prototype.background=function(a,d,e,b){a.rect(3*b,0,160.9,e);a.fillAndStroke()};
  2003. mxRackRackNumbering.prototype.sideText=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxRackRackNumbering.prototype.cst.TEXT_COLOR,"#666666");var g=mxUtils.getValue(this.style,mxRackRackNumbering.prototype.cst.NUM_DIR,mxRackRackNumbering.prototype.cst.DIR_DESC);a.setFontSize(f);a.setFontColor(d);if(g===mxRackRackNumbering.prototype.cst.DIR_ASC)for(d=0;d<b;d++)a.text(f,0.5*c+d*c,0,0,(d+1).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else for(d=0;d<b;d++)a.text(f,
  2004. e-0.5*c-d*c,0,0,(d+1).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor("#dddddd");a.begin();for(d=0;d<b+1;d++)a.moveTo(0,d*c),a.lineTo(3*f,d*c);a.stroke()};function mxRackRackCabinet(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackRackCabinet,mxShape);
  2005. mxRackRackCabinet.prototype.cst={SHAPE_RACK_RACK_CABINET:"mxgraph.rackGeneral.rackCabinet",UNIT_NUM:"unitNum",UNIT_HEIGHT:"unitHeight",TEXT_COLOR:"textColor",NUM_DIR:"numDir",NUMBER_DISPLAY:"numDisp",ON:"on",OFF:"off",DIR_ASC:"ascend",DIR_DESC:"descend",TEXT_SIZE:"textSize"};
  2006. mxRackRackCabinet.prototype.paintVertexShape=function(a,d,e,b,c){var f=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet.prototype.cst.UNIT_NUM,"12")),g=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet.prototype.cst.UNIT_HEIGHT,"14.8")),h=parseFloat(mxUtils.getValue(this.style,mxRackRackCabinet.prototype.cst.TEXT_SIZE,"12")),k=mxUtils.getValue(this.style,mxRackRackCabinet.prototype.cst.NUMBER_DISPLAY,mxRackRackCabinet.prototype.cst.ON);k===mxRackRackCabinet.prototype.cst.ON?a.translate(d+
  2007. 2*h,e):a.translate(d,e);c=f*g+42;this.background(a,b,c,h);a.setShadow(!1);this.foreground(a,b,c,h);k===mxRackRackCabinet.prototype.cst.ON&&this.sideText(a,b,c,f,g,h)};mxRackRackCabinet.prototype.background=function(a,d,e,b){a.setFillColor("#ffffff");a.rect(0,0,180,e);a.fillAndStroke()};
  2008. mxRackRackCabinet.prototype.foreground=function(a,d,e,b){a.setFillColor("#f4f4f4");a.rect(0,0,180,21);a.fillAndStroke();a.rect(0,e-21,180,21);a.fillAndStroke();a.rect(0,21,9,e-42);a.fillAndStroke();a.rect(171,21,9,e-42);a.fillAndStroke();a.ellipse(2.5,7.5,6,6);a.stroke();a.ellipse(171.5,7.5,6,6);a.stroke();a.ellipse(2.5,e-13.5,6,6);a.stroke();a.ellipse(171.5,e-13.5,6,6);a.stroke()};
  2009. mxRackRackCabinet.prototype.sideText=function(a,d,e,b,c,f){d=mxUtils.getValue(this.style,mxRackRackCabinet.prototype.cst.TEXT_COLOR,"#666666");var g=mxUtils.getValue(this.style,mxRackRackCabinet.prototype.cst.NUM_DIR,mxRackRackCabinet.prototype.cst.DIR_DESC);a.setFontSize(f);a.setFontColor(d);if(g===mxRackRackCabinet.prototype.cst.DIR_ASC)for(d=0;d<b;d++)a.text(-f,21+0.5*c+d*c,0,0,(d+1).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);else for(d=0;d<b;d++)a.text(-f,e-21-
  2010. 0.5*c-d*c,0,0,(d+1).toString(),mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0);a.setStrokeColor("#dddddd");a.begin();for(d=0;d<b+1;d++)a.moveTo(-2*f,21+d*c),a.lineTo(0,21+d*c);a.stroke()};function mxRackHorCableDuct1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorCableDuct1U,mxShape);mxRackHorCableDuct1U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_1U:"mxgraph.rackGeneral.horCableDuct1U"};
  2011. mxRackHorCableDuct1U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct1U.prototype.background=function(a,d,e){a.rect(0,0,160.9,14.8);a.fillAndStroke()};
  2012. mxRackHorCableDuct1U.prototype.foreground=function(a,d,e){a.rect(12,0,3,7);a.stroke();a.rect(12,7,3,7.8);a.stroke();a.rect(45.5,0,3,7);a.stroke();a.rect(45.5,7,3,7.8);a.stroke();a.rect(79,0,3,7);a.stroke();a.rect(79,7,3,7.8);a.stroke();a.rect(112.5,0,3,7);a.stroke();a.rect(112.5,7,3,7.8);a.stroke();a.rect(146,0,3,7);a.stroke();a.rect(146,7,3,7.8);a.stroke()};function mxRackHorCableDuct2U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  2013. mxUtils.extend(mxRackHorCableDuct2U,mxShape);mxRackHorCableDuct2U.prototype.cst={SHAPE_RACK_HOR_CABLE_DUCT_2U:"mxgraph.rackGeneral.horCableDuct2U"};mxRackHorCableDuct2U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorCableDuct2U.prototype.background=function(a,d,e){a.rect(0,0,160.9,29.6);a.fillAndStroke()};
  2014. mxRackHorCableDuct2U.prototype.foreground=function(a,d,e){a.rect(12,0,3,7);a.stroke();a.rect(12,7,3,22.6);a.stroke();a.rect(45.5,0,3,7);a.stroke();a.rect(45.5,7,3,22.6);a.stroke();a.rect(79,0,3,7);a.stroke();a.rect(79,7,3,22.6);a.stroke();a.rect(112.5,0,3,7);a.stroke();a.rect(112.5,7,3,22.6);a.stroke();a.rect(146,0,3,7);a.stroke();a.rect(146,7,3,22.6);a.stroke()};function mxRackHorRoutingBank1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  2015. mxUtils.extend(mxRackHorRoutingBank1U,mxShape);mxRackHorRoutingBank1U.prototype.cst={SHAPE_RACK_HOR_ROUTING_BANK_1U:"mxgraph.rackGeneral.horRoutingBank1U"};mxRackHorRoutingBank1U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorRoutingBank1U.prototype.background=function(a,d,e){a.rect(0,0,160.9,14.8);a.fillAndStroke()};
  2016. mxRackHorRoutingBank1U.prototype.foreground=function(a,d,e){a.rect(10,4,17,6.8);a.stroke();a.rect(31,4,17,6.8);a.stroke();a.rect(52,4,17,6.8);a.stroke();a.rect(73,4,17,6.8);a.stroke();a.rect(94,4,17,6.8);a.stroke();a.rect(115,4,17,6.8);a.stroke();a.rect(136,4,17,6.8);a.stroke()};function mxRackHorRoutingBank2U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackHorRoutingBank2U,mxShape);mxRackHorRoutingBank2U.prototype.cst={SHAPE_RACK_HOR_ROUTING_BANK_2U:"mxgraph.rackGeneral.horRoutingBank2U"};
  2017. mxRackHorRoutingBank2U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};mxRackHorRoutingBank2U.prototype.background=function(a,d,e){a.rect(0,0,160.9,29.6);a.fillAndStroke()};
  2018. mxRackHorRoutingBank2U.prototype.foreground=function(a,d,e){a.rect(10,4,17,6.8);a.stroke();a.rect(31,4,17,6.8);a.stroke();a.rect(52,4,17,6.8);a.stroke();a.rect(73,4,17,6.8);a.stroke();a.rect(94,4,17,6.8);a.stroke();a.rect(115,4,17,6.8);a.stroke();a.rect(136,4,17,6.8);a.stroke();a.rect(10,18.8,17,6.8);a.stroke();a.rect(31,18.8,17,6.8);a.stroke();a.rect(52,18.8,17,6.8);a.stroke();a.rect(73,18.8,17,6.8);a.stroke();a.rect(94,18.8,17,6.8);a.stroke();a.rect(115,18.8,17,6.8);a.stroke();a.rect(136,18.8,17,
  2019. 6.8);a.stroke()};function mxRackNeatPatch2U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackNeatPatch2U,mxShape);mxRackNeatPatch2U.prototype.cst={SHAPE_RACK_NEAT_PATCH_2U:"mxgraph.rackGeneral.neatPatch2U"};mxRackNeatPatch2U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.mainText(a,b,c)};
  2020. mxRackNeatPatch2U.prototype.background=function(a,d,e){a.setFillColor("#666666");a.rect(0,0,160.9,29.6);a.fillAndStroke()};mxRackNeatPatch2U.prototype.mainText=function(a,d,e){a.setFontSize("12");a.setFontColor("#ffffff");a.setFontStyle(mxConstants.FONT_BOLD);a.text(80.45,24,0,0,"NEAT-PATCH",mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,0,null,0,0,0)};function mxRackShelf1U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}
  2021. mxUtils.extend(mxRackShelf1U,mxShape);mxRackShelf1U.prototype.cst={SHAPE_RACK_SHELF_1U:"mxgraph.rackGeneral.shelf1U"};mxRackShelf1U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c)};mxRackShelf1U.prototype.background=function(a,d,e){a.setStrokeWidth(2);a.begin();a.moveTo(0,0);a.lineTo(0,14.8);a.lineTo(160.9,14.8);a.lineTo(160.9,0);a.fillAndStroke()};
  2022. function mxRackShelf2U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackShelf2U,mxShape);mxRackShelf2U.prototype.cst={SHAPE_RACK_SHELF_2U:"mxgraph.rackGeneral.shelf2U"};mxRackShelf2U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c)};mxRackShelf2U.prototype.background=function(a,d,e){a.setStrokeWidth(2);a.begin();a.moveTo(0,0);a.lineTo(0,29.6);a.lineTo(160.9,29.6);a.lineTo(160.9,0);a.fillAndStroke()};
  2023. function mxRackShelf4U(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackShelf4U,mxShape);mxRackShelf4U.prototype.cst={SHAPE_RACK_SHELF_4U:"mxgraph.rackGeneral.shelf4U"};mxRackShelf4U.prototype.paintVertexShape=function(a,d,e,b,c){a.translate(d,e);this.background(a,b,c)};mxRackShelf4U.prototype.background=function(a,d,e){a.setStrokeWidth(2);a.begin();a.moveTo(0,0);a.lineTo(0,59.2);a.lineTo(160.9,59.2);a.lineTo(160.9,0);a.fillAndStroke()};
  2024. function mxRackChannelBase(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackChannelBase,mxShape);mxRackChannelBase.prototype.cst={SHAPE_RACK_CHANNEL_BASE:"mxgraph.rackGeneral.channelBase"};mxRackChannelBase.prototype.paintVertexShape=function(a,d,e,b,c){b=Math.max(b,20);c=Math.max(c,20);a.translate(d,e);this.background(a,b,c);a.setShadow(!1);this.foreground(a,b,c)};
  2025. mxRackChannelBase.prototype.background=function(a,d,e){a.rect(10,e-15,5,15);a.fillAndStroke();a.rect(d-15,e-15,5,15);a.fillAndStroke();a.rect(0,0,d,e-5);a.fillAndStroke()};mxRackChannelBase.prototype.foreground=function(a,d,e){a.setFillColor("#000000");a.rect(10,e-15,5,15);a.fillAndStroke();a.rect(d-15,e-15,5,15);a.fillAndStroke()};function mxRackCabinetLeg(a,d,e,b){mxShape.call(this);this.bounds=a;this.fill=d;this.stroke=e;this.strokewidth=null!=b?b:1}mxUtils.extend(mxRackCabinetLeg,mxShape);
  2026. mxRackCabinetLeg.prototype.cst={SHAPE_RACK_CABINET_LEG:"mxgraph.rackGeneral.cabinetLeg"};mxRackCabinetLeg.prototype.paintVertexShape=function(a,d,e,b,c){b=Math.max(b,20);c=Math.max(c,20);a.translate(d,e);this.background(a,b,c)};
  2027. mxRackCabinetLeg.prototype.background=function(a,d,e){a.begin();a.moveTo(0,e-10);a.lineTo(5,e-10);a.lineTo(5,e-12);a.lineTo(9,e-12);a.lineTo(9,e-10);a.lineTo(d-10,e-10);a.lineTo(d-10,9);a.lineTo(d-12,9);a.lineTo(d-12,5);a.lineTo(d-10,5);a.lineTo(d-10,0);a.lineTo(d,0);a.lineTo(d,e);a.lineTo(0,e);a.close();a.fillAndStroke()};mxCellRenderer.registerShape(mxRackContainer.prototype.cst.SHAPE_RACK_CONTAINER,mxRackContainer);
  2028. mxCellRenderer.registerShape(mxRackHorCableDuct.prototype.cst.SHAPE_RACK_HOR_CABLE_DUCT,mxRackHorCableDuct);mxCellRenderer.registerShape(mxRackHorRoutingBank.prototype.cst.SHAPE_RACK_HOR_ROUTING_BANK,mxRackHorRoutingBank);mxCellRenderer.registerShape(mxRackNeatPatch.prototype.cst.SHAPE_RACK_NEAT_PATCH,mxRackNeatPatch);mxCellRenderer.registerShape(mxRackShelf.prototype.cst.SHAPE_RACK_SHELF,mxRackShelf);mxCellRenderer.registerShape(mxRackPlate.prototype.cst.SHAPE_RACK_PLATE,mxRackPlate);
  2029. mxCellRenderer.registerShape(mxRackRackNumbering.prototype.cst.SHAPE_RACK_RACK_NUMBERING,mxRackRackNumbering);mxCellRenderer.registerShape(mxRackRackCabinet.prototype.cst.SHAPE_RACK_RACK_CABINET,mxRackRackCabinet);mxCellRenderer.registerShape(mxRackHorCableDuct1U.prototype.cst.SHAPE_RACK_HOR_CABLE_DUCT_1U,mxRackHorCableDuct1U);mxCellRenderer.registerShape(mxRackHorCableDuct2U.prototype.cst.SHAPE_RACK_HOR_CABLE_DUCT_2U,mxRackHorCableDuct2U);
  2030. mxCellRenderer.registerShape(mxRackHorRoutingBank1U.prototype.cst.SHAPE_RACK_HOR_ROUTING_BANK_1U,mxRackHorRoutingBank1U);mxCellRenderer.registerShape(mxRackHorRoutingBank2U.prototype.cst.SHAPE_RACK_HOR_ROUTING_BANK_2U,mxRackHorRoutingBank2U);mxCellRenderer.registerShape(mxRackNeatPatch2U.prototype.cst.SHAPE_RACK_NEAT_PATCH_2U,mxRackNeatPatch2U);mxCellRenderer.registerShape(mxRackShelf1U.prototype.cst.SHAPE_RACK_SHELF_1U,mxRackShelf1U);
  2031. mxCellRenderer.registerShape(mxRackShelf2U.prototype.cst.SHAPE_RACK_SHELF_2U,mxRackShelf2U);mxCellRenderer.registerShape(mxRackShelf4U.prototype.cst.SHAPE_RACK_SHELF_4U,mxRackShelf4U);mxCellRenderer.registerShape(mxRackChannelBase.prototype.cst.SHAPE_RACK_CHANNEL_BASE,mxRackChannelBase);mxCellRenderer.registerShape(mxRackCabinetLeg.prototype.cst.SHAPE_RACK_CABINET_LEG,mxRackCabinetLeg);