platformicons
Advanced tools
Comparing version 6.0.2 to 6.0.3
@@ -1,2 +0,2 @@ | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var e={amazon:"amazon",amd:"amd",android:"android","android-phone":"android-phone","android-tablet":"android-tablet",anthropic:"anthropic",apple:"apple","apple-ipad":"apple-ipad","apple-iphone":"apple-iphone","apple-tv":"apple-tv","apple-watch":"apple-watch",arm:"arm",bun:"bun",capacitor:"capacitor",chrome:"chrome",chromium:"chromium",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cohere:"cohere",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",crystal:"crystal",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",dotnetframework:"dotnetframework",edge:"edge","edge-legacy":"edge-legacy",electron:"electron",elixir:"elixir",firefox:"firefox",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-fiber":"fiber","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",huggingface:"huggingface","internet-explorer":"internet-explorer",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-alpinejs":"alpinejs","javascript-analogjs":"analogjs","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-astro":"astro","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-hono":"hono","javascript-hydrogen":"hydrogen","javascript-ionic":"ionic","javascript-lit":"lit","javascript-meteor":"meteor","javascript-million":"million","javascript-nextjs":"nextjs","javascript-nuxt":"nuxt","javascript-opennext":"opennext","javascript-qwik":"qwik","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-solidstart":"solidstart","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm","javascript-node":"nodejs","javascript-awslambda":"awslambda","javascript-azurefunctions":"azure-functions","javascript-connect":"connect","javascript-express":"express","javascript-fastify":"fastify","javascript-gcpfunctions":"gcp-functions","javascript-hapi":"hapi","javascript-koa":"koa","javascript-nestjs":"nestjs","javascript-serverlesscloud":"serverless",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",langchain:"langchain",linux:"linux",mono:"mono",motorola:"motorola",native:"nativec","native-qt":"qt",nintendo:"nintendo","nintendo-switch":"nintendo-switch",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-fastify":"fastify","node-gcpfunctions":"gcp-functions","node-hapi":"hapi","node-koa":"koa","node-nestjs":"nestjs","node-serverlesscloud":"serverless",nvidia:"nvidia",openai:"openai",opera:"opera",perl:"perl",php:"php",playstation:"playstation",powershell:"powershell","php-laravel":"laravel","php-livewire":"livewire","php-magento":"magento","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qq:"qq",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-activeadmin":"activeadmin","ruby-grape":"grape","ruby-hanami":"hanami","ruby-padrino":"padrino","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra","ruby-trailblazer":"trailblazer",rust:"rust","rust-actix":"actix",safari:"safari",samsung:"samsung",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",tauri:"tauri",ubuntu:"ubuntu",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function n(a){return a.replace(".","-")}function r(a){var t=n(a);return e[t]||(t.includes("-")?o(t):"default")}function o(a){return r(n(a).split("-")[0])}var i=function(e){var n,i,s=e.platform,p=e.size,c=void 0===p?20:p,l=e.format,d=void 0===l?"sm":l,u=e.radius,h=void 0===u?3:u,v=e.withLanguageIcon,g=e.languageIconStyles,y=void 0===g?{}:g,f=e.style,m=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=r(s),w=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=o(s),q=require("../svg/"+k+".svg"),z=null!=(i=null==q?void 0:q.default)?i:q;return v&&k!==b&&"default"!==k?a.createElement("div",Object.assign({},j,{style:t({position:"relative"},m)}),a.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),a.createElement("img",{src:z,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):a.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:t({borderRadius:h+"px"},m)}))};function s(a){var t,n=(a?[a]:["lg","sm"]).map(function(a){return Object.values(e).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,n.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}var p=Object.keys(e);export{i as PlatformIcon,p as platforms,s as preloadIcons}; | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var e={amazon:"amazon",amd:"amd",android:"android","android-phone":"android-phone","android-tablet":"android-tablet",anthropic:"anthropic",apple:"apple","apple-ipad":"apple-ipad","apple-iphone":"apple-iphone","apple-tv":"apple-tv","apple-watch":"apple-watch",arm:"arm",bun:"bun",capacitor:"capacitor",chrome:"chrome",chromium:"chromium",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cohere:"cohere",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",crystal:"crystal",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",dotnetframework:"dotnetframework",edge:"edge","edge-legacy":"edge-legacy",electron:"electron",elixir:"elixir",firefox:"firefox",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-fiber":"fiber","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",huggingface:"huggingface","internet-explorer":"internet-explorer",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-ray":"ray","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-alpinejs":"alpinejs","javascript-analogjs":"analogjs","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-astro":"astro","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-hono":"hono","javascript-hydrogen":"hydrogen","javascript-ionic":"ionic","javascript-lit":"lit","javascript-meteor":"meteor","javascript-million":"million","javascript-nextjs":"nextjs","javascript-nuxt":"nuxt","javascript-opennext":"opennext","javascript-qwik":"qwik","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-solidstart":"solidstart","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm","javascript-node":"nodejs","javascript-awslambda":"awslambda","javascript-azurefunctions":"azure-functions","javascript-connect":"connect","javascript-express":"express","javascript-fastify":"fastify","javascript-gcpfunctions":"gcp-functions","javascript-hapi":"hapi","javascript-koa":"koa","javascript-nestjs":"nestjs","javascript-serverlesscloud":"serverless",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",langchain:"langchain",linux:"linux",mono:"mono",motorola:"motorola",native:"nativec","native-qt":"qt",nintendo:"nintendo","nintendo-switch":"nintendo-switch",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-fastify":"fastify","node-gcpfunctions":"gcp-functions","node-hapi":"hapi","node-koa":"koa","node-nestjs":"nestjs","node-serverlesscloud":"serverless",nvidia:"nvidia",openai:"openai",opera:"opera",perl:"perl",php:"php",playstation:"playstation",powershell:"powershell","php-laravel":"laravel","php-livewire":"livewire","php-magento":"magento","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-dramatiq":"dramatiq","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-litestar":"litestar","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-ray":"ray","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qq:"qq",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-activeadmin":"activeadmin","ruby-grape":"grape","ruby-hanami":"hanami","ruby-padrino":"padrino","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra","ruby-trailblazer":"trailblazer",rust:"rust","rust-actix":"actix",safari:"safari",samsung:"samsung",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",tauri:"tauri",ubuntu:"ubuntu",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function n(a){return a.replace(".","-")}function r(a){var t=n(a);return e[t]||(t.includes("-")?o(t):"default")}function o(a){return r(n(a).split("-")[0])}var i=function(e){var n,i,s=e.platform,p=e.size,c=void 0===p?20:p,l=e.format,d=void 0===l?"sm":l,u=e.radius,h=void 0===u?3:u,v=e.withLanguageIcon,g=e.languageIconStyles,y=void 0===g?{}:g,f=e.style,m=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=r(s),w=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,q=o(s),k=require("../svg/"+q+".svg"),z=null!=(i=null==k?void 0:k.default)?i:k;return v&&q!==b&&"default"!==q?a.createElement("div",Object.assign({},j,{style:t({position:"relative"},m)}),a.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),a.createElement("img",{src:z,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):a.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:t({borderRadius:h+"px"},m)}))};function s(a){var t,n=(a?[a]:["lg","sm"]).map(function(a){return Object.values(e).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,n.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}var p=Object.keys(e);export{i as PlatformIcon,p as platforms,s as preloadIcons}; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -1,2 +0,2 @@ | ||
var a,t=(a=require("react"))&&"object"==typeof a&&"default"in a?a.default:a;function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var n={amazon:"amazon",amd:"amd",android:"android","android-phone":"android-phone","android-tablet":"android-tablet",anthropic:"anthropic",apple:"apple","apple-ipad":"apple-ipad","apple-iphone":"apple-iphone","apple-tv":"apple-tv","apple-watch":"apple-watch",arm:"arm",bun:"bun",capacitor:"capacitor",chrome:"chrome",chromium:"chromium",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cohere:"cohere",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",crystal:"crystal",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",dotnetframework:"dotnetframework",edge:"edge","edge-legacy":"edge-legacy",electron:"electron",elixir:"elixir",firefox:"firefox",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-fiber":"fiber","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",huggingface:"huggingface","internet-explorer":"internet-explorer",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-alpinejs":"alpinejs","javascript-analogjs":"analogjs","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-astro":"astro","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-hono":"hono","javascript-hydrogen":"hydrogen","javascript-ionic":"ionic","javascript-lit":"lit","javascript-meteor":"meteor","javascript-million":"million","javascript-nextjs":"nextjs","javascript-nuxt":"nuxt","javascript-opennext":"opennext","javascript-qwik":"qwik","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-solidstart":"solidstart","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm","javascript-node":"nodejs","javascript-awslambda":"awslambda","javascript-azurefunctions":"azure-functions","javascript-connect":"connect","javascript-express":"express","javascript-fastify":"fastify","javascript-gcpfunctions":"gcp-functions","javascript-hapi":"hapi","javascript-koa":"koa","javascript-nestjs":"nestjs","javascript-serverlesscloud":"serverless",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",langchain:"langchain",linux:"linux",mono:"mono",motorola:"motorola",native:"nativec","native-qt":"qt",nintendo:"nintendo","nintendo-switch":"nintendo-switch",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-fastify":"fastify","node-gcpfunctions":"gcp-functions","node-hapi":"hapi","node-koa":"koa","node-nestjs":"nestjs","node-serverlesscloud":"serverless",nvidia:"nvidia",openai:"openai",opera:"opera",perl:"perl",php:"php",playstation:"playstation",powershell:"powershell","php-laravel":"laravel","php-livewire":"livewire","php-magento":"magento","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qq:"qq",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-activeadmin":"activeadmin","ruby-grape":"grape","ruby-hanami":"hanami","ruby-padrino":"padrino","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra","ruby-trailblazer":"trailblazer",rust:"rust","rust-actix":"actix",safari:"safari",samsung:"samsung",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",tauri:"tauri",ubuntu:"ubuntu",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return o(r(a).split("-")[0])}var s=Object.keys(n);exports.PlatformIcon=function(a){var n,r,s=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,d=void 0===l?"sm":l,u=a.radius,h=void 0===u?3:u,v=a.withLanguageIcon,g=a.languageIconStyles,y=void 0===g?{}:g,f=a.style,m=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=o(s),w=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=i(s),q=require("../svg/"+k+".svg"),z=null!=(r=null==q?void 0:q.default)?r:q;return v&&k!==b&&"default"!==k?t.createElement("div",Object.assign({},j,{style:e({position:"relative"},m)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:z,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):t.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:e({borderRadius:h+"px"},m)}))},exports.platforms=s,exports.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}; | ||
var a,t=(a=require("react"))&&"object"==typeof a&&"default"in a?a.default:a;function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}var n={amazon:"amazon",amd:"amd",android:"android","android-phone":"android-phone","android-tablet":"android-tablet",anthropic:"anthropic",apple:"apple","apple-ipad":"apple-ipad","apple-iphone":"apple-iphone","apple-tv":"apple-tv","apple-watch":"apple-watch",arm:"arm",bun:"bun",capacitor:"capacitor",chrome:"chrome",chromium:"chromium",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cohere:"cohere",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",crystal:"crystal",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",dotnetframework:"dotnetframework",edge:"edge","edge-legacy":"edge-legacy",electron:"electron",elixir:"elixir",firefox:"firefox",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-fiber":"fiber","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",huggingface:"huggingface","internet-explorer":"internet-explorer",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-ray":"ray","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-alpinejs":"alpinejs","javascript-analogjs":"analogjs","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-astro":"astro","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-hono":"hono","javascript-hydrogen":"hydrogen","javascript-ionic":"ionic","javascript-lit":"lit","javascript-meteor":"meteor","javascript-million":"million","javascript-nextjs":"nextjs","javascript-nuxt":"nuxt","javascript-opennext":"opennext","javascript-qwik":"qwik","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-solidstart":"solidstart","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm","javascript-node":"nodejs","javascript-awslambda":"awslambda","javascript-azurefunctions":"azure-functions","javascript-connect":"connect","javascript-express":"express","javascript-fastify":"fastify","javascript-gcpfunctions":"gcp-functions","javascript-hapi":"hapi","javascript-koa":"koa","javascript-nestjs":"nestjs","javascript-serverlesscloud":"serverless",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",langchain:"langchain",linux:"linux",mono:"mono",motorola:"motorola",native:"nativec","native-qt":"qt",nintendo:"nintendo","nintendo-switch":"nintendo-switch",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-fastify":"fastify","node-gcpfunctions":"gcp-functions","node-hapi":"hapi","node-koa":"koa","node-nestjs":"nestjs","node-serverlesscloud":"serverless",nvidia:"nvidia",openai:"openai",opera:"opera",perl:"perl",php:"php",playstation:"playstation",powershell:"powershell","php-laravel":"laravel","php-livewire":"livewire","php-magento":"magento","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-dramatiq":"dramatiq","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-litestar":"litestar","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-ray":"ray","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qq:"qq",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-activeadmin":"activeadmin","ruby-grape":"grape","ruby-hanami":"hanami","ruby-padrino":"padrino","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra","ruby-trailblazer":"trailblazer",rust:"rust","rust-actix":"actix",safari:"safari",samsung:"samsung",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",tauri:"tauri",ubuntu:"ubuntu",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return o(r(a).split("-")[0])}var s=Object.keys(n);exports.PlatformIcon=function(a){var n,r,s=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,d=void 0===l?"sm":l,u=a.radius,h=void 0===u?3:u,v=a.withLanguageIcon,g=a.languageIconStyles,y=void 0===g?{}:g,f=a.style,m=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=o(s),w=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,q=i(s),k=require("../svg/"+q+".svg"),z=null!=(r=null==k?void 0:k.default)?r:k;return v&&q!==b&&"default"!==q?t.createElement("div",Object.assign({},j,{style:e({position:"relative"},m)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:z,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):t.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:e({borderRadius:h+"px"},m)}))},exports.platforms=s,exports.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}const e={amazon:"amazon",amd:"amd",android:"android","android-phone":"android-phone","android-tablet":"android-tablet",anthropic:"anthropic",apple:"apple","apple-ipad":"apple-ipad","apple-iphone":"apple-iphone","apple-tv":"apple-tv","apple-watch":"apple-watch",arm:"arm",bun:"bun",capacitor:"capacitor",chrome:"chrome",chromium:"chromium",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cohere:"cohere",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",crystal:"crystal",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",dotnetframework:"dotnetframework",edge:"edge","edge-legacy":"edge-legacy",electron:"electron",elixir:"elixir",firefox:"firefox",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-fiber":"fiber","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",huggingface:"huggingface","internet-explorer":"internet-explorer",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-alpinejs":"alpinejs","javascript-analogjs":"analogjs","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-astro":"astro","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-hono":"hono","javascript-hydrogen":"hydrogen","javascript-ionic":"ionic","javascript-lit":"lit","javascript-meteor":"meteor","javascript-million":"million","javascript-nextjs":"nextjs","javascript-nuxt":"nuxt","javascript-opennext":"opennext","javascript-qwik":"qwik","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-solidstart":"solidstart","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm","javascript-node":"nodejs","javascript-awslambda":"awslambda","javascript-azurefunctions":"azure-functions","javascript-connect":"connect","javascript-express":"express","javascript-fastify":"fastify","javascript-gcpfunctions":"gcp-functions","javascript-hapi":"hapi","javascript-koa":"koa","javascript-nestjs":"nestjs","javascript-serverlesscloud":"serverless",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",langchain:"langchain",linux:"linux",mono:"mono",motorola:"motorola",native:"nativec","native-qt":"qt",nintendo:"nintendo","nintendo-switch":"nintendo-switch",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-fastify":"fastify","node-gcpfunctions":"gcp-functions","node-hapi":"hapi","node-koa":"koa","node-nestjs":"nestjs","node-serverlesscloud":"serverless",nvidia:"nvidia",openai:"openai",opera:"opera",perl:"perl",php:"php",playstation:"playstation",powershell:"powershell","php-laravel":"laravel","php-livewire":"livewire","php-magento":"magento","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qq:"qq",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-activeadmin":"activeadmin","ruby-grape":"grape","ruby-hanami":"hanami","ruby-padrino":"padrino","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra","ruby-trailblazer":"trailblazer",rust:"rust","rust-actix":"actix",safari:"safari",samsung:"samsung",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",tauri:"tauri",ubuntu:"ubuntu",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function n(a){return a.replace(".","-")}function o(a){const t=n(a);return e[t]||(t.includes("-")?r(t):"default")}function r(a){const[t]=n(a).split("-");return o(t)}const i=e=>{var n,i;let{platform:s,size:p=20,format:c="sm",radius:l=3,withLanguageIcon:d,languageIconStyles:u={},style:h={}}=e,g=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const v=o(s),y=require(`../${"lg"===c?"svg_80x80":"svg"}/${v}.svg`),m=null!=(n=null==y?void 0:y.default)?n:y,f=r(s),j=require(`../svg/${f}.svg`),b=null!=(i=null==j?void 0:j.default)?i:j;return d&&f!==v&&"default"!==f?a.createElement("div",Object.assign({},g,{style:t({position:"relative"},h)}),a.createElement("img",{src:m,width:p,height:p,style:{borderRadius:l+"px"}}),a.createElement("img",{src:b,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},u)})):a.createElement("img",Object.assign({src:m,width:p,height:p},g,{style:t({borderRadius:l+"px"},h)}))};function s(a){var t;const n=(a?[a]:["lg","sm"]).map(a=>Object.values(e).map(t=>require(`../${"lg"===a?"svg_80x80":"svg"}/${t}.svg`))).flat();null==(t=document.querySelector("head"))||t.append(...n.map(a=>{const t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}const p=Object.keys(e);export{i as PlatformIcon,p as platforms,s as preloadIcons}; | ||
import a from"react";function t(){return(t=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}const e={amazon:"amazon",amd:"amd",android:"android","android-phone":"android-phone","android-tablet":"android-tablet",anthropic:"anthropic",apple:"apple","apple-ipad":"apple-ipad","apple-iphone":"apple-iphone","apple-tv":"apple-tv","apple-watch":"apple-watch",arm:"arm",bun:"bun",capacitor:"capacitor",chrome:"chrome",chromium:"chromium",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cohere:"cohere",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",crystal:"crystal",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",dotnetframework:"dotnetframework",edge:"edge","edge-legacy":"edge-legacy",electron:"electron",elixir:"elixir",firefox:"firefox",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-fiber":"fiber","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",huggingface:"huggingface","internet-explorer":"internet-explorer",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-ray":"ray","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-alpinejs":"alpinejs","javascript-analogjs":"analogjs","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-astro":"astro","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-hono":"hono","javascript-hydrogen":"hydrogen","javascript-ionic":"ionic","javascript-lit":"lit","javascript-meteor":"meteor","javascript-million":"million","javascript-nextjs":"nextjs","javascript-nuxt":"nuxt","javascript-opennext":"opennext","javascript-qwik":"qwik","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-solidstart":"solidstart","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm","javascript-node":"nodejs","javascript-awslambda":"awslambda","javascript-azurefunctions":"azure-functions","javascript-connect":"connect","javascript-express":"express","javascript-fastify":"fastify","javascript-gcpfunctions":"gcp-functions","javascript-hapi":"hapi","javascript-koa":"koa","javascript-nestjs":"nestjs","javascript-serverlesscloud":"serverless",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",langchain:"langchain",linux:"linux",mono:"mono",motorola:"motorola",native:"nativec","native-qt":"qt",nintendo:"nintendo","nintendo-switch":"nintendo-switch",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-fastify":"fastify","node-gcpfunctions":"gcp-functions","node-hapi":"hapi","node-koa":"koa","node-nestjs":"nestjs","node-serverlesscloud":"serverless",nvidia:"nvidia",openai:"openai",opera:"opera",perl:"perl",php:"php",playstation:"playstation",powershell:"powershell","php-laravel":"laravel","php-livewire":"livewire","php-magento":"magento","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-dramatiq":"dramatiq","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-litestar":"litestar","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-ray":"ray","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qq:"qq",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-activeadmin":"activeadmin","ruby-grape":"grape","ruby-hanami":"hanami","ruby-padrino":"padrino","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra","ruby-trailblazer":"trailblazer",rust:"rust","rust-actix":"actix",safari:"safari",samsung:"samsung",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",tauri:"tauri",ubuntu:"ubuntu",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function n(a){return a.replace(".","-")}function r(a){const t=n(a);return e[t]||(t.includes("-")?o(t):"default")}function o(a){const[t]=n(a).split("-");return r(t)}const i=e=>{var n,i;let{platform:s,size:p=20,format:c="sm",radius:l=3,withLanguageIcon:d,languageIconStyles:u={},style:h={}}=e,g=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(e,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]);const y=r(s),v=require(`../${"lg"===c?"svg_80x80":"svg"}/${y}.svg`),m=null!=(n=null==v?void 0:v.default)?n:v,f=o(s),j=require(`../svg/${f}.svg`),b=null!=(i=null==j?void 0:j.default)?i:j;return d&&f!==y&&"default"!==f?a.createElement("div",Object.assign({},g,{style:t({position:"relative"},h)}),a.createElement("img",{src:m,width:p,height:p,style:{borderRadius:l+"px"}}),a.createElement("img",{src:b,style:t({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},u)})):a.createElement("img",Object.assign({src:m,width:p,height:p},g,{style:t({borderRadius:l+"px"},h)}))};function s(a){var t;const n=(a?[a]:["lg","sm"]).map(a=>Object.values(e).map(t=>require(`../${"lg"===a?"svg_80x80":"svg"}/${t}.svg`))).flat();null==(t=document.querySelector("head"))||t.append(...n.map(a=>{const t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}const p=Object.keys(e);export{i as PlatformIcon,p as platforms,s as preloadIcons}; | ||
//# sourceMappingURL=index.modern.js.map |
@@ -1,2 +0,2 @@ | ||
!function(a,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((a=a||self).platformicons={},a.react)}(this,function(a,t){function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n={amazon:"amazon",amd:"amd",android:"android","android-phone":"android-phone","android-tablet":"android-tablet",anthropic:"anthropic",apple:"apple","apple-ipad":"apple-ipad","apple-iphone":"apple-iphone","apple-tv":"apple-tv","apple-watch":"apple-watch",arm:"arm",bun:"bun",capacitor:"capacitor",chrome:"chrome",chromium:"chromium",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cohere:"cohere",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",crystal:"crystal",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",dotnetframework:"dotnetframework",edge:"edge","edge-legacy":"edge-legacy",electron:"electron",elixir:"elixir",firefox:"firefox",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-fiber":"fiber","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",huggingface:"huggingface","internet-explorer":"internet-explorer",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-alpinejs":"alpinejs","javascript-analogjs":"analogjs","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-astro":"astro","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-hono":"hono","javascript-hydrogen":"hydrogen","javascript-ionic":"ionic","javascript-lit":"lit","javascript-meteor":"meteor","javascript-million":"million","javascript-nextjs":"nextjs","javascript-nuxt":"nuxt","javascript-opennext":"opennext","javascript-qwik":"qwik","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-solidstart":"solidstart","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm","javascript-node":"nodejs","javascript-awslambda":"awslambda","javascript-azurefunctions":"azure-functions","javascript-connect":"connect","javascript-express":"express","javascript-fastify":"fastify","javascript-gcpfunctions":"gcp-functions","javascript-hapi":"hapi","javascript-koa":"koa","javascript-nestjs":"nestjs","javascript-serverlesscloud":"serverless",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",langchain:"langchain",linux:"linux",mono:"mono",motorola:"motorola",native:"nativec","native-qt":"qt",nintendo:"nintendo","nintendo-switch":"nintendo-switch",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-fastify":"fastify","node-gcpfunctions":"gcp-functions","node-hapi":"hapi","node-koa":"koa","node-nestjs":"nestjs","node-serverlesscloud":"serverless",nvidia:"nvidia",openai:"openai",opera:"opera",perl:"perl",php:"php",playstation:"playstation",powershell:"powershell","php-laravel":"laravel","php-livewire":"livewire","php-magento":"magento","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qq:"qq",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-activeadmin":"activeadmin","ruby-grape":"grape","ruby-hanami":"hanami","ruby-padrino":"padrino","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra","ruby-trailblazer":"trailblazer",rust:"rust","rust-actix":"actix",safari:"safari",samsung:"samsung",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",tauri:"tauri",ubuntu:"ubuntu",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function o(a){return a.replace(".","-")}function r(a){var t=o(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return r(o(a).split("-")[0])}var s=Object.keys(n);a.PlatformIcon=function(a){var n,o,s=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,d=void 0===l?"sm":l,u=a.radius,h=void 0===u?3:u,v=a.withLanguageIcon,g=a.languageIconStyles,y=void 0===g?{}:g,f=a.style,m=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,o={},r=Object.keys(a);for(n=0;n<r.length;n++)t.indexOf(e=r[n])>=0||(o[e]=a[e]);return o}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=r(s),w=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,k=i(s),q=require("../svg/"+k+".svg"),z=null!=(o=null==q?void 0:q.default)?o:q;return v&&k!==b&&"default"!==k?t.createElement("div",Object.assign({},j,{style:e({position:"relative"},m)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:z,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},y)})):t.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:e({borderRadius:h+"px"},m)}))},a.platforms=s,a.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}}); | ||
!function(a,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((a=a||self).platformicons={},a.react)}(this,function(a,t){function e(){return(e=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n={amazon:"amazon",amd:"amd",android:"android","android-phone":"android-phone","android-tablet":"android-tablet",anthropic:"anthropic",apple:"apple","apple-ipad":"apple-ipad","apple-iphone":"apple-iphone","apple-tv":"apple-tv","apple-watch":"apple-watch",arm:"arm",bun:"bun",capacitor:"capacitor",chrome:"chrome",chromium:"chromium",clojure:"clojure",cocoa:"apple","cocoa-objc":"apple","cocoa-swift":"swift",cohere:"cohere",cordova:"cordova",cloudflare:"cloudflare",cpp:"cpp",cryengine:"cryengine",crystal:"crystal",css:"css",csharp:"csharp","csharp-aspnetcore":"csharp",dart:"dart",default:"default",deno:"deno",dotnet:"dotnet","dotnet-aspnetcore":"dotnet","dotnet-aspnet":"dotnet","dotnet-awslambda":"awslambda","dotnet-blazor":"blazor","dotnet-csharp":"csharp","dotnet-gcpfunctions":"gcp-functions","dotnet-maui":"maui","dotnet-uno":"uno","dotnet-xamarin":"xamarin",dotnetcore:"dotnetcore",dotnetfx:"dotnetfx",dotnetframework:"dotnetframework",edge:"edge","edge-legacy":"edge-legacy",electron:"electron",elixir:"elixir",firefox:"firefox",flutter:"flutter",font:"font",fsharp:"fsharp",git:"git",go:"go","go-echo":"echo","go-fasthttp":"fasthttp","go-fiber":"fiber","go-gin":"gin","go-iris":"iris","go-martini":"martini","go-negroni":"go",godot:"godot",huggingface:"huggingface","internet-explorer":"internet-explorer",java:"java","java-appengine":"app-engine","java-android":"android","java-log4j":"java","java-log4j2":"java","java-logback":"logback","java-logging":"java","java-ray":"ray","java-spring":"spring","java-spring-boot":"springboot",javascript:"javascript","javascript-alpinejs":"alpinejs","javascript-analogjs":"analogjs","javascript-angular":"angularjs","javascript-angularjs":"angularjs","javascript-astro":"astro","javascript-backbone":"backbone","javascript-browser":"javascript","javascript-capacitor":"capacitor","javascript-cordova":"cordova","javascript-electron":"electron","javascript-ember":"ember","javascript-gatsby":"gatsby","javascript-hono":"hono","javascript-hydrogen":"hydrogen","javascript-ionic":"ionic","javascript-lit":"lit","javascript-meteor":"meteor","javascript-million":"million","javascript-nextjs":"nextjs","javascript-nuxt":"nuxt","javascript-opennext":"opennext","javascript-qwik":"qwik","javascript-react":"react","javascript-remix":"remix","javascript-solid":"solid","javascript-solidstart":"solidstart","javascript-svelte":"svelte","javascript-sveltekit":"svelte","javascript-vue":"vue","javascript-wasm":"wasm","javascript-node":"nodejs","javascript-awslambda":"awslambda","javascript-azurefunctions":"azure-functions","javascript-connect":"connect","javascript-express":"express","javascript-fastify":"fastify","javascript-gcpfunctions":"gcp-functions","javascript-hapi":"hapi","javascript-koa":"koa","javascript-nestjs":"nestjs","javascript-serverlesscloud":"serverless",ionic:"ionic",kotlin:"kotlin","kotlin-android":"android",langchain:"langchain",linux:"linux",mono:"mono",motorola:"motorola",native:"nativec","native-qt":"qt",nintendo:"nintendo","nintendo-switch":"nintendo-switch",node:"nodejs","node-awslambda":"awslambda","node-azurefunctions":"azure-functions","node-connect":"connect","node-express":"express","node-fastify":"fastify","node-gcpfunctions":"gcp-functions","node-hapi":"hapi","node-koa":"koa","node-nestjs":"nestjs","node-serverlesscloud":"serverless",nvidia:"nvidia",openai:"openai",opera:"opera",perl:"perl",php:"php",playstation:"playstation",powershell:"powershell","php-laravel":"laravel","php-livewire":"livewire","php-magento":"magento","php-monolog":"php","php-symfony2":"symfony","php-symfony":"symfony",python:"python","python-aiohttp":"aiohttp","python-airflow":"apache-airflow","python-ariadne":"ariadne","python-asyncpg":"postgresql","python-awslambda":"awslambda","python-azurefunctions":"azure-functions","python-beam":"apache-beam","python-boto3":"aws","python-bottle":"bottle","python-celery":"celery","python-chalice":"chalice","python-clickhouse-driver":"clickhouse","python-django":"django","python-dramatiq":"dramatiq","python-falcon":"falcon","python-fastapi":"fastapi","python-flask":"flask","python-gcpfunctions":"gcp-functions","python-gnu_backtrace":"gnu","python-gql":"graphql","python-graphene":"graphene","python-grpc":"grpc","python-httpx":"httpx","python-huey":"huey","python-litestar":"litestar","python-loguru":"loguru","python-pylons":"python","python-pymongo":"mongodb","python-pyramid":"pyramid","python-pythonawslambda":"awslambda","python-quart":"quart","python-ray":"ray","python-redis":"redis","python-rq":"redis","python-sanic":"sanic","python-serverless":"serverless","python-starlette":"starlette","python-strawberry":"strawberry","python-spark":"apache-spark","python-sqlalchemy":"sqlalchemy","python-tornado":"tornado","python-tryton":"tryton",qq:"qq",qt:"qt","react-native":"react-native",ruby:"ruby","ruby-activeadmin":"activeadmin","ruby-grape":"grape","ruby-hanami":"hanami","ruby-padrino":"padrino","ruby-rack":"ruby","ruby-rails":"rails","ruby-sidekiq":"sidekiq","ruby-sinatra":"sinatra","ruby-trailblazer":"trailblazer",rust:"rust","rust-actix":"actix",safari:"safari",samsung:"samsung",scala:"scala",stride3d:"stride3d",sql:"sql",sqlserver:"sqlserver",swift:"swift",tauri:"tauri",ubuntu:"ubuntu",unity:"unity",ue4:"unreal",unreal:"unreal",unrealengine:"unreal",visualbasic:"visual-basic",vscode:"vscode",windows:"windows"};function r(a){return a.replace(".","-")}function o(a){var t=r(a);return n[t]||(t.includes("-")?i(t):"default")}function i(a){return o(r(a).split("-")[0])}var s=Object.keys(n);a.PlatformIcon=function(a){var n,r,s=a.platform,p=a.size,c=void 0===p?20:p,l=a.format,d=void 0===l?"sm":l,u=a.radius,h=void 0===u?3:u,v=a.withLanguageIcon,y=a.languageIconStyles,g=void 0===y?{}:y,f=a.style,m=void 0===f?{}:f,j=function(a,t){if(null==a)return{};var e,n,r={},o=Object.keys(a);for(n=0;n<o.length;n++)t.indexOf(e=o[n])>=0||(r[e]=a[e]);return r}(a,["platform","size","format","radius","withLanguageIcon","languageIconStyles","style"]),b=o(s),w=require("../"+("lg"===d?"svg_80x80":"svg")+"/"+b+".svg"),x=null!=(n=null==w?void 0:w.default)?n:w,q=i(s),k=require("../svg/"+q+".svg"),z=null!=(r=null==k?void 0:k.default)?r:k;return v&&q!==b&&"default"!==q?t.createElement("div",Object.assign({},j,{style:e({position:"relative"},m)}),t.createElement("img",{src:x,width:c,height:c,style:{borderRadius:h+"px"}}),t.createElement("img",{src:z,style:e({position:"absolute",bottom:"-1px",right:"-1px",height:"30%",width:"30%",borderRadius:"2px"},g)})):t.createElement("img",Object.assign({src:x,width:c,height:c},j,{style:e({borderRadius:h+"px"},m)}))},a.platforms=s,a.preloadIcons=function(a){var t,e=(a?[a]:["lg","sm"]).map(function(a){return Object.values(n).map(function(t){return require("../"+("lg"===a?"svg_80x80":"svg")+"/"+t+".svg")})}).flat();null==(t=document.querySelector("head"))||t.append.apply(t,e.map(function(a){var t=document.createElement("link");return t.rel="preload",t.as="image",t.href=a,t}))}}); | ||
//# sourceMappingURL=index.umd.js.map |
@@ -75,2 +75,3 @@ import React from "react"; | ||
readonly "java-logging": "java"; | ||
readonly "java-ray": "ray"; | ||
readonly "java-spring": "spring"; | ||
@@ -169,2 +170,3 @@ readonly "java-spring-boot": "springboot"; | ||
readonly "python-django": "django"; | ||
readonly "python-dramatiq": "dramatiq"; | ||
readonly "python-falcon": "falcon"; | ||
@@ -180,2 +182,3 @@ readonly "python-fastapi": "fastapi"; | ||
readonly "python-huey": "huey"; | ||
readonly "python-litestar": "litestar"; | ||
readonly "python-loguru": "loguru"; | ||
@@ -187,2 +190,3 @@ readonly "python-pylons": "python"; | ||
readonly "python-quart": "quart"; | ||
readonly "python-ray": "ray"; | ||
readonly "python-redis": "redis"; | ||
@@ -189,0 +193,0 @@ readonly "python-rq": "redis"; |
{ | ||
"name": "platformicons", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"description": "Web Platform and Framework Logo Set", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
914868
387
366