{"version":3,"file":"useSharePlatforms-CgGpSSII.mjs","names":[],"sources":["../src/components/icons/CastboxIcon.vue","../src/components/icons/CastboxIcon.vue","../src/components/icons/PodcastRepublicIcon.vue","../src/components/icons/PodcastRepublicIcon.vue","../src/components/icons/PodbeanIcon.vue","../src/components/icons/PodbeanIcon.vue","../src/helper/colorFromString.ts","../src/components/misc/ClassicAvatar.vue","../src/components/misc/ClassicAvatar.vue","../src/components/composable/share/useSharePlatforms.ts"],"sourcesContent":["<template>\n  <span\n    :aria-hidden=\"!title\"\n    class=\"material-design-icon\"\n    :title=\"title\"\n  >\n\t<svg :fill=\"fillColor\" :width=\"size\" :height=\"size\" viewBox=\"0 0 24 24\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\">\n      <path d=\"M12 0c-.29 0-.58.068-.812.206L2.417 5.392c-.46.272-.804.875-.804 1.408v10.4c0 .533.344 1.135.804 1.407l8.77 5.187c.465.275 1.162.275 1.626 0l8.77-5.187c.46-.272.804-.874.804-1.407V6.8c0-.533-.344-1.136-.804-1.408L12.813.206A1.618 1.618 0 0 0 12 0zm-.85 8.304c.394 0 .714.303.714.676v2.224c0 .207.191.375.427.375s.428-.168.428-.375V9.57c0-.373.32-.675.713-.675.394 0 .712.302.712.675v4.713c0 .374-.318.676-.712.676-.394 0-.713-.302-.713-.676v-1.31c0-.206-.192-.374-.428-.374s-.427.168-.427.374v1.226c0 .374-.32.676-.713.676-.394 0-.713-.302-.713-.676v-1.667c0-.207-.192-.375-.428-.375-.235 0-.427.168-.427.375v3.31c0 .373-.319.676-.712.676-.394 0-.713-.303-.713-.676v-2.427c0-.206-.191-.374-.428-.374-.235 0-.427.168-.427.374v.178a.71.71 0 0 1-.712.708.71.71 0 0 1-.713-.708V11.47a.71.71 0 0 1 .713-.708.71.71 0 0 1 .712.708v.178c0 .206.192.373.427.373.237 0 .428-.167.428-.373v-1.53c0-.374.32-.676.713-.676.393 0 .712.303.712.676v.646c0 .206.192.374.427.374.236 0 .428-.168.428-.374V8.98c0-.373.319-.676.713-.676zm4.562 2.416c.393 0 .713.302.713.676v2.691c0 .374-.32.676-.713.676-.394 0-.712-.303-.712-.676v-2.691c0-.374.319-.676.712-.676zm2.28 1.368c.395 0 .713.303.713.676v.67c0 .374-.318.676-.712.676-.394 0-.713-.302-.713-.675v-.67c0-.374.32-.677.713-.677z\"/>\n    </svg>\n  </span>\n</template>\n\n<script setup lang=\"ts\">\n//Props \ndefineProps({\n  size: { default: 24, type: Number },\n  title: { default: undefined, type: String },\n  fillColor: { default: \"currentColor\", type: String },\n})\n</script>\n","<template>\n  <span\n    :aria-hidden=\"!title\"\n    class=\"material-design-icon\"\n    :title=\"title\"\n  >\n\t<svg :fill=\"fillColor\" :width=\"size\" :height=\"size\" viewBox=\"0 0 24 24\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\">\n      <path d=\"M12 0c-.29 0-.58.068-.812.206L2.417 5.392c-.46.272-.804.875-.804 1.408v10.4c0 .533.344 1.135.804 1.407l8.77 5.187c.465.275 1.162.275 1.626 0l8.77-5.187c.46-.272.804-.874.804-1.407V6.8c0-.533-.344-1.136-.804-1.408L12.813.206A1.618 1.618 0 0 0 12 0zm-.85 8.304c.394 0 .714.303.714.676v2.224c0 .207.191.375.427.375s.428-.168.428-.375V9.57c0-.373.32-.675.713-.675.394 0 .712.302.712.675v4.713c0 .374-.318.676-.712.676-.394 0-.713-.302-.713-.676v-1.31c0-.206-.192-.374-.428-.374s-.427.168-.427.374v1.226c0 .374-.32.676-.713.676-.394 0-.713-.302-.713-.676v-1.667c0-.207-.192-.375-.428-.375-.235 0-.427.168-.427.375v3.31c0 .373-.319.676-.712.676-.394 0-.713-.303-.713-.676v-2.427c0-.206-.191-.374-.428-.374-.235 0-.427.168-.427.374v.178a.71.71 0 0 1-.712.708.71.71 0 0 1-.713-.708V11.47a.71.71 0 0 1 .713-.708.71.71 0 0 1 .712.708v.178c0 .206.192.373.427.373.237 0 .428-.167.428-.373v-1.53c0-.374.32-.676.713-.676.393 0 .712.303.712.676v.646c0 .206.192.374.427.374.236 0 .428-.168.428-.374V8.98c0-.373.319-.676.713-.676zm4.562 2.416c.393 0 .713.302.713.676v2.691c0 .374-.32.676-.713.676-.394 0-.712-.303-.712-.676v-2.691c0-.374.319-.676.712-.676zm2.28 1.368c.395 0 .713.303.713.676v.67c0 .374-.318.676-.712.676-.394 0-.713-.302-.713-.675v-.67c0-.374.32-.677.713-.677z\"/>\n    </svg>\n  </span>\n</template>\n\n<script setup lang=\"ts\">\n//Props \ndefineProps({\n  size: { default: 24, type: Number },\n  title: { default: undefined, type: String },\n  fillColor: { default: \"currentColor\", type: String },\n})\n</script>\n","<template>\n    <span\n        :aria-hidden=\"!title\"\n        class=\"material-design-icon\"\n        :title=\"title\"\n    >\n        <svg version=\"1.0\" xmlns=\"http://www.w3.org/2000/svg\"\n         :width=\"size\" :height=\"size\" viewBox=\"0 0 512.000000 512.000000\"\n         preserveAspectRatio=\"xMidYMid meet\">\n\n            <g\n                transform=\"translate(0.000000,512.000000) scale(0.100000,-0.100000)\"\n                :fill=\"fillColor\"\n                stroke=\"none\"\n            >\n                <path d=\"M2351 4849 c-339 -36 -752 -185 -1036 -375 -261 -174 -494 -406 -656\n                -651 -240 -365 -368 -748 -395 -1188 -13 -211 34 -554 106 -775 30 -94 99\n                -270 126 -322 8 -15 10 -29 5 -32 -4 -3 -39 59 -77 139 -38 79 -70 142 -72\n                140 -6 -5 64 -178 106 -262 128 -254 284 -466 479 -654 591 -567 1411 -783\n                2207 -583 446 113 884 384 1192 739 102 117 252 341 318 472 118 236 192 468\n                232 733 22 141 25 489 6 625 -64 450 -239 853 -517 1190 -77 93 -264 285 -278\n                285 -4 0 29 -36 73 -81 44 -44 80 -84 80 -89 0 -4 16 -25 35 -46 70 -76 24\n                -44 -72 51 -198 195 -389 332 -628 450 -388 193 -828 276 -1234 234z m404\n                -539 c188 -18 281 -40 465 -108 120 -45 249 -112 294 -154 11 -10 24 -18 29\n                -18 17 0 1 -19 -121 -144 l-122 -126 -63 35 c-55 30 -166 75 -262 107 -146 47\n                -380 68 -544 49 -132 -15 -179 -25 -309 -67 -137 -45 -217 -84 -342 -168 -287\n                -193 -508 -526 -587 -883 -24 -111 -24 -437 0 -546 69 -307 239 -595 473 -797\n                103 -90 332 -217 474 -263 162 -53 246 -67 393 -67 207 0 366 27 484 81 24 10\n                48 19 54 19 6 0 54 20 106 45 52 25 98 45 102 45 11 0 251 -249 251 -260 0\n                -10 -88 -61 -194 -113 -137 -67 -287 -119 -401 -141 -38 -8 -101 -20 -140 -27\n                -91 -17 -397 -17 -490 0 -79 14 -146 29 -190 42 -446 128 -817 408 -1052 794\n                -90 148 -176 353 -211 505 -6 25 -13 56 -17 70 -14 63 -35 263 -35 340 0 74\n                21 277 34 335 3 11 12 52 21 90 73 310 232 586 479 830 103 102 270 235 295\n                235 6 0 11 4 11 9 0 14 254 136 345 166 123 41 162 50 360 84 72 13 282 13\n                410 1z m1136 -572 c29 -35 56 -65 59 -68 55 -52 192 -284 239 -405 13 -33 30\n                -73 37 -90 12 -28 43 -123 63 -190 54 -181 54 -672 1 -850 -20 -64 -52 -161\n                -60 -180 -4 -11 -21 -51 -36 -90 -63 -158 -190 -354 -317 -491 -21 -23 -44\n                -50 -52 -60 -13 -18 -23 -10 -145 111 l-131 131 21 24 c12 14 36 41 54 60 38\n                41 146 196 146 209 0 5 3 11 8 13 15 6 80 145 110 233 68 205 77 265 76 500\n                -1 180 -4 210 -27 301 -63 244 -156 421 -303 574 l-73 75 127 128 c70 70 132\n                127 138 127 6 0 35 -28 65 -62z m-1532 -488 c16 -11 32 -20 36 -20 3 0 40 -20\n                81 -45 40 -25 76 -45 78 -45 2 0 41 -22 85 -50 44 -27 82 -50 85 -50 2 0 55\n                -30 117 -66 63 -37 128 -74 144 -84 17 -10 48 -28 70 -40 166 -96 279 -165\n                303 -185 16 -13 34 -42 41 -64 23 -79 -14 -142 -117 -198 -20 -11 -77 -44\n                -127 -73 -49 -28 -108 -62 -130 -75 -52 -29 -91 -51 -200 -115 -49 -29 -108\n                -62 -130 -75 -22 -12 -94 -54 -160 -92 -215 -125 -216 -126 -271 -126 -38 0\n                -61 6 -83 22 -64 46 -62 19 -59 700 3 605 3 620 23 647 34 45 83 66 138 60 26\n                -3 61 -14 76 -26z\"/>\n                <path d=\"M4050 4366 c0 -2 8 -10 18 -17 15 -13 16 -12 3 4 -13 16 -21 21 -21 13z\"/>\n                <path d=\"M321 1874 c0 -11 3 -14 6 -6 3 7 2 16 -1 19 -3 4 -6 -2 -5 -13z\"/>\n            </g>\n        </svg>\n    </span>\n</template>\n\n<script setup lang=\"ts\">\n//Props \ndefineProps({\n    size: { default: 24, type: Number },\n    title: { default: undefined, type: String },\n    fillColor: { default: \"currentColor\", type: String },\n})\n</script>\n","<template>\n    <span\n        :aria-hidden=\"!title\"\n        class=\"material-design-icon\"\n        :title=\"title\"\n    >\n        <svg version=\"1.0\" xmlns=\"http://www.w3.org/2000/svg\"\n         :width=\"size\" :height=\"size\" viewBox=\"0 0 512.000000 512.000000\"\n         preserveAspectRatio=\"xMidYMid meet\">\n\n            <g\n                transform=\"translate(0.000000,512.000000) scale(0.100000,-0.100000)\"\n                :fill=\"fillColor\"\n                stroke=\"none\"\n            >\n                <path d=\"M2351 4849 c-339 -36 -752 -185 -1036 -375 -261 -174 -494 -406 -656\n                -651 -240 -365 -368 -748 -395 -1188 -13 -211 34 -554 106 -775 30 -94 99\n                -270 126 -322 8 -15 10 -29 5 -32 -4 -3 -39 59 -77 139 -38 79 -70 142 -72\n                140 -6 -5 64 -178 106 -262 128 -254 284 -466 479 -654 591 -567 1411 -783\n                2207 -583 446 113 884 384 1192 739 102 117 252 341 318 472 118 236 192 468\n                232 733 22 141 25 489 6 625 -64 450 -239 853 -517 1190 -77 93 -264 285 -278\n                285 -4 0 29 -36 73 -81 44 -44 80 -84 80 -89 0 -4 16 -25 35 -46 70 -76 24\n                -44 -72 51 -198 195 -389 332 -628 450 -388 193 -828 276 -1234 234z m404\n                -539 c188 -18 281 -40 465 -108 120 -45 249 -112 294 -154 11 -10 24 -18 29\n                -18 17 0 1 -19 -121 -144 l-122 -126 -63 35 c-55 30 -166 75 -262 107 -146 47\n                -380 68 -544 49 -132 -15 -179 -25 -309 -67 -137 -45 -217 -84 -342 -168 -287\n                -193 -508 -526 -587 -883 -24 -111 -24 -437 0 -546 69 -307 239 -595 473 -797\n                103 -90 332 -217 474 -263 162 -53 246 -67 393 -67 207 0 366 27 484 81 24 10\n                48 19 54 19 6 0 54 20 106 45 52 25 98 45 102 45 11 0 251 -249 251 -260 0\n                -10 -88 -61 -194 -113 -137 -67 -287 -119 -401 -141 -38 -8 -101 -20 -140 -27\n                -91 -17 -397 -17 -490 0 -79 14 -146 29 -190 42 -446 128 -817 408 -1052 794\n                -90 148 -176 353 -211 505 -6 25 -13 56 -17 70 -14 63 -35 263 -35 340 0 74\n                21 277 34 335 3 11 12 52 21 90 73 310 232 586 479 830 103 102 270 235 295\n                235 6 0 11 4 11 9 0 14 254 136 345 166 123 41 162 50 360 84 72 13 282 13\n                410 1z m1136 -572 c29 -35 56 -65 59 -68 55 -52 192 -284 239 -405 13 -33 30\n                -73 37 -90 12 -28 43 -123 63 -190 54 -181 54 -672 1 -850 -20 -64 -52 -161\n                -60 -180 -4 -11 -21 -51 -36 -90 -63 -158 -190 -354 -317 -491 -21 -23 -44\n                -50 -52 -60 -13 -18 -23 -10 -145 111 l-131 131 21 24 c12 14 36 41 54 60 38\n                41 146 196 146 209 0 5 3 11 8 13 15 6 80 145 110 233 68 205 77 265 76 500\n                -1 180 -4 210 -27 301 -63 244 -156 421 -303 574 l-73 75 127 128 c70 70 132\n                127 138 127 6 0 35 -28 65 -62z m-1532 -488 c16 -11 32 -20 36 -20 3 0 40 -20\n                81 -45 40 -25 76 -45 78 -45 2 0 41 -22 85 -50 44 -27 82 -50 85 -50 2 0 55\n                -30 117 -66 63 -37 128 -74 144 -84 17 -10 48 -28 70 -40 166 -96 279 -165\n                303 -185 16 -13 34 -42 41 -64 23 -79 -14 -142 -117 -198 -20 -11 -77 -44\n                -127 -73 -49 -28 -108 -62 -130 -75 -52 -29 -91 -51 -200 -115 -49 -29 -108\n                -62 -130 -75 -22 -12 -94 -54 -160 -92 -215 -125 -216 -126 -271 -126 -38 0\n                -61 6 -83 22 -64 46 -62 19 -59 700 3 605 3 620 23 647 34 45 83 66 138 60 26\n                -3 61 -14 76 -26z\"/>\n                <path d=\"M4050 4366 c0 -2 8 -10 18 -17 15 -13 16 -12 3 4 -13 16 -21 21 -21 13z\"/>\n                <path d=\"M321 1874 c0 -11 3 -14 6 -6 3 7 2 16 -1 19 -3 4 -6 -2 -5 -13z\"/>\n            </g>\n        </svg>\n    </span>\n</template>\n\n<script setup lang=\"ts\">\n//Props \ndefineProps({\n    size: { default: 24, type: Number },\n    title: { default: undefined, type: String },\n    fillColor: { default: \"currentColor\", type: String },\n})\n</script>\n","\n<template>\n    <span\n        :aria-hidden=\"!title\"\n        class=\"material-design-icon\"\n        :title=\"title\"\n    >\n        <svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t:width=\"size\" :height=\"size\"\n            viewBox=\"0 0 250 250\"\n\t\t>\n\t\t\t<path d=\"M0 0 C4.79655276 3.85190539 9.23609478 8.06675797 13.66113281 12.33398438 C14.84642578 13.42453125 14.84642578 13.42453125 16.05566406 14.53710938 C22.16923225 20.31876756 33.02606258 30.96246008 33.89941406 39.72460938 C34.05656582 45.77908747 33.9724747 49.67307423 29.66113281 54.33398438 C25.93318717 57.00503821 23.29595617 57.76559979 18.72363281 57.77148438 C17.22509766 57.80048828 17.22509766 57.80048828 15.69628906 57.83007812 C10.65008082 57.00527961 7.66363532 54.52718981 4.42285156 50.66992188 C3.73835937 49.6928125 3.05386719 48.71570313 2.34863281 47.70898438 C-15.730078 22.93334248 -41.70909306 7.1213401 -71.97558594 1.82226562 C-76.76329513 1.12718589 -81.50611835 0.57374866 -86.33886719 0.33398438 C-87.47775391 0.27210937 -87.47775391 0.27210937 -88.63964844 0.20898438 C-117.12874475 -0.55710897 -145.85044543 9.74167271 -167.33886719 28.33398438 C-168.12390625 28.96304688 -168.90894531 29.59210938 -169.71777344 30.24023438 C-176.11727781 35.58171475 -180.94464717 41.74793998 -185.78540039 48.48217773 C-190.91911391 55.5202177 -190.91911391 55.5202177 -195.33886719 57.33398438 C-200.88695323 58.16283707 -205.81027601 58.05805388 -210.90136719 55.64648438 C-215.05972065 51.70137981 -216.54002264 48.93903668 -216.96386719 43.20898438 C-216.47395704 30.08639124 -203.97599173 20.14580316 -195.33886719 11.33398438 C-194.76064209 10.73312012 -194.18241699 10.13225586 -193.58666992 9.51318359 C-143.75707478 -41.58732666 -54.99036874 -42.50555365 0 0 Z \" :fill=\"fillColor\" transform=\"translate(216.3388671875,54.666015625)\"/>\n\t\t\t<path d=\"M0 0 C2.2624882 1.67886478 4.33043223 3.43968823 6.39453125 5.35546875 C7.03003906 5.92394531 7.66554688 6.49242187 8.3203125 7.078125 C17.85742814 16.04342214 22.41423895 26.9417991 22.92041016 39.98461914 C23.10980578 54.18550326 20.30749108 65.67505396 10.39453125 76.35546875 C9.82605469 76.99097656 9.25757813 77.62648438 8.671875 78.28125 C-0.32758955 87.85471229 -11.24059666 92.40364697 -24.3359375 92.83056641 C-40.59626007 92.9767717 -51.90970378 88.74212341 -63.85546875 77.54296875 C-73.15639083 67.79109287 -77.60546875 55.77018358 -77.60546875 42.35546875 C-76.39104885 25.56231854 -70.33125513 13.39370519 -57.60546875 2.35546875 C-41.63584196 -10.10778346 -16.99658326 -10.72797834 0 0 Z \" :fill=\"fillColor\" transform=\"translate(148.60546875,132.64453125)\"/>\n\t\t\t<path d=\"M0 0 C9.99742945 7.67398967 22.73683955 17.6886053 25.94140625 30.2578125 C26.2542911 35.07142555 25.39589015 38.51411158 22.87890625 42.6328125 C18.66526236 46.3981964 15.22726167 48.09647754 9.5546875 48.375 C1.01326105 47.54365237 -2.91533681 41.50751799 -8.05859375 35.2578125 C-9.70545071 33.57156883 -11.36996402 31.90222279 -13.05859375 30.2578125 C-13.55101562 29.74476562 -14.0434375 29.23171875 -14.55078125 28.703125 C-18.3830977 25.04402059 -22.73286631 22.75036674 -27.49609375 20.5078125 C-28.11661621 20.21406738 -28.73713867 19.92032227 -29.37646484 19.61767578 C-43.43062177 13.25817897 -60.44077968 13.06876092 -74.98828125 18.00390625 C-86.98890977 22.9049263 -95.75896584 29.81802771 -103.62109375 40.1328125 C-106.95772803 44.3138674 -109.52301734 46.85918096 -114.79296875 48.09375 C-120.19634377 48.48502888 -124.45767668 47.27967446 -128.99609375 44.3828125 C-132.3940123 40.88192672 -133.3904353 37.92588774 -133.55859375 33.0703125 C-133.40475067 26.61744983 -131.14159241 23.09208291 -127.05859375 18.2578125 C-126.3315625 17.3709375 -125.60453125 16.4840625 -124.85546875 15.5703125 C-94.20025836 -20.02928666 -38.569947 -27.01437034 0 0 Z \" :fill=\"fillColor\" transform=\"translate(176.05859375,90.7421875)\"/>\n\t\t\t<path d=\"M0 0 C5.41698661 3.90937997 10.07388601 9.01090896 12.03515625 15.46875 C12.88006597 23.60346222 12.95599276 31.63206781 8.03515625 38.46875 C2.70914882 44.30007122 -2.09549858 48.00870144 -10.1484375 48.76953125 C-19.7885332 48.80424948 -26.0253455 47.12231147 -33.1640625 40.46875 C-38.77070299 34.2418521 -39.58167686 27.66893138 -39.27734375 19.48046875 C-38.48445782 11.83903062 -34.43518637 6.57366487 -28.96484375 1.46875 C-21.15456521 -4.7829752 -8.63354711 -4.51849195 0 0 Z \" fill=\"#F0F0F0\" transform=\"translate(134.96484375,152.53125)\"/>\n        </svg>\n    </span>\n</template>\n\n<script setup lang=\"ts\">\n//Props \ndefineProps({\n    size: { default: 24, type: Number },\n    title: { default: undefined, type: String },\n    fillColor: { default: \"currentColor\", type: String },\n})\n</script>\n","\n<template>\n    <span\n        :aria-hidden=\"!title\"\n        class=\"material-design-icon\"\n        :title=\"title\"\n    >\n        <svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t:width=\"size\" :height=\"size\"\n            viewBox=\"0 0 250 250\"\n\t\t>\n\t\t\t<path d=\"M0 0 C4.79655276 3.85190539 9.23609478 8.06675797 13.66113281 12.33398438 C14.84642578 13.42453125 14.84642578 13.42453125 16.05566406 14.53710938 C22.16923225 20.31876756 33.02606258 30.96246008 33.89941406 39.72460938 C34.05656582 45.77908747 33.9724747 49.67307423 29.66113281 54.33398438 C25.93318717 57.00503821 23.29595617 57.76559979 18.72363281 57.77148438 C17.22509766 57.80048828 17.22509766 57.80048828 15.69628906 57.83007812 C10.65008082 57.00527961 7.66363532 54.52718981 4.42285156 50.66992188 C3.73835937 49.6928125 3.05386719 48.71570313 2.34863281 47.70898438 C-15.730078 22.93334248 -41.70909306 7.1213401 -71.97558594 1.82226562 C-76.76329513 1.12718589 -81.50611835 0.57374866 -86.33886719 0.33398438 C-87.47775391 0.27210937 -87.47775391 0.27210937 -88.63964844 0.20898438 C-117.12874475 -0.55710897 -145.85044543 9.74167271 -167.33886719 28.33398438 C-168.12390625 28.96304688 -168.90894531 29.59210938 -169.71777344 30.24023438 C-176.11727781 35.58171475 -180.94464717 41.74793998 -185.78540039 48.48217773 C-190.91911391 55.5202177 -190.91911391 55.5202177 -195.33886719 57.33398438 C-200.88695323 58.16283707 -205.81027601 58.05805388 -210.90136719 55.64648438 C-215.05972065 51.70137981 -216.54002264 48.93903668 -216.96386719 43.20898438 C-216.47395704 30.08639124 -203.97599173 20.14580316 -195.33886719 11.33398438 C-194.76064209 10.73312012 -194.18241699 10.13225586 -193.58666992 9.51318359 C-143.75707478 -41.58732666 -54.99036874 -42.50555365 0 0 Z \" :fill=\"fillColor\" transform=\"translate(216.3388671875,54.666015625)\"/>\n\t\t\t<path d=\"M0 0 C2.2624882 1.67886478 4.33043223 3.43968823 6.39453125 5.35546875 C7.03003906 5.92394531 7.66554688 6.49242187 8.3203125 7.078125 C17.85742814 16.04342214 22.41423895 26.9417991 22.92041016 39.98461914 C23.10980578 54.18550326 20.30749108 65.67505396 10.39453125 76.35546875 C9.82605469 76.99097656 9.25757813 77.62648438 8.671875 78.28125 C-0.32758955 87.85471229 -11.24059666 92.40364697 -24.3359375 92.83056641 C-40.59626007 92.9767717 -51.90970378 88.74212341 -63.85546875 77.54296875 C-73.15639083 67.79109287 -77.60546875 55.77018358 -77.60546875 42.35546875 C-76.39104885 25.56231854 -70.33125513 13.39370519 -57.60546875 2.35546875 C-41.63584196 -10.10778346 -16.99658326 -10.72797834 0 0 Z \" :fill=\"fillColor\" transform=\"translate(148.60546875,132.64453125)\"/>\n\t\t\t<path d=\"M0 0 C9.99742945 7.67398967 22.73683955 17.6886053 25.94140625 30.2578125 C26.2542911 35.07142555 25.39589015 38.51411158 22.87890625 42.6328125 C18.66526236 46.3981964 15.22726167 48.09647754 9.5546875 48.375 C1.01326105 47.54365237 -2.91533681 41.50751799 -8.05859375 35.2578125 C-9.70545071 33.57156883 -11.36996402 31.90222279 -13.05859375 30.2578125 C-13.55101562 29.74476562 -14.0434375 29.23171875 -14.55078125 28.703125 C-18.3830977 25.04402059 -22.73286631 22.75036674 -27.49609375 20.5078125 C-28.11661621 20.21406738 -28.73713867 19.92032227 -29.37646484 19.61767578 C-43.43062177 13.25817897 -60.44077968 13.06876092 -74.98828125 18.00390625 C-86.98890977 22.9049263 -95.75896584 29.81802771 -103.62109375 40.1328125 C-106.95772803 44.3138674 -109.52301734 46.85918096 -114.79296875 48.09375 C-120.19634377 48.48502888 -124.45767668 47.27967446 -128.99609375 44.3828125 C-132.3940123 40.88192672 -133.3904353 37.92588774 -133.55859375 33.0703125 C-133.40475067 26.61744983 -131.14159241 23.09208291 -127.05859375 18.2578125 C-126.3315625 17.3709375 -125.60453125 16.4840625 -124.85546875 15.5703125 C-94.20025836 -20.02928666 -38.569947 -27.01437034 0 0 Z \" :fill=\"fillColor\" transform=\"translate(176.05859375,90.7421875)\"/>\n\t\t\t<path d=\"M0 0 C5.41698661 3.90937997 10.07388601 9.01090896 12.03515625 15.46875 C12.88006597 23.60346222 12.95599276 31.63206781 8.03515625 38.46875 C2.70914882 44.30007122 -2.09549858 48.00870144 -10.1484375 48.76953125 C-19.7885332 48.80424948 -26.0253455 47.12231147 -33.1640625 40.46875 C-38.77070299 34.2418521 -39.58167686 27.66893138 -39.27734375 19.48046875 C-38.48445782 11.83903062 -34.43518637 6.57366487 -28.96484375 1.46875 C-21.15456521 -4.7829752 -8.63354711 -4.51849195 0 0 Z \" fill=\"#F0F0F0\" transform=\"translate(134.96484375,152.53125)\"/>\n        </svg>\n    </span>\n</template>\n\n<script setup lang=\"ts\">\n//Props \ndefineProps({\n    size: { default: 24, type: Number },\n    title: { default: undefined, type: String },\n    fillColor: { default: \"currentColor\", type: String },\n})\n</script>\n","/**\n * Get a color from a string.\n * Using the same string, the color will always be the same.\n *\n * Uses FNV-1a hashing (XOR-then-multiply with the FNV prime 16777619) for strong\n * bit avalanche: a single character difference propagates through all hash bits,\n * so similar strings produce very different hues.\n *\n * @param str The string used for the color\n * @param saturation Saturation of the color\n * @param lightness Lightness of the color\n * @returns A color\n */\nexport function colorFromString(str: string, saturation = 80, lightness = 70) {\n    let hash = 2166136261;\n    for (const char of str) {\n        hash ^= char.charCodeAt(0);\n        hash = Math.imul(hash, 16777619) >>> 0;\n    }\n    const hue = Math.round((hash / 0xFFFFFFFF) * 360);\n    return `hsl(${hue}, ${saturation}%, ${lightness}%)`;\n}\n","<template>\n    <div\n        class=\"avatar-container d-flex align-items-center justify-content-center\"\n        :aria-hidden=\"!nonDecorative\"\n        :style=\"containerStyle\"\n    >\n        <img\n            v-if=\"imageUrl\"\n            :alt=\"nonDecorative ? name : ''\"\n            :width=\"size\"\n            :height=\"size\"\n            :src=\"useProxyImageUrl(imageUrl, '' + size)\"\n        >\n        <template v-else>\n            {{ name.length > 0 ? name[0].toUpperCase() : '?' }}\n        </template>\n    </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, type StyleValue } from 'vue';\nimport { useImageProxy } from '../composable/useImageProxy';\nimport { colorFromString } from '../../helper/colorFromString';\n\nconst props = withDefaults(defineProps<{\n    /** Name of the element to display */\n    name: string;\n    /** URL to the image to be displayed */\n    imageUrl?: string;\n    /** Size of the avatar */\n    size?: number;\n    /**\n     * Indicates that this element is not decorative.\n     * Use this when this element is the only thing to identify a platform.\n     * Will use accessibility options to hide this element if true.\n     */\n    nonDecorative?: boolean;\n}>(), {\n    imageUrl: undefined,\n    size: 24\n});\n\nconst { useProxyImageUrl } = useImageProxy();\n\nconst containerStyle = computed((): StyleValue => {\n    const size = `${props.size}px`;\n    const style: StyleValue = {\n        height: size,\n        width: size\n    };\n\n    // Add background only if there's no image to display\n    if (props.imageUrl === undefined) {\n        style['background-color'] = colorFromString(props.name);\n        style['font-size'] = `${props.size / 2}px`;\n    }\n\n    return style;\n});\n</script>\n\n<style scoped lang=\"scss\">\n.avatar-container {\n    border-radius: 30%;\n    font-weight: 800;\n    color: black;\n}\n</style>\n","<template>\n    <div\n        class=\"avatar-container d-flex align-items-center justify-content-center\"\n        :aria-hidden=\"!nonDecorative\"\n        :style=\"containerStyle\"\n    >\n        <img\n            v-if=\"imageUrl\"\n            :alt=\"nonDecorative ? name : ''\"\n            :width=\"size\"\n            :height=\"size\"\n            :src=\"useProxyImageUrl(imageUrl, '' + size)\"\n        >\n        <template v-else>\n            {{ name.length > 0 ? name[0].toUpperCase() : '?' }}\n        </template>\n    </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, type StyleValue } from 'vue';\nimport { useImageProxy } from '../composable/useImageProxy';\nimport { colorFromString } from '../../helper/colorFromString';\n\nconst props = withDefaults(defineProps<{\n    /** Name of the element to display */\n    name: string;\n    /** URL to the image to be displayed */\n    imageUrl?: string;\n    /** Size of the avatar */\n    size?: number;\n    /**\n     * Indicates that this element is not decorative.\n     * Use this when this element is the only thing to identify a platform.\n     * Will use accessibility options to hide this element if true.\n     */\n    nonDecorative?: boolean;\n}>(), {\n    imageUrl: undefined,\n    size: 24\n});\n\nconst { useProxyImageUrl } = useImageProxy();\n\nconst containerStyle = computed((): StyleValue => {\n    const size = `${props.size}px`;\n    const style: StyleValue = {\n        height: size,\n        width: size\n    };\n\n    // Add background only if there's no image to display\n    if (props.imageUrl === undefined) {\n        style['background-color'] = colorFromString(props.name);\n        style['font-size'] = `${props.size / 2}px`;\n    }\n\n    return style;\n});\n</script>\n\n<style scoped lang=\"scss\">\n.avatar-container {\n    border-radius: 30%;\n    font-weight: 800;\n    color: black;\n}\n</style>\n","import RadiolineIcon from \"../../icons/RadiolineIcon.vue\";\nimport TuninIcon from \"../../icons/TuninIcon.vue\";\nimport PodcastAddictIcon from \"../../icons/PodcastAddictIcon.vue\";\nimport PocketCastIcon from \"../../icons/PocketCastIcon.vue\";\nimport PlayerFmIcon from \"../../icons/PlayerFmIcon.vue\";\nimport IHeartIcon from \"../../icons/IHeartIcon.vue\";\nimport AmazonMusicIcon from \"../../icons/AmazonMusicIcon.vue\";\nimport DeezerIcon from \"../../icons/DeezerIcon.vue\";\nimport ApplePodcastIcon from \"../../icons/ApplePodcastIcon.vue\";\nimport CastboxIcon from \"../../icons/CastboxIcon.vue\"; \nimport PodcastRepublicIcon from \"../../icons/PodcastRepublicIcon.vue\";\nimport PodbeanIcon from \"../../icons/PodbeanIcon.vue\"; \nimport YoutubeIcon from \"vue-material-design-icons/Youtube.vue\";\nimport SpotifyIcon from \"vue-material-design-icons/Spotify.vue\";\nimport { Annotations } from \"@/stores/class/general\";\nimport { h, markRaw, ref, type Component } from \"vue\";\nimport { aggregatorsApi } from \"../../../api/aggregatorsApi\";\nimport { useNotificationStore } from \"../../../stores/NotificationStore\";\nimport ClassicAvatar from \"../../misc/ClassicAvatar.vue\";\n\nexport enum SharePlatformName {\n    APPLE = \"applePodcast\",\n    DEEZER = \"deezer\",\n    SPOTIFY = \"spotify\",\n    AMAZON = \"amazon\",\n    I_HEART = \"iHeart\",\n    PLAYER_FM = \"playerFm\",\n    POCKET_CASTS = \"pocketCasts\",\n    PODCAST_ADDICT = \"podcastAddict\",\n    RADIOLINE = \"radioline\",\n    TUNE_IN = \"tunein\",\n    YOUTUBE = \"youtube\",\n    CASTBOX = \"castbox\",\n    PODBEAN = \"podbean\",\n    PODCAST_REPUBLIC = \"podcastrepublic\"\n}\n\nexport interface SharePlatform {\n    /** ID of the platform */\n    name: SharePlatformName|string;\n    /** Icon of the platform */\n    icon: Component;\n    /** Display text/title for buttons */\n    title: string;\n    /** Color of the icon */\n    color: string;\n    /** Annotation to use for url */\n    annotation?: string;\n}\n\nexport interface SharePlatformUrl extends SharePlatform {\n    /** URL to the platform */\n    url: string;\n}\n\nexport const PREDEFINED_PLATFORMS: Array<SharePlatform> = [{\n    name: SharePlatformName.APPLE,\n    icon: markRaw(ApplePodcastIcon),\n    title: \"Apple Podcasts\",\n    color: \"#aa1dd3\"\n}, {\n    name: SharePlatformName.DEEZER,\n    icon: markRaw(DeezerIcon),\n    title: \"Deezer\",\n    color: \"#a238ff\",\n}, {\n    name: SharePlatformName.SPOTIFY,\n    icon: markRaw(SpotifyIcon),\n    title: \"Spotify\",\n    color: \"#1ed760\",\n}, {\n    name: SharePlatformName.AMAZON,\n    icon: markRaw(AmazonMusicIcon),\n    title: \"Amazon Music\",\n    color: \"#0c6cb3\",\n}, {\n    name: SharePlatformName.I_HEART,\n    icon: markRaw(IHeartIcon),\n    title: \"iHeart\",\n    color: \"#e11b22\"\n}, {\n    name: SharePlatformName.PLAYER_FM,\n    icon: markRaw(PlayerFmIcon),\n    title: \"Player FM\",\n    color: \"#bb202a\"\n}, {\n    name: SharePlatformName.POCKET_CASTS,\n    icon: markRaw(PocketCastIcon),\n    title: \"Pocket Casts\",\n    color: \"#f43e37\"\n}, {\n    name: SharePlatformName.PODCAST_ADDICT,\n    icon: markRaw(PodcastAddictIcon),\n    title: \"Podcast Addict\",\n    color: \"#f4842d\"\n}, {\n    name: SharePlatformName.RADIOLINE,\n    icon: markRaw(RadiolineIcon),\n    title: \"Radioline\",\n    color: \"#1678bd\"\n}, {\n    name: SharePlatformName.TUNE_IN,\n    icon: markRaw(TuninIcon),\n    title: \"TuneIn\",\n    color: \"#36b4a7\"\n}, {\n    name: SharePlatformName.YOUTUBE,\n    icon: markRaw(YoutubeIcon),\n    title: \"YouTube Music\",\n    color: \"#fe0000\",\n}, {\n    name: SharePlatformName.CASTBOX,\n    icon: markRaw(CastboxIcon),\n    title: \"Castbox\",\n    color: \"#fe6222\",\n}, {\n    name: SharePlatformName.PODBEAN,\n    icon: markRaw(PodbeanIcon),\n    title: \"PodBean\",\n    color: \"#428200\",\n}, {\n    name: SharePlatformName.PODCAST_REPUBLIC,\n    icon: markRaw(PodcastRepublicIcon),\n    title: \"Podcast Republic\",\n    color: \"#5c85dd\",\n}];\n\nexport const useSharePlatforms = () => {\n\n    const platforms = ref<Array<SharePlatform>>([]);\n\n    const { addNotification } = useNotificationStore();\n\n    async function initPlatforms(organisationId: string): Promise<void> {\n        // (Re)initialize the platforms\n        platforms.value = [...PREDEFINED_PLATFORMS];\n\n        try {\n            const customPlatforms = await aggregatorsApi.getAllNoAuth(organisationId);\n            customPlatforms.forEach(platform => {\n                platforms.value.push({\n                    name: platform.name,\n                    title: platform.name,\n                    icon: markRaw((props, { attrs }) => h(ClassicAvatar, {\n                        ...attrs,\n                        ...props,\n                        name: platform.name,\n                        imageUrl: platform.image\n                    })),\n                    color: \"white\",\n                    annotation: `ptfaudio_${platform.name}`\n                });\n            });\n        } catch(error) {\n            addNotification({\n                type: 'error',\n                message: error\n            });\n        }\n    }\n    \n    /**\n     * Helper to retrieve configuration of a specific platform\n     * @param platform The ID of the platform\n     * @return The configuration found\n     */\n    function getPlatformConfiguration(platform: SharePlatformName): SharePlatform|undefined {\n        return platforms.value.find(p => p.name === platform);\n    }\n\n    /**\n     * Get platforms with their associated links.\n     * A platform with no link will not be included\n     * @param annotations The annotations of the element for which to get the\n                          platforms links\n     */\n    function getPlatformsWithLinks(annotations: Annotations|undefined): Array<SharePlatformUrl> {\n        const ary: Array<SharePlatformUrl> = [];\n        platforms.value.forEach(p => {\n            const url = getUrl(p.annotation ?? p.name, annotations);\n            if (url) {\n                ary.push({\n                    ...p,\n                    url\n                });\n            }\n        })\n        return ary;\n    }\n\n    function getUrl(sub: string, annotations: Annotations|undefined): string | undefined {\n        return externaliseLinks(annotations?.[sub] as string | undefined);\n    }\n\n    function externaliseLinks(link?: string): string | undefined {\n        if (!link) {\n            return link;\n        }\n        link = link.trim();\n        return !link.startsWith(\"http\") && !link.startsWith(\"//\")\n            ? \"//\" + link\n            : link;\n    }\n\n    return {\n        initPlatforms,\n        getPlatformsWithLinks,\n        getPlatformConfiguration,\n        platforms\n    }\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBCCE,mBAQO,QAAA;EAPJ,eAAW,CAAG,OAAA;EACf,OAAM;EACL,OAAO,OAAA;mBAEX,mBAES,OAAA;EAFH,MAAM,OAAA;EAAY,OAAO,OAAA;EAAO,QAAQ,OAAA;EAAM,SAAQ;EAAY,MAAK;EAAM,OAAM;mCACpF,mBAAwvC,QAAA,EAAlvC,GAAE,+uCAA8uC,GAAA,MAAA,EAAA,CAAA,EAAA,GAAA,GAAA,YAAA,EAAA,GAAA,GAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBENxvC,mBAmDO,QAAA;EAlDF,eAAW,CAAG,OAAA;EACf,OAAM;EACL,OAAO,OAAA;mBAER,mBA6CM,OAAA;EA7CD,SAAQ;EAAM,OAAM;EACvB,OAAO,OAAA;EAAO,QAAQ,OAAA;EAAM,SAAQ;EACrC,qBAAoB;KAEjB,mBAwCI,KAAA;EAvCA,WAAU;EACT,MAAM,OAAA;EACP,QAAO;;EAEP,mBAgCoB,QAAA,EAhCd,GAAE,q3FAgCU,GAAA,MAAA,EAAA;EAClB,mBAAiF,QAAA,EAA3E,GAAE,wEAAuE,GAAA,MAAA,EAAA;EAC/E,mBAAyE,QAAA,EAAnE,GAAE,gEA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