package mytheme

import (
	"embed"
	"hound/common/logger"

	"fmt"

	"fyne.io/fyne/v2"
	"fyne.io/fyne/v2/theme"
)

/*
//go:embed static/
*/
var staticFiles embed.FS

var (
	// ok
	Note = &fyne.StaticResource{
		StaticName: "note.svg",
		StaticContent: []byte(
			`<svg t="1696560012464" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="30135" width="200" height="200"><path d="M245.461333 938.88a96 96 0 0 1-96-96L149.418667 245.333333a96 96 0 0 1 96-96l31.872-0.042666V117.333333a32 32 0 0 1 27.690666-31.701333L309.333333 85.333333a32 32 0 0 1 31.701334 27.648L341.333333 117.333333l-0.042666 31.957334H469.333333V117.333333a32 32 0 0 1 27.690667-31.701333L501.333333 85.333333a32 32 0 0 1 31.744 27.648l0.298667 4.352-0.042667 31.957334h127.914667V117.333333a32 32 0 0 1 27.690667-31.701333L693.333333 85.333333a32 32 0 0 1 31.701334 27.648L725.333333 117.333333l-0.042666 31.957334h32a96 96 0 0 1 96 96v469.333333c0 2.56-0.256 5.12-0.853334 7.509333l-1.28 4.010667-1.877333 4.096-0.853333 1.365333a28.928 28.928 0 0 1-4.48 5.674667l-192.213334 192.213333a32 32 0 0 1-3.584 3.114667l3.584-3.114667a32 32 0 0 1-4.437333 3.712l-3.754667 2.218667-4.992 2.005333-4.821333 1.109334-2.304 0.256-2.304 0.085333H245.461333zM757.248 213.333333H244.992a32 32 0 0 0-31.573333 32l0.042666 597.504c0 17.706667 14.336 32 32 32h351.616V778.666667a96 96 0 0 1 89.472-95.786667l6.570667-0.213333h96.170667V245.333333a32 32 0 0 0-32.042667-32z m-13.226667 533.333334h-50.901333a32 32 0 0 0-31.701333 27.648l-0.298667 4.352-0.042667 50.944 82.944-82.944zM309.333333 682.666667h170.581334a32 32 0 0 1 4.352 63.701333l-4.352 0.298667H309.333333a32 32 0 0 1-4.352-63.701334L309.333333 682.666667h170.581334H309.333333z m0-170.666667h383.914667a32 32 0 0 1 4.352 63.701333l-4.352 0.298667H309.333333a32 32 0 0 1-4.352-63.701333L309.333333 512h383.914667H309.333333z m0-170.666667h383.914667a32 32 0 0 1 4.352 63.701334l-4.352 0.298666H309.333333a32 32 0 0 1-4.352-63.701333L309.333333 341.333333h383.914667H309.333333z" fill="#212121" p-id="30136"></path></svg>`),
	}
	// ok
	Tools = &fyne.StaticResource{
		StaticName: "tools.svg",
		StaticContent: []byte(
			`<svg t="1697896787632" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="30830" width="200" height="200"><path d="M536.508695 515.037173 533.082666 506.909052 528.910647 510.318708Z" fill="#FFFFFF" p-id="30831"></path><path d="M431.339424 549.69553 194.782753 549.69553c-21.871123 0-39.666418 17.796318-39.666418 39.667441l0 236.553601c0 21.87317 17.795295 39.667441 39.666418 39.667441l236.556671 0c21.871123 0 39.665395-17.794271 39.665395-39.667441L471.004819 589.362972C471.004819 567.491849 453.210547 549.69553 431.339424 549.69553zM430.205601 824.780703 195.9176 824.780703 195.9176 590.497818l234.288001 0L430.205601 824.780703z" fill="#252135" p-id="30832"></path><path d="M192.211185 508.24242l236.557694 0c21.871123 0 39.665395-17.794271 39.665395-39.664372l0-236.557694c0-21.871123-17.794271-39.664372-39.665395-39.664372L192.211185 192.355983c-21.871123 0-39.664372 17.793248-39.664372 39.664372l0 236.557694C152.547837 490.448148 170.340061 508.24242 192.211185 508.24242zM193.349101 233.155201l234.284931 0 0 234.285954L193.349101 467.441155 193.349101 233.155201z" fill="#252135" p-id="30833"></path><path d="M813.097104 547.127032 576.541457 547.127032c-21.862937 0-39.646975 17.794271-39.646975 39.665395l0 236.555647c0 21.871123 17.784038 39.665395 39.646975 39.665395l236.555647 0c21.881356 0 39.683814-17.794271 39.683814-39.665395L852.780919 586.792427C852.780919 564.921303 834.978461 547.127032 813.097104 547.127032zM811.980677 822.213227 577.69677 822.213227 577.69677 587.927273l234.283908 0L811.980677 822.213227z" fill="#252135" p-id="30834"></path><path d="M859.52553 314.327942 720.943264 175.745676c-7.087419-7.064906-16.504906-10.956539-26.51591-10.956539-10.008958 0-19.422352 3.891633-26.5374 10.981099L529.377274 314.303382c-7.110955 7.089465-11.026124 16.522302-11.026124 26.561959s3.91517 19.473517 11.000542 26.536376l138.539286 138.559752c7.080256 7.080256 16.501836 10.980076 26.529213 10.980076 10.016121 0 19.436678-3.891633 26.547633-10.980076L859.550089 367.380228C874.147552 352.73774 874.136296 328.939731 859.52553 314.327942zM694.429401 471.41363 563.900555 340.865341 694.429401 210.318076l130.547265 130.547265L694.429401 471.41363z" fill="#252135" p-id="30835"></path><path d="M432.577624 550.656415 195.628004 550.656415c-21.911032 0-39.737026 17.825994-39.737026 39.739073l0 236.947574c0 21.908986 17.825994 39.730886 39.737026 39.730886l236.94962 0c21.906939 0 39.729863-17.821901 39.729863-39.730886L472.307488 590.395488C472.307488 568.482409 454.484563 550.656415 432.577624 550.656415z" fill="#262236" p-id="30836"></path><path d="M193.054389 509.131673 429.996846 509.131673c21.911032 0 39.737026-17.823947 39.737026-39.729863L469.733872 232.452189c0-21.905916-17.824971-39.729863-39.737026-39.729863L193.054389 192.722326c-21.911032 0-39.73805 17.823947-39.73805 39.729863l0 236.94962C153.317363 491.307725 171.143357 509.131673 193.054389 509.131673z" fill="#262236" p-id="30837"></path><path d="M814.956452 548.084846 578.007855 548.084846c-21.894659 0-39.709397 17.825994-39.709397 39.737026l0 236.941434c0 21.911032 17.813714 39.737026 39.709397 39.737026l236.948597 0c21.919219 0 39.752376-17.825994 39.752376-39.737026L854.708827 587.821873C854.707804 565.91084 836.874647 548.084846 814.956452 548.084846z" fill="#262236" p-id="30838"></path><path d="M861.463672 314.897923 722.654232 176.09667c-7.098675-7.082302-16.533558-10.983145-26.565029-10.983145-10.027377 0-19.461237 3.900843-26.578332 11.002588L530.769994 314.871317c-7.124258 7.099698-11.047614 16.548908-11.047614 26.606984 0 10.060123 3.923356 19.508309 11.019984 26.579355l138.770554 138.79409c7.092535 7.092535 16.529465 10.998495 26.573215 10.998495 10.037611 0 19.472494-3.900843 26.587542-10.998495l138.817626-138.818649C876.107183 353.365027 876.095927 329.529155 861.463672 314.897923zM696.092273 472.244554 565.348534 341.478302l130.744763-130.757043 130.765229 130.757043L696.092273 472.244554z" fill="#262236" p-id="30839"></path><path d="M537.607726 518.65149 534.18272 510.522346 530.009677 513.932002Z" fill="#FFFFFF" p-id="30840"></path></svg>`),
	}
	// ok
	Fingerprint = &fyne.StaticResource{
		StaticName: "fingerprint.svg",
		StaticContent: []byte(
			`<svg t="1696139708025" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15855" width="200" height="200"><path d="M96 512c0-229.8 186.2-416 416-416 126.2 0 239.2 56.2 315.6 145 17.2 20.2 47.6 22.4 67.6 5.2s22.4-47.6 5.2-67.6C806.6 69.2 667.4 0 512 0 229.2 0 0 229.2 0 512v80c0 26.6 21.4 48 48 48s48-21.4 48-48v-80z m917-105.8c-5.4-26-31-42.6-56.8-37s-42.6 31-37 56.8c5.8 27.8 9 56.6 9 86.2v80c0 26.6 21.4 48 48 48s48-21.4 48-48V512c0-36.2-3.8-71.6-11-105.8zM512 160c-38 0-74.8 6-109 17.2-30.4 10-37.4 47.4-16.6 71.8 14.2 16.6 37.6 21.6 58.8 15.8 21.2-5.8 43.6-8.8 66.8-8.8 141.4 0 256 114.6 256 256v49.8c0 50.4-3 100.6-8.8 150.6-3.4 29.2 18.8 55.6 48.4 55.6 23.6 0 43.8-17.2 46.6-40.6 6.6-54.8 10-110 10-165.4v-50c0-194.4-157.6-352-352-352z m-210.6 137.4c-18.2-21.2-50.6-22.8-67.8-0.8C187.4 356 160 430.8 160 512v49.8c0 48.4-5.2 96.8-15.6 143.8-6.8 31.2 15.8 62.4 47.8 62.4 21 0 39.8-14 44.4-34.6 12.8-56.2 19.4-113.6 19.4-171.6V512c0-54.4 17-104.8 45.8-146.2 14.4-20.8 16-49.2-0.4-68.4zM512 320c-106 0-192 86-192 192v49.8c0 71.8-9.2 143-27.6 212.2-7.6 28.6 13.4 58 43 58 19 0 35.8-12.4 40.8-30.8 21-78 31.8-158.4 31.8-239.4V512c0-57.4 46.6-104 104-104s104 46.6 104 104v49.8c0 72.6-7 144.8-20.8 215.8-5.4 27.8 15.4 54.4 43.6 54.4 20.4 0 38-14 42-34 15.4-77.6 23.2-156.6 23.2-236.2V512c0-106-86-192-192-192z m48 192c0-26.6-21.4-48-48-48s-48 21.4-48 48v49.8c0 119.8-22 238.6-65 350.4l-11.8 30.6c-9.6 24.8 2.8 52.6 27.6 62s52.6-2.8 62-27.6l11.8-30.6A1072.38 1072.38 0 0 0 560 561.8V512z" p-id="15856"></path></svg>`),
	}
	// ok
	Map = &fyne.StaticResource{
		StaticName: "map.svg",
		StaticContent: []byte(
			`<svg t="1697896736051" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="29757" width="200" height="200"><path d="M562.490139 385.324741c-5.898848-13.197422-2.299551-28.894357 9.098223-37.892599 22.395626-17.796524 36.692833-45.291154 36.392892-76.18512-0.499902-51.889865-42.691662-94.381566-94.581527-95.081429H512c-52.98965 0-95.981254 42.991603-95.981254 95.981253 0 30.394064 14.097247 57.488772 36.092951 74.985355 11.397774 9.098223 15.297012 24.795157 9.398164 38.09256l-284.944346 638.675259h49.290373c12.59754 0 24.095294-7.398555 29.194298-18.99629l105.779339-236.95372h302.44093L768.949814 1005.00371c5.099004 11.497754 16.596758 18.99629 29.194298 18.99629h49.290373l-284.944346-638.675259z m-65.087288 76.585042c2.799453-6.29877 8.698301-9.498145 14.597149-9.498145s11.797696 3.199375 14.597149 9.498145l50.990041 114.1777H446.41281l50.990041-114.1777zM389.32396 704.062488l28.594415-63.987503h188.16325l28.594415 63.987503H389.32396zM762.351103 100.780316L709.761375 137.173208c9.098223 13.297403 16.796719 27.394649 23.095489 42.391721 12.69752 29.894161 19.09627 61.687952 19.09627 94.581527 0 32.793595-6.39875 64.587385-19.09627 94.581527-6.29877 14.89709-13.997266 29.094318-23.095489 42.39172l52.589728 36.392892C796.144503 398.122242 815.940637 338.4339 815.940637 274.146456s-19.796134-123.975786-53.589534-173.36614z m-452.111697 33.69342l-52.589728-36.392892C222.556532 147.871119 202.060535 208.659246 202.060535 274.146456s20.495997 126.275337 55.489162 176.165592l52.589729-36.392892c-9.898067-14.097247-18.296426-29.194298-25.095099-45.191173-12.59754-29.994142-18.99629-61.787932-18.99629-94.581527s6.39875-64.687366 19.096271-94.581527c6.698692-15.996876 15.097051-31.093927 25.095098-45.091193zM908.022652 0l-52.589729 36.392892c15.596954 22.795548 28.994337 47.190783 39.792228 72.885765C916.920914 160.468658 927.918766 214.958016 927.918766 271.147042s-10.997852 110.678383-32.693615 161.868385c-11.497754 27.194689-25.794962 52.98965-42.691661 76.984964l52.589728 36.392892c54.689318-77.984769 86.78305-172.866237 86.78305-275.246241 0-100.580355-30.993946-193.962117-83.883616-271.147042zM96.081234 271.147042c0-56.189026 10.997852-110.678383 32.693615-161.868385 10.897872-25.694981 24.195274-50.090217 39.792228-72.885765L115.977348 0C63.087678 77.184925 32.093732 170.566686 32.093732 271.147042c0 102.380004 32.093732 197.261472 86.683069 275.246241l52.589729-36.392892c-16.8967-23.995313-31.093927-49.690295-42.691662-76.984964C107.079086 381.825425 96.081234 327.336067 96.081234 271.147042z" p-id="29758"></path></svg>`),
	}
	// ok
	Webscan = &fyne.StaticResource{
		StaticName: "webscan.svg",
		StaticContent: []byte(
			`<svg t="1697895738583" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13870" width="200" height="200"><path d="M392.064 159.872A32.170667 32.170667 0 0 0 359.594667 128h-0.042667l-69.546667 0.042667c-93.44 0.085333-169.514667 74.752-169.514666 166.485333v79.317333c0 17.578667 14.506667 31.872 32.426666 31.872s32.554667-14.293333 32.554667-31.872v-79.36c0-56.576 46.933333-102.656 104.618667-102.741333h69.504a32.128 32.128 0 0 0 32.426666-31.872zM733.610667 128H665.6a32.170667 32.170667 0 0 0-32.469333 31.914667c0 17.536 14.506667 31.786667 32.426666 31.786666h68.010667c57.898667 0 104.96 46.165333 104.96 102.954667v79.189333c0 17.578667 14.592 31.914667 32.512 31.914667a32.170667 32.170667 0 0 0 32.426667-31.914667V294.656C903.552 202.752 827.392 128 733.653333 128zM394.197333 287.701333h235.648c25.813333 0 50.602667 10.154667 68.693334 28.288 18.133333 18.261333 28.245333 42.837333 28.16 68.394667v53.12a11.946667 11.946667 0 0 1-11.648 11.477333H308.906667a11.861333 11.861333 0 0 1-11.52-11.477333V384.426667c-0.426667-52.906667 42.88-96.170667 96.853333-96.682667z" fill="#200E32" opacity=".4" p-id="13871"></path><path d="M948.864 513.749333H75.178667A32.213333 32.213333 0 0 0 42.666667 545.706667c0 17.536 14.592 31.786667 32.512 31.786666h45.269333v152.021334c0 91.733333 76.117333 166.4 169.6 166.485333L359.552 896a32.213333 32.213333 0 0 0 32.512-31.872 32.170667 32.170667 0 0 0-32.469333-31.872H290.133333c-57.728-0.085333-104.704-46.165333-104.704-102.784v-152.021333h111.914667v42.282666c-0.426667 52.906667 42.88 96.170667 96.810667 96.682667h235.690666c53.973333-0.512 97.28-43.733333 96.853334-96.682667v-42.282666h111.914666v151.893333c0 56.746667-47.104 102.912-105.002666 102.912h-67.968a32.170667 32.170667 0 0 0-32.512 31.872c0 17.621333 14.549333 31.872 32.512 31.872h67.968c93.696 0 169.941333-74.709333 169.941333-166.698667v-151.893333h45.312c17.92 0 32.469333-14.208 32.469333-31.744a32.170667 32.170667 0 0 0-32.469333-31.914667z" fill="#200E32" p-id="13872"></path></svg>`),
	}
	// ok
	Theme = &fyne.StaticResource{
		StaticName: "theme.svg",
		StaticContent: []byte(
			`<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6z"/></svg>`),
	}
	// ok
	Dirsearch = &fyne.StaticResource{
		StaticName: "dirsearch.svg",
		StaticContent: []byte(
			`<svg t="1696140377210" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3241" width="200" height="200"><path d="M42.666667 42.666667a42.666667 42.666667 0 0 1 42.666666-42.666667h896a42.666667 42.666667 0 0 1 42.666667 42.666667v938.666666a42.666667 42.666667 0 0 1-42.666667 42.666667H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666667V42.666667z m85.333333 42.666666v853.333334h810.666667V85.333333H128z" p-id="3242"></path><path d="M542.165333 225.834667a42.666667 42.666667 0 0 1 0 60.330666l-170.666666 170.666667a42.666667 42.666667 0 0 1-60.330667 0l-85.333333-85.333333a42.666667 42.666667 0 0 1 60.330666-60.330667L341.333333 366.336l140.501334-140.501333a42.666667 42.666667 0 0 1 60.330666 0zM853.333333 725.333333a42.666667 42.666667 0 0 1-42.666666 42.666667h-213.333334a42.666667 42.666667 0 1 1 0-85.333333h213.333334a42.666667 42.666667 0 0 1 42.666666 42.666666zM853.333333 384a42.666667 42.666667 0 0 1-42.666666 42.666667h-213.333334a42.666667 42.666667 0 1 1 0-85.333334h213.333334a42.666667 42.666667 0 0 1 42.666666 42.666667zM362.666667 640a64 64 0 1 0 0 128 64 64 0 0 0 0-128zM213.333333 704a149.333333 149.333333 0 1 1 298.666667 0 149.333333 149.333333 0 0 1-298.666667 0z" p-id="3243"></path></svg>`),
	}
	// ok
	Problem = &fyne.StaticResource{
		StaticName: "problem.svg",
		StaticContent: []byte(
			`<svg t="1696140870232" class="icon" viewBox="0 0 1152 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16486" width="200" height="200"><path d="M1056 320v512c0 17.6-14.4 32-32 32H640c0-88.4-71.6-160-160-160h-128c-88.4 0-160 71.6-160 160H128c-17.6 0-32-14.4-32-32V320h960zM128 64C57.4 64 0 121.4 0 192v640c0 70.6 57.4 128 128 128h896c70.6 0 128-57.4 128-128V192c0-70.6-57.4-128-128-128H128z m416 448a128 128 0 1 0-256 0 128 128 0 1 0 256 0z m208-96c-26.6 0-48 21.4-48 48s21.4 48 48 48h160c26.6 0 48-21.4 48-48s-21.4-48-48-48h-160z m0 192c-26.6 0-48 21.4-48 48s21.4 48 48 48h160c26.6 0 48-21.4 48-48s-21.4-48-48-48h-160z" p-id="16487"></path></svg>`),
	}
	// ok
	Asset = &fyne.StaticResource{
		StaticName: "asset.svg",
		StaticContent: []byte(
			`<svg t="1697895993733" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16485" width="200" height="200"><path d="M793 458.1c125 0 231 52.8 231 132.7v273.5c0 79.9-105.9 132.7-231 132.7-120.6 0-223.4-49.1-230.5-124.3l-0.4-8.4V590.8l0.4-8.4c7.1-75.1 109.9-124.3 230.5-124.3z m160.7 366.8c-41.9 22.6-99 35.4-160.6 35.4-61.7 0-118.7-12.8-160.6-35.4v39.4c0 27.9 69.4 62.5 160.6 62.5 87 0 154.2-31.5 160.1-58.7l0.5-3.8v-39.4z m-503.3 10.5c6.3 0 11.5 5.2 11.5 11.6v65.4c0 6.4-5.2 11.6-11.6 11.6H11.6c-3.1 0-6-1.2-8.2-3.4-2.2-2.2-3.4-5.1-3.4-8.2v-65.5c0-6.3 5.2-11.5 11.6-11.5h438.8z m503.3-147.2c-41.9 22.6-99 35.5-160.6 35.5-61.7 0-118.7-12.9-160.6-35.5v39.4c0 28 69.4 62.6 160.6 62.6 87 0 154.2-31.5 160.1-58.8l0.5-3.8v-39.4z m27.9-661.3c21.3 0 38.5 17.2 38.5 38.5v352.5h-86.6V113.5H86.6v562.7H462v86.6H38.5c-10.2 0-20-4-27.2-11.3S0 734.5 0 724.3V65.4c0-21.3 17.2-38.5 38.5-38.5h943.1zM793 528.3c-91.2 0-160.6 34.6-160.6 62.5 0 28 69.4 62.6 160.6 62.6 91.2 0 160.6-34.6 160.6-62.6 0.1-27.9-69.4-62.5-160.6-62.5z m-42.2-331.4l44.3 44.3c3.8 3.7 3.8 9.9 0 13.6L522.9 527.3c-3.8 3.7-9.9 3.7-13.6 0L405.7 423.6 283.2 546.1c-3.7 3.7-9.9 3.7-13.6 0l-44.3-44.3c-3.7-3.8-3.7-9.8 0-13.6l173.6-173.7c3.7-3.7 9.9-3.7 13.6 0l103.7 103.8L737.3 197c3.7-3.7 9.8-3.7 13.5-0.1z" p-id="16486"></path></svg>`),
	}
	Crypt = &fyne.StaticResource{
		StaticName: "Crypt.svg",
		StaticContent: []byte(
			`<svg t="1696143733261" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1402" width="200" height="200"><path d="M961.926361 934.831863l-77.842923-63.363852c-20.930141-18.349713-47.737925-28.384712-75.549209-28.097998h-0.860142c-28.384712 0-55.765925 10.751785-76.696067 29.96164l-45.157496 42.00364c-6.881142 6.307714-15.769285 9.748285-25.087499 9.748285h-0.143357c-9.174857 0.143357-18.062999-3.297214-24.944141-9.604928l-46.734425-43.007139c-20.643427-18.923142-47.737925-29.244855-76.696066-29.388213h-0.143357c-28.958141 0-56.052639 10.321714-76.696067 29.101498l-48.45471 44.153997c-13.762285 12.472071-35.98264 12.472071-49.744926 0l-48.45471-44.153997c-20.643427-18.779784-47.737925-29.101498-76.696067-29.101498h-0.286714c-28.671427 0.143357-55.622568 10.178356-75.97928 28.671427l-76.122638 63.220495c-15.195856 12.615428-16.48607 34.262355-2.867142 48.311354 13.618928 14.048999 36.98614 15.195856 52.181996 2.580429l76.696066-63.650567c0.430071-0.430071 0.860143-0.716786 1.290214-1.146857 13.762285-12.615428 36.125997-12.615428 49.888282-0.143358l48.454711 44.153997c20.643427 18.779784 47.737925 29.101498 76.696066 29.101498s56.052639-10.321714 76.696067-29.101498l48.45471-44.153997c13.762285-12.615428 36.125997-12.472071 49.888283 0.143358l46.734425 43.007139c20.643427 18.923142 48.02464 29.388212 76.98278 29.388213h0.430072c29.244855-0.143357 56.626067-10.751785 77.126137-29.961641l45.01414-42.00364c13.762285-12.758785 36.125997-13.045499 50.031639-0.430071 0.430071 0.430071 1.0035 0.860143 1.433572 1.146857l78.416351 63.793924c6.881142 5.590928 15.48257 8.601428 24.370713 8.458071 10.465071 0.143357 20.50007-4.157357 27.811284-11.611928 13.332213-14.048999 11.898642-35.552569-3.440572-48.02464z" p-id="1403"></path><path d="M975.115218 442.400112L844.51687 389.931401V236.825983c0-14.048999-9.318214-26.664427-23.653927-31.825283L588.337673 121.423492V98.916422c0-38.276354-33.688926-69.528209-75.119137-69.52821S438.099398 60.49671 438.099398 98.916422v22.076998l-239.836483 86.157637c-14.192356 5.160857-23.653927 17.776284-23.653927 31.825283v152.818704L48.741425 442.256755c-19.49657 7.884642-26.377712 30.104998-14.622427 46.304354l194.678986 289.294694c4.300714 5.734285 10.608428 9.604928 17.632927 10.895142 34.405712 6.021 66.374353 21.646927 92.321994 45.01414l3.583928 3.153857c11.181856 9.891642 27.954641 9.891642 39.136498 0l3.583928-3.153857c33.97564-30.965141 79.133137-48.02464 126.871062-48.02464h0.430072c47.881282 0.143357 93.038779 17.346213 127.01442 48.598068l1.433571 1.290214c10.895142 10.034999 28.671427 10.034999 39.423211-0.143357 26.951141-24.944141 60.783424-41.286854 97.196136-46.877782 7.311214-1.0035 13.905642-5.0175 18.206356-10.895142l194.392273-289.00798c11.611928-16.199356 4.587428-38.419712-14.909142-46.304354zM538.449391 267.217696c-16.916142-6.737785-35.98264-6.737785-52.898782 0l-236.969341 95.045779V262.343553l264.207196-94.902422 257.899482 92.608708v100.206636l-232.238555-93.038779z" p-id="1404"></path></svg>`),
	}
	// ok
	Extraction = &fyne.StaticResource{
		StaticName: "extraction.svg",
		StaticContent: []byte(
			`<svg t="1696142626167" class="icon" viewBox="0 0 1152 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="65014" width="200" height="200"><path d="M469.4 85.4L394 113.6c-6 2.2-10 8-10 14.4s4 12.2 10 14.4l75.4 28.2 28.2 75.4c2.2 6 8 10 14.4 10s12.2-4 14.4-10l28.2-75.4L630 142.4c6-2.2 10-8 10-14.4s-4-12.2-10-14.4l-75.4-28.2L526.4 10c-2.2-6-8-10-14.4-10s-12.2 4-14.4 10l-28.2 75.4zM92.2 790.8c-37.4 37.4-37.4 98.2 0 135.8l69.2 69.2c37.4 37.4 98.2 37.4 135.8 0l762.6-762.8c37.4-37.4 37.4-98.2 0-135.8l-69.2-69c-37.4-37.4-98.2-37.4-135.8 0L92.2 790.8zM969.2 165.2l-210 210-46.6-46.6 210-210 46.6 46.6zM15 234.4C6 237.8 0 246.4 0 256s6 18.2 15 21.6L128 320l42.4 113c3.4 9 12 15 21.6 15s18.2-6 21.6-15L256 320l113-42.4c9-3.4 15-12 15-21.6s-6-18.2-15-21.6L256 192l-42.4-113c-3.4-9-12-15-21.6-15s-18.2 6-21.6 15L128 192 15 234.4z m704 512c-9 3.4-15 12-15 21.6s6 18.2 15 21.6L832 832l42.4 113c3.4 9 12 15 21.6 15s18.2-6 21.6-15L960 832l113-42.4c9-3.4 15-12 15-21.6s-6-18.2-15-21.6L960 704l-42.4-113c-3.4-9-12-15-21.6-15s-18.2 6-21.6 15L832 704l-113 42.4z" p-id="65015"></path></svg>`),
	}
	// ok
	Bomb = &fyne.StaticResource{
		StaticName: "bomb.svg",
		StaticContent: []byte(
			`<svg t="1696142546104" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="64875" width="200" height="200"><path d="M987.4 1.8L598.8 151.2l4.6-58.6c2-25.6-25.6-43-48-30.2L202.6 266.8C77.2 339.4 0 473.2 0 618c0 224.2 181.8 406 406 406 144.8 0 278.8-77.2 351.4-202.6l204.2-352.8c13-22.2-4.4-50-30.2-48l-58.6 4.6 149.4-388.6c1.2-3 1.8-6.4 1.8-9.6C1024 12 1012 0 997 0c-3.4 0-6.6 0.6-9.6 1.8zM384 384a256 256 0 1 1 0 512 256 256 0 1 1 0-512z m0 192a64 64 0 1 0-128 0 64 64 0 1 0 128 0z m32 192a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" p-id="64876"></path></svg>`),
	}
	// ok
	Attack = &fyne.StaticResource{
		StaticName: "attack.svg",
		StaticContent: []byte(
			`<svg t="1696142050803" class="icon" viewBox="0 0 1151 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="48613" width="200" height="200"><path d="M346.398086 0c-3.599681 0-6.999379 1.399876-9.599148 3.999645C277.004244 64.594269 240.007527 147.986869 240.007527 239.978707c0 52.395351 11.998935 101.790968 33.197054 145.987046-43.996096 4.799574-87.592228 18.198385-128.388608 40.996362-68.993878 38.596575-118.189513 97.791323-143.987224 164.985361-1.399876 3.399698-0.999911 7.399343 0.999911 10.399078 4.39961 7.399343 14.798687 8.599237 21.198119 2.599769C128.417428 508.554876 316.000784 490.156508 409.992444 647.942508s-16.198563 306.172833-155.186231 346.369266c-8.399255 2.399787-12.598882 11.798953-8.199272 19.198297 1.999823 3.199716 5.199539 5.399521 8.999202 5.999467 72.993523 11.798953 150.386656 0.199982 219.380534-38.396593 40.79638-22.797977 74.793364-52.995298 100.991039-87.592228 26.197675 34.59693 60.194659 64.794251 100.991039 87.592228 68.993878 38.596575 146.586993 50.395528 219.380534 38.396593 3.799663-0.599947 6.999379-2.799752 8.999202-5.999467 4.39961-7.399343 0.199982-16.798509-8.199273-19.198297C758.161551 954.115341 647.971328 805.92849 741.962988 647.942508s281.375033-139.587614 386.965664-42.796203c6.399432 5.799485 16.798509 4.599592 21.198119-2.599769 1.999823-3.199716 2.199805-6.999379 0.999912-10.399078-25.797711-67.194038-74.993346-126.388785-144.187207-164.98536a337.510053 337.510053 0 0 0-128.388608-40.996363C899.94897 341.769675 911.947905 292.374058 911.947905 239.978707c0-91.991838-36.996717-175.384438-96.791412-235.979062-2.599769-2.599769-5.999468-3.999645-9.599148-3.999645-9.999113 0-16.798509 10.399077-13.398811 19.798243C843.353991 160.985716 771.160397 351.96877 575.977716 351.96877S308.60144 160.985716 359.796898 19.798243c3.399698-9.399166-3.199716-19.798243-13.398812-19.798243zM479.986233 543.951735a95.991483 95.991483 0 1 1 191.982965 0 95.991483 95.991483 0 1 1-191.982965 0z m-116.589655 291.174164c12.598882-23.597906 19.598261-50.195546 17.198474-79.592938-38.99654-35.996806-67.993967-82.792654-82.392689-135.587969-24.997782-16.198563-52.395351-23.597906-79.992902-24.7978-17.998403-0.799929-36.196788 1.199894-54.195192 5.399521 15.598616 114.189868 77.393133 213.581049 165.78529 278.775264 13.598793-13.398811 25.197764-28.197498 33.597019-44.196078zM575.977716 127.988644c-57.59489 0-112.59001 11.798953-162.385592 32.997072 3.999645 16.598527 9.999113 32.397125 17.998403 46.99583 13.598793 24.7978 33.397037 46.195901 60.194659 60.594623 26.59764-8.199272 54.99512-12.598882 84.392512-12.598882s57.59489 4.39961 84.392512 12.598882c26.797622-14.398722 46.595866-35.796824 60.194659-60.594623 7.99929-14.598705 13.998758-30.397303 17.998403-46.99583C688.567726 139.787597 633.572605 127.988644 575.977716 127.988644z m277.775353 491.956348c-14.398722 52.795315-43.396149 99.391181-82.39269 135.587969-2.399787 29.397392 4.39961 56.195014 17.198474 79.592938 8.599237 15.99858 19.998226 30.797267 33.597019 44.196078 88.592139-65.194215 150.386656-164.585396 165.78529-278.775264-17.998403-4.39961-36.196788-6.19945-54.195191-5.399521-27.597551 1.199894-54.99512 8.799219-79.992902 24.7978z" p-id="48614"></path></svg>`),
	}
	// ok
	Web = &fyne.StaticResource{
		StaticName: "web.svg",
		StaticContent: []byte(
			`<svg t="1696831180830" class="icon" viewBox="0 0 1026 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7587" width="200" height="200"><path d="M968.147832 455.111111H925.048673c-101.35802 0-152.137029-122.537607-80.458428-194.216207L875.04965 230.3955A56.878889 56.878889 0 0 0 794.65122 150.01707l-30.479404 30.439405c-71.6786 71.6586-194.216207 20.899592-194.216207-80.458428V56.898889a56.898889 56.898889 0 0 0-113.797777 0V100.018047c0 101.35802-122.537607 152.117029-194.216207 80.458428L231.46222 150.01707A56.878889 56.878889 0 0 0 151.06379 230.3955l30.499405 30.499404c71.6786 71.6786 20.899592 194.216207-80.458429 194.216207H57.965609a56.898889 56.898889 0 1 0 0 113.777778H101.064767c101.35802 0 152.137029 122.557606 80.458428 194.236206L151.06379 793.6045a56.898889 56.898889 0 0 0 80.39843 80.39843l30.479405-30.499405c71.6786-71.6786 194.216207-20.899592 194.216207 80.458429v43.079158a56.898889 56.898889 0 0 0 113.797777 0V924.001953c0-101.35802 122.537607-152.137029 194.216207-80.458428L794.65122 874.00293a56.898889 56.898889 0 0 0 80.39843-80.39843l-30.499404-30.479405c-71.6786-71.6786-20.899592-194.236206 80.458428-194.236206h43.079159a56.898889 56.898889 0 1 0 0-113.777778zM449.05797 544.009375a95.998125 95.998125 0 1 1 95.998125-95.998125 95.998125 95.998125 0 0 1-95.998125 95.998125z m159.996875 111.997812a47.999063 47.999063 0 1 1 47.999063-47.999062 47.999063 47.999063 0 0 1-47.999063 47.999062z" p-id="7588"></path></svg>`),
	}
	// ok
	Domain = &fyne.StaticResource{
		StaticName: "domain.svg",
		StaticContent: []byte(
			`<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><path d="M0,0h24v24H0V0z" fill="none"/><path d="M12,7V3H2v18h20V7H12z M6,19H4v-2h2V19z M6,15H4v-2h2V15z M6,11H4V9h2V11z M6,7H4V5h2V7z M10,19H8v-2h2V19z M10,15H8v-2h2 V15z M10,11H8V9h2V11z M10,7H8V5h2V7z M20,19h-8v-2h2v-2h-2v-2h2v-2h-2V9h8V19z M18,11h-2v2h2V11z M18,15h-2v2h2V15z"/></g></svg>`),
	}
	// ok
	Dict = &fyne.StaticResource{
		StaticName: "dict.svg",
		StaticContent: []byte(
			`<svg t="1696143917493" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10576" width="200" height="200"><path d="M898.048 214.016c16.384 0 29.696-13.312 29.696-29.696V124.416c0-49.152-39.936-89.088-89.088-89.6H184.32c-48.64 0-88.064 38.912-89.088 87.552v714.752c0 81.92 66.56 148.992 148.48 148.992h654.336c16.384 0 29.696-13.312 29.696-29.696 0-16.384-13.312-29.696-29.696-29.696H244.224c-49.152 0-89.088-39.936-89.088-89.088 0-49.152 39.936-89.6 89.088-89.6h654.336c16.384 0 29.696-13.312 29.696-29.696V178.176c0.512-16.384-11.776-30.208-28.16-31.232-16.384-0.512-30.208 11.776-31.232 28.16v513.024h-624.64c-32.256 0.512-63.488 10.752-89.088 29.696V122.88c0-16.384 13.312-29.696 29.696-29.696h654.336c16.384 0 29.696 13.312 29.696 29.696v59.392c-1.024 16.384 11.776 30.72 28.16 31.744h1.024z" p-id="10577"></path><path d="M898.048 807.936H244.224c-16.384 0-29.696 13.312-29.696 29.696 0 16.384 13.312 29.696 29.696 29.696h654.336c16.384 0 29.696-13.312 29.696-29.696-0.512-16.384-13.824-29.696-30.208-29.696z" p-id="10578"></path></svg>`),
	}
	Time = &fyne.StaticResource{
		StaticName: "time.svg",
		StaticContent: []byte(
			`<svg t="1696559933188" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="26350" width="200" height="200"><path d="M334.189714 358.034286l-51.736381 51.712L97.52381 224.816762 273.578667 48.761905l51.712 51.712-89.014857 89.014857h289.767619c211.846095 0 384.048762 169.691429 388.169142 380.537905l0.073143 7.728762c0 214.430476-173.83619 388.242286-388.242285 388.242285-214.430476 0-388.242286-173.83619-388.242286-388.242285h73.142857c0 174.031238 141.06819 315.099429 315.099429 315.099428S841.142857 751.786667 841.142857 577.755429s-141.06819-315.099429-315.099428-315.099429l-287.280762-0.024381 95.427047 95.402667z m216.990476 6.217143l-0.02438 175.811047h175.835428v75.385905H475.794286V364.251429h75.361524z" p-id="26351"></path></svg>`),
	}
	Reserver = &fyne.StaticResource{
		StaticName: "reserver.svg",
		StaticContent: []byte(
			`<svg t="1696145062879" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18556" width="200" height="200"><path d="M426.666667 512a64 64 0 1 1-64-64 64 64 0 0 1 64 64z m234.666666-64a64 64 0 1 0 64 64 64 64 0 0 0-64-64z m234.666667 64a381.866667 381.866667 0 0 1-85.333333 241.066667V896H213.333333v-142.933333A384 384 0 1 1 896 512z m-85.333333 0a298.666667 298.666667 0 1 0-530.986667 187.52l18.986667 23.466667V810.666667h85.333333v-85.333334h85.333333v85.333334h85.333334v-85.333334h85.333333v85.333334h85.333333v-87.68l18.986667-23.466667A296.106667 296.106667 0 0 0 810.666667 512z" p-id="18557"></path></svg>`),
	}
	WX = &fyne.StaticResource{
		StaticName: "wx.svg",
		StaticContent: []byte(
			`<svg t="1696559792111" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="20189" width="200" height="200"><path d="M957.797717 621.662609c0-114.243951-89.378633-209.864752-210.54832-240.23955-26.448372-142.819776-166.921707-248.665453-337.608158-248.665453-189.387371 0-343.441003 132.621507-343.441003 295.590182 0 83.896782 40.625256 162.450882 112.172779 218.427778l-18.759249 56.05876c-5.072529 15.814174-0.274246 32.992415 11.997242 43.462884 7.4159 6.571672 17.013489 10.196223 26.993794 10.196223 6.161327 0 12.323677-1.417279 18.376533-4.307096l85.778642-43.026956c31.683607 9.708106 61.566194 13.933337 98.484012 14.506389C446.723809 811.298644 548.371884 872.811626 666.705989 872.811626c33.810037 0 66.856687-5.018294 98.594529-14.833847l51.314713 28.137851c6.052856 3.381004 12.924357 5.126764 19.84907 5.126764 9.215896 0 18.268062-3.163039 25.847691-9.16166 12.870122-10.523681 18.104333-27.591405 13.30605-43.514049l-10.034541-33.429367C924.423609 757.666142 957.797717 691.819458 957.797717 621.662609zM380.467803 666.954141c-24.484647-1.74576-45.370327-5.998621-68.546166-13.633508l-17.449417-2.671852-70.073962 35.117822 20.122293-60.640102-17.340947-11.941983c-66.692958-45.807279-104.920608-113.181759-104.920608-184.836729 0-132.076084 128.914068-239.531422 287.383266-239.531422 132.676765 0 247.793596 77.653591 278.986015 182.409446-5.779633-0.381693-11.450796-0.273223-17.121959-0.381693-1.63729 0-3.163039-0.381693-4.798283-0.381693-0.982374 0-1.962701 0.217964-2.945075 0.273223-18.213827 0.10847-35.990702 1.744737-53.224202 4.635577-1.417279 0.217964-2.835581 0.435928-4.252861 0.708128-17.995863 3.217275-35.335786 7.907087-51.913347 13.905708-0.545422 0.191358-1.090844 0.381693-1.636267 0.599657-17.014512 6.244214-33.210379 13.851473-48.423873 22.684652-0.163729 0.109494-0.327458 0.217964-0.545422 0.327458-15.269775 8.970302-29.557176 19.086707-42.534745 30.319539-0.218988 0.163729-0.381693 0.354064-0.545422 0.490164-12.923334 11.207249-24.648376 23.367197-34.899858 36.481889-0.326435 0.409322-0.600681 0.817622-0.926092 1.226944-10.034541 12.979616-18.814508 26.693965-25.90295 41.199331-0.381693 0.708128-0.654916 1.417279-0.981351 2.12643-6.925736 14.452153-12.542664 29.476335-16.250102 45.099151-0.163729 0.682545-0.217964 1.337461-0.382717 1.989307-3.653203 15.924691-5.725398 32.311917-5.725398 49.133024C375.615285 636.851543 377.249505 651.955542 380.467803 666.954141zM817.104371 771.434727c-9.924024 6.872524-14.287401 19.414165-10.796904 31.082926l5.126764 16.851806-29.993105-16.305361c-4.145413-2.291183-8.724709-3.490497-13.414521-3.490497-3.108804 0-6.271844 0.544399-9.271154 1.636267-29.338189 10.305717-60.311621 15.541975-92.049462 15.541975-107.863636 0-198.059891-60.939931-225.599108-143.337569-1.908466-5.53404-3.926426-11.149944-5.180999-16.769942-2.508123-11.397584-4.252861-22.984481-4.252861-34.982746 0-107.618043 105.465007-195.169051 235.032968-195.169051 16.46909 0 33.04665 1.636267 50.496068 4.771677 105.301278 19.277042 184.5369 97.17725 184.5369 190.398398C901.738957 679.495782 870.928231 734.082004 817.104371 771.434727z" fill="#030000" p-id="20190"></path><path d="M289.835619 311.430962c-15.432481 0-27.92091 12.488429-27.92091 27.92091s12.488429 27.89328 27.92091 27.89328 27.919886-12.4608 27.919886-27.89328S305.2681 311.430962 289.835619 311.430962z" fill="#030000" p-id="20191"></path><path d="M513.198803 367.245152c15.432481 0 27.919886-12.4608 27.919886-27.89328s-12.487406-27.92091-27.919886-27.92091-27.92091 12.488429-27.92091 27.92091S497.766322 367.245152 513.198803 367.245152z" fill="#030000" p-id="20192"></path><path d="M579.56328 534.821775c-15.486716 0-27.919886 12.487406-27.919886 27.919886s12.43317 27.919886 27.919886 27.919886c15.378246 0 27.92091-12.487406 27.92091-27.919886S594.942549 534.821775 579.56328 534.821775z" fill="#030000" p-id="20193"></path><path d="M746.104317 534.849404c-15.378246 0-27.919886 12.487406-27.919886 27.919886s12.541641 27.92091 27.919886 27.92091c15.486716 0 27.92091-12.488429 27.92091-27.92091S761.591033 534.849404 746.104317 534.849404z" fill="#030000" p-id="20194"></path></svg>`,
		),
	}
	Quake = &fyne.StaticResource{
		StaticName: "quake.svg",
		StaticContent: []byte(
			`<svg t="1696656350110" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4204" width="200" height="200"><path d="M680.416757 459.07972 573.090357 459.07972 573.090357 351.753319c0-30.312376-24.800849-55.113225-55.113225-55.113225l0 0c-30.312376 0-55.113225 24.800849-55.113225 55.113225l0 107.326401L355.537506 459.07972c-30.312376 0-55.113225 24.800849-55.113225 55.113225l0 0c0 30.312376 24.800849 55.113225 55.113225 55.113225l107.326401 0 0 107.326401c0 30.312376 24.800849 55.113225 55.113225 55.113225l0 0c30.312376 0 55.113225-24.800849 55.113225-55.113225L573.090357 569.30617l107.326401 0c30.312376 0 55.113225-24.800849 55.113225-55.113225l0 0C735.529983 483.880569 710.729134 459.07972 680.416757 459.07972z" fill="#272636" p-id="4205"></path><path d="M511.771803 76.893274c-239.630682 0-435.106726 195.47195-435.106726 435.103656 0 94.841042 30.642904 182.753277 82.499969 254.379595 13.024641 20.517289 32.243355 42.841737 59.010999 66.24168 77.483722 71.033823 180.62787 114.488521 293.595758 114.488521 103.163591 0 198.122313-36.252669 272.847202-96.638991 0.907673-0.728594 1.814322-1.456165 2.716878-2.192945 0.475837-0.38988 0.954745-0.775666 1.425466-1.165546 22.744004-18.662035 43.799552-39.940664 62.682621-63.755046 59.665915-74.495668 95.433536-168.876222 95.433536-271.356244C946.877505 272.370341 751.405555 76.893274 511.771803 76.893274zM829.009004 763.432473c-66.787102 37.028335-141.208069 57.060577-188.409091 66.422805-90.930989 18.152429-200.3654-12.568247-240.679571-31.591509-68.068282-32.116465-89.183182-64.577784-124.267235-97.739045l-20.070104-19.195178c-47.562249-44.911886-98.123808-39.531342-113.870444-4.776793-22.51069-50.329269-35.056424-106.024755-35.056424-164.555823 0.001023-92.624561 31.394011-178.147376 84.049255-246.521626 68.905346-40.120766 147.548474-61.442374 196.569958-71.193459 91.102904-18.147312 200.535269 12.568247 240.679571 31.592532 68.240197 32.115442 89.182158 64.576761 124.43915 97.91403l20.070104 19.023262c47.082318 44.544519 95.120404 38.818097 109.209284 4.267187 22.610974 50.424436 35.21299 106.243743 35.21299 164.91705C916.885424 606.854345 883.972826 694.26516 829.009004 763.432473z" fill="#272636" p-id="4206"></path></svg>`,
		),
	}
	Company = &fyne.StaticResource{
		StaticName: "company.svg",
		StaticContent: []byte(
			`<svg t="1696831922617" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12225" width="200" height="200"><path d="M597.479619 154.063238V852.358095h52.150857V320.658286l169.252572 58.88a56.32 56.32 0 0 1 25.795047 42.959238l0.170667 4.388571V852.358095H902.095238V926.47619H121.904762v-74.093714h56.953905v-566.613333c0-19.456 10.166857-37.546667 26.843428-47.85981l304.444953-131.705904c38.034286-23.503238 87.332571 3.510857 87.332571 47.859809zM471.771429 482.816l-167.107048 68.266667v80.115809l167.107048-68.242286v-80.14019z m0-175.225905L304.664381 377.904762v80.530286l167.107048-70.339048v-80.457143z" p-id="12226"></path></svg>`,
		),
	}
	Update = &fyne.StaticResource{
		StaticName: "update.svg",
		StaticContent: []byte(
			`<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24" x="0"/></g><g><g><g><path d="M21,10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-0.1c-2.73,2.71-2.73,7.08,0,9.79s7.15,2.71,9.88,0 C18.32,15.65,19,14.08,19,12.1h2c0,1.98-0.88,4.55-2.64,6.29c-3.51,3.48-9.21,3.48-12.72,0c-3.5-3.47-3.53-9.11-0.02-12.58 s9.14-3.47,12.65,0L21,3V10.12z M12.5,8v4.25l3.5,2.08l-0.72,1.21L11,13V8H12.5z"/></g></g></g></svg>`,
		),
	}
	Detail = &fyne.StaticResource{
		StaticName: "detail.svg",
		StaticContent: []byte(
			`<svg t="1697941604676" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4013" width="200" height="200"><path d="M747.7 288.2c0-17.6-14.4-32.1-32.1-32.1H306.4c-17.6 0-32.1 14.4-32.1 32.1 0 17.6 14.4 32.1 32.1 32.1h409.2c17.7 0 32.1-14.5 32.1-32.1zM306.4 448c-17.6 0-32.1 14.4-32.1 32.1 0 17.6 14.4 32.1 32.1 32.1h191.1c17.7 0 32.2-14.4 32.1-32.1 0-17.6-14.4-32.1-32.1-32.1H306.4zM766.6 776.8c-2.1-2.1-4.4-3.9-6.9-5.2 18.1-25.8 28.7-57.1 28.7-90.9 0-88.2-72.4-159.6-161.7-159.6S465 592.5 465 680.7s72.4 159.6 161.7 159.6c32.7 0 63.2-9.6 88.7-26.1 1.5 2.9 3.4 5.6 5.8 8l83.3 83.3c12.5 12.5 32.9 12.5 45.4 0s12.5-32.9 0-45.4l-83.3-83.3z m-139.9 0.6c-54.1 0-98-43.3-98-96.7s43.9-96.7 98-96.7 98 43.3 98 96.7c0 53.4-43.8 96.7-98 96.7z" fill="#4D4D4D" p-id="4014"></path><path d="M577.6 895.4H221.2c-35.2 0-64-28.8-64-64V192.8c0-35.2 28.8-64 64-64h547.3c35.2 0 64 28.8 64 64v318.4h0.3v0.1c0 17.7 14.4 32.1 32.2 32.1s32.2-14.4 32.2-32.1c0-1.2-0.1-2.3-0.2-3.5v-316c0-70.4-27.6-128-98-128H225c-70.4 0-128 57.6-128 128v639.8c0 70.4 57.6 128 128 128h352.2c17.8 0 32.2-14.4 32.2-32.1 0-17.6-14.2-31.9-31.8-32.1z" fill="#4D4D4D" p-id="4015"></path><path d="M832.7 639.3a32.2 32.1 0 1 0 64.4 0 32.2 32.1 0 1 0-64.4 0Z" fill="#4D4D4D" p-id="4016"></path></svg>`,
		),
	}
	Github = &fyne.StaticResource{
		StaticName: "github.svg",
		StaticContent: []byte(
			`<svg t="1698565873369" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3975" width="200" height="200"><path d="M512 85.333333C276.266667 85.333333 85.333333 276.266667 85.333333 512a426.410667 426.410667 0 0 0 291.754667 404.821333c21.333333 3.712 29.312-9.088 29.312-20.309333 0-10.112-0.554667-43.690667-0.554667-79.445333-107.178667 19.754667-134.912-26.112-143.445333-50.133334-4.821333-12.288-25.6-50.133333-43.733333-60.288-14.933333-7.978667-36.266667-27.733333-0.554667-28.245333 33.621333-0.554667 57.6 30.933333 65.621333 43.733333 38.4 64.512 99.754667 46.378667 124.245334 35.2 3.754667-27.733333 14.933333-46.378667 27.221333-57.045333-94.933333-10.666667-194.133333-47.488-194.133333-210.688 0-46.421333 16.512-84.778667 43.733333-114.688-4.266667-10.666667-19.2-54.4 4.266667-113.066667 0 0 35.712-11.178667 117.333333 43.776a395.946667 395.946667 0 0 1 106.666667-14.421333c36.266667 0 72.533333 4.778667 106.666666 14.378667 81.578667-55.466667 117.333333-43.690667 117.333334-43.690667 23.466667 58.666667 8.533333 102.4 4.266666 113.066667 27.178667 29.866667 43.733333 67.712 43.733334 114.645333 0 163.754667-99.712 200.021333-194.645334 210.688 15.445333 13.312 28.8 38.912 28.8 78.933333 0 57.045333-0.554667 102.912-0.554666 117.333334 0 11.178667 8.021333 24.490667 29.354666 20.224A427.349333 427.349333 0 0 0 938.666667 512c0-235.733333-190.933333-426.666667-426.666667-426.666667z" fill="#000000" p-id="3976"></path></svg>`,
		),
	}
)

// IconPathMap 存储图标文件的路径。
var IconPathMap = map[string]string{
	"logo":       "ico/logo.ico",
	"tianyancha": "ico/tianyancha.ico",
	"chinaz":     "ico/chinaz.ico",
	"hunter":     "ico/hunter.ico",
	"fofa":       "ico/fofa.ico",
}

// readIcon 读取并返回指定名称的图标资源。
func ReadIcon(name string) *fyne.StaticResource {
	path, exists := IconPathMap[name]
	if !exists {
		// 记录错误信息
		logger.Info(fmt.Sprintf("Requested icon not found: %s. Using default icon instead.", name))

		// 返回一个默认的图标。这里假设您已经在 IconPathMap 中定义了一个"default"作为默认图标的键
		path = IconPathMap["logo"]
	}

	content, err := staticFiles.ReadFile(path)
	if err != nil {
		logger.Info(err)
		return nil // 或返回一个默认图标
	}

	return fyne.NewStaticResource("", content)
}
func LogoIcon() *fyne.StaticResource {
	return ReadIcon("logo")
}

func TycIcon() *fyne.StaticResource {
	return ReadIcon("tianyancha")
}

func HunterIcon() *fyne.StaticResource {
	return ReadIcon("hunter")
}

func FofaIcon() *fyne.StaticResource {
	return ReadIcon("fofa")
}

func ChinazIcon() *fyne.StaticResource {
	return ReadIcon("chinaz")
}

func ThemeIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Theme)
}

func WebscanIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Webscan)
}

func WebIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Web)
}

func FingerprintIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Fingerprint)
}

func AttackIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Attack)
}

func DirsearchIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Dirsearch)
}

func AssetIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Asset)
}

func MapIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Map)
}

func ToolsIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Tools)
}

func NoteIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Note)
}

func DictIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Dict)
}

func SubdomainIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Domain)
}

func BombIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Bomb)
}

func CryptIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Crypt)
}

func ProblemIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Problem)
}

func ExtractionIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Extraction)
}

func TimeIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Time)
}

func ReserverIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Reserver)
}

func WxIcon() *theme.ThemedResource {
	return theme.NewThemedResource(WX)
}
func QuakeIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Quake)
}

func CompnayIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Company)
}

func UpdateIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Update)
}

func DetailIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Detail)
}

func GithubIcon() *theme.ThemedResource {
	return theme.NewThemedResource(Github)
}
