Файловый менеджер - Редактировать - /home/tuudkjt/globeasy/wp-includes/ID3/countdown.tar
Назад
jquery.countdown-uk.js 0000777 00000001636 15251665410 0011077 0 ustar 00 /* http://keith-wood.name/countdown.html * Ukrainian initialisation for the jQuery countdown extension * Written by Goloborodko M misha.gm@gmail.com (2009), corrections by Iгор Kоновал */ (function($) { $.countdown.regionalOptions['uk'] = { labels: ['Років', 'Місяців', 'Тижнів', 'Днів', 'Годин', 'Хвилин', 'Секунд'], labels1: ['Рік', 'Місяць', 'Тиждень', 'День', 'Година', 'Хвилина', 'Секунда'], labels2: ['Роки', 'Місяці', 'Тижні', 'Дні', 'Години', 'Хвилини', 'Секунди'], compactLabels: ['r', 'm', 't', 'd'], whichLabels: function(amount) { return (amount == 1 ? 1 : (amount >=2 && amount <= 4 ? 2 : 0)); }, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['uk']); })(jQuery); jquery.countdown-sl.js 0000777 00000001124 15251665410 0011066 0 ustar 00 /* http://keith-wood.name/countdown.html * Slovenian localisation for the jQuery countdown extension * Written by Borut Tomažin (debijan{at}gmail.com) (2011) */ (function($) { $.countdown.regionalOptions['sl'] = { labels: ['Let', 'Mesecev', 'Tednov', 'Dni', 'Ur', 'Minut', 'Sekund'], labels1: ['Leto', 'Mesec', 'Teden', 'Dan', 'Ura', 'Minuta', 'Sekunda'], compactLabels: ['l', 'm', 't', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['sl']); })(jQuery); jquery.countdown-bs.js 0000777 00000001413 15251665410 0011055 0 ustar 00 /* http://keith-wood.name/countdown.html * Bosnian Latin initialisation for the jQuery countdown extension * Written by Miralem Mehic miralem@mehic.info (2011) */ (function($) { $.countdown.regionalOptions['bs'] = { labels: ['Godina', 'Mjeseci', 'Sedmica', 'Dana', 'Sati', 'Minuta', 'Sekundi'], labels1: ['Godina', 'Mjesec', 'Sedmica', 'Dan', 'Sat', 'Minuta', 'Sekunda'], labels2: ['Godine', 'Mjeseca', 'Sedmica', 'Dana', 'Sata', 'Minute', 'Sekunde'], compactLabels: ['g', 'm', 't', 'd'], whichLabels: function(amount) { return (amount == 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0)); }, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['bs']); })(jQuery); jquery.countdown.js 0000777 00000106031 15251665410 0010455 0 ustar 00 /* http://keith-wood.name/countdown.html Countdown for jQuery v2.0.2. Written by Keith Wood (kbwood{at}iinet.com.au) January 2008. Available under the MIT (http://keith-wood.name/licence.html) license. Please attribute the author if you use it. */ (function($) { // Hide scope, no $ conflict var pluginName = 'countdown'; var Y = 0; // Years var O = 1; // Months var W = 2; // Weeks var D = 3; // Days var H = 4; // Hours var M = 5; // Minutes var S = 6; // Seconds /** Create the countdown plugin. <p>Sets an element to show the time remaining until a given instant.</p> <p>Expects HTML like:</p> <pre><div></div></pre> <p>Provide inline configuration like:</p> <pre><div data-countdown="name: 'value'"></div></pre> @module Countdown @augments JQPlugin @example $(selector).countdown({until: +300}) */ $.JQPlugin.createPlugin({ /** The name of the plugin. */ name: pluginName, /** Countdown expiry callback. Triggered when the countdown expires. @callback expiryCallback */ /** Countdown server synchronisation callback. Triggered when the countdown is initialised. @callback serverSyncCallback @return {Date} The current date/time on the server as expressed in the local timezone. */ /** Countdown tick callback. Triggered on every <code>tickInterval</code> ticks of the countdown. @callback tickCallback @param periods {number[]} The breakdown by period (years, months, weeks, days, hours, minutes, seconds) of the time remaining/passed. */ /** Countdown which labels callback. Triggered when the countdown is being display to determine which set of labels (<code>labels</code>, <code>labels1</code>, ...) are to be used for the current period value. @callback whichLabelsCallback @param num {number} The current period value. @return {number} The suffix for the label set to use. */ /** Default settings for the plugin. @property until {Date|number|string} The date/time to count down to, or number of seconds offset from now, or string of amounts and units for offset(s) from now: 'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds. @example until: new Date(2013, 12-1, 25, 13, 30) until: +300 until: '+1O -2D' @property [since] {Date|number|string} The date/time to count up from, or number of seconds offset from now, or string for unit offset(s): 'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds. @example since: new Date(2013, 1-1, 1) since: -300 since: '-1O +2D' @property [timezone=null] {number} The timezone (hours or minutes from GMT) for the target times, or null for client local timezone. @example timezone: +10 timezone: -60 @property [serverSync=null] {serverSyncCallback} A function to retrieve the current server time for synchronisation. @property [format='dHMS'] {string} The format for display - upper case for always, lower case only if non-zero, 'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds. @property [layout=''] {string} Build your own layout for the countdown. @example layout: '{d<}{dn} {dl}{d>} {hnn}:{mnn}:{snn}' @property [compact=false] {boolean} True to display in a compact format, false for an expanded one. @property [padZeroes=false] {boolean} True to add leading zeroes @property [significant=0] {number} The number of periods with non-zero values to show, zero for all. @property [description=''] {string} The description displayed for the countdown. @property [expiryUrl=''] {string} A URL to load upon expiry, replacing the current page. @property [expiryText=''] {string} Text to display upon expiry, replacing the countdown. This may be HTML. @property [alwaysExpire=false] {boolean} True to trigger <code>onExpiry</code> even if target time has passed. @property [onExpiry=null] {expiryCallback} Callback when the countdown expires - receives no parameters and <code>this</code> is the containing division. @example onExpiry: function() { ... } @property [onTick=null] {tickCallback} Callback when the countdown is updated - receives <code>number[7]</code> being the breakdown by period (years, months, weeks, days, hours, minutes, seconds - based on <code>format</code>) and <code>this</code> is the containing division. @example onTick: function(periods) { var secs = $.countdown.periodsToSeconds(periods); if (secs < 300) { // Last five minutes ... } } @property [tickInterval=1] {number} The interval (seconds) between <code>onTick</code> callbacks. */ defaultOptions: { until: null, since: null, timezone: null, serverSync: null, format: 'dHMS', layout: '', compact: false, padZeroes: false, significant: 0, description: '', expiryUrl: '', expiryText: '', alwaysExpire: false, onExpiry: null, onTick: null, tickInterval: 1 }, /** Localisations for the plugin. Entries are objects indexed by the language code ('' being the default US/English). Each object has the following attributes. @property [labels=['Years','Months','Weeks','Days','Hours','Minutes','Seconds']] {string[]} The display texts for the counter periods. @property [labels1=['Year','Month','Week','Day','Hour','Minute','Second']] {string[]} The display texts for the counter periods if they have a value of 1. Add other <code>labels<em>n</em></code> attributes as necessary to cater for other numeric idiosyncrasies of the localisation. @property [compactLabels=['y','m','w','d']] {string[]} The compact texts for the counter periods. @property [whichLabels=null] {whichLabelsCallback} A function to determine which <code>labels<em>n</em></code> to use. @example whichLabels: function(num) { return (num > 1 ? 0 : 1); } @property [digits=['0','1',...,'9']] {number[]} The digits to display (0-9). @property [timeSeparator=':'] {string} Separator for time periods in the compact layout. @property [isRTL=false] {boolean} True for right-to-left languages, false for left-to-right. */ regionalOptions: { // Available regional settings, indexed by language/country code '': { // Default regional settings - English/US labels: ['Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'], labels1: ['Year', 'Month', 'Week', 'Day', 'Hour', 'Minute', 'Second'], compactLabels: ['y', 'm', 'w', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false } }, /** Names of getter methods - those that can't be chained. */ _getters: ['getTimes'], /* Class name for the right-to-left marker. */ _rtlClass: pluginName + '-rtl', /* Class name for the countdown section marker. */ _sectionClass: pluginName + '-section', /* Class name for the period amount marker. */ _amountClass: pluginName + '-amount', /* Class name for the period name marker. */ _periodClass: pluginName + '-period', /* Class name for the countdown row marker. */ _rowClass: pluginName + '-row', /* Class name for the holding countdown marker. */ _holdingClass: pluginName + '-holding', /* Class name for the showing countdown marker. */ _showClass: pluginName + '-show', /* Class name for the description marker. */ _descrClass: pluginName + '-descr', /* List of currently active countdown elements. */ _timerElems: [], /** Additional setup for the countdown. Apply default localisations. Create the timer. */ _init: function() { var self = this; this._super(); this._serverSyncs = []; var now = (typeof Date.now == 'function' ? Date.now : function() { return new Date().getTime(); }); var perfAvail = (window.performance && typeof window.performance.now == 'function'); // Shared timer for all countdowns function timerCallBack(timestamp) { var drawStart = (timestamp < 1e12 ? // New HTML5 high resolution timer (perfAvail ? (performance.now() + performance.timing.navigationStart) : now()) : // Integer milliseconds since unix epoch timestamp || now()); if (drawStart - animationStartTime >= 1000) { self._updateElems(); animationStartTime = drawStart; } requestAnimationFrame(timerCallBack); } var requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || null; // This is when we expect a fall-back to setInterval as it's much more fluid var animationStartTime = 0; if (!requestAnimationFrame || $.noRequestAnimationFrame) { $.noRequestAnimationFrame = null; setInterval(function() { self._updateElems(); }, 980); // Fall back to good old setInterval } else { animationStartTime = window.animationStartTime || window.webkitAnimationStartTime || window.mozAnimationStartTime || window.oAnimationStartTime || window.msAnimationStartTime || now(); requestAnimationFrame(timerCallBack); } }, /** Convert a date/time to UTC. @param tz {number} The hour or minute offset from GMT, e.g. +9, -360. @param year {Date|number} the date/time in that timezone or the year in that timezone. @param [month] {number} The month (0 - 11) (omit if <code>year</code> is a <code>Date</code>). @param [day] {number} The day (omit if <code>year</code> is a <code>Date</code>). @param [hours] {number} The hour (omit if <code>year</code> is a <code>Date</code>). @param [mins] {number} The minute (omit if <code>year</code> is a <code>Date</code>). @param [secs] {number} The second (omit if <code>year</code> is a <code>Date</code>). @param [ms] {number} The millisecond (omit if <code>year</code> is a <code>Date</code>). @return {Date} The equivalent UTC date/time. @example $.countdown.UTCDate(+10, 2013, 12-1, 25, 12, 0) $.countdown.UTCDate(-7, new Date(2013, 12-1, 25, 12, 0)) */ UTCDate: function(tz, year, month, day, hours, mins, secs, ms) { if (typeof year == 'object' && year.constructor == Date) { ms = year.getMilliseconds(); secs = year.getSeconds(); mins = year.getMinutes(); hours = year.getHours(); day = year.getDate(); month = year.getMonth(); year = year.getFullYear(); } var d = new Date(); d.setUTCFullYear(year); d.setUTCDate(1); d.setUTCMonth(month || 0); d.setUTCDate(day || 1); d.setUTCHours(hours || 0); d.setUTCMinutes((mins || 0) - (Math.abs(tz) < 30 ? tz * 60 : tz)); d.setUTCSeconds(secs || 0); d.setUTCMilliseconds(ms || 0); return d; }, /** Convert a set of periods into seconds. Averaged for months and years. @param periods {number[]} The periods per year/month/week/day/hour/minute/second. @return {number} The corresponding number of seconds. @example var secs = $.countdown.periodsToSeconds(periods) */ periodsToSeconds: function(periods) { return periods[0] * 31557600 + periods[1] * 2629800 + periods[2] * 604800 + periods[3] * 86400 + periods[4] * 3600 + periods[5] * 60 + periods[6]; }, /** Resynchronise the countdowns with the server. @example $.countdown.resync() */ resync: function() { var self = this; $('.' + this._getMarker()).each(function() { // Each countdown var inst = $.data(this, self.name); if (inst.options.serverSync) { // If synced var serverSync = null; for (var i = 0; i < self._serverSyncs.length; i++) { if (self._serverSyncs[i][0] == inst.options.serverSync) { // Find sync details serverSync = self._serverSyncs[i]; break; } } if (serverSync[2] == null) { // Recalculate if missing var serverResult = ($.isFunction(inst.options.serverSync) ? inst.options.serverSync.apply(this, []) : null); serverSync[2] = (serverResult ? new Date().getTime() - serverResult.getTime() : 0) - serverSync[1]; } if (inst._since) { // Apply difference inst._since.setMilliseconds(inst._since.getMilliseconds() + serverSync[2]); } inst._until.setMilliseconds(inst._until.getMilliseconds() + serverSync[2]); } }); for (var i = 0; i < self._serverSyncs.length; i++) { // Update sync details if (self._serverSyncs[i][2] != null) { self._serverSyncs[i][1] += self._serverSyncs[i][2]; delete self._serverSyncs[i][2]; } } }, _instSettings: function(elem, options) { return {_periods: [0, 0, 0, 0, 0, 0, 0]}; }, /** Add an element to the list of active ones. @private @param elem {Element} The countdown element. */ _addElem: function(elem) { if (!this._hasElem(elem)) { this._timerElems.push(elem); } }, /** See if an element is in the list of active ones. @private @param elem {Element} The countdown element. @return {boolean} True if present, false if not. */ _hasElem: function(elem) { return ($.inArray(elem, this._timerElems) > -1); }, /** Remove an element from the list of active ones. @private @param elem {Element} The countdown element. */ _removeElem: function(elem) { this._timerElems = $.map(this._timerElems, function(value) { return (value == elem ? null : value); }); // delete entry }, /** Update each active timer element. @private */ _updateElems: function() { for (var i = this._timerElems.length - 1; i >= 0; i--) { this._updateCountdown(this._timerElems[i]); } }, _optionsChanged: function(elem, inst, options) { if (options.layout) { options.layout = options.layout.replace(/</g, '<').replace(/>/g, '>'); } this._resetExtraLabels(inst.options, options); var timezoneChanged = (inst.options.timezone != options.timezone); $.extend(inst.options, options); this._adjustSettings(elem, inst, options.until != null || options.since != null || timezoneChanged); var now = new Date(); if ((inst._since && inst._since < now) || (inst._until && inst._until > now)) { this._addElem(elem[0]); } this._updateCountdown(elem, inst); }, /** Redisplay the countdown with an updated display. @private @param elem {Element|jQuery} The containing division. @param inst {object} The current settings for this instance. */ _updateCountdown: function(elem, inst) { elem = elem.jquery ? elem : $(elem); inst = inst || this._getInst(elem); if (!inst) { return; } elem.html(this._generateHTML(inst)).toggleClass(this._rtlClass, inst.options.isRTL); if ($.isFunction(inst.options.onTick)) { var periods = inst._hold != 'lap' ? inst._periods : this._calculatePeriods(inst, inst._show, inst.options.significant, new Date()); if (inst.options.tickInterval == 1 || this.periodsToSeconds(periods) % inst.options.tickInterval == 0) { inst.options.onTick.apply(elem[0], [periods]); } } var expired = inst._hold != 'pause' && (inst._since ? inst._now.getTime() < inst._since.getTime() : inst._now.getTime() >= inst._until.getTime()); if (expired && !inst._expiring) { inst._expiring = true; if (this._hasElem(elem[0]) || inst.options.alwaysExpire) { this._removeElem(elem[0]); if ($.isFunction(inst.options.onExpiry)) { inst.options.onExpiry.apply(elem[0], []); } if (inst.options.expiryText) { var layout = inst.options.layout; inst.options.layout = inst.options.expiryText; this._updateCountdown(elem[0], inst); inst.options.layout = layout; } if (inst.options.expiryUrl) { window.location = inst.options.expiryUrl; } } inst._expiring = false; } else if (inst._hold == 'pause') { this._removeElem(elem[0]); } }, /** Reset any extra labelsn and compactLabelsn entries if changing labels. @private @param base {object} The options to be updated. @param options {object} The new option values. */ _resetExtraLabels: function(base, options) { for (var n in options) { if (n.match(/[Ll]abels[02-9]|compactLabels1/)) { base[n] = options[n]; } } for (var n in base) { // Remove custom numbered labels if (n.match(/[Ll]abels[02-9]|compactLabels1/) && typeof options[n] === 'undefined') { base[n] = null; } } }, /** Calculate internal settings for an instance. @private @param elem {jQuery} The containing division. @param inst {object} The current settings for this instance. @param recalc {boolean} True if until or since are set. */ _adjustSettings: function(elem, inst, recalc) { var serverEntry = null; for (var i = 0; i < this._serverSyncs.length; i++) { if (this._serverSyncs[i][0] == inst.options.serverSync) { serverEntry = this._serverSyncs[i][1]; break; } } if (serverEntry != null) { var serverOffset = (inst.options.serverSync ? serverEntry : 0); var now = new Date(); } else { var serverResult = ($.isFunction(inst.options.serverSync) ? inst.options.serverSync.apply(elem[0], []) : null); var now = new Date(); var serverOffset = (serverResult ? now.getTime() - serverResult.getTime() : 0); this._serverSyncs.push([inst.options.serverSync, serverOffset]); } var timezone = inst.options.timezone; timezone = (timezone == null ? -now.getTimezoneOffset() : timezone); if (recalc || (!recalc && inst._until == null && inst._since == null)) { inst._since = inst.options.since; if (inst._since != null) { inst._since = this.UTCDate(timezone, this._determineTime(inst._since, null)); if (inst._since && serverOffset) { inst._since.setMilliseconds(inst._since.getMilliseconds() + serverOffset); } } inst._until = this.UTCDate(timezone, this._determineTime(inst.options.until, now)); if (serverOffset) { inst._until.setMilliseconds(inst._until.getMilliseconds() + serverOffset); } } inst._show = this._determineShow(inst); }, /** Remove the countdown widget from a div. @param elem {jQuery} The containing division. @param inst {object} The current instance object. */ _preDestroy: function(elem, inst) { this._removeElem(elem[0]); elem.empty(); }, /** Pause a countdown widget at the current time. Stop it running but remember and display the current time. @param elem {Element} The containing division. @example $(selector).countdown('pause') */ pause: function(elem) { this._hold(elem, 'pause'); }, /** Pause a countdown widget at the current time. Stop the display but keep the countdown running. @param elem {Element} The containing division. @example $(selector).countdown('lap') */ lap: function(elem) { this._hold(elem, 'lap'); }, /** Resume a paused countdown widget. @param elem {Element} The containing division. @example $(selector).countdown('resume') */ resume: function(elem) { this._hold(elem, null); }, /** Toggle a paused countdown widget. @param elem {Element} The containing division. @example $(selector).countdown('toggle') */ toggle: function(elem) { var inst = $.data(elem, this.name) || {}; this[!inst._hold ? 'pause' : 'resume'](elem); }, /** Toggle a lapped countdown widget. @param elem {Element} The containing division. @example $(selector).countdown('toggleLap') */ toggleLap: function(elem) { var inst = $.data(elem, this.name) || {}; this[!inst._hold ? 'lap' : 'resume'](elem); }, /** Pause or resume a countdown widget. @private @param elem {Element} The containing division. @param hold {string} The new hold setting. */ _hold: function(elem, hold) { var inst = $.data(elem, this.name); if (inst) { if (inst._hold == 'pause' && !hold) { inst._periods = inst._savePeriods; var sign = (inst._since ? '-' : '+'); inst[inst._since ? '_since' : '_until'] = this._determineTime(sign + inst._periods[0] + 'y' + sign + inst._periods[1] + 'o' + sign + inst._periods[2] + 'w' + sign + inst._periods[3] + 'd' + sign + inst._periods[4] + 'h' + sign + inst._periods[5] + 'm' + sign + inst._periods[6] + 's'); this._addElem(elem); } inst._hold = hold; inst._savePeriods = (hold == 'pause' ? inst._periods : null); $.data(elem, this.name, inst); this._updateCountdown(elem, inst); } }, /** Return the current time periods. @param elem {Element} The containing division. @return {number[]} The current periods for the countdown. @example var periods = $(selector).countdown('getTimes') */ getTimes: function(elem) { var inst = $.data(elem, this.name); return (!inst ? null : (inst._hold == 'pause' ? inst._savePeriods : (!inst._hold ? inst._periods : this._calculatePeriods(inst, inst._show, inst.options.significant, new Date())))); }, /** A time may be specified as an exact value or a relative one. @private @param setting {string|number|Date} The date/time value as a relative or absolute value. @param defaultTime {Date} The date/time to use if no other is supplied. @return {Date} The corresponding date/time. */ _determineTime: function(setting, defaultTime) { var self = this; var offsetNumeric = function(offset) { // e.g. +300, -2 var time = new Date(); time.setTime(time.getTime() + offset * 1000); return time; }; var offsetString = function(offset) { // e.g. '+2d', '-4w', '+3h +30m' offset = offset.toLowerCase(); var time = new Date(); var year = time.getFullYear(); var month = time.getMonth(); var day = time.getDate(); var hour = time.getHours(); var minute = time.getMinutes(); var second = time.getSeconds(); var pattern = /([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g; var matches = pattern.exec(offset); while (matches) { switch (matches[2] || 's') { case 's': second += parseInt(matches[1], 10); break; case 'm': minute += parseInt(matches[1], 10); break; case 'h': hour += parseInt(matches[1], 10); break; case 'd': day += parseInt(matches[1], 10); break; case 'w': day += parseInt(matches[1], 10) * 7; break; case 'o': month += parseInt(matches[1], 10); day = Math.min(day, self._getDaysInMonth(year, month)); break; case 'y': year += parseInt(matches[1], 10); day = Math.min(day, self._getDaysInMonth(year, month)); break; } matches = pattern.exec(offset); } return new Date(year, month, day, hour, minute, second, 0); }; var time = (setting == null ? defaultTime : (typeof setting == 'string' ? offsetString(setting) : (typeof setting == 'number' ? offsetNumeric(setting) : setting))); if (time) time.setMilliseconds(0); return time; }, /** Determine the number of days in a month. @private @param year {number} The year. @param month {number} The month. @return {number} The days in that month. */ _getDaysInMonth: function(year, month) { return 32 - new Date(year, month, 32).getDate(); }, /** Default implementation to determine which set of labels should be used for an amount. Use the <code>labels</code> attribute with the same numeric suffix (if it exists). @private @param num {number} The amount to be displayed. @return {number} The set of labels to be used for this amount. */ _normalLabels: function(num) { return num; }, /** Generate the HTML to display the countdown widget. @private @param inst {object} The current settings for this instance. @return {string} The new HTML for the countdown display. */ _generateHTML: function(inst) { var self = this; // Determine what to show inst._periods = (inst._hold ? inst._periods : this._calculatePeriods(inst, inst._show, inst.options.significant, new Date())); // Show all 'asNeeded' after first non-zero value var shownNonZero = false; var showCount = 0; var sigCount = inst.options.significant; var show = $.extend({}, inst._show); for (var period = Y; period <= S; period++) { shownNonZero |= (inst._show[period] == '?' && inst._periods[period] > 0); show[period] = (inst._show[period] == '?' && !shownNonZero ? null : inst._show[period]); showCount += (show[period] ? 1 : 0); sigCount -= (inst._periods[period] > 0 ? 1 : 0); } var showSignificant = [false, false, false, false, false, false, false]; for (var period = S; period >= Y; period--) { // Determine significant periods if (inst._show[period]) { if (inst._periods[period]) { showSignificant[period] = true; } else { showSignificant[period] = sigCount > 0; sigCount--; } } } var labels = (inst.options.compact ? inst.options.compactLabels : inst.options.labels); var whichLabels = inst.options.whichLabels || this._normalLabels; var showCompact = function(period) { var labelsNum = inst.options['compactLabels' + whichLabels(inst._periods[period])]; return (show[period] ? self._translateDigits(inst, inst._periods[period]) + (labelsNum ? labelsNum[period] : labels[period]) + ' ' : ''); }; var minDigits = (inst.options.padZeroes ? 2 : 1); var showFull = function(period) { var labelsNum = inst.options['labels' + whichLabels(inst._periods[period])]; return ((!inst.options.significant && show[period]) || (inst.options.significant && showSignificant[period]) ? '<span class="' + self._sectionClass + '">' + '<span class="' + self._amountClass + '">' + self._minDigits(inst, inst._periods[period], minDigits) + '</span>' + '<span class="' + self._periodClass + '">' + (labelsNum ? labelsNum[period] : labels[period]) + '</span></span>' : ''); }; return (inst.options.layout ? this._buildLayout(inst, show, inst.options.layout, inst.options.compact, inst.options.significant, showSignificant) : ((inst.options.compact ? // Compact version '<span class="' + this._rowClass + ' ' + this._amountClass + (inst._hold ? ' ' + this._holdingClass : '') + '">' + showCompact(Y) + showCompact(O) + showCompact(W) + showCompact(D) + (show[H] ? this._minDigits(inst, inst._periods[H], 2) : '') + (show[M] ? (show[H] ? inst.options.timeSeparator : '') + this._minDigits(inst, inst._periods[M], 2) : '') + (show[S] ? (show[H] || show[M] ? inst.options.timeSeparator : '') + this._minDigits(inst, inst._periods[S], 2) : '') : // Full version '<span class="' + this._rowClass + ' ' + this._showClass + (inst.options.significant || showCount) + (inst._hold ? ' ' + this._holdingClass : '') + '">' + showFull(Y) + showFull(O) + showFull(W) + showFull(D) + showFull(H) + showFull(M) + showFull(S)) + '</span>' + (inst.options.description ? '<span class="' + this._rowClass + ' ' + this._descrClass + '">' + inst.options.description + '</span>' : ''))); }, /** Construct a custom layout. @private @param inst {object} The current settings for this instance. @param show {boolean[]} Flags indicating which periods are requested. @param layout {string} The customised layout. @param compact {boolean} True if using compact labels. @param significant {number} The number of periods with values to show, zero for all. @param showSignificant {boolean[]} Other periods to show for significance. @return {string} The custom HTML. */ _buildLayout: function(inst, show, layout, compact, significant, showSignificant) { var labels = inst.options[compact ? 'compactLabels' : 'labels']; var whichLabels = inst.options.whichLabels || this._normalLabels; var labelFor = function(index) { return (inst.options[(compact ? 'compactLabels' : 'labels') + whichLabels(inst._periods[index])] || labels)[index]; }; var digit = function(value, position) { return inst.options.digits[Math.floor(value / position) % 10]; }; var subs = {desc: inst.options.description, sep: inst.options.timeSeparator, yl: labelFor(Y), yn: this._minDigits(inst, inst._periods[Y], 1), ynn: this._minDigits(inst, inst._periods[Y], 2), ynnn: this._minDigits(inst, inst._periods[Y], 3), y1: digit(inst._periods[Y], 1), y10: digit(inst._periods[Y], 10), y100: digit(inst._periods[Y], 100), y1000: digit(inst._periods[Y], 1000), ol: labelFor(O), on: this._minDigits(inst, inst._periods[O], 1), onn: this._minDigits(inst, inst._periods[O], 2), onnn: this._minDigits(inst, inst._periods[O], 3), o1: digit(inst._periods[O], 1), o10: digit(inst._periods[O], 10), o100: digit(inst._periods[O], 100), o1000: digit(inst._periods[O], 1000), wl: labelFor(W), wn: this._minDigits(inst, inst._periods[W], 1), wnn: this._minDigits(inst, inst._periods[W], 2), wnnn: this._minDigits(inst, inst._periods[W], 3), w1: digit(inst._periods[W], 1), w10: digit(inst._periods[W], 10), w100: digit(inst._periods[W], 100), w1000: digit(inst._periods[W], 1000), dl: labelFor(D), dn: this._minDigits(inst, inst._periods[D], 1), dnn: this._minDigits(inst, inst._periods[D], 2), dnnn: this._minDigits(inst, inst._periods[D], 3), d1: digit(inst._periods[D], 1), d10: digit(inst._periods[D], 10), d100: digit(inst._periods[D], 100), d1000: digit(inst._periods[D], 1000), hl: labelFor(H), hn: this._minDigits(inst, inst._periods[H], 1), hnn: this._minDigits(inst, inst._periods[H], 2), hnnn: this._minDigits(inst, inst._periods[H], 3), h1: digit(inst._periods[H], 1), h10: digit(inst._periods[H], 10), h100: digit(inst._periods[H], 100), h1000: digit(inst._periods[H], 1000), ml: labelFor(M), mn: this._minDigits(inst, inst._periods[M], 1), mnn: this._minDigits(inst, inst._periods[M], 2), mnnn: this._minDigits(inst, inst._periods[M], 3), m1: digit(inst._periods[M], 1), m10: digit(inst._periods[M], 10), m100: digit(inst._periods[M], 100), m1000: digit(inst._periods[M], 1000), sl: labelFor(S), sn: this._minDigits(inst, inst._periods[S], 1), snn: this._minDigits(inst, inst._periods[S], 2), snnn: this._minDigits(inst, inst._periods[S], 3), s1: digit(inst._periods[S], 1), s10: digit(inst._periods[S], 10), s100: digit(inst._periods[S], 100), s1000: digit(inst._periods[S], 1000)}; var html = layout; // Replace period containers: {p<}...{p>} for (var i = Y; i <= S; i++) { var period = 'yowdhms'.charAt(i); var re = new RegExp('\\{' + period + '<\\}([\\s\\S]*)\\{' + period + '>\\}', 'g'); html = html.replace(re, ((!significant && show[i]) || (significant && showSignificant[i]) ? '$1' : '')); } // Replace period values: {pn} $.each(subs, function(n, v) { var re = new RegExp('\\{' + n + '\\}', 'g'); html = html.replace(re, v); }); return html; }, /** Ensure a numeric value has at least n digits for display. @private @param inst {object} The current settings for this instance. @param value {number} The value to display. @param len {number} The minimum length. @return {string} The display text. */ _minDigits: function(inst, value, len) { value = '' + value; if (value.length >= len) { return this._translateDigits(inst, value); } value = '0000000000' + value; return this._translateDigits(inst, value.substr(value.length - len)); }, /** Translate digits into other representations. @private @param inst {object} The current settings for this instance. @param value {string} The text to translate. @return {string} The translated text. */ _translateDigits: function(inst, value) { return ('' + value).replace(/[0-9]/g, function(digit) { return inst.options.digits[digit]; }); }, /** Translate the format into flags for each period. @private @param inst {object} The current settings for this instance. @return {string[]} Flags indicating which periods are requested (?) or required (!) by year, month, week, day, hour, minute, second. */ _determineShow: function(inst) { var format = inst.options.format; var show = []; show[Y] = (format.match('y') ? '?' : (format.match('Y') ? '!' : null)); show[O] = (format.match('o') ? '?' : (format.match('O') ? '!' : null)); show[W] = (format.match('w') ? '?' : (format.match('W') ? '!' : null)); show[D] = (format.match('d') ? '?' : (format.match('D') ? '!' : null)); show[H] = (format.match('h') ? '?' : (format.match('H') ? '!' : null)); show[M] = (format.match('m') ? '?' : (format.match('M') ? '!' : null)); show[S] = (format.match('s') ? '?' : (format.match('S') ? '!' : null)); return show; }, /** Calculate the requested periods between now and the target time. @private @param inst {object} The current settings for this instance. @param show {string[]} Flags indicating which periods are requested/required. @param significant {number} The number of periods with values to show, zero for all. @param now {Date} The current date and time. @return {number[]} The current time periods (always positive) by year, month, week, day, hour, minute, second. */ _calculatePeriods: function(inst, show, significant, now) { // Find endpoints inst._now = now; inst._now.setMilliseconds(0); var until = new Date(inst._now.getTime()); if (inst._since) { if (now.getTime() < inst._since.getTime()) { inst._now = now = until; } else { now = inst._since; } } else { until.setTime(inst._until.getTime()); if (now.getTime() > inst._until.getTime()) { inst._now = now = until; } } // Calculate differences by period var periods = [0, 0, 0, 0, 0, 0, 0]; if (show[Y] || show[O]) { // Treat end of months as the same var lastNow = this._getDaysInMonth(now.getFullYear(), now.getMonth()); var lastUntil = this._getDaysInMonth(until.getFullYear(), until.getMonth()); var sameDay = (until.getDate() == now.getDate() || (until.getDate() >= Math.min(lastNow, lastUntil) && now.getDate() >= Math.min(lastNow, lastUntil))); var getSecs = function(date) { return (date.getHours() * 60 + date.getMinutes()) * 60 + date.getSeconds(); }; var months = Math.max(0, (until.getFullYear() - now.getFullYear()) * 12 + until.getMonth() - now.getMonth() + ((until.getDate() < now.getDate() && !sameDay) || (sameDay && getSecs(until) < getSecs(now)) ? -1 : 0)); periods[Y] = (show[Y] ? Math.floor(months / 12) : 0); periods[O] = (show[O] ? months - periods[Y] * 12 : 0); // Adjust for months difference and end of month if necessary now = new Date(now.getTime()); var wasLastDay = (now.getDate() == lastNow); var lastDay = this._getDaysInMonth(now.getFullYear() + periods[Y], now.getMonth() + periods[O]); if (now.getDate() > lastDay) { now.setDate(lastDay); } now.setFullYear(now.getFullYear() + periods[Y]); now.setMonth(now.getMonth() + periods[O]); if (wasLastDay) { now.setDate(lastDay); } } var diff = Math.floor((until.getTime() - now.getTime()) / 1000); var extractPeriod = function(period, numSecs) { periods[period] = (show[period] ? Math.floor(diff / numSecs) : 0); diff -= periods[period] * numSecs; }; extractPeriod(W, 604800); extractPeriod(D, 86400); extractPeriod(H, 3600); extractPeriod(M, 60); extractPeriod(S, 1); if (diff > 0 && !inst._since) { // Round up if left overs var multiplier = [1, 12, 4.3482, 7, 24, 60, 60]; var lastShown = S; var max = 1; for (var period = S; period >= Y; period--) { if (show[period]) { if (periods[lastShown] >= max) { periods[lastShown] = 0; diff = 1; } if (diff > 0) { periods[period]++; diff = 0; lastShown = period; max = 1; } } max *= multiplier[period]; } } if (significant) { // Zero out insignificant periods for (var period = Y; period <= S; period++) { if (significant && periods[period]) { significant--; } else if (!significant) { periods[period] = 0; } } } return periods; } }); })(jQuery); jquery.countdown-es.js 0000777 00000001156 15251665410 0011064 0 ustar 00 /* http://keith-wood.name/countdown.html * Spanish initialisation for the jQuery countdown extension * Written by Sergio Carracedo Martinez webmaster@neodisenoweb.com (2008) */ (function($) { $.countdown.regionalOptions['es'] = { labels: ['Años', 'Meses', 'Semanas', 'Días', 'Horas', 'Minutos', 'Segundos'], labels1: ['Año', 'Mes', 'Semana', 'Día', 'Hora', 'Minuto', 'Segundo'], compactLabels: ['a', 'm', 's', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['es']); })(jQuery); countdownBasic.html 0000777 00000002241 15251665410 0010427 0 ustar 00 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>jQuery Countdown</title> <link rel="stylesheet" href="jquery.countdown.css"> <style type="text/css"> #defaultCountdown { width: 240px; height: 45px; } </style> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="jquery.plugin.js"></script> <script src="jquery.countdown.js"></script> <script> $(function () { var austDay = new Date(); austDay = new Date(austDay.getFullYear() + 1, 1 - 1, 26); $('#defaultCountdown').countdown({until: austDay}); $('#year').text(austDay.getFullYear()); }); </script> </head> <body> <h1>jQuery Countdown Basics</h1> <p>This page demonstrates the very basics of the <a href="http://keith-wood.name/countdown.html">jQuery Countdown plugin</a>. It contains the minimum requirements for using the plugin and can be used as the basis for your own experimentation.</p> <p>For more detail see the <a href="http://keith-wood.name/countdownRef.html">documentation reference</a> page.</p> <p>Counting down to 26 January <span id="year">2014</span>.</p> <div id="defaultCountdown"></div> </body> </html> jquery.countdown.css 0000777 00000001557 15251665410 0010640 0 ustar 00 /* jQuery Countdown styles 2.0.0. */ .is-countdown { border: 1px solid #ccc; background-color: #eee; } .countdown-rtl { direction: rtl; } .countdown-holding span { color: #888; } .countdown-row { clear: both; width: 100%; padding: 0px 2px; text-align: center; } .countdown-show1 .countdown-section { width: 98%; } .countdown-show2 .countdown-section { width: 48%; } .countdown-show3 .countdown-section { width: 32.5%; } .countdown-show4 .countdown-section { width: 24.5%; } .countdown-show5 .countdown-section { width: 19.5%; } .countdown-show6 .countdown-section { width: 16.25%; } .countdown-show7 .countdown-section { width: 14%; } .countdown-section { display: block; float: left; font-size: 75%; text-align: center; } .countdown-amount { font-size: 200%; } .countdown-period { display: block; } .countdown-descr { display: block; width: 100%; } jquery.countdown-ca.js 0000777 00000001134 15251665410 0011034 0 ustar 00 /* http://keith-wood.name/countdown.html Catalan initialisation for the jQuery countdown extension Written by Amanida Media www.amanidamedia.com (2010) */ (function($) { $.countdown.regionalOptions['ca'] = { labels: ['Anys', 'Mesos', 'Setmanes', 'Dies', 'Hores', 'Minuts', 'Segons'], labels1: ['Anys', 'Mesos', 'Setmanes', 'Dies', 'Hores', 'Minuts', 'Segons'], compactLabels: ['a', 'm', 's', 'g'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['ca']); })(jQuery); jquery.countdown-da.js 0000777 00000001104 15251665410 0011032 0 ustar 00 /* http://keith-wood.name/countdown.html Danish initialisation for the jQuery countdown extension Written by Buch (admin@buch90.dk). */ (function($) { $.countdown.regionalOptions['da'] = { labels: ['År', 'Måneder', 'Uger', 'Dage', 'Timer', 'Minutter', 'Sekunder'], labels1: ['År', 'Måned', 'Uge', 'Dag', 'Time', 'Minut', 'Sekund'], compactLabels: ['Å', 'M', 'U', 'D'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['da']); })(jQuery); jquery.countdown-ja.js 0000777 00000001101 15251665410 0011035 0 ustar 00 /* http://keith-wood.name/countdown.html Japanese initialisation for the jQuery countdown extension Written by Ken Ishimoto (ken@ksroom.com) Aug 2009. */ (function($) { $.countdown.regionalOptions['ja'] = { labels: ['年', '月', '週', '日', '時', '分', '秒'], labels1: ['年', '月', '週', '日', '時', '分', '秒'], compactLabels: ['年', '月', '週', '日'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['ja']); })(jQuery); countdownLED.png 0000777 00000000523 15251665410 0007633 0 ustar 00 �PNG IHDR � �`6 IDATx�� �0�9J��i�.uJǓ������}�*CDd����/�G���Zk�7K�7�}ƣy�<V��n6>���Z��N���;G۱����t��y-_�����ˮ����[ X7�P��ҹ 8�����̓ �@A � �I&��UG��2u�L�"SG����ш���<.�;{���f"���O�܁�E�w�u���>j�qU��,�@A � ��� xO�~ߏʷ2>\?�s���hV�[�C���� �P�>���� IEND�B`� jquery.countdown-hy.js 0000777 00000001224 15251665410 0011071 0 ustar 00 /* http://keith-wood.name/countdown.html * Armenian initialisation for the jQuery countdown extension * Written by Artur Martirosyan. (artur{at}zoom.am) October 2011. */ (function($) { $.countdown.regionalOptions['hy'] = { labels: ['Տարի', 'Ամիս', 'Շաբաթ', 'Օր', 'Ժամ', 'Րոպե', 'Վարկյան'], labels1: ['Տարի', 'Ամիս', 'Շաբաթ', 'Օր', 'Ժամ', 'Րոպե', 'Վարկյան'], compactLabels: ['տ', 'ա', 'շ', 'օ'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['hy']); })(jQuery); jquery.countdown-bg.js 0000777 00000001325 15251665410 0011043 0 ustar 00 /* http://keith-wood.name/countdown.html * Bulgarian initialisation for the jQuery countdown extension * Written by Manol Trendafilov manol@rastermania.com (2010) */ (function($) { $.countdown.regionalOptions['bg'] = { labels: ['Години', 'Месеца', 'Седмица', 'Дни', 'Часа', 'Минути', 'Секунди'], labels1: ['Година', 'Месец', 'Седмица', 'Ден', 'Час', 'Минута', 'Секунда'], compactLabels: ['l', 'm', 'n', 'd'], compactLabels1: ['g', 'm', 'n', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['bg']); })(jQuery); jquery.countdown-fo.js 0000777 00000001161 15251665410 0011055 0 ustar 00 /* http://keith-wood.name/countdown.html Faroese initialisation for the jQuery countdown extension Written by Kasper Friis Christensen (kasper@friischristensen.com). */ (function($) { $.countdown.regionalOptions['fo'] = { labels: ['Ár', 'Mánaðir', 'Vikur', 'Dagar', 'Tímar', 'Minuttir', 'Sekund'], labels1: ['Ár', 'Mánaður', 'Vika', 'Dagur', 'Tími', 'Minuttur', 'Sekund'], compactLabels: ['Á', 'M', 'V', 'D'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['fo']); })(jQuery); jquery.countdown-pt-BR.js 0000777 00000001265 15251665410 0011402 0 ustar 00 /* http://keith-wood.name/countdown.html Brazilian initialisation for the jQuery countdown extension Translated by Marcelo Pellicano de Oliveira (pellicano@gmail.com) Feb 2008. and Juan Roldan (juan.roldan[at]relayweb.com.br) Mar 2012. */ (function($) { $.countdown.regionalOptions['pt-BR'] = { labels: ['Anos', 'Meses', 'Semanas', 'Dias', 'Horas', 'Minutos', 'Segundos'], labels1: ['Ano', 'M�s', 'Semana', 'Dia', 'Hora', 'Minuto', 'Segundo'], compactLabels: ['a', 'm', 's', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['pt-BR']); })(jQuery); jquery.countdown-gl.js 0000777 00000001167 15251665410 0011061 0 ustar 00 /* http://keith-wood.name/countdown.html * Galician initialisation for the jQuery countdown extension * Written by Moncho Pena ramon.pena.rodriguez@gmail.com (2009) and Angel Farrapeira */ (function($) { $.countdown.regionalOptions['gl'] = { labels: ['Anos', 'Meses', 'Semanas', 'Días', 'Horas', 'Minutos', 'Segundos'], labels1: ['Ano', 'Mes', 'Semana', 'Día', 'Hora', 'Minuto', 'Segundo'], compactLabels: ['a', 'm', 's', 'g'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['gl']); })(jQuery); jquery.countdown-nl.js 0000777 00000001141 15251665410 0011060 0 ustar 00 /* http://keith-wood.name/countdown.html Dutch initialisation for the jQuery countdown extension Written by Mathias Bynens <http://mathiasbynens.be/> Mar 2008. */ (function($) { $.countdown.regionalOptions['nl'] = { labels: ['Jaren', 'Maanden', 'Weken', 'Dagen', 'Uren', 'Minuten', 'Seconden'], labels1: ['Jaar', 'Maand', 'Week', 'Dag', 'Uur', 'Minuut', 'Seconde'], compactLabels: ['j', 'm', 'w', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['nl']); })(jQuery); jquery.countdown-de.js 0000777 00000001101 15251665410 0011033 0 ustar 00 /* http://keith-wood.name/countdown.html German initialisation for the jQuery countdown extension Written by Samuel Wulf. */ (function($) { $.countdown.regionalOptions['de'] = { labels: ['Jahre', 'Monate', 'Wochen', 'Tage', 'Stunden', 'Minuten', 'Sekunden'], labels1: ['Jahr', 'Monat', 'Woche', 'Tag', 'Stunde', 'Minute', 'Sekunde'], compactLabels: ['J', 'M', 'W', 'T'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['de']); })(jQuery); jquery.countdown-uz.js 0000777 00000001116 15251665410 0011107 0 ustar 00 /* http://keith-wood.name/countdown.html * Uzbek initialisation for the jQuery countdown extension * Written by Alisher U. (ulugbekov{at}gmail.com) August 2012. */ (function($) { $.countdown.regionalOptions['uz'] = { labels: ['Yil', 'Oy', 'Hafta', 'Kun', 'Soat', 'Daqiqa', 'Soniya'], labels1: ['Yil', 'Oy', 'Hafta', 'Kun', 'Soat', 'Daqiqa', 'Soniya'], compactLabels: ['y', 'o', 'h', 'k'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['uz']); })(jQuery); jquery.countdown-cs.js 0000777 00000001377 15251665410 0011067 0 ustar 00 /* http://keith-wood.name/countdown.html * Czech initialisation for the jQuery countdown extension * Written by Roman Chlebec (creamd@c64.sk) (2008) */ (function($) { $.countdown.regionalOptions['cs'] = { labels: ['Roků', 'Měsíců', 'Týdnů', 'Dní', 'Hodin', 'Minut', 'Sekund'], labels1: ['Rok', 'Měsíc', 'Týden', 'Den', 'Hodina', 'Minuta', 'Sekunda'], labels2: ['Roky', 'Měsíce', 'Týdny', 'Dny', 'Hodiny', 'Minuty', 'Sekundy'], compactLabels: ['r', 'm', 't', 'd'], whichLabels: function(amount) { return (amount == 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0)); }, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['cs']); })(jQuery); jquery.countdown-lt.js 0000777 00000001205 15251665410 0011067 0 ustar 00 /* http://keith-wood.name/countdown.html * Lithuanian localisation for the jQuery countdown extension * Written by Moacir P. de Sá Pereira (moacir{at}gmail.com) (2009) */ (function($) { $.countdown.regionalOptions['lt'] = { labels: ['Metų', 'Mėnesių', 'Savaičių', 'Dienų', 'Valandų', 'Minučių', 'Sekundžių'], labels1: ['Metai', 'Mėnuo', 'Savaitė', 'Diena', 'Valanda', 'Minutė', 'Sekundė'], compactLabels: ['m', 'm', 's', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['lt']); })(jQuery); jquery.countdown-sk.js 0000777 00000001413 15251665410 0011066 0 ustar 00 /* http://keith-wood.name/countdown.html * Slovak initialisation for the jQuery countdown extension * Written by Roman Chlebec (creamd@c64.sk) (2008) */ (function($) { $.countdown.regionalOptions['sk'] = { labels: ['Rokov', 'Mesiacov', 'Týždňov', 'Dní', 'Hodín', 'Minút', 'Sekúnd'], labels1: ['Rok', 'Mesiac', 'Týždeň', 'Deň', 'Hodina', 'Minúta', 'Sekunda'], labels2: ['Roky', 'Mesiace', 'Týždne', 'Dni', 'Hodiny', 'Minúty', 'Sekundy'], compactLabels: ['r', 'm', 't', 'd'], whichLabels: function(amount) { return (amount == 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0)); }, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['sk']); })(jQuery); jquery.countdown-ms.js 0000777 00000001124 15251665410 0011067 0 ustar 00 /* http://keith-wood.name/countdown.html Malay initialisation for the jQuery countdown extension Written by Jason Ong (jason{at}portalgroove.com) May 2010. */ (function($) { $.countdown.regionalOptions['ms'] = { labels: ['Tahun', 'Bulan', 'Minggu', 'Hari', 'Jam', 'Minit', 'Saat'], labels1: ['Tahun', 'Bulan', 'Minggu', 'Hari', 'Jam', 'Minit', 'Saat'], compactLabels: ['t', 'b', 'm', 'h'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['ms']); })(jQuery); jquery.countdown-et.js 0000777 00000001164 15251665410 0011064 0 ustar 00 /* http://keith-wood.name/countdown.html Estonian initialisation for the jQuery countdown extension Written by Helmer <helmer{at}city.ee> */ (function($) { $.countdown.regionalOptions['et'] = { labels: ['Aastat', 'Kuud', 'Nädalat', 'Päeva', 'Tundi', 'Minutit', 'Sekundit'], labels1: ['Aasta', 'Kuu', 'Nädal', 'Päev', 'Tund', 'Minut', 'Sekund'], compactLabels: ['a', 'k', 'n', 'p'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['et']); })(jQuery); countdownGlowing.gif 0000777 00000013367 15251665410 0010630 0 ustar 00 GIF89a�2 � H n E � J� = � 5 # �:�� �� +;�� 1 �� ��� P� ��:������������� N ������������ 6d� 6d�6c�5c� � L � 9 � �� � O O� � ���� � N � � � !� � , �2 �@�pH,�Ȥr�l:�ШtJ�Z�جv��z���xL���ty�n��pbnF���s�/�3g~��������l�}����G�:v{|�~�N��y�z��ux���jt5<��6<;����Qv5u������C��w���i�{|Ő�s�y�E��հ9�tƓ�ְ<���d�屰���ۦS�8�=;���˸�����u�y�͒�n��*�� �Y�̉��pF6T��@�c#�=��%�ѣFIV'��R�w,cB̏2��C�/��x;����Q���B�FN�H�Y<J�" m����iU)@n��ф*�(H�?NJ�v�S�o�]��=����S9�Z�Җ��m�&+��^�>�n�Zd��93�2�v �Z4E�pt�ځ��c�%����{��8;�[۹o��Ih)O�:[W�c�~�뫚�ja�Ȍ��4�k�Pڥ���eȠC����w���ױ�YL/}�ށ�v ��CE�`�� �GCh��`8P@_�!h�X��d�UNX1ܰ���i`� ��`"o-4��Y�b�7ό` ֙�18�� ��"�:�#^&�BB@dxG6�$q�I5 8��^IR��H�j2�`�wdH�u`�\*ހA�DH� i�c�<%Z��F������&�,�ގ�Z�� �(x�)�l�2)}8Y�x� D3�(��*��b���a�!҂R�.n�A�x`'�³�E�0��P��v��(�\Gۀ�6�菒�L{Y�|������ 0��S;������7����� ڪN�N�ّ��I$�j�驖 �+�˚�D��h��jz�xf��y�P�~�rg��ɣ��歂�y�hP"�� n�Ś��8��$X<�Z��BLB�`�m3�&��ɽ[�������B�_m��bq��%��㤃�#f�0ˌg��y��j�gb�<��3�$O'2�����%��qz���[�g�Bl%P�j�+堖�hx*.�˂�H�а�(��HGkC�Q�d�σ���|�� �Y�8Cb����M��V {��g}}o}Or 1On�OB_%NM佧p��儘�Ψ�Rb`a��^>`������$~8�/S��w��m"���C<���x��=V�#�<�>x���@rƃ�8��}.Ӭ��$&ɟS�%���=���Q�G�'N��� �T�h�#��Ns>����R����7A��nn���F�c1�B�)v�) $����y%���bH1��&[�I��@�Q�<��7���vqԉ^$%Bf�1j�&�D�>�qR{�� Ѩ� Y�1����)��-Nz��IF����� �������0S�-^ �n�G�4�E�S%�&h�m��.���>���&��i�IRP��!15��&�C6} �,��.��ڀ!Q��]YʗQlf< h�/�<��ف_Րr�t'< S�y�Ӟm��0+�)=��WH�' ��v1�d@O\~H @��A#7"�x�D�<�t-N�#%�$ண��j����sJ��/L�Y��7��q2!��m6�ݤ�R�# �θH5�Ȳt��g�2��LBS�jR㢒�y��{F7��/APG:����+�m��eE�i��U�����u�ր�9EJ�k����`�S���� s� �l�n�ϱ���M�,T��R��0 p��6wєB��.�R�2��o��p�:�Ԗ���Y�[��� �p��.gQ5aZ��.fo�k^�B�������p?�.]��$���+MZ١��㷔3e����Im�X3S���rO��`k�d;��>�b�����*H! +hc2C�@�zˡ3L"��r�)L_ j�a��Ę1G:�~�?hFX���rR�-*BS� ��Y �J�scm!+ؚċ��Lv�Z�)����T��2e7+\�1�(�$<@�耭` 0�(����o��'��_�m�V� ���ᒍ���6����b���k �I���G&�ֲ_L�ߐ틬Q��Sa|�w����̤�ؒc��A�O}w���^M���>o��B̉k09�Br��J��CLyf.� �9� �y&��20��Aג+����+)�=2�+��+:���:7r�mQD��y�y�&M ��@߽&4Nu^����v���ټ!�R�`{��[ڱ� �O^�S$ц. Ye�#Q0 �7���(��Q��Xy �K)��]r=uϏ`�T nHC�;�����]����:яKb�{��a�U�+n ܣ9�/mp������GWhDx�sȁI]�2�_/ .>!�lO{L3w����y�O:8�k[ <�\`�gg���B��,�7A�v;���K�)`�C�,�;~3�R:�H�W���Vz��z�xH�YfW!���V��[��^���&1�L2G.��� �gc������@#��X�_{ y��� @��̆��(�:Y���&�=���F>�;���:�э���?��ה����hG��FDB�B�K��b�s��JW�ò6Z����A�,c�J$T ��a�K�&��}�$n@wN���dMrA<�@B�A}� bt�<�7L$�g�y�း�g���;�s�ADF��t_�>�CH�Ff���D��+�G�AIq$_x&z!�f�|-��Y�qlȶ�K@�&2����F~9��'@ `E,�3Yd?Ʀ�1gAd��@�ka�G�alE*T62g@��)lUE�1ƣP�S!KV�-~�8v�7rE��F ;���΅�t3]�r,:�����X�!e"���#Fc��G:���R����P"i�[�16�C�'����(�� �@-��u��PH�Y��q�%Ub��s+��Oj�?���� ��*��Hc/��d��{��t-��Y�4�M �cZ��5��'7a��S7�� kL�r7)F'��6ԈY�ES�(yrh!Ds)i�x���w���葾'��Q�T/y$-��!ÈB&*C�"E��\X��S��|�;�"QBE��TK�(/,�҆�0R�T� ����$N{}�h;��L��<iy��O��cS3I�$���|җ!Д �Yuu�<89/ x.3��'Fs113u��6�cj�{����- C+,1/uQ�K�S�U��[�c��u�2��!�X��u�DC�:6��3��r#&�@�3�{�c� 9� Qz"%��~i{�$ �T/��2��;m�95��)ln��7���a%�qv�A8���4�Á+��%u�Im��^�`�!�� g6�S5�Da���Be`�G��P��a�Y7�,0v&�a�Gde��Y��y_��[�,~�eS�PW�^��A�c1�Gd�`��"�t��駟P�ψ+AB�Y!����<�d�c H@N(^�h�D���h����`*�J�������d�@�sDaZ�1�fBBHI�ؐ(��I�a�'l�Yt�lA�q����lz� c���G����ǜ%p��"`�|̸4��T�sY����w�$�a~e�JA�p�.�4 ��4�8ZS��҃S����d�t^'�/����g��KVS�F҆��!���O�������2pN�T%��Ц*Y�xX�4H�@6M �jœ�zgcTh9���}�� xPN�~9u�4�jF,�xP��;'I��(�aj��T��X w�v��zH5X�JN �& '��+xR(A"�5c��-�*�R煮��x��bٞ���[�/'�k� %N��jJ1-��N�nq���WF��[9z2'�w�U¡pPl�l�|HX�*[�@q����z�P�e納d�B�urY�YY��}�H?�N~����?�гV`��g3k�3���}�k2F�S�� z�d��%���A'X_G}5�Y�=�E:�!�(��pۘ-�M`H$"�6�]rq/{X�8�k������[�y���}�-���b֚�sQQR<��T�#���w����� �G����&û�ˋ�������<���D a�'g!j�������h�'d]w-$���c*i�)��+���~+#-�A�gh��Sڝk T Hj������;��`0�� p� # �Rm3��z��W�!o< ��&�]�6�(n����Hxi8T�*LS)��~Bf�8&�B��^���W��k��b��e��Fx�nA?q���q�a1lR��\4�iV,@�06�1O��=L�+Y#��$��:]K��m�Ԧ��"%���%)f'#�3����U\�9b|�,I�m�\|5�|�.�������8ђ��l�ez��+ {�X�.S��g�f�YP|�jƑ 6`=�sr�����}���� 0>|��*�iT�[me5��P\3�y����9q�\�%3 ܀�o�k7Cg��u��ƷL�tk��(�"��Y�R5rZ�Z� 6���H�[D�p��f n&x�4ߌ���ȼ���� x��dhF�ѵz?�Db�U�lV��yiۘl�6!#vA�5�d��M0ûĺ ��>n��JK�Ӊ� ��@�ԑ��1;��q�� ��������S0�J ���`&���L�i ��SC8nQ�GQ�ZZ#ŷɾǴN��N/�JVjd��N�Dz��mq�-�0�j*��bؚO<�(j[�&c)]M���1�z���̭�������z�@F��*���hF���Ӑl��z��ȭ����I��D��$�F�� ��@�-��:�6Béba�`���� ��-�`��g����M��M�F`��4$�X$��B�{���2���,�*��辢����'�9����k�}��XlwJ��������jX$i���� �=@��1��P,��w�Egj)@)��o�b��@:������]t�4 �������bt%+a�"ق��&��x� �#��ϔ���yy�j)(� ���<��]�i�ķ%ćFC/�!I��`&C(�Y����sY�}�j=Ȣ��?���m�����2�J�e�8�t嚜�j�R> %�+�B,ڠ���u`�#����w@s��$��7u�uk�\S�5S0�H6\��V ���Խ{?�v���9�P ����tG ���b�T9������v�*�>zY�b@ؙ�ꆎm���>��㺬����d�@끽~��&(�r)�3��hQ��+0����#��J�[C��/0�h(�Yyw������KU�X!��\��S�?���_+�Ԕ�n���߾!�y�?u�W??L�e2�FaI�y�L����5?磓�蟐e)mC��,g"$�#ߪ���d�T���p �aP�|dE�?~�{x����|�!,�l"�p�Bz��(��i���y@A!��Cl�T|���a�1��mjG�*��3�_P��r�߰DևW��/�������MI��@_d��3���/Q�j�w�����~a(�ِ_�5X^��Ɠh������"c���_����/���� ��x�����?��_�����!�i�?�X4�I��t>�Q�Z�^�Y�V:�}�a�[6��i��� ; jquery.plugin.min.js 0000777 00000006152 15251665410 0010520 0 ustar 00 /** Abstract base class for collection plugins v1.0.1. Written by Keith Wood (kbwood{at}iinet.com.au) December 2013. Licensed under the MIT (http://keith-wood.name/licence.html) license. */ (function(){var j=false;window.JQClass=function(){};JQClass.classes={};JQClass.extend=function extender(f){var g=this.prototype;j=true;var h=new this();j=false;for(var i in f){h[i]=typeof f[i]=='function'&&typeof g[i]=='function'?(function(d,e){return function(){var b=this._super;this._super=function(a){return g[d].apply(this,a||[])};var c=e.apply(this,arguments);this._super=b;return c}})(i,f[i]):f[i]}function JQClass(){if(!j&&this._init){this._init.apply(this,arguments)}}JQClass.prototype=h;JQClass.prototype.constructor=JQClass;JQClass.extend=extender;return JQClass}})();(function($){JQClass.classes.JQPlugin=JQClass.extend({name:'plugin',defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return'is-'+this.name},_init:function(){$.extend(this.defaultOptions,(this.regionalOptions&&this.regionalOptions[''])||{});var c=camelCase(this.name);$[c]=this;$.fn[c]=function(a){var b=Array.prototype.slice.call(arguments,1);if($[c]._isNotChained(a,b)){return $[c][a].apply($[c],[this[0]].concat(b))}return this.each(function(){if(typeof a==='string'){if(a[0]==='_'||!$[c][a]){throw'Unknown method: '+a;}$[c][a].apply($[c],[this].concat(b))}else{$[c]._attach(this,a)}})}},setDefaults:function(a){$.extend(this.defaultOptions,a||{})},_isNotChained:function(a,b){if(a==='option'&&(b.length===0||(b.length===1&&typeof b[0]==='string'))){return true}return $.inArray(a,this._getters)>-1},_attach:function(a,b){a=$(a);if(a.hasClass(this._getMarker())){return}a.addClass(this._getMarker());b=$.extend({},this.defaultOptions,this._getMetadata(a),b||{});var c=$.extend({name:this.name,elem:a,options:b},this._instSettings(a,b));a.data(this.name,c);this._postAttach(a,c);this.option(a,b)},_instSettings:function(a,b){return{}},_postAttach:function(a,b){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||'';f=f.replace(/'/g,'"');f=f.replace(/([a-zA-Z0-9]+):/g,function(a,b,i){var c=f.substring(0,i).match(/"/g);return(!c||c.length%2===0?'"'+b+'":':b+':')});f=$.parseJSON('{'+f+'}');for(var g in f){var h=f[g];if(typeof h==='string'&&h.match(/^new Date\((.*)\)$/)){f[g]=eval(h)}}return f}catch(e){return{}}},_getInst:function(a){return $(a).data(this.name)||{}},option:function(a,b,c){a=$(a);var d=a.data(this.name);if(!b||(typeof b==='string'&&c==null)){var e=(d||{}).options;return(e&&b?e[b]:e)}if(!a.hasClass(this._getMarker())){return}var e=b||{};if(typeof b==='string'){e={};e[b]=c}this._optionsChanged(a,d,e);$.extend(d.options,e)},_optionsChanged:function(a,b,c){},destroy:function(a){a=$(a);if(!a.hasClass(this._getMarker())){return}this._preDestroy(a,this._getInst(a));a.removeData(this.name).removeClass(this._getMarker())},_preDestroy:function(a,b){}});function camelCase(c){return c.replace(/-([a-z])/g,function(a,b){return b.toUpperCase()})}$.JQPlugin={createPlugin:function(a,b){if(typeof a==='object'){b=a;a='JQPlugin'}a=camelCase(a);var c=camelCase(b.name);JQClass.classes[c]=JQClass.classes[a].extend(b);new JQClass.classes[c]()}}})(jQuery); jquery.countdown-lv.js 0000777 00000001237 15251665410 0011076 0 ustar 00 /* http://keith-wood.name/countdown.html * Latvian initialisation for the jQuery countdown extension * Written by Jānis Peisenieks janis.peisenieks@gmail.com (2010) */ (function($) { $.countdown.regionalOptions['lv'] = { labels: ['Gadi', 'Mēneši', 'Nedēļas', 'Dienas', 'Stundas', 'Minūtes', 'Sekundes'], labels1: ['Gads', 'Mēnesis', 'Nedēļa', 'Diena', 'Stunda', 'Minūte', 'Sekunde'], compactLabels: ['l', 'm', 'n', 'd'], compactLabels1: ['g', 'm', 'n', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['lv']); })(jQuery); jquery.countdown-fi.js 0000777 00000001224 15251665410 0011047 0 ustar 00 /* http://keith-wood.name/countdown.html Finnish initialisation for the jQuery countdown extension Written by Kalle Vänskä and Juha Suni (juhis.suni@gmail.com). Corrected by Olli. */ (function($) { $.countdown.regionalOptions['fi'] = { labels: ['vuotta', 'kuukautta', 'viikkoa', 'päivää', 'tuntia', 'minuuttia', 'sekuntia'], labels1: ['vuosi', 'kuukausi', 'viikko', 'päivä', 'tunti', 'minuutti', 'sekunti'], compactLabels: ['v', 'kk', 'vk', 'pv'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['fi']); })(jQuery); jquery.countdown-ro.js 0000777 00000001116 15251665410 0011071 0 ustar 00 /* http://keith-wood.name/countdown.html * Romanian initialisation for the jQuery countdown extension * Written by Edmond L. (webmond@gmail.com). */ (function($) { $.countdown.regionalOptions['ro'] = { labels: ['Ani', 'Luni', 'Saptamani', 'Zile', 'Ore', 'Minute', 'Secunde'], labels1: ['An', 'Luna', 'Saptamana', 'Ziua', 'Ora', 'Minutul', 'Secunda'], compactLabels: ['A', 'L', 'S', 'Z'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['ro']); })(jQuery); jquery.countdown-th.js 0000777 00000001415 15251665410 0011066 0 ustar 00 /* http://keith-wood.name/countdown.html Thai initialisation for the jQuery countdown extension Written by Pornchai Sakulsrimontri (li_sin_th@yahoo.com). */ (function($) { $.countdown.regionalOptions['th'] = { labels: ['ปี', 'เดือน', 'สัปดาห์', 'วัน', 'ชั่วโมง', 'นาที', 'วินาที'], labels1: ['ปี', 'เดือน', 'สัปดาห์', 'วัน', 'ชั่วโมง', 'นาที', 'วินาที'], compactLabels: ['ปี', 'เดือน', 'สัปดาห์', 'วัน'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['th']); })(jQuery); jquery.countdown-cy.js 0000777 00000001166 15251665410 0011071 0 ustar 00 /* http://keith-wood.name/countdown.html Welsh initialisation for the jQuery countdown extension Written by Gareth Jones | http://garethvjones.com | October 2011. */ (function($) { $.countdown.regionalOptions['cy'] = { labels: ['Blynyddoedd', 'Mis', 'Wythnosau', 'Diwrnodau', 'Oriau', 'Munudau', 'Eiliadau'], labels1: ['Blwyddyn', 'Mis', 'Wythnos', 'Diwrnod', 'Awr', 'Munud', 'Eiliad'], compactLabels: ['b', 'm', 'w', 'd'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['cy']); })(jQuery); jquery.countdown-my.js 0000777 00000001422 15251665410 0011076 0 ustar 00 /* http://keith-wood.name/countdown.html Burmese initialisation for the jQuery countdown extension Written by Win Lwin Moe (winnlwinmoe@gmail.com) Dec 2009. */ (function($) { $.countdown.regionalOptions['my'] = { labels: ['နွစ္', 'လ', 'ရက္သတဿတပတ္', 'ရက္', 'နာရီ', 'မိနစ္', 'စကဿကန့္'], labels1: ['နွစ္', 'လ', 'ရက္သတဿတပတ္', 'ရက္', 'နာရီ', 'မိနစ္', 'စကဿကန့္'], compactLabels: ['နွစ္', 'လ', 'ရက္သတဿတပတ္', 'ရက္'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['my']); })(jQuery); jquery.countdown-zh-TW.js 0000777 00000001171 15251665410 0011423 0 ustar 00 /* http://keith-wood.name/countdown.html Traditional Chinese initialisation for the jQuery countdown extension Written by Cloudream (cloudream@gmail.com). */ (function($) { $.countdown.regionalOptions['zh-TW'] = { labels: ['年', '月', '周', '天', '時', '分', '秒'], labels1: ['年', '月', '周', '天', '時', '分', '秒'], compactLabels: ['年', '月', '周', '天'], compactLabels1: ['年', '月', '周', '天'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['zh-TW']); })(jQuery); jquery.countdown-sv.js 0000777 00000001117 15251665410 0011102 0 ustar 00 /* http://keith-wood.name/countdown.html Swedish initialisation for the jQuery countdown extension Written by Carl (carl@nordenfelt.com). */ (function($) { $.countdown.regionalOptions['sv'] = { labels: ['År', 'Månader', 'Veckor', 'Dagar', 'Timmar', 'Minuter', 'Sekunder'], labels1: ['År', 'Månad', 'Vecka', 'Dag', 'Timme', 'Minut', 'Sekund'], compactLabels: ['Å', 'M', 'V', 'D'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['sv']); })(jQuery); jquery.countdown-zh-CN.js 0000777 00000001170 15251665410 0011370 0 ustar 00 /* http://keith-wood.name/countdown.html Simplified Chinese initialisation for the jQuery countdown extension Written by Cloudream (cloudream@gmail.com). */ (function($) { $.countdown.regionalOptions['zh-CN'] = { labels: ['年', '月', '周', '天', '时', '分', '秒'], labels1: ['年', '月', '周', '天', '时', '分', '秒'], compactLabels: ['年', '月', '周', '天'], compactLabels1: ['年', '月', '周', '天'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['zh-CN']); })(jQuery); jquery.countdown-fa.js 0000777 00000001312 15251665410 0011035 0 ustar 00 /* http://keith-wood.name/countdown.html Persian (فارسی) initialisation for the jQuery countdown extension Written by Alireza Ziaie (ziai@magfa.com) Oct 2008. Digits corrected by Hamed Ramezanian Feb 2013. */ (function($) { $.countdown.regionalOptions['fa'] = { labels: ['سال', 'ماه', 'هفته', 'روز', 'ساعت', 'دقیقه', 'ثانیه'], labels1: ['سال', 'ماه', 'هفته', 'روز', 'ساعت', 'دقیقه', 'ثانیه'], compactLabels: ['س', 'م', 'ه', 'ر'], whichLabels: null, digits: ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'], timeSeparator: ':', isRTL: true}; $.countdown.setDefaults($.countdown.regionalOptions['fa']); })(jQuery); jquery.countdown-id.js 0000777 00000001104 15251665410 0011042 0 ustar 00 /* http://keith-wood.name/countdown.html Indonesian initialisation for the jQuery countdown extension Written by Erwin Yonathan Jan 2009. */ (function($) { $.countdown.regionalOptions['id'] = { labels: ['tahun', 'bulan', 'minggu', 'hari', 'jam', 'menit', 'detik'], labels1: ['tahun', 'bulan', 'minggu', 'hari', 'jam', 'menit', 'detik'], compactLabels: ['t', 'b', 'm', 'h'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['id']); })(jQuery); jquery.countdown-hu.js 0000777 00000001116 15251665410 0011065 0 ustar 00 /* http://keith-wood.name/countdown.html * Hungarian initialisation for the jQuery countdown extension * Written by Edmond L. (webmond@gmail.com). */ (function($) { $.countdown.regionalOptions['hu'] = { labels: ['Év', 'Hónap', 'Hét', 'Nap', 'Óra', 'Perc', 'Másodperc'], labels1: ['Év', 'Hónap', 'Hét', 'Nap', 'Óra', 'Perc', 'Másodperc'], compactLabels: ['É', 'H', 'Hé', 'N'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['hu']); })(jQuery); jquery.countdown-ml.js 0000777 00000002025 15251665410 0011061 0 ustar 00 /* http://keith-wood.name/countdown.html * Malayalam/(Indian>>Kerala) initialisation for the jQuery countdown extension * Written by Harilal.B (harilal1234@gmail.com) Feb 2013. */ (function($) { $.countdown.regionalOptions['ml'] = { labels: ['വര്ഷങ്ങള്', 'മാസങ്ങള്', 'ആഴ്ചകള്', 'ദിവസങ്ങള്', 'മണിക്കൂറുകള്', 'മിനിറ്റുകള്', 'സെക്കന്റുകള്'], labels1: ['വര്ഷം', 'മാസം', 'ആഴ്ച', 'ദിവസം', 'മണിക്കൂര്', 'മിനിറ്റ്', 'സെക്കന്റ്'], compactLabels: ['വ', 'മ', 'ആ', 'ദി'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], // digits: ['൦', '൧', '൨', '൩', '൪', '൫', '൬', '൭', '൮', '൯'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['ml']); })(jQuery); jquery.countdown-is.js 0000777 00000001201 15251665410 0011057 0 ustar 00 /* http://keith-wood.name/countdown.html Icelandic initialisation for the jQuery countdown extension Written by Róbert K. L. */ (function($) { $.countdown.regionalOptions['is'] = { labels: ['Ár', 'Mánuðir', 'Vikur', 'Dagar', 'Klukkustundir', 'Mínútur', 'Sekúndur'], labels1: ['Ár', 'Mánuður', 'Vika', 'Dagur', 'Klukkustund', 'Mínúta', 'Sekúnda'], compactLabels: ['ár.', 'mán.', 'vik.', 'dag.', 'klst.', 'mín.', 'sek.'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['is']); })(jQuery); jquery.countdown-ur.js 0000777 00000001245 15251665410 0011102 0 ustar 00 /* http://keith-wood.name/countdown.html Urdu (اردو) initialisation for the jQuery countdown extension Translated by Azhar Rasheed (azhar.rasheed19@gmail.com), November 2013. */ (function($) { $.countdown.regionalOptions['ur'] = { labels: ['سال','مہينے','ہفتے','دن','گھنٹے','منٹس','سيکنڑز'], labels1: ['سال','ماہ','ہفتہ','دن','گھنٹہ','منٹ','سیکنڈز'], compactLabels: ['(ق)', 'سینٹ', 'ایک', 'J'], whichLabels: null, digits: ['٠', '١', '٢', '٣', '۴', '۵', '۶', '۷', '٨', '٩'], timeSeparator: ':', isRTL: true}; $.countdown.setDefaults($.countdown.regionalOptions['ur']); })(jQuery); jquery.countdown-sq.js 0000777 00000001141 15251665410 0011072 0 ustar 00 /* http://keith-wood.name/countdown.html Albanian initialisation for the jQuery countdown extension Written by Erzen Komoni. */ (function($) { $.countdown.regionalOptions['sq'] = { labels: ['Vite', 'Muaj', 'Javë', 'Ditë', 'Orë', 'Minuta', 'Sekonda'], labels1: ['Vit', 'Muaj', 'Javë', 'Dit', 'Orë', 'Minutë', 'Sekond'], compactLabels: ['V', 'M', 'J', 'D'], whichLabels: null, digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'], timeSeparator: ':', isRTL: false}; $.countdown.setDefaults($.countdown.regionalOptions['sq']); })(jQuery); jquery.countdown-bn.js 0000777 00000002474 15251665410 0011060 0 ustar 00 ��/ * h t t p : / / k e i t h - w o o d . n a m e / c o u n t d o w n . h t m l * B e n g a l i / B a n g l a i n i t i a l i s a t i o n f o r t h e j Q u e r y c o u n t d o w n e x t e n s i o n * W r i t t e n b y M o h a m m e d T a j u d d i n ( t a j u d d i n @ c h i t t a g o n g - i t . c o m ) J a n 2 0 1 1 . * / ( f u n c t i o n ( $ ) { $ . c o u n t d o w n . r e g i o n a l O p t i o n s [ '