diff --git a/app/models/channel.rb b/app/models/channel.rb index 09c2e5a..5bdf0e0 100644 --- a/app/models/channel.rb +++ b/app/models/channel.rb @@ -90,6 +90,11 @@ class Channel < ActiveRecord::Base cattr_reader :per_page @@per_page = 15 + # replace channel values: %%channel_1417_field_1%% is replaced with appropriate value + def self.replace_values(input, user) + return input.gsub(/%%channel_\d+_field_\d+%%/) { |string| Channel.value_from_string(string, user) } + end + # access a last value by string: channel_1417_field_1 def self.value_from_string(channel_string, user) # remove % from the string and create the array diff --git a/config/locales/en.yml b/config/locales/en.yml index 5c88e6f..5c100b6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -420,7 +420,7 @@ en: help_apps_talkback: "Allow devices to execute queued commands." help_apps_thinghttp: "Create custom POSTs or GETs to other webservices and retrieve the data." help_apps_thingtweet: "Link your Twitter account to ThingSpeak and send Twitter messages using our simple API." - help_apps_timecontrol: "Automatically perform ThingHTTP requests at predetermined times." + help_apps_timecontrol: "Automatically perform ThingHTTP or ThingTweet requests at predetermined times." help_apps_tweetcontrol: "Listen to commands from Twitter and then perform an action." help_apps_react: "Perform actions when conditions are met by your data in your channels." help_channel: "Create a channel -- it can be for a device, app, or anything that can send data to ThingSpeak." @@ -459,7 +459,7 @@ en: help_thinghttp_example: "This will send your HTTP GET request to Google Finance and parse the response for an element having an ID of ref_626307_c, which corresponds to the S&P 500 current price change for the day." help_thinghttp_show: "You can now send your ThingHTTP request and view the response using the following URL:" help_thingtweet: "ThingTweet acts as a proxy to Twitter so that your devices can update Twitter statuses without having to implement Open Authentication (OAuth)." - help_timecontrol_index: "Create a TimeControl to automatically execute ThingHTTP requests at predetermined times." + help_timecontrol_index: "Create a TimeControl to automatically execute ThingHTTP or ThingTweet requests at predetermined times." help_timecontrol_show: "Your TimeControl will be automatically executed at the indicated time." help_tweetcontrol: "Use TweetControl to listen to specific trigger words from Twitter, and then process a ThingHTTP request." help_tweetcontrol_edit: "Select Anonymous TweetControl to allow anyone to trigger your TweetControl or fill in a specfic Twitter Account (don't include the '@' sign)." diff --git a/db/schema.rb b/db/schema.rb index 2041048..b5c2684 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140930202952) do +ActiveRecord::Schema.define(version: 20141007195311) do create_table "active_admin_comments", force: true do |t| t.string "namespace" @@ -324,11 +324,11 @@ ActiveRecord::Schema.define(version: 20140930202952) do create_table "timecontrols", force: true do |t| t.integer "user_id" t.integer "schedulable_id" - t.string "schedulable_type", limit: 50 - t.string "frequency", limit: 20 - t.integer "day", limit: 1 - t.integer "hour", limit: 1 - t.integer "minute", limit: 1 + t.string "schedulable_type", limit: 50 + t.string "frequency", limit: 20 + t.integer "day", limit: 1 + t.integer "hour", limit: 1 + t.integer "minute", limit: 1 t.integer "parent_id" t.datetime "last_event_at" t.text "last_response" @@ -336,7 +336,8 @@ ActiveRecord::Schema.define(version: 20140930202952) do t.datetime "updated_at" t.string "name" t.datetime "run_at" - t.integer "fuzzy_seconds", default: 0 + t.integer "fuzzy_seconds", default: 0 + t.string "schedulable_value" end add_index "timecontrols", ["frequency", "minute", "hour", "day"], name: "index_timecontrols_on_frequency_and_minute_and_hour_and_day", using: :btree diff --git a/public/assets/active_admin-fba677acf1e23e6ab4036a65bb163cc7.js b/public/assets/active_admin-fba677acf1e23e6ab4036a65bb163cc7.js new file mode 100644 index 0000000..245312a --- /dev/null +++ b/public/assets/active_admin-fba677acf1e23e6ab4036a65bb163cc7.js @@ -0,0 +1,8 @@ +!function(t,e){function i(t){var e=t.length,i=ce.type(t);return ce.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===i||"function"!==i&&(0===e||"number"==typeof e&&e>0&&e-1 in t)}function n(t){var e=Ce[t]={};return ce.each(t.match(de)||[],function(t,i){e[i]=!0}),e}function s(t,i,n,s){if(ce.acceptData(t)){var o,r,a=ce.expando,l=t.nodeType,h=l?ce.cache:t,c=l?t[a]:t[a]&&a;if(c&&h[c]&&(s||h[c].data)||n!==e||"string"!=typeof i)return c||(c=l?t[a]=ee.pop()||ce.guid++:a),h[c]||(h[c]=l?{}:{toJSON:ce.noop}),("object"==typeof i||"function"==typeof i)&&(s?h[c]=ce.extend(h[c],i):h[c].data=ce.extend(h[c].data,i)),r=h[c],s||(r.data||(r.data={}),r=r.data),n!==e&&(r[ce.camelCase(i)]=n),"string"==typeof i?(o=r[i],null==o&&(o=r[ce.camelCase(i)])):o=r,o}}function o(t,e,i){if(ce.acceptData(t)){var n,s,o=t.nodeType,r=o?ce.cache:t,l=o?t[ce.expando]:ce.expando;if(r[l]){if(e&&(n=i?r[l]:r[l].data)){ce.isArray(e)?e=e.concat(ce.map(e,ce.camelCase)):e in n?e=[e]:(e=ce.camelCase(e),e=e in n?[e]:e.split(" ")),s=e.length;for(;s--;)delete n[e[s]];if(i?!a(n):!ce.isEmptyObject(n))return}(i||(delete r[l].data,a(r[l])))&&(o?ce.cleanData([t],!0):ce.support.deleteExpando||r!=r.window?delete r[l]:r[l]=null)}}}function r(t,i,n){if(n===e&&1===t.nodeType){var s="data-"+i.replace(Se,"-$1").toLowerCase();if(n=t.getAttribute(s),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Te.test(n)?ce.parseJSON(n):n}catch(o){}ce.data(t,i,n)}else n=e}return n}function a(t){var e;for(e in t)if(("data"!==e||!ce.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function l(){return!0}function h(){return!1}function c(){try{return Q.activeElement}catch(t){}}function u(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function d(t,e,i){if(ce.isFunction(e))return ce.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return ce.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(Re.test(e))return ce.filter(e,t,i);e=ce.filter(e,t)}return ce.grep(t,function(t){return ce.inArray(t,e)>=0!==i})}function p(t){var e=Xe.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function f(t,e){return ce.nodeName(t,"table")&&ce.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function g(t){return t.type=(null!==ce.find.attr(t,"type"))+"/"+t.type,t}function m(t){var e=si.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function v(t,e){for(var i,n=0;null!=(i=t[n]);n++)ce._data(i,"globalEval",!e||ce._data(e[n],"globalEval"))}function y(t,e){if(1===e.nodeType&&ce.hasData(t)){var i,n,s,o=ce._data(t),r=ce._data(e,o),a=o.events;if(a){delete r.handle,r.events={};for(i in a)for(n=0,s=a[i].length;s>n;n++)ce.event.add(e,i,a[i][n])}r.data&&(r.data=ce.extend({},r.data))}}function b(t,e){var i,n,s;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!ce.support.noCloneEvent&&e[ce.expando]){s=ce._data(e);for(n in s.events)ce.removeEvent(e,n,s.handle);e.removeAttribute(ce.expando)}"script"===i&&e.text!==t.text?(g(e).text=t.text,m(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),ce.support.html5Clone&&t.innerHTML&&!ce.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&ei.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}}function _(t,i){var n,s,o=0,r=typeof t.getElementsByTagName!==U?t.getElementsByTagName(i||"*"):typeof t.querySelectorAll!==U?t.querySelectorAll(i||"*"):e;if(!r)for(r=[],n=t.childNodes||t;null!=(s=n[o]);o++)!i||ce.nodeName(s,i)?r.push(s):ce.merge(r,_(s,i));return i===e||i&&ce.nodeName(t,i)?ce.merge([t],r):r}function w(t){ei.test(t.type)&&(t.defaultChecked=t.checked)}function x(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,s=Di.length;s--;)if(e=Di[s]+i,e in t)return e;return n}function k(t,e){return t=e||t,"none"===ce.css(t,"display")||!ce.contains(t.ownerDocument,t)}function D(t,e){for(var i,n,s,o=[],r=0,a=t.length;a>r;r++)n=t[r],n.style&&(o[r]=ce._data(n,"olddisplay"),i=n.style.display,e?(o[r]||"none"!==i||(n.style.display=""),""===n.style.display&&k(n)&&(o[r]=ce._data(n,"olddisplay",N(n.nodeName)))):o[r]||(s=k(n),(i&&"none"!==i||!s)&&ce._data(n,"olddisplay",s?i:ce.css(n,"display"))));for(r=0;a>r;r++)n=t[r],n.style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?o[r]||"":"none"));return t}function C(t,e,i){var n=vi.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function T(t,e,i,n,s){for(var o=i===(n?"border":"content")?4:"width"===e?1:0,r=0;4>o;o+=2)"margin"===i&&(r+=ce.css(t,i+ki[o],!0,s)),n?("content"===i&&(r-=ce.css(t,"padding"+ki[o],!0,s)),"margin"!==i&&(r-=ce.css(t,"border"+ki[o]+"Width",!0,s))):(r+=ce.css(t,"padding"+ki[o],!0,s),"padding"!==i&&(r+=ce.css(t,"border"+ki[o]+"Width",!0,s)));return r}function S(t,e,i){var n=!0,s="width"===e?t.offsetWidth:t.offsetHeight,o=ci(t),r=ce.support.boxSizing&&"border-box"===ce.css(t,"boxSizing",!1,o);if(0>=s||null==s){if(s=ui(t,e,o),(0>s||null==s)&&(s=t.style[e]),yi.test(s))return s;n=r&&(ce.support.boxSizingReliable||s===t.style[e]),s=parseFloat(s)||0}return s+T(t,e,i||(r?"border":"content"),n,o)+"px"}function N(t){var e=Q,i=_i[t];return i||(i=P(t,e),"none"!==i&&i||(hi=(hi||ce("'),$("#iframe"+t).attr("src",src),$("#iframe"+t).attr("width",n),$("#iframe"+t).attr("height",r)}function updateSelectValues(){selectedValue=$(this).val(),$(".mutuallyexclusive"+index).each(function(){$(this).val("")}),$(this).val(selectedValue)}function setupChartForm(t){return function(e,n){n.length>0&&$("#"+n.split("=")[0]+"_"+t).val(decodeURIComponent(n.split("=")[1]))}}function setupColumns(t,e){$(sortColumnSetup(t,e)),$(".column").disableSelection()}function createWindowsWithData(t,e,n,r){for(var a in t){var i=t[a].window,o=i.window_type;colId=i.col,title=i.title;var s=i.html;"chart"===i.window_type&&$("body").append("
");var l=addWindow(r,colId,i.id,o,title,s);l.each(decoratePortlet(e)),l.find(".ui-toggle").click(uiToggleClick),l.find(".ui-view").click(uiViewClick(n)),l.find(".ui-edit").click(uiEditClick(n)),l.find(".ui-close").click(uiCloseClick(n))}}function addWindow(t,e,n,r,a,i){if($("#"+t+"_dialog"+e).append('
'+a+'
'+i+"
"),$("#portlet_"+n).length>1)throw"Portlet count doesn't match what's expected";return $("#portlet_"+n)}function sortColumnSetup(t,e){$(".column").sortable({opacity:.6,helper:function(){return $("
Drop to re-position
")},connectWith:".column",update:updatePortletPositions(t,e)})}function getPortletArray(t){var e=new Array,n=t.split("&");for(i in n)val=n[i].split("=")[1],e.push(val);return e}function uiToggleClick(){$(this).toggleClass("ui-icon-minusthick").toggleClass("ui-icon-plusthick"),$(this).parents(".portlet:first").find(".portlet-content").toggle()}!function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,r=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHeader("X-CSRF-Token",n)},fire:function(e,n,r){var a=t.Event(n);return e.trigger(a,r),a.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t.attr("href")},handleRemote:function(r){var a,i,o,s,l,u,c,d;if(n.fire(r,"ajax:before")){if(s=r.data("cross-domain"),l=s===e?null:s,u=r.data("with-credentials")||null,c=r.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,r.is("form")){a=r.attr("method"),i=r.attr("action"),o=r.serializeArray();var h=r.data("ujs:submit-button");h&&(o.push(h),r.data("ujs:submit-button",null))}else r.is(n.inputChangeSelector)?(a=r.data("method"),i=r.data("url"),o=r.serialize(),r.data("params")&&(o=o+"&"+r.data("params"))):r.is(n.buttonClickSelector)?(a=r.data("method")||"get",i=r.data("url"),o=r.serialize(),r.data("params")&&(o=o+"&"+r.data("params"))):(a=r.data("method"),i=n.href(r),o=r.data("params")||null);d={type:a||"GET",data:o,dataType:c,beforeSend:function(t,a){return a.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+a.accepts.script),n.fire(r,"ajax:beforeSend",[t,a])},success:function(t,e,n){r.trigger("ajax:success",[t,e,n])},complete:function(t,e){r.trigger("ajax:complete",[t,e])},error:function(t,e,n){r.trigger("ajax:error",[t,e,n])},crossDomain:l},u&&(d.xhrFields={withCredentials:u}),i&&(d.url=i);var f=n.ajax(d);return r.trigger("ajax:send",f),f}return!1},handleMethod:function(r){var a=n.href(r),i=r.data("method"),o=r.attr("target"),s=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),u=t('
'),c='';l!==e&&s!==e&&(c+=''),o&&u.attr("target",o),u.hide().append(c).appendTo("body"),u.submit()},disableFormElements:function(e){e.find(n.disableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with",e[n]()),e[n](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(n.enableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[n](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(t){var e,r=t.data("confirm"),a=!1;return r?(n.fire(t,"confirm")&&(a=n.confirm(r),e=n.fire(t,"confirm:complete",[a])),a&&e):!0},blankInputs:function(e,n,r){var a,i,o=t(),s=n||"input,textarea",l=e.find(s);return l.each(function(){if(a=t(this),i=a.is("input[type=checkbox],input[type=radio]")?a.is(":checked"):a.val(),!i==!r){if(a.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+a.attr("name")+'"]').length)return!0;o=o.add(a)}}),o.length?o:!1},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return n.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},n.fire(r,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,r){t.crossDomain||n.CSRFProtection(r)}),r.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(t(this))}),r.delegate(n.linkClickSelector,"click.rails",function(r){var a=t(this),i=a.data("method"),o=a.data("params");if(!n.allowAction(a))return n.stopEverything(r);if(a.is(n.linkDisableSelector)&&n.disableElement(a),a.data("remote")!==e){if(!(!r.metaKey&&!r.ctrlKey||i&&"GET"!==i||o))return!0;var s=n.handleRemote(a);return s===!1?n.enableElement(a):s.error(function(){n.enableElement(a)}),!1}return a.data("method")?(n.handleMethod(a),!1):void 0}),r.delegate(n.buttonClickSelector,"click.rails",function(e){var r=t(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(e)}),r.delegate(n.inputChangeSelector,"change.rails",function(e){var r=t(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(e)}),r.delegate(n.formSubmitSelector,"submit.rails",function(r){var a=t(this),i=a.data("remote")!==e,o=n.blankInputs(a,n.requiredInputSelector),s=n.nonBlankInputs(a,n.fileInputSelector);if(!n.allowAction(a))return n.stopEverything(r);if(o&&a.attr("novalidate")==e&&n.fire(a,"ajax:aborted:required",[o]))return n.stopEverything(r);if(i){if(s){setTimeout(function(){n.disableFormElements(a)},13);var l=n.fire(a,"ajax:aborted:file",[s]);return l||setTimeout(function(){n.enableFormElements(a)},13),l}return n.handleRemote(a),!1}setTimeout(function(){n.disableFormElements(a)},13)}),r.delegate(n.formInputClickSelector,"click.rails",function(e){var r=t(this);if(!n.allowAction(r))return n.stopEverything(e);var a=r.attr("name"),i=a?{name:a,value:r.val()}:null;r.closest("form").data("ujs:submit-button",i)}),r.delegate(n.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&n.disableFormElements(t(this))}),r.delegate(n.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&n.enableFormElements(t(this))}),t(function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)}))}(jQuery),function(){var t,e,n,r,a,i,o,s,l,u,c,d,h,f,p,m,g,v,b,y,w,x,S,$,k,E,C,T,_,N,I,A,L,F,R,P,O,D,j,H,q,B,M,z,U,V,W,G,Q,X,Y,K,Z,J=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},te={}.hasOwnProperty,ee=function(t,e){function n(){this.constructor=t}for(var r in e)te.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},ne=[].slice;A={},h=10,G=!1,v=null,N=null,D=null,g=null,K=null,r={BEFORE_CHANGE:"page:before-change",FETCH:"page:fetch",RECEIVE:"page:receive",CHANGE:"page:change",UPDATE:"page:update",LOAD:"page:load",RESTORE:"page:restore",BEFORE_UNLOAD:"page:before-unload",EXPIRE:"page:expire"},x=function(t){var e;return t=new n(t),M(),d(),G&&(e=Q(t.absolute))?(S(e),$(t)):$(t,V)},Q=function(t){var e;return e=A[t],e&&!e.transitionCacheDisabled?e:void 0},b=function(t){return null==t&&(t=!0),G=t},$=function(t,e){return null==e&&(e=function(){return function(){}}(this)),X(r.FETCH,{url:t.absolute}),null!=K&&K.abort(),K=new XMLHttpRequest,K.open("GET",t.withoutHashForIE10compatibility(),!0),K.setRequestHeader("Accept","text/html, application/xhtml+xml, application/xml"),K.setRequestHeader("X-XHR-Referer",D),K.onload=function(){var n;return X(r.RECEIVE,{url:t.absolute}),(n=P())?(j(t),f.apply(null,w(n)),I(),H(),e(),X(r.LOAD)):document.location.href=t.absolute},K.onloadend=function(){return K=null},K.onerror=function(){return document.location.href=t.absolute},K.send()},S=function(t){return null!=K&&K.abort(),f(t.title,t.body),O(t),X(r.RESTORE)},d=function(){var t;return t=new n(v.url),A[t.absolute]={url:t.relative,body:document.body,title:document.title,positionY:window.pageYOffset,positionX:window.pageXOffset,cachedAt:(new Date).getTime(),transitionCacheDisabled:null!=document.querySelector("[data-no-transition-cache]")},m(h)},F=function(t){return null==t&&(t=h),/^[\d]+$/.test(t)?h=parseInt(t):void 0},m=function(t){var e,n,a,i,o,s;for(a=Object.keys(A),e=a.map(function(t){return A[t].cachedAt}).sort(function(t,e){return e-t}),s=[],i=0,o=a.length;o>i;i++)n=a[i],A[n].cachedAt<=e[t]&&(X(r.EXPIRE,A[n]),s.push(delete A[n]));return s},f=function(e,n,a,i){return X(r.BEFORE_UNLOAD),document.title=e,document.documentElement.replaceChild(n,document.body),null!=a&&t.update(a),W(),i&&y(),v=window.history.state,X(r.CHANGE),X(r.UPDATE)},y=function(){var t,e,n,r,a,i,o,s,l,u,c,d;for(i=Array.prototype.slice.call(document.body.querySelectorAll('script:not([data-turbolinks-eval="false"])')),o=0,l=i.length;l>o;o++)if(a=i[o],""===(c=a.type)||"text/javascript"===c){for(e=document.createElement("script"),d=a.attributes,s=0,u=d.length;u>s;s++)t=d[s],e.setAttribute(t.name,t.value);a.hasAttribute("async")||(e.async=!1),e.appendChild(document.createTextNode(a.innerHTML)),r=a.parentNode,n=a.nextSibling,r.removeChild(a),r.insertBefore(e,n)}},z=function(t){return t.innerHTML=t.innerHTML.replace(//gi,""),t},W=function(){var t,e;return t=(e=document.querySelectorAll("input[autofocus], textarea[autofocus]"))[e.length-1],t&&document.activeElement!==t?t.focus():void 0},j=function(t){return(t=new n(t)).absolute!==D?window.history.pushState({turbolinks:!0,url:t.absolute},"",t.absolute):void 0},H=function(){var t,e;return(t=K.getResponseHeader("X-XHR-Redirected-To"))?(t=new n(t),e=t.hasNoHash()?document.location.hash:"",window.history.replaceState(v,"",t.href+e)):void 0},M=function(){return D=document.location.href},B=function(){return window.history.replaceState({turbolinks:!0,url:document.location.href},"",document.location.href)},q=function(){return v=window.history.state},I=function(){var t;return navigator.userAgent.match(/Firefox/)&&!(t=new n).hasNoHash()?(window.history.replaceState(v,"",t.withoutHash()),document.location.hash=t.hash):void 0},O=function(t){return window.scrollTo(t.positionX,t.positionY)},V=function(){return document.location.hash?document.location.href=document.location.href:window.scrollTo(0,0)},p=function(t){var e,n,r;if(null==t||"object"!=typeof t)return t;e=new t.constructor;for(n in t)r=t[n],e[n]=p(r);return e},R=function(t){var e,n;return e=(null!=(n=document.cookie.match(new RegExp(t+"=(\\w+)")))?n[1].toUpperCase():void 0)||"",document.cookie=t+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/",e},X=function(t,e){var n;return"undefined"!=typeof Prototype&&Event.fire(document,t,e,!0),n=document.createEvent("Events"),e&&(n.data=e),n.initEvent(t,!0,!0),document.dispatchEvent(n)},L=function(t){return!X(r.BEFORE_CHANGE,{url:t})},P=function(){var t,e,n,r,a,i;return e=function(){var t;return 400<=(t=K.status)&&600>t},i=function(){var t;return null!=(t=K.getResponseHeader("Content-Type"))&&t.match(/^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/)},r=function(t){var e,n,r,a,i;for(a=t.querySelector("head").childNodes,i=[],n=0,r=a.length;r>n;n++)e=a[n],null!=("function"==typeof e.getAttribute?e.getAttribute("data-turbolinks-track"):void 0)&&i.push(e.getAttribute("src")||e.getAttribute("href"));return i},t=function(t){var e;return N||(N=r(document)),e=r(t),e.length!==N.length||a(e,N).length!==N.length},a=function(t,e){var n,r,a,i,o;for(t.length>e.length&&(i=[e,t],t=i[0],e=i[1]),o=[],r=0,a=t.length;a>r;r++)n=t[r],J.call(e,n)>=0&&o.push(n);return o},!e()&&i()&&(n=g(K.responseText),n&&!t(n))?n:void 0},w=function(e){var n;return n=e.querySelector("title"),[null!=n?n.textContent:void 0,z(e.querySelector("body")),t.get(e).token,"runScripts"]},t={get:function(t){var e;return null==t&&(t=document),{node:e=t.querySelector('meta[name="csrf-token"]'),token:null!=e&&"function"==typeof e.getAttribute?e.getAttribute("content"):void 0}},update:function(t){var e;return e=this.get(),null!=e.token&&null!=t&&e.token!==t?e.node.setAttribute("content",t):void 0}},i=function(){var t,e,n,r,a,i,o,s,l,u;r=function(t){return(new DOMParser).parseFromString(t,"text/html")},e=function(t){var e;return e=document.implementation.createHTMLDocument(""),e.documentElement.innerHTML=t,e},a=function(t){var e;return e=document.implementation.createHTMLDocument(""),e.open("replace"),e.write(t),e.close(),e},n=function(t){var e,n,r,a,i,o;return r=(null!=(i=t.match(/]*>([\s\S.]*)<\/head>/i))?i[0]:void 0)||"",e=(null!=(o=t.match(/]*>([\s\S.]*)<\/body>/i))?o[0]:void 0)||"",a=document.createElement("html"),a.innerHTML=r+e,n=document.createDocumentFragment(),n.appendChild(a),n},t=function(t){var e,r,i;return e=function(t,e){return{passes:e(),fallback:t}},i=e(a,function(){return function(){var e,n;return 1===(null!=(e=t("

test"))&&null!=(n=e.body)?n.childNodes.length:void 0)}}(this)),r=e(n,function(){return function(){var e,n;return 2===(null!=(e=t("

"))&&null!=(n=e.body)?n.childNodes.length:void 0)}}(this)),[i,r]};try{if(window.DOMParser)return o=t(r),r}catch(c){return s=c,o=t(e),e}finally{for(l=0,u=o.length;u>l;l++)if(i=o[l],!i.passes)return i.fallback}},n=function(){function t(e){return this.original=null!=e?e:document.location.href,this.original.constructor===t?this.original:void this._parse()}return t.prototype.withoutHash=function(){return this.href.replace(this.hash,"").replace("#","")},t.prototype.withoutHashForIE10compatibility=function(){return this.withoutHash()},t.prototype.hasNoHash=function(){return 0===this.hash.length},t.prototype._parse=function(){var t;return(null!=this.link?this.link:this.link=document.createElement("a")).href=this.original,t=this.link,this.href=t.href,this.protocol=t.protocol,this.host=t.host,this.hostname=t.hostname,this.port=t.port,this.pathname=t.pathname,this.search=t.search,this.hash=t.hash,this.origin=[this.protocol,"//",this.hostname].join(""),0!==this.port.length&&(this.origin+=":"+this.port),this.relative=[this.pathname,this.search,this.hash].join(""),this.absolute=this.href},t}(),a=function(t){function e(t){return this.link=t,this.link.constructor===e?this.link:(this.original=this.link.href,this.originalElement=this.link,this.link=this.link.cloneNode(!1),void e.__super__.constructor.apply(this,arguments))}return ee(e,t),e.HTML_EXTENSIONS=["html"],e.allowExtensions=function(){var t,n,r,a;for(n=1<=arguments.length?ne.call(arguments,0):[],r=0,a=n.length;a>r;r++)t=n[r],e.HTML_EXTENSIONS.push(t);return e.HTML_EXTENSIONS},e.prototype.shouldIgnore=function(){return this._crossOrigin()||this._anchored()||this._nonHtml()||this._optOut()||this._target()},e.prototype._crossOrigin=function(){return this.origin!==(new n).origin},e.prototype._anchored=function(){return(this.hash.length>0||"#"===this.href.charAt(this.href.length-1))&&this.withoutHash()===(new n).withoutHash()},e.prototype._nonHtml=function(){return this.pathname.match(/\.[a-z]+$/g)&&!this.pathname.match(new RegExp("\\.(?:"+e.HTML_EXTENSIONS.join("|")+")?$","g"))},e.prototype._optOut=function(){var t,e;for(e=this.originalElement;!t&&e!==document;)t=null!=e.getAttribute("data-no-turbolink"),e=e.parentNode;return t},e.prototype._target=function(){return 0!==this.link.target.length},e}(n),e=function(){function t(t){this.event=t,this.event.defaultPrevented||(this._extractLink(),this._validForTurbolinks()&&(L(this.link.absolute)||Y(this.link.href),this.event.preventDefault()))}return t.installHandlerLast=function(e){return e.defaultPrevented?void 0:(document.removeEventListener("click",t.handle,!1),document.addEventListener("click",t.handle,!1))},t.handle=function(e){return new t(e)},t.prototype._extractLink=function(){var t;for(t=this.event.target;t.parentNode&&"A"!==t.nodeName;)t=t.parentNode;return"A"===t.nodeName&&0!==t.href.length?this.link=new a(t):void 0},t.prototype._validForTurbolinks=function(){return null!=this.link&&!(this.link.shouldIgnore()||this._nonStandardClick())},t.prototype._nonStandardClick=function(){return this.event.which>1||this.event.metaKey||this.event.ctrlKey||this.event.shiftKey||this.event.altKey},t}(),c=function(t){return setTimeout(t,500)},C=function(){return document.addEventListener("DOMContentLoaded",function(){return X(r.CHANGE),X(r.UPDATE)},!0)},_=function(){return"undefined"!=typeof jQuery?jQuery(document).on("ajaxSuccess",function(t,e){return jQuery.trim(e.responseText)?X(r.UPDATE):void 0}):void 0},T=function(t){var e,r;return(null!=(r=t.state)?r.turbolinks:void 0)?(e=A[new n(t.state.url).absolute])?(d(),S(e)):Y(t.target.location.href):void 0},E=function(){return B(),q(),g=i(),document.addEventListener("click",e.installHandlerLast,!0),window.addEventListener("hashchange",function(){return B(),q()},!1),c(function(){return window.addEventListener("popstate",T,!1)})},k=void 0!==window.history.state||navigator.userAgent.match(/Firefox\/2[6|7]/),l=window.history&&window.history.pushState&&window.history.replaceState&&k,o=!navigator.userAgent.match(/CriOS\//),U="GET"===(Z=R("request_method"))||""===Z,u=l&&o&&U,s=document.addEventListener&&document.createEvent,s&&(C(),_()),u?(Y=x,E()):Y=function(t){return document.location.href=t},this.Turbolinks={visit:Y,pagesCached:F,enableTransitionCache:b,allowLinkExtensions:a.allowExtensions,supported:u,EVENTS:p(r)}}.call(this),function(t){t.cookie=function(e,n,r){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(n))||null===n||void 0===n)){if(r=t.extend({},r),(null===n||void 0===n)&&(r.expires=-1),"number"==typeof r.expires){var a=r.expires,i=r.expires=new Date;i.setDate(i.getDate()+a)}return n=String(n),document.cookie=[encodeURIComponent(e),"=",r.raw?n:encodeURIComponent(n),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}r=n||{};for(var o,s=r.raw?function(t){return t}:decodeURIComponent,l=document.cookie.split("; "),u=0;o=l[u]&&l[u].split("=");u++)if(s(o[0])===e)return s(o[1]||"");return null}}(jQuery);var createWindows=function(t,e,n){return function(r){createWindowsWithData(r,t,e,n)}},updatePortletPositions=function(t,e){return function(){if(t){var n=$(this).sortable("serialize");colId=$(this).attr("id").charAt($(this).attr("id").length-1),portletArray=getPortletArray(n),jsonResult={col:colId,positions:portletArray},portletArray.length>0&&$.ajax({type:"PUT",url:"../channels/"+e+"/windows",data:{_method:"PUT",page:JSON.stringify(jsonResult)},dataType:"json"})}}},decoratePortlet=function(t){return function(){var e=$(this).find(".portlet-header");return e.append(""),thisObject=$(this),"true"==t?(thisObject.find(".window_type").prepend(""),thisObject.find(".window_type-chart").append(""),thisObject.find(".window_type").append(""),thisObject.find(".portlet-header").css("cursor","move")):$(".column").sortable({disabled:!0}),$(this).attr("id")}},uiEditClick=function(t){return function(){var e=$(this).parents(".portlet:first").attr("id").substring(8),n="";$("#chartConfig"+e).load("/channels/"+t+"/charts/"+e+"/edit",function(){n=$("#chartOptions"+e).html(),"undefined"!=n&&n.length>2&&$.each(n.split("&"),setupChartForm(e)),$("#button"+e).click(function(){updateChart(e,!0,450,250,t,!0),$("#chartConfig"+e).dialog("close")})}).dialog({title:"Chart Options",modal:!0,resizable:!1,width:500,dialogClass:"dev-info-dialog"})}},uiViewClick=function(t){return function(){var e=$(this).parents(".portlet:first").find(".portlet-content").offset().left,n=$(this).parents(".portlet:first").find(".portlet-content").offset().top,r=$(this).parents(".portlet:first").attr("id").substring(8);$("body").append(''),$.get("/channels/"+t+"/windows/"+r+"/iframe",function(t){var e=t.replace(/id=\"iframe[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?\"/,"");$("#iframeinner"+r).text(e)}),$("#iframepopup"+r).dialog({resizable:!1,width:"300px",position:[e+200,n-200],title:"Chart Iframe",dialogClass:"dev-info-dialog"})}},uiCloseClick=function(t){return function(){var e=$(this).parents(".portlet:first").attr("id").substring(8),n=$(this).parents(".portlet:first");$.update("/channels/"+t+"/windows/"+e+"/hide",function(){n.hide("drop",function(){n.remove()})})}};!function(t){function e(){var e=n(this);return isNaN(e.datetime)||t(this).text(r(e.datetime)),this}function n(e){if(e=t(e),!e.data("timeago")){e.data("timeago",{datetime:i.datetime(e)});var n=t.trim(e.text());n.length>0&&e.attr("title",n)}return e.data("timeago")}function r(t){return i.inWords(a(t))}function a(t){return(new Date).getTime()-t.getTime()}t.timeago=function(e){return r(e instanceof Date?e:"string"==typeof e?t.timeago.parse(e):t.timeago.datetime(e))};var i=t.timeago;t.extend(t.timeago,{settings:{refreshMillis:6e4,allowFuture:!1,strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",numbers:[]}},inWords:function(e){function n(n,a){var i=t.isFunction(n)?n(a,e):n,o=r.numbers&&r.numbers[a]||a;return i.replace(/%d/i,o)}var r=this.settings.strings,a=r.prefixAgo,i=r.suffixAgo;this.settings.allowFuture&&(0>e&&(a=r.prefixFromNow,i=r.suffixFromNow),e=Math.abs(e));var o=e/1e3,s=o/60,l=s/60,u=l/24,c=u/365,d=45>o&&n(r.seconds,Math.round(o))||90>o&&n(r.minute,1)||45>s&&n(r.minutes,Math.round(s))||90>s&&n(r.hour,1)||24>l&&n(r.hours,Math.round(l))||48>l&&n(r.day,1)||30>u&&n(r.days,Math.floor(u))||60>u&&n(r.month,1)||365>u&&n(r.months,Math.floor(u/30))||2>c&&n(r.year,1)||n(r.years,Math.floor(c));return t.trim([a,d,i].join(" "))},parse:function(e){var n=t.trim(e);return n=n.replace(/\.\d\d\d+/,""),n=n.replace(/-/,"/").replace(/-/,"/"),n=n.replace(/T/," ").replace(/Z/," UTC"),n=n.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(n)},datetime:function(e){var n="time"===t(e).get(0).tagName.toLowerCase(),r=t(e).attr(n?"datetime":"title");return i.parse(r)}}),t.fn.timeago=function(){var t=this;t.each(e);var n=i.settings;return n.refreshMillis>0&&setInterval(function(){t.each(e)},n.refreshMillis),t},document.createElement("abbr"),document.createElement("time")}(jQuery),function($){$.extend({tablesorter:new function(){function benchmark(t,e){log(t+","+((new Date).getTime()-e.getTime())+"ms")}function log(t){"undefined"!=typeof console&&"undefined"!=typeof console.debug?console.log(t):alert(t)}function buildParserCache(t,e){if(t.config.debug)var n="";if(0!=t.tBodies.length){var r=t.tBodies[0].rows;if(r[0])for(var a=[],i=r[0].cells,o=i.length,s=0;o>s;s++){var l=!1;$.metadata&&$(e[s]).metadata()&&$(e[s]).metadata().sorter?l=getParserById($(e[s]).metadata().sorter):t.config.headers[s]&&t.config.headers[s].sorter&&(l=getParserById(t.config.headers[s].sorter)),l||(l=detectParserForColumn(t,r,-1,s)),t.config.debug&&(n+="column:"+s+" parser:"+l.id+"\n"),a.push(l)}return t.config.debug&&log(n),a}}function detectParserForColumn(t,e,n,r){for(var a=parsers.length,i=!1,o=!1,s=!0;""==o&&s;)n++,e[n]?(i=getNodeFromRowAndCellIndex(e,n,r),o=trimAndGetNodeText(t.config,i),t.config.debug&&log("Checking if value was empty on row:"+n)):s=!1;for(var l=1;a>l;l++)if(parsers[l].is(o,t,i))return parsers[l];return parsers[0]}function getNodeFromRowAndCellIndex(t,e,n){return t[e].cells[n]}function trimAndGetNodeText(t,e){return $.trim(getElementText(t,e))}function getParserById(t){for(var e=parsers.length,n=0;e>n;n++)if(parsers[n].id.toLowerCase()==t.toLowerCase())return parsers[n];return!1}function buildCache(t){if(t.config.debug)var e=new Date;for(var n=t.tBodies[0]&&t.tBodies[0].rows.length||0,r=t.tBodies[0].rows[0]&&t.tBodies[0].rows[0].cells.length||0,a=t.config.parsers,i={row:[],normalized:[]},o=0;n>o;++o){var s=$(t.tBodies[0].rows[o]),l=[];if(s.hasClass(t.config.cssChildRow))i.row[i.row.length-1]=i.row[i.row.length-1].add(s);else{i.row.push(s);for(var u=0;r>u;++u)l.push(a[u].format(getElementText(t.config,s[0].cells[u]),t,s[0].cells[u]));l.push(i.normalized.length),i.normalized.push(l),l=null}}return t.config.debug&&benchmark("Building cache for "+n+" rows:",e),i}function getElementText(t,e){var n="";return e?(t.supportsTextContent||(t.supportsTextContent=e.textContent||!1),n="simple"==t.textExtraction?t.supportsTextContent?e.textContent:e.childNodes[0]&&e.childNodes[0].hasChildNodes()?e.childNodes[0].innerHTML:e.innerHTML:"function"==typeof t.textExtraction?t.textExtraction(e):$(e).text()):""}function appendToTable(t,e){if(t.config.debug)var n=new Date;for(var r=e,a=r.row,i=r.normalized,o=i.length,s=i[0].length-1,l=$(t.tBodies[0]),u=[],c=0;o>c;c++){var d=i[c][s];if(u.push(a[d]),!t.config.appender)for(var h=a[d].length,f=0;h>f;f++)l[0].appendChild(a[d][f])}t.config.appender&&t.config.appender(t,u),u=null,t.config.debug&&benchmark("Rebuilt table:",n),applyWidget(t),setTimeout(function(){$(t).trigger("sortEnd")},0)}function buildHeaders(t){if(t.config.debug)var e=new Date;var n=($.metadata?!0:!1,computeTableHeaderCellIndexes(t));return $tableHeaders=$(t.config.selectorHeaders,t).each(function(e){if(this.column=n[this.parentNode.rowIndex+"-"+this.cellIndex],this.order=formatSortingOrder(t.config.sortInitialOrder),this.count=this.order,(checkHeaderMetadata(this)||checkHeaderOptions(t,e))&&(this.sortDisabled=!0),checkHeaderOptionsSortingLocked(t,e)&&(this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(t,e)),!this.sortDisabled){var r=$(this).addClass(t.config.cssHeader);t.config.onRenderHeader&&t.config.onRenderHeader.apply(r)}t.config.headerList[e]=this}),t.config.debug&&(benchmark("Built headers:",e),log($tableHeaders)),$tableHeaders}function computeTableHeaderCellIndexes(t){for(var e=[],n={},r=t.getElementsByTagName("THEAD")[0],a=r.getElementsByTagName("TR"),i=0;ip;p++){"undefined"==typeof e[p]&&(e[p]=[]);for(var m=e[p],g=l;l+f>g;g++)m[g]="x"}}return n}function checkCellColSpan(t,e,n){for(var r=[],a=t.tHead.rows,i=a[n].cells,o=0;o1?r=r.concat(checkCellColSpan(t,headerArr,n++)):(1==t.tHead.length||s.rowSpan>1||!a[n+1])&&r.push(s)}return r}function checkHeaderMetadata(t){return $.metadata&&$(t).metadata().sorter===!1?!0:!1}function checkHeaderOptions(t,e){return t.config.headers[e]&&t.config.headers[e].sorter===!1?!0:!1}function checkHeaderOptionsSortingLocked(t,e){return t.config.headers[e]&&t.config.headers[e].lockedOrder?t.config.headers[e].lockedOrder:!1}function applyWidget(t){for(var e=t.config.widgets,n=e.length,r=0;n>r;r++)getWidgetById(e[r]).format(t)}function getWidgetById(t){for(var e=widgets.length,n=0;e>n;n++)if(widgets[n].id.toLowerCase()==t.toLowerCase())return widgets[n]}function formatSortingOrder(t){return"Number"!=typeof t?"desc"==t.toLowerCase()?1:0:1==t?1:0}function isValueInArray(t,e){for(var n=e.length,r=0;n>r;r++)if(e[r][0]==t)return!0;return!1}function setHeadersCss(t,e,n,r){e.removeClass(r[0]).removeClass(r[1]);var a=[];e.each(function(){this.sortDisabled||(a[this.column]=$(this))});for(var i=n.length,o=0;i>o;o++)a[n[o][0]].addClass(r[n[o][1]])}function fixColumnWidth(t){var e=t.config;if(e.widthFixed){var n=$("");$("tr:first td",t.tBodies[0]).each(function(){n.append($("").css("width",$(this).width()))}),$(t).prepend(n)}}function updateHeaderSortCount(t,e){for(var n=t.config,r=e.length,a=0;r>a;a++){var i=e[a],o=n.headerList[i[0]];o.count=i[1],o.count++}}function multisort(table,sortList,cache){if(table.config.debug)var sortTime=new Date;for(var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length,i=0;l>i;i++){var c=sortList[i][0],order=sortList[i][1],s="text"==table.config.parsers[c].type?0==order?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c):0==order?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c),e="e"+i;dynamicExp+="var "+e+" = "+s,dynamicExp+="if("+e+") { return "+e+"; } ",dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;l>i;i++)dynamicExp+="}; ";return dynamicExp+="return 0; ",dynamicExp+="}; ",table.config.debug&&benchmark("Evaling expression:"+dynamicExp,new Date),eval(dynamicExp),cache.normalized.sort(sortWrapper),table.config.debug&&benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime),cache}function makeSortFunction(t,e,n){var r="a["+n+"]",a="b["+n+"]";return"text"==t&&"asc"==e?"("+r+" == "+a+" ? 0 : ("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : ("+r+" < "+a+") ? -1 : 1 )));":"text"==t&&"desc"==e?"("+r+" == "+a+" ? 0 : ("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : ("+a+" < "+r+") ? -1 : 1 )));":"numeric"==t&&"asc"==e?"("+r+" === null && "+a+" === null) ? 0 :("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : "+r+" - "+a+"));":"numeric"==t&&"desc"==e?"("+r+" === null && "+a+" === null) ? 0 :("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : "+a+" - "+r+"));":void 0 +}function makeSortText(t){return"((a["+t+"] < b["+t+"]) ? -1 : ((a["+t+"] > b["+t+"]) ? 1 : 0));"}function makeSortTextDesc(t){return"((b["+t+"] < a["+t+"]) ? -1 : ((b["+t+"] > a["+t+"]) ? 1 : 0));"}function makeSortNumeric(t){return"a["+t+"]-b["+t+"];"}function makeSortNumericDesc(t){return"b["+t+"]-a["+t+"];"}function sortText(t,e){return table.config.sortLocaleCompare?t.localeCompare(e):e>t?-1:t>e?1:0}function sortTextDesc(t,e){return table.config.sortLocaleCompare?e.localeCompare(t):t>e?-1:e>t?1:0}function sortNumeric(t,e){return t-e}function sortNumericDesc(t,e){return e-t}function getCachedSortType(t,e){return t[e].type}var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:!0,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:!1,cancelSelection:!0,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:!1},this.benchmark=benchmark,this.construct=function(t){return this.each(function(){if(this.tHead&&this.tBodies){var e,n,r,a;this.config={},a=$.extend(this.config,$.tablesorter.defaults,t),e=$(this),$.data(this,"tablesorter",a),n=buildHeaders(this),this.config.parsers=buildParserCache(this,n),r=buildCache(this);var i=[a.cssDesc,a.cssAsc];fixColumnWidth(this),n.click(function(t){var o=e[0].tBodies[0]&&e[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&o>0){e.trigger("sortStart");var s=($(this),this.column);if(this.order=this.count++%2,this.lockedOrder&&(this.order=this.lockedOrder),t[a.sortMultiSortKey])if(isValueInArray(s,a.sortList))for(var l=0;l0&&e.trigger("sorton",[a.sortList]),applyWidget(this)}})},this.addParser=function(t){for(var e=parsers.length,n=!0,r=0;e>r;r++)parsers[r].id.toLowerCase()==t.id.toLowerCase()&&(n=!1);n&&parsers.push(t)},this.addWidget=function(t){widgets.push(t)},this.formatFloat=function(t){var e=parseFloat(t);return isNaN(e)?0:e},this.formatInt=function(t){var e=parseInt(t);return isNaN(e)?0:e},this.isDigit=function(t){return/^[-+]?\d*$/.test($.trim(t.replace(/[,.']/g,"")))},this.clearTableBody=function(t){function e(){for(;this.firstChild;)this.removeChild(this.firstChild)}$.browser.msie?e.apply(t.tBodies[0]):t.tBodies[0].innerHTML=""}}}),$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(){return!0},format:function(t){return $.trim(t.toLocaleLowerCase())},type:"text"}),ts.addParser({id:"digit",is:function(t,e){var n=e.config;return $.tablesorter.isDigit(t,n)},format:function(t){return $.tablesorter.formatFloat(t)},type:"numeric"}),ts.addParser({id:"currency",is:function(t){return/^[\xc2\xa3$\xe2\u201a\xac?.]/.test(t)},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/[\xc2\xa3$\xe2\u201a\xac]/g),""))},type:"numeric"}),ts.addParser({id:"ipAddress",is:function(t){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(t)},format:function(t){for(var e=t.split("."),n="",r=e.length,a=0;r>a;a++){var i=e[a];n+=2==i.length?"0"+i:i}return $.tablesorter.formatFloat(n)},type:"numeric"}),ts.addParser({id:"url",is:function(t){return/^(https?|ftp|file):\/\/$/.test(t)},format:function(t){return jQuery.trim(t.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"}),ts.addParser({id:"isoDate",is:function(t){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(t)},format:function(t){return $.tablesorter.formatFloat(""!=t?new Date(t.replace(new RegExp(/-/g),"/")).getTime():"0")},type:"numeric"}),ts.addParser({id:"percent",is:function(t){return/\%$/.test($.trim(t))},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/%/g),""))},type:"numeric"}),ts.addParser({id:"usLongDate",is:function(t){return t.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(t){return $.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"shortDate",is:function(t){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(t)},format:function(t,e){var n=e.config;return t=t.replace(/\-/g,"/"),"us"==n.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2"):"uk"==n.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1"):("dd/mm/yy"==n.dateFormat||"dd-mm-yy"==n.dateFormat)&&(t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")),$.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"time",is:function(t){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(t)},format:function(t){return $.tablesorter.formatFloat(new Date("2000/01/01 "+t).getTime())},type:"numeric"}),ts.addParser({id:"metadata",is:function(){return!1},format:function(t,e,n){var r=e.config,a=r.parserMetadataName?r.parserMetadataName:"sortValue";return $(n).metadata()[a]},type:"numeric"}),ts.addWidget({id:"zebra",format:function(t){if(t.config.debug)var e=new Date;var n,r,a=-1;$("tr:visible",t.tBodies[0]).each(function(){n=$(this),n.hasClass(t.config.cssChildRow)||a++,r=a%2==0,n.removeClass(t.config.widgetZebra.css[r?0:1]).addClass(t.config.widgetZebra.css[r?1:0])}),t.config.debug&&$.tablesorter.benchmark("Applying Zebra widget",e)}})}(jQuery),function(t){window.NestedFormEvents=function(){this.addFields=t.proxy(this.addFields,this),this.removeFields=t.proxy(this.removeFields,this)},NestedFormEvents.prototype={addFields:function(e){var n=e.currentTarget,r=t(n).data("association"),a=t("#"+t(n).data("blueprint-id")),i=a.data("blueprint"),o=(t(n).closest(".fields").closestChild("input, textarea, select").eq(0).attr("name")||"").replace(new RegExp("[[a-z_]+]$"),"");if(o)for(var s=o.match(/[a-z_]+_attributes(?=\]\[(new_)?\d+\])/g)||[],l=o.match(/[0-9]+/g)||[],u=0;u0;)for(var r=n.shift(),a=r.children(),i=0;i=s&&l>r||l>=a&&a>s||s>r&&a>l}),s=l+1;var c=0;for(var u in o)if(o[u].selected){var d=o[u].start+c;e&&n.tabString==t.value.substring(d,d+n.tabString.length)?(t.value=t.value.substring(0,d)+t.value.substring(d+n.tabString.length),c-=n.tabString.length):e||(t.value=t.value.substring(0,d)+n.tabString+t.value.substring(d),c+=n.tabString.length)}t.focus();var h=r+(c>0?n.tabString.length:0>c?-n.tabString.length:0),f=a+c;t.setSelectionRange(h,f)}}function r(e,n,r){var a=document.selection.createRange();if(e==a.parentElement())if(""==a.text)if(n){var i=a.getBookmark();a.moveStart("character",-r.tabString.length),r.tabString==a.text?a.text="":(a.moveToBookmark(i),a.moveEnd("character",r.tabString.length),r.tabString==a.text&&(a.text="")),a.collapse(!0),a.select()}else a.text=r.tabString,a.collapse(!1),a.select();else{var o=a.text,s=o.length,l=o.split("\r\n"),u=document.body.createTextRange();u.moveToElementText(e),u.setEndPoint("EndToStart",a);var c=u.text,d=c.split("\r\n"),h=c.length,f=document.body.createTextRange();f.moveToElementText(e),f.setEndPoint("StartToEnd",a);var p=f.text,m=document.body.createTextRange();m.moveToElementText(e),m.setEndPoint("StartToEnd",u);var g=m.text,v=t(e).html();t("#r3").text(h+" + "+s+" + "+p.length+" = "+v.length),h+g.length0?y.setEndPoint("StartToEnd",u):y.setEndPoint("StartToStart",u),y.setEndPoint("EndToEnd",a),y.select()}}t.fn.tabby=function(n){var r=t.extend({},t.fn.tabby.defaults,n),a=t.fn.tabby.pressed;return this.each(function(){$this=t(this);var n=t.meta?t.extend({},r,$this.data()):r;$this.bind("keydown",function(r){var i=t.fn.tabby.catch_kc(r);return 16==i&&(a.shft=!0),17==i&&(a.ctrl=!0,setTimeout("$.fn.tabby.pressed.ctrl = false;",1e3)),18==i&&(a.alt=!0,setTimeout("$.fn.tabby.pressed.alt = false;",1e3)),9!=i||a.ctrl||a.alt?void 0:(r.preventDefault,a.last=i,setTimeout("$.fn.tabby.pressed.last = null;",0),e(t(r.target).get(0),a.shft,n),!1)}).bind("keyup",function(e){16==t.fn.tabby.catch_kc(e)&&(a.shft=!1)}).bind("blur",function(e){9==a.last&&t(e.target).one("focus",function(){a.last=null}).get(0).focus()})})},t.fn.tabby.catch_kc=function(t){return t.keyCode?t.keyCode:t.charCode?t.charCode:t.which},t.fn.tabby.pressed={shft:!1,ctrl:!1,alt:!1,last:null},t.fn.tabby.defaults={tabString:String.fromCharCode(9)}}(jQuery),function(t,e,n){var r={required:"The %s field is required.",matches:"The %s field does not match the %s field.",valid_email:"The %s field must contain a valid email address.",min_length:"The %s field must be at least %s characters in length.",max_length:"The %s field must not exceed %s characters in length.",exact_length:"The %s field must be exactly %s characters in length.",greater_than:"The %s field must contain a number greater than %s.",less_than:"The %s field must contain a number less than %s.",alpha:"The %s field must only contain alphabetical characters.",alpha_numeric:"The %s field must only contain alpha-numeric characters.",alpha_dash:"The %s field must only contain alpha-numeric characters, underscores, and dashes.",numeric:"The %s field must contain only numbers.",integer:"The %s field must contain an integer."},a=function(){},i=/^(.+)\[(.+)\]$/,o=/^[0-9]+$/,s=/^\-?[0-9]+$/,l=/^\-?[0-9]*\.?[0-9]+$/,u=/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,6}$/i,c=/^[a-z]+$/i,d=/^[a-z0-9]+$/i,h=/^[a-z0-9_-]+$/i,f=function(t,n,r){for(this.callback=r||a,this.errors=[],this.fields={},this.form=e.forms[t]||{},this.messages={},this.handlers={},t=0,r=n.length;r>t;t++){var i=n[t];i.name&&i.rules&&(this.fields[i.name]={name:i.name,display:i.display||i.name,rules:i.rules,type:null,value:null,checked:null})}this.form.onsubmit=function(t){return function(e){try{return t._validateForm(e)}catch(n){}}}(this)};f.prototype.setMessage=function(t,e){return this.messages[t]=e,this},f.prototype.registerCallback=function(t,e){return t&&"string"==typeof t&&e&&"function"==typeof e&&(this.handlers[t]=e),this},f.prototype._validateForm=function(t){this.errors=[];for(var e in this.fields)if(this.fields.hasOwnProperty(e)){var r=this.fields[e]||{},a=this.form[r.name];a&&a!==n&&(r.type=a.type,r.value=a.value,r.checked=a.checked),this._validateField(r)}if("function"==typeof this.callback&&this.callback(this.errors,t),this.errors.length>0){if(!t||!t.preventDefault)return!1;t.preventDefault()}return!0},f.prototype._validateField=function(t){var e=t.rules.split("|");if(-1!==t.rules.indexOf("required")||t.value&&""!==t.value&&t.value!==n)for(var a=0,o=e.length;o>a;a++){var s=e[a],l=null,u=!1;if((parts=i.exec(s))&&(s=parts[1],l=parts[2]),"function"==typeof this._hooks[s]?this._hooks[s].apply(this,[t,l])||(u=!0):"callback_"===s.substring(0,9)&&(s=s.substring(9,s.length),"function"==typeof this.handlers[s]&&this.handlers[s].apply(this,[t.value])===!1&&(u=!0)),u){(e=this.messages[s]||r[s])?(t=e.replace("%s",t.display),l&&(t=t.replace("%s",this.fields[l]?this.fields[l].display:l)),this.errors.push(t)):this.errors.push("An error has occurred with the "+t.display+" field.");break}}},f.prototype._hooks={required:function(t){var e=t.value;return"checkbox"===t.type?t.checked===!0:null!==e&&""!==e},matches:function(t,e){return(el=this.form[e])?t.value===el.value:!1},valid_email:function(t){return u.test(t.value)},min_length:function(t,e){return o.test(e)?t.value.length>=e:!1},max_length:function(t,e){return o.test(e)?t.value.length<=e:!1},exact_length:function(t,e){return o.test(e)?t.value.length==e:!1},greater_than:function(t,e){return l.test(t.value)?parseFloat(t.value)>parseFloat(e):!1},less_than:function(t,e){return l.test(t.value)?parseFloat(t.value)="0"&&"7">=n?parseInt(t.substring(1),8):"u"===n||"x"===n?parseInt(t.substring(2),16):t.charCodeAt(1)}function n(t){return 32>t?(16>t?"\\x0":"\\x")+t.toString(16):(t=String.fromCharCode(t),("\\"===t||"-"===t||"["===t||"]"===t)&&(t="\\"+t),t)}function r(t){for(var r=t.substring(1,t.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),t=[],a=[],i="^"===r[0],o=i?1:0,s=r.length;s>o;++o){var l=r[o];if(/\\[bdsw]/i.test(l))t.push(l);else{var u,l=e(l);s>o+2&&"-"===r[o+1]?(u=e(r[o+2]),o+=2):u=l,a.push([l,u]),65>u||l>122||(65>u||l>90||a.push([32|Math.max(65,l),32|Math.min(u,90)]),97>u||l>122||a.push([-33&Math.max(97,l),-33&Math.min(u,122)]))}}for(a.sort(function(t,e){return t[0]-e[0]||e[1]-t[1]}),r=[],l=[0/0,0/0],o=0;os[0]&&(s[1]+1>s[0]&&a.push("-"),a.push(n(s[1])));return a.push("]"),a.join("")}function a(t){for(var e=t.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),n=e.length,a=[],s=0,l=0;n>s;++s){var u=e[s];"("===u?++l:"\\"===u.charAt(0)&&(u=+u.substring(1))&&l>=u&&(a[u]=-1)}for(s=1;ss;++s)u=e[s],"("===u?(++l,void 0===a[l]&&(e[s]="(?:")):"\\"===u.charAt(0)&&(u=+u.substring(1))&&l>=u&&(e[s]="\\"+a[l]);for(l=s=0;n>s;++s)"^"===e[s]&&"^"!==e[s+1]&&(e[s]="");if(t.ignoreCase&&o)for(s=0;n>s;++s)u=e[s],t=u.charAt(0),u.length>=2&&"["===t?e[s]=r(u):"\\"!==t&&(e[s]=u.replace(/[A-Za-z]/g,function(t){return t=t.charCodeAt(0),"["+String.fromCharCode(-33&t,32|t)+"]"}));return e.join("")}for(var i=0,o=!1,s=!1,l=0,u=t.length;u>l;++l){var c=t[l];if(c.ignoreCase)s=!0;else if(/[a-z]/i.test(c.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){o=!0,s=!1;break}}for(var d={b:8,t:9,n:10,v:11,f:12,r:13},h=[],l=0,u=t.length;u>l;++l){if(c=t[l],c.global||c.multiline)throw Error(""+c);h.push("(?:"+a(c)+")")}return RegExp(h.join("|"),s?"gi":"g")}function e(t){function e(t){switch(t.nodeType){case 1:if(r.test(t.className))break;for(var n=t.firstChild;n;n=n.nextSibling)e(n);n=t.nodeName,("BR"===n||"LI"===n)&&(a[s]="\n",o[s<<1]=i++,o[s++<<1|1]=t);break;case 3:case 4:n=t.nodeValue,n.length&&(n=l?n.replace(/\r\n?/g,"\n"):n.replace(/[\t\n\r ]+/g," "),a[s]=n,o[s<<1]=i,i+=n.length,o[s++<<1|1]=t)}}var n,r=/(?:^|\s)nocode(?:\s|$)/,a=[],i=0,o=[],s=0;t.currentStyle?n=t.currentStyle.whiteSpace:window.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,q).getPropertyValue("white-space"));var l=n&&"pre"===n.substring(0,3);return e(t),{a:a.join("").replace(/\n$/,""),c:o}}function n(t,e,n,r){e&&(t={a:e,d:t},n(t),r.push.apply(r,t.e))}function r(e,r){function a(t){for(var e=t.d,u=[e,"pln"],c=0,d=t.a.match(i)||[],h={},f=0,p=d.length;p>f;++f){var m,g=d[f],v=h[g],b=void 0;if("string"==typeof v)m=!1;else{var y=o[g.charAt(0)];if(y)b=g.match(y[1]),v=y[0];else{for(m=0;l>m;++m)if(y=r[m],b=g.match(y[1])){v=y[0];break}b||(v="pln")}!(m=v.length>=5&&"lang-"===v.substring(0,5))||b&&"string"==typeof b[1]||(m=!1,v="src"),m||(h[g]=v)}if(y=c,c+=g.length,m){m=b[1];var w=g.indexOf(m),x=w+m.length;b[2]&&(x=g.length-b[2].length,w=x-m.length),v=v.substring(5),n(e+y,g.substring(0,w),a,u),n(e+y+w,m,s(v,m),u),n(e+y+x,g.substring(x),a,u)}else u.push(e+y,v)}t.e=u}var i,o={};!function(){for(var n=e.concat(r),a=[],s={},l=0,u=n.length;u>l;++l){var c=n[l],d=c[3];if(d)for(var h=d.length;--h>=0;)o[d.charAt(h)]=c;c=c[1],d=""+c,s.hasOwnProperty(d)||(a.push(c),s[d]=q)}a.push(/[\S\s]/),i=t(a)}();var l=r.length;return a}function a(t){var e=[],n=[];e.push(t.tripleQuotedStrings?["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]:t.multiLineStrings?["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,q,"'\"`"]:["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]),t.verbatimStrings&&n.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var a=t.hashComments;return a&&(t.cStyleComments?(e.push(a>1?["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]:["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):e.push(["com",/^#[^\n\r]*/,q,"#"])),t.cStyleComments&&(n.push(["com",/^\/\/[^\n\r]*/,q]),n.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q])),t.regexLiterals&&n.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]),(a=t.types)&&n.push(["typ",a]),t=(""+t.keywords).replace(/^ | $/g,""),t.length&&n.push(["kwd",RegExp("^(?:"+t.replace(/[\s,]+/g,"|")+")\\b"),q]),e.push(["pln",/^\s+/,q," \r\n \xa0"]),n.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]),r(e,n)}function i(t,e){function n(t){switch(t.nodeType){case 1:if(i.test(t.className))break;if("BR"===t.nodeName)r(t),t.parentNode&&t.parentNode.removeChild(t);else for(t=t.firstChild;t;t=t.nextSibling)n(t);break;case 3:case 4:if(l){var e=t.nodeValue,a=e.match(o);if(a){var u=e.substring(0,a.index);t.nodeValue=u,(e=e.substring(a.index+a[0].length))&&t.parentNode.insertBefore(s.createTextNode(e),t.nextSibling),r(t),u||t.parentNode.removeChild(t)}}}}function r(t){function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var a=e(a,1),i=t.nextSibling;a.appendChild(r);for(var o=i;o;o=i)i=o.nextSibling,a.appendChild(o)}return r}for(;!t.nextSibling;)if(t=t.parentNode,!t)return;for(var n,t=e(t.nextSibling,0);(n=t.parentNode)&&1===n.nodeType;)t=n;u.push(t)}var a,i=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,s=t.ownerDocument;t.currentStyle?a=t.currentStyle.whiteSpace:window.getComputedStyle&&(a=s.defaultView.getComputedStyle(t,q).getPropertyValue("white-space"));var l=a&&"pre"===a.substring(0,3);for(a=s.createElement("LI");t.firstChild;)a.appendChild(t.firstChild);for(var u=[a],c=0;cc;++c)a=u[c],a.className="L"+(c+h)%10,a.firstChild||a.appendChild(s.createTextNode("\xa0")),d.appendChild(a);t.appendChild(d)}function o(t,e){for(var n=e.length;--n>=0;){var r=e[n];y.hasOwnProperty(r)?window.console&&console.warn("cannot override language handler %s",r):y[r]=t}}function s(t,e){return t&&y.hasOwnProperty(t)||(t=/^\s*p;)d[p]!==d[p+2]?(d[f++]=d[p++],d[f++]=d[p++]):p+=2;for(h=f,p=f=0;h>p;){for(var m=d[p],g=d[p+1],v=p+2;h>=v+2&&d[v+1]===g;)v+=2;d[f++]=m,d[f++]=g,p=v}for(d.length=f;c>a;){var b,y=u[a+2]||l,w=d[t+2]||l,v=Math.min(y,w),x=u[a+1];if(1!==x.nodeType&&(b=o.substring(r,v))){i&&(b=b.replace(n,"\r")),x.nodeValue=b;var S=x.ownerDocument,$=S.createElement("SPAN");$.className=d[t+1];var k=x.parentNode;k.replaceChild($,x),$.appendChild(x),y>r&&(u[a+1]=x=S.createTextNode(o.substring(v,y)),k.insertBefore(x,$.nextSibling))}r=v,r>=y&&(a+=2),r>=w&&(t+=2)}}catch(E){"console"in window&&console.log(E&&E.stack?E.stack:E)}}var u=["break,continue,do,else,for,if,return,while"],c=[[u,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],d=[c,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],h=[c,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],f=[h,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],c=[c,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],p=[u,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],m=[u,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[u,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],g=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,v=/\S/,b=a({keywords:[d,f,c,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+p,m,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),y={};o(b,["default-code"]),o(r([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),o(r([["pln",/^\s+/,q," \r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]),o(r([],[["atv",/^[\S\s]+/]]),["uq.val"]),o(a({keywords:d,hashComments:!0,cStyleComments:!0,types:g}),["c","cc","cpp","cxx","cyc","m"]),o(a({keywords:"null,true,false"}),["json"]),o(a({keywords:f,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:g}),["cs"]),o(a({keywords:h,cStyleComments:!0}),["java"]),o(a({keywords:u,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]),o(a({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py"]),o(a({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]),o(a({keywords:m,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]),o(a({keywords:c,cStyleComments:!0,regexLiterals:!0}),["js"]),o(a({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),o(r([],[["str",/^[\S\s]+/]]),["regex"]),window.prettyPrintOne=function(t,e,n){var r=document.createElement("PRE");return r.innerHTML=t,n&&i(r,n),l({g:e,i:n,h:r}),r.innerHTML},window.prettyPrint=function(t){function e(){for(var n=window.PR_SHOULD_USE_CONTINUATION?u.now()+250:1/0;d=0){var s,f,o=o.match(h);if(f=!o){f=a;for(var p=void 0,m=f.firstChild;m;m=m.nextSibling)var g=m.nodeType,p=1===g?p?f:m:3===g&&v.test(m.nodeValue)?f:p;f=(s=p===f?void 0:p)&&"CODE"===s.tagName}for(f&&(o=s.className.match(h)),o&&(o=o[1]),f=!1,p=a.parentNode;p;p=p.parentNode)if(("pre"===p.tagName||"code"===p.tagName||"xmp"===p.tagName)&&p.className&&p.className.indexOf("prettyprint")>=0){f=!0;break}f||((f=(f=a.className.match(/\blinenums\b(?::(\d+))?/))?f[1]&&f[1].length?+f[1]:!0:!1)&&i(a,f),c={g:o,h:a,i:f},l(c))}}do;++o)r.push(n[a][o]);var n=q,u=Date;u.now||(u={now:function(){return+new Date}});var c,d=0,h=/\blang(?:uage)?-([\w.]+)(?!\S)/;e()},window.PR={createSimpleLexer:r,registerLangHandler:o,sourceDecorator:a,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}}(),!function(t){t(function(){window.prettyPrint&&prettyPrint()})}(window.jQuery),$(document).on("page:load ready",function(){$(".response").click(function(){var t=$(this).data("response_type");$(".response").removeClass("active"),$(".response-"+t).addClass("active"),$(".format").hide(),$(".format-"+t).show()})}),$(document).on("page:load ready",function(){$(".flash").length>0&&($(".flash").on("click",function(){$(this).hide("slow")}),setTimeout(function(){$(".flash").length>0&&$(".flash").hide("slow")},15e3)),$("#talkback_command_add").click(function(){$(this).hide(),$("#talkback_command_add_form").removeClass("hide")}),$("#contact_link").click(function(){$("#contact_form").toggle()}),$(".tablesorter").tablesorter(),$("#userlogin_js").val("6H2W6QYUAJT1Q8EB")}); \ No newline at end of file diff --git a/public/assets/application-4ac171a3d0c3497168c817f96a7a1529.js.gz b/public/assets/application-4ac171a3d0c3497168c817f96a7a1529.js.gz new file mode 100644 index 0000000..111eff4 Binary files /dev/null and b/public/assets/application-4ac171a3d0c3497168c817f96a7a1529.js.gz differ diff --git a/public/assets/application.js b/public/assets/application.js index ff12cc2..c525638 100644 --- a/public/assets/application.js +++ b/public/assets/application.js @@ -1,2 +1,2 @@ -function reloadCharts(){return-1===navigator.userAgent.toLowerCase().indexOf("firefox")?!1:($('.ui-widget-content [aria-expanded="false"]').find("iframe").each(function(){var t=$(this).attr("src");-1!==t.indexOf("charts")&&($(this).hide(),$(this).attr("src",t),$(this).show())}),void 0)}function openDialogCenter(t){t.dialog("open");var e=getDimensions(t.parent());t.dialog({position:[e[0],e[1]]})}function getDimensions(t){var e=new Array(2);return e[0]=$(window).width()/2-t.width()/2,e[1]=$(window).height()/2-t.height()/2,e}function updateChart(t,e,n,r,a,i){var n=n,r=r,o=$("#iframe"+t).attr("default_src");o||(o=$("#iframe"+t).attr("src")),src=o.split("?")[0],("bar"===$("#type_"+t).val()||"column"===$("#type_"+t).val())&&0==$("#timescale_"+t).val().length&&0==$("#average_"+t).val().length&&0==$("#median_"+t).val().length&&0==$("#sum_"+t).val().length&&$("#timescale_"+t).val(30);var s=[];$(".chart_options"+t).each(function(){var t=$(this).val(),e=$(this).attr("id"),n=e.split("_")[0];t.length>0&&s.push([n,t])});for(var l="";s.length>0;){var u=s.pop();"width"==u[0]&&(n=parseInt(u[1])),"height"==u[0]&&(r=parseInt(u[1])),("type"!=u[0]||"line"!=u[1])&&(l+="&"+u[0]+"="+encodeURIComponent(u[1]))}l.length>0&&(src+="?"+l.substring(1)),e&&t>0&&i?$.update("/channels/"+a+"/charts/"+t,{newOptions:{options:l}}):e&&t>0&&$.update("/channels/"+a+"/charts/"+t,{options:l}),$("#embed"+t).val(''),$("#iframe"+t).attr("src",src),$("#iframe"+t).attr("width",n),$("#iframe"+t).attr("height",r)}function updateSelectValues(){selectedValue=$(this).val(),$(".mutuallyexclusive"+index).each(function(){$(this).val("")}),$(this).val(selectedValue)}function setupChartForm(t){return function(e,n){n.length>0&&$("#"+n.split("=")[0]+"_"+t).val(decodeURIComponent(n.split("=")[1]))}}function setupColumns(t,e){$(sortColumnSetup(t,e)),$(".column").disableSelection()}function createWindowsWithData(t,e,n,r){for(var a in t){var i=t[a].window,o=i.window_type;colId=i.col,title=i.title;var s=i.html;"chart"===i.window_type&&$("body").append("
");var l=addWindow(r,colId,i.id,o,title,s);l.each(decoratePortlet(e)),l.find(".ui-toggle").click(uiToggleClick),l.find(".ui-view").click(uiViewClick(n)),l.find(".ui-edit").click(uiEditClick(n)),l.find(".ui-close").click(uiCloseClick(n))}}function addWindow(t,e,n,r,a,i){if($("#"+t+"_dialog"+e).append('
'+a+'
'+i+"
"),$("#portlet_"+n).length>1)throw"Portlet count doesn't match what's expected";return $("#portlet_"+n)}function sortColumnSetup(t,e){$(".column").sortable({opacity:.6,helper:function(){return $("
Drop to re-position
")},connectWith:".column",update:updatePortletPositions(t,e)})}function getPortletArray(t){var e=new Array,n=t.split("&");for(i in n)val=n[i].split("=")[1],e.push(val);return e}function uiToggleClick(){$(this).toggleClass("ui-icon-minusthick").toggleClass("ui-icon-plusthick"),$(this).parents(".portlet:first").find(".portlet-content").toggle()}!function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,r=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHeader("X-CSRF-Token",n)},fire:function(e,n,r){var a=t.Event(n);return e.trigger(a,r),a.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t.attr("href")},handleRemote:function(r){var a,i,o,s,l,u,c,d;if(n.fire(r,"ajax:before")){if(s=r.data("cross-domain"),l=s===e?null:s,u=r.data("with-credentials")||null,c=r.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,r.is("form")){a=r.attr("method"),i=r.attr("action"),o=r.serializeArray();var h=r.data("ujs:submit-button");h&&(o.push(h),r.data("ujs:submit-button",null))}else r.is(n.inputChangeSelector)?(a=r.data("method"),i=r.data("url"),o=r.serialize(),r.data("params")&&(o=o+"&"+r.data("params"))):r.is(n.buttonClickSelector)?(a=r.data("method")||"get",i=r.data("url"),o=r.serialize(),r.data("params")&&(o=o+"&"+r.data("params"))):(a=r.data("method"),i=n.href(r),o=r.data("params")||null);d={type:a||"GET",data:o,dataType:c,beforeSend:function(t,a){return a.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+a.accepts.script),n.fire(r,"ajax:beforeSend",[t,a])},success:function(t,e,n){r.trigger("ajax:success",[t,e,n])},complete:function(t,e){r.trigger("ajax:complete",[t,e])},error:function(t,e,n){r.trigger("ajax:error",[t,e,n])},crossDomain:l},u&&(d.xhrFields={withCredentials:u}),i&&(d.url=i);var f=n.ajax(d);return r.trigger("ajax:send",f),f}return!1},handleMethod:function(r){var a=n.href(r),i=r.data("method"),o=r.attr("target"),s=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),u=t('
'),c='';l!==e&&s!==e&&(c+=''),o&&u.attr("target",o),u.hide().append(c).appendTo("body"),u.submit()},disableFormElements:function(e){e.find(n.disableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with",e[n]()),e[n](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(n.enableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[n](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(t){var e,r=t.data("confirm"),a=!1;return r?(n.fire(t,"confirm")&&(a=n.confirm(r),e=n.fire(t,"confirm:complete",[a])),a&&e):!0},blankInputs:function(e,n,r){var a,i,o=t(),s=n||"input,textarea",l=e.find(s);return l.each(function(){if(a=t(this),i=a.is("input[type=checkbox],input[type=radio]")?a.is(":checked"):a.val(),!i==!r){if(a.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+a.attr("name")+'"]').length)return!0;o=o.add(a)}}),o.length?o:!1},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return n.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},n.fire(r,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,r){t.crossDomain||n.CSRFProtection(r)}),r.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(t(this))}),r.delegate(n.linkClickSelector,"click.rails",function(r){var a=t(this),i=a.data("method"),o=a.data("params");if(!n.allowAction(a))return n.stopEverything(r);if(a.is(n.linkDisableSelector)&&n.disableElement(a),a.data("remote")!==e){if(!(!r.metaKey&&!r.ctrlKey||i&&"GET"!==i||o))return!0;var s=n.handleRemote(a);return s===!1?n.enableElement(a):s.error(function(){n.enableElement(a)}),!1}return a.data("method")?(n.handleMethod(a),!1):void 0}),r.delegate(n.buttonClickSelector,"click.rails",function(e){var r=t(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(e)}),r.delegate(n.inputChangeSelector,"change.rails",function(e){var r=t(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(e)}),r.delegate(n.formSubmitSelector,"submit.rails",function(r){var a=t(this),i=a.data("remote")!==e,o=n.blankInputs(a,n.requiredInputSelector),s=n.nonBlankInputs(a,n.fileInputSelector);if(!n.allowAction(a))return n.stopEverything(r);if(o&&a.attr("novalidate")==e&&n.fire(a,"ajax:aborted:required",[o]))return n.stopEverything(r);if(i){if(s){setTimeout(function(){n.disableFormElements(a)},13);var l=n.fire(a,"ajax:aborted:file",[s]);return l||setTimeout(function(){n.enableFormElements(a)},13),l}return n.handleRemote(a),!1}setTimeout(function(){n.disableFormElements(a)},13)}),r.delegate(n.formInputClickSelector,"click.rails",function(e){var r=t(this);if(!n.allowAction(r))return n.stopEverything(e);var a=r.attr("name"),i=a?{name:a,value:r.val()}:null;r.closest("form").data("ujs:submit-button",i)}),r.delegate(n.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&n.disableFormElements(t(this))}),r.delegate(n.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&n.enableFormElements(t(this))}),t(function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)}))}(jQuery),function(){var t,e,n,r,a,i,o,s,l,u,c,d,h,f,p,m,g,v,b,y,w,x,S,$,k,C,T,E,_,N,I,L,F,A,P,R,j,O,D,H,q,M,B,z,V,W,U,G,Q,X=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},Y={}.hasOwnProperty,K=function(t,e){function n(){this.constructor=t}for(var r in e)Y.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},Z=[].slice;_={},d=10,z=!1,m=null,E=null,P=null,p=null,G=null,y=function(t){var e;return t=new n(t),H(),c(),R(t),z&&(e=V(t.absolute))?(w(e),x(t)):x(t,B)},V=function(t){var e;return e=_[t],e&&!e.transitionCacheDisabled?e:void 0},g=function(t){return null==t&&(t=!0),z=t},x=function(t,e){return null==e&&(e=function(){}),W("page:fetch",{url:t.absolute}),null!=G&&G.abort(),G=new XMLHttpRequest,G.open("GET",t.withoutHashForIE10compatibility(),!0),G.setRequestHeader("Accept","text/html, application/xhtml+xml, application/xml"),G.setRequestHeader("X-XHR-Referer",P),G.onload=function(){var n;return W("page:receive"),(n=F())?(h.apply(null,b(n)),j(),e(),W("page:load")):document.location.href=t.absolute},G.onloadend=function(){return G=null},G.onerror=function(){return document.location.href=t.absolute},G.send()},w=function(t){return null!=G&&G.abort(),h(t.title,t.body),A(t),W("page:restore")},c=function(){var t;return t=new n(m.url),_[t.absolute]={url:t.relative,body:document.body,title:document.title,positionY:window.pageYOffset,positionX:window.pageXOffset,cachedAt:(new Date).getTime(),transitionCacheDisabled:null!=document.querySelector("[data-no-transition-cache]")},f(d)},I=function(t){return null==t&&(t=d),/^[\d]+$/.test(t)?d=parseInt(t):void 0},f=function(t){var e,n,r,a,i,o;for(r=Object.keys(_),e=r.map(function(t){return _[t].cachedAt}).sort(function(t,e){return e-t}),o=[],a=0,i=r.length;i>a;a++)n=r[a],_[n].cachedAt<=e[t]&&(W("page:expire",_[n]),o.push(delete _[n]));return o},h=function(e,n,r,a){return document.title=e,document.documentElement.replaceChild(n,document.body),null!=r&&t.update(r),a&&v(),m=window.history.state,W("page:change"),W("page:update")},v=function(){var t,e,n,r,a,i,o,s,l,u,c,d;for(i=Array.prototype.slice.call(document.body.querySelectorAll('script:not([data-turbolinks-eval="false"])')),o=0,l=i.length;l>o;o++)if(a=i[o],""===(c=a.type)||"text/javascript"===c){for(e=document.createElement("script"),d=a.attributes,s=0,u=d.length;u>s;s++)t=d[s],e.setAttribute(t.name,t.value);e.appendChild(document.createTextNode(a.innerHTML)),r=a.parentNode,n=a.nextSibling,r.removeChild(a),r.insertBefore(e,n)}},q=function(t){return t.innerHTML=t.innerHTML.replace(//gi,""),t},R=function(t){return(t=new n(t)).absolute!==P?window.history.pushState({turbolinks:!0,url:t.absolute},"",t.absolute):void 0},j=function(){var t,e;return(t=G.getResponseHeader("X-XHR-Redirected-To"))?(t=new n(t),e=t.hasNoHash()?document.location.hash:"",window.history.replaceState(m,"",t.href+e)):void 0},H=function(){return P=document.location.href},D=function(){return window.history.replaceState({turbolinks:!0,url:document.location.href},"",document.location.href)},O=function(){return m=window.history.state},A=function(t){return window.scrollTo(t.positionX,t.positionY)},B=function(){return document.location.hash?document.location.href=document.location.href:window.scrollTo(0,0)},L=function(t){var e,n;return e=(null!=(n=document.cookie.match(new RegExp(t+"=(\\w+)")))?n[1].toUpperCase():void 0)||"",document.cookie=t+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/",e},W=function(t,e){var n;return n=document.createEvent("Events"),e&&(n.data=e),n.initEvent(t,!0,!0),document.dispatchEvent(n)},N=function(){return!W("page:before-change")},F=function(){var t,e,n,r,a,i;return e=function(){var t;return 400<=(t=G.status)&&600>t},i=function(){return G.getResponseHeader("Content-Type").match(/^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/)},r=function(t){var e,n,r,a,i;for(a=t.head.childNodes,i=[],n=0,r=a.length;r>n;n++)e=a[n],null!=("function"==typeof e.getAttribute?e.getAttribute("data-turbolinks-track"):void 0)&&i.push(e.getAttribute("src")||e.getAttribute("href"));return i},t=function(t){var e;return E||(E=r(document)),e=r(t),e.length!==E.length||a(e,E).length!==E.length},a=function(t,e){var n,r,a,i,o;for(t.length>e.length&&(i=[e,t],t=i[0],e=i[1]),o=[],r=0,a=t.length;a>r;r++)n=t[r],X.call(e,n)>=0&&o.push(n);return o},!e()&&i()&&(n=p(G.responseText),n&&!t(n))?n:void 0},b=function(e){var n;return n=e.querySelector("title"),[null!=n?n.textContent:void 0,q(e.body),t.get(e).token,"runScripts"]},t={get:function(t){var e;return null==t&&(t=document),{node:e=t.querySelector('meta[name="csrf-token"]'),token:null!=e?"function"==typeof e.getAttribute?e.getAttribute("content"):void 0:void 0}},update:function(t){var e;return e=this.get(),null!=e.token&&null!=t&&e.token!==t?e.node.setAttribute("content",t):void 0}},a=function(){var t,e,n,r,a,i;e=function(t){return(new DOMParser).parseFromString(t,"text/html")},t=function(t){var e;return e=document.implementation.createHTMLDocument(""),e.documentElement.innerHTML=t,e},n=function(t){var e;return e=document.implementation.createHTMLDocument(""),e.open("replace"),e.write(t),e.close(),e};try{if(window.DOMParser)return a=e("

test"),e}catch(o){return r=o,a=t("

test"),t}finally{if(1!==(null!=a?null!=(i=a.body)?i.childNodes.length:void 0:void 0))return n}},n=function(){function t(e){return this.original=null!=e?e:document.location.href,this.original.constructor===t?this.original:(this._parse(),void 0)}return t.prototype.withoutHash=function(){return this.href.replace(this.hash,"")},t.prototype.withoutHashForIE10compatibility=function(){return this.withoutHash()},t.prototype.hasNoHash=function(){return 0===this.hash.length},t.prototype._parse=function(){var t;return(null!=this.link?this.link:this.link=document.createElement("a")).href=this.original,t=this.link,this.href=t.href,this.protocol=t.protocol,this.host=t.host,this.hostname=t.hostname,this.port=t.port,this.pathname=t.pathname,this.search=t.search,this.hash=t.hash,this.origin=[this.protocol,"//",this.hostname].join(""),0!==this.port.length&&(this.origin+=":"+this.port),this.relative=[this.pathname,this.search,this.hash].join(""),this.absolute=this.href},t}(),r=function(t){function e(t){return this.link=t,this.link.constructor===e?this.link:(this.original=this.link.href,e.__super__.constructor.apply(this,arguments),void 0)}return K(e,t),e.HTML_EXTENSIONS=["html"],e.allowExtensions=function(){var t,n,r,a;for(n=1<=arguments.length?Z.call(arguments,0):[],r=0,a=n.length;a>r;r++)t=n[r],e.HTML_EXTENSIONS.push(t);return e.HTML_EXTENSIONS},e.prototype.shouldIgnore=function(){return this._crossOrigin()||this._anchored()||this._nonHtml()||this._optOut()||this._target()},e.prototype._crossOrigin=function(){return this.origin!==(new n).origin},e.prototype._anchored=function(){var t;return(this.hash&&this.withoutHash())===(t=new n).withoutHash()||this.href===t.href+"#"},e.prototype._nonHtml=function(){return this.pathname.match(/\.[a-z]+$/g)&&!this.pathname.match(new RegExp("\\.(?:"+e.HTML_EXTENSIONS.join("|")+")?$","g"))},e.prototype._optOut=function(){var t,e;for(e=this.link;!t&&e!==document;)t=null!=e.getAttribute("data-no-turbolink"),e=e.parentNode;return t},e.prototype._target=function(){return 0!==this.link.target.length},e}(n),e=function(){function t(t){this.event=t,this.event.defaultPrevented||(this._extractLink(),this._validForTurbolinks()&&(N()||U(this.link.href),this.event.preventDefault()))}return t.installHandlerLast=function(e){return e.defaultPrevented?void 0:(document.removeEventListener("click",t.handle,!1),document.addEventListener("click",t.handle,!1))},t.handle=function(e){return new t(e)},t.prototype._extractLink=function(){var t;for(t=this.event.target;t.parentNode&&"A"!==t.nodeName;)t=t.parentNode;return"A"===t.nodeName&&0!==t.href.length?this.link=new r(t):void 0},t.prototype._validForTurbolinks=function(){return null!=this.link&&!(this.link.shouldIgnore()||this._nonStandardClick())},t.prototype._nonStandardClick=function(){return this.event.which>1||this.event.metaKey||this.event.ctrlKey||this.event.shiftKey||this.event.altKey},t}(),u=function(t){return setTimeout(t,500)},k=function(){return document.addEventListener("DOMContentLoaded",function(){return W("page:change"),W("page:update")},!0)},T=function(){return"undefined"!=typeof jQuery?jQuery(document).on("ajaxSuccess",function(t,e){return jQuery.trim(e.responseText)?W("page:update"):void 0}):void 0},C=function(t){var e,r;return(null!=(r=t.state)?r.turbolinks:void 0)?(e=_[new n(t.state.url).absolute])?(c(),w(e)):U(t.target.location.href):void 0},$=function(){return D(),O(),p=a(),document.addEventListener("click",e.installHandlerLast,!0),u(function(){return window.addEventListener("popstate",C,!1)})},S=void 0!==window.history.state||navigator.userAgent.match(/Firefox\/2[6|7]/),s=window.history&&window.history.pushState&&window.history.replaceState&&S,i=!navigator.userAgent.match(/CriOS\//),M="GET"===(Q=L("request_method"))||""===Q,l=s&&i&&M,o=document.addEventListener&&document.createEvent,o&&(k(),T()),l?(U=y,$()):U=function(t){return document.location.href=t},this.Turbolinks={visit:U,pagesCached:I,enableTransitionCache:g,allowLinkExtensions:r.allowExtensions,supported:l}}.call(this),function(t){t.cookie=function(e,n,r){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(n))||null===n||void 0===n)){if(r=t.extend({},r),(null===n||void 0===n)&&(r.expires=-1),"number"==typeof r.expires){var a=r.expires,i=r.expires=new Date;i.setDate(i.getDate()+a)}return n=String(n),document.cookie=[encodeURIComponent(e),"=",r.raw?n:encodeURIComponent(n),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}r=n||{};for(var o,s=r.raw?function(t){return t}:decodeURIComponent,l=document.cookie.split("; "),u=0;o=l[u]&&l[u].split("=");u++)if(s(o[0])===e)return s(o[1]||"");return null}}(jQuery);var createWindows=function(t,e,n){return function(r){createWindowsWithData(r,t,e,n)}},updatePortletPositions=function(t,e){return function(){if(t){var n=$(this).sortable("serialize");colId=$(this).attr("id").charAt($(this).attr("id").length-1),portletArray=getPortletArray(n),jsonResult={col:colId,positions:portletArray},portletArray.length>0&&$.ajax({type:"PUT",url:"../channels/"+e+"/windows",data:{_method:"PUT",page:JSON.stringify(jsonResult)},dataType:"json"})}}},decoratePortlet=function(t){return function(){var e=$(this).find(".portlet-header");return e.append(""),thisObject=$(this),"true"==t?(thisObject.find(".window_type").prepend(""),thisObject.find(".window_type-chart").append(""),thisObject.find(".window_type").append(""),thisObject.find(".portlet-header").css("cursor","move")):$(".column").sortable({disabled:!0}),$(this).attr("id")}},uiEditClick=function(t){return function(){var e=$(this).parents(".portlet:first").attr("id").substring(8),n="";$("#chartConfig"+e).load("/channels/"+t+"/charts/"+e+"/edit",function(){n=$("#chartOptions"+e).html(),"undefined"!=n&&n.length>2&&$.each(n.split("&"),setupChartForm(e)),$("#button"+e).click(function(){updateChart(e,!0,450,250,t,!0),$("#chartConfig"+e).dialog("close")})}).dialog({title:"Chart Options",modal:!0,resizable:!1,width:500,dialogClass:"dev-info-dialog"})}},uiViewClick=function(t){return function(){var e=$(this).parents(".portlet:first").find(".portlet-content").offset().left,n=$(this).parents(".portlet:first").find(".portlet-content").offset().top,r=$(this).parents(".portlet:first").attr("id").substring(8);$("body").append('

'),$.get("/channels/"+t+"/windows/"+r+"/iframe",function(t){var e=t.replace(/id=\"iframe[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?\"/,"");$("#iframeinner"+r).text(e)}),$("#iframepopup"+r).dialog({resizable:!1,width:"300px",position:[e+200,n-200],title:"Chart Iframe",dialogClass:"dev-info-dialog"})}},uiCloseClick=function(t){return function(){var e=$(this).parents(".portlet:first").attr("id").substring(8),n=$(this).parents(".portlet:first");$.update("/channels/"+t+"/windows/"+e+"/hide",function(){n.hide("drop",function(){n.remove()})})}};!function(t){function e(){var e=n(this);return isNaN(e.datetime)||t(this).text(r(e.datetime)),this}function n(e){if(e=t(e),!e.data("timeago")){e.data("timeago",{datetime:i.datetime(e)});var n=t.trim(e.text());n.length>0&&e.attr("title",n)}return e.data("timeago")}function r(t){return i.inWords(a(t))}function a(t){return(new Date).getTime()-t.getTime()}t.timeago=function(e){return e instanceof Date?r(e):"string"==typeof e?r(t.timeago.parse(e)):r(t.timeago.datetime(e))};var i=t.timeago;t.extend(t.timeago,{settings:{refreshMillis:6e4,allowFuture:!1,strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",numbers:[]}},inWords:function(e){function n(n,a){var i=t.isFunction(n)?n(a,e):n,o=r.numbers&&r.numbers[a]||a;return i.replace(/%d/i,o)}var r=this.settings.strings,a=r.prefixAgo,i=r.suffixAgo;this.settings.allowFuture&&(0>e&&(a=r.prefixFromNow,i=r.suffixFromNow),e=Math.abs(e));var o=e/1e3,s=o/60,l=s/60,u=l/24,c=u/365,d=45>o&&n(r.seconds,Math.round(o))||90>o&&n(r.minute,1)||45>s&&n(r.minutes,Math.round(s))||90>s&&n(r.hour,1)||24>l&&n(r.hours,Math.round(l))||48>l&&n(r.day,1)||30>u&&n(r.days,Math.floor(u))||60>u&&n(r.month,1)||365>u&&n(r.months,Math.floor(u/30))||2>c&&n(r.year,1)||n(r.years,Math.floor(c));return t.trim([a,d,i].join(" "))},parse:function(e){var n=t.trim(e);return n=n.replace(/\.\d\d\d+/,""),n=n.replace(/-/,"/").replace(/-/,"/"),n=n.replace(/T/," ").replace(/Z/," UTC"),n=n.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(n)},datetime:function(e){var n="time"===t(e).get(0).tagName.toLowerCase(),r=n?t(e).attr("datetime"):t(e).attr("title");return i.parse(r)}}),t.fn.timeago=function(){var t=this;t.each(e);var n=i.settings;return n.refreshMillis>0&&setInterval(function(){t.each(e)},n.refreshMillis),t},document.createElement("abbr"),document.createElement("time")}(jQuery),function($){$.extend({tablesorter:new function(){function benchmark(t,e){log(t+","+((new Date).getTime()-e.getTime())+"ms")}function log(t){"undefined"!=typeof console&&"undefined"!=typeof console.debug?console.log(t):alert(t)}function buildParserCache(t,e){if(t.config.debug)var n="";if(0!=t.tBodies.length){var r=t.tBodies[0].rows;if(r[0])for(var a=[],i=r[0].cells,o=i.length,s=0;o>s;s++){var l=!1;$.metadata&&$(e[s]).metadata()&&$(e[s]).metadata().sorter?l=getParserById($(e[s]).metadata().sorter):t.config.headers[s]&&t.config.headers[s].sorter&&(l=getParserById(t.config.headers[s].sorter)),l||(l=detectParserForColumn(t,r,-1,s)),t.config.debug&&(n+="column:"+s+" parser:"+l.id+"\n"),a.push(l)}return t.config.debug&&log(n),a}}function detectParserForColumn(t,e,n,r){for(var a=parsers.length,i=!1,o=!1,s=!0;""==o&&s;)n++,e[n]?(i=getNodeFromRowAndCellIndex(e,n,r),o=trimAndGetNodeText(t.config,i),t.config.debug&&log("Checking if value was empty on row:"+n)):s=!1;for(var l=1;a>l;l++)if(parsers[l].is(o,t,i))return parsers[l];return parsers[0]}function getNodeFromRowAndCellIndex(t,e,n){return t[e].cells[n]}function trimAndGetNodeText(t,e){return $.trim(getElementText(t,e))}function getParserById(t){for(var e=parsers.length,n=0;e>n;n++)if(parsers[n].id.toLowerCase()==t.toLowerCase())return parsers[n];return!1}function buildCache(t){if(t.config.debug)var e=new Date;for(var n=t.tBodies[0]&&t.tBodies[0].rows.length||0,r=t.tBodies[0].rows[0]&&t.tBodies[0].rows[0].cells.length||0,a=t.config.parsers,i={row:[],normalized:[]},o=0;n>o;++o){var s=$(t.tBodies[0].rows[o]),l=[];if(s.hasClass(t.config.cssChildRow))i.row[i.row.length-1]=i.row[i.row.length-1].add(s);else{i.row.push(s);for(var u=0;r>u;++u)l.push(a[u].format(getElementText(t.config,s[0].cells[u]),t,s[0].cells[u]));l.push(i.normalized.length),i.normalized.push(l),l=null}}return t.config.debug&&benchmark("Building cache for "+n+" rows:",e),i}function getElementText(t,e){var n="";return e?(t.supportsTextContent||(t.supportsTextContent=e.textContent||!1),n="simple"==t.textExtraction?t.supportsTextContent?e.textContent:e.childNodes[0]&&e.childNodes[0].hasChildNodes()?e.childNodes[0].innerHTML:e.innerHTML:"function"==typeof t.textExtraction?t.textExtraction(e):$(e).text()):""}function appendToTable(t,e){if(t.config.debug)var n=new Date;for(var r=e,a=r.row,i=r.normalized,o=i.length,s=i[0].length-1,l=$(t.tBodies[0]),u=[],c=0;o>c;c++){var d=i[c][s];if(u.push(a[d]),!t.config.appender)for(var h=a[d].length,f=0;h>f;f++)l[0].appendChild(a[d][f])}t.config.appender&&t.config.appender(t,u),u=null,t.config.debug&&benchmark("Rebuilt table:",n),applyWidget(t),setTimeout(function(){$(t).trigger("sortEnd")},0)}function buildHeaders(t){if(t.config.debug)var e=new Date;var n=($.metadata?!0:!1,computeTableHeaderCellIndexes(t));return $tableHeaders=$(t.config.selectorHeaders,t).each(function(e){if(this.column=n[this.parentNode.rowIndex+"-"+this.cellIndex],this.order=formatSortingOrder(t.config.sortInitialOrder),this.count=this.order,(checkHeaderMetadata(this)||checkHeaderOptions(t,e))&&(this.sortDisabled=!0),checkHeaderOptionsSortingLocked(t,e)&&(this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(t,e)),!this.sortDisabled){var r=$(this).addClass(t.config.cssHeader);t.config.onRenderHeader&&t.config.onRenderHeader.apply(r)}t.config.headerList[e]=this}),t.config.debug&&(benchmark("Built headers:",e),log($tableHeaders)),$tableHeaders}function computeTableHeaderCellIndexes(t){for(var e=[],n={},r=t.getElementsByTagName("THEAD")[0],a=r.getElementsByTagName("TR"),i=0;ip;p++){"undefined"==typeof e[p]&&(e[p]=[]);for(var m=e[p],g=l;l+f>g;g++)m[g]="x"}}return n}function checkCellColSpan(t,e,n){for(var r=[],a=t.tHead.rows,i=a[n].cells,o=0;o1?r=r.concat(checkCellColSpan(t,headerArr,n++)):(1==t.tHead.length||s.rowSpan>1||!a[n+1])&&r.push(s)}return r}function checkHeaderMetadata(t){return $.metadata&&$(t).metadata().sorter===!1?!0:!1}function checkHeaderOptions(t,e){return t.config.headers[e]&&t.config.headers[e].sorter===!1?!0:!1}function checkHeaderOptionsSortingLocked(t,e){return t.config.headers[e]&&t.config.headers[e].lockedOrder?t.config.headers[e].lockedOrder:!1}function applyWidget(t){for(var e=t.config.widgets,n=e.length,r=0;n>r;r++)getWidgetById(e[r]).format(t)}function getWidgetById(t){for(var e=widgets.length,n=0;e>n;n++)if(widgets[n].id.toLowerCase()==t.toLowerCase())return widgets[n]}function formatSortingOrder(t){return"Number"!=typeof t?"desc"==t.toLowerCase()?1:0:1==t?1:0}function isValueInArray(t,e){for(var n=e.length,r=0;n>r;r++)if(e[r][0]==t)return!0;return!1}function setHeadersCss(t,e,n,r){e.removeClass(r[0]).removeClass(r[1]);var a=[];e.each(function(){this.sortDisabled||(a[this.column]=$(this))});for(var i=n.length,o=0;i>o;o++)a[n[o][0]].addClass(r[n[o][1]])}function fixColumnWidth(t){var e=t.config;if(e.widthFixed){var n=$("");$("tr:first td",t.tBodies[0]).each(function(){n.append($("").css("width",$(this).width()))}),$(t).prepend(n)}}function updateHeaderSortCount(t,e){for(var n=t.config,r=e.length,a=0;r>a;a++){var i=e[a],o=n.headerList[i[0]];o.count=i[1],o.count++}}function multisort(table,sortList,cache){if(table.config.debug)var sortTime=new Date;for(var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length,i=0;l>i;i++){var c=sortList[i][0],order=sortList[i][1],s="text"==table.config.parsers[c].type?0==order?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c):0==order?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c),e="e"+i;dynamicExp+="var "+e+" = "+s,dynamicExp+="if("+e+") { return "+e+"; } ",dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;l>i;i++)dynamicExp+="}; ";return dynamicExp+="return 0; ",dynamicExp+="}; ",table.config.debug&&benchmark("Evaling expression:"+dynamicExp,new Date),eval(dynamicExp),cache.normalized.sort(sortWrapper),table.config.debug&&benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime),cache}function makeSortFunction(t,e,n){var r="a["+n+"]",a="b["+n+"]";return"text"==t&&"asc"==e?"("+r+" == "+a+" ? 0 : ("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : ("+r+" < "+a+") ? -1 : 1 )));":"text"==t&&"desc"==e?"("+r+" == "+a+" ? 0 : ("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : ("+a+" < "+r+") ? -1 : 1 )));":"numeric"==t&&"asc"==e?"("+r+" === null && "+a+" === null) ? 0 :("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : "+r+" - "+a+"));":"numeric"==t&&"desc"==e?"("+r+" === null && "+a+" === null) ? 0 :("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : "+a+" - "+r+"));":void 0}function makeSortText(t){return"((a["+t+"] < b["+t+"]) ? -1 : ((a["+t+"] > b["+t+"]) ? 1 : 0));"}function makeSortTextDesc(t){return"((b["+t+"] < a["+t+"]) ? -1 : ((b["+t+"] > a["+t+"]) ? 1 : 0));"}function makeSortNumeric(t){return"a["+t+"]-b["+t+"];"}function makeSortNumericDesc(t){return"b["+t+"]-a["+t+"];"}function sortText(t,e){return table.config.sortLocaleCompare?t.localeCompare(e):e>t?-1:t>e?1:0}function sortTextDesc(t,e){return table.config.sortLocaleCompare?e.localeCompare(t):t>e?-1:e>t?1:0}function sortNumeric(t,e){return t-e}function sortNumericDesc(t,e){return e-t}function getCachedSortType(t,e){return t[e].type}var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:!0,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:!1,cancelSelection:!0,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:!1},this.benchmark=benchmark,this.construct=function(t){return this.each(function(){if(this.tHead&&this.tBodies){var e,n,r,a;this.config={},a=$.extend(this.config,$.tablesorter.defaults,t),e=$(this),$.data(this,"tablesorter",a),n=buildHeaders(this),this.config.parsers=buildParserCache(this,n),r=buildCache(this);var i=[a.cssDesc,a.cssAsc]; -fixColumnWidth(this),n.click(function(t){var o=e[0].tBodies[0]&&e[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&o>0){e.trigger("sortStart");var s=($(this),this.column);if(this.order=this.count++%2,this.lockedOrder&&(this.order=this.lockedOrder),t[a.sortMultiSortKey])if(isValueInArray(s,a.sortList))for(var l=0;l0&&e.trigger("sorton",[a.sortList]),applyWidget(this)}})},this.addParser=function(t){for(var e=parsers.length,n=!0,r=0;e>r;r++)parsers[r].id.toLowerCase()==t.id.toLowerCase()&&(n=!1);n&&parsers.push(t)},this.addWidget=function(t){widgets.push(t)},this.formatFloat=function(t){var e=parseFloat(t);return isNaN(e)?0:e},this.formatInt=function(t){var e=parseInt(t);return isNaN(e)?0:e},this.isDigit=function(t){return/^[-+]?\d*$/.test($.trim(t.replace(/[,.']/g,"")))},this.clearTableBody=function(t){function e(){for(;this.firstChild;)this.removeChild(this.firstChild)}$.browser.msie?e.apply(t.tBodies[0]):t.tBodies[0].innerHTML=""}}}),$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(){return!0},format:function(t){return $.trim(t.toLocaleLowerCase())},type:"text"}),ts.addParser({id:"digit",is:function(t,e){var n=e.config;return $.tablesorter.isDigit(t,n)},format:function(t){return $.tablesorter.formatFloat(t)},type:"numeric"}),ts.addParser({id:"currency",is:function(t){return/^[£$€?.]/.test(t)},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/[£$€]/g),""))},type:"numeric"}),ts.addParser({id:"ipAddress",is:function(t){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(t)},format:function(t){for(var e=t.split("."),n="",r=e.length,a=0;r>a;a++){var i=e[a];n+=2==i.length?"0"+i:i}return $.tablesorter.formatFloat(n)},type:"numeric"}),ts.addParser({id:"url",is:function(t){return/^(https?|ftp|file):\/\/$/.test(t)},format:function(t){return jQuery.trim(t.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"}),ts.addParser({id:"isoDate",is:function(t){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(t)},format:function(t){return $.tablesorter.formatFloat(""!=t?new Date(t.replace(new RegExp(/-/g),"/")).getTime():"0")},type:"numeric"}),ts.addParser({id:"percent",is:function(t){return/\%$/.test($.trim(t))},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/%/g),""))},type:"numeric"}),ts.addParser({id:"usLongDate",is:function(t){return t.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(t){return $.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"shortDate",is:function(t){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(t)},format:function(t,e){var n=e.config;return t=t.replace(/\-/g,"/"),"us"==n.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2"):"uk"==n.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1"):("dd/mm/yy"==n.dateFormat||"dd-mm-yy"==n.dateFormat)&&(t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")),$.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"time",is:function(t){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(t)},format:function(t){return $.tablesorter.formatFloat(new Date("2000/01/01 "+t).getTime())},type:"numeric"}),ts.addParser({id:"metadata",is:function(){return!1},format:function(t,e,n){var r=e.config,a=r.parserMetadataName?r.parserMetadataName:"sortValue";return $(n).metadata()[a]},type:"numeric"}),ts.addWidget({id:"zebra",format:function(t){if(t.config.debug)var e=new Date;var n,r,a=-1;$("tr:visible",t.tBodies[0]).each(function(){n=$(this),n.hasClass(t.config.cssChildRow)||a++,r=a%2==0,n.removeClass(t.config.widgetZebra.css[r?0:1]).addClass(t.config.widgetZebra.css[r?1:0])}),t.config.debug&&$.tablesorter.benchmark("Applying Zebra widget",e)}})}(jQuery),function(t){window.NestedFormEvents=function(){this.addFields=t.proxy(this.addFields,this),this.removeFields=t.proxy(this.removeFields,this)},NestedFormEvents.prototype={addFields:function(e){var n=e.currentTarget,r=t(n).data("association"),a=t("#"+t(n).data("blueprint-id")),i=a.data("blueprint"),o=(t(n).closest(".fields").closestChild("input, textarea, select").eq(0).attr("name")||"").replace(new RegExp("[[a-z_]+]$"),"");if(o)for(var s=o.match(/[a-z_]+_attributes(?=\]\[(new_)?\d+\])/g)||[],l=o.match(/[0-9]+/g)||[],u=0;u0;)for(var r=n.shift(),a=r.children(),i=0;i=s&&l>r||l>=a&&a>s||s>r&&a>l}),s=l+1;var c=0;for(var u in o)if(o[u].selected){var d=o[u].start+c;e&&n.tabString==t.value.substring(d,d+n.tabString.length)?(t.value=t.value.substring(0,d)+t.value.substring(d+n.tabString.length),c-=n.tabString.length):e||(t.value=t.value.substring(0,d)+n.tabString+t.value.substring(d),c+=n.tabString.length)}t.focus();var h=r+(c>0?n.tabString.length:0>c?-n.tabString.length:0),f=a+c;t.setSelectionRange(h,f)}}function r(e,n,r){var a=document.selection.createRange();if(e==a.parentElement())if(""==a.text)if(n){var i=a.getBookmark();a.moveStart("character",-r.tabString.length),r.tabString==a.text?a.text="":(a.moveToBookmark(i),a.moveEnd("character",r.tabString.length),r.tabString==a.text&&(a.text="")),a.collapse(!0),a.select()}else a.text=r.tabString,a.collapse(!1),a.select();else{var o=a.text,s=o.length,l=o.split("\r\n"),u=document.body.createTextRange();u.moveToElementText(e),u.setEndPoint("EndToStart",a);var c=u.text,d=c.split("\r\n"),h=c.length,f=document.body.createTextRange();f.moveToElementText(e),f.setEndPoint("StartToEnd",a);var p=f.text,m=document.body.createTextRange();m.moveToElementText(e),m.setEndPoint("StartToEnd",u);var g=m.text,v=t(e).html();t("#r3").text(h+" + "+s+" + "+p.length+" = "+v.length),h+g.length0?y.setEndPoint("StartToEnd",u):y.setEndPoint("StartToStart",u),y.setEndPoint("EndToEnd",a),y.select()}}t.fn.tabby=function(n){var r=t.extend({},t.fn.tabby.defaults,n),a=t.fn.tabby.pressed;return this.each(function(){$this=t(this);var n=t.meta?t.extend({},r,$this.data()):r;$this.bind("keydown",function(r){var i=t.fn.tabby.catch_kc(r);return 16==i&&(a.shft=!0),17==i&&(a.ctrl=!0,setTimeout("$.fn.tabby.pressed.ctrl = false;",1e3)),18==i&&(a.alt=!0,setTimeout("$.fn.tabby.pressed.alt = false;",1e3)),9!=i||a.ctrl||a.alt?void 0:(r.preventDefault,a.last=i,setTimeout("$.fn.tabby.pressed.last = null;",0),e(t(r.target).get(0),a.shft,n),!1)}).bind("keyup",function(e){16==t.fn.tabby.catch_kc(e)&&(a.shft=!1)}).bind("blur",function(e){9==a.last&&t(e.target).one("focus",function(){a.last=null}).get(0).focus()})})},t.fn.tabby.catch_kc=function(t){return t.keyCode?t.keyCode:t.charCode?t.charCode:t.which},t.fn.tabby.pressed={shft:!1,ctrl:!1,alt:!1,last:null},t.fn.tabby.defaults={tabString:String.fromCharCode(9)}}(jQuery),function(t,e,n){var r={required:"The %s field is required.",matches:"The %s field does not match the %s field.",valid_email:"The %s field must contain a valid email address.",min_length:"The %s field must be at least %s characters in length.",max_length:"The %s field must not exceed %s characters in length.",exact_length:"The %s field must be exactly %s characters in length.",greater_than:"The %s field must contain a number greater than %s.",less_than:"The %s field must contain a number less than %s.",alpha:"The %s field must only contain alphabetical characters.",alpha_numeric:"The %s field must only contain alpha-numeric characters.",alpha_dash:"The %s field must only contain alpha-numeric characters, underscores, and dashes.",numeric:"The %s field must contain only numbers.",integer:"The %s field must contain an integer."},a=function(){},i=/^(.+)\[(.+)\]$/,o=/^[0-9]+$/,s=/^\-?[0-9]+$/,l=/^\-?[0-9]*\.?[0-9]+$/,u=/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,6}$/i,c=/^[a-z]+$/i,d=/^[a-z0-9]+$/i,h=/^[a-z0-9_-]+$/i,f=function(t,n,r){for(this.callback=r||a,this.errors=[],this.fields={},this.form=e.forms[t]||{},this.messages={},this.handlers={},t=0,r=n.length;r>t;t++){var i=n[t];i.name&&i.rules&&(this.fields[i.name]={name:i.name,display:i.display||i.name,rules:i.rules,type:null,value:null,checked:null})}this.form.onsubmit=function(t){return function(e){try{return t._validateForm(e)}catch(n){}}}(this)};f.prototype.setMessage=function(t,e){return this.messages[t]=e,this},f.prototype.registerCallback=function(t,e){return t&&"string"==typeof t&&e&&"function"==typeof e&&(this.handlers[t]=e),this},f.prototype._validateForm=function(t){this.errors=[];for(var e in this.fields)if(this.fields.hasOwnProperty(e)){var r=this.fields[e]||{},a=this.form[r.name];a&&a!==n&&(r.type=a.type,r.value=a.value,r.checked=a.checked),this._validateField(r)}if("function"==typeof this.callback&&this.callback(this.errors,t),this.errors.length>0){if(!t||!t.preventDefault)return!1;t.preventDefault()}return!0},f.prototype._validateField=function(t){var e=t.rules.split("|");if(-1!==t.rules.indexOf("required")||t.value&&""!==t.value&&t.value!==n)for(var a=0,o=e.length;o>a;a++){var s=e[a],l=null,u=!1;if((parts=i.exec(s))&&(s=parts[1],l=parts[2]),"function"==typeof this._hooks[s]?this._hooks[s].apply(this,[t,l])||(u=!0):"callback_"===s.substring(0,9)&&(s=s.substring(9,s.length),"function"==typeof this.handlers[s]&&this.handlers[s].apply(this,[t.value])===!1&&(u=!0)),u){(e=this.messages[s]||r[s])?(t=e.replace("%s",t.display),l&&(t=t.replace("%s",this.fields[l]?this.fields[l].display:l)),this.errors.push(t)):this.errors.push("An error has occurred with the "+t.display+" field.");break}}},f.prototype._hooks={required:function(t){var e=t.value;return"checkbox"===t.type?t.checked===!0:null!==e&&""!==e},matches:function(t,e){return(el=this.form[e])?t.value===el.value:!1},valid_email:function(t){return u.test(t.value)},min_length:function(t,e){return o.test(e)?t.value.length>=e:!1},max_length:function(t,e){return o.test(e)?t.value.length<=e:!1},exact_length:function(t,e){return o.test(e)?t.value.length==e:!1},greater_than:function(t,e){return l.test(t.value)?parseFloat(t.value)>parseFloat(e):!1},less_than:function(t,e){return l.test(t.value)?parseFloat(t.value)="0"&&"7">=n?parseInt(t.substring(1),8):"u"===n||"x"===n?parseInt(t.substring(2),16):t.charCodeAt(1)}function n(t){return 32>t?(16>t?"\\x0":"\\x")+t.toString(16):(t=String.fromCharCode(t),("\\"===t||"-"===t||"["===t||"]"===t)&&(t="\\"+t),t)}function r(t){for(var r=t.substring(1,t.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),t=[],a=[],i="^"===r[0],o=i?1:0,s=r.length;s>o;++o){var l=r[o];if(/\\[bdsw]/i.test(l))t.push(l);else{var u,l=e(l);s>o+2&&"-"===r[o+1]?(u=e(r[o+2]),o+=2):u=l,a.push([l,u]),65>u||l>122||(65>u||l>90||a.push([32|Math.max(65,l),32|Math.min(u,90)]),97>u||l>122||a.push([-33&Math.max(97,l),-33&Math.min(u,122)]))}}for(a.sort(function(t,e){return t[0]-e[0]||e[1]-t[1]}),r=[],l=[0/0,0/0],o=0;os[0]&&(s[1]+1>s[0]&&a.push("-"),a.push(n(s[1])));return a.push("]"),a.join("")}function a(t){for(var e=t.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),n=e.length,a=[],s=0,l=0;n>s;++s){var u=e[s];"("===u?++l:"\\"===u.charAt(0)&&(u=+u.substring(1))&&l>=u&&(a[u]=-1)}for(s=1;ss;++s)u=e[s],"("===u?(++l,void 0===a[l]&&(e[s]="(?:")):"\\"===u.charAt(0)&&(u=+u.substring(1))&&l>=u&&(e[s]="\\"+a[l]);for(l=s=0;n>s;++s)"^"===e[s]&&"^"!==e[s+1]&&(e[s]="");if(t.ignoreCase&&o)for(s=0;n>s;++s)u=e[s],t=u.charAt(0),u.length>=2&&"["===t?e[s]=r(u):"\\"!==t&&(e[s]=u.replace(/[A-Za-z]/g,function(t){return t=t.charCodeAt(0),"["+String.fromCharCode(-33&t,32|t)+"]"}));return e.join("")}for(var i=0,o=!1,s=!1,l=0,u=t.length;u>l;++l){var c=t[l];if(c.ignoreCase)s=!0;else if(/[a-z]/i.test(c.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){o=!0,s=!1;break}}for(var d={b:8,t:9,n:10,v:11,f:12,r:13},h=[],l=0,u=t.length;u>l;++l){if(c=t[l],c.global||c.multiline)throw Error(""+c);h.push("(?:"+a(c)+")")}return RegExp(h.join("|"),s?"gi":"g")}function e(t){function e(t){switch(t.nodeType){case 1:if(r.test(t.className))break;for(var n=t.firstChild;n;n=n.nextSibling)e(n);n=t.nodeName,("BR"===n||"LI"===n)&&(a[s]="\n",o[s<<1]=i++,o[s++<<1|1]=t);break;case 3:case 4:n=t.nodeValue,n.length&&(n=l?n.replace(/\r\n?/g,"\n"):n.replace(/[\t\n\r ]+/g," "),a[s]=n,o[s<<1]=i,i+=n.length,o[s++<<1|1]=t)}}var n,r=/(?:^|\s)nocode(?:\s|$)/,a=[],i=0,o=[],s=0;t.currentStyle?n=t.currentStyle.whiteSpace:window.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,q).getPropertyValue("white-space"));var l=n&&"pre"===n.substring(0,3);return e(t),{a:a.join("").replace(/\n$/,""),c:o}}function n(t,e,n,r){e&&(t={a:e,d:t},n(t),r.push.apply(r,t.e))}function r(e,r){function a(t){for(var e=t.d,u=[e,"pln"],c=0,d=t.a.match(i)||[],h={},f=0,p=d.length;p>f;++f){var m,g=d[f],v=h[g],b=void 0;if("string"==typeof v)m=!1;else{var y=o[g.charAt(0)];if(y)b=g.match(y[1]),v=y[0];else{for(m=0;l>m;++m)if(y=r[m],b=g.match(y[1])){v=y[0];break}b||(v="pln")}!(m=v.length>=5&&"lang-"===v.substring(0,5))||b&&"string"==typeof b[1]||(m=!1,v="src"),m||(h[g]=v)}if(y=c,c+=g.length,m){m=b[1];var w=g.indexOf(m),x=w+m.length;b[2]&&(x=g.length-b[2].length,w=x-m.length),v=v.substring(5),n(e+y,g.substring(0,w),a,u),n(e+y+w,m,s(v,m),u),n(e+y+x,g.substring(x),a,u)}else u.push(e+y,v)}t.e=u}var i,o={};!function(){for(var n=e.concat(r),a=[],s={},l=0,u=n.length;u>l;++l){var c=n[l],d=c[3];if(d)for(var h=d.length;--h>=0;)o[d.charAt(h)]=c;c=c[1],d=""+c,s.hasOwnProperty(d)||(a.push(c),s[d]=q)}a.push(/[\S\s]/),i=t(a)}();var l=r.length;return a}function a(t){var e=[],n=[];t.tripleQuotedStrings?e.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):t.multiLineStrings?e.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,q,"'\"`"]):e.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]),t.verbatimStrings&&n.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var a=t.hashComments;return a&&(t.cStyleComments?(a>1?e.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):e.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):e.push(["com",/^#[^\n\r]*/,q,"#"])),t.cStyleComments&&(n.push(["com",/^\/\/[^\n\r]*/,q]),n.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q])),t.regexLiterals&&n.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]),(a=t.types)&&n.push(["typ",a]),t=(""+t.keywords).replace(/^ | $/g,""),t.length&&n.push(["kwd",RegExp("^(?:"+t.replace(/[\s,]+/g,"|")+")\\b"),q]),e.push(["pln",/^\s+/,q," \r\n  "]),n.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]),r(e,n)}function i(t,e){function n(t){switch(t.nodeType){case 1:if(i.test(t.className))break;if("BR"===t.nodeName)r(t),t.parentNode&&t.parentNode.removeChild(t);else for(t=t.firstChild;t;t=t.nextSibling)n(t);break;case 3:case 4:if(l){var e=t.nodeValue,a=e.match(o);if(a){var u=e.substring(0,a.index);t.nodeValue=u,(e=e.substring(a.index+a[0].length))&&t.parentNode.insertBefore(s.createTextNode(e),t.nextSibling),r(t),u||t.parentNode.removeChild(t)}}}}function r(t){function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var a=e(a,1),i=t.nextSibling;a.appendChild(r);for(var o=i;o;o=i)i=o.nextSibling,a.appendChild(o)}return r}for(;!t.nextSibling;)if(t=t.parentNode,!t)return;for(var n,t=e(t.nextSibling,0);(n=t.parentNode)&&1===n.nodeType;)t=n;u.push(t)}var a,i=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,s=t.ownerDocument;t.currentStyle?a=t.currentStyle.whiteSpace:window.getComputedStyle&&(a=s.defaultView.getComputedStyle(t,q).getPropertyValue("white-space"));var l=a&&"pre"===a.substring(0,3);for(a=s.createElement("LI");t.firstChild;)a.appendChild(t.firstChild);for(var u=[a],c=0;cc;++c)a=u[c],a.className="L"+(c+h)%10,a.firstChild||a.appendChild(s.createTextNode(" ")),d.appendChild(a);t.appendChild(d)}function o(t,e){for(var n=e.length;--n>=0;){var r=e[n];y.hasOwnProperty(r)?window.console&&console.warn("cannot override language handler %s",r):y[r]=t}}function s(t,e){return t&&y.hasOwnProperty(t)||(t=/^\s*p;)d[p]!==d[p+2]?(d[f++]=d[p++],d[f++]=d[p++]):p+=2;for(h=f,p=f=0;h>p;){for(var m=d[p],g=d[p+1],v=p+2;h>=v+2&&d[v+1]===g;)v+=2;d[f++]=m,d[f++]=g,p=v}for(d.length=f;c>a;){var b,y=u[a+2]||l,w=d[t+2]||l,v=Math.min(y,w),x=u[a+1];if(1!==x.nodeType&&(b=o.substring(r,v))){i&&(b=b.replace(n,"\r")),x.nodeValue=b;var S=x.ownerDocument,$=S.createElement("SPAN");$.className=d[t+1];var k=x.parentNode;k.replaceChild($,x),$.appendChild(x),y>r&&(u[a+1]=x=S.createTextNode(o.substring(v,y)),k.insertBefore(x,$.nextSibling))}r=v,r>=y&&(a+=2),r>=w&&(t+=2)}}catch(C){"console"in window&&console.log(C&&C.stack?C.stack:C)}}var u=["break,continue,do,else,for,if,return,while"],c=[[u,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],d=[c,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],h=[c,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],f=[h,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],c=[c,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],p=[u,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],m=[u,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[u,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],g=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,v=/\S/,b=a({keywords:[d,f,c,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+p,m,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),y={};o(b,["default-code"]),o(r([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),o(r([["pln",/^\s+/,q," \r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]),o(r([],[["atv",/^[\S\s]+/]]),["uq.val"]),o(a({keywords:d,hashComments:!0,cStyleComments:!0,types:g}),["c","cc","cpp","cxx","cyc","m"]),o(a({keywords:"null,true,false"}),["json"]),o(a({keywords:f,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:g}),["cs"]),o(a({keywords:h,cStyleComments:!0}),["java"]),o(a({keywords:u,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]),o(a({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py"]),o(a({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]),o(a({keywords:m,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]),o(a({keywords:c,cStyleComments:!0,regexLiterals:!0}),["js"]),o(a({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),o(r([],[["str",/^[\S\s]+/]]),["regex"]),window.prettyPrintOne=function(t,e,n){var r=document.createElement("PRE");return r.innerHTML=t,n&&i(r,n),l({g:e,i:n,h:r}),r.innerHTML},window.prettyPrint=function(t){function e(){for(var n=window.PR_SHOULD_USE_CONTINUATION?u.now()+250:1/0;d=0){var s,f,o=o.match(h);if(f=!o){f=a;for(var p=void 0,m=f.firstChild;m;m=m.nextSibling)var g=m.nodeType,p=1===g?p?f:m:3===g?v.test(m.nodeValue)?f:p:p;f=(s=p===f?void 0:p)&&"CODE"===s.tagName}for(f&&(o=s.className.match(h)),o&&(o=o[1]),f=!1,p=a.parentNode;p;p=p.parentNode)if(("pre"===p.tagName||"code"===p.tagName||"xmp"===p.tagName)&&p.className&&p.className.indexOf("prettyprint")>=0){f=!0;break}f||((f=(f=a.className.match(/\blinenums\b(?::(\d+))?/))?f[1]&&f[1].length?+f[1]:!0:!1)&&i(a,f),c={g:o,h:a,i:f},l(c))}}do;++o)r.push(n[a][o]);var n=q,u=Date;u.now||(u={now:function(){return+new Date}});var c,d=0,h=/\blang(?:uage)?-([\w.]+)(?!\S)/;e()},window.PR={createSimpleLexer:r,registerLangHandler:o,sourceDecorator:a,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}}(),!function(t){t(function(){window.prettyPrint&&prettyPrint()})}(window.jQuery),$(document).on("page:load ready",function(){$(".response").click(function(){var t=$(this).data("response_type");$(".response").removeClass("active"),$(".response-"+t).addClass("active"),$(".format").hide(),$(".format-"+t).show()})}),$(document).on("page:load ready",function(){$(".flash").length>0&&($(".flash").on("click",function(){$(this).hide("slow")}),setTimeout(function(){$(".flash").length>0&&$(".flash").hide("slow")},15e3)),$("#talkback_command_add").click(function(){$(this).hide(),$("#talkback_command_add_form").removeClass("hide")}),$("#contact_link").click(function(){$("#contact_form").toggle()}),$(".tablesorter").tablesorter(),$("#userlogin_js").val("6H2W6QYUAJT1Q8EB")}); \ No newline at end of file +function reloadCharts(){return-1===navigator.userAgent.toLowerCase().indexOf("firefox")?!1:void $('.ui-widget-content [aria-expanded="false"]').find("iframe").each(function(){var t=$(this).attr("src");-1!==t.indexOf("charts")&&($(this).hide(),$(this).attr("src",t),$(this).show())})}function openDialogCenter(t){t.dialog("open");var e=getDimensions(t.parent());t.dialog({position:[e[0],e[1]]})}function getDimensions(t){var e=new Array(2);return e[0]=$(window).width()/2-t.width()/2,e[1]=$(window).height()/2-t.height()/2,e}function updateChart(t,e,n,r,a,i){var n=n,r=r,o=$("#iframe"+t).attr("default_src");o||(o=$("#iframe"+t).attr("src")),src=o.split("?")[0],("bar"===$("#type_"+t).val()||"column"===$("#type_"+t).val())&&0==$("#timescale_"+t).val().length&&0==$("#average_"+t).val().length&&0==$("#median_"+t).val().length&&0==$("#sum_"+t).val().length&&$("#timescale_"+t).val(30);var s=[];$(".chart_options"+t).each(function(){var t=$(this).val(),e=$(this).attr("id"),n=e.split("_")[0];t.length>0&&s.push([n,t])});for(var l="";s.length>0;){var u=s.pop();"width"==u[0]&&(n=parseInt(u[1])),"height"==u[0]&&(r=parseInt(u[1])),("type"!=u[0]||"line"!=u[1])&&(l+="&"+u[0]+"="+encodeURIComponent(u[1]))}l.length>0&&(src+="?"+l.substring(1)),e&&t>0&&i?$.update("/channels/"+a+"/charts/"+t,{newOptions:{options:l}}):e&&t>0&&$.update("/channels/"+a+"/charts/"+t,{options:l}),$("#embed"+t).val(''),$("#iframe"+t).attr("src",src),$("#iframe"+t).attr("width",n),$("#iframe"+t).attr("height",r)}function updateSelectValues(){selectedValue=$(this).val(),$(".mutuallyexclusive"+index).each(function(){$(this).val("")}),$(this).val(selectedValue)}function setupChartForm(t){return function(e,n){n.length>0&&$("#"+n.split("=")[0]+"_"+t).val(decodeURIComponent(n.split("=")[1]))}}function setupColumns(t,e){$(sortColumnSetup(t,e)),$(".column").disableSelection()}function createWindowsWithData(t,e,n,r){for(var a in t){var i=t[a].window,o=i.window_type;colId=i.col,title=i.title;var s=i.html;"chart"===i.window_type&&$("body").append("
");var l=addWindow(r,colId,i.id,o,title,s);l.each(decoratePortlet(e)),l.find(".ui-toggle").click(uiToggleClick),l.find(".ui-view").click(uiViewClick(n)),l.find(".ui-edit").click(uiEditClick(n)),l.find(".ui-close").click(uiCloseClick(n))}}function addWindow(t,e,n,r,a,i){if($("#"+t+"_dialog"+e).append('
'+a+'
'+i+"
"),$("#portlet_"+n).length>1)throw"Portlet count doesn't match what's expected";return $("#portlet_"+n)}function sortColumnSetup(t,e){$(".column").sortable({opacity:.6,helper:function(){return $("
Drop to re-position
")},connectWith:".column",update:updatePortletPositions(t,e)})}function getPortletArray(t){var e=new Array,n=t.split("&");for(i in n)val=n[i].split("=")[1],e.push(val);return e}function uiToggleClick(){$(this).toggleClass("ui-icon-minusthick").toggleClass("ui-icon-plusthick"),$(this).parents(".portlet:first").find(".portlet-content").toggle()}!function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,r=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHeader("X-CSRF-Token",n)},fire:function(e,n,r){var a=t.Event(n);return e.trigger(a,r),a.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t.attr("href")},handleRemote:function(r){var a,i,o,s,l,u,c,d;if(n.fire(r,"ajax:before")){if(s=r.data("cross-domain"),l=s===e?null:s,u=r.data("with-credentials")||null,c=r.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,r.is("form")){a=r.attr("method"),i=r.attr("action"),o=r.serializeArray();var h=r.data("ujs:submit-button");h&&(o.push(h),r.data("ujs:submit-button",null))}else r.is(n.inputChangeSelector)?(a=r.data("method"),i=r.data("url"),o=r.serialize(),r.data("params")&&(o=o+"&"+r.data("params"))):r.is(n.buttonClickSelector)?(a=r.data("method")||"get",i=r.data("url"),o=r.serialize(),r.data("params")&&(o=o+"&"+r.data("params"))):(a=r.data("method"),i=n.href(r),o=r.data("params")||null);d={type:a||"GET",data:o,dataType:c,beforeSend:function(t,a){return a.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+a.accepts.script),n.fire(r,"ajax:beforeSend",[t,a])},success:function(t,e,n){r.trigger("ajax:success",[t,e,n])},complete:function(t,e){r.trigger("ajax:complete",[t,e])},error:function(t,e,n){r.trigger("ajax:error",[t,e,n])},crossDomain:l},u&&(d.xhrFields={withCredentials:u}),i&&(d.url=i);var f=n.ajax(d);return r.trigger("ajax:send",f),f}return!1},handleMethod:function(r){var a=n.href(r),i=r.data("method"),o=r.attr("target"),s=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),u=t('
'),c='';l!==e&&s!==e&&(c+=''),o&&u.attr("target",o),u.hide().append(c).appendTo("body"),u.submit()},disableFormElements:function(e){e.find(n.disableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with",e[n]()),e[n](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(n.enableSelector).each(function(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[n](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(t){var e,r=t.data("confirm"),a=!1;return r?(n.fire(t,"confirm")&&(a=n.confirm(r),e=n.fire(t,"confirm:complete",[a])),a&&e):!0},blankInputs:function(e,n,r){var a,i,o=t(),s=n||"input,textarea",l=e.find(s);return l.each(function(){if(a=t(this),i=a.is("input[type=checkbox],input[type=radio]")?a.is(":checked"):a.val(),!i==!r){if(a.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+a.attr("name")+'"]').length)return!0;o=o.add(a)}}),o.length?o:!1},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return n.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},n.fire(r,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,r){t.crossDomain||n.CSRFProtection(r)}),r.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(t(this))}),r.delegate(n.linkClickSelector,"click.rails",function(r){var a=t(this),i=a.data("method"),o=a.data("params");if(!n.allowAction(a))return n.stopEverything(r);if(a.is(n.linkDisableSelector)&&n.disableElement(a),a.data("remote")!==e){if(!(!r.metaKey&&!r.ctrlKey||i&&"GET"!==i||o))return!0;var s=n.handleRemote(a);return s===!1?n.enableElement(a):s.error(function(){n.enableElement(a)}),!1}return a.data("method")?(n.handleMethod(a),!1):void 0}),r.delegate(n.buttonClickSelector,"click.rails",function(e){var r=t(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(e)}),r.delegate(n.inputChangeSelector,"change.rails",function(e){var r=t(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(e)}),r.delegate(n.formSubmitSelector,"submit.rails",function(r){var a=t(this),i=a.data("remote")!==e,o=n.blankInputs(a,n.requiredInputSelector),s=n.nonBlankInputs(a,n.fileInputSelector);if(!n.allowAction(a))return n.stopEverything(r);if(o&&a.attr("novalidate")==e&&n.fire(a,"ajax:aborted:required",[o]))return n.stopEverything(r);if(i){if(s){setTimeout(function(){n.disableFormElements(a)},13);var l=n.fire(a,"ajax:aborted:file",[s]);return l||setTimeout(function(){n.enableFormElements(a)},13),l}return n.handleRemote(a),!1}setTimeout(function(){n.disableFormElements(a)},13)}),r.delegate(n.formInputClickSelector,"click.rails",function(e){var r=t(this);if(!n.allowAction(r))return n.stopEverything(e);var a=r.attr("name"),i=a?{name:a,value:r.val()}:null;r.closest("form").data("ujs:submit-button",i)}),r.delegate(n.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&n.disableFormElements(t(this))}),r.delegate(n.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&n.enableFormElements(t(this))}),t(function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)}))}(jQuery),function(){var t,e,n,r,a,i,o,s,l,u,c,d,h,f,p,m,g,v,b,y,w,x,S,$,k,E,C,T,_,N,I,A,L,F,R,P,O,D,j,H,q,B,M,z,U,V,W,G,Q,X,Y,K,Z,J=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},te={}.hasOwnProperty,ee=function(t,e){function n(){this.constructor=t}for(var r in e)te.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},ne=[].slice;A={},h=10,G=!1,v=null,N=null,D=null,g=null,K=null,r={BEFORE_CHANGE:"page:before-change",FETCH:"page:fetch",RECEIVE:"page:receive",CHANGE:"page:change",UPDATE:"page:update",LOAD:"page:load",RESTORE:"page:restore",BEFORE_UNLOAD:"page:before-unload",EXPIRE:"page:expire"},x=function(t){var e;return t=new n(t),M(),d(),G&&(e=Q(t.absolute))?(S(e),$(t)):$(t,V)},Q=function(t){var e;return e=A[t],e&&!e.transitionCacheDisabled?e:void 0},b=function(t){return null==t&&(t=!0),G=t},$=function(t,e){return null==e&&(e=function(){return function(){}}(this)),X(r.FETCH,{url:t.absolute}),null!=K&&K.abort(),K=new XMLHttpRequest,K.open("GET",t.withoutHashForIE10compatibility(),!0),K.setRequestHeader("Accept","text/html, application/xhtml+xml, application/xml"),K.setRequestHeader("X-XHR-Referer",D),K.onload=function(){var n;return X(r.RECEIVE,{url:t.absolute}),(n=P())?(j(t),f.apply(null,w(n)),I(),H(),e(),X(r.LOAD)):document.location.href=t.absolute},K.onloadend=function(){return K=null},K.onerror=function(){return document.location.href=t.absolute},K.send()},S=function(t){return null!=K&&K.abort(),f(t.title,t.body),O(t),X(r.RESTORE)},d=function(){var t;return t=new n(v.url),A[t.absolute]={url:t.relative,body:document.body,title:document.title,positionY:window.pageYOffset,positionX:window.pageXOffset,cachedAt:(new Date).getTime(),transitionCacheDisabled:null!=document.querySelector("[data-no-transition-cache]")},m(h)},F=function(t){return null==t&&(t=h),/^[\d]+$/.test(t)?h=parseInt(t):void 0},m=function(t){var e,n,a,i,o,s;for(a=Object.keys(A),e=a.map(function(t){return A[t].cachedAt}).sort(function(t,e){return e-t}),s=[],i=0,o=a.length;o>i;i++)n=a[i],A[n].cachedAt<=e[t]&&(X(r.EXPIRE,A[n]),s.push(delete A[n]));return s},f=function(e,n,a,i){return X(r.BEFORE_UNLOAD),document.title=e,document.documentElement.replaceChild(n,document.body),null!=a&&t.update(a),W(),i&&y(),v=window.history.state,X(r.CHANGE),X(r.UPDATE)},y=function(){var t,e,n,r,a,i,o,s,l,u,c,d;for(i=Array.prototype.slice.call(document.body.querySelectorAll('script:not([data-turbolinks-eval="false"])')),o=0,l=i.length;l>o;o++)if(a=i[o],""===(c=a.type)||"text/javascript"===c){for(e=document.createElement("script"),d=a.attributes,s=0,u=d.length;u>s;s++)t=d[s],e.setAttribute(t.name,t.value);a.hasAttribute("async")||(e.async=!1),e.appendChild(document.createTextNode(a.innerHTML)),r=a.parentNode,n=a.nextSibling,r.removeChild(a),r.insertBefore(e,n)}},z=function(t){return t.innerHTML=t.innerHTML.replace(//gi,""),t},W=function(){var t,e;return t=(e=document.querySelectorAll("input[autofocus], textarea[autofocus]"))[e.length-1],t&&document.activeElement!==t?t.focus():void 0},j=function(t){return(t=new n(t)).absolute!==D?window.history.pushState({turbolinks:!0,url:t.absolute},"",t.absolute):void 0},H=function(){var t,e;return(t=K.getResponseHeader("X-XHR-Redirected-To"))?(t=new n(t),e=t.hasNoHash()?document.location.hash:"",window.history.replaceState(v,"",t.href+e)):void 0},M=function(){return D=document.location.href},B=function(){return window.history.replaceState({turbolinks:!0,url:document.location.href},"",document.location.href)},q=function(){return v=window.history.state},I=function(){var t;return navigator.userAgent.match(/Firefox/)&&!(t=new n).hasNoHash()?(window.history.replaceState(v,"",t.withoutHash()),document.location.hash=t.hash):void 0},O=function(t){return window.scrollTo(t.positionX,t.positionY)},V=function(){return document.location.hash?document.location.href=document.location.href:window.scrollTo(0,0)},p=function(t){var e,n,r;if(null==t||"object"!=typeof t)return t;e=new t.constructor;for(n in t)r=t[n],e[n]=p(r);return e},R=function(t){var e,n;return e=(null!=(n=document.cookie.match(new RegExp(t+"=(\\w+)")))?n[1].toUpperCase():void 0)||"",document.cookie=t+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/",e},X=function(t,e){var n;return"undefined"!=typeof Prototype&&Event.fire(document,t,e,!0),n=document.createEvent("Events"),e&&(n.data=e),n.initEvent(t,!0,!0),document.dispatchEvent(n)},L=function(t){return!X(r.BEFORE_CHANGE,{url:t})},P=function(){var t,e,n,r,a,i;return e=function(){var t;return 400<=(t=K.status)&&600>t},i=function(){var t;return null!=(t=K.getResponseHeader("Content-Type"))&&t.match(/^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/)},r=function(t){var e,n,r,a,i;for(a=t.querySelector("head").childNodes,i=[],n=0,r=a.length;r>n;n++)e=a[n],null!=("function"==typeof e.getAttribute?e.getAttribute("data-turbolinks-track"):void 0)&&i.push(e.getAttribute("src")||e.getAttribute("href"));return i},t=function(t){var e;return N||(N=r(document)),e=r(t),e.length!==N.length||a(e,N).length!==N.length},a=function(t,e){var n,r,a,i,o;for(t.length>e.length&&(i=[e,t],t=i[0],e=i[1]),o=[],r=0,a=t.length;a>r;r++)n=t[r],J.call(e,n)>=0&&o.push(n);return o},!e()&&i()&&(n=g(K.responseText),n&&!t(n))?n:void 0},w=function(e){var n;return n=e.querySelector("title"),[null!=n?n.textContent:void 0,z(e.querySelector("body")),t.get(e).token,"runScripts"]},t={get:function(t){var e;return null==t&&(t=document),{node:e=t.querySelector('meta[name="csrf-token"]'),token:null!=e&&"function"==typeof e.getAttribute?e.getAttribute("content"):void 0}},update:function(t){var e;return e=this.get(),null!=e.token&&null!=t&&e.token!==t?e.node.setAttribute("content",t):void 0}},i=function(){var t,e,n,r,a,i,o,s,l,u;r=function(t){return(new DOMParser).parseFromString(t,"text/html")},e=function(t){var e;return e=document.implementation.createHTMLDocument(""),e.documentElement.innerHTML=t,e},a=function(t){var e;return e=document.implementation.createHTMLDocument(""),e.open("replace"),e.write(t),e.close(),e},n=function(t){var e,n,r,a,i,o;return r=(null!=(i=t.match(/]*>([\s\S.]*)<\/head>/i))?i[0]:void 0)||"",e=(null!=(o=t.match(/]*>([\s\S.]*)<\/body>/i))?o[0]:void 0)||"",a=document.createElement("html"),a.innerHTML=r+e,n=document.createDocumentFragment(),n.appendChild(a),n},t=function(t){var e,r,i;return e=function(t,e){return{passes:e(),fallback:t}},i=e(a,function(){return function(){var e,n;return 1===(null!=(e=t("

test"))&&null!=(n=e.body)?n.childNodes.length:void 0)}}(this)),r=e(n,function(){return function(){var e,n;return 2===(null!=(e=t("

"))&&null!=(n=e.body)?n.childNodes.length:void 0)}}(this)),[i,r]};try{if(window.DOMParser)return o=t(r),r}catch(c){return s=c,o=t(e),e}finally{for(l=0,u=o.length;u>l;l++)if(i=o[l],!i.passes)return i.fallback}},n=function(){function t(e){return this.original=null!=e?e:document.location.href,this.original.constructor===t?this.original:void this._parse()}return t.prototype.withoutHash=function(){return this.href.replace(this.hash,"").replace("#","")},t.prototype.withoutHashForIE10compatibility=function(){return this.withoutHash()},t.prototype.hasNoHash=function(){return 0===this.hash.length},t.prototype._parse=function(){var t;return(null!=this.link?this.link:this.link=document.createElement("a")).href=this.original,t=this.link,this.href=t.href,this.protocol=t.protocol,this.host=t.host,this.hostname=t.hostname,this.port=t.port,this.pathname=t.pathname,this.search=t.search,this.hash=t.hash,this.origin=[this.protocol,"//",this.hostname].join(""),0!==this.port.length&&(this.origin+=":"+this.port),this.relative=[this.pathname,this.search,this.hash].join(""),this.absolute=this.href},t}(),a=function(t){function e(t){return this.link=t,this.link.constructor===e?this.link:(this.original=this.link.href,this.originalElement=this.link,this.link=this.link.cloneNode(!1),void e.__super__.constructor.apply(this,arguments))}return ee(e,t),e.HTML_EXTENSIONS=["html"],e.allowExtensions=function(){var t,n,r,a;for(n=1<=arguments.length?ne.call(arguments,0):[],r=0,a=n.length;a>r;r++)t=n[r],e.HTML_EXTENSIONS.push(t);return e.HTML_EXTENSIONS},e.prototype.shouldIgnore=function(){return this._crossOrigin()||this._anchored()||this._nonHtml()||this._optOut()||this._target()},e.prototype._crossOrigin=function(){return this.origin!==(new n).origin},e.prototype._anchored=function(){return(this.hash.length>0||"#"===this.href.charAt(this.href.length-1))&&this.withoutHash()===(new n).withoutHash()},e.prototype._nonHtml=function(){return this.pathname.match(/\.[a-z]+$/g)&&!this.pathname.match(new RegExp("\\.(?:"+e.HTML_EXTENSIONS.join("|")+")?$","g"))},e.prototype._optOut=function(){var t,e;for(e=this.originalElement;!t&&e!==document;)t=null!=e.getAttribute("data-no-turbolink"),e=e.parentNode;return t},e.prototype._target=function(){return 0!==this.link.target.length},e}(n),e=function(){function t(t){this.event=t,this.event.defaultPrevented||(this._extractLink(),this._validForTurbolinks()&&(L(this.link.absolute)||Y(this.link.href),this.event.preventDefault()))}return t.installHandlerLast=function(e){return e.defaultPrevented?void 0:(document.removeEventListener("click",t.handle,!1),document.addEventListener("click",t.handle,!1))},t.handle=function(e){return new t(e)},t.prototype._extractLink=function(){var t;for(t=this.event.target;t.parentNode&&"A"!==t.nodeName;)t=t.parentNode;return"A"===t.nodeName&&0!==t.href.length?this.link=new a(t):void 0},t.prototype._validForTurbolinks=function(){return null!=this.link&&!(this.link.shouldIgnore()||this._nonStandardClick())},t.prototype._nonStandardClick=function(){return this.event.which>1||this.event.metaKey||this.event.ctrlKey||this.event.shiftKey||this.event.altKey},t}(),c=function(t){return setTimeout(t,500)},C=function(){return document.addEventListener("DOMContentLoaded",function(){return X(r.CHANGE),X(r.UPDATE)},!0)},_=function(){return"undefined"!=typeof jQuery?jQuery(document).on("ajaxSuccess",function(t,e){return jQuery.trim(e.responseText)?X(r.UPDATE):void 0}):void 0},T=function(t){var e,r;return(null!=(r=t.state)?r.turbolinks:void 0)?(e=A[new n(t.state.url).absolute])?(d(),S(e)):Y(t.target.location.href):void 0},E=function(){return B(),q(),g=i(),document.addEventListener("click",e.installHandlerLast,!0),window.addEventListener("hashchange",function(){return B(),q()},!1),c(function(){return window.addEventListener("popstate",T,!1)})},k=void 0!==window.history.state||navigator.userAgent.match(/Firefox\/2[6|7]/),l=window.history&&window.history.pushState&&window.history.replaceState&&k,o=!navigator.userAgent.match(/CriOS\//),U="GET"===(Z=R("request_method"))||""===Z,u=l&&o&&U,s=document.addEventListener&&document.createEvent,s&&(C(),_()),u?(Y=x,E()):Y=function(t){return document.location.href=t},this.Turbolinks={visit:Y,pagesCached:F,enableTransitionCache:b,allowLinkExtensions:a.allowExtensions,supported:u,EVENTS:p(r)}}.call(this),function(t){t.cookie=function(e,n,r){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(n))||null===n||void 0===n)){if(r=t.extend({},r),(null===n||void 0===n)&&(r.expires=-1),"number"==typeof r.expires){var a=r.expires,i=r.expires=new Date;i.setDate(i.getDate()+a)}return n=String(n),document.cookie=[encodeURIComponent(e),"=",r.raw?n:encodeURIComponent(n),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}r=n||{};for(var o,s=r.raw?function(t){return t}:decodeURIComponent,l=document.cookie.split("; "),u=0;o=l[u]&&l[u].split("=");u++)if(s(o[0])===e)return s(o[1]||"");return null}}(jQuery);var createWindows=function(t,e,n){return function(r){createWindowsWithData(r,t,e,n)}},updatePortletPositions=function(t,e){return function(){if(t){var n=$(this).sortable("serialize");colId=$(this).attr("id").charAt($(this).attr("id").length-1),portletArray=getPortletArray(n),jsonResult={col:colId,positions:portletArray},portletArray.length>0&&$.ajax({type:"PUT",url:"../channels/"+e+"/windows",data:{_method:"PUT",page:JSON.stringify(jsonResult)},dataType:"json"})}}},decoratePortlet=function(t){return function(){var e=$(this).find(".portlet-header");return e.append(""),thisObject=$(this),"true"==t?(thisObject.find(".window_type").prepend(""),thisObject.find(".window_type-chart").append(""),thisObject.find(".window_type").append(""),thisObject.find(".portlet-header").css("cursor","move")):$(".column").sortable({disabled:!0}),$(this).attr("id")}},uiEditClick=function(t){return function(){var e=$(this).parents(".portlet:first").attr("id").substring(8),n="";$("#chartConfig"+e).load("/channels/"+t+"/charts/"+e+"/edit",function(){n=$("#chartOptions"+e).html(),"undefined"!=n&&n.length>2&&$.each(n.split("&"),setupChartForm(e)),$("#button"+e).click(function(){updateChart(e,!0,450,250,t,!0),$("#chartConfig"+e).dialog("close")})}).dialog({title:"Chart Options",modal:!0,resizable:!1,width:500,dialogClass:"dev-info-dialog"})}},uiViewClick=function(t){return function(){var e=$(this).parents(".portlet:first").find(".portlet-content").offset().left,n=$(this).parents(".portlet:first").find(".portlet-content").offset().top,r=$(this).parents(".portlet:first").attr("id").substring(8);$("body").append(''),$.get("/channels/"+t+"/windows/"+r+"/iframe",function(t){var e=t.replace(/id=\"iframe[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?\"/,"");$("#iframeinner"+r).text(e)}),$("#iframepopup"+r).dialog({resizable:!1,width:"300px",position:[e+200,n-200],title:"Chart Iframe",dialogClass:"dev-info-dialog"})}},uiCloseClick=function(t){return function(){var e=$(this).parents(".portlet:first").attr("id").substring(8),n=$(this).parents(".portlet:first");$.update("/channels/"+t+"/windows/"+e+"/hide",function(){n.hide("drop",function(){n.remove()})})}};!function(t){function e(){var e=n(this);return isNaN(e.datetime)||t(this).text(r(e.datetime)),this}function n(e){if(e=t(e),!e.data("timeago")){e.data("timeago",{datetime:i.datetime(e)});var n=t.trim(e.text());n.length>0&&e.attr("title",n)}return e.data("timeago")}function r(t){return i.inWords(a(t))}function a(t){return(new Date).getTime()-t.getTime()}t.timeago=function(e){return r(e instanceof Date?e:"string"==typeof e?t.timeago.parse(e):t.timeago.datetime(e))};var i=t.timeago;t.extend(t.timeago,{settings:{refreshMillis:6e4,allowFuture:!1,strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",numbers:[]}},inWords:function(e){function n(n,a){var i=t.isFunction(n)?n(a,e):n,o=r.numbers&&r.numbers[a]||a;return i.replace(/%d/i,o)}var r=this.settings.strings,a=r.prefixAgo,i=r.suffixAgo;this.settings.allowFuture&&(0>e&&(a=r.prefixFromNow,i=r.suffixFromNow),e=Math.abs(e));var o=e/1e3,s=o/60,l=s/60,u=l/24,c=u/365,d=45>o&&n(r.seconds,Math.round(o))||90>o&&n(r.minute,1)||45>s&&n(r.minutes,Math.round(s))||90>s&&n(r.hour,1)||24>l&&n(r.hours,Math.round(l))||48>l&&n(r.day,1)||30>u&&n(r.days,Math.floor(u))||60>u&&n(r.month,1)||365>u&&n(r.months,Math.floor(u/30))||2>c&&n(r.year,1)||n(r.years,Math.floor(c));return t.trim([a,d,i].join(" "))},parse:function(e){var n=t.trim(e);return n=n.replace(/\.\d\d\d+/,""),n=n.replace(/-/,"/").replace(/-/,"/"),n=n.replace(/T/," ").replace(/Z/," UTC"),n=n.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(n)},datetime:function(e){var n="time"===t(e).get(0).tagName.toLowerCase(),r=t(e).attr(n?"datetime":"title");return i.parse(r)}}),t.fn.timeago=function(){var t=this;t.each(e);var n=i.settings;return n.refreshMillis>0&&setInterval(function(){t.each(e)},n.refreshMillis),t},document.createElement("abbr"),document.createElement("time")}(jQuery),function($){$.extend({tablesorter:new function(){function benchmark(t,e){log(t+","+((new Date).getTime()-e.getTime())+"ms")}function log(t){"undefined"!=typeof console&&"undefined"!=typeof console.debug?console.log(t):alert(t)}function buildParserCache(t,e){if(t.config.debug)var n="";if(0!=t.tBodies.length){var r=t.tBodies[0].rows;if(r[0])for(var a=[],i=r[0].cells,o=i.length,s=0;o>s;s++){var l=!1;$.metadata&&$(e[s]).metadata()&&$(e[s]).metadata().sorter?l=getParserById($(e[s]).metadata().sorter):t.config.headers[s]&&t.config.headers[s].sorter&&(l=getParserById(t.config.headers[s].sorter)),l||(l=detectParserForColumn(t,r,-1,s)),t.config.debug&&(n+="column:"+s+" parser:"+l.id+"\n"),a.push(l)}return t.config.debug&&log(n),a}}function detectParserForColumn(t,e,n,r){for(var a=parsers.length,i=!1,o=!1,s=!0;""==o&&s;)n++,e[n]?(i=getNodeFromRowAndCellIndex(e,n,r),o=trimAndGetNodeText(t.config,i),t.config.debug&&log("Checking if value was empty on row:"+n)):s=!1;for(var l=1;a>l;l++)if(parsers[l].is(o,t,i))return parsers[l];return parsers[0]}function getNodeFromRowAndCellIndex(t,e,n){return t[e].cells[n]}function trimAndGetNodeText(t,e){return $.trim(getElementText(t,e))}function getParserById(t){for(var e=parsers.length,n=0;e>n;n++)if(parsers[n].id.toLowerCase()==t.toLowerCase())return parsers[n];return!1}function buildCache(t){if(t.config.debug)var e=new Date;for(var n=t.tBodies[0]&&t.tBodies[0].rows.length||0,r=t.tBodies[0].rows[0]&&t.tBodies[0].rows[0].cells.length||0,a=t.config.parsers,i={row:[],normalized:[]},o=0;n>o;++o){var s=$(t.tBodies[0].rows[o]),l=[];if(s.hasClass(t.config.cssChildRow))i.row[i.row.length-1]=i.row[i.row.length-1].add(s);else{i.row.push(s);for(var u=0;r>u;++u)l.push(a[u].format(getElementText(t.config,s[0].cells[u]),t,s[0].cells[u]));l.push(i.normalized.length),i.normalized.push(l),l=null}}return t.config.debug&&benchmark("Building cache for "+n+" rows:",e),i}function getElementText(t,e){var n="";return e?(t.supportsTextContent||(t.supportsTextContent=e.textContent||!1),n="simple"==t.textExtraction?t.supportsTextContent?e.textContent:e.childNodes[0]&&e.childNodes[0].hasChildNodes()?e.childNodes[0].innerHTML:e.innerHTML:"function"==typeof t.textExtraction?t.textExtraction(e):$(e).text()):""}function appendToTable(t,e){if(t.config.debug)var n=new Date;for(var r=e,a=r.row,i=r.normalized,o=i.length,s=i[0].length-1,l=$(t.tBodies[0]),u=[],c=0;o>c;c++){var d=i[c][s];if(u.push(a[d]),!t.config.appender)for(var h=a[d].length,f=0;h>f;f++)l[0].appendChild(a[d][f])}t.config.appender&&t.config.appender(t,u),u=null,t.config.debug&&benchmark("Rebuilt table:",n),applyWidget(t),setTimeout(function(){$(t).trigger("sortEnd")},0)}function buildHeaders(t){if(t.config.debug)var e=new Date;var n=($.metadata?!0:!1,computeTableHeaderCellIndexes(t));return $tableHeaders=$(t.config.selectorHeaders,t).each(function(e){if(this.column=n[this.parentNode.rowIndex+"-"+this.cellIndex],this.order=formatSortingOrder(t.config.sortInitialOrder),this.count=this.order,(checkHeaderMetadata(this)||checkHeaderOptions(t,e))&&(this.sortDisabled=!0),checkHeaderOptionsSortingLocked(t,e)&&(this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(t,e)),!this.sortDisabled){var r=$(this).addClass(t.config.cssHeader);t.config.onRenderHeader&&t.config.onRenderHeader.apply(r)}t.config.headerList[e]=this}),t.config.debug&&(benchmark("Built headers:",e),log($tableHeaders)),$tableHeaders}function computeTableHeaderCellIndexes(t){for(var e=[],n={},r=t.getElementsByTagName("THEAD")[0],a=r.getElementsByTagName("TR"),i=0;ip;p++){"undefined"==typeof e[p]&&(e[p]=[]);for(var m=e[p],g=l;l+f>g;g++)m[g]="x"}}return n}function checkCellColSpan(t,e,n){for(var r=[],a=t.tHead.rows,i=a[n].cells,o=0;o1?r=r.concat(checkCellColSpan(t,headerArr,n++)):(1==t.tHead.length||s.rowSpan>1||!a[n+1])&&r.push(s)}return r}function checkHeaderMetadata(t){return $.metadata&&$(t).metadata().sorter===!1?!0:!1}function checkHeaderOptions(t,e){return t.config.headers[e]&&t.config.headers[e].sorter===!1?!0:!1}function checkHeaderOptionsSortingLocked(t,e){return t.config.headers[e]&&t.config.headers[e].lockedOrder?t.config.headers[e].lockedOrder:!1}function applyWidget(t){for(var e=t.config.widgets,n=e.length,r=0;n>r;r++)getWidgetById(e[r]).format(t)}function getWidgetById(t){for(var e=widgets.length,n=0;e>n;n++)if(widgets[n].id.toLowerCase()==t.toLowerCase())return widgets[n]}function formatSortingOrder(t){return"Number"!=typeof t?"desc"==t.toLowerCase()?1:0:1==t?1:0}function isValueInArray(t,e){for(var n=e.length,r=0;n>r;r++)if(e[r][0]==t)return!0;return!1}function setHeadersCss(t,e,n,r){e.removeClass(r[0]).removeClass(r[1]);var a=[];e.each(function(){this.sortDisabled||(a[this.column]=$(this))});for(var i=n.length,o=0;i>o;o++)a[n[o][0]].addClass(r[n[o][1]])}function fixColumnWidth(t){var e=t.config;if(e.widthFixed){var n=$("");$("tr:first td",t.tBodies[0]).each(function(){n.append($("").css("width",$(this).width()))}),$(t).prepend(n)}}function updateHeaderSortCount(t,e){for(var n=t.config,r=e.length,a=0;r>a;a++){var i=e[a],o=n.headerList[i[0]];o.count=i[1],o.count++}}function multisort(table,sortList,cache){if(table.config.debug)var sortTime=new Date;for(var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length,i=0;l>i;i++){var c=sortList[i][0],order=sortList[i][1],s="text"==table.config.parsers[c].type?0==order?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c):0==order?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c),e="e"+i;dynamicExp+="var "+e+" = "+s,dynamicExp+="if("+e+") { return "+e+"; } ",dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;l>i;i++)dynamicExp+="}; ";return dynamicExp+="return 0; ",dynamicExp+="}; ",table.config.debug&&benchmark("Evaling expression:"+dynamicExp,new Date),eval(dynamicExp),cache.normalized.sort(sortWrapper),table.config.debug&&benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime),cache}function makeSortFunction(t,e,n){var r="a["+n+"]",a="b["+n+"]";return"text"==t&&"asc"==e?"("+r+" == "+a+" ? 0 : ("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : ("+r+" < "+a+") ? -1 : 1 )));":"text"==t&&"desc"==e?"("+r+" == "+a+" ? 0 : ("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : ("+a+" < "+r+") ? -1 : 1 )));":"numeric"==t&&"asc"==e?"("+r+" === null && "+a+" === null) ? 0 :("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : "+r+" - "+a+"));":"numeric"==t&&"desc"==e?"("+r+" === null && "+a+" === null) ? 0 :("+r+" === null ? Number.POSITIVE_INFINITY : ("+a+" === null ? Number.NEGATIVE_INFINITY : "+a+" - "+r+"));":void 0 +}function makeSortText(t){return"((a["+t+"] < b["+t+"]) ? -1 : ((a["+t+"] > b["+t+"]) ? 1 : 0));"}function makeSortTextDesc(t){return"((b["+t+"] < a["+t+"]) ? -1 : ((b["+t+"] > a["+t+"]) ? 1 : 0));"}function makeSortNumeric(t){return"a["+t+"]-b["+t+"];"}function makeSortNumericDesc(t){return"b["+t+"]-a["+t+"];"}function sortText(t,e){return table.config.sortLocaleCompare?t.localeCompare(e):e>t?-1:t>e?1:0}function sortTextDesc(t,e){return table.config.sortLocaleCompare?e.localeCompare(t):t>e?-1:e>t?1:0}function sortNumeric(t,e){return t-e}function sortNumericDesc(t,e){return e-t}function getCachedSortType(t,e){return t[e].type}var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:!0,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:!1,cancelSelection:!0,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:!1},this.benchmark=benchmark,this.construct=function(t){return this.each(function(){if(this.tHead&&this.tBodies){var e,n,r,a;this.config={},a=$.extend(this.config,$.tablesorter.defaults,t),e=$(this),$.data(this,"tablesorter",a),n=buildHeaders(this),this.config.parsers=buildParserCache(this,n),r=buildCache(this);var i=[a.cssDesc,a.cssAsc];fixColumnWidth(this),n.click(function(t){var o=e[0].tBodies[0]&&e[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&o>0){e.trigger("sortStart");var s=($(this),this.column);if(this.order=this.count++%2,this.lockedOrder&&(this.order=this.lockedOrder),t[a.sortMultiSortKey])if(isValueInArray(s,a.sortList))for(var l=0;l0&&e.trigger("sorton",[a.sortList]),applyWidget(this)}})},this.addParser=function(t){for(var e=parsers.length,n=!0,r=0;e>r;r++)parsers[r].id.toLowerCase()==t.id.toLowerCase()&&(n=!1);n&&parsers.push(t)},this.addWidget=function(t){widgets.push(t)},this.formatFloat=function(t){var e=parseFloat(t);return isNaN(e)?0:e},this.formatInt=function(t){var e=parseInt(t);return isNaN(e)?0:e},this.isDigit=function(t){return/^[-+]?\d*$/.test($.trim(t.replace(/[,.']/g,"")))},this.clearTableBody=function(t){function e(){for(;this.firstChild;)this.removeChild(this.firstChild)}$.browser.msie?e.apply(t.tBodies[0]):t.tBodies[0].innerHTML=""}}}),$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(){return!0},format:function(t){return $.trim(t.toLocaleLowerCase())},type:"text"}),ts.addParser({id:"digit",is:function(t,e){var n=e.config;return $.tablesorter.isDigit(t,n)},format:function(t){return $.tablesorter.formatFloat(t)},type:"numeric"}),ts.addParser({id:"currency",is:function(t){return/^[\xc2\xa3$\xe2\u201a\xac?.]/.test(t)},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/[\xc2\xa3$\xe2\u201a\xac]/g),""))},type:"numeric"}),ts.addParser({id:"ipAddress",is:function(t){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(t)},format:function(t){for(var e=t.split("."),n="",r=e.length,a=0;r>a;a++){var i=e[a];n+=2==i.length?"0"+i:i}return $.tablesorter.formatFloat(n)},type:"numeric"}),ts.addParser({id:"url",is:function(t){return/^(https?|ftp|file):\/\/$/.test(t)},format:function(t){return jQuery.trim(t.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"}),ts.addParser({id:"isoDate",is:function(t){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(t)},format:function(t){return $.tablesorter.formatFloat(""!=t?new Date(t.replace(new RegExp(/-/g),"/")).getTime():"0")},type:"numeric"}),ts.addParser({id:"percent",is:function(t){return/\%$/.test($.trim(t))},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/%/g),""))},type:"numeric"}),ts.addParser({id:"usLongDate",is:function(t){return t.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(t){return $.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"shortDate",is:function(t){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(t)},format:function(t,e){var n=e.config;return t=t.replace(/\-/g,"/"),"us"==n.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2"):"uk"==n.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1"):("dd/mm/yy"==n.dateFormat||"dd-mm-yy"==n.dateFormat)&&(t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")),$.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"time",is:function(t){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(t)},format:function(t){return $.tablesorter.formatFloat(new Date("2000/01/01 "+t).getTime())},type:"numeric"}),ts.addParser({id:"metadata",is:function(){return!1},format:function(t,e,n){var r=e.config,a=r.parserMetadataName?r.parserMetadataName:"sortValue";return $(n).metadata()[a]},type:"numeric"}),ts.addWidget({id:"zebra",format:function(t){if(t.config.debug)var e=new Date;var n,r,a=-1;$("tr:visible",t.tBodies[0]).each(function(){n=$(this),n.hasClass(t.config.cssChildRow)||a++,r=a%2==0,n.removeClass(t.config.widgetZebra.css[r?0:1]).addClass(t.config.widgetZebra.css[r?1:0])}),t.config.debug&&$.tablesorter.benchmark("Applying Zebra widget",e)}})}(jQuery),function(t){window.NestedFormEvents=function(){this.addFields=t.proxy(this.addFields,this),this.removeFields=t.proxy(this.removeFields,this)},NestedFormEvents.prototype={addFields:function(e){var n=e.currentTarget,r=t(n).data("association"),a=t("#"+t(n).data("blueprint-id")),i=a.data("blueprint"),o=(t(n).closest(".fields").closestChild("input, textarea, select").eq(0).attr("name")||"").replace(new RegExp("[[a-z_]+]$"),"");if(o)for(var s=o.match(/[a-z_]+_attributes(?=\]\[(new_)?\d+\])/g)||[],l=o.match(/[0-9]+/g)||[],u=0;u0;)for(var r=n.shift(),a=r.children(),i=0;i=s&&l>r||l>=a&&a>s||s>r&&a>l}),s=l+1;var c=0;for(var u in o)if(o[u].selected){var d=o[u].start+c;e&&n.tabString==t.value.substring(d,d+n.tabString.length)?(t.value=t.value.substring(0,d)+t.value.substring(d+n.tabString.length),c-=n.tabString.length):e||(t.value=t.value.substring(0,d)+n.tabString+t.value.substring(d),c+=n.tabString.length)}t.focus();var h=r+(c>0?n.tabString.length:0>c?-n.tabString.length:0),f=a+c;t.setSelectionRange(h,f)}}function r(e,n,r){var a=document.selection.createRange();if(e==a.parentElement())if(""==a.text)if(n){var i=a.getBookmark();a.moveStart("character",-r.tabString.length),r.tabString==a.text?a.text="":(a.moveToBookmark(i),a.moveEnd("character",r.tabString.length),r.tabString==a.text&&(a.text="")),a.collapse(!0),a.select()}else a.text=r.tabString,a.collapse(!1),a.select();else{var o=a.text,s=o.length,l=o.split("\r\n"),u=document.body.createTextRange();u.moveToElementText(e),u.setEndPoint("EndToStart",a);var c=u.text,d=c.split("\r\n"),h=c.length,f=document.body.createTextRange();f.moveToElementText(e),f.setEndPoint("StartToEnd",a);var p=f.text,m=document.body.createTextRange();m.moveToElementText(e),m.setEndPoint("StartToEnd",u);var g=m.text,v=t(e).html();t("#r3").text(h+" + "+s+" + "+p.length+" = "+v.length),h+g.length0?y.setEndPoint("StartToEnd",u):y.setEndPoint("StartToStart",u),y.setEndPoint("EndToEnd",a),y.select()}}t.fn.tabby=function(n){var r=t.extend({},t.fn.tabby.defaults,n),a=t.fn.tabby.pressed;return this.each(function(){$this=t(this);var n=t.meta?t.extend({},r,$this.data()):r;$this.bind("keydown",function(r){var i=t.fn.tabby.catch_kc(r);return 16==i&&(a.shft=!0),17==i&&(a.ctrl=!0,setTimeout("$.fn.tabby.pressed.ctrl = false;",1e3)),18==i&&(a.alt=!0,setTimeout("$.fn.tabby.pressed.alt = false;",1e3)),9!=i||a.ctrl||a.alt?void 0:(r.preventDefault,a.last=i,setTimeout("$.fn.tabby.pressed.last = null;",0),e(t(r.target).get(0),a.shft,n),!1)}).bind("keyup",function(e){16==t.fn.tabby.catch_kc(e)&&(a.shft=!1)}).bind("blur",function(e){9==a.last&&t(e.target).one("focus",function(){a.last=null}).get(0).focus()})})},t.fn.tabby.catch_kc=function(t){return t.keyCode?t.keyCode:t.charCode?t.charCode:t.which},t.fn.tabby.pressed={shft:!1,ctrl:!1,alt:!1,last:null},t.fn.tabby.defaults={tabString:String.fromCharCode(9)}}(jQuery),function(t,e,n){var r={required:"The %s field is required.",matches:"The %s field does not match the %s field.",valid_email:"The %s field must contain a valid email address.",min_length:"The %s field must be at least %s characters in length.",max_length:"The %s field must not exceed %s characters in length.",exact_length:"The %s field must be exactly %s characters in length.",greater_than:"The %s field must contain a number greater than %s.",less_than:"The %s field must contain a number less than %s.",alpha:"The %s field must only contain alphabetical characters.",alpha_numeric:"The %s field must only contain alpha-numeric characters.",alpha_dash:"The %s field must only contain alpha-numeric characters, underscores, and dashes.",numeric:"The %s field must contain only numbers.",integer:"The %s field must contain an integer."},a=function(){},i=/^(.+)\[(.+)\]$/,o=/^[0-9]+$/,s=/^\-?[0-9]+$/,l=/^\-?[0-9]*\.?[0-9]+$/,u=/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,6}$/i,c=/^[a-z]+$/i,d=/^[a-z0-9]+$/i,h=/^[a-z0-9_-]+$/i,f=function(t,n,r){for(this.callback=r||a,this.errors=[],this.fields={},this.form=e.forms[t]||{},this.messages={},this.handlers={},t=0,r=n.length;r>t;t++){var i=n[t];i.name&&i.rules&&(this.fields[i.name]={name:i.name,display:i.display||i.name,rules:i.rules,type:null,value:null,checked:null})}this.form.onsubmit=function(t){return function(e){try{return t._validateForm(e)}catch(n){}}}(this)};f.prototype.setMessage=function(t,e){return this.messages[t]=e,this},f.prototype.registerCallback=function(t,e){return t&&"string"==typeof t&&e&&"function"==typeof e&&(this.handlers[t]=e),this},f.prototype._validateForm=function(t){this.errors=[];for(var e in this.fields)if(this.fields.hasOwnProperty(e)){var r=this.fields[e]||{},a=this.form[r.name];a&&a!==n&&(r.type=a.type,r.value=a.value,r.checked=a.checked),this._validateField(r)}if("function"==typeof this.callback&&this.callback(this.errors,t),this.errors.length>0){if(!t||!t.preventDefault)return!1;t.preventDefault()}return!0},f.prototype._validateField=function(t){var e=t.rules.split("|");if(-1!==t.rules.indexOf("required")||t.value&&""!==t.value&&t.value!==n)for(var a=0,o=e.length;o>a;a++){var s=e[a],l=null,u=!1;if((parts=i.exec(s))&&(s=parts[1],l=parts[2]),"function"==typeof this._hooks[s]?this._hooks[s].apply(this,[t,l])||(u=!0):"callback_"===s.substring(0,9)&&(s=s.substring(9,s.length),"function"==typeof this.handlers[s]&&this.handlers[s].apply(this,[t.value])===!1&&(u=!0)),u){(e=this.messages[s]||r[s])?(t=e.replace("%s",t.display),l&&(t=t.replace("%s",this.fields[l]?this.fields[l].display:l)),this.errors.push(t)):this.errors.push("An error has occurred with the "+t.display+" field.");break}}},f.prototype._hooks={required:function(t){var e=t.value;return"checkbox"===t.type?t.checked===!0:null!==e&&""!==e},matches:function(t,e){return(el=this.form[e])?t.value===el.value:!1},valid_email:function(t){return u.test(t.value)},min_length:function(t,e){return o.test(e)?t.value.length>=e:!1},max_length:function(t,e){return o.test(e)?t.value.length<=e:!1},exact_length:function(t,e){return o.test(e)?t.value.length==e:!1},greater_than:function(t,e){return l.test(t.value)?parseFloat(t.value)>parseFloat(e):!1},less_than:function(t,e){return l.test(t.value)?parseFloat(t.value)="0"&&"7">=n?parseInt(t.substring(1),8):"u"===n||"x"===n?parseInt(t.substring(2),16):t.charCodeAt(1)}function n(t){return 32>t?(16>t?"\\x0":"\\x")+t.toString(16):(t=String.fromCharCode(t),("\\"===t||"-"===t||"["===t||"]"===t)&&(t="\\"+t),t)}function r(t){for(var r=t.substring(1,t.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),t=[],a=[],i="^"===r[0],o=i?1:0,s=r.length;s>o;++o){var l=r[o];if(/\\[bdsw]/i.test(l))t.push(l);else{var u,l=e(l);s>o+2&&"-"===r[o+1]?(u=e(r[o+2]),o+=2):u=l,a.push([l,u]),65>u||l>122||(65>u||l>90||a.push([32|Math.max(65,l),32|Math.min(u,90)]),97>u||l>122||a.push([-33&Math.max(97,l),-33&Math.min(u,122)]))}}for(a.sort(function(t,e){return t[0]-e[0]||e[1]-t[1]}),r=[],l=[0/0,0/0],o=0;os[0]&&(s[1]+1>s[0]&&a.push("-"),a.push(n(s[1])));return a.push("]"),a.join("")}function a(t){for(var e=t.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),n=e.length,a=[],s=0,l=0;n>s;++s){var u=e[s];"("===u?++l:"\\"===u.charAt(0)&&(u=+u.substring(1))&&l>=u&&(a[u]=-1)}for(s=1;ss;++s)u=e[s],"("===u?(++l,void 0===a[l]&&(e[s]="(?:")):"\\"===u.charAt(0)&&(u=+u.substring(1))&&l>=u&&(e[s]="\\"+a[l]);for(l=s=0;n>s;++s)"^"===e[s]&&"^"!==e[s+1]&&(e[s]="");if(t.ignoreCase&&o)for(s=0;n>s;++s)u=e[s],t=u.charAt(0),u.length>=2&&"["===t?e[s]=r(u):"\\"!==t&&(e[s]=u.replace(/[A-Za-z]/g,function(t){return t=t.charCodeAt(0),"["+String.fromCharCode(-33&t,32|t)+"]"}));return e.join("")}for(var i=0,o=!1,s=!1,l=0,u=t.length;u>l;++l){var c=t[l];if(c.ignoreCase)s=!0;else if(/[a-z]/i.test(c.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){o=!0,s=!1;break}}for(var d={b:8,t:9,n:10,v:11,f:12,r:13},h=[],l=0,u=t.length;u>l;++l){if(c=t[l],c.global||c.multiline)throw Error(""+c);h.push("(?:"+a(c)+")")}return RegExp(h.join("|"),s?"gi":"g")}function e(t){function e(t){switch(t.nodeType){case 1:if(r.test(t.className))break;for(var n=t.firstChild;n;n=n.nextSibling)e(n);n=t.nodeName,("BR"===n||"LI"===n)&&(a[s]="\n",o[s<<1]=i++,o[s++<<1|1]=t);break;case 3:case 4:n=t.nodeValue,n.length&&(n=l?n.replace(/\r\n?/g,"\n"):n.replace(/[\t\n\r ]+/g," "),a[s]=n,o[s<<1]=i,i+=n.length,o[s++<<1|1]=t)}}var n,r=/(?:^|\s)nocode(?:\s|$)/,a=[],i=0,o=[],s=0;t.currentStyle?n=t.currentStyle.whiteSpace:window.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,q).getPropertyValue("white-space"));var l=n&&"pre"===n.substring(0,3);return e(t),{a:a.join("").replace(/\n$/,""),c:o}}function n(t,e,n,r){e&&(t={a:e,d:t},n(t),r.push.apply(r,t.e))}function r(e,r){function a(t){for(var e=t.d,u=[e,"pln"],c=0,d=t.a.match(i)||[],h={},f=0,p=d.length;p>f;++f){var m,g=d[f],v=h[g],b=void 0;if("string"==typeof v)m=!1;else{var y=o[g.charAt(0)];if(y)b=g.match(y[1]),v=y[0];else{for(m=0;l>m;++m)if(y=r[m],b=g.match(y[1])){v=y[0];break}b||(v="pln")}!(m=v.length>=5&&"lang-"===v.substring(0,5))||b&&"string"==typeof b[1]||(m=!1,v="src"),m||(h[g]=v)}if(y=c,c+=g.length,m){m=b[1];var w=g.indexOf(m),x=w+m.length;b[2]&&(x=g.length-b[2].length,w=x-m.length),v=v.substring(5),n(e+y,g.substring(0,w),a,u),n(e+y+w,m,s(v,m),u),n(e+y+x,g.substring(x),a,u)}else u.push(e+y,v)}t.e=u}var i,o={};!function(){for(var n=e.concat(r),a=[],s={},l=0,u=n.length;u>l;++l){var c=n[l],d=c[3];if(d)for(var h=d.length;--h>=0;)o[d.charAt(h)]=c;c=c[1],d=""+c,s.hasOwnProperty(d)||(a.push(c),s[d]=q)}a.push(/[\S\s]/),i=t(a)}();var l=r.length;return a}function a(t){var e=[],n=[];e.push(t.tripleQuotedStrings?["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]:t.multiLineStrings?["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,q,"'\"`"]:["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]),t.verbatimStrings&&n.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var a=t.hashComments;return a&&(t.cStyleComments?(e.push(a>1?["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]:["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):e.push(["com",/^#[^\n\r]*/,q,"#"])),t.cStyleComments&&(n.push(["com",/^\/\/[^\n\r]*/,q]),n.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q])),t.regexLiterals&&n.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]),(a=t.types)&&n.push(["typ",a]),t=(""+t.keywords).replace(/^ | $/g,""),t.length&&n.push(["kwd",RegExp("^(?:"+t.replace(/[\s,]+/g,"|")+")\\b"),q]),e.push(["pln",/^\s+/,q," \r\n \xa0"]),n.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]),r(e,n)}function i(t,e){function n(t){switch(t.nodeType){case 1:if(i.test(t.className))break;if("BR"===t.nodeName)r(t),t.parentNode&&t.parentNode.removeChild(t);else for(t=t.firstChild;t;t=t.nextSibling)n(t);break;case 3:case 4:if(l){var e=t.nodeValue,a=e.match(o);if(a){var u=e.substring(0,a.index);t.nodeValue=u,(e=e.substring(a.index+a[0].length))&&t.parentNode.insertBefore(s.createTextNode(e),t.nextSibling),r(t),u||t.parentNode.removeChild(t)}}}}function r(t){function e(t,n){var r=n?t.cloneNode(!1):t,a=t.parentNode;if(a){var a=e(a,1),i=t.nextSibling;a.appendChild(r);for(var o=i;o;o=i)i=o.nextSibling,a.appendChild(o)}return r}for(;!t.nextSibling;)if(t=t.parentNode,!t)return;for(var n,t=e(t.nextSibling,0);(n=t.parentNode)&&1===n.nodeType;)t=n;u.push(t)}var a,i=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,s=t.ownerDocument;t.currentStyle?a=t.currentStyle.whiteSpace:window.getComputedStyle&&(a=s.defaultView.getComputedStyle(t,q).getPropertyValue("white-space"));var l=a&&"pre"===a.substring(0,3);for(a=s.createElement("LI");t.firstChild;)a.appendChild(t.firstChild);for(var u=[a],c=0;cc;++c)a=u[c],a.className="L"+(c+h)%10,a.firstChild||a.appendChild(s.createTextNode("\xa0")),d.appendChild(a);t.appendChild(d)}function o(t,e){for(var n=e.length;--n>=0;){var r=e[n];y.hasOwnProperty(r)?window.console&&console.warn("cannot override language handler %s",r):y[r]=t}}function s(t,e){return t&&y.hasOwnProperty(t)||(t=/^\s*p;)d[p]!==d[p+2]?(d[f++]=d[p++],d[f++]=d[p++]):p+=2;for(h=f,p=f=0;h>p;){for(var m=d[p],g=d[p+1],v=p+2;h>=v+2&&d[v+1]===g;)v+=2;d[f++]=m,d[f++]=g,p=v}for(d.length=f;c>a;){var b,y=u[a+2]||l,w=d[t+2]||l,v=Math.min(y,w),x=u[a+1];if(1!==x.nodeType&&(b=o.substring(r,v))){i&&(b=b.replace(n,"\r")),x.nodeValue=b;var S=x.ownerDocument,$=S.createElement("SPAN");$.className=d[t+1];var k=x.parentNode;k.replaceChild($,x),$.appendChild(x),y>r&&(u[a+1]=x=S.createTextNode(o.substring(v,y)),k.insertBefore(x,$.nextSibling))}r=v,r>=y&&(a+=2),r>=w&&(t+=2)}}catch(E){"console"in window&&console.log(E&&E.stack?E.stack:E)}}var u=["break,continue,do,else,for,if,return,while"],c=[[u,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],d=[c,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],h=[c,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],f=[h,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],c=[c,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],p=[u,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],m=[u,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],u=[u,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],g=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,v=/\S/,b=a({keywords:[d,f,c,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+p,m,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),y={};o(b,["default-code"]),o(r([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),o(r([["pln",/^\s+/,q," \r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]),o(r([],[["atv",/^[\S\s]+/]]),["uq.val"]),o(a({keywords:d,hashComments:!0,cStyleComments:!0,types:g}),["c","cc","cpp","cxx","cyc","m"]),o(a({keywords:"null,true,false"}),["json"]),o(a({keywords:f,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:g}),["cs"]),o(a({keywords:h,cStyleComments:!0}),["java"]),o(a({keywords:u,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]),o(a({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py"]),o(a({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]),o(a({keywords:m,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]),o(a({keywords:c,cStyleComments:!0,regexLiterals:!0}),["js"]),o(a({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),o(r([],[["str",/^[\S\s]+/]]),["regex"]),window.prettyPrintOne=function(t,e,n){var r=document.createElement("PRE");return r.innerHTML=t,n&&i(r,n),l({g:e,i:n,h:r}),r.innerHTML},window.prettyPrint=function(t){function e(){for(var n=window.PR_SHOULD_USE_CONTINUATION?u.now()+250:1/0;d=0){var s,f,o=o.match(h);if(f=!o){f=a;for(var p=void 0,m=f.firstChild;m;m=m.nextSibling)var g=m.nodeType,p=1===g?p?f:m:3===g&&v.test(m.nodeValue)?f:p;f=(s=p===f?void 0:p)&&"CODE"===s.tagName}for(f&&(o=s.className.match(h)),o&&(o=o[1]),f=!1,p=a.parentNode;p;p=p.parentNode)if(("pre"===p.tagName||"code"===p.tagName||"xmp"===p.tagName)&&p.className&&p.className.indexOf("prettyprint")>=0){f=!0;break}f||((f=(f=a.className.match(/\blinenums\b(?::(\d+))?/))?f[1]&&f[1].length?+f[1]:!0:!1)&&i(a,f),c={g:o,h:a,i:f},l(c))}}do;++o)r.push(n[a][o]);var n=q,u=Date;u.now||(u={now:function(){return+new Date}});var c,d=0,h=/\blang(?:uage)?-([\w.]+)(?!\S)/;e()},window.PR={createSimpleLexer:r,registerLangHandler:o,sourceDecorator:a,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}}(),!function(t){t(function(){window.prettyPrint&&prettyPrint()})}(window.jQuery),$(document).on("page:load ready",function(){$(".response").click(function(){var t=$(this).data("response_type");$(".response").removeClass("active"),$(".response-"+t).addClass("active"),$(".format").hide(),$(".format-"+t).show()})}),$(document).on("page:load ready",function(){$(".flash").length>0&&($(".flash").on("click",function(){$(this).hide("slow")}),setTimeout(function(){$(".flash").length>0&&$(".flash").hide("slow")},15e3)),$("#talkback_command_add").click(function(){$(this).hide(),$("#talkback_command_add_form").removeClass("hide")}),$("#contact_link").click(function(){$("#contact_form").toggle()}),$(".tablesorter").tablesorter(),$("#userlogin_js").val("6H2W6QYUAJT1Q8EB")}); \ No newline at end of file diff --git a/public/assets/application.js.gz b/public/assets/application.js.gz index 4f56472..111eff4 100644 Binary files a/public/assets/application.js.gz and b/public/assets/application.js.gz differ diff --git a/public/assets/manifest-27c2ec8d97bd8487cae01bba17cdddb9.json b/public/assets/manifest-27c2ec8d97bd8487cae01bba17cdddb9.json index f5ad8b0..1a2e72e 100644 --- a/public/assets/manifest-27c2ec8d97bd8487cae01bba17cdddb9.json +++ b/public/assets/manifest-27c2ec8d97bd8487cae01bba17cdddb9.json @@ -1 +1 @@ -{"files":{"GitHub_ThingSpeak_API-f39bba3caddbf4af63e208b8552a98ac.jpg":{"logical_path":"GitHub_ThingSpeak_API.jpg","mtime":"2014-02-08T20:02:14-05:00","size":26303,"digest":"f39bba3caddbf4af63e208b8552a98ac"},"ThingSpeak_Logo-3139b15204b5af565fca3a5f342ef19c.png":{"logical_path":"ThingSpeak_Logo.png","mtime":"2014-02-08T20:02:14-05:00","size":9258,"digest":"3139b15204b5af565fca3a5f342ef19c"},"eye-b67d3d940541ae7d0b469ed20ee92fe3.png":{"logical_path":"eye.png","mtime":"2014-02-08T20:02:14-05:00","size":3294,"digest":"b67d3d940541ae7d0b469ed20ee92fe3"},"flag_gray-319110a59d1d75cad2d8f29af88fdb23.gif":{"logical_path":"flag_gray.gif","mtime":"2014-02-08T20:02:14-05:00","size":983,"digest":"319110a59d1d75cad2d8f29af88fdb23"},"flag_red-16607fd54284010c4e95d5e9a3935b40.gif":{"logical_path":"flag_red.gif","mtime":"2014-02-08T20:02:14-05:00","size":987,"digest":"16607fd54284010c4e95d5e9a3935b40"},"front-b28e4f9d550ff0101a0140b1fb1ec1da.png":{"logical_path":"front.png","mtime":"2014-02-08T20:02:14-05:00","size":17717,"digest":"b28e4f9d550ff0101a0140b1fb1ec1da"},"icon_location_24-40aef0eb9d6824f7538c1056c90a2156.png":{"logical_path":"icon_location_24.png","mtime":"2014-02-08T20:01:43-05:00","size":618,"digest":"40aef0eb9d6824f7538c1056c90a2156"},"icon_rss-3ce0d86e00a9e937993988e73720950e.gif":{"logical_path":"icon_rss.gif","mtime":"2014-02-08T20:02:14-05:00","size":1008,"digest":"3ce0d86e00a9e937993988e73720950e"},"icons/InfoBox-54072dd9794a709a9fee5ab80d4be545.png":{"logical_path":"icons/InfoBox.png","mtime":"2014-02-08T20:02:14-05:00","size":837,"digest":"54072dd9794a709a9fee5ab80d4be545"},"icons/Locked-84572b6d8c7a390e424483b16f28410f.png":{"logical_path":"icons/Locked.png","mtime":"2014-02-08T20:02:14-05:00","size":1882,"digest":"84572b6d8c7a390e424483b16f28410f"},"icons/Public_32-2bcfb892862a4396e3a5593a5e1df202.png":{"logical_path":"icons/Public_32.png","mtime":"2014-02-08T20:02:14-05:00","size":4788,"digest":"2bcfb892862a4396e3a5593a5e1df202"},"icons/Unlocked-226c08041c55d88ecf7898dffe6568aa.png":{"logical_path":"icons/Unlocked.png","mtime":"2014-02-08T20:02:14-05:00","size":1652,"digest":"226c08041c55d88ecf7898dffe6568aa"},"icons/delete-9a7fbc7ba573f4ab735f66bc17466a84.png":{"logical_path":"icons/delete.png","mtime":"2014-02-08T20:02:14-05:00","size":715,"digest":"9a7fbc7ba573f4ab735f66bc17466a84"},"my_house_status_update-526a896242134f12bf2882dfad48fe24.png":{"logical_path":"my_house_status_update.png","mtime":"2014-02-08T20:02:14-05:00","size":13437,"digest":"526a896242134f12bf2882dfad48fe24"},"rails-6a9a73b3eeba7d35c79c3de6fc98b6f1.png":{"logical_path":"rails.png","mtime":"2014-02-08T20:02:14-05:00","size":6646,"digest":"6a9a73b3eeba7d35c79c3de6fc98b6f1"},"react-99715cc1aac81b13fdc4384378c9cf0e.png":{"logical_path":"react.png","mtime":"2014-02-08T20:02:14-05:00","size":2996,"digest":"99715cc1aac81b13fdc4384378c9cf0e"},"scheduled_thinghttp-b525411c648770d5252475ab92925006.png":{"logical_path":"scheduled_thinghttp.png","mtime":"2014-02-08T20:02:14-05:00","size":8677,"digest":"b525411c648770d5252475ab92925006"},"shading-4c8cafd8b85355f46eedb553ece6a663.png":{"logical_path":"shading.png","mtime":"2014-02-08T20:02:14-05:00","size":565,"digest":"4c8cafd8b85355f46eedb553ece6a663"},"social_sensor_network_logo-2cc4b27d8115a3efcf38c0c6539d06fe.png":{"logical_path":"social_sensor_network_logo.png","mtime":"2014-02-08T20:02:14-05:00","size":15370,"digest":"2cc4b27d8115a3efcf38c0c6539d06fe"},"social_sensor_network_main-f2114a6f96a027de3c3b39aefd11a34b.png":{"logical_path":"social_sensor_network_main.png","mtime":"2014-02-08T20:02:14-05:00","size":132931,"digest":"f2114a6f96a027de3c3b39aefd11a34b"},"talkback-a8f0046a06cddead53bfe73e0a1b11b1.png":{"logical_path":"talkback.png","mtime":"2014-02-08T20:02:14-05:00","size":5183,"digest":"a8f0046a06cddead53bfe73e0a1b11b1"},"thinghttp-b22d0641869d4b49e8fdc1441d19bd9d.png":{"logical_path":"thinghttp.png","mtime":"2014-02-08T20:02:14-05:00","size":5918,"digest":"b22d0641869d4b49e8fdc1441d19bd9d"},"thingtweet-2f829197927298b1eb724a072adb072a.png":{"logical_path":"thingtweet.png","mtime":"2014-02-08T20:02:14-05:00","size":4075,"digest":"2f829197927298b1eb724a072adb072a"},"tweetcontrol-5fa1225bb39f188b215d5897b37c2c18.png":{"logical_path":"tweetcontrol.png","mtime":"2014-02-08T20:02:14-05:00","size":13429,"digest":"5fa1225bb39f188b215d5897b37c2c18"},"images/ui-bg_diagonals-thick_18_b81900_40x40-7cff5779324125bfa623755a21cb7d08.png":{"logical_path":"images/ui-bg_diagonals-thick_18_b81900_40x40.png","mtime":"2014-02-08T20:01:44-05:00","size":260,"digest":"7cff5779324125bfa623755a21cb7d08"},"images/ui-bg_diagonals-thick_20_666666_40x40-e3476d26e53f4b2bdba1cbd4216bd169.png":{"logical_path":"images/ui-bg_diagonals-thick_20_666666_40x40.png","mtime":"2014-02-08T20:01:44-05:00","size":251,"digest":"e3476d26e53f4b2bdba1cbd4216bd169"},"images/ui-bg_flat_10_000000_40x100-b4d9562e67d66d83845d2edeaae222d7.png":{"logical_path":"images/ui-bg_flat_10_000000_40x100.png","mtime":"2014-02-08T20:02:14-05:00","size":178,"digest":"b4d9562e67d66d83845d2edeaae222d7"},"images/ui-bg_glass_100_f6f6f6_1x400-4d37c970a424e84d47dd48ae788eaef8.png":{"logical_path":"images/ui-bg_glass_100_f6f6f6_1x400.png","mtime":"2014-02-08T20:01:44-05:00","size":104,"digest":"4d37c970a424e84d47dd48ae788eaef8"},"images/ui-bg_glass_100_fdf5ce_1x400-657936ddb303bcc8c34554da5279debe.png":{"logical_path":"images/ui-bg_glass_100_fdf5ce_1x400.png","mtime":"2014-02-08T20:02:14-05:00","size":125,"digest":"657936ddb303bcc8c34554da5279debe"},"images/ui-bg_glass_65_ffffff_1x400-5f18db79610dfa0b148ff6335bbc42cb.png":{"logical_path":"images/ui-bg_glass_65_ffffff_1x400.png","mtime":"2014-02-08T20:02:14-05:00","size":105,"digest":"5f18db79610dfa0b148ff6335bbc42cb"},"images/ui-bg_gloss-wave_35_f6a828_500x100-93fadea558da2231315ae756b3be6bbf.png":{"logical_path":"images/ui-bg_gloss-wave_35_f6a828_500x100.png","mtime":"2014-02-08T20:02:14-05:00","size":3762,"digest":"93fadea558da2231315ae756b3be6bbf"},"images/ui-bg_highlight-soft_100_eeeeee_1x100-4310274c0febae96f7f3d2f54b0a4f42.png":{"logical_path":"images/ui-bg_highlight-soft_100_eeeeee_1x100.png","mtime":"2014-02-08T20:01:44-05:00","size":90,"digest":"4310274c0febae96f7f3d2f54b0a4f42"},"images/ui-bg_highlight-soft_75_ffe45c_1x100-21008ee33c710d7e484d7f88f2c7dc21.png":{"logical_path":"images/ui-bg_highlight-soft_75_ffe45c_1x100.png","mtime":"2014-02-08T20:02:14-05:00","size":129,"digest":"21008ee33c710d7e484d7f88f2c7dc21"},"images/ui-icons_222222_256x240-d83eeaaf84f04ca2c5d6a684bc7629af.png":{"logical_path":"images/ui-icons_222222_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"d83eeaaf84f04ca2c5d6a684bc7629af"},"images/ui-icons_228ef1_256x240-65e412c112f4e7ee270afb71005fd17d.png":{"logical_path":"images/ui-icons_228ef1_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"65e412c112f4e7ee270afb71005fd17d"},"images/ui-icons_ef8c08_256x240-8b462cb27e07227bac8bd0020d9933e4.png":{"logical_path":"images/ui-icons_ef8c08_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"8b462cb27e07227bac8bd0020d9933e4"},"images/ui-icons_ffd27a_256x240-3d95bb913fb70688654b00e8ed1eb247.png":{"logical_path":"images/ui-icons_ffd27a_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"3d95bb913fb70688654b00e8ed1eb247"},"images/ui-icons_ffffff_256x240-2066cf4b1373355dbf4a2031099e1a04.png":{"logical_path":"images/ui-icons_ffffff_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"2066cf4b1373355dbf4a2031099e1a04"},"thingspeak_logo-95d6e7cb7f17bbbc1526407176244ca8.png":{"logical_path":"thingspeak_logo.png","mtime":"2014-02-10T17:38:24-05:00","size":1609,"digest":"95d6e7cb7f17bbbc1526407176244ca8"},"GitHub_ThingSpeak_API-c55761d06c28c72e17c9196391bf7fe4.jpg":{"logical_path":"GitHub_ThingSpeak_API.jpg","mtime":"2014-07-30T11:58:22-04:00","size":26303,"digest":"c55761d06c28c72e17c9196391bf7fe4"},"eye-9175769cbdc94be2e5c44c59fdd3cbcd.png":{"logical_path":"eye.png","mtime":"2014-02-27T12:20:28-05:00","size":3294,"digest":"9175769cbdc94be2e5c44c59fdd3cbcd"},"flag_gray-a465b55d9751d7d19801facf9d7d66b2.gif":{"logical_path":"flag_gray.gif","mtime":"2014-02-27T12:20:28-05:00","size":983,"digest":"a465b55d9751d7d19801facf9d7d66b2"},"flag_red-87843b96f6a35694691fd624cd68a802.gif":{"logical_path":"flag_red.gif","mtime":"2014-02-27T12:20:27-05:00","size":987,"digest":"87843b96f6a35694691fd624cd68a802"},"front-44d3070595f891d9a2d88e00606c6325.png":{"logical_path":"front.png","mtime":"2014-02-27T12:20:28-05:00","size":17717,"digest":"44d3070595f891d9a2d88e00606c6325"},"icon_location_24-bf607f94a54f074c940a844771200b1b.png":{"logical_path":"icon_location_24.png","mtime":"2014-02-27T12:20:28-05:00","size":618,"digest":"bf607f94a54f074c940a844771200b1b"},"icon_rss-2687cbed842e6291c3a7b431f7bad93e.gif":{"logical_path":"icon_rss.gif","mtime":"2014-02-27T12:20:27-05:00","size":1008,"digest":"2687cbed842e6291c3a7b431f7bad93e"},"icons/InfoBox-3dd7c57e5ed644dc9fa79014c10478ea.png":{"logical_path":"icons/InfoBox.png","mtime":"2014-02-27T12:20:28-05:00","size":837,"digest":"3dd7c57e5ed644dc9fa79014c10478ea"},"icons/Locked-dd04ba8d213caf20f92028729f7d652b.png":{"logical_path":"icons/Locked.png","mtime":"2014-02-27T12:20:28-05:00","size":1882,"digest":"dd04ba8d213caf20f92028729f7d652b"},"icons/Public_32-40b058ba964e1b896725268b604c9c74.png":{"logical_path":"icons/Public_32.png","mtime":"2014-02-27T12:20:28-05:00","size":4788,"digest":"40b058ba964e1b896725268b604c9c74"},"icons/Unlocked-d8d39a21ce887850ee0acfcaf6553d1c.png":{"logical_path":"icons/Unlocked.png","mtime":"2014-02-27T12:20:28-05:00","size":1652,"digest":"d8d39a21ce887850ee0acfcaf6553d1c"},"icons/delete-1b8201e6714e82d1b6343aaa53e6ac91.png":{"logical_path":"icons/delete.png","mtime":"2014-02-27T12:20:28-05:00","size":715,"digest":"1b8201e6714e82d1b6343aaa53e6ac91"},"my_house_status_update-d4b1ef118189a8deb613efab4dd0de51.png":{"logical_path":"my_house_status_update.png","mtime":"2014-07-20T18:51:26-04:00","size":13437,"digest":"d4b1ef118189a8deb613efab4dd0de51"},"rails-8a98a69213c3e39ca47a4f822df62bfb.png":{"logical_path":"rails.png","mtime":"2014-02-27T12:20:28-05:00","size":6646,"digest":"8a98a69213c3e39ca47a4f822df62bfb"},"react-813abec4f0db433aa7c583c33e2332ac.png":{"logical_path":"react.png","mtime":"2014-07-20T18:51:26-04:00","size":2996,"digest":"813abec4f0db433aa7c583c33e2332ac"},"scheduled_thinghttp-6151786a4ee07a2cab4c605587a75016.png":{"logical_path":"scheduled_thinghttp.png","mtime":"2014-07-20T18:51:27-04:00","size":8677,"digest":"6151786a4ee07a2cab4c605587a75016"},"shading-0b2c43248624209936e2bf318c546c16.png":{"logical_path":"shading.png","mtime":"2014-02-27T12:20:28-05:00","size":565,"digest":"0b2c43248624209936e2bf318c546c16"},"social_sensor_network_logo-4a42dbecef9e2ab82564b14592f5d05b.png":{"logical_path":"social_sensor_network_logo.png","mtime":"2014-07-20T18:51:26-04:00","size":15370,"digest":"4a42dbecef9e2ab82564b14592f5d05b"},"social_sensor_network_main-20c93960eee4b916ed842f414bf7fea5.png":{"logical_path":"social_sensor_network_main.png","mtime":"2014-07-20T18:51:27-04:00","size":132931,"digest":"20c93960eee4b916ed842f414bf7fea5"},"talkback-e9f9fa607f7739892d8cd73682aba65d.png":{"logical_path":"talkback.png","mtime":"2014-07-20T18:51:26-04:00","size":5183,"digest":"e9f9fa607f7739892d8cd73682aba65d"},"thinghttp-bb3f9377bc76eaaff763e4f7b4a03577.png":{"logical_path":"thinghttp.png","mtime":"2014-07-20T18:51:26-04:00","size":5918,"digest":"bb3f9377bc76eaaff763e4f7b4a03577"},"thingspeak_logo-dadc6a1037759f672179ca2d4e96ba6d.png":{"logical_path":"thingspeak_logo.png","mtime":"2014-02-27T12:20:27-05:00","size":1609,"digest":"dadc6a1037759f672179ca2d4e96ba6d"},"thingtweet-e770a29c4bb3dc128d9023f0bab6e7c6.png":{"logical_path":"thingtweet.png","mtime":"2014-07-20T18:51:27-04:00","size":4075,"digest":"e770a29c4bb3dc128d9023f0bab6e7c6"},"tweetcontrol-3f52ce7cf7f2796df769016ca2487a37.png":{"logical_path":"tweetcontrol.png","mtime":"2014-07-20T18:51:26-04:00","size":13429,"digest":"3f52ce7cf7f2796df769016ca2487a37"},"tweetcontrol_sample-29e6418760cec16453cc0b3b5707b7c2.png":{"logical_path":"tweetcontrol_sample.png","mtime":"2014-07-20T18:51:27-04:00","size":24608,"digest":"29e6418760cec16453cc0b3b5707b7c2"},"images/ui-bg_diagonals-thick_18_b81900_40x40-8da1641e421200ea88d476a6040548f4.png":{"logical_path":"images/ui-bg_diagonals-thick_18_b81900_40x40.png","mtime":"2014-07-20T18:51:27-04:00","size":260,"digest":"8da1641e421200ea88d476a6040548f4"},"images/ui-bg_diagonals-thick_20_666666_40x40-fbffa7c43cac930aa61ea7f15bcee131.png":{"logical_path":"images/ui-bg_diagonals-thick_20_666666_40x40.png","mtime":"2014-07-20T18:51:27-04:00","size":251,"digest":"fbffa7c43cac930aa61ea7f15bcee131"},"images/ui-bg_flat_10_000000_40x100-dabfeb3662bfa05f655ed5056cce2124.png":{"logical_path":"images/ui-bg_flat_10_000000_40x100.png","mtime":"2014-07-20T18:51:27-04:00","size":178,"digest":"dabfeb3662bfa05f655ed5056cce2124"},"images/ui-bg_glass_100_f6f6f6_1x400-ee77c8327f94bab46c89043ffce9444c.png":{"logical_path":"images/ui-bg_glass_100_f6f6f6_1x400.png","mtime":"2014-07-20T18:51:27-04:00","size":104,"digest":"ee77c8327f94bab46c89043ffce9444c"},"images/ui-bg_glass_100_fdf5ce_1x400-c1024fd9f647f2bf814e32f41e5632c3.png":{"logical_path":"images/ui-bg_glass_100_fdf5ce_1x400.png","mtime":"2014-07-20T18:51:27-04:00","size":125,"digest":"c1024fd9f647f2bf814e32f41e5632c3"},"images/ui-bg_glass_65_ffffff_1x400-6879b674aed618d3df27bd2027469557.png":{"logical_path":"images/ui-bg_glass_65_ffffff_1x400.png","mtime":"2014-07-20T18:51:27-04:00","size":105,"digest":"6879b674aed618d3df27bd2027469557"},"images/ui-bg_gloss-wave_35_f6a828_500x100-61763bbe727affffa1bef63e1492d8a9.png":{"logical_path":"images/ui-bg_gloss-wave_35_f6a828_500x100.png","mtime":"2014-07-20T18:51:27-04:00","size":3762,"digest":"61763bbe727affffa1bef63e1492d8a9"},"images/ui-bg_highlight-soft_100_eeeeee_1x100-f4dc124a7f6d39a9c8a496120c5e8273.png":{"logical_path":"images/ui-bg_highlight-soft_100_eeeeee_1x100.png","mtime":"2014-07-20T18:51:27-04:00","size":90,"digest":"f4dc124a7f6d39a9c8a496120c5e8273"},"images/ui-bg_highlight-soft_75_ffe45c_1x100-970b8bb07ae918e7591662db33b7482e.png":{"logical_path":"images/ui-bg_highlight-soft_75_ffe45c_1x100.png","mtime":"2014-07-20T18:51:27-04:00","size":129,"digest":"970b8bb07ae918e7591662db33b7482e"},"images/ui-icons_222222_256x240-6597c301cf369830bb7171882648f85e.png":{"logical_path":"images/ui-icons_222222_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"6597c301cf369830bb7171882648f85e"},"images/ui-icons_228ef1_256x240-2c0de233993aabf35f961f7c39fa9263.png":{"logical_path":"images/ui-icons_228ef1_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"2c0de233993aabf35f961f7c39fa9263"},"images/ui-icons_ef8c08_256x240-8e46c4f4ea98a986f4e877a51e4c15c5.png":{"logical_path":"images/ui-icons_ef8c08_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"8e46c4f4ea98a986f4e877a51e4c15c5"},"images/ui-icons_ffd27a_256x240-f6366c00a59227a55e14d94caaeea3f6.png":{"logical_path":"images/ui-icons_ffd27a_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"f6366c00a59227a55e14d94caaeea3f6"},"images/ui-icons_ffffff_256x240-13dbadd07134115add4ebe610d444859.png":{"logical_path":"images/ui-icons_ffffff_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"13dbadd07134115add4ebe610d444859"},"channel_public_view-81af126139a236e81d91e5a5a76d603e.png":{"logical_path":"channel_public_view.png","mtime":"2014-07-20T18:51:26-04:00","size":112757,"digest":"81af126139a236e81d91e5a5a76d603e"},"ajax-loader-02917e3c114fd83f5c4c17953aa87e83.gif":{"logical_path":"ajax-loader.gif","mtime":"2014-07-20T18:51:26-04:00","size":3208,"digest":"02917e3c114fd83f5c4c17953aa87e83"},"active_admin-b50063add15e7f808a148a820d74bf3d.js":{"logical_path":"active_admin.js","mtime":"2014-03-20T16:39:45-04:00","size":243506,"digest":"b50063add15e7f808a148a820d74bf3d"},"active_admin-ef03ab96648e45e8a22d6690f32d1693.css":{"logical_path":"active_admin.css","mtime":"2014-03-20T16:38:50-04:00","size":70032,"digest":"ef03ab96648e45e8a22d6690f32d1693"},"active_admin/admin_notes_icon-44589ac44518808ac8dadd1755e03161.png":{"logical_path":"active_admin/admin_notes_icon.png","mtime":"2014-05-08T19:27:41-04:00","size":716,"digest":"44589ac44518808ac8dadd1755e03161"},"active_admin/datepicker/datepicker-header-bg-bcad4373bcdc56124322dea658739849.png":{"logical_path":"active_admin/datepicker/datepicker-header-bg.png","mtime":"2014-05-08T19:27:41-04:00","size":1701,"digest":"bcad4373bcdc56124322dea658739849"},"active_admin/datepicker/datepicker-input-icon-20df875ab8a44d588cbfd3d8018a52b9.png":{"logical_path":"active_admin/datepicker/datepicker-input-icon.png","mtime":"2014-05-08T19:27:41-04:00","size":1535,"digest":"20df875ab8a44d588cbfd3d8018a52b9"},"active_admin/datepicker/datepicker-next-link-icon-f9ef6d04c65df1cb5bda725ebba623a1.png":{"logical_path":"active_admin/datepicker/datepicker-next-link-icon.png","mtime":"2014-05-08T19:27:41-04:00","size":1006,"digest":"f9ef6d04c65df1cb5bda725ebba623a1"},"active_admin/datepicker/datepicker-nipple-c6e265f4a33a97853a69662e6350cb31.png":{"logical_path":"active_admin/datepicker/datepicker-nipple.png","mtime":"2014-05-08T19:27:41-04:00","size":1224,"digest":"c6e265f4a33a97853a69662e6350cb31"},"active_admin/datepicker/datepicker-prev-link-icon-ce5f918e536f436ca2095a9e7442c6df.png":{"logical_path":"active_admin/datepicker/datepicker-prev-link-icon.png","mtime":"2014-05-08T19:27:41-04:00","size":1004,"digest":"ce5f918e536f436ca2095a9e7442c6df"},"active_admin/index_list_icons/block_icon-efadf57de7365b6e1919448c310b5f04.svg":{"logical_path":"active_admin/index_list_icons/block_icon.svg","mtime":"2014-05-08T19:27:41-04:00","size":1141,"digest":"efadf57de7365b6e1919448c310b5f04"},"active_admin/index_list_icons/blog_icon-9522bfa7d1eadd437164992512ac461f.svg":{"logical_path":"active_admin/index_list_icons/blog_icon.svg","mtime":"2014-05-08T19:27:41-04:00","size":881,"digest":"9522bfa7d1eadd437164992512ac461f"},"active_admin/index_list_icons/grid_icon-5dbe976f21a86b79408e60b949411fd5.svg":{"logical_path":"active_admin/index_list_icons/grid_icon.svg","mtime":"2014-05-08T19:27:41-04:00","size":2132,"digest":"5dbe976f21a86b79408e60b949411fd5"},"active_admin/index_list_icons/table_icon-5276b83ac60335e2891d9f0cbbf368ae.svg":{"logical_path":"active_admin/index_list_icons/table_icon.svg","mtime":"2014-05-08T19:27:41-04:00","size":815,"digest":"5276b83ac60335e2891d9f0cbbf368ae"},"active_admin/loading-aebaee21d194d63dd36be976ac42d09b.gif":{"logical_path":"active_admin/loading.gif","mtime":"2014-05-08T19:27:41-04:00","size":2079,"digest":"aebaee21d194d63dd36be976ac42d09b"},"active_admin/nested_menu_arrow-94d9c4f73e81d377f80ae8dbcc71128b.gif":{"logical_path":"active_admin/nested_menu_arrow.gif","mtime":"2014-05-08T19:27:41-04:00","size":70,"digest":"94d9c4f73e81d377f80ae8dbcc71128b"},"active_admin/nested_menu_arrow_dark-b40a488b4f4b7d25cce531a15db4037b.gif":{"logical_path":"active_admin/nested_menu_arrow_dark.gif","mtime":"2014-05-08T19:27:41-04:00","size":70,"digest":"b40a488b4f4b7d25cce531a15db4037b"},"active_admin/orderable-61b5d7f5855b4fbc6b718755d542b71b.png":{"logical_path":"active_admin/orderable.png","mtime":"2014-05-08T19:27:41-04:00","size":220,"digest":"61b5d7f5855b4fbc6b718755d542b71b"},"active_admin/application-e851fe02b20790a5242ac0333acdc2e5.js":{"logical_path":"active_admin/application.js","mtime":"2014-05-08T19:27:41-04:00","size":749,"digest":"e851fe02b20790a5242ac0333acdc2e5"},"active_admin/print-d21aee48657d1ea57f4695edbb2b1b06.css":{"logical_path":"active_admin/print.css","mtime":"2014-05-08T19:27:41-04:00","size":5460,"digest":"d21aee48657d1ea57f4695edbb2b1b06"},"jquery-ui/animated-overlay-f66f40fcb74b7b2076d2a140ad33132d.gif":{"logical_path":"jquery-ui/animated-overlay.gif","mtime":"2014-05-08T19:28:03-04:00","size":1738,"digest":"f66f40fcb74b7b2076d2a140ad33132d"},"jquery-ui/ui-bg_flat_0_aaaaaa_40x100-8c3a37f71112e61b7a0f09cbc94995c9.png":{"logical_path":"jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png","mtime":"2014-05-08T19:28:03-04:00","size":180,"digest":"8c3a37f71112e61b7a0f09cbc94995c9"},"jquery-ui/ui-bg_flat_75_ffffff_40x100-3af74dc50888d335b78248a0694bbd21.png":{"logical_path":"jquery-ui/ui-bg_flat_75_ffffff_40x100.png","mtime":"2014-05-08T19:28:03-04:00","size":178,"digest":"3af74dc50888d335b78248a0694bbd21"},"jquery-ui/ui-bg_glass_55_fbf9ee_1x400-d63699c9cc07cd2ecbf3233058f1638e.png":{"logical_path":"jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png","mtime":"2014-05-08T19:28:03-04:00","size":120,"digest":"d63699c9cc07cd2ecbf3233058f1638e"},"jquery-ui/ui-bg_glass_65_ffffff_1x400-6879b674aed618d3df27bd2027469557.png":{"logical_path":"jquery-ui/ui-bg_glass_65_ffffff_1x400.png","mtime":"2014-05-08T19:28:03-04:00","size":105,"digest":"6879b674aed618d3df27bd2027469557"},"jquery-ui/ui-bg_glass_75_dadada_1x400-393389b036ccddba12c4032ebba856d9.png":{"logical_path":"jquery-ui/ui-bg_glass_75_dadada_1x400.png","mtime":"2014-05-08T19:28:03-04:00","size":111,"digest":"393389b036ccddba12c4032ebba856d9"},"jquery-ui/ui-bg_glass_75_e6e6e6_1x400-470ccb5154632a9b5118eb8246e61097.png":{"logical_path":"jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png","mtime":"2014-05-08T19:28:03-04:00","size":110,"digest":"470ccb5154632a9b5118eb8246e61097"},"jquery-ui/ui-bg_glass_95_fef1ec_1x400-5a857f14cf3a69c2bf968f54ea5d3037.png":{"logical_path":"jquery-ui/ui-bg_glass_95_fef1ec_1x400.png","mtime":"2014-05-08T19:28:03-04:00","size":119,"digest":"5a857f14cf3a69c2bf968f54ea5d3037"},"jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100-0c2f96e44d86042e97a1a3188141d8de.png":{"logical_path":"jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png","mtime":"2014-05-08T19:28:03-04:00","size":101,"digest":"0c2f96e44d86042e97a1a3188141d8de"},"jquery-ui/ui-icons_222222_256x240-3a92dcc42b992876335ae81da242fe5f.png":{"logical_path":"jquery-ui/ui-icons_222222_256x240.png","mtime":"2014-05-08T19:28:03-04:00","size":4369,"digest":"3a92dcc42b992876335ae81da242fe5f"},"jquery-ui/ui-icons_2e83ff_256x240-2c61f38ac281b30c924aa57c0e15f797.png":{"logical_path":"jquery-ui/ui-icons_2e83ff_256x240.png","mtime":"2014-05-08T19:28:03-04:00","size":4369,"digest":"2c61f38ac281b30c924aa57c0e15f797"},"jquery-ui/ui-icons_454545_256x240-515ff3b290c7160a009324d292e3e64a.png":{"logical_path":"jquery-ui/ui-icons_454545_256x240.png","mtime":"2014-05-08T19:28:03-04:00","size":4369,"digest":"515ff3b290c7160a009324d292e3e64a"},"jquery-ui/ui-icons_888888_256x240-dcb64181e6f3547e73afa034c4466dfd.png":{"logical_path":"jquery-ui/ui-icons_888888_256x240.png","mtime":"2014-05-08T19:28:03-04:00","size":4369,"digest":"dcb64181e6f3547e73afa034c4466dfd"},"jquery-ui/ui-icons_cd0a0a_256x240-58c4a995b8b611cacb6645f6049b3935.png":{"logical_path":"jquery-ui/ui-icons_cd0a0a_256x240.png","mtime":"2014-05-08T19:28:03-04:00","size":4369,"digest":"58c4a995b8b611cacb6645f6049b3935"},"thingspeak_logo_white-9cac8b416f09882dd73a79fb6cf638f1.png":{"logical_path":"thingspeak_logo_white.png","mtime":"2014-08-01T14:27:59-04:00","size":2954,"digest":"9cac8b416f09882dd73a79fb6cf638f1"},"thingspeak_stars_bg-6908a0cfd5f88ec01ec60aeb1748d108.jpg":{"logical_path":"thingspeak_stars_bg.jpg","mtime":"2014-08-01T14:27:59-04:00","size":125372,"digest":"6908a0cfd5f88ec01ec60aeb1748d108"},"active_admin-daf1d88b3b2d591e19aa91972d495192.js":{"logical_path":"active_admin.js","mtime":"2014-07-20T18:51:27-04:00","size":243581,"digest":"daf1d88b3b2d591e19aa91972d495192"},"application-53947515558473d9fe0b469e83301e18.js":{"logical_path":"application.js","mtime":"2014-07-31T14:58:20-04:00","size":63511,"digest":"53947515558473d9fe0b469e83301e18"},"application-acf65447ac760ab7c9d4797a529315a8.js":{"logical_path":"application.js","mtime":"2014-09-22T16:15:01-04:00","size":63542,"digest":"acf65447ac760ab7c9d4797a529315a8"},"application-18dd892b59e443d4c090309575b1c7c9.css":{"logical_path":"application.css","mtime":"2014-08-06T11:06:36-04:00","size":43816,"digest":"18dd892b59e443d4c090309575b1c7c9"},"application-540f4fead37885553021bac515a4c60c.css":{"logical_path":"application.css","mtime":"2014-09-22T16:15:01-04:00","size":43814,"digest":"540f4fead37885553021bac515a4c60c"},"active_admin-4181fc567971368e6063e9b90fd937e9.css":{"logical_path":"active_admin.css","mtime":"2014-07-20T18:51:27-04:00","size":69858,"digest":"4181fc567971368e6063e9b90fd937e9"},"timecontrol_form-491c6c7b902cfc83460e0912e29daa11.js":{"logical_path":"timecontrol_form.js","mtime":"2014-09-22T16:15:01-04:00","size":958,"digest":"491c6c7b902cfc83460e0912e29daa11"},"timecontrol-6151786a4ee07a2cab4c605587a75016.png":{"logical_path":"timecontrol.png","mtime":"2014-07-20T18:51:27-04:00","size":8677,"digest":"6151786a4ee07a2cab4c605587a75016"},"application-34ab6c80c76e48d799f77e7e60386577.css":{"logical_path":"application.css","mtime":"2014-09-26T13:34:56-04:00","size":43899,"digest":"34ab6c80c76e48d799f77e7e60386577"},"application-efad721948fc6d5a972961aa1c62d871.js":{"logical_path":"application.js","mtime":"2014-09-26T15:05:21-04:00","size":63585,"digest":"efad721948fc6d5a972961aa1c62d871"}},"assets":{"GitHub_ThingSpeak_API.jpg":"GitHub_ThingSpeak_API-c55761d06c28c72e17c9196391bf7fe4.jpg","ThingSpeak_Logo.png":"ThingSpeak_Logo-3139b15204b5af565fca3a5f342ef19c.png","eye.png":"eye-9175769cbdc94be2e5c44c59fdd3cbcd.png","flag_gray.gif":"flag_gray-a465b55d9751d7d19801facf9d7d66b2.gif","flag_red.gif":"flag_red-87843b96f6a35694691fd624cd68a802.gif","front.png":"front-44d3070595f891d9a2d88e00606c6325.png","icon_location_24.png":"icon_location_24-bf607f94a54f074c940a844771200b1b.png","icon_rss.gif":"icon_rss-2687cbed842e6291c3a7b431f7bad93e.gif","icons/InfoBox.png":"icons/InfoBox-3dd7c57e5ed644dc9fa79014c10478ea.png","icons/Locked.png":"icons/Locked-dd04ba8d213caf20f92028729f7d652b.png","icons/Public_32.png":"icons/Public_32-40b058ba964e1b896725268b604c9c74.png","icons/Unlocked.png":"icons/Unlocked-d8d39a21ce887850ee0acfcaf6553d1c.png","icons/delete.png":"icons/delete-1b8201e6714e82d1b6343aaa53e6ac91.png","my_house_status_update.png":"my_house_status_update-d4b1ef118189a8deb613efab4dd0de51.png","rails.png":"rails-8a98a69213c3e39ca47a4f822df62bfb.png","react.png":"react-813abec4f0db433aa7c583c33e2332ac.png","scheduled_thinghttp.png":"scheduled_thinghttp-6151786a4ee07a2cab4c605587a75016.png","shading.png":"shading-0b2c43248624209936e2bf318c546c16.png","social_sensor_network_logo.png":"social_sensor_network_logo-4a42dbecef9e2ab82564b14592f5d05b.png","social_sensor_network_main.png":"social_sensor_network_main-20c93960eee4b916ed842f414bf7fea5.png","talkback.png":"talkback-e9f9fa607f7739892d8cd73682aba65d.png","thinghttp.png":"thinghttp-bb3f9377bc76eaaff763e4f7b4a03577.png","thingtweet.png":"thingtweet-e770a29c4bb3dc128d9023f0bab6e7c6.png","tweetcontrol.png":"tweetcontrol-3f52ce7cf7f2796df769016ca2487a37.png","application.js":"application-efad721948fc6d5a972961aa1c62d871.js","application.css":"application-34ab6c80c76e48d799f77e7e60386577.css","images/ui-bg_diagonals-thick_18_b81900_40x40.png":"images/ui-bg_diagonals-thick_18_b81900_40x40-8da1641e421200ea88d476a6040548f4.png","images/ui-bg_diagonals-thick_20_666666_40x40.png":"images/ui-bg_diagonals-thick_20_666666_40x40-fbffa7c43cac930aa61ea7f15bcee131.png","images/ui-bg_flat_10_000000_40x100.png":"images/ui-bg_flat_10_000000_40x100-dabfeb3662bfa05f655ed5056cce2124.png","images/ui-bg_glass_100_f6f6f6_1x400.png":"images/ui-bg_glass_100_f6f6f6_1x400-ee77c8327f94bab46c89043ffce9444c.png","images/ui-bg_glass_100_fdf5ce_1x400.png":"images/ui-bg_glass_100_fdf5ce_1x400-c1024fd9f647f2bf814e32f41e5632c3.png","images/ui-bg_glass_65_ffffff_1x400.png":"images/ui-bg_glass_65_ffffff_1x400-6879b674aed618d3df27bd2027469557.png","images/ui-bg_gloss-wave_35_f6a828_500x100.png":"images/ui-bg_gloss-wave_35_f6a828_500x100-61763bbe727affffa1bef63e1492d8a9.png","images/ui-bg_highlight-soft_100_eeeeee_1x100.png":"images/ui-bg_highlight-soft_100_eeeeee_1x100-f4dc124a7f6d39a9c8a496120c5e8273.png","images/ui-bg_highlight-soft_75_ffe45c_1x100.png":"images/ui-bg_highlight-soft_75_ffe45c_1x100-970b8bb07ae918e7591662db33b7482e.png","images/ui-icons_222222_256x240.png":"images/ui-icons_222222_256x240-6597c301cf369830bb7171882648f85e.png","images/ui-icons_228ef1_256x240.png":"images/ui-icons_228ef1_256x240-2c0de233993aabf35f961f7c39fa9263.png","images/ui-icons_ef8c08_256x240.png":"images/ui-icons_ef8c08_256x240-8e46c4f4ea98a986f4e877a51e4c15c5.png","images/ui-icons_ffd27a_256x240.png":"images/ui-icons_ffd27a_256x240-f6366c00a59227a55e14d94caaeea3f6.png","images/ui-icons_ffffff_256x240.png":"images/ui-icons_ffffff_256x240-13dbadd07134115add4ebe610d444859.png","thingspeak_logo.png":"thingspeak_logo-dadc6a1037759f672179ca2d4e96ba6d.png","tweetcontrol_sample.png":"tweetcontrol_sample-29e6418760cec16453cc0b3b5707b7c2.png","channel_public_view.png":"channel_public_view-81af126139a236e81d91e5a5a76d603e.png","ajax-loader.gif":"ajax-loader-02917e3c114fd83f5c4c17953aa87e83.gif","active_admin.js":"active_admin-daf1d88b3b2d591e19aa91972d495192.js","active_admin.css":"active_admin-4181fc567971368e6063e9b90fd937e9.css","active_admin/admin_notes_icon.png":"active_admin/admin_notes_icon-44589ac44518808ac8dadd1755e03161.png","active_admin/datepicker/datepicker-header-bg.png":"active_admin/datepicker/datepicker-header-bg-bcad4373bcdc56124322dea658739849.png","active_admin/datepicker/datepicker-input-icon.png":"active_admin/datepicker/datepicker-input-icon-20df875ab8a44d588cbfd3d8018a52b9.png","active_admin/datepicker/datepicker-next-link-icon.png":"active_admin/datepicker/datepicker-next-link-icon-f9ef6d04c65df1cb5bda725ebba623a1.png","active_admin/datepicker/datepicker-nipple.png":"active_admin/datepicker/datepicker-nipple-c6e265f4a33a97853a69662e6350cb31.png","active_admin/datepicker/datepicker-prev-link-icon.png":"active_admin/datepicker/datepicker-prev-link-icon-ce5f918e536f436ca2095a9e7442c6df.png","active_admin/index_list_icons/block_icon.svg":"active_admin/index_list_icons/block_icon-efadf57de7365b6e1919448c310b5f04.svg","active_admin/index_list_icons/blog_icon.svg":"active_admin/index_list_icons/blog_icon-9522bfa7d1eadd437164992512ac461f.svg","active_admin/index_list_icons/grid_icon.svg":"active_admin/index_list_icons/grid_icon-5dbe976f21a86b79408e60b949411fd5.svg","active_admin/index_list_icons/table_icon.svg":"active_admin/index_list_icons/table_icon-5276b83ac60335e2891d9f0cbbf368ae.svg","active_admin/loading.gif":"active_admin/loading-aebaee21d194d63dd36be976ac42d09b.gif","active_admin/nested_menu_arrow.gif":"active_admin/nested_menu_arrow-94d9c4f73e81d377f80ae8dbcc71128b.gif","active_admin/nested_menu_arrow_dark.gif":"active_admin/nested_menu_arrow_dark-b40a488b4f4b7d25cce531a15db4037b.gif","active_admin/orderable.png":"active_admin/orderable-61b5d7f5855b4fbc6b718755d542b71b.png","active_admin/application.js":"active_admin/application-e851fe02b20790a5242ac0333acdc2e5.js","active_admin/print.css":"active_admin/print-d21aee48657d1ea57f4695edbb2b1b06.css","jquery-ui/animated-overlay.gif":"jquery-ui/animated-overlay-f66f40fcb74b7b2076d2a140ad33132d.gif","jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png":"jquery-ui/ui-bg_flat_0_aaaaaa_40x100-8c3a37f71112e61b7a0f09cbc94995c9.png","jquery-ui/ui-bg_flat_75_ffffff_40x100.png":"jquery-ui/ui-bg_flat_75_ffffff_40x100-3af74dc50888d335b78248a0694bbd21.png","jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png":"jquery-ui/ui-bg_glass_55_fbf9ee_1x400-d63699c9cc07cd2ecbf3233058f1638e.png","jquery-ui/ui-bg_glass_65_ffffff_1x400.png":"jquery-ui/ui-bg_glass_65_ffffff_1x400-6879b674aed618d3df27bd2027469557.png","jquery-ui/ui-bg_glass_75_dadada_1x400.png":"jquery-ui/ui-bg_glass_75_dadada_1x400-393389b036ccddba12c4032ebba856d9.png","jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png":"jquery-ui/ui-bg_glass_75_e6e6e6_1x400-470ccb5154632a9b5118eb8246e61097.png","jquery-ui/ui-bg_glass_95_fef1ec_1x400.png":"jquery-ui/ui-bg_glass_95_fef1ec_1x400-5a857f14cf3a69c2bf968f54ea5d3037.png","jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png":"jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100-0c2f96e44d86042e97a1a3188141d8de.png","jquery-ui/ui-icons_222222_256x240.png":"jquery-ui/ui-icons_222222_256x240-3a92dcc42b992876335ae81da242fe5f.png","jquery-ui/ui-icons_2e83ff_256x240.png":"jquery-ui/ui-icons_2e83ff_256x240-2c61f38ac281b30c924aa57c0e15f797.png","jquery-ui/ui-icons_454545_256x240.png":"jquery-ui/ui-icons_454545_256x240-515ff3b290c7160a009324d292e3e64a.png","jquery-ui/ui-icons_888888_256x240.png":"jquery-ui/ui-icons_888888_256x240-dcb64181e6f3547e73afa034c4466dfd.png","jquery-ui/ui-icons_cd0a0a_256x240.png":"jquery-ui/ui-icons_cd0a0a_256x240-58c4a995b8b611cacb6645f6049b3935.png","thingspeak_logo_white.png":"thingspeak_logo_white-9cac8b416f09882dd73a79fb6cf638f1.png","thingspeak_stars_bg.jpg":"thingspeak_stars_bg-6908a0cfd5f88ec01ec60aeb1748d108.jpg","timecontrol_form.js":"timecontrol_form-491c6c7b902cfc83460e0912e29daa11.js","timecontrol.png":"timecontrol-6151786a4ee07a2cab4c605587a75016.png"}} \ No newline at end of file +{"files":{"GitHub_ThingSpeak_API-f39bba3caddbf4af63e208b8552a98ac.jpg":{"logical_path":"GitHub_ThingSpeak_API.jpg","mtime":"2014-02-08T20:02:14-05:00","size":26303,"digest":"f39bba3caddbf4af63e208b8552a98ac"},"ThingSpeak_Logo-3139b15204b5af565fca3a5f342ef19c.png":{"logical_path":"ThingSpeak_Logo.png","mtime":"2014-02-08T20:02:14-05:00","size":9258,"digest":"3139b15204b5af565fca3a5f342ef19c"},"eye-b67d3d940541ae7d0b469ed20ee92fe3.png":{"logical_path":"eye.png","mtime":"2014-02-08T20:02:14-05:00","size":3294,"digest":"b67d3d940541ae7d0b469ed20ee92fe3"},"flag_gray-319110a59d1d75cad2d8f29af88fdb23.gif":{"logical_path":"flag_gray.gif","mtime":"2014-02-08T20:02:14-05:00","size":983,"digest":"319110a59d1d75cad2d8f29af88fdb23"},"flag_red-16607fd54284010c4e95d5e9a3935b40.gif":{"logical_path":"flag_red.gif","mtime":"2014-02-08T20:02:14-05:00","size":987,"digest":"16607fd54284010c4e95d5e9a3935b40"},"front-b28e4f9d550ff0101a0140b1fb1ec1da.png":{"logical_path":"front.png","mtime":"2014-02-08T20:02:14-05:00","size":17717,"digest":"b28e4f9d550ff0101a0140b1fb1ec1da"},"icon_location_24-40aef0eb9d6824f7538c1056c90a2156.png":{"logical_path":"icon_location_24.png","mtime":"2014-02-08T20:01:43-05:00","size":618,"digest":"40aef0eb9d6824f7538c1056c90a2156"},"icon_rss-3ce0d86e00a9e937993988e73720950e.gif":{"logical_path":"icon_rss.gif","mtime":"2014-02-08T20:02:14-05:00","size":1008,"digest":"3ce0d86e00a9e937993988e73720950e"},"icons/InfoBox-54072dd9794a709a9fee5ab80d4be545.png":{"logical_path":"icons/InfoBox.png","mtime":"2014-02-08T20:02:14-05:00","size":837,"digest":"54072dd9794a709a9fee5ab80d4be545"},"icons/Locked-84572b6d8c7a390e424483b16f28410f.png":{"logical_path":"icons/Locked.png","mtime":"2014-02-08T20:02:14-05:00","size":1882,"digest":"84572b6d8c7a390e424483b16f28410f"},"icons/Public_32-2bcfb892862a4396e3a5593a5e1df202.png":{"logical_path":"icons/Public_32.png","mtime":"2014-02-08T20:02:14-05:00","size":4788,"digest":"2bcfb892862a4396e3a5593a5e1df202"},"icons/Unlocked-226c08041c55d88ecf7898dffe6568aa.png":{"logical_path":"icons/Unlocked.png","mtime":"2014-02-08T20:02:14-05:00","size":1652,"digest":"226c08041c55d88ecf7898dffe6568aa"},"icons/delete-9a7fbc7ba573f4ab735f66bc17466a84.png":{"logical_path":"icons/delete.png","mtime":"2014-02-08T20:02:14-05:00","size":715,"digest":"9a7fbc7ba573f4ab735f66bc17466a84"},"my_house_status_update-526a896242134f12bf2882dfad48fe24.png":{"logical_path":"my_house_status_update.png","mtime":"2014-02-08T20:02:14-05:00","size":13437,"digest":"526a896242134f12bf2882dfad48fe24"},"rails-6a9a73b3eeba7d35c79c3de6fc98b6f1.png":{"logical_path":"rails.png","mtime":"2014-02-08T20:02:14-05:00","size":6646,"digest":"6a9a73b3eeba7d35c79c3de6fc98b6f1"},"react-99715cc1aac81b13fdc4384378c9cf0e.png":{"logical_path":"react.png","mtime":"2014-02-08T20:02:14-05:00","size":2996,"digest":"99715cc1aac81b13fdc4384378c9cf0e"},"scheduled_thinghttp-b525411c648770d5252475ab92925006.png":{"logical_path":"scheduled_thinghttp.png","mtime":"2014-02-08T20:02:14-05:00","size":8677,"digest":"b525411c648770d5252475ab92925006"},"shading-4c8cafd8b85355f46eedb553ece6a663.png":{"logical_path":"shading.png","mtime":"2014-02-08T20:02:14-05:00","size":565,"digest":"4c8cafd8b85355f46eedb553ece6a663"},"social_sensor_network_logo-2cc4b27d8115a3efcf38c0c6539d06fe.png":{"logical_path":"social_sensor_network_logo.png","mtime":"2014-02-08T20:02:14-05:00","size":15370,"digest":"2cc4b27d8115a3efcf38c0c6539d06fe"},"social_sensor_network_main-f2114a6f96a027de3c3b39aefd11a34b.png":{"logical_path":"social_sensor_network_main.png","mtime":"2014-02-08T20:02:14-05:00","size":132931,"digest":"f2114a6f96a027de3c3b39aefd11a34b"},"talkback-a8f0046a06cddead53bfe73e0a1b11b1.png":{"logical_path":"talkback.png","mtime":"2014-02-08T20:02:14-05:00","size":5183,"digest":"a8f0046a06cddead53bfe73e0a1b11b1"},"thinghttp-b22d0641869d4b49e8fdc1441d19bd9d.png":{"logical_path":"thinghttp.png","mtime":"2014-02-08T20:02:14-05:00","size":5918,"digest":"b22d0641869d4b49e8fdc1441d19bd9d"},"thingtweet-2f829197927298b1eb724a072adb072a.png":{"logical_path":"thingtweet.png","mtime":"2014-02-08T20:02:14-05:00","size":4075,"digest":"2f829197927298b1eb724a072adb072a"},"tweetcontrol-5fa1225bb39f188b215d5897b37c2c18.png":{"logical_path":"tweetcontrol.png","mtime":"2014-02-08T20:02:14-05:00","size":13429,"digest":"5fa1225bb39f188b215d5897b37c2c18"},"images/ui-bg_diagonals-thick_18_b81900_40x40-7cff5779324125bfa623755a21cb7d08.png":{"logical_path":"images/ui-bg_diagonals-thick_18_b81900_40x40.png","mtime":"2014-02-08T20:01:44-05:00","size":260,"digest":"7cff5779324125bfa623755a21cb7d08"},"images/ui-bg_diagonals-thick_20_666666_40x40-e3476d26e53f4b2bdba1cbd4216bd169.png":{"logical_path":"images/ui-bg_diagonals-thick_20_666666_40x40.png","mtime":"2014-02-08T20:01:44-05:00","size":251,"digest":"e3476d26e53f4b2bdba1cbd4216bd169"},"images/ui-bg_flat_10_000000_40x100-b4d9562e67d66d83845d2edeaae222d7.png":{"logical_path":"images/ui-bg_flat_10_000000_40x100.png","mtime":"2014-02-08T20:02:14-05:00","size":178,"digest":"b4d9562e67d66d83845d2edeaae222d7"},"images/ui-bg_glass_100_f6f6f6_1x400-4d37c970a424e84d47dd48ae788eaef8.png":{"logical_path":"images/ui-bg_glass_100_f6f6f6_1x400.png","mtime":"2014-02-08T20:01:44-05:00","size":104,"digest":"4d37c970a424e84d47dd48ae788eaef8"},"images/ui-bg_glass_100_fdf5ce_1x400-657936ddb303bcc8c34554da5279debe.png":{"logical_path":"images/ui-bg_glass_100_fdf5ce_1x400.png","mtime":"2014-02-08T20:02:14-05:00","size":125,"digest":"657936ddb303bcc8c34554da5279debe"},"images/ui-bg_glass_65_ffffff_1x400-5f18db79610dfa0b148ff6335bbc42cb.png":{"logical_path":"images/ui-bg_glass_65_ffffff_1x400.png","mtime":"2014-02-08T20:02:14-05:00","size":105,"digest":"5f18db79610dfa0b148ff6335bbc42cb"},"images/ui-bg_gloss-wave_35_f6a828_500x100-93fadea558da2231315ae756b3be6bbf.png":{"logical_path":"images/ui-bg_gloss-wave_35_f6a828_500x100.png","mtime":"2014-02-08T20:02:14-05:00","size":3762,"digest":"93fadea558da2231315ae756b3be6bbf"},"images/ui-bg_highlight-soft_100_eeeeee_1x100-4310274c0febae96f7f3d2f54b0a4f42.png":{"logical_path":"images/ui-bg_highlight-soft_100_eeeeee_1x100.png","mtime":"2014-02-08T20:01:44-05:00","size":90,"digest":"4310274c0febae96f7f3d2f54b0a4f42"},"images/ui-bg_highlight-soft_75_ffe45c_1x100-21008ee33c710d7e484d7f88f2c7dc21.png":{"logical_path":"images/ui-bg_highlight-soft_75_ffe45c_1x100.png","mtime":"2014-02-08T20:02:14-05:00","size":129,"digest":"21008ee33c710d7e484d7f88f2c7dc21"},"images/ui-icons_222222_256x240-d83eeaaf84f04ca2c5d6a684bc7629af.png":{"logical_path":"images/ui-icons_222222_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"d83eeaaf84f04ca2c5d6a684bc7629af"},"images/ui-icons_228ef1_256x240-65e412c112f4e7ee270afb71005fd17d.png":{"logical_path":"images/ui-icons_228ef1_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"65e412c112f4e7ee270afb71005fd17d"},"images/ui-icons_ef8c08_256x240-8b462cb27e07227bac8bd0020d9933e4.png":{"logical_path":"images/ui-icons_ef8c08_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"8b462cb27e07227bac8bd0020d9933e4"},"images/ui-icons_ffd27a_256x240-3d95bb913fb70688654b00e8ed1eb247.png":{"logical_path":"images/ui-icons_ffd27a_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"3d95bb913fb70688654b00e8ed1eb247"},"images/ui-icons_ffffff_256x240-2066cf4b1373355dbf4a2031099e1a04.png":{"logical_path":"images/ui-icons_ffffff_256x240.png","mtime":"2014-02-08T20:02:14-05:00","size":4369,"digest":"2066cf4b1373355dbf4a2031099e1a04"},"thingspeak_logo-95d6e7cb7f17bbbc1526407176244ca8.png":{"logical_path":"thingspeak_logo.png","mtime":"2014-02-10T17:38:24-05:00","size":1609,"digest":"95d6e7cb7f17bbbc1526407176244ca8"},"GitHub_ThingSpeak_API-c55761d06c28c72e17c9196391bf7fe4.jpg":{"logical_path":"GitHub_ThingSpeak_API.jpg","mtime":"2014-07-30T11:58:22-04:00","size":26303,"digest":"c55761d06c28c72e17c9196391bf7fe4"},"eye-9175769cbdc94be2e5c44c59fdd3cbcd.png":{"logical_path":"eye.png","mtime":"2014-02-27T12:20:28-05:00","size":3294,"digest":"9175769cbdc94be2e5c44c59fdd3cbcd"},"flag_gray-a465b55d9751d7d19801facf9d7d66b2.gif":{"logical_path":"flag_gray.gif","mtime":"2014-02-27T12:20:28-05:00","size":983,"digest":"a465b55d9751d7d19801facf9d7d66b2"},"flag_red-87843b96f6a35694691fd624cd68a802.gif":{"logical_path":"flag_red.gif","mtime":"2014-02-27T12:20:27-05:00","size":987,"digest":"87843b96f6a35694691fd624cd68a802"},"front-44d3070595f891d9a2d88e00606c6325.png":{"logical_path":"front.png","mtime":"2014-02-27T12:20:28-05:00","size":17717,"digest":"44d3070595f891d9a2d88e00606c6325"},"icon_location_24-bf607f94a54f074c940a844771200b1b.png":{"logical_path":"icon_location_24.png","mtime":"2014-02-27T12:20:28-05:00","size":618,"digest":"bf607f94a54f074c940a844771200b1b"},"icon_rss-2687cbed842e6291c3a7b431f7bad93e.gif":{"logical_path":"icon_rss.gif","mtime":"2014-02-27T12:20:27-05:00","size":1008,"digest":"2687cbed842e6291c3a7b431f7bad93e"},"icons/InfoBox-3dd7c57e5ed644dc9fa79014c10478ea.png":{"logical_path":"icons/InfoBox.png","mtime":"2014-02-27T12:20:28-05:00","size":837,"digest":"3dd7c57e5ed644dc9fa79014c10478ea"},"icons/Locked-dd04ba8d213caf20f92028729f7d652b.png":{"logical_path":"icons/Locked.png","mtime":"2014-02-27T12:20:28-05:00","size":1882,"digest":"dd04ba8d213caf20f92028729f7d652b"},"icons/Public_32-40b058ba964e1b896725268b604c9c74.png":{"logical_path":"icons/Public_32.png","mtime":"2014-02-27T12:20:28-05:00","size":4788,"digest":"40b058ba964e1b896725268b604c9c74"},"icons/Unlocked-d8d39a21ce887850ee0acfcaf6553d1c.png":{"logical_path":"icons/Unlocked.png","mtime":"2014-02-27T12:20:28-05:00","size":1652,"digest":"d8d39a21ce887850ee0acfcaf6553d1c"},"icons/delete-1b8201e6714e82d1b6343aaa53e6ac91.png":{"logical_path":"icons/delete.png","mtime":"2014-02-27T12:20:28-05:00","size":715,"digest":"1b8201e6714e82d1b6343aaa53e6ac91"},"my_house_status_update-d4b1ef118189a8deb613efab4dd0de51.png":{"logical_path":"my_house_status_update.png","mtime":"2014-07-20T18:51:26-04:00","size":13437,"digest":"d4b1ef118189a8deb613efab4dd0de51"},"rails-8a98a69213c3e39ca47a4f822df62bfb.png":{"logical_path":"rails.png","mtime":"2014-02-27T12:20:28-05:00","size":6646,"digest":"8a98a69213c3e39ca47a4f822df62bfb"},"react-813abec4f0db433aa7c583c33e2332ac.png":{"logical_path":"react.png","mtime":"2014-07-20T18:51:26-04:00","size":2996,"digest":"813abec4f0db433aa7c583c33e2332ac"},"scheduled_thinghttp-6151786a4ee07a2cab4c605587a75016.png":{"logical_path":"scheduled_thinghttp.png","mtime":"2014-07-20T18:51:27-04:00","size":8677,"digest":"6151786a4ee07a2cab4c605587a75016"},"shading-0b2c43248624209936e2bf318c546c16.png":{"logical_path":"shading.png","mtime":"2014-02-27T12:20:28-05:00","size":565,"digest":"0b2c43248624209936e2bf318c546c16"},"social_sensor_network_logo-4a42dbecef9e2ab82564b14592f5d05b.png":{"logical_path":"social_sensor_network_logo.png","mtime":"2014-07-20T18:51:26-04:00","size":15370,"digest":"4a42dbecef9e2ab82564b14592f5d05b"},"social_sensor_network_main-20c93960eee4b916ed842f414bf7fea5.png":{"logical_path":"social_sensor_network_main.png","mtime":"2014-07-20T18:51:27-04:00","size":132931,"digest":"20c93960eee4b916ed842f414bf7fea5"},"talkback-e9f9fa607f7739892d8cd73682aba65d.png":{"logical_path":"talkback.png","mtime":"2014-07-20T18:51:26-04:00","size":5183,"digest":"e9f9fa607f7739892d8cd73682aba65d"},"thinghttp-bb3f9377bc76eaaff763e4f7b4a03577.png":{"logical_path":"thinghttp.png","mtime":"2014-07-20T18:51:26-04:00","size":5918,"digest":"bb3f9377bc76eaaff763e4f7b4a03577"},"thingspeak_logo-dadc6a1037759f672179ca2d4e96ba6d.png":{"logical_path":"thingspeak_logo.png","mtime":"2014-02-27T12:20:27-05:00","size":1609,"digest":"dadc6a1037759f672179ca2d4e96ba6d"},"thingtweet-e770a29c4bb3dc128d9023f0bab6e7c6.png":{"logical_path":"thingtweet.png","mtime":"2014-07-20T18:51:27-04:00","size":4075,"digest":"e770a29c4bb3dc128d9023f0bab6e7c6"},"tweetcontrol-3f52ce7cf7f2796df769016ca2487a37.png":{"logical_path":"tweetcontrol.png","mtime":"2014-07-20T18:51:26-04:00","size":13429,"digest":"3f52ce7cf7f2796df769016ca2487a37"},"tweetcontrol_sample-29e6418760cec16453cc0b3b5707b7c2.png":{"logical_path":"tweetcontrol_sample.png","mtime":"2014-07-20T18:51:27-04:00","size":24608,"digest":"29e6418760cec16453cc0b3b5707b7c2"},"images/ui-bg_diagonals-thick_18_b81900_40x40-8da1641e421200ea88d476a6040548f4.png":{"logical_path":"images/ui-bg_diagonals-thick_18_b81900_40x40.png","mtime":"2014-07-20T18:51:27-04:00","size":260,"digest":"8da1641e421200ea88d476a6040548f4"},"images/ui-bg_diagonals-thick_20_666666_40x40-fbffa7c43cac930aa61ea7f15bcee131.png":{"logical_path":"images/ui-bg_diagonals-thick_20_666666_40x40.png","mtime":"2014-07-20T18:51:27-04:00","size":251,"digest":"fbffa7c43cac930aa61ea7f15bcee131"},"images/ui-bg_flat_10_000000_40x100-dabfeb3662bfa05f655ed5056cce2124.png":{"logical_path":"images/ui-bg_flat_10_000000_40x100.png","mtime":"2014-07-20T18:51:27-04:00","size":178,"digest":"dabfeb3662bfa05f655ed5056cce2124"},"images/ui-bg_glass_100_f6f6f6_1x400-ee77c8327f94bab46c89043ffce9444c.png":{"logical_path":"images/ui-bg_glass_100_f6f6f6_1x400.png","mtime":"2014-07-20T18:51:27-04:00","size":104,"digest":"ee77c8327f94bab46c89043ffce9444c"},"images/ui-bg_glass_100_fdf5ce_1x400-c1024fd9f647f2bf814e32f41e5632c3.png":{"logical_path":"images/ui-bg_glass_100_fdf5ce_1x400.png","mtime":"2014-07-20T18:51:27-04:00","size":125,"digest":"c1024fd9f647f2bf814e32f41e5632c3"},"images/ui-bg_glass_65_ffffff_1x400-6879b674aed618d3df27bd2027469557.png":{"logical_path":"images/ui-bg_glass_65_ffffff_1x400.png","mtime":"2014-07-20T18:51:27-04:00","size":105,"digest":"6879b674aed618d3df27bd2027469557"},"images/ui-bg_gloss-wave_35_f6a828_500x100-61763bbe727affffa1bef63e1492d8a9.png":{"logical_path":"images/ui-bg_gloss-wave_35_f6a828_500x100.png","mtime":"2014-07-20T18:51:27-04:00","size":3762,"digest":"61763bbe727affffa1bef63e1492d8a9"},"images/ui-bg_highlight-soft_100_eeeeee_1x100-f4dc124a7f6d39a9c8a496120c5e8273.png":{"logical_path":"images/ui-bg_highlight-soft_100_eeeeee_1x100.png","mtime":"2014-07-20T18:51:27-04:00","size":90,"digest":"f4dc124a7f6d39a9c8a496120c5e8273"},"images/ui-bg_highlight-soft_75_ffe45c_1x100-970b8bb07ae918e7591662db33b7482e.png":{"logical_path":"images/ui-bg_highlight-soft_75_ffe45c_1x100.png","mtime":"2014-07-20T18:51:27-04:00","size":129,"digest":"970b8bb07ae918e7591662db33b7482e"},"images/ui-icons_222222_256x240-6597c301cf369830bb7171882648f85e.png":{"logical_path":"images/ui-icons_222222_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"6597c301cf369830bb7171882648f85e"},"images/ui-icons_228ef1_256x240-2c0de233993aabf35f961f7c39fa9263.png":{"logical_path":"images/ui-icons_228ef1_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"2c0de233993aabf35f961f7c39fa9263"},"images/ui-icons_ef8c08_256x240-8e46c4f4ea98a986f4e877a51e4c15c5.png":{"logical_path":"images/ui-icons_ef8c08_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"8e46c4f4ea98a986f4e877a51e4c15c5"},"images/ui-icons_ffd27a_256x240-f6366c00a59227a55e14d94caaeea3f6.png":{"logical_path":"images/ui-icons_ffd27a_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"f6366c00a59227a55e14d94caaeea3f6"},"images/ui-icons_ffffff_256x240-13dbadd07134115add4ebe610d444859.png":{"logical_path":"images/ui-icons_ffffff_256x240.png","mtime":"2014-07-20T18:51:27-04:00","size":4369,"digest":"13dbadd07134115add4ebe610d444859"},"channel_public_view-81af126139a236e81d91e5a5a76d603e.png":{"logical_path":"channel_public_view.png","mtime":"2014-07-20T18:51:26-04:00","size":112757,"digest":"81af126139a236e81d91e5a5a76d603e"},"ajax-loader-02917e3c114fd83f5c4c17953aa87e83.gif":{"logical_path":"ajax-loader.gif","mtime":"2014-07-20T18:51:26-04:00","size":3208,"digest":"02917e3c114fd83f5c4c17953aa87e83"},"active_admin-b50063add15e7f808a148a820d74bf3d.js":{"logical_path":"active_admin.js","mtime":"2014-03-20T16:39:45-04:00","size":243506,"digest":"b50063add15e7f808a148a820d74bf3d"},"active_admin-ef03ab96648e45e8a22d6690f32d1693.css":{"logical_path":"active_admin.css","mtime":"2014-03-20T16:38:50-04:00","size":70032,"digest":"ef03ab96648e45e8a22d6690f32d1693"},"active_admin/admin_notes_icon-44589ac44518808ac8dadd1755e03161.png":{"logical_path":"active_admin/admin_notes_icon.png","mtime":"2014-10-04T02:53:35-04:00","size":716,"digest":"44589ac44518808ac8dadd1755e03161"},"active_admin/datepicker/datepicker-header-bg-bcad4373bcdc56124322dea658739849.png":{"logical_path":"active_admin/datepicker/datepicker-header-bg.png","mtime":"2014-10-04T02:53:35-04:00","size":1701,"digest":"bcad4373bcdc56124322dea658739849"},"active_admin/datepicker/datepicker-input-icon-20df875ab8a44d588cbfd3d8018a52b9.png":{"logical_path":"active_admin/datepicker/datepicker-input-icon.png","mtime":"2014-10-04T02:53:35-04:00","size":1535,"digest":"20df875ab8a44d588cbfd3d8018a52b9"},"active_admin/datepicker/datepicker-next-link-icon-f9ef6d04c65df1cb5bda725ebba623a1.png":{"logical_path":"active_admin/datepicker/datepicker-next-link-icon.png","mtime":"2014-10-04T02:53:35-04:00","size":1006,"digest":"f9ef6d04c65df1cb5bda725ebba623a1"},"active_admin/datepicker/datepicker-nipple-c6e265f4a33a97853a69662e6350cb31.png":{"logical_path":"active_admin/datepicker/datepicker-nipple.png","mtime":"2014-10-04T02:53:35-04:00","size":1224,"digest":"c6e265f4a33a97853a69662e6350cb31"},"active_admin/datepicker/datepicker-prev-link-icon-ce5f918e536f436ca2095a9e7442c6df.png":{"logical_path":"active_admin/datepicker/datepicker-prev-link-icon.png","mtime":"2014-10-04T02:53:35-04:00","size":1004,"digest":"ce5f918e536f436ca2095a9e7442c6df"},"active_admin/index_list_icons/block_icon-efadf57de7365b6e1919448c310b5f04.svg":{"logical_path":"active_admin/index_list_icons/block_icon.svg","mtime":"2014-10-04T02:53:35-04:00","size":1141,"digest":"efadf57de7365b6e1919448c310b5f04"},"active_admin/index_list_icons/blog_icon-9522bfa7d1eadd437164992512ac461f.svg":{"logical_path":"active_admin/index_list_icons/blog_icon.svg","mtime":"2014-10-04T02:53:35-04:00","size":881,"digest":"9522bfa7d1eadd437164992512ac461f"},"active_admin/index_list_icons/grid_icon-5dbe976f21a86b79408e60b949411fd5.svg":{"logical_path":"active_admin/index_list_icons/grid_icon.svg","mtime":"2014-10-04T02:53:35-04:00","size":2132,"digest":"5dbe976f21a86b79408e60b949411fd5"},"active_admin/index_list_icons/table_icon-5276b83ac60335e2891d9f0cbbf368ae.svg":{"logical_path":"active_admin/index_list_icons/table_icon.svg","mtime":"2014-10-04T02:53:35-04:00","size":815,"digest":"5276b83ac60335e2891d9f0cbbf368ae"},"active_admin/loading-aebaee21d194d63dd36be976ac42d09b.gif":{"logical_path":"active_admin/loading.gif","mtime":"2014-10-04T02:53:35-04:00","size":2079,"digest":"aebaee21d194d63dd36be976ac42d09b"},"active_admin/nested_menu_arrow-94d9c4f73e81d377f80ae8dbcc71128b.gif":{"logical_path":"active_admin/nested_menu_arrow.gif","mtime":"2014-10-04T02:53:35-04:00","size":70,"digest":"94d9c4f73e81d377f80ae8dbcc71128b"},"active_admin/nested_menu_arrow_dark-b40a488b4f4b7d25cce531a15db4037b.gif":{"logical_path":"active_admin/nested_menu_arrow_dark.gif","mtime":"2014-10-04T02:53:35-04:00","size":70,"digest":"b40a488b4f4b7d25cce531a15db4037b"},"active_admin/orderable-61b5d7f5855b4fbc6b718755d542b71b.png":{"logical_path":"active_admin/orderable.png","mtime":"2014-10-04T02:53:35-04:00","size":220,"digest":"61b5d7f5855b4fbc6b718755d542b71b"},"active_admin/application-e851fe02b20790a5242ac0333acdc2e5.js":{"logical_path":"active_admin/application.js","mtime":"2014-10-04T02:53:35-04:00","size":749,"digest":"e851fe02b20790a5242ac0333acdc2e5"},"active_admin/print-d21aee48657d1ea57f4695edbb2b1b06.css":{"logical_path":"active_admin/print.css","mtime":"2014-05-08T19:27:41-04:00","size":5460,"digest":"d21aee48657d1ea57f4695edbb2b1b06"},"jquery-ui/animated-overlay-f66f40fcb74b7b2076d2a140ad33132d.gif":{"logical_path":"jquery-ui/animated-overlay.gif","mtime":"2014-09-09T18:34:38-04:00","size":1738,"digest":"f66f40fcb74b7b2076d2a140ad33132d"},"jquery-ui/ui-bg_flat_0_aaaaaa_40x100-8c3a37f71112e61b7a0f09cbc94995c9.png":{"logical_path":"jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png","mtime":"2014-09-09T18:34:38-04:00","size":180,"digest":"8c3a37f71112e61b7a0f09cbc94995c9"},"jquery-ui/ui-bg_flat_75_ffffff_40x100-3af74dc50888d335b78248a0694bbd21.png":{"logical_path":"jquery-ui/ui-bg_flat_75_ffffff_40x100.png","mtime":"2014-09-09T18:34:38-04:00","size":178,"digest":"3af74dc50888d335b78248a0694bbd21"},"jquery-ui/ui-bg_glass_55_fbf9ee_1x400-d63699c9cc07cd2ecbf3233058f1638e.png":{"logical_path":"jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png","mtime":"2014-09-09T18:34:38-04:00","size":120,"digest":"d63699c9cc07cd2ecbf3233058f1638e"},"jquery-ui/ui-bg_glass_65_ffffff_1x400-6879b674aed618d3df27bd2027469557.png":{"logical_path":"jquery-ui/ui-bg_glass_65_ffffff_1x400.png","mtime":"2014-09-09T18:34:38-04:00","size":105,"digest":"6879b674aed618d3df27bd2027469557"},"jquery-ui/ui-bg_glass_75_dadada_1x400-393389b036ccddba12c4032ebba856d9.png":{"logical_path":"jquery-ui/ui-bg_glass_75_dadada_1x400.png","mtime":"2014-09-09T18:34:38-04:00","size":111,"digest":"393389b036ccddba12c4032ebba856d9"},"jquery-ui/ui-bg_glass_75_e6e6e6_1x400-470ccb5154632a9b5118eb8246e61097.png":{"logical_path":"jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png","mtime":"2014-09-09T18:34:38-04:00","size":110,"digest":"470ccb5154632a9b5118eb8246e61097"},"jquery-ui/ui-bg_glass_95_fef1ec_1x400-5a857f14cf3a69c2bf968f54ea5d3037.png":{"logical_path":"jquery-ui/ui-bg_glass_95_fef1ec_1x400.png","mtime":"2014-09-09T18:34:38-04:00","size":119,"digest":"5a857f14cf3a69c2bf968f54ea5d3037"},"jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100-0c2f96e44d86042e97a1a3188141d8de.png":{"logical_path":"jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png","mtime":"2014-09-09T18:34:38-04:00","size":101,"digest":"0c2f96e44d86042e97a1a3188141d8de"},"jquery-ui/ui-icons_222222_256x240-3a92dcc42b992876335ae81da242fe5f.png":{"logical_path":"jquery-ui/ui-icons_222222_256x240.png","mtime":"2014-09-09T18:34:38-04:00","size":4369,"digest":"3a92dcc42b992876335ae81da242fe5f"},"jquery-ui/ui-icons_2e83ff_256x240-2c61f38ac281b30c924aa57c0e15f797.png":{"logical_path":"jquery-ui/ui-icons_2e83ff_256x240.png","mtime":"2014-09-09T18:34:38-04:00","size":4369,"digest":"2c61f38ac281b30c924aa57c0e15f797"},"jquery-ui/ui-icons_454545_256x240-515ff3b290c7160a009324d292e3e64a.png":{"logical_path":"jquery-ui/ui-icons_454545_256x240.png","mtime":"2014-09-09T18:34:38-04:00","size":4369,"digest":"515ff3b290c7160a009324d292e3e64a"},"jquery-ui/ui-icons_888888_256x240-dcb64181e6f3547e73afa034c4466dfd.png":{"logical_path":"jquery-ui/ui-icons_888888_256x240.png","mtime":"2014-09-09T18:34:38-04:00","size":4369,"digest":"dcb64181e6f3547e73afa034c4466dfd"},"jquery-ui/ui-icons_cd0a0a_256x240-58c4a995b8b611cacb6645f6049b3935.png":{"logical_path":"jquery-ui/ui-icons_cd0a0a_256x240.png","mtime":"2014-09-09T18:34:38-04:00","size":4369,"digest":"58c4a995b8b611cacb6645f6049b3935"},"thingspeak_logo_white-9cac8b416f09882dd73a79fb6cf638f1.png":{"logical_path":"thingspeak_logo_white.png","mtime":"2014-08-01T14:27:59-04:00","size":2954,"digest":"9cac8b416f09882dd73a79fb6cf638f1"},"thingspeak_stars_bg-6908a0cfd5f88ec01ec60aeb1748d108.jpg":{"logical_path":"thingspeak_stars_bg.jpg","mtime":"2014-08-01T14:27:59-04:00","size":125372,"digest":"6908a0cfd5f88ec01ec60aeb1748d108"},"active_admin-daf1d88b3b2d591e19aa91972d495192.js":{"logical_path":"active_admin.js","mtime":"2014-07-20T18:51:27-04:00","size":243581,"digest":"daf1d88b3b2d591e19aa91972d495192"},"application-acf65447ac760ab7c9d4797a529315a8.js":{"logical_path":"application.js","mtime":"2014-09-22T16:15:01-04:00","size":63542,"digest":"acf65447ac760ab7c9d4797a529315a8"},"application-18dd892b59e443d4c090309575b1c7c9.css":{"logical_path":"application.css","mtime":"2014-08-06T11:06:36-04:00","size":43816,"digest":"18dd892b59e443d4c090309575b1c7c9"},"application-540f4fead37885553021bac515a4c60c.css":{"logical_path":"application.css","mtime":"2014-09-22T16:15:01-04:00","size":43814,"digest":"540f4fead37885553021bac515a4c60c"},"active_admin-4181fc567971368e6063e9b90fd937e9.css":{"logical_path":"active_admin.css","mtime":"2014-07-20T18:51:27-04:00","size":69858,"digest":"4181fc567971368e6063e9b90fd937e9"},"timecontrol_form-491c6c7b902cfc83460e0912e29daa11.js":{"logical_path":"timecontrol_form.js","mtime":"2014-09-22T16:15:01-04:00","size":958,"digest":"491c6c7b902cfc83460e0912e29daa11"},"timecontrol-6151786a4ee07a2cab4c605587a75016.png":{"logical_path":"timecontrol.png","mtime":"2014-07-20T18:51:27-04:00","size":8677,"digest":"6151786a4ee07a2cab4c605587a75016"},"application-34ab6c80c76e48d799f77e7e60386577.css":{"logical_path":"application.css","mtime":"2014-09-26T13:34:56-04:00","size":43899,"digest":"34ab6c80c76e48d799f77e7e60386577"},"application-efad721948fc6d5a972961aa1c62d871.js":{"logical_path":"application.js","mtime":"2014-09-26T15:05:21-04:00","size":63585,"digest":"efad721948fc6d5a972961aa1c62d871"},"active_admin-fba677acf1e23e6ab4036a65bb163cc7.js":{"logical_path":"active_admin.js","mtime":"2014-10-04T11:11:18-04:00","size":246366,"digest":"fba677acf1e23e6ab4036a65bb163cc7"},"application-4ac171a3d0c3497168c817f96a7a1529.js":{"logical_path":"application.js","mtime":"2014-10-04T11:11:18-04:00","size":65303,"digest":"4ac171a3d0c3497168c817f96a7a1529"},"timecontrol_form-479ae48e8ec2f66cf3c307980ad7e9a6.js":{"logical_path":"timecontrol_form.js","mtime":"2014-10-08T19:25:05-04:00","size":1425,"digest":"479ae48e8ec2f66cf3c307980ad7e9a6"},"active_admin/print-379fc5c5e14d618c0f86e3c73191f6a2.css":{"logical_path":"active_admin/print.css","mtime":"2014-10-04T02:53:35-04:00","size":5494,"digest":"379fc5c5e14d618c0f86e3c73191f6a2"}},"assets":{"GitHub_ThingSpeak_API.jpg":"GitHub_ThingSpeak_API-c55761d06c28c72e17c9196391bf7fe4.jpg","ThingSpeak_Logo.png":"ThingSpeak_Logo-3139b15204b5af565fca3a5f342ef19c.png","eye.png":"eye-9175769cbdc94be2e5c44c59fdd3cbcd.png","flag_gray.gif":"flag_gray-a465b55d9751d7d19801facf9d7d66b2.gif","flag_red.gif":"flag_red-87843b96f6a35694691fd624cd68a802.gif","front.png":"front-44d3070595f891d9a2d88e00606c6325.png","icon_location_24.png":"icon_location_24-bf607f94a54f074c940a844771200b1b.png","icon_rss.gif":"icon_rss-2687cbed842e6291c3a7b431f7bad93e.gif","icons/InfoBox.png":"icons/InfoBox-3dd7c57e5ed644dc9fa79014c10478ea.png","icons/Locked.png":"icons/Locked-dd04ba8d213caf20f92028729f7d652b.png","icons/Public_32.png":"icons/Public_32-40b058ba964e1b896725268b604c9c74.png","icons/Unlocked.png":"icons/Unlocked-d8d39a21ce887850ee0acfcaf6553d1c.png","icons/delete.png":"icons/delete-1b8201e6714e82d1b6343aaa53e6ac91.png","my_house_status_update.png":"my_house_status_update-d4b1ef118189a8deb613efab4dd0de51.png","rails.png":"rails-8a98a69213c3e39ca47a4f822df62bfb.png","react.png":"react-813abec4f0db433aa7c583c33e2332ac.png","scheduled_thinghttp.png":"scheduled_thinghttp-6151786a4ee07a2cab4c605587a75016.png","shading.png":"shading-0b2c43248624209936e2bf318c546c16.png","social_sensor_network_logo.png":"social_sensor_network_logo-4a42dbecef9e2ab82564b14592f5d05b.png","social_sensor_network_main.png":"social_sensor_network_main-20c93960eee4b916ed842f414bf7fea5.png","talkback.png":"talkback-e9f9fa607f7739892d8cd73682aba65d.png","thinghttp.png":"thinghttp-bb3f9377bc76eaaff763e4f7b4a03577.png","thingtweet.png":"thingtweet-e770a29c4bb3dc128d9023f0bab6e7c6.png","tweetcontrol.png":"tweetcontrol-3f52ce7cf7f2796df769016ca2487a37.png","application.js":"application-4ac171a3d0c3497168c817f96a7a1529.js","application.css":"application-34ab6c80c76e48d799f77e7e60386577.css","images/ui-bg_diagonals-thick_18_b81900_40x40.png":"images/ui-bg_diagonals-thick_18_b81900_40x40-8da1641e421200ea88d476a6040548f4.png","images/ui-bg_diagonals-thick_20_666666_40x40.png":"images/ui-bg_diagonals-thick_20_666666_40x40-fbffa7c43cac930aa61ea7f15bcee131.png","images/ui-bg_flat_10_000000_40x100.png":"images/ui-bg_flat_10_000000_40x100-dabfeb3662bfa05f655ed5056cce2124.png","images/ui-bg_glass_100_f6f6f6_1x400.png":"images/ui-bg_glass_100_f6f6f6_1x400-ee77c8327f94bab46c89043ffce9444c.png","images/ui-bg_glass_100_fdf5ce_1x400.png":"images/ui-bg_glass_100_fdf5ce_1x400-c1024fd9f647f2bf814e32f41e5632c3.png","images/ui-bg_glass_65_ffffff_1x400.png":"images/ui-bg_glass_65_ffffff_1x400-6879b674aed618d3df27bd2027469557.png","images/ui-bg_gloss-wave_35_f6a828_500x100.png":"images/ui-bg_gloss-wave_35_f6a828_500x100-61763bbe727affffa1bef63e1492d8a9.png","images/ui-bg_highlight-soft_100_eeeeee_1x100.png":"images/ui-bg_highlight-soft_100_eeeeee_1x100-f4dc124a7f6d39a9c8a496120c5e8273.png","images/ui-bg_highlight-soft_75_ffe45c_1x100.png":"images/ui-bg_highlight-soft_75_ffe45c_1x100-970b8bb07ae918e7591662db33b7482e.png","images/ui-icons_222222_256x240.png":"images/ui-icons_222222_256x240-6597c301cf369830bb7171882648f85e.png","images/ui-icons_228ef1_256x240.png":"images/ui-icons_228ef1_256x240-2c0de233993aabf35f961f7c39fa9263.png","images/ui-icons_ef8c08_256x240.png":"images/ui-icons_ef8c08_256x240-8e46c4f4ea98a986f4e877a51e4c15c5.png","images/ui-icons_ffd27a_256x240.png":"images/ui-icons_ffd27a_256x240-f6366c00a59227a55e14d94caaeea3f6.png","images/ui-icons_ffffff_256x240.png":"images/ui-icons_ffffff_256x240-13dbadd07134115add4ebe610d444859.png","thingspeak_logo.png":"thingspeak_logo-dadc6a1037759f672179ca2d4e96ba6d.png","tweetcontrol_sample.png":"tweetcontrol_sample-29e6418760cec16453cc0b3b5707b7c2.png","channel_public_view.png":"channel_public_view-81af126139a236e81d91e5a5a76d603e.png","ajax-loader.gif":"ajax-loader-02917e3c114fd83f5c4c17953aa87e83.gif","active_admin.js":"active_admin-fba677acf1e23e6ab4036a65bb163cc7.js","active_admin.css":"active_admin-4181fc567971368e6063e9b90fd937e9.css","active_admin/admin_notes_icon.png":"active_admin/admin_notes_icon-44589ac44518808ac8dadd1755e03161.png","active_admin/datepicker/datepicker-header-bg.png":"active_admin/datepicker/datepicker-header-bg-bcad4373bcdc56124322dea658739849.png","active_admin/datepicker/datepicker-input-icon.png":"active_admin/datepicker/datepicker-input-icon-20df875ab8a44d588cbfd3d8018a52b9.png","active_admin/datepicker/datepicker-next-link-icon.png":"active_admin/datepicker/datepicker-next-link-icon-f9ef6d04c65df1cb5bda725ebba623a1.png","active_admin/datepicker/datepicker-nipple.png":"active_admin/datepicker/datepicker-nipple-c6e265f4a33a97853a69662e6350cb31.png","active_admin/datepicker/datepicker-prev-link-icon.png":"active_admin/datepicker/datepicker-prev-link-icon-ce5f918e536f436ca2095a9e7442c6df.png","active_admin/index_list_icons/block_icon.svg":"active_admin/index_list_icons/block_icon-efadf57de7365b6e1919448c310b5f04.svg","active_admin/index_list_icons/blog_icon.svg":"active_admin/index_list_icons/blog_icon-9522bfa7d1eadd437164992512ac461f.svg","active_admin/index_list_icons/grid_icon.svg":"active_admin/index_list_icons/grid_icon-5dbe976f21a86b79408e60b949411fd5.svg","active_admin/index_list_icons/table_icon.svg":"active_admin/index_list_icons/table_icon-5276b83ac60335e2891d9f0cbbf368ae.svg","active_admin/loading.gif":"active_admin/loading-aebaee21d194d63dd36be976ac42d09b.gif","active_admin/nested_menu_arrow.gif":"active_admin/nested_menu_arrow-94d9c4f73e81d377f80ae8dbcc71128b.gif","active_admin/nested_menu_arrow_dark.gif":"active_admin/nested_menu_arrow_dark-b40a488b4f4b7d25cce531a15db4037b.gif","active_admin/orderable.png":"active_admin/orderable-61b5d7f5855b4fbc6b718755d542b71b.png","active_admin/application.js":"active_admin/application-e851fe02b20790a5242ac0333acdc2e5.js","active_admin/print.css":"active_admin/print-379fc5c5e14d618c0f86e3c73191f6a2.css","jquery-ui/animated-overlay.gif":"jquery-ui/animated-overlay-f66f40fcb74b7b2076d2a140ad33132d.gif","jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png":"jquery-ui/ui-bg_flat_0_aaaaaa_40x100-8c3a37f71112e61b7a0f09cbc94995c9.png","jquery-ui/ui-bg_flat_75_ffffff_40x100.png":"jquery-ui/ui-bg_flat_75_ffffff_40x100-3af74dc50888d335b78248a0694bbd21.png","jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png":"jquery-ui/ui-bg_glass_55_fbf9ee_1x400-d63699c9cc07cd2ecbf3233058f1638e.png","jquery-ui/ui-bg_glass_65_ffffff_1x400.png":"jquery-ui/ui-bg_glass_65_ffffff_1x400-6879b674aed618d3df27bd2027469557.png","jquery-ui/ui-bg_glass_75_dadada_1x400.png":"jquery-ui/ui-bg_glass_75_dadada_1x400-393389b036ccddba12c4032ebba856d9.png","jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png":"jquery-ui/ui-bg_glass_75_e6e6e6_1x400-470ccb5154632a9b5118eb8246e61097.png","jquery-ui/ui-bg_glass_95_fef1ec_1x400.png":"jquery-ui/ui-bg_glass_95_fef1ec_1x400-5a857f14cf3a69c2bf968f54ea5d3037.png","jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png":"jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100-0c2f96e44d86042e97a1a3188141d8de.png","jquery-ui/ui-icons_222222_256x240.png":"jquery-ui/ui-icons_222222_256x240-3a92dcc42b992876335ae81da242fe5f.png","jquery-ui/ui-icons_2e83ff_256x240.png":"jquery-ui/ui-icons_2e83ff_256x240-2c61f38ac281b30c924aa57c0e15f797.png","jquery-ui/ui-icons_454545_256x240.png":"jquery-ui/ui-icons_454545_256x240-515ff3b290c7160a009324d292e3e64a.png","jquery-ui/ui-icons_888888_256x240.png":"jquery-ui/ui-icons_888888_256x240-dcb64181e6f3547e73afa034c4466dfd.png","jquery-ui/ui-icons_cd0a0a_256x240.png":"jquery-ui/ui-icons_cd0a0a_256x240-58c4a995b8b611cacb6645f6049b3935.png","thingspeak_logo_white.png":"thingspeak_logo_white-9cac8b416f09882dd73a79fb6cf638f1.png","thingspeak_stars_bg.jpg":"thingspeak_stars_bg-6908a0cfd5f88ec01ec60aeb1748d108.jpg","timecontrol_form.js":"timecontrol_form-479ae48e8ec2f66cf3c307980ad7e9a6.js","timecontrol.png":"timecontrol-6151786a4ee07a2cab4c605587a75016.png"}} \ No newline at end of file diff --git a/spec/models/feed_spec.rb b/spec/models/feed_spec.rb index 5345f17..b6b797c 100644 --- a/spec/models/feed_spec.rb +++ b/spec/models/feed_spec.rb @@ -1,3 +1,27 @@ +# == Schema Information +# +# Table name: feeds +# +# id :integer not null, primary key +# channel_id :integer +# field1 :string(255) +# field2 :string(255) +# field3 :string(255) +# field4 :string(255) +# field5 :string(255) +# field6 :string(255) +# field7 :string(255) +# field8 :string(255) +# created_at :datetime +# updated_at :datetime +# entry_id :integer +# status :string(255) +# latitude :decimal(15, 10) +# longitude :decimal(15, 10) +# elevation :string(255) +# location :string(255) +# + require 'spec_helper' describe Feed do diff --git a/test/models/admin_user_test.rb b/test/models/admin_user_test.rb index 6215c04..0fac73b 100644 --- a/test/models/admin_user_test.rb +++ b/test/models/admin_user_test.rb @@ -1,3 +1,22 @@ +# == Schema Information +# +# Table name: admin_users +# +# id :integer not null, primary key +# email :string(255) default(""), not null +# encrypted_password :string(255) default(""), not null +# reset_password_token :string(255) +# reset_password_sent_at :datetime +# remember_created_at :datetime +# sign_in_count :integer default(0), not null +# current_sign_in_at :datetime +# last_sign_in_at :datetime +# current_sign_in_ip :string(255) +# last_sign_in_ip :string(255) +# created_at :datetime +# updated_at :datetime +# + require 'test_helper' class AdminUserTest < ActiveSupport::TestCase