{"version":3,"sources":["frames lazy /^/.//.*/.png$/ groupOptions: {} namespace object","hashtags lazy /^/.//.*/.png$/ groupOptions: {} namespace object","locales lazy /^/.//.*/.ftl$/ groupOptions: {} namespace object","FrameChooser.js","Localized.js","HashtagChooser.js","Editor.js","VoltLogoPurple.svg","purpleBG.png","empty_1x1.png","l10n.js","App.js","reportWebVitals.js","index.js"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports","FrameChooser","onChange","useState","frames","setFrames","choosenFrame","setChoosenFrame","useEffect","a","all","frame_filename","name","src","new_frames","default","loadFrames","handleImageChoosing","useCallback","event","target","dataset","className","frame","frame_src_path","isChoosen","data-src","onClick","alt","Localized","props","elems","br","Fragment","children","withLocalization","Inner","l10n","React","useContext","FluentContext","createElement","getString","args","fallback","clamp","value","min","max","Math","Editor","backgroundURL","backgroundRatio","frameURL","hashtagURL","editorRef","useRef","backgroundImageRef","hammer_got_init","set_hammer_got_init","hammertime","set_hammertime","hamster","set_hamster","x","set_x","y","set_y","add_x","set_add_x","add_y","set_add_y","scale","set_scale","photoWidth","setPhotoWidth","photoHeight","setPhotoHeight","editorWidth","setEditorWidth","editorHeight","setEditorHeight","rangeMinX","set_rangeMinX","rangeMinY","set_rangeMinY","rangeMaxX","set_rangeMaxX","rangeMaxY","set_rangeMaxY","current","new_editorWidth","offsetWidth","new_editorHeight","offsetHeight","new_photoWidth","new_photoHeight","imageWidth","imageHeight","imageScale","containerWidth","containerHeight","updateRange","handleMove","prev_x","prev_y","new_x","deltaX","new_y","deltaY","isFinal","handleScale","delta","preventDefault","new_scale","element","addEventListener","Hammer","direction","Hamster","on","wheel","off","unwheel","ref","data-x","data-y","data-scale","style","width","height","transform","locales","de","en","es","pt","fr","it","nl","pl","ru","_supportedLocales_","fetchMessages","locale","path","fetch","response","text","messages","FluentResource","createMessagesGenerator","currentLocales","fetched","reduce","obj","cur","assign","generateBundles","bundle","FluentBundle","addResource","f","AppLocalizationProvider","userLocales","onLocaleChange","ReactLocalization","getDefaultBundles","bundles","setBundles","negotiateLanguages","defaultLocale","loadBundles","frameSize","AppLocalized","setFrameURL","setHashtagURL","originalPhoto","setOriginalPhoto","originalPhotoRation","setOriginalPhotoRation","orientation","set_orientation","set_width","set_height","cords","setCords","handleFrameURL","newFrameURL","handleHashtagURL","newHashtagURL","handleCordsChange","handleReadFile","file","reader","FileReader","onload","reader_event","img","Image","callback","view","DataView","result","getUint16","length","byteLength","offset","marker","getUint32","little","tags","i","readAsArrayBuffer","slice","getOrientation","new_orientation","original_ration","readAsDataURL","handleImage","files_event","files","onDrop","acceptedFiles","handleDownload","canvas","document","ctx","getContext","alpha","translate","rotate","PI","width_scaled","height_scaled","drawImage","pngUrl","toDataURL","mergeImages","purpleBG","b64","data","body","appendChild","download","href","click","remove","trigger_download","useDropzone","accept","maxFiles","noKeyboard","isDragActive","getRootProps","VoltLogoPurple","tabIndex","outline","type","display","empty_1x1","navigator","languages","setUserLocales","currentLocale","setCurrentLocale","handleLanguageChange","handleCurrentLocalesChange","entries","data-locale","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","render","StrictMode","getElementById"],"mappings":"qJAAA,IAAIA,EAAM,CACT,8BAA+B,CAC9B,GACA,IAED,+BAAgC,CAC/B,GACA,IAED,gCAAiC,CAChC,GACA,IAED,gCAAiC,CAChC,GACA,IAED,4BAA6B,CAC5B,GACA,IAED,8BAA+B,CAC9B,GACA,IAED,8BAA+B,CAC9B,GACA,IAED,gCAAiC,CAChC,GACA,IAED,iCAAkC,CACjC,GACA,KAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,KAIR,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OA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J,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,OCFdO,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,EAAD,MAEFtD,SAASuD,eAAe,SAM1BX,M","file":"static/js/main.ec1c408d.chunk.js","sourcesContent":["var map = {\n\t\"./ProfileFrame B_G Bars.png\": [\n\t\t49,\n\t\t13\n\t],\n\t\"./ProfileFrame Blue Bars.png\": [\n\t\t50,\n\t\t14\n\t],\n\t\"./ProfileFrame Green Bars.png\": [\n\t\t51,\n\t\t15\n\t],\n\t\"./ProfileFrame Mixed Bars.png\": [\n\t\t52,\n\t\t16\n\t],\n\t\"./ProfileFrame Purple.png\": [\n\t\t53,\n\t\t17\n\t],\n\t\"./ProfileFrame R_Y Bars.png\": [\n\t\t54,\n\t\t18\n\t],\n\t\"./ProfileFrame Red Bars.png\": [\n\t\t55,\n\t\t19\n\t],\n\t\"./ProfileFrame White Bars.png\": [\n\t\t56,\n\t\t20\n\t],\n\t\"./ProfileFrame Yellow Bars.png\": [\n\t\t57,\n\t\t21\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 41;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./#DeineWahl.png\": [\n\t\t58,\n\t\t22\n\t],\n\t\"./#EUReform.png\": [\n\t\t59,\n\t\t23\n\t],\n\t\"./#Europa.png\": [\n\t\t60,\n\t\t24\n\t],\n\t\"./#EuropeCares.png\": [\n\t\t61,\n\t\t25\n\t],\n\t\"./#European.png\": [\n\t\t62,\n\t\t26\n\t],\n\t\"./#FutureMadeInEurope.png\": [\n\t\t63,\n\t\t27\n\t],\n\t\"./#IkStemVolt.png\": [\n\t\t64,\n\t\t28\n\t],\n\t\"./#JetztBistDuDran.png\": [\n\t\t65,\n\t\t29\n\t],\n\t\"./#JoinTheChange.png\": [\n\t\t66,\n\t\t30\n\t],\n\t\"./#RejoinEU.png\": [\n\t\t67,\n\t\t31\n\t],\n\t\"./#ValuesOverPower.png\": [\n\t\t68,\n\t\t32\n\t],\n\t\"./#Volt.png\": [\n\t\t69,\n\t\t33\n\t],\n\t\"./#Volt21.png\": [\n\t\t70,\n\t\t34\n\t],\n\t\"./#VoltEuropa.png\": [\n\t\t71,\n\t\t35\n\t],\n\t\"./#VoltRLP.png\": [\n\t\t72,\n\t\t36\n\t],\n\t\"./#VoteVolt.png\": [\n\t\t73,\n\t\t37\n\t],\n\t\"./#ZukunftMadeInEurope.png\": [\n\t\t74,\n\t\t38\n\t],\n\t\"./#democracy.png\": [\n\t\t75,\n\t\t39\n\t],\n\t\"./#paneuropäisch.png\": [\n\t\t76,\n\t\t40\n\t],\n\t\"./#pragmatisch.png\": [\n\t\t77,\n\t\t41\n\t],\n\t\"./#progressiv.png\": [\n\t\t78,\n\t\t42\n\t],\n\t\"./stemvolt.nl.png\": [\n\t\t79,\n\t\t43\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 42;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./de.ftl\": [\n\t\t80,\n\t\t3\n\t],\n\t\"./en.ftl\": [\n\t\t81,\n\t\t4\n\t],\n\t\"./es.ftl\": [\n\t\t82,\n\t\t5\n\t],\n\t\"./fr.ftl\": [\n\t\t83,\n\t\t6\n\t],\n\t\"./it.ftl\": [\n\t\t84,\n\t\t7\n\t],\n\t\"./nl.ftl\": [\n\t\t85,\n\t\t8\n\t],\n\t\"./pl.ftl\": [\n\t\t86,\n\t\t9\n\t],\n\t\"./pt.ftl\": [\n\t\t87,\n\t\t10\n\t],\n\t\"./ru.ftl\": [\n\t\t88,\n\t\t11\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 47;\nmodule.exports = webpackAsyncContext;","import { useState, useEffect, useCallback } from 'react'\n\nfunction FrameChooser({onChange}) {\n const [frames, setFrames] = useState([])\n const [choosenFrame, setChoosenFrame] = useState(null)\n\n useEffect(() => {\n async function loadFrames(){\n Promise.all(\n [\n 'ProfileFrame Purple',\n 'ProfileFrame Mixed Bars',\n 'ProfileFrame Yellow Bars',\n 'ProfileFrame Red Bars',\n 'ProfileFrame Blue Bars',\n 'ProfileFrame Green Bars',\n // 'ProfileFrame White Bars',\n // 'ProfileFrame B_G Bars',\n // 'ProfileFrame R_Y Bars',\n ]\n .map(async frame_filename => {\n return {\n name: frame_filename,\n src: await import(`./frames/${frame_filename}.png`),\n }\n })\n )\n .then(new_frames => {\n setFrames(new_frames)\n setChoosenFrame(new_frames[0].src.default)\n })\n }\n loadFrames()\n }, [])\n\n const handleImageChoosing = useCallback(event => {\n setChoosenFrame(event.target.dataset.src)\n }, [setChoosenFrame])\n\n useEffect(() => {\n onChange(choosenFrame)\n }, [onChange, choosenFrame])\n\n return (\n
Your can reposition the image and scale it. Use pinch-to-zoom or scroll to scale.
\n */}\n\n