button.svg 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <svg
  3. xmlns:dc="http://purl.org/dc/elements/1.1/"
  4. xmlns:cc="http://creativecommons.org/ns#"
  5. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  6. xmlns:svg="http://www.w3.org/2000/svg"
  7. xmlns="http://www.w3.org/2000/svg"
  8. xmlns:xlink="http://www.w3.org/1999/xlink"
  9. xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
  10. xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
  11. width="2in"
  12. height="1in"
  13. viewBox="0 0 50.8 25.400001"
  14. version="1.1"
  15. id="svg8"
  16. inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
  17. sodipodi:docname="button.svg"
  18. inkscape:export-filename="C:\Users\bad-p\Desktop\Work Folder\VS CODE\Qwixx\frontend\inkScape\buttons\greenNewGame.png"
  19. inkscape:export-xdpi="200"
  20. inkscape:export-ydpi="200">
  21. <defs
  22. id="defs2">
  23. <linearGradient
  24. inkscape:collect="always"
  25. id="linearGradient999">
  26. <stop
  27. style="stop-color:#ffffff;stop-opacity:1;"
  28. offset="0"
  29. id="stop995" />
  30. <stop
  31. style="stop-color:#ffffff;stop-opacity:0;"
  32. offset="1"
  33. id="stop997" />
  34. </linearGradient>
  35. <rect
  36. x="0.05377399"
  37. y="0"
  38. width="50.708872"
  39. height="25.220001"
  40. id="rect912" />
  41. <rect
  42. x="4.3556932"
  43. y="-2.2585076"
  44. width="29.844564"
  45. height="22.746398"
  46. id="rect970" />
  47. <inkscape:path-effect
  48. effect="powerclip"
  49. id="path-effect957"
  50. is_visible="true"
  51. lpeversion="1"
  52. inverse="true"
  53. flatten="false"
  54. hide_clip="false"
  55. message="Use fill-rule evenodd on &lt;b&gt;fill and stroke&lt;/b&gt; dialog if no flatten result after convert clip to paths." />
  56. <inkscape:path-effect
  57. effect="powerclip"
  58. id="path-effect8293"
  59. is_visible="true"
  60. lpeversion="1"
  61. inverse="true"
  62. flatten="false"
  63. hide_clip="false"
  64. message="Use fill-rule evenodd on &lt;b&gt;fill and stroke&lt;/b&gt; dialog if no flatten result after convert clip to paths." />
  65. <inkscape:path-effect
  66. effect="powerclip"
  67. id="path-effect8242"
  68. is_visible="true"
  69. lpeversion="1"
  70. inverse="true"
  71. flatten="false"
  72. hide_clip="false"
  73. message="Use fill-rule evenodd on &lt;b&gt;fill and stroke&lt;/b&gt; dialog if no flatten result after convert clip to paths." />
  74. <mask
  75. maskUnits="userSpaceOnUse"
  76. id="mask8271">
  77. <path
  78. style="opacity:1;fill:url(#meshgradient8275);fill-opacity:1;stroke-width:0.972997;stroke-miterlimit:4;stroke-dasharray:none"
  79. id="path8273"
  80. width="30.846651"
  81. height="14.251062"
  82. x="16.255806"
  83. y="-9.4406347"
  84. clip-path="none"
  85. sodipodi:type="rect"
  86. d="M 16.255806,-9.4406347 H 47.102457 V 4.8104277 H 16.255806 Z" />
  87. </mask>
  88. <meshgradient
  89. inkscape:collect="always"
  90. id="meshgradient8275"
  91. gradientUnits="userSpaceOnUse"
  92. gradientTransform="translate(0.04725316,-5.2916675)"
  93. x="16.208553"
  94. y="-4.1489687">
  95. <meshrow
  96. id="meshrow8287">
  97. <meshpatch
  98. id="meshpatch8285">
  99. <stop
  100. path="c 10.2822,0 20.5644,0 30.8467,0"
  101. style="stop-color:#ffffff;stop-opacity:1"
  102. id="stop8277" />
  103. <stop
  104. path="c 0,4.75035 0,9.50071 0,14.2511"
  105. style="stop-color:#800080;stop-opacity:1"
  106. id="stop8279" />
  107. <stop
  108. path="c -10.2822,0 -20.5644,0 -30.8467,0"
  109. style="stop-color:#ffffff;stop-opacity:1"
  110. id="stop8281" />
  111. <stop
  112. path="c 0,-4.75035 0,-9.50071 0,-14.2511"
  113. style="stop-color:#800080;stop-opacity:1"
  114. id="stop8283" />
  115. </meshpatch>
  116. </meshrow>
  117. </meshgradient>
  118. <clipPath
  119. clipPathUnits="userSpaceOnUse"
  120. id="clipPath8423">
  121. <rect
  122. style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:1"
  123. id="rect8425"
  124. width="31.702753"
  125. height="14.646578"
  126. x="6.6145816"
  127. y="6.0476193" />
  128. </clipPath>
  129. <clipPath
  130. clipPathUnits="userSpaceOnUse"
  131. id="clipPath8423-7">
  132. <rect
  133. style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:1"
  134. id="rect8425-8"
  135. width="31.702753"
  136. height="14.646578"
  137. x="6.6145816"
  138. y="6.0476193" />
  139. </clipPath>
  140. <mask
  141. maskUnits="userSpaceOnUse"
  142. id="mask8486">
  143. <path
  144. style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:1"
  145. id="path8488"
  146. width="31.702751"
  147. height="14.646577"
  148. x="6.614583"
  149. y="6.0476193"
  150. clip-path="url(#clipPath8423-7)"
  151. sodipodi:type="rect"
  152. d="M 6.614583,6.0476193 H 38.317334 V 20.694196 H 6.614583 Z" />
  153. </mask>
  154. <clipPath
  155. clipPathUnits="userSpaceOnUse"
  156. id="clipPath8423-4">
  157. <rect
  158. style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:1"
  159. id="rect8425-1"
  160. width="31.702753"
  161. height="14.646578"
  162. x="6.6145816"
  163. y="6.0476193" />
  164. </clipPath>
  165. <mask
  166. maskUnits="userSpaceOnUse"
  167. id="mask8486-5">
  168. <path
  169. style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:1"
  170. id="path8488-1"
  171. width="31.702751"
  172. height="14.646577"
  173. x="6.614583"
  174. y="6.0476193"
  175. clip-path="url(#clipPath8423-7-2)"
  176. sodipodi:type="rect"
  177. d="M 6.614583,6.0476193 H 38.317334 V 20.694196 H 6.614583 Z" />
  178. </mask>
  179. <clipPath
  180. clipPathUnits="userSpaceOnUse"
  181. id="clipPath8423-7-2">
  182. <rect
  183. style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:1"
  184. id="rect8425-8-0"
  185. width="31.702753"
  186. height="14.646578"
  187. x="6.6145816"
  188. y="6.0476193" />
  189. </clipPath>
  190. <mask
  191. maskUnits="userSpaceOnUse"
  192. id="mask8544">
  193. <path
  194. style="opacity:1;fill:url(#meshgradient8548);fill-opacity:1;stroke-width:1"
  195. id="path8546"
  196. width="31.702751"
  197. height="14.646577"
  198. x="6.614583"
  199. y="6.0476193"
  200. clip-path="url(#clipPath8423)"
  201. sodipodi:type="rect"
  202. d="M 6.614583,6.0476193 H 38.317334 V 20.694196 H 6.614583 Z"
  203. mask="url(#mask8486)" />
  204. </mask>
  205. <meshgradient
  206. inkscape:collect="always"
  207. id="meshgradient8548"
  208. gradientUnits="userSpaceOnUse"
  209. x="6.614583"
  210. y="6.0476193">
  211. <meshrow
  212. id="meshrow8560">
  213. <meshpatch
  214. id="meshpatch8558">
  215. <stop
  216. path="c 10.5676,1.48893e-06 39.6081,-5.0082 31.7021,-5.99228e-06"
  217. style="stop-color:#ffffff;stop-opacity:1"
  218. id="stop8550" />
  219. <stop
  220. path="c 5.05543,20.143 12.6621,-0.913427 0.000650206,14.6466"
  221. style="stop-color:#800080;stop-opacity:1"
  222. id="stop8552" />
  223. <stop
  224. path="c -10.5683,0.000415044 -34.6013,4.72516 -31.7035,0.000445384"
  225. style="stop-color:#ffffff;stop-opacity:1"
  226. id="stop8554" />
  227. <stop
  228. path="c -14.9301,-16.5522 -3.14543e-05,-9.76437 0.000749794,-14.647"
  229. style="stop-color:#800080;stop-opacity:1"
  230. id="stop8556" />
  231. </meshpatch>
  232. </meshrow>
  233. </meshgradient>
  234. <clipPath
  235. clipPathUnits="userSpaceOnUse"
  236. id="clipPath953">
  237. <rect
  238. style="display:none;opacity:1;fill:#ff00ff;stroke-width:0.934827;stroke-miterlimit:4;stroke-dasharray:none"
  239. id="rect955"
  240. width="29.63686"
  241. height="13.692"
  242. x="16.860806"
  243. y="-9.1611338"
  244. ry="0.82745701"
  245. d="m 17.688263,-9.1611338 h 27.981945 c 0.458412,0 0.827457,0.3690459 0.827457,0.827457 V 3.7034096 c 0,0.4584112 -0.369045,0.827457 -0.827457,0.827457 H 17.688263 c -0.458412,0 -0.827457,-0.3690458 -0.827457,-0.827457 V -8.3336768 c 0,-0.4584111 0.369045,-0.827457 0.827457,-0.827457 z" />
  246. <path
  247. id="lpe_path-effect957"
  248. style="display:block;opacity:1;fill:#ff00ff;stroke-width:0.934827;stroke-miterlimit:4;stroke-dasharray:none"
  249. class="powerclip"
  250. d="M 11.255806,-14.440635 H 52.102453 V 9.8104258 H 11.255806 Z m 6.432457,5.2795012 c -0.458412,0 -0.827457,0.3690459 -0.827457,0.827457 V 3.7034096 c 0,0.4584112 0.369045,0.827457 0.827457,0.827457 h 27.981945 c 0.458412,0 0.827457,-0.3690458 0.827457,-0.827457 V -8.3336768 c 0,-0.4584111 -0.369045,-0.827457 -0.827457,-0.827457 z" />
  251. </clipPath>
  252. <rect
  253. x="0.053773992"
  254. y="0"
  255. width="58.161569"
  256. height="23.927186"
  257. id="rect912-4" />
  258. <rect
  259. x="0.053773992"
  260. y="0"
  261. width="50.708874"
  262. height="25.220001"
  263. id="rect925" />
  264. <rect
  265. x="0.053773992"
  266. y="0"
  267. width="58.161568"
  268. height="23.927185"
  269. id="rect912-4-8" />
  270. <rect
  271. x="0.053773992"
  272. y="0"
  273. width="58.161568"
  274. height="23.927185"
  275. id="rect1014" />
  276. <rect
  277. x="0.053773992"
  278. y="0"
  279. width="58.161568"
  280. height="23.927185"
  281. id="rect912-4-8-5" />
  282. <rect
  283. x="0.053773992"
  284. y="0"
  285. width="58.161568"
  286. height="23.927185"
  287. id="rect1059" />
  288. <rect
  289. x="0.053773992"
  290. y="0"
  291. width="58.161568"
  292. height="23.927185"
  293. id="rect912-4-8-5-0" />
  294. <rect
  295. x="0.053773992"
  296. y="0"
  297. width="58.161568"
  298. height="23.927185"
  299. id="rect1107" />
  300. <rect
  301. x="0.053773992"
  302. y="0"
  303. width="58.161568"
  304. height="23.927185"
  305. id="rect912-4-8-5-0-9" />
  306. <rect
  307. x="0.053773992"
  308. y="0"
  309. width="58.161568"
  310. height="23.927185"
  311. id="rect1155" />
  312. <rect
  313. x="0.053773992"
  314. y="0"
  315. width="58.161568"
  316. height="23.927185"
  317. id="rect912-4-8-5-0-9-2" />
  318. <rect
  319. x="0.053773992"
  320. y="0"
  321. width="58.161568"
  322. height="23.927185"
  323. id="rect1203" />
  324. <linearGradient
  325. inkscape:collect="always"
  326. xlink:href="#linearGradient999"
  327. id="linearGradient1001"
  328. x1="2.6616766"
  329. y1="12.547904"
  330. x2="32.320359"
  331. y2="12.547904"
  332. gradientUnits="userSpaceOnUse"
  333. gradientTransform="matrix(0.55042263,0,0,1.3331294,-24.953841,6.8903362)" />
  334. <clipPath
  335. clipPathUnits="userSpaceOnUse"
  336. id="clipPath1056">
  337. <path
  338. style="display:inline;opacity:1;fill:#ff00ff;fill-opacity:1;stroke-width:0.956412;stroke-miterlimit:4;stroke-dasharray:none"
  339. id="path1058"
  340. width="34.467007"
  341. height="9.8651133"
  342. x="5.7445021"
  343. y="10.851624"
  344. ry="0.77205336"
  345. sodipodi:type="rect"
  346. d="M 6.5165554,10.851624 H 39.439455 c 0.427718,0 0.772054,0.344335 0.772054,0.772053 v 8.321006 c 0,0.427718 -0.344336,0.772054 -0.772054,0.772054 H 6.5165554 c -0.4277175,0 -0.7720533,-0.344336 -0.7720533,-0.772054 v -8.321006 c 0,-0.427718 0.3443358,-0.772053 0.7720533,-0.772053 z"
  347. transform="matrix(-0.25795294,0.96615748,-0.84359178,-0.53698502,0,0)" />
  348. </clipPath>
  349. </defs>
  350. <sodipodi:namedview
  351. id="base"
  352. pagecolor="#ffffff"
  353. bordercolor="#666666"
  354. borderopacity="1.0"
  355. inkscape:pageopacity="0.0"
  356. inkscape:pageshadow="2"
  357. inkscape:zoom="3.4791666"
  358. inkscape:cx="54.010329"
  359. inkscape:cy="54.348216"
  360. inkscape:document-units="mm"
  361. inkscape:current-layer="layer8"
  362. inkscape:document-rotation="0"
  363. showgrid="false"
  364. inkscape:pagecheckerboard="true"
  365. units="in"
  366. inkscape:window-width="1920"
  367. inkscape:window-height="1017"
  368. inkscape:window-x="-8"
  369. inkscape:window-y="-8"
  370. inkscape:window-maximized="1" />
  371. <metadata
  372. id="metadata5">
  373. <rdf:RDF>
  374. <cc:Work
  375. rdf:about="">
  376. <dc:format>image/svg+xml</dc:format>
  377. <dc:type
  378. rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
  379. <dc:title />
  380. </cc:Work>
  381. </rdf:RDF>
  382. </metadata>
  383. <g
  384. inkscape:groupmode="layer"
  385. id="layer10"
  386. inkscape:label="MAIN"
  387. style="display:none"
  388. sodipodi:insensitive="true">
  389. <rect
  390. style="display:inline;opacity:1;fill:#ff00ff;fill-opacity:1;stroke-width:1.11767;stroke-miterlimit:4;stroke-dasharray:none"
  391. id="rect8612-9"
  392. width="31.702999"
  393. height="14.647"
  394. x="6.5734653"
  395. y="-18.853592"
  396. ry="1.1462885" />
  397. </g>
  398. <g
  399. inkscape:groupmode="layer"
  400. id="layer8"
  401. inkscape:label="colors"
  402. style="display:inline"
  403. sodipodi:insensitive="true">
  404. <g
  405. inkscape:groupmode="layer"
  406. id="layer9"
  407. inkscape:label="green"
  408. style="display:inline"
  409. sodipodi:insensitive="true">
  410. <rect
  411. style="opacity:1;fill:#70c1b3;fill-opacity:1;stroke-width:0.883756;stroke-miterlimit:4;stroke-dasharray:none"
  412. id="rect8612"
  413. width="38.099998"
  414. height="7.6199999"
  415. x="6.3499999"
  416. y="8.382"
  417. ry="0.59634864" />
  418. </g>
  419. <g
  420. inkscape:groupmode="layer"
  421. id="layer12"
  422. inkscape:label="yellow"
  423. style="display:none"
  424. sodipodi:insensitive="true">
  425. <rect
  426. style="display:inline;opacity:1;fill:#ffe066;fill-opacity:1;stroke-width:0.883756;stroke-miterlimit:4;stroke-dasharray:none"
  427. id="rect8612-2"
  428. width="38.099998"
  429. height="7.6199999"
  430. x="6.3499999"
  431. y="8.382"
  432. ry="0.59634864" />
  433. </g>
  434. <g
  435. inkscape:groupmode="layer"
  436. id="layer11"
  437. inkscape:label="red"
  438. style="display:inline"
  439. sodipodi:insensitive="true">
  440. <rect
  441. style="display:inline;opacity:1;fill:#f25f5c;fill-opacity:1;stroke-width:0.883756;stroke-miterlimit:4;stroke-dasharray:none"
  442. id="rect8612-9-8"
  443. width="38.099998"
  444. height="7.6199999"
  445. x="6.3499999"
  446. y="8.382"
  447. ry="0.59634864" />
  448. </g>
  449. </g>
  450. <g
  451. inkscape:groupmode="layer"
  452. id="layer3"
  453. inkscape:label="text"
  454. sodipodi:insensitive="true">
  455. <g
  456. inkscape:groupmode="layer"
  457. id="layer5"
  458. inkscape:label="join"
  459. style="display:none"
  460. sodipodi:insensitive="true">
  461. <text
  462. xml:space="preserve"
  463. id="text910-3-1-3-1-5-9"
  464. style="font-size:10.5833px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;white-space:pre;shape-inside:url(#rect912-4-8-5-0-9-2);display:inline;"
  465. x="27.862484"
  466. y="0"
  467. transform="translate(-3.4401001,3.0474886)"><tspan
  468. x="25.860549"
  469. y="9.6554651"><tspan
  470. style="font-size:2.82222px;text-align:center;text-anchor:middle">Join </tspan><tspan> </tspan></tspan><tspan
  471. style="visibility:hidden"
  472. x="0.0546875"
  473. y="33.583199"><tspan
  474. dx="0 7.3897061 6.4233603 6.6972446 6.6972427 6.3045044 5.5138588 4.1702728 2.9042091 6.4233589">Connection</tspan></tspan></text>
  475. </g>
  476. <g
  477. inkscape:groupmode="layer"
  478. id="layer2"
  479. inkscape:label="options"
  480. style="display:none"
  481. sodipodi:insensitive="true">
  482. <text
  483. xml:space="preserve"
  484. id="text910-3-1-3-1-5"
  485. style="font-size:10.5833px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;white-space:pre;shape-inside:url(#rect912-4-8-5-0-9);display:inline;"
  486. x="27.862484"
  487. y="0"
  488. transform="translate(-3.4226185,3.1496407)"><tspan
  489. x="23.220919"
  490. y="9.6554651"><tspan
  491. style="font-size:2.82222px;text-align:center;text-anchor:middle">Options </tspan><tspan> </tspan></tspan><tspan
  492. style="visibility:hidden"
  493. x="0.0546875"
  494. y="33.583199"><tspan
  495. dx="0 7.3897061 6.4233603 6.6972446 6.6972427 6.3045044 5.5138588 4.1702728 2.9042091 6.4233589">Connection</tspan></tspan></text>
  496. </g>
  497. <g
  498. inkscape:groupmode="layer"
  499. id="layer13"
  500. inkscape:label="new game"
  501. style="display:none"
  502. sodipodi:insensitive="true">
  503. <text
  504. xml:space="preserve"
  505. id="text910-3"
  506. style="font-size:10.5833px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;white-space:pre;shape-inside:url(#rect912-4);display:inline;"
  507. x="27.862484"
  508. y="0"
  509. transform="translate(-3.7275336,3.6096392)"><tspan
  510. x="20.936823"
  511. y="9.6554651"><tspan
  512. style="font-size:2.82222px;text-align:center;text-anchor:middle">New Game </tspan><tspan> </tspan></tspan><tspan
  513. style="visibility:hidden"
  514. x="0.0546875"
  515. y="33.583199"><tspan
  516. dx="0 7.3897061 6.4233603 6.6972446 6.6972427 6.3045044 5.5138588 4.1702728 2.9042091 6.4233589">Connection</tspan></tspan></text>
  517. </g>
  518. <g
  519. inkscape:groupmode="layer"
  520. id="layer14"
  521. inkscape:label="rematch"
  522. style="display:none"
  523. sodipodi:insensitive="true">
  524. <text
  525. xml:space="preserve"
  526. id="text968"
  527. style="font-size:10.5833px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;white-space:pre;shape-inside:url(#rect970);" />
  528. <text
  529. xml:space="preserve"
  530. id="text910-3-1"
  531. style="font-size:10.5833px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;white-space:pre;shape-inside:url(#rect912-4-8);display:inline;"
  532. x="27.862484"
  533. y="0"
  534. transform="translate(-3.5050037,3.5353924)"><tspan
  535. x="22.447151"
  536. y="9.6554651"><tspan
  537. style="font-size:2.82222px;text-align:center;text-anchor:middle">Rematch </tspan><tspan> </tspan></tspan><tspan
  538. style="visibility:hidden"
  539. x="0.0546875"
  540. y="33.583199"><tspan
  541. dx="0 7.3897061 6.4233603 6.6972446 6.6972427 6.3045044 5.5138588 4.1702728 2.9042091 6.4233589">Connection</tspan></tspan></text>
  542. </g>
  543. <g
  544. inkscape:groupmode="layer"
  545. id="layer4"
  546. inkscape:label="create"
  547. style="display:none"
  548. sodipodi:insensitive="true">
  549. <text
  550. xml:space="preserve"
  551. id="text910-3-1-3"
  552. style="font-size:10.5833px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;white-space:pre;shape-inside:url(#rect912-4-8-5);display:inline;"
  553. x="27.862484"
  554. y="0"
  555. transform="translate(-3.4828237,3.3348094)"><tspan
  556. x="23.966437"
  557. y="9.6554651"><tspan
  558. style="font-size:2.82222px;text-align:center;text-anchor:middle">Create </tspan><tspan> </tspan></tspan><tspan
  559. style="visibility:hidden"
  560. x="0.0546875"
  561. y="33.583199"><tspan
  562. dx="0 7.3897061 6.4233603 6.6972446 6.6972427 6.3045044 5.5138588 4.1702728 2.9042091 6.4233589">Connection</tspan></tspan></text>
  563. </g>
  564. <g
  565. inkscape:groupmode="layer"
  566. id="layer6"
  567. inkscape:label="exit"
  568. style="display:inline"
  569. sodipodi:insensitive="true">
  570. <text
  571. xml:space="preserve"
  572. style="font-size:10.5833px;line-height:1.25;font-family:'Javanese Text';-inkscape-font-specification:'Javanese Text';stroke-width:0.264583"
  573. x="7.8844509"
  574. y="8.0180855"
  575. id="text8717"><tspan
  576. sodipodi:role="line"
  577. id="tspan8715"
  578. x="7.8844509"
  579. y="8.0180855"
  580. style="stroke-width:0.264583" /></text>
  581. <text
  582. xml:space="preserve"
  583. style="font-size:7.581px;line-height:1.25;font-family:'Javanese Text';-inkscape-font-specification:'Javanese Text';display:inline;stroke-width:0.189525"
  584. x="17.867846"
  585. y="14.842427"
  586. id="text8604-1"><tspan
  587. sodipodi:role="line"
  588. id="tspan8602-1"
  589. x="17.867846"
  590. y="14.842427"
  591. style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:sans-serif;-inkscape-font-specification:sans-serif;text-align:center;text-anchor:middle;fill:#000000;stroke-width:0.189525" /></text>
  592. <text
  593. xml:space="preserve"
  594. id="text910-3-1-3-1"
  595. style="font-size:10.5833px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;white-space:pre;shape-inside:url(#rect912-4-8-5-0);display:inline;"
  596. x="27.862484"
  597. y="0"
  598. transform="translate(-3.4369314,3.3864653)"><tspan
  599. x="25.968036"
  600. y="9.6554651"><tspan
  601. style="font-size:2.82222px;text-align:center;text-anchor:middle">Exit </tspan><tspan> </tspan></tspan><tspan
  602. style="visibility:hidden"
  603. x="0.0546875"
  604. y="33.583199"><tspan
  605. dx="0 7.3897061 6.4233603 6.6972446 6.6972427 6.3045044 5.5138588 4.1702728 2.9042091 6.4233589">Connection</tspan></tspan></text>
  606. </g>
  607. </g>
  608. <g
  609. inkscape:label="glassLayer"
  610. inkscape:groupmode="layer"
  611. id="layer1"
  612. style="display:inline"
  613. sodipodi:insensitive="true">
  614. <path
  615. style="display:inline;opacity:0.45;fill:#ffffff;fill-opacity:1;stroke-width:1"
  616. id="rect833-6"
  617. width="31.702751"
  618. height="14.646577"
  619. x="6.614583"
  620. y="6.0476193"
  621. clip-path="url(#clipPath8423-4)"
  622. sodipodi:type="rect"
  623. d="M 7.4650294,6.0476193 H 37.466888 c 0.471147,0 0.850446,0.3792991 0.850446,0.8504464 V 19.84375 c 0,0.471147 -0.379299,0.850446 -0.850446,0.850446 H 7.4650294 c -0.4711473,0 -0.8504464,-0.379299 -0.8504464,-0.850446 V 6.8980657 c 0,-0.4711473 0.3792991,-0.8504464 0.8504464,-0.8504464 z"
  624. transform="matrix(1.2017884,0,0,0.52025808,-1.5993291,5.2356772)"
  625. mask="url(#mask8544)"
  626. ry="0.8504464" />
  627. </g>
  628. <g
  629. inkscape:groupmode="layer"
  630. id="layer7"
  631. inkscape:label="border"
  632. style="display:inline"
  633. sodipodi:insensitive="true">
  634. <path
  635. style="opacity:1;fill:#ffffff;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none"
  636. id="rect8246"
  637. width="30.846653"
  638. height="14.251061"
  639. x="16.2558"
  640. y="-9.4406357"
  641. clip-path="url(#clipPath953)"
  642. mask="url(#mask8271)"
  643. transform="matrix(1.2351423,0,0,0.53469703,-13.728234,13.429879)"
  644. sodipodi:type="rect"
  645. ry="0.87342685"
  646. inkscape:path-effect="#path-effect957"
  647. d="m 17.129227,-9.4406357 h 29.099799 c 0.483879,0 0.873427,0.3895484 0.873427,0.8734269 V 3.9369989 c 0,0.4838785 -0.389548,0.8734269 -0.873427,0.8734269 H 17.129227 c -0.483878,0 -0.873427,-0.3895484 -0.873427,-0.8734269 V -8.5672088 c 0,-0.4838785 0.389549,-0.8734269 0.873427,-0.8734269 z" />
  648. </g>
  649. <g
  650. inkscape:groupmode="layer"
  651. id="layer15"
  652. inkscape:label="glass"
  653. style="display:none"
  654. sodipodi:insensitive="true">
  655. <g
  656. inkscape:groupmode="layer"
  657. id="g1005"
  658. inkscape:label="lol"
  659. style="display:none">
  660. <rect
  661. style="display:inline;opacity:0.3;fill:url(#linearGradient1001);fill-opacity:1;stroke-width:0.856612"
  662. id="rect993"
  663. width="12.431972"
  664. height="45.418991"
  665. x="-19.595953"
  666. y="-8.3169174"
  667. transform="matrix(-0.62249492,-0.78262385,0.97792598,-0.20895157,0,0)"
  668. clip-path="url(#clipPath1056)" />
  669. </g>
  670. </g>
  671. <script
  672. id="mesh_polyfill"
  673. type="text/javascript">
  674. !function(){const t=&quot;http://www.w3.org/2000/svg&quot;,e=&quot;http://www.w3.org/1999/xlink&quot;,s=&quot;http://www.w3.org/1999/xhtml&quot;,r=2;if(document.createElementNS(t,&quot;meshgradient&quot;).x)return;const n=(t,e,s,r)=&gt;{let n=new x(.5*(e.x+s.x),.5*(e.y+s.y)),o=new x(.5*(t.x+e.x),.5*(t.y+e.y)),i=new x(.5*(s.x+r.x),.5*(s.y+r.y)),a=new x(.5*(n.x+o.x),.5*(n.y+o.y)),h=new x(.5*(n.x+i.x),.5*(n.y+i.y)),l=new x(.5*(a.x+h.x),.5*(a.y+h.y));return[[t,o,a,l],[l,h,i,r]]},o=t=&gt;{let e=t[0].distSquared(t[1]),s=t[2].distSquared(t[3]),r=.25*t[0].distSquared(t[2]),n=.25*t[1].distSquared(t[3]),o=e&gt;s?e:s,i=r&gt;n?r:n;return 18*(o&gt;i?o:i)},i=(t,e)=&gt;Math.sqrt(t.distSquared(e)),a=(t,e)=&gt;t.scale(2/3).add(e.scale(1/3)),h=t=&gt;{let e,s,r,n,o,i,a,h=new g;return t.match(/(\w+\(\s*[^)]+\))+/g).forEach(t=&gt;{let l=t.match(/[\w.-]+/g),d=l.shift();switch(d){case&quot;translate&quot;:2===l.length?e=new g(1,0,0,1,l[0],l[1]):(console.error(&quot;mesh.js: translate does not have 2 arguments!&quot;),e=new g(1,0,0,1,0,0)),h=h.append(e);break;case&quot;scale&quot;:1===l.length?s=new g(l[0],0,0,l[0],0,0):2===l.length?s=new g(l[0],0,0,l[1],0,0):(console.error(&quot;mesh.js: scale does not have 1 or 2 arguments!&quot;),s=new g(1,0,0,1,0,0)),h=h.append(s);break;case&quot;rotate&quot;:if(3===l.length&amp;&amp;(e=new g(1,0,0,1,l[1],l[2]),h=h.append(e)),l[0]){r=l[0]*Math.PI/180;let t=Math.cos(r),e=Math.sin(r);Math.abs(t)&lt;1e-16&amp;&amp;(t=0),Math.abs(e)&lt;1e-16&amp;&amp;(e=0),a=new g(t,e,-e,t,0,0),h=h.append(a)}else console.error(&quot;math.js: No argument to rotate transform!&quot;);3===l.length&amp;&amp;(e=new g(1,0,0,1,-l[1],-l[2]),h=h.append(e));break;case&quot;skewX&quot;:l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),o=new g(1,0,n,1,0,0),h=h.append(o)):console.error(&quot;math.js: No argument to skewX transform!&quot;);break;case&quot;skewY&quot;:l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),i=new g(1,n,0,1,0,0),h=h.append(i)):console.error(&quot;math.js: No argument to skewY transform!&quot;);break;case&quot;matrix&quot;:6===l.length?h=h.append(new g(...l)):console.error(&quot;math.js: Incorrect number of arguments for matrix!&quot;);break;default:console.error(&quot;mesh.js: Unhandled transform type: &quot;+d)}}),h},l=t=&gt;{let e=[],s=t.split(/[ ,]+/);for(let t=0,r=s.length-1;t&lt;r;t+=2)e.push(new x(parseFloat(s[t]),parseFloat(s[t+1])));return e},d=(t,e)=&gt;{for(let s in e)t.setAttribute(s,e[s])},c=(t,e,s,r,n)=&gt;{let o,i,a=[0,0,0,0];for(let h=0;h&lt;3;++h)e[h]&lt;t[h]&amp;&amp;e[h]&lt;s[h]||t[h]&lt;e[h]&amp;&amp;s[h]&lt;e[h]?a[h]=0:(a[h]=.5*((e[h]-t[h])/r+(s[h]-e[h])/n),o=Math.abs(3*(e[h]-t[h])/r),i=Math.abs(3*(s[h]-e[h])/n),a[h]&gt;o?a[h]=o:a[h]&gt;i&amp;&amp;(a[h]=i));return a},u=[[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[-3,3,0,0,-2,-1,0,0,0,0,0,0,0,0,0,0],[2,-2,0,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,-3,3,0,0,-2,-1,0,0],[0,0,0,0,0,0,0,0,2,-2,0,0,1,1,0,0],[-3,0,3,0,0,0,0,0,-2,0,-1,0,0,0,0,0],[0,0,0,0,-3,0,3,0,0,0,0,0,-2,0,-1,0],[9,-9,-9,9,6,3,-6,-3,6,-6,3,-3,4,2,2,1],[-6,6,6,-6,-3,-3,3,3,-4,4,-2,2,-2,-2,-1,-1],[2,0,-2,0,0,0,0,0,1,0,1,0,0,0,0,0],[0,0,0,0,2,0,-2,0,0,0,0,0,1,0,1,0],[-6,6,6,-6,-4,-2,4,2,-3,3,-3,3,-2,-1,-2,-1],[4,-4,-4,4,2,2,-2,-2,2,-2,2,-2,1,1,1,1]],f=t=&gt;{let e=[];for(let s=0;s&lt;16;++s){e[s]=0;for(let r=0;r&lt;16;++r)e[s]+=u[s][r]*t[r]}return e},p=(t,e,s)=&gt;{const r=e*e,n=s*s,o=e*e*e,i=s*s*s;return t[0]+t[1]*e+t[2]*r+t[3]*o+t[4]*s+t[5]*s*e+t[6]*s*r+t[7]*s*o+t[8]*n+t[9]*n*e+t[10]*n*r+t[11]*n*o+t[12]*i+t[13]*i*e+t[14]*i*r+t[15]*i*o},y=t=&gt;{let e=[],s=[],r=[];for(let s=0;s&lt;4;++s)e[s]=[],e[s][0]=n(t[0][s],t[1][s],t[2][s],t[3][s]),e[s][1]=[],e[s][1].push(...n(...e[s][0][0])),e[s][1].push(...n(...e[s][0][1])),e[s][2]=[],e[s][2].push(...n(...e[s][1][0])),e[s][2].push(...n(...e[s][1][1])),e[s][2].push(...n(...e[s][1][2])),e[s][2].push(...n(...e[s][1][3]));for(let t=0;t&lt;8;++t){s[t]=[];for(let r=0;r&lt;4;++r)s[t][r]=[],s[t][r][0]=n(e[0][2][t][r],e[1][2][t][r],e[2][2][t][r],e[3][2][t][r]),s[t][r][1]=[],s[t][r][1].push(...n(...s[t][r][0][0])),s[t][r][1].push(...n(...s[t][r][0][1])),s[t][r][2]=[],s[t][r][2].push(...n(...s[t][r][1][0])),s[t][r][2].push(...n(...s[t][r][1][1])),s[t][r][2].push(...n(...s[t][r][1][2])),s[t][r][2].push(...n(...s[t][r][1][3]))}for(let t=0;t&lt;8;++t){r[t]=[];for(let e=0;e&lt;8;++e)r[t][e]=[],r[t][e][0]=s[t][0][2][e],r[t][e][1]=s[t][1][2][e],r[t][e][2]=s[t][2][2][e],r[t][e][3]=s[t][3][2][e]}return r};class x{constructor(t,e){this.x=t||0,this.y=e||0}toString(){return`(x=${this.x}, y=${this.y})`}clone(){return new x(this.x,this.y)}add(t){return new x(this.x+t.x,this.y+t.y)}scale(t){return void 0===t.x?new x(this.x*t,this.y*t):new x(this.x*t.x,this.y*t.y)}distSquared(t){let e=this.x-t.x,s=this.y-t.y;return e*e+s*s}transform(t){let e=this.x*t.a+this.y*t.c+t.e,s=this.x*t.b+this.y*t.d+t.f;return new x(e,s)}}class g{constructor(t,e,s,r,n,o){void 0===t?(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0):(this.a=t,this.b=e,this.c=s,this.d=r,this.e=n,this.f=o)}toString(){return`affine: ${this.a} ${this.c} ${this.e} \n ${this.b} ${this.d} ${this.f}`}append(t){t instanceof g||console.error(&quot;mesh.js: argument to Affine.append is not affine!&quot;);let e=this.a*t.a+this.c*t.b,s=this.b*t.a+this.d*t.b,r=this.a*t.c+this.c*t.d,n=this.b*t.c+this.d*t.d,o=this.a*t.e+this.c*t.f+this.e,i=this.b*t.e+this.d*t.f+this.f;return new g(e,s,r,n,o,i)}}class w{constructor(t,e){this.nodes=t,this.colors=e}paintCurve(t,e){if(o(this.nodes)&gt;r){const s=n(...this.nodes);let r=[[],[]],o=[[],[]];for(let t=0;t&lt;4;++t)r[0][t]=this.colors[0][t],r[1][t]=(this.colors[0][t]+this.colors[1][t])/2,o[0][t]=r[1][t],o[1][t]=this.colors[1][t];let i=new w(s[0],r),a=new w(s[1],o);i.paintCurve(t,e),a.paintCurve(t,e)}else{let s=Math.round(this.nodes[0].x);if(s&gt;=0&amp;&amp;s&lt;e){let r=4*(~~this.nodes[0].y*e+s);t[r]=Math.round(this.colors[0][0]),t[r+1]=Math.round(this.colors[0][1]),t[r+2]=Math.round(this.colors[0][2]),t[r+3]=Math.round(this.colors[0][3])}}}}class m{constructor(t,e){this.nodes=t,this.colors=e}split(){let t=[[],[],[],[]],e=[[],[],[],[]],s=[[[],[]],[[],[]]],r=[[[],[]],[[],[]]];for(let s=0;s&lt;4;++s){const r=n(this.nodes[0][s],this.nodes[1][s],this.nodes[2][s],this.nodes[3][s]);t[0][s]=r[0][0],t[1][s]=r[0][1],t[2][s]=r[0][2],t[3][s]=r[0][3],e[0][s]=r[1][0],e[1][s]=r[1][1],e[2][s]=r[1][2],e[3][s]=r[1][3]}for(let t=0;t&lt;4;++t)s[0][0][t]=this.colors[0][0][t],s[0][1][t]=this.colors[0][1][t],s[1][0][t]=(this.colors[0][0][t]+this.colors[1][0][t])/2,s[1][1][t]=(this.colors[0][1][t]+this.colors[1][1][t])/2,r[0][0][t]=s[1][0][t],r[0][1][t]=s[1][1][t],r[1][0][t]=this.colors[1][0][t],r[1][1][t]=this.colors[1][1][t];return[new m(t,s),new m(e,r)]}paint(t,e){let s,n=!1;for(let t=0;t&lt;4;++t)if((s=o([this.nodes[0][t],this.nodes[1][t],this.nodes[2][t],this.nodes[3][t]]))&gt;r){n=!0;break}if(n){let s=this.split();s[0].paint(t,e),s[1].paint(t,e)}else{new w([...this.nodes[0]],[...this.colors[0]]).paintCurve(t,e)}}}class b{constructor(t){this.readMesh(t),this.type=t.getAttribute(&quot;type&quot;)||&quot;bilinear&quot;}readMesh(t){let e=[[]],s=[[]],r=Number(t.getAttribute(&quot;x&quot;)),n=Number(t.getAttribute(&quot;y&quot;));e[0][0]=new x(r,n);let o=t.children;for(let t=0,r=o.length;t&lt;r;++t){e[3*t+1]=[],e[3*t+2]=[],e[3*t+3]=[],s[t+1]=[];let r=o[t].children;for(let n=0,o=r.length;n&lt;o;++n){let o=r[n].children;for(let r=0,i=o.length;r&lt;i;++r){let i=r;0!==t&amp;&amp;++i;let h,d=o[r].getAttribute(&quot;path&quot;),c=&quot;l&quot;;null!=d&amp;&amp;(c=(h=d.match(/\s*([lLcC])\s*(.*)/))[1]);let u=l(h[2]);switch(c){case&quot;l&quot;:0===i?(e[3*t][3*n+3]=u[0].add(e[3*t][3*n]),e[3*t][3*n+1]=a(e[3*t][3*n],e[3*t][3*n+3]),e[3*t][3*n+2]=a(e[3*t][3*n+3],e[3*t][3*n])):1===i?(e[3*t+3][3*n+3]=u[0].add(e[3*t][3*n+3]),e[3*t+1][3*n+3]=a(e[3*t][3*n+3],e[3*t+3][3*n+3]),e[3*t+2][3*n+3]=a(e[3*t+3][3*n+3],e[3*t][3*n+3])):2===i?(0===n&amp;&amp;(e[3*t+3][3*n+0]=u[0].add(e[3*t+3][3*n+3])),e[3*t+3][3*n+1]=a(e[3*t+3][3*n],e[3*t+3][3*n+3]),e[3*t+3][3*n+2]=a(e[3*t+3][3*n+3],e[3*t+3][3*n])):(e[3*t+1][3*n]=a(e[3*t][3*n],e[3*t+3][3*n]),e[3*t+2][3*n]=a(e[3*t+3][3*n],e[3*t][3*n]));break;case&quot;L&quot;:0===i?(e[3*t][3*n+3]=u[0],e[3*t][3*n+1]=a(e[3*t][3*n],e[3*t][3*n+3]),e[3*t][3*n+2]=a(e[3*t][3*n+3],e[3*t][3*n])):1===i?(e[3*t+3][3*n+3]=u[0],e[3*t+1][3*n+3]=a(e[3*t][3*n+3],e[3*t+3][3*n+3]),e[3*t+2][3*n+3]=a(e[3*t+3][3*n+3],e[3*t][3*n+3])):2===i?(0===n&amp;&amp;(e[3*t+3][3*n+0]=u[0]),e[3*t+3][3*n+1]=a(e[3*t+3][3*n],e[3*t+3][3*n+3]),e[3*t+3][3*n+2]=a(e[3*t+3][3*n+3],e[3*t+3][3*n])):(e[3*t+1][3*n]=a(e[3*t][3*n],e[3*t+3][3*n]),e[3*t+2][3*n]=a(e[3*t+3][3*n],e[3*t][3*n]));break;case&quot;c&quot;:0===i?(e[3*t][3*n+1]=u[0].add(e[3*t][3*n]),e[3*t][3*n+2]=u[1].add(e[3*t][3*n]),e[3*t][3*n+3]=u[2].add(e[3*t][3*n])):1===i?(e[3*t+1][3*n+3]=u[0].add(e[3*t][3*n+3]),e[3*t+2][3*n+3]=u[1].add(e[3*t][3*n+3]),e[3*t+3][3*n+3]=u[2].add(e[3*t][3*n+3])):2===i?(e[3*t+3][3*n+2]=u[0].add(e[3*t+3][3*n+3]),e[3*t+3][3*n+1]=u[1].add(e[3*t+3][3*n+3]),0===n&amp;&amp;(e[3*t+3][3*n+0]=u[2].add(e[3*t+3][3*n+3]))):(e[3*t+2][3*n]=u[0].add(e[3*t+3][3*n]),e[3*t+1][3*n]=u[1].add(e[3*t+3][3*n]));break;case&quot;C&quot;:0===i?(e[3*t][3*n+1]=u[0],e[3*t][3*n+2]=u[1],e[3*t][3*n+3]=u[2]):1===i?(e[3*t+1][3*n+3]=u[0],e[3*t+2][3*n+3]=u[1],e[3*t+3][3*n+3]=u[2]):2===i?(e[3*t+3][3*n+2]=u[0],e[3*t+3][3*n+1]=u[1],0===n&amp;&amp;(e[3*t+3][3*n+0]=u[2])):(e[3*t+2][3*n]=u[0],e[3*t+1][3*n]=u[1]);break;default:console.error(&quot;mesh.js: &quot;+c+&quot; invalid path type.&quot;)}if(0===t&amp;&amp;0===n||r&gt;0){let e=window.getComputedStyle(o[r]).stopColor.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),a=window.getComputedStyle(o[r]).stopOpacity,h=255;a&amp;&amp;(h=Math.floor(255*a)),e&amp;&amp;(0===i?(s[t][n]=[],s[t][n][0]=Math.floor(e[1]),s[t][n][1]=Math.floor(e[2]),s[t][n][2]=Math.floor(e[3]),s[t][n][3]=h):1===i?(s[t][n+1]=[],s[t][n+1][0]=Math.floor(e[1]),s[t][n+1][1]=Math.floor(e[2]),s[t][n+1][2]=Math.floor(e[3]),s[t][n+1][3]=h):2===i?(s[t+1][n+1]=[],s[t+1][n+1][0]=Math.floor(e[1]),s[t+1][n+1][1]=Math.floor(e[2]),s[t+1][n+1][2]=Math.floor(e[3]),s[t+1][n+1][3]=h):3===i&amp;&amp;(s[t+1][n]=[],s[t+1][n][0]=Math.floor(e[1]),s[t+1][n][1]=Math.floor(e[2]),s[t+1][n][2]=Math.floor(e[3]),s[t+1][n][3]=h))}}e[3*t+1][3*n+1]=new x,e[3*t+1][3*n+2]=new x,e[3*t+2][3*n+1]=new x,e[3*t+2][3*n+2]=new x,e[3*t+1][3*n+1].x=(-4*e[3*t][3*n].x+6*(e[3*t][3*n+1].x+e[3*t+1][3*n].x)+-2*(e[3*t][3*n+3].x+e[3*t+3][3*n].x)+3*(e[3*t+3][3*n+1].x+e[3*t+1][3*n+3].x)+-1*e[3*t+3][3*n+3].x)/9,e[3*t+1][3*n+2].x=(-4*e[3*t][3*n+3].x+6*(e[3*t][3*n+2].x+e[3*t+1][3*n+3].x)+-2*(e[3*t][3*n].x+e[3*t+3][3*n+3].x)+3*(e[3*t+3][3*n+2].x+e[3*t+1][3*n].x)+-1*e[3*t+3][3*n].x)/9,e[3*t+2][3*n+1].x=(-4*e[3*t+3][3*n].x+6*(e[3*t+3][3*n+1].x+e[3*t+2][3*n].x)+-2*(e[3*t+3][3*n+3].x+e[3*t][3*n].x)+3*(e[3*t][3*n+1].x+e[3*t+2][3*n+3].x)+-1*e[3*t][3*n+3].x)/9,e[3*t+2][3*n+2].x=(-4*e[3*t+3][3*n+3].x+6*(e[3*t+3][3*n+2].x+e[3*t+2][3*n+3].x)+-2*(e[3*t+3][3*n].x+e[3*t][3*n+3].x)+3*(e[3*t][3*n+2].x+e[3*t+2][3*n].x)+-1*e[3*t][3*n].x)/9,e[3*t+1][3*n+1].y=(-4*e[3*t][3*n].y+6*(e[3*t][3*n+1].y+e[3*t+1][3*n].y)+-2*(e[3*t][3*n+3].y+e[3*t+3][3*n].y)+3*(e[3*t+3][3*n+1].y+e[3*t+1][3*n+3].y)+-1*e[3*t+3][3*n+3].y)/9,e[3*t+1][3*n+2].y=(-4*e[3*t][3*n+3].y+6*(e[3*t][3*n+2].y+e[3*t+1][3*n+3].y)+-2*(e[3*t][3*n].y+e[3*t+3][3*n+3].y)+3*(e[3*t+3][3*n+2].y+e[3*t+1][3*n].y)+-1*e[3*t+3][3*n].y)/9,e[3*t+2][3*n+1].y=(-4*e[3*t+3][3*n].y+6*(e[3*t+3][3*n+1].y+e[3*t+2][3*n].y)+-2*(e[3*t+3][3*n+3].y+e[3*t][3*n].y)+3*(e[3*t][3*n+1].y+e[3*t+2][3*n+3].y)+-1*e[3*t][3*n+3].y)/9,e[3*t+2][3*n+2].y=(-4*e[3*t+3][3*n+3].y+6*(e[3*t+3][3*n+2].y+e[3*t+2][3*n+3].y)+-2*(e[3*t+3][3*n].y+e[3*t][3*n+3].y)+3*(e[3*t][3*n+2].y+e[3*t+2][3*n].y)+-1*e[3*t][3*n].y)/9}}this.nodes=e,this.colors=s}paintMesh(t,e){let s=(this.nodes.length-1)/3,r=(this.nodes[0].length-1)/3;if(&quot;bilinear&quot;===this.type||s&lt;2||r&lt;2){let n;for(let o=0;o&lt;s;++o)for(let s=0;s&lt;r;++s){let r=[];for(let t=3*o,e=3*o+4;t&lt;e;++t)r.push(this.nodes[t].slice(3*s,3*s+4));let i=[];i.push(this.colors[o].slice(s,s+2)),i.push(this.colors[o+1].slice(s,s+2)),(n=new m(r,i)).paint(t,e)}}else{let n,o,a,h,l,d,u;const x=s,g=r;s++,r++;let w=new Array(s);for(let t=0;t&lt;s;++t){w[t]=new Array(r);for(let e=0;e&lt;r;++e)w[t][e]=[],w[t][e][0]=this.nodes[3*t][3*e],w[t][e][1]=this.colors[t][e]}for(let t=0;t&lt;s;++t)for(let e=0;e&lt;r;++e)0!==t&amp;&amp;t!==x&amp;&amp;(n=i(w[t-1][e][0],w[t][e][0]),o=i(w[t+1][e][0],w[t][e][0]),w[t][e][2]=c(w[t-1][e][1],w[t][e][1],w[t+1][e][1],n,o)),0!==e&amp;&amp;e!==g&amp;&amp;(n=i(w[t][e-1][0],w[t][e][0]),o=i(w[t][e+1][0],w[t][e][0]),w[t][e][3]=c(w[t][e-1][1],w[t][e][1],w[t][e+1][1],n,o));for(let t=0;t&lt;r;++t){w[0][t][2]=[],w[x][t][2]=[];for(let e=0;e&lt;4;++e)n=i(w[1][t][0],w[0][t][0]),o=i(w[x][t][0],w[x-1][t][0]),w[0][t][2][e]=n&gt;0?2*(w[1][t][1][e]-w[0][t][1][e])/n-w[1][t][2][e]:0,w[x][t][2][e]=o&gt;0?2*(w[x][t][1][e]-w[x-1][t][1][e])/o-w[x-1][t][2][e]:0}for(let t=0;t&lt;s;++t){w[t][0][3]=[],w[t][g][3]=[];for(let e=0;e&lt;4;++e)n=i(w[t][1][0],w[t][0][0]),o=i(w[t][g][0],w[t][g-1][0]),w[t][0][3][e]=n&gt;0?2*(w[t][1][1][e]-w[t][0][1][e])/n-w[t][1][3][e]:0,w[t][g][3][e]=o&gt;0?2*(w[t][g][1][e]-w[t][g-1][1][e])/o-w[t][g-1][3][e]:0}for(let s=0;s&lt;x;++s)for(let r=0;r&lt;g;++r){let n=i(w[s][r][0],w[s+1][r][0]),o=i(w[s][r+1][0],w[s+1][r+1][0]),c=i(w[s][r][0],w[s][r+1][0]),x=i(w[s+1][r][0],w[s+1][r+1][0]),g=[[],[],[],[]];for(let t=0;t&lt;4;++t){(d=[])[0]=w[s][r][1][t],d[1]=w[s+1][r][1][t],d[2]=w[s][r+1][1][t],d[3]=w[s+1][r+1][1][t],d[4]=w[s][r][2][t]*n,d[5]=w[s+1][r][2][t]*n,d[6]=w[s][r+1][2][t]*o,d[7]=w[s+1][r+1][2][t]*o,d[8]=w[s][r][3][t]*c,d[9]=w[s+1][r][3][t]*x,d[10]=w[s][r+1][3][t]*c,d[11]=w[s+1][r+1][3][t]*x,d[12]=0,d[13]=0,d[14]=0,d[15]=0,u=f(d);for(let e=0;e&lt;9;++e){g[t][e]=[];for(let s=0;s&lt;9;++s)g[t][e][s]=p(u,e/8,s/8),g[t][e][s]&gt;255?g[t][e][s]=255:g[t][e][s]&lt;0&amp;&amp;(g[t][e][s]=0)}}h=[];for(let t=3*s,e=3*s+4;t&lt;e;++t)h.push(this.nodes[t].slice(3*r,3*r+4));l=y(h);for(let s=0;s&lt;8;++s)for(let r=0;r&lt;8;++r)(a=new m(l[s][r],[[[g[0][s][r],g[1][s][r],g[2][s][r],g[3][s][r]],[g[0][s][r+1],g[1][s][r+1],g[2][s][r+1],g[3][s][r+1]]],[[g[0][s+1][r],g[1][s+1][r],g[2][s+1][r],g[3][s+1][r]],[g[0][s+1][r+1],g[1][s+1][r+1],g[2][s+1][r+1],g[3][s+1][r+1]]]])).paint(t,e)}}}transform(t){if(t instanceof x)for(let e=0,s=this.nodes.length;e&lt;s;++e)for(let s=0,r=this.nodes[0].length;s&lt;r;++s)this.nodes[e][s]=this.nodes[e][s].add(t);else if(t instanceof g)for(let e=0,s=this.nodes.length;e&lt;s;++e)for(let s=0,r=this.nodes[0].length;s&lt;r;++s)this.nodes[e][s]=this.nodes[e][s].transform(t)}scale(t){for(let e=0,s=this.nodes.length;e&lt;s;++e)for(let s=0,r=this.nodes[0].length;s&lt;r;++s)this.nodes[e][s]=this.nodes[e][s].scale(t)}}document.querySelectorAll(&quot;rect,circle,ellipse,path,text&quot;).forEach((r,n)=&gt;{let o=r.getAttribute(&quot;id&quot;);o||(o=&quot;patchjs_shape&quot;+n,r.setAttribute(&quot;id&quot;,o));const i=r.style.fill.match(/^url\(\s*&quot;?\s*#([^\s&quot;]+)&quot;?\s*\)/),a=r.style.stroke.match(/^url\(\s*&quot;?\s*#([^\s&quot;]+)&quot;?\s*\)/);if(i&amp;&amp;i[1]){const a=document.getElementById(i[1]);if(a&amp;&amp;&quot;meshgradient&quot;===a.nodeName){const i=r.getBBox();let l=document.createElementNS(s,&quot;canvas&quot;);d(l,{width:i.width,height:i.height});const c=l.getContext(&quot;2d&quot;);let u=c.createImageData(i.width,i.height);const f=new b(a);&quot;objectBoundingBox&quot;===a.getAttribute(&quot;gradientUnits&quot;)&amp;&amp;f.scale(new x(i.width,i.height));const p=a.getAttribute(&quot;gradientTransform&quot;);null!=p&amp;&amp;f.transform(h(p)),&quot;userSpaceOnUse&quot;===a.getAttribute(&quot;gradientUnits&quot;)&amp;&amp;f.transform(new x(-i.x,-i.y)),f.paintMesh(u.data,l.width),c.putImageData(u,0,0);const y=document.createElementNS(t,&quot;image&quot;);d(y,{width:i.width,height:i.height,x:i.x,y:i.y});let g=l.toDataURL();y.setAttributeNS(e,&quot;xlink:href&quot;,g),r.parentNode.insertBefore(y,r),r.style.fill=&quot;none&quot;;const w=document.createElementNS(t,&quot;use&quot;);w.setAttributeNS(e,&quot;xlink:href&quot;,&quot;#&quot;+o);const m=&quot;patchjs_clip&quot;+n,M=document.createElementNS(t,&quot;clipPath&quot;);M.setAttribute(&quot;id&quot;,m),M.appendChild(w),r.parentElement.insertBefore(M,r),y.setAttribute(&quot;clip-path&quot;,&quot;url(#&quot;+m+&quot;)&quot;),u=null,l=null,g=null}}if(a&amp;&amp;a[1]){const o=document.getElementById(a[1]);if(o&amp;&amp;&quot;meshgradient&quot;===o.nodeName){const i=parseFloat(r.style.strokeWidth.slice(0,-2))*(parseFloat(r.style.strokeMiterlimit)||parseFloat(r.getAttribute(&quot;stroke-miterlimit&quot;))||1),a=r.getBBox(),l=Math.trunc(a.width+i),c=Math.trunc(a.height+i),u=Math.trunc(a.x-i/2),f=Math.trunc(a.y-i/2);let p=document.createElementNS(s,&quot;canvas&quot;);d(p,{width:l,height:c});const y=p.getContext(&quot;2d&quot;);let g=y.createImageData(l,c);const w=new b(o);&quot;objectBoundingBox&quot;===o.getAttribute(&quot;gradientUnits&quot;)&amp;&amp;w.scale(new x(l,c));const m=o.getAttribute(&quot;gradientTransform&quot;);null!=m&amp;&amp;w.transform(h(m)),&quot;userSpaceOnUse&quot;===o.getAttribute(&quot;gradientUnits&quot;)&amp;&amp;w.transform(new x(-u,-f)),w.paintMesh(g.data,p.width),y.putImageData(g,0,0);const M=document.createElementNS(t,&quot;image&quot;);d(M,{width:l,height:c,x:0,y:0});let S=p.toDataURL();M.setAttributeNS(e,&quot;xlink:href&quot;,S);const k=&quot;pattern_clip&quot;+n,A=document.createElementNS(t,&quot;pattern&quot;);d(A,{id:k,patternUnits:&quot;userSpaceOnUse&quot;,width:l,height:c,x:u,y:f}),A.appendChild(M),o.parentNode.appendChild(A),r.style.stroke=&quot;url(#&quot;+k+&quot;)&quot;,g=null,p=null,S=null}}})}();
  675. </script>
  676. </svg>