/** * jquery.mask.js * @version: v1.14.16 * @author: Igor Escobar * * Created by Igor Escobar on 2012-03-10. Please report any bug at github.com/igorescobar/jQuery-Mask-Plugin * * Copyright (c) 2012 Igor Escobar http://igorescobar.com * * The MIT License (http://www.opensource.org/licenses/mit-license.php) * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following * conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ /* jshint laxbreak: true */ /* jshint maxcomplexity:17 */ /* global define */ // UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere. // https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js (function (factory, jQuery, Zepto) { if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else if (typeof exports === 'object' && typeof Meteor === 'undefined') { module.exports = factory(require('jquery')); } else { factory(jQuery || Zepto); } }(function ($) { 'use strict'; var Mask = function (el, mask, options) { var p = { invalid: [], getCaret: function () { try { var sel, pos = 0, ctrl = el.get(0), dSel = document.selection, cSelStart = ctrl.selectionStart; // IE Support if (dSel && navigator.appVersion.indexOf('MSIE 10') === -1) { sel = dSel.createRange(); sel.moveStart('character', -p.val().length); pos = sel.text.length; } // Firefox support else if (cSelStart || cSelStart === '0') { pos = cSelStart; } return pos; } catch (e) {} }, setCaret: function(pos) { try { if (el.is(':focus')) { var range, ctrl = el.get(0); // Firefox, WebKit, etc.. if (ctrl.setSelectionRange) { ctrl.setSelectionRange(pos, pos); } else { // IE range = ctrl.createTextRange(); range.collapse(true); range.moveEnd('character', pos); range.moveStart('character', pos); range.select(); } } } catch (e) {} }, events: function() { el .on('keydown.mask', function(e) { el.data('mask-keycode', e.keyCode || e.which); el.data('mask-previus-value', el.val()); el.data('mask-previus-caret-pos', p.getCaret()); p.maskDigitPosMapOld = p.maskDigitPosMap; }) .on($.jMaskGlobals.useInput ? 'input.mask' : 'keyup.mask', p.behaviour) .on('paste.mask drop.mask', function() { setTimeout(function() { el.keydown().keyup(); }, 100); }) .on('change.mask', function(){ el.data('changed', true); }) .on('blur.mask', function(){ if (oldValue !== p.val() && !el.data('changed')) { el.trigger('change'); } el.data('changed', false); }) // it's very important that this callback remains in this position // otherwhise oldValue it's going to work buggy .on('blur.mask', function() { oldValue = p.val(); }) // select all text on focus .on('focus.mask', function (e) { if (options.selectOnFocus === true) { $(e.target).select(); } }) // clear the value if it not complete the mask .on('focusout.mask', function() { if (options.clearIfNotMatch && !regexMask.test(p.val())) { p.val(''); } }); }, getRegexMask: function() { var maskChunks = [], translation, pattern, optional, recursive, oRecursive, r; for (var i = 0; i < mask.length; i++) { translation = jMask.translation[mask.charAt(i)]; if (translation) { pattern = translation.pattern.toString().replace(/.{1}$|^.{1}/g, ''); optional = translation.optional; recursive = translation.recursive; if (recursive) { maskChunks.push(mask.charAt(i)); oRecursive = {digit: mask.charAt(i), pattern: pattern}; } else { maskChunks.push(!optional && !recursive ? pattern : (pattern + '?')); } } else { maskChunks.push(mask.charAt(i).replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&')); } } r = maskChunks.join(''); if (oRecursive) { r = r.replace(new RegExp('(' + oRecursive.digit + '(.*' + oRecursive.digit + ')?)'), '($1)?') .replace(new RegExp(oRecursive.digit, 'g'), oRecursive.pattern); } return new RegExp(r); }, destroyEvents: function() { el.off(['input', 'keydown', 'keyup', 'paste', 'drop', 'blur', 'focusout', ''].join('.mask ')); }, val: function(v) { var isInput = el.is('input'), method = isInput ? 'val' : 'text', r; if (arguments.length > 0) { if (el[method]() !== v) { el[method](v); } r = el; } else { r = el[method](); } return r; }, calculateCaretPosition: function(oldVal) { var newVal = p.getMasked(), caretPosNew = p.getCaret(); if (oldVal !== newVal) { var caretPosOld = el.data('mask-previus-caret-pos') || 0, newValL = newVal.length, oldValL = oldVal.length, maskDigitsBeforeCaret = 0, maskDigitsAfterCaret = 0, maskDigitsBeforeCaretAll = 0, maskDigitsBeforeCaretAllOld = 0, i = 0; for (i = caretPosNew; i < newValL; i++) { if (!p.maskDigitPosMap[i]) { break; } maskDigitsAfterCaret++; } for (i = caretPosNew - 1; i >= 0; i--) { if (!p.maskDigitPosMap[i]) { break; } maskDigitsBeforeCaret++; } for (i = caretPosNew - 1; i >= 0; i--) { if (p.maskDigitPosMap[i]) { maskDigitsBeforeCaretAll++; } } for (i = caretPosOld - 1; i >= 0; i--) { if (p.maskDigitPosMapOld[i]) { maskDigitsBeforeCaretAllOld++; } } // if the cursor is at the end keep it there if (caretPosNew > oldValL) { caretPosNew = newValL * 10; } else if (caretPosOld >= caretPosNew && caretPosOld !== oldValL) { if (!p.maskDigitPosMapOld[caretPosNew]) { var caretPos = caretPosNew; caretPosNew -= maskDigitsBeforeCaretAllOld - maskDigitsBeforeCaretAll; caretPosNew -= maskDigitsBeforeCaret; if (p.maskDigitPosMap[caretPosNew]) { caretPosNew = caretPos; } } } else if (caretPosNew > caretPosOld) { caretPosNew += maskDigitsBeforeCaretAll - maskDigitsBeforeCaretAllOld; caretPosNew += maskDigitsAfterCaret; } } return caretPosNew; }, behaviour: function(e) { e = e || window.event; p.invalid = []; var keyCode = el.data('mask-keycode'); if ($.inArray(keyCode, jMask.byPassKeys) === -1) { var newVal = p.getMasked(), caretPos = p.getCaret(), oldVal = el.data('mask-previus-value') || ''; // this is a compensation to devices/browsers that don't compensate // caret positioning the right way setTimeout(function() { p.setCaret(p.calculateCaretPosition(oldVal)); }, $.jMaskGlobals.keyStrokeCompensation); p.val(newVal); p.setCaret(caretPos); return p.callbacks(e); } }, getMasked: function(skipMaskChars, val) { var buf = [], value = val === undefined ? p.val() : val + '', m = 0, maskLen = mask.length, v = 0, valLen = value.length, offset = 1, addMethod = 'push', resetPos = -1, maskDigitCount = 0, maskDigitPosArr = [], lastMaskChar, check; if (options.reverse) { addMethod = 'unshift'; offset = -1; lastMaskChar = 0; m = maskLen - 1; v = valLen - 1; check = function () { return m > -1 && v > -1; }; } else { lastMaskChar = maskLen - 1; check = function () { return m < maskLen && v < valLen; }; } var lastUntranslatedMaskChar; while (check()) { var maskDigit = mask.charAt(m), valDigit = value.charAt(v), translation = jMask.translation[maskDigit]; if (translation) { if (valDigit.match(translation.pattern)) { buf[addMethod](valDigit); if (translation.recursive) { if (resetPos === -1) { resetPos = m; } else if (m === lastMaskChar && m !== resetPos) { m = resetPos - offset; } if (lastMaskChar === resetPos) { m -= offset; } } m += offset; } else if (valDigit === lastUntranslatedMaskChar) { // matched the last untranslated (raw) mask character that we encountered // likely an insert offset the mask character from the last entry; fall // through and only increment v maskDigitCount--; lastUntranslatedMaskChar = undefined; } else if (translation.optional) { m += offset; v -= offset; } else if (translation.fallback) { buf[addMethod](translation.fallback); m += offset; v -= offset; } else { p.invalid.push({p: v, v: valDigit, e: translation.pattern}); } v += offset; } else { if (!skipMaskChars) { buf[addMethod](maskDigit); } if (valDigit === maskDigit) { maskDigitPosArr.push(v); v += offset; } else { lastUntranslatedMaskChar = maskDigit; maskDigitPosArr.push(v + maskDigitCount); maskDigitCount++; } m += offset; } } var lastMaskCharDigit = mask.charAt(lastMaskChar); if (maskLen === valLen + 1 && !jMask.translation[lastMaskCharDigit]) { buf.push(lastMaskCharDigit); } var newVal = buf.join(''); p.mapMaskdigitPositions(newVal, maskDigitPosArr, valLen); return newVal; }, mapMaskdigitPositions: function(newVal, maskDigitPosArr, valLen) { var maskDiff = options.reverse ? newVal.length - valLen : 0; p.maskDigitPosMap = {}; for (var i = 0; i < maskDigitPosArr.length; i++) { p.maskDigitPosMap[maskDigitPosArr[i] + maskDiff] = 1; } }, callbacks: function (e) { var val = p.val(), changed = val !== oldValue, defaultArgs = [val, e, el, options], callback = function(name, criteria, args) { if (typeof options[name] === 'function' && criteria) { options[name].apply(this, args); } }; callback('onChange', changed === true, defaultArgs); callback('onKeyPress', changed === true, defaultArgs); callback('onComplete', val.length === mask.length, defaultArgs); callback('onInvalid', p.invalid.length > 0, [val, e, el, p.invalid, options]); } }; el = $(el); var jMask = this, oldValue = p.val(), regexMask; mask = typeof mask === 'function' ? mask(p.val(), undefined, el, options) : mask; // public methods jMask.mask = mask; jMask.options = options; jMask.remove = function() { var caret = p.getCaret(); if (jMask.options.placeholder) { el.removeAttr('placeholder'); } if (el.data('mask-maxlength')) { el.removeAttr('maxlength'); } p.destroyEvents(); p.val(jMask.getCleanVal()); p.setCaret(caret); return el; }; // get value without mask jMask.getCleanVal = function() { return p.getMasked(true); }; // get masked value without the value being in the input or element jMask.getMaskedVal = function(val) { return p.getMasked(false, val); }; jMask.init = function(onlyMask) { onlyMask = onlyMask || false; options = options || {}; jMask.clearIfNotMatch = $.jMaskGlobals.clearIfNotMatch; jMask.byPassKeys = $.jMaskGlobals.byPassKeys; jMask.translation = $.extend({}, $.jMaskGlobals.translation, options.translation); jMask = $.extend(true, {}, jMask, options); regexMask = p.getRegexMask(); if (onlyMask) { p.events(); p.val(p.getMasked()); } else { if (options.placeholder) { el.attr('placeholder' , options.placeholder); } // this is necessary, otherwise if the user submit the form // and then press the "back" button, the autocomplete will erase // the data. Works fine on IE9+, FF, Opera, Safari. if (el.data('mask')) { el.attr('autocomplete', 'off'); } // detect if is necessary let the user type freely. // for is a lot faster than forEach. for (var i = 0, maxlength = true; i < mask.length; i++) { var translation = jMask.translation[mask.charAt(i)]; if (translation && translation.recursive) { maxlength = false; break; } } if (maxlength) { el.attr('maxlength', mask.length).data('mask-maxlength', true); } p.destroyEvents(); p.events(); var caret = p.getCaret(); p.val(p.getMasked()); p.setCaret(caret); } }; jMask.init(!el.is('input')); }; $.maskWatchers = {}; var HTMLAttributes = function () { var input = $(this), options = {}, prefix = 'data-mask-', mask = input.attr('data-mask'); if (input.attr(prefix + 'reverse')) { options.reverse = true; } if (input.attr(prefix + 'clearifnotmatch')) { options.clearIfNotMatch = true; } if (input.attr(prefix + 'selectonfocus') === 'true') { options.selectOnFocus = true; } if (notSameMaskObject(input, mask, options)) { return input.data('mask', new Mask(this, mask, options)); } }, notSameMaskObject = function(field, mask, options) { options = options || {}; var maskObject = $(field).data('mask'), stringify = JSON.stringify, value = $(field).val() || $(field).text(); try { if (typeof mask === 'function') { mask = mask(value); } return typeof maskObject !== 'object' || stringify(maskObject.options) !== stringify(options) || maskObject.mask !== mask; } catch (e) {} }, eventSupported = function(eventName) { var el = document.createElement('div'), isSupported; eventName = 'on' + eventName; isSupported = (eventName in el); if ( !isSupported ) { el.setAttribute(eventName, 'return;'); isSupported = typeof el[eventName] === 'function'; } el = null; return isSupported; }; $.fn.mask = function(mask, options) { options = options || {}; var selector = this.selector, globals = $.jMaskGlobals, interval = globals.watchInterval, watchInputs = options.watchInputs || globals.watchInputs, maskFunction = function() { if (notSameMaskObject(this, mask, options)) { return $(this).data('mask', new Mask(this, mask, options)); } }; $(this).each(maskFunction); if (selector && selector !== '' && watchInputs) { clearInterval($.maskWatchers[selector]); $.maskWatchers[selector] = setInterval(function(){ $(document).find(selector).each(maskFunction); }, interval); } return this; }; $.fn.masked = function(val) { return this.data('mask').getMaskedVal(val); }; $.fn.unmask = function() { clearInterval($.maskWatchers[this.selector]); delete $.maskWatchers[this.selector]; return this.each(function() { var dataMask = $(this).data('mask'); if (dataMask) { dataMask.remove().removeData('mask'); } }); }; $.fn.cleanVal = function() { return this.data('mask').getCleanVal(); }; $.applyDataMask = function(selector) { selector = selector || $.jMaskGlobals.maskElements; var $selector = (selector instanceof $) ? selector : $(selector); $selector.filter($.jMaskGlobals.dataMaskAttr).each(HTMLAttributes); }; var globals = { maskElements: 'input,td,span,div', dataMaskAttr: '*[data-mask]', dataMask: true, watchInterval: 300, watchInputs: true, keyStrokeCompensation: 10, // old versions of chrome dont work great with input event useInput: !/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent) && eventSupported('input'), watchDataMask: false, byPassKeys: [9, 16, 17, 18, 36, 37, 38, 39, 40, 91], translation: { '0': {pattern: /\d/}, '9': {pattern: /\d/, optional: true}, '#': {pattern: /\d/, recursive: true}, 'A': {pattern: /[a-zA-Z0-9]/}, 'S': {pattern: /[a-zA-Z]/} } }; $.jMaskGlobals = $.jMaskGlobals || {}; globals = $.jMaskGlobals = $.extend(true, {}, globals, $.jMaskGlobals); // looking for inputs with data-mask attribute if (globals.dataMask) { $.applyDataMask(); } setInterval(function() { if ($.jMaskGlobals.watchDataMask) { $.applyDataMask(); } }, globals.watchInterval); }, window.jQuery, window.Zepto)); /** * Fetch * https://github.com/github/fetch * * Released under the MIT License (MIT) * https://github.com/github/fetch/blob/master/LICENSE */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.WHATWGFetch = {}))); }(this, (function (exports) { 'use strict'; var support = { searchParams: 'URLSearchParams' in self, iterable: 'Symbol' in self && 'iterator' in Symbol, blob: 'FileReader' in self && 'Blob' in self && (function() { try { new Blob(); return true } catch (e) { return false } })(), formData: 'FormData' in self, arrayBuffer: 'ArrayBuffer' in self }; function isDataView(obj) { return obj && DataView.prototype.isPrototypeOf(obj) } if (support.arrayBuffer) { var viewClasses = [ '[object Int8Array]', '[object Uint8Array]', '[object Uint8ClampedArray]', '[object Int16Array]', '[object Uint16Array]', '[object Int32Array]', '[object Uint32Array]', '[object Float32Array]', '[object Float64Array]' ]; var isArrayBufferView = ArrayBuffer.isView || function(obj) { return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1 }; } function normalizeName(name) { if (typeof name !== 'string') { name = String(name); } if (/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name)) { throw new TypeError('Invalid character in header field name') } return name.toLowerCase() } function normalizeValue(value) { if (typeof value !== 'string') { value = String(value); } return value } // Build a destructive iterator for the value list function iteratorFor(items) { var iterator = { next: function() { var value = items.shift(); return {done: value === undefined, value: value} } }; if (support.iterable) { iterator[Symbol.iterator] = function() { return iterator }; } return iterator } function Headers(headers) { this.map = {}; if (headers instanceof Headers) { headers.forEach(function(value, name) { this.append(name, value); }, this); } else if (Array.isArray(headers)) { headers.forEach(function(header) { this.append(header[0], header[1]); }, this); } else if (headers) { Object.getOwnPropertyNames(headers).forEach(function(name) { this.append(name, headers[name]); }, this); } } Headers.prototype.append = function(name, value) { name = normalizeName(name); value = normalizeValue(value); var oldValue = this.map[name]; this.map[name] = oldValue ? oldValue + ', ' + value : value; }; Headers.prototype['delete'] = function(name) { delete this.map[normalizeName(name)]; }; Headers.prototype.get = function(name) { name = normalizeName(name); return this.has(name) ? this.map[name] : null }; Headers.prototype.has = function(name) { return this.map.hasOwnProperty(normalizeName(name)) }; Headers.prototype.set = function(name, value) { this.map[normalizeName(name)] = normalizeValue(value); }; Headers.prototype.forEach = function(callback, thisArg) { for (var name in this.map) { if (this.map.hasOwnProperty(name)) { callback.call(thisArg, this.map[name], name, this); } } }; Headers.prototype.keys = function() { var items = []; this.forEach(function(value, name) { items.push(name); }); return iteratorFor(items) }; Headers.prototype.values = function() { var items = []; this.forEach(function(value) { items.push(value); }); return iteratorFor(items) }; Headers.prototype.entries = function() { var items = []; this.forEach(function(value, name) { items.push([name, value]); }); return iteratorFor(items) }; if (support.iterable) { Headers.prototype[Symbol.iterator] = Headers.prototype.entries; } function consumed(body) { if (body.bodyUsed) { return Promise.reject(new TypeError('Already read')) } body.bodyUsed = true; } function fileReaderReady(reader) { return new Promise(function(resolve, reject) { reader.onload = function() { resolve(reader.result); }; reader.onerror = function() { reject(reader.error); }; }) } function readBlobAsArrayBuffer(blob) { var reader = new FileReader(); var promise = fileReaderReady(reader); reader.readAsArrayBuffer(blob); return promise } function readBlobAsText(blob) { var reader = new FileReader(); var promise = fileReaderReady(reader); reader.readAsText(blob); return promise } function readArrayBufferAsText(buf) { var view = new Uint8Array(buf); var chars = new Array(view.length); for (var i = 0; i < view.length; i++) { chars[i] = String.fromCharCode(view[i]); } return chars.join('') } function bufferClone(buf) { if (buf.slice) { return buf.slice(0) } else { var view = new Uint8Array(buf.byteLength); view.set(new Uint8Array(buf)); return view.buffer } } function Body() { this.bodyUsed = false; this._initBody = function(body) { this._bodyInit = body; if (!body) { this._bodyText = ''; } else if (typeof body === 'string') { this._bodyText = body; } else if (support.blob && Blob.prototype.isPrototypeOf(body)) { this._bodyBlob = body; } else if (support.formData && FormData.prototype.isPrototypeOf(body)) { this._bodyFormData = body; } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { this._bodyText = body.toString(); } else if (support.arrayBuffer && support.blob && isDataView(body)) { this._bodyArrayBuffer = bufferClone(body.buffer); // IE 10-11 can't handle a DataView body. this._bodyInit = new Blob([this._bodyArrayBuffer]); } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) { this._bodyArrayBuffer = bufferClone(body); } else { this._bodyText = body = Object.prototype.toString.call(body); } if (!this.headers.get('content-type')) { if (typeof body === 'string') { this.headers.set('content-type', 'text/plain;charset=UTF-8'); } else if (this._bodyBlob && this._bodyBlob.type) { this.headers.set('content-type', this._bodyBlob.type); } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); } } }; if (support.blob) { this.blob = function() { var rejected = consumed(this); if (rejected) { return rejected } if (this._bodyBlob) { return Promise.resolve(this._bodyBlob) } else if (this._bodyArrayBuffer) { return Promise.resolve(new Blob([this._bodyArrayBuffer])) } else if (this._bodyFormData) { throw new Error('could not read FormData body as blob') } else { return Promise.resolve(new Blob([this._bodyText])) } }; this.arrayBuffer = function() { if (this._bodyArrayBuffer) { return consumed(this) || Promise.resolve(this._bodyArrayBuffer) } else { return this.blob().then(readBlobAsArrayBuffer) } }; } this.text = function() { var rejected = consumed(this); if (rejected) { return rejected } if (this._bodyBlob) { return readBlobAsText(this._bodyBlob) } else if (this._bodyArrayBuffer) { return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer)) } else if (this._bodyFormData) { throw new Error('could not read FormData body as text') } else { return Promise.resolve(this._bodyText) } }; if (support.formData) { this.formData = function() { return this.text().then(decode) }; } this.json = function() { return this.text().then(JSON.parse) }; return this } // HTTP methods whose capitalization should be normalized var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']; function normalizeMethod(method) { var upcased = method.toUpperCase(); return methods.indexOf(upcased) > -1 ? upcased : method } function Request(input, options) { options = options || {}; var body = options.body; if (input instanceof Request) { if (input.bodyUsed) { throw new TypeError('Already read') } this.url = input.url; this.credentials = input.credentials; if (!options.headers) { this.headers = new Headers(input.headers); } this.method = input.method; this.mode = input.mode; this.signal = input.signal; if (!body && input._bodyInit != null) { body = input._bodyInit; input.bodyUsed = true; } } else { this.url = String(input); } this.credentials = options.credentials || this.credentials || 'same-origin'; if (options.headers || !this.headers) { this.headers = new Headers(options.headers); } this.method = normalizeMethod(options.method || this.method || 'GET'); this.mode = options.mode || this.mode || null; this.signal = options.signal || this.signal; this.referrer = null; if ((this.method === 'GET' || this.method === 'HEAD') && body) { throw new TypeError('Body not allowed for GET or HEAD requests') } this._initBody(body); } Request.prototype.clone = function() { return new Request(this, {body: this._bodyInit}) }; function decode(body) { var form = new FormData(); body .trim() .split('&') .forEach(function(bytes) { if (bytes) { var split = bytes.split('='); var name = split.shift().replace(/\+/g, ' '); var value = split.join('=').replace(/\+/g, ' '); form.append(decodeURIComponent(name), decodeURIComponent(value)); } }); return form } function parseHeaders(rawHeaders) { var headers = new Headers(); // Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space // https://tools.ietf.org/html/rfc7230#section-3.2 var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' '); preProcessedHeaders.split(/\r?\n/).forEach(function(line) { var parts = line.split(':'); var key = parts.shift().trim(); if (key) { var value = parts.join(':').trim(); headers.append(key, value); } }); return headers } Body.call(Request.prototype); function Response(bodyInit, options) { if (!options) { options = {}; } this.type = 'default'; this.status = options.status === undefined ? 200 : options.status; this.ok = this.status >= 200 && this.status < 300; this.statusText = 'statusText' in options ? options.statusText : 'OK'; this.headers = new Headers(options.headers); this.url = options.url || ''; this._initBody(bodyInit); } Body.call(Response.prototype); Response.prototype.clone = function() { return new Response(this._bodyInit, { status: this.status, statusText: this.statusText, headers: new Headers(this.headers), url: this.url }) }; Response.error = function() { var response = new Response(null, {status: 0, statusText: ''}); response.type = 'error'; return response }; var redirectStatuses = [301, 302, 303, 307, 308]; Response.redirect = function(url, status) { if (redirectStatuses.indexOf(status) === -1) { throw new RangeError('Invalid status code') } return new Response(null, {status: status, headers: {location: url}}) }; exports.DOMException = self.DOMException; try { new exports.DOMException(); } catch (err) { exports.DOMException = function(message, name) { this.message = message; this.name = name; var error = Error(message); this.stack = error.stack; }; exports.DOMException.prototype = Object.create(Error.prototype); exports.DOMException.prototype.constructor = exports.DOMException; } function fetch(input, init) { return new Promise(function(resolve, reject) { var request = new Request(input, init); if (request.signal && request.signal.aborted) { return reject(new exports.DOMException('Aborted', 'AbortError')) } var xhr = new XMLHttpRequest(); function abortXhr() { xhr.abort(); } xhr.onload = function() { var options = { status: xhr.status, statusText: xhr.statusText, headers: parseHeaders(xhr.getAllResponseHeaders() || '') }; options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL'); var body = 'response' in xhr ? xhr.response : xhr.responseText; resolve(new Response(body, options)); }; xhr.onerror = function() { reject(new TypeError('Network request failed')); }; xhr.ontimeout = function() { reject(new TypeError('Network request failed')); }; xhr.onabort = function() { reject(new exports.DOMException('Aborted', 'AbortError')); }; xhr.open(request.method, request.url, true); if (request.credentials === 'include') { xhr.withCredentials = true; } else if (request.credentials === 'omit') { xhr.withCredentials = false; } if ('responseType' in xhr && support.blob) { xhr.responseType = 'blob'; } request.headers.forEach(function(value, name) { xhr.setRequestHeader(name, value); }); if (request.signal) { request.signal.addEventListener('abort', abortXhr); xhr.onreadystatechange = function() { // DONE (success or failure) if (xhr.readyState === 4) { request.signal.removeEventListener('abort', abortXhr); } }; } xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit); }) } fetch.polyfill = true; if (!self.fetch) { self.fetch = fetch; self.Headers = Headers; self.Request = Request; self.Response = Response; } exports.Headers = Headers; exports.Request = Request; exports.Response = Response; exports.fetch = fetch; Object.defineProperty(exports, '__esModule', { value: true }); }))); ; /** * Note: This file may contain artifacts of previous malicious infection. * However, the dangerous code has been removed, and the file is now safe to use. */ ;; PikaShow APK Download Official Latest Version 2025 For Android -

PikaShow APK Download Official Latest Version 2025 For Android

PikaShow APK is a popular streaming application that provides users with access to a vast collection of movies, TV shows, live sports, and web series. Designed for Android devices, PikaShow offers a seamless and user-friendly experience, making it an excellent choice for entertainment lovers worldwide.

One of the key features of PikaShow Apk is its extensive library, which includes Hollywood, Bollywood, and regional content across various genres such as action, drama, comedy, thriller, and more. The app allows users to stream high-quality content without any subscription fees, making it an attractive alternative to paid streaming services.

PikaShow is also well-known for its live TV feature, enabling users to watch their favorite sports events, including cricket, football, and other major tournaments. The app supports multiple servers to ensure smooth streaming, even on slower internet connections. Moreover, PikaShow provides download options, allowing users to watch their favorite content offline at their convenience.

Another advantage of PikaShow is its compatibility with various devices, including Android smartphones, tablets, smart TVs, and even PCs with the help of emulators. The app regularly updates its content to ensure users never miss out on the latest releases and trending shows.

With its simple interface, high-quality streaming, and a vast content library, PikaShow APP has gained immense popularity among entertainment enthusiasts. However, as it is a third-party app, users should be cautious while downloading it from unverified sources to avoid security risks.

In conclusion, PikaShow APK is an excellent platform for those looking for free and diverse entertainment options. Whether it’s movies, TV shows, or live sports, this app ensures a smooth and enjoyable viewing experience for its users.

Features

Free Unlimited Streaming

PikaShow provides access to a vast collection of movies, TV shows, web series, and live TV channels without any subscription fees. Users can stream unlimited content without any hidden costs.

High-Quality Streaming (HD & 4K Support)

The app supports various streaming qualities, including 480p, 720p, 1080p, and even 4K resolution, ensuring an immersive viewing experience based on internet speed and device capability.

Huge Content Library

PikaShow Download offers a massive collection of Hollywood, Bollywood, and regional movies, along with the latest web series from popular platforms like Netflix, Amazon Prime, Disney+, Hotstar, and more.

Live TV Channels

One of the standout features of PikaShow is its ability to stream live TV channels, including news, entertainment, and sports channels, keeping users updated with the latest events and matches.

Live Sports Streaming

PikaShow is a favorite among sports enthusiasts, as it provides live streaming of cricket, football, tennis, and other major sporting events, including the IPL, FIFA, and World Cup tournaments.

Offline Downloading

Users can download movies and TV shows to watch later without an internet connection, making it convenient for travelers and those with limited data access.

No Subscription Required

Unlike paid streaming services, PikaShow Apk Download does not require any subscription or sign-up to access its content, making it completely hassle-free.

Multiple Device Compatibility

PikaShow APK is compatible with various devices, including Android smartphones, tablets, Firestick, Android TVs, and PCs (via emulators like BlueStacks or Nox Player).

Easy-to-Use Interface

The app features a clean, simple, and user-friendly interface, allowing users to easily navigate through different categories and find their favorite content quickly.

Fast & Buffer-Free Streaming

PikaShow uses advanced servers to ensure smooth, lag-free streaming, even on slower internet connections. The app also provides multiple server options to maintain uninterrupted playback.

Subtitle Support

For users who enjoy watching content in different languages, PikaShow offers built-in subtitles in multiple languages, enhancing the overall viewing experience.

Regular Updates with New Content

PikaShow continuously updates its movie and TV show database with the latest releases and trending content, ensuring users never miss out on new entertainment.

How To Download

  • Go to Settings > Security > Enable “Unknown Sources” on your Android device.
  • Visit a trusted website and download the latest PikaShow APK file.
  • Open your File Manager and navigate to the downloaded PikaShow APK file.
  • Tap on the APK file and click “Install” to begin the installation process.
  • The installation will take a few seconds to complete.
  • Once installed, tap “Open” to launch PikaShow.
  • Allow necessary permissions for smooth streaming.
  • Browse and start watching your favorite movies, TV shows, and live sports.

How to use

  • Launch PikaShow APK after installation.
  • Grant necessary storage and network access for smooth operation.
  • Browse through Movies, TV Shows, Live TV, and Sports sections.
  • Use the search bar to find specific movies or shows.
  • Choose from 480p, 720p, 1080p, or 4K streaming options.
  • Tap on a movie or show and click “Play” to start streaming.
  • Click the subtitle option if needed for better understanding.
  • Tap “Download” to save videos for offline viewing.
  • Go to the Live TV section to stream channels in real-time.
  • Modify theme, playback speed, and server options as needed.

Conclusion

PikaShow 2025 is a feature-rich streaming app that offers free access to a vast collection of movies, TV shows, live sports, and TV channels. With its high-quality streaming, offline download option, and user-friendly interface, it has become a popular choice for entertainment lovers. The app supports multiple devices and ensures a buffer-free experience, making it a great alternative to paid streaming services. However, as it is a third-party application, users should download it only from trusted sources to ensure security. Overall, PikaShow is an excellent option for those looking for diverse and cost-free entertainment.

FAQs

Is PikaShow APK free to use?

Yes, PikaShow is completely free and does not require any subscription or registration.

Can I watch live sports on PikaShow?

Yes, PikaShow offers live streaming of sports events, including cricket, football, and other major tournaments.

Is PikaShow APK safe to download?

Since PikaShow is a third-party app, it is recommended to download it from trusted sources to avoid security risks.

Does PikaShow support offline downloading?

Yes, you can download movies and TV shows to watch later without an internet connection.

https://www.blogger.com/profile/01057116653432593277

https://www.pinterest.com/pikashowapk27/

https://www.youtube.com/@PikashowApk-w8l

https://nl.pinterest.com/pikashowapk27/

https://ca.pinterest.com/pikashowapk27/

https://mx.pinterest.com/pikashowapk27/

https://uk.pinterest.com/pikashowapk27/

https://es.pinterest.com/pikashowapk27/

https://fr.pinterest.com/pikashowapk27/

https://de.pinterest.com/pikashowapk27/

https://www.behance.net/pikashowapk40

https://www.slideshare.net/pikashowapk27

https://disqus.com/by/disqus_fHHFRpLO4k/about/

https://issuu.com/pikashowapk27

https://www.coursera.org/user/421b936b6d1b984e88e2c49b79aab9be

https://pikashowapk27.livejournal.com/profile/

https://www.4shared.com/u/m4XDIkGr/pikashowapk27.html

https://www.mixcloud.com/pikashowapk27/

https://coub.com/5e7be848c56b4cd68600

https://www.zazzle.com/mbr/238357873432449162

https://slides.com/pikashowapk-8

https://www.tumblr.com/picashowsapk642/775548606717526016

https://www.producthunt.com/@pikashow_apk13

https://www.creativelive.com/student/pikashow-apk-463

https://www.credly.com/users/pikashow-apk.a108877b

https://pubhtml5.com/homepage/rzlmn/

https://public.tableau.com/app/profile/pikashow.apk8038/vizzes

https://app.roll20.net/users/15676984/pikashow-a

https://www.weddingbee.com/members/pikashowapk27/profile

https://www.cake.me/me/pikashow-apk-48f5bc

https://unsplash.com/@pikashowapk27

https://www.exchangle.com/pikashowapk27

https://www.ranker.com/writer/pikashow-apk_4

https://designaddict.com/community/profile/pikashowapk27/

https://www.inkitt.com/pikashowapk27

https://www.bitsdujour.com/profiles/IyHPnd

https://sketchfab.com/pikashowapk27

https://confengine.com/user/pikashow-apk-8

https://zerosuicidetraining.edc.org/user/profile.php?id=442189

https://www.demilked.com/author/pikashowapk15/

https://trello.com/u/pikashowapk19

https://peatix.com/user/25719938/view

https://www.atlasobscura.com/users/ce21ed9e-8b16-4ce9-817f-75d6755cf4d0

https://speakerdeck.com/pikashowapk27

https://substack.com/@pikashowapk42

https://www.bilibili.tv/en/space/1632867968

https://wakelet.com/@PikashowApk72427

https://my.archdaily.com/us/@pikashow-apk-21

https://hypothes.is/users/pikashowapk27

https://www.pearltrees.com/pikashowapk27/item693594670

https://www.multichain.com/qa/user/pikashowapk27

https://codexinh.com/user/pikashowapk27

https://profile.hatena.ne.jp/pikashowapk27/profile

https://play.eslgaming.com/player/20572871/

https://wellfound.com/u/pikashow-apk-15

https://www.kickstarter.com/profile/131831802/about

https://www.renderosity.com/users/id:1640830

https://linktr.ee/pikashowapk27

https://mez.ink/pikashowapk27

https://heylink.me/pikashowapk27

https://dreevoo.com/profile_info.php?pid=753015

https://www.giveawayoftheday.com/forums/profile/269368

https://myanimelist.net/profile/pikashowapk27

https://www.awwwards.com/pikashow-apk-6/

https://www.domestika.org/en/pikashowapk27

https://www.growkudos.com/profile/pikashow__apk_5

https://www.walkscore.com/people/974502273610/pikashow-apk

https://rapidapi.com/user/pikashowapk27

https://www.bikinipanda.com/profile/pikashowapk27/profile

https://gifyu.com/pikashowapk1234

https://www.dermandar.com/user/pikashowapk27/

https://vocal.media/authors/pika-show-apk-b42dx0o8r

https://bulios.com/@pikashowapk15

https://gettr.com/user/pikashowapk27

https://leetcode.com/u/pikashowapk27/

https://codelove.tw/@pikashowapk2744

https://os.mbed.com/users/pikashowapk27/

https://github.com/pikashowapk2744

https://migdal.jp/pikashow_apk_1fdb2bb80dcc

https://dev.to/pikashow_apk_1fdb2bb80dcc

https://www.goglides.dev/pikashow_apk_1fdb2bb80dcc

https://bigbrands-outlet.ro/pikashowapk27

https://www.snipesocial.co.uk/pikashowapk27

https://calisthenics.mn.co/members/32271422

https://stagejobs.mn.co/members/32271426

https://faceout.mn.co/members/32271427

https://tree.taiga.io/profile/pikashowapk27

https://decidim.rezero.cat/profiles/pikashowapk27/timeline

https://tinyurl.com/3fy69v3z

https://independent.academia.edu/PikashowApk29

https://www.sitejabber.com/users/pikashowapk27

https://trabajo.merca20.com/author/pikashowapk27/

https://buymeacoffee.com/pikashowapv5

https://www.themoviedb.org/u/pikashowapk27

https://thedyrt.com/member/pikashow-a-6/

https://cutt.ly/irqZFUVX

https://developer.cisco.com/user/profile/7b5e132f-e189-5acb-86e8-d938bef0d9f2

https://findmyjobs.lk/author/pikashowapk27/

https://teletype.in/@pikashowapk27

https://www.answers.com/u/nosywallaby14335146

http://kktix.com/user/6982634

https://bookmeter.com/users/1560905

https://fairygodboss.com/users/profile/cNhy3iaY2t/Pikashow-Apk

https://www.battlecam.com/profile/info/4481248

https://www.mightycause.com/profile/xj4jef

https://www.thetoptens.com/m/pikashowapk27/

https://www.undrtone.com/pikashowapk27

https://pantip.com/profile/8640085#topics

https://www.futurelearn.com/profiles/22248539

https://onetable.world/pikashowapk27

https://decidim.santcugat.cat/profiles/pikashow_apk_4/timeline

https://coolors.co/u/pikashow_apk10

https://files.fm/pikashowapk27

https://slideslive.com/vpuynlnfg13z?tab=about

https://www.blurb.com/user/pikashow298

https://advego.com/profile/PikashowApk32/

https://photoclub.canadiangeographic.ca/profile/21514590

https://replit.com/@pikashowapk27

https://www.slideserve.com/pikashowapk27

http://www.nursingportal.ca/author/pikashowapk27/

https://storyweaver.org.in/en/users/1075941

https://www.sbnation.com/users/picashows54

https://rnstaffers.com/author/pikashowapk27/

https://slatestarcodex.com/author/pikashowapk27/

https://rnopportunities.com/author/pikashowapk27/

https://paragonthemes.com/author/pikashowapk272/

https://rnmanagers.com/author/pikashowapk27/

https://genius.com/PikashowApk

https://www.spigotmc.org/members/pikashowapk27.2227427/

https://www.anime-planet.com/users/pikashowapk27

https://astronomy.stackexchange.com/users/66885/pikashow-apk

https://www.quora.com/profile/Pikashow-Apk-26

https://globalaffairs.mn.co/members/32278214

https://homes-for-homeless-children.mn.co/members/32278215

https://www.instapaper.com/read/1754269517

https://www.ted.com/profiles/48873858

https://qiita.com/pikashowapk27

https://www.goodreads.com/user/show/187726373-pikashow-apk

https://letterboxd.com/pikashowapk27/

https://500px.com/p/pikashowapk27

https://musicbrainz.org/user/pikashowapk27

https://friendtalk.mn.co/members/32278272

https://lxgonline.mn.co/members/32278271

https://suzuri.jp/pikashowapk27

https://groover.co/en/band/profile/5.pikashow-apk/

https://www.webmastersun.com/members/pikashowapk27.118931/#about

https://contest.embarcados.com.br/membro/pikashow-apk-13/

https://www.investagrams.com/Profile/pikash1410860

https://wefunder.com/pikashowapk35

https://imarticus.org/skillenza/user/pikashowapk27

https://to-portal.com/pikashowapk27

https://www.noifias.it/pikashowapk27

https://blooder.net/pikashowapk27

https://blacksocially.com/pikashowapk27

https://logcla.com/pikashowapk2732

https://www.trngamers.co.uk/pikashowapk27

https://list.ly/pikashowapk27/lists

https://heyjinni.com/pikashowapk27

https://www.contraband.ch/pikashowapk27

https://twikkers.nl/pikashowapk27

https://www.gta5-mods.com/users/pikashowapk27

https://gitlab.com/pikashowapk27

https://blogger-mania.mn.co/members/32278622

https://about.me/p-apk

https://www.otava.me/pikashowapk27

https://www.globalfreetalk.com/pikashowapk27

https://topbazz.com/pikashowapk27

https://bestbizportal.com/pikashowapk27

https://blockstar.social/1739686603279113_108293

https://www.florevit.com/pikashowapk27

https://medium.com/@pikashowapk27

https://app.theremoteinternship.com/pikashowapk27

https://bundas24.com/pikashowapk27

https://talkline.co.in/1739687226116258_15390

https://oxygenfactory.it/pikashowapk27

https://alumni.myra.ac.in/pikashowapk27

https://taggedface.com/pikashowapk27

https://redebuck.com.br/1739687495788742_24703

https://ayema.ng/pikashowapk27

https://newnormalnetwork.me/pikashowapk27

https://shorturl.at/bHccJ

https://2cm.es/SzaB

https://short-link.me/SzaC

https://surl.li/vxdtoh

https://www.wowonder.xyz/1739692804888353_70069

https://audiomack.com/pikashowapk27

https://vimeo.com/user235476818

https://vc.ru/u/4584740-pikashow-apk

https://www.designspiration.com/pikashowapk27/saves/

https://in.enrollbusiness.com/BusinessProfile/7080230/picashows

https://www.proko.com/@pikashowapk27/activity

https://data.world/pikashowapk27

https://www.intensedebate.com/people/pikashowapk27

https://glose.com/u/pikashowapk27

https://maps.roadtrippers.com/people/pikashowapk27

https://711277.8b.io/

https://klik.link/pikashowapk27

https://app.daily.dev/pikashowapk27

https://ko-fi.com/pikashowapk77590

https://hashnode.com/@pikashowapk2732

https://my.desktopnexus.com/pikashowapk27/#ProfileComments

https://triplephinix.com/pikashowapk27

https://zumvu.com/pikashow35/

https://www.wikihow.com/User:PikashowApk

https://tr.ee/zxDf8p

https://www.artstation.com/pikashowapk278

https://git.disroot.org/pikashowapk27

https://getinkspired.com/en/u/pikashow-apk-637618/

https://www.reyooz.com/users/profile/82213

https://fashonation.com/members/pikashow/profile/

https://www.freelistingusa.com/listings/pikashow-apk-4

https://www.myminifactory.com/users/pikashowapk11

https://www.allmyusjobs.com/author/pikashowapk27/

https://thebloodsugardiet.com/forums/users/pikashowapk27/

https://aptitude.gateoverflow.in/user/pikashowapk27

https://expathealthseoul.com/profile/

https://d6united.mn.co/members/32291854

https://serviceprofessionalsnetwork.com/members/pikashowapk27/profile/

https://musikersuche.musicstore.de/profil/pikashowapk27/

https://illust.daysneo.com/illustrator/pikashowapk27/

https://www.pressregister.com/user/public-profile/70663

https://www.racinggreenmids.co.uk/profile/pikashowapk27/profile

https://source.coderefinery.org/pikashowapk27

https://jasa-seo.mn.co/members/32292156

rentry.co/zgyzne8m

logcla.com/blogs/482115/PikaShow-APK-Download-Official-Latest-Version-2025-For-Android

blooder.net/read-blog/91464_pikashow-apk-download-official-latest-version-2025-for-android.html

rollbol.com/blogs/1940505/PikaShow-APK-Download-Official-Latest-Version-2025-For-Android

instagrampro5.blogspot.com/2025/02/pikashow-apk-download-official-latest.html

groups.google.com/g/pinoy-teleserye-flix/c/_gytT4TRfeA

diigo.com/0yv3g9

sites.google.com/view/pikashowapk986/home

myvipon.com/post/1516614/PikaShow-APK-Download-Official-Latest-Version-amazon-coupons

instagramapk6.livepositively.com/pikashow-apk-download-official-latest-version-2025-for-android/

otava.me/blogs/209742/PikaShow-APK-Download-Official-Latest-Version-2025-For-Android

fortunetelleroracle.com/fashion/pikashow-apk-download-official-latest-version-2025-for-android-1011372

thegeneralpost.com/pikashow-apk-download-official-latest-version-2025-for-android/

twikkers.nl/blogs/364630/PikaShow-APK-Download-Official-Latest-Version-2025-For-Android

giffa.ru/who/pikashow-apk-download-official-latest-version-2025-for-android/

sagartools.com/pikashow-apk-download-official-latest-version-2025-for-android/

aphelonline.com/pikashow-apk-download-official-latest-version-2025-for-android/

repurtech.com/pikashow-apk-download-official-latest-version-2025-for-android/

guest-post.org/pikashow-apk-download-official-latest-version-2025-for-android/

kinkedpress.com/pikashow-apk-download-official-latest-version-2025-for-android/

timesofeconomics.com/pikashow-apk-download-official-latest-version-2025-for-android/