This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@/styles/react-intl.css" | |
import React, { useState, ReactElement } from "react"; | |
import { createRoot } from "react-dom/client"; | |
import IntlTelInput from "../src/intl-tel-input/react"; | |
import utilsScriptURL from "intl-tel-input/build/js/utils"; | |
const errorMap = [ | |
"Invalid number", | |
"Invalid country code", | |
"Too short", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"mimeType": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"", | |
"qualityLabel": "360p", | |
"bitrate": 447587, | |
"audioBitrate": 96, | |
"itag": 18, | |
"url": "https://rr4---sn-qxaelnes.googlevideo.com/videoplayback?expire=1712789895&ei=J8UWZrDFM4Gr3LUPzvu7IA&ip=122.177.98.86&id=o-AJVEMCQmh6rLbBsZYohC9yXbRirzMY1teTnMY6f54gId&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=8k&mm=31%2C29&mn=sn-qxaelnes%2Csn-ci5gup-qxae7&ms=au%2Crdu&mv=m&mvi=4&pl=21&initcwndbps=1243750&bui=AaUN6a3EHkQIsxPqJv7c781ZrmkPrcaGD5Soj_oWW3S0rbZq3-9BcBd0xm94Vq6_Kis2472oMR72yTf0&spc=UWF9fxROmUgEM1a8p7bD19Ek3QWWf3GVN6DCoIlGvBXlpZulS8ieByXfrA&vprv=1&svpuc=1&mime=video%2Fmp4&ns=g-nM1eGw8ymvGwMawR4r-ioQ&gir=yes&clen=83387712&ratebypass=yes&dur=1490.512&lmt=1712764016533205&mt=1712767977&fvip=8&c=WEB&sefc=1&txp=3309224&n=NYOYmPVUb5WzQA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRQIgYUso35uIuI5Lg3KGrL9YgwlXV_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)); | |
}); | |
function slugify(input) { | |
if (!input) | |
return ''; | |
// make lower case and trim | |
var slug = input.toLowerCase().trim(); |
OlderNewer