├── .gitignore ├── 01-recut ├── assets │ ├── 48986696_120x120.jpg │ ├── 525952080.html │ ├── automatically-remove-silence-davinci-resolve.png │ ├── player.css │ ├── player.js │ ├── recut-icon.png │ ├── scripts.js │ ├── scripts.min.js │ └── style.css └── index.html ├── 02-warp-and-weave ├── assets │ ├── Color-Confidence-Crisis.png │ ├── Layer-623-copy.jpg │ ├── Tien-HEadshot.jpg │ ├── WW_logo_for_print.png │ ├── analytics.js │ ├── arrow-white.png │ ├── arrow1.png │ ├── arrow2.png │ ├── arrow3.png │ ├── arrow4.png │ ├── check.png │ ├── core.min.js │ ├── css │ ├── css(1) │ ├── css(2) │ ├── deb_sharpee.png │ ├── diffuser.js │ ├── e-202113.js │ ├── fbevents.js │ ├── front.min.css │ ├── front.min.js │ ├── frontend-gtag.min.js │ ├── frontend.min(1).js │ ├── frontend.min(2).js │ ├── frontend.min.css │ ├── frontend.min.js │ ├── g.gif │ ├── imagesloaded.min.js │ ├── jetpack.css │ ├── jquery-migrate.min.js │ ├── jquery.masonry.min.js │ ├── jquery.min.js │ ├── js │ ├── js(1) │ ├── js(2) │ ├── masonry.min.js │ ├── mouse.min.js │ ├── moxie.min.js │ ├── no-campaign.min.js │ ├── plupload.min.js │ ├── resizable.min.js │ ├── saved_resource │ ├── site_tracking.js │ ├── style(1).css │ ├── style(2).css │ ├── style-index.css │ ├── style.css │ ├── style.min.css │ ├── t_prism_sitemessages.php │ ├── theme-template-1614811806.css │ ├── thrive_flat.css │ ├── wp-embed.min.js │ └── wp-emoji-release.min.js └── index.html ├── 03-blog-example ├── assets │ ├── facebook.svg │ ├── remote-work.jpg │ ├── reset.css │ ├── style.css │ └── twitter.svg └── index.html ├── LICENSE.md ├── README.md ├── docs ├── blog-example.gif ├── file-server.png ├── recut.gif └── sticky-icons.gif ├── package-lock.json └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | .cache 2 | dist 3 | .DS_Store 4 | node_modules 5 | -------------------------------------------------------------------------------- /01-recut/assets/48986696_120x120.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/01-recut/assets/48986696_120x120.jpg -------------------------------------------------------------------------------- /01-recut/assets/automatically-remove-silence-davinci-resolve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/01-recut/assets/automatically-remove-silence-davinci-resolve.png -------------------------------------------------------------------------------- /01-recut/assets/recut-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/01-recut/assets/recut-icon.png -------------------------------------------------------------------------------- /01-recut/assets/scripts.js: -------------------------------------------------------------------------------- 1 | !function(i,r){"use strict";var s=i.location,o=i.document,e=o.querySelector('[src*="'+r+'"]'),l=e&&e.getAttribute("data-domain"),t=!1;function n(e,t){if(/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*\:)*?:?0*1$/.test(s.hostname)||"file:"===s.protocol)return console.warn("Ignoring event on localhost");var n={};n.n=e,n.u=s.href,n.d=l,n.r=o.referrer||null,n.w=i.innerWidth;var a=new XMLHttpRequest;a.open("POST",r+"/api/event",!0),a.setRequestHeader("Content-Type","text/plain"),a.send(JSON.stringify(n)),a.onreadystatechange=function(){4==a.readyState&&t&&t.callback&&t.callback()}}function a(){n("pageview")}try{var c,p=i.history;p.pushState&&(c=p.pushState,p.pushState=function(){c.apply(this,arguments),a()},i.addEventListener("popstate",a));var u=i.plausible&&i.plausible.q||[];i.plausible=n;for(var d=0;d 2 | 3 | 9 | 10 | 14 | 15 | Reduce Your Video Transcription Bill 16 | 17 | 21 | 22 | 23 | 24 | 28 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 44 | 48 | 52 | 56 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
73 | 100 |
101 | 102 |
103 |
104 |

105 | Reduce Your Video Transcription Bill 106 |

107 | 108 |

109 | Got some audio or video to transcribe? Maybe you already use 110 | a service like Otter.ai or Descript to automatically 111 | transcribe your videos. 112 |

113 |

114 | The trouble with transcription services is they usually 115 | charge you based on the length of the recording – including 116 | the silent parts! 117 |

118 |

119 | If you were gonna cut out that silence anyway, it seems a 120 | bit of a waste! 121 |

122 |

123 | You can save on transcription time (and save some money!) by 124 | removing the silence before you transcribe. 125 |

126 |

127 | Doing this manually is a pain though. It looks something 128 | like: 129 |

130 |
    131 |
  1. 132 | Open the video in your editor – Final Cut, Premiere, 133 | Resolve, ScreenFlow, etc. 134 |
  2. 135 |
  3. Select each chunk of silence.
  4. 136 |
  5. Ripple delete it.
  6. 137 |
  7. Rinse and repeat, maybe hundreds of times.
  8. 138 |
  9. Export the video.
  10. 139 |
140 |

141 | That'll probably take hours though, and your time is worth 142 | more than that! 143 |

144 |

Remove Silence from Videos Automatically

145 |

146 | Instead, you can pass it through this little app called 147 | Recut. 148 |

149 |
    150 |
  1. Drag your video or audio into Recut.
  2. 151 |
  3. Recut automatically finds the silence.
  4. 152 |
  5. 153 | Export a new video/audio file, with the silence 154 | automatically removed. 155 |
  6. 156 |
157 |

158 | Then take that shorter video and upload it for transcription 159 | 😎 160 |

161 |
162 |

163 | I have a bunch of random voice notes from iOS voice memos 164 | and they have a lot of silence in them because I've just 165 | let it run. 166 |

167 |

168 | With Recut I could quickly throw those in and trim the 169 | audio, and that way the silence isn’t eating into the 170 | transcription time on Descript. 171 |

172 |
173 |

174 | Recut is a Mac app that automatically finds and removes 175 | silence from your videos. Check out this quick demo: 176 |

177 | 184 |

185 | In addition to exporting video/audio directly, Recut can 186 | also export the cut list. 187 |

188 |

189 | This is awesome if you normally edit in something like 190 | ScreenFlow, Final Cut, Premiere, or DaVinci Resolve. 191 |

192 |

193 | Import the premade timeline of cuts, with the silence 194 | already removed, apply your final edits, and you're all 195 | done. 196 |

197 |

198 | Automatically remove silence from videos and export the cut list to DaVinci Resolve 203 |

204 |

205 | Download a free trial of Recut here! Take it for a spin with your own recordings, and see how 208 | much time (and dollars) you can shave off your transcription 209 | bill. 210 |

211 |
212 |
213 | 214 | 221 | 222 | 245 | 246 | 250 | 256 | 257 | 258 | -------------------------------------------------------------------------------- /02-warp-and-weave/assets/Color-Confidence-Crisis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/Color-Confidence-Crisis.png -------------------------------------------------------------------------------- /02-warp-and-weave/assets/Layer-623-copy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/Layer-623-copy.jpg -------------------------------------------------------------------------------- /02-warp-and-weave/assets/Tien-HEadshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/Tien-HEadshot.jpg -------------------------------------------------------------------------------- /02-warp-and-weave/assets/WW_logo_for_print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/WW_logo_for_print.png -------------------------------------------------------------------------------- /02-warp-and-weave/assets/arrow-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/arrow-white.png -------------------------------------------------------------------------------- /02-warp-and-weave/assets/arrow1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/arrow1.png -------------------------------------------------------------------------------- /02-warp-and-weave/assets/arrow2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/arrow2.png -------------------------------------------------------------------------------- /02-warp-and-weave/assets/arrow3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/arrow3.png -------------------------------------------------------------------------------- /02-warp-and-weave/assets/arrow4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/arrow4.png -------------------------------------------------------------------------------- /02-warp-and-weave/assets/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/css-for-js/scrollburglars/5511513befdd95ebcc021d95e211347d062f3e33/02-warp-and-weave/assets/check.png -------------------------------------------------------------------------------- /02-warp-and-weave/assets/core.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2020-09-25 2 | * http://jqueryui.com 3 | * Includes: data.js, disable-selection.js, escape-selector.js, focusable.js, form-reset-mixin.js, form.js, ie.js, jquery-1-7.js, keycode.js, labels.js, plugin.js, position.js, safe-active-element.js, safe-blur.js, scroll-parent.js, tabbable.js, unique-id.js, version.js, widget.js 4 | * Copyright jQuery Foundation and other contributors; Licensed */ 5 | !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){var t,e,n,W,C,o,s,r,l,a,i,h;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function H(t,e){return parseInt(x.css(t,e),10)||0}x.ui=x.ui||{},x.ui.version="1.12.1", 6 | /*! 7 | * jQuery UI :data 1.12.1 8 | * http://jqueryui.com 9 | * 10 | * Copyright jQuery Foundation and other contributors 11 | * Released under the MIT license. 12 | * http://jquery.org/license 13 | */ 14 | x.extend(x.expr[":"],{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}), 15 | /*! 16 | * jQuery UI Disable Selection 1.12.1 17 | * http://jqueryui.com 18 | * 19 | * Copyright jQuery Foundation and other contributors 20 | * Released under the MIT license. 21 | * http://jquery.org/license 22 | */ 23 | x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),x.ui.escapeSelector=(e=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(t){return t.replace(e,"\\$1")}), 24 | /*! 25 | * jQuery UI Focusable 1.12.1 26 | * http://jqueryui.com 27 | * 28 | * Copyright jQuery Foundation and other contributors 29 | * Released under the MIT license. 30 | * http://jquery.org/license 31 | */ 32 | x.ui.focusable=function(t,e){var i,n,o,s,r=t.nodeName.toLowerCase();return"area"===r?(n=(i=t.parentNode).name,!(!t.href||!n||"map"!==i.nodeName.toLowerCase())&&(0<(n=x("img[usemap='#"+n+"']")).length&&n.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(r)?(o=!t.disabled)&&(s=x(t).closest("fieldset")[0])&&(o=!s.disabled):o="a"===r&&t.href||e,o&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}(x(t)))},x.extend(x.expr[":"],{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)}, 33 | /*! 34 | * jQuery UI Form Reset Mixin 1.12.1 35 | * http://jqueryui.com 36 | * 37 | * Copyright jQuery Foundation and other contributors 38 | * Released under the MIT license. 39 | * http://jquery.org/license 40 | */ 41 | x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element.form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()), 42 | /*! 43 | * jQuery UI Support for jQuery core 1.7.x 1.12.1 44 | * http://jqueryui.com 45 | * 46 | * Copyright jQuery Foundation and other contributors 47 | * Released under the MIT license. 48 | * http://jquery.org/license 49 | * 50 | */ 51 | "1.7"===x.fn.jquery.substring(0,3)&&(x.each(["Width","Height"],function(t,i){var o="Width"===i?["Left","Right"]:["Top","Bottom"],n=i.toLowerCase(),s={innerWidth:x.fn.innerWidth,innerHeight:x.fn.innerHeight,outerWidth:x.fn.outerWidth,outerHeight:x.fn.outerHeight};function r(t,e,i,n){return x.each(o,function(){e-=parseFloat(x.css(t,"padding"+this))||0,i&&(e-=parseFloat(x.css(t,"border"+this+"Width"))||0),n&&(e-=parseFloat(x.css(t,"margin"+this))||0)}),e}x.fn["inner"+i]=function(t){return void 0===t?s["inner"+i].call(this):this.each(function(){x(this).css(n,r(this,t)+"px")})},x.fn["outer"+i]=function(t,e){return"number"!=typeof t?s["outer"+i].call(this,t):this.each(function(){x(this).css(n,r(this,t,!0,e)+"px")})}}),x.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}), 52 | /*! 53 | * jQuery UI Keycode 1.12.1 54 | * http://jqueryui.com 55 | * 56 | * Copyright jQuery Foundation and other contributors 57 | * Released under the MIT license. 58 | * http://jquery.org/license 59 | */ 60 | x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}, 61 | /*! 62 | * jQuery UI Labels 1.12.1 63 | * http://jqueryui.com 64 | * 65 | * Copyright jQuery Foundation and other contributors 66 | * Released under the MIT license. 67 | * http://jquery.org/license 68 | */ 69 | x.fn.labels=function(){var t,e,i;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.ui.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e))},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o
"),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthW(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,n=i.isWindow?i.scrollLeft:i.offset.left,o=i.width,s=t.left-e.collisionPosition.marginLeft,r=n-s,l=s+e.collisionWidth-o-n;e.collisionWidth>o?0o?0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=f++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o2&&void 0!==arguments[2]?arguments[2]:0,r=getDiffuserCookieName(e),n=getDiffuserCookieExpiration(),o="."+window.location.hostname.split(".").slice(-2-i).join(".");if(document.cookie="".concat(r,"=").concat(t,";domain=").concat(o,";path=/;expires=").concat(n.toUTCString()),e){var c=getDiffuserCookie(e);if(!c&&i<10)return setDiffuserCookie(e,t,i+1)}}function getDiffuserCookie(e){if(!e)throw"No account id";return function getCookies(){return document.cookie.split("; ").reduce((function(e,t){var i=t.split("=");return e[i[0]]=i[1],e}),{})}()[getDiffuserCookieName(e)]||""}function diffuser_defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function diffuser_defineProperties(e,t){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"",i=this._getVisitor(t);i.id=e,setDiffuserCookie(t,e)}},{key:"setEmail",value:function setEmail(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=this._getVisitor(t);i.email=e}},{key:"setWhitelistedServices",value:function setWhitelistedServices(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=this._getVisitor(t);i.setWhitelistedServices(e)}},{key:"connect",value:function connect(){this._processQueue(),this._replaceVisitorGlobalObject()}},{key:"_getVisitor",value:function _getVisitor(e){if(!e&&!this._accountId)throw"Account id is not set";return this._visitors[e||this._accountId]}},{key:"_processQueue",value:function _processQueue(){var e=this;this.queue.forEach((function(t){e._processJob.apply(e,t)}))}},{key:"_replaceVisitorGlobalObject",value:function _replaceVisitorGlobalObject(){window[this.visitorGlobalObjectAlias]=this._processJob.bind(this)}},{key:"_getMethodNameFromJobName",value:function _getMethodNameFromJobName(e){return e=e.charAt(0).toUpperCase()+e.slice(1),"".concat("_execute").concat(e)}},{key:"_processJob",value:function _processJob(){var e=Array.prototype.slice.call(arguments),t=e.shift(),i=this._getMethodNameFromJobName(t);if(void 0===this[i])throw"Invalid method";this[i].apply(this,e)}},{key:"_getServicesToProcess",value:function _getServicesToProcess(e){return e.addedServices.length?e.addedServices:e.hasWhitelistedServices?e.whitelistedServices:Object.keys(l)}},{key:"_connectToNewService",value:function _connectToNewService(e,t){if(void 0!==this._hasProcessedSingleton[t]){if(this._hasProcessedSingleton[t])return;this._hasProcessedSingleton[t]=!0}var i=new l[t](e,this.settings[t]);e.registerProcessedService(t,i),i.connect()}},{key:"_setInitialized",value:function _setInitialized(){this.initialized=!0,this._processUpdateQueue()}},{key:"_processServices",value:function _processServices(e){var t=this;if(!e||!e.id)return this._setInitialized(),!1;this._getServicesToProcess(e).forEach((function(i){e.hasProcessedService(i)||t._connectToNewService(e,i)})),this._setInitialized()}},{key:"_executeSetAccount",value:function _executeSetAccount(e){this._visitors[e]||(this._visitors[e]=new p(e)),this._accountId=e}},{key:"_executeSetTrackByDefault",value:function _executeSetTrackByDefault(e){this._getVisitor().trackByDefault=e}},{key:"_executeSetEmail",value:function _executeSetEmail(e){this._getVisitor().email=e}},{key:"_executeAddService",value:function _executeAddService(e){var t=this._getVisitor();void 0!==l[e]&&-1===t.addedServices.indexOf(e)&&t.addedServices.push(e)}},{key:"_executeProcess",value:function _executeProcess(e){var t=this,i=this._getVisitor();!1===i.trackByDefault&&"allowTracking"!==e||r.async((function(){t._makeRequestToDiffuser(i,t._processServices.bind(t,i))}),1)}},{key:"_makeRequestToDiffuser",value:function _makeRequestToDiffuser(e,t){var i,n=(diffuser_defineProperty(i={},_,e.accountId),diffuser_defineProperty(i,d,e.email),diffuser_defineProperty(i,b,r.getQueryParam("vgo_ee")),diffuser_defineProperty(i,v,e.url),diffuser_defineProperty(i,y,e.referrer),diffuser_defineProperty(i,h,getDiffuserCookie(e.accountId)),i);this._removeQueryParam();var o=r.buildQueryParams(n),c="https://".concat(this.domain,"?").concat(o);r.loadScript(c,t)}},{key:"_queueUpdate",value:function _queueUpdate(e){this.updateQueue.push(e)}},{key:"_processUpdateQueue",value:function _processUpdateQueue(){var e=this;this.updateQueue.forEach((function(t){return e._executeUpdate(t)})),this.updateQueue=[]}},{key:"_executeUpdate",value:function _executeUpdate(e){var t=this;e||this.initialized?Object.values(this._visitors).map((function(i){return t._updateVisitor(i,e)})):this._queueUpdate(r.getLocation())}},{key:"_updateVisitor",value:function _updateVisitor(e,t){var i=this;e.whitelistedServices=[],e.updateUrl(t);var r=e.processedServices;this._makeRequestToDiffuser(e,(function(){if(!e||!e.id)return i._setInitialized(),!1;var t=i._getServicesToProcess(e),n=Object.keys(r);t.concat(n.filter((function(e){return t.indexOf(e)<0}))).forEach((function(o){if(-1===n.indexOf(o))i._connectToNewService(e,o);else{var c=-1!==t.indexOf(o);r[o].update(c)}}))}))}},{key:"_removeQueryParam",value:function _removeQueryParam(){-1!==window.location.href.indexOf("vgo_ee")&&window.history.replaceState({},document.title,r.getPathname())}},{key:"_executeSettings",value:function _executeSettings(e){this.settings=e}},{key:"settings",get:function get(){return this._settings},set:function set(e){this._settings=e}},{key:"accountId",get:function get(){return this._accountId}},{key:"visitorGlobalObjectAlias",get:function get(){return this._visitorGlobalObjectAlias},set:function set(e){this._visitorGlobalObjectAlias=e}},{key:"queue",get:function get(){return this._queue},set:function set(e){this._queue=e}},{key:"domain",get:function get(){var e=this.constructor.name.toLowerCase();return o.a[e].domain}}]),Diffuser}();!window.prismGlobalObjectAlias&&window.visitorGlobalObjectAlias&&(window.prismGlobalObjectAlias=window.visitorGlobalObjectAlias),window.prismGlobalObjectAlias&&!window.visitorGlobalObjectAlias&&(window.visitorGlobalObjectAlias=window.prismGlobalObjectAlias),window.pgo&&(window[window.visitorGlobalObjectAlias]=window.pgo),window.visitorGlobalObject||(window.visitorGlobalObject=new g(window.visitorGlobalObjectAlias),window.visitorGlobalObject.connect())}]); -------------------------------------------------------------------------------- /02-warp-and-weave/assets/e-202113.js: -------------------------------------------------------------------------------- 1 | window.wpcom=window.wpcom||{};window._stq=window._stq||[];function st_go(a){window._stq.push(['view',a]);};function linktracker_init(b,p){window._stq.push(['clickTrackerInit',b,p]);};window.wpcom.stats=(function(){var _clickTracker=(function(){var _blog,_post;var _addEvent=function(el,t,cb){if('function'===typeof el.addEventListener){el.addEventListener(t,cb);}else if('object'===typeof el.attachEvent){el.attachEvent('on'+t,cb);}};var _getClickTarget=function(e){if('object'===typeof e&&e.target){return e.target;}else{return window.event.srcElement;}};var _clickTrack=function(e){var d=0;if('object'===typeof InstallTrigger)d=100;if(7===_getIEVer())d=100;_processLink(_getClickTarget(e),d);};var _contextTrack=function(e){_processLink(_getClickTarget(e),0);};var _isSameHost=function(a){var l=document.location;if(l.host===a.host)return true;if(''===a.host)return true;if(l.protocol===a.protocol&&l.host===a.hostname){if('http:'===l.protocol&&l.host+':80'===a.host)return true;if('https:'===l.protocol&&l.host+':443'===a.host)return true;};return false;};var _processLink=function(a,d){try{if('object'!==typeof a)return;while('A'!==a.nodeName){if('undefined'===typeof a.nodeName)return;if('object'!==typeof a.parentNode)return;a=a.parentNode;};if(_isSameHost(a))return;if('javascript:'===a.protocol)return;window._stq.push(['click',{s:'2',u:a.href,r:('undefined'!==typeof a.rel)?a.rel:'0',b:('undefined'!==typeof _blog)?_blog:'0',p:('undefined'!==typeof _post)?_post:'0'}]);if(d){var now=new Date();var end=now.getTime()+d;while(true){now=new Date();if(now.getTime()>end){break}}}}catch(e){}};var API={init:function(b,p){_blog=b;_post=p;if(document.body){_addEvent(document.body,'click',_clickTrack);_addEvent(document.body,'contextmenu',_contextTrack);}else if(document){_addEvent(document,'click',_clickTrack);_addEvent(document,'contextmenu',_contextTrack);}}};return API;})();var _getIEVer=function(){var v=0;if('object'===typeof navigator&&navigator.appName=='Microsoft Internet Explorer'){var m=navigator.userAgent.match(/MSIE ([0-9]{1,})[\.0-9]{0,}/);if(null!==m){v=parseInt(m[1]);}};return v;};var _serialize=function(o){var p,q=[];for(p in o){if(o.hasOwnProperty(p)){q.push(encodeURIComponent(p)+'='+encodeURIComponent(o[p]));}};return q.join('&');};var _loadGif=function(t,q,id){var i=new Image();i.src=document.location.protocol+'//pixel.wp.com/'+t+'?'+q+'&rand='+Math.random();i.alt=":)";i.width='6';i.height='5';if('string'===typeof id&&document.body){i.id=id;document.body.appendChild(i);}};var _computePerformance=function(o){var conn=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(conn){if(conn.effectiveType){o.conn_type=conn.effectiveType;} 2 | if(conn.rtt){o.conn_rtt=conn.rtt;} 3 | if(conn.downlink){o.conn_downlink=conn.downlink;}} 4 | if(window.performance){var performance=window.performance;if(window.PerformanceNavigationTiming){var navigationTiming=performance.getEntriesByType('navigation')[0];if(navigationTiming.nextHopProtocol){o.protocol=navigationTiming.nextHopProtocol;}} 5 | if(performance.timing&&performance.navigation&&(performance.navigation.type===0||performance.navigation.type===1)){var t=performance.timing;o.dns_latency=Math.round(t.domainLookupEnd-t.domainLookupStart);o.conn_latency=Math.round(t.connectEnd-t.connectStart);o.resp_latency=Math.round(t.responseStart-t.requestStart);o.resp_duration=Math.round(t.responseEnd-t.responseStart);o.dom_interact=Math.round(t.domInteractive-t.navigationStart);o.dom_load=Math.round(t.domContentLoadedEventStart-t.navigationStart);if(t.loadEventStart>0){o.page_load=Math.round(t.loadEventStart-t.navigationStart);}} 6 | var resources=performance.getEntriesByType('resource');if(resources.length>0){var cssFiles=0,jsFiles=0,imgFiles=0,fontFiles=0,otherFiles=0,cssDuration=0,jsDuration=0,imgDuration=0,fontDuration=0,otherDuration=0,http1Files=0,http2Files=0,sslFiles=0,originFiles=0,externalFiles=0;for(var i=0;i=0){originFiles+=1;}else{externalFiles+=1;} 9 | var extension;if(resource.name.indexOf('fonts.googleapis.com/css')>=0){extension='css';}else{extension=resource.name.split(/\#|\?/)[0].split('.').pop();} 10 | if(extension){extension=extension.toLowerCase();if('js'===extension){jsDuration+=resource.duration;jsFiles+=1;}else if('css'===extension){cssDuration+=resource.duration;cssFiles+=1;}else if('gif'===extension||'jpg'===extension||'jpeg'===extension||'png'===extension){imgDuration+=resource.duration;imgFiles+=1;}else if('woff'===extension||'woff2'===extension||'ttf'===extension||'otf'===extension){fontDuration+=resource.duration;fontFiles+=1;}else{otherDuration+=resource.duration;otherFiles+=1;}}else{otherDuration+=resource.duration;otherFiles+=1;}} 11 | o.files_origin=originFiles;o.files_ext=externalFiles;o.files_ssl=sslFiles;o.files_http1=http1Files;o.files_http2=http2Files;o.files_js=jsFiles;o.files_css=cssFiles;o.files_img=imgFiles;o.files_font=fontFiles;o.files_other=otherFiles;o.duration_js=Math.round(jsDuration);o.duration_css=Math.round(cssDuration);o.duration_img=Math.round(imgDuration);o.duration_font=Math.round(fontDuration);o.duration_other=Math.round(otherDuration);} 12 | var paintEntries=performance.getEntriesByType('paint');if(paintEntries===undefined){return;} 13 | for(var i=0;iparseInt(cnArgs.onScrollOffset)&&this.setStatus("accept")},this.adjustOffset=function(){var e=r.getElementById("coronabar"),t=r.getElementById("wpadminbar"),n=0,i=0;"top"===cnArgs.position&&null!==t&&(i=t.offsetHeight,this.noticeContainer.style.top=i+"px"),null!==e&&(n=e.offsetHeight-1,"top"===cnArgs.position?(e.style.top=i+"px",this.noticeContainer.style.top=n+i+"px"):this.noticeContainer.style.bottom=n+"px")},this.getClosest=function(e,t){for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;0<=--n&&t.item(n)!==this;);return-10&&e.indexOf('.')!==-1){e=e.substring(e.indexOf('.')+1);return e} 3 | else{return''}};function b(e){return e.which==1||e.which==2||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey};function d(){var e=[];if(typeof exactmetrics_frontend.download_extensions=='string'){e=exactmetrics_frontend.download_extensions.split(',')};return e};function h(){var e=[];if(typeof exactmetrics_frontend.inbound_paths=='string'){e=JSON.parse(exactmetrics_frontend.inbound_paths)};return e};function y(e){if(e.which==1){return'event.which=1'} 4 | else if(e.which==2){return'event.which=2'} 5 | else if(e.metaKey){return'metaKey'} 6 | else if(e.ctrlKey){return'ctrlKey'} 7 | else if(e.shiftKey){return'shiftKey'} 8 | else if(e.altKey){return'altKey'} 9 | else{return''}};function w(e){var f=d(),i=h(),t='unknown',g=e.href,p=c(e.href),v=u(),o=e.hostname,r=e.protocol,m=e.pathname;g=g.toString();var s,b,y=e.getAttribute('data-vars-ga-category');if(y){return y};if(g.match(/^javascript\:/i)){t='internal'} 10 | else if(r&&r.length>0&&(l(r)=='tel'||l(r)=='tel:')){t='tel'} 11 | else if(r&&r.length>0&&(l(r)=='mailto'||l(r)=='mailto:')){t='mailto'} 12 | else if(o&&v&&o.length>0&&v.length>0&&!o.endsWith('.'+v)&&o!==v){t='external'} 13 | else if(m&&JSON.stringify(i)!='{}'&&m.length>0){var w=i.length;for(var n=0;n0&&i[n].label.length>0&&m.startsWith(i[n].path)){t='internal-as-outbound';a='outbound-link-'+i[n].label;break}}} 14 | else if(o&&window.exactmetrics_experimental_mode&&o.length>0&&document.domain.length>0&&o!==document.domain){t='cross-hostname'};if(p&&(t==='unknown'||'external'===t)&&f.length>0&&p.length>0){for(s=0,b=f.length;s0&&(g.endsWith(f[s])||f[s]==p)){t='download';break}}};if(t==='unknown'){t='internal'};return t};function x(e,t){var n=(e.target&&!e.target.match(/^_(self|parent|top)$/i))?e.target:!1;if(t.ctrlKey||t.shiftKey||t.metaKey||t.which==2){n='_blank'};return n};function g(e){if(e.getAttribute('data-vars-ga-label')&&e.getAttribute('data-vars-ga-label').replace(/\n/ig,'')){return e.getAttribute('data-vars-ga-label').replace(/\n/ig,'')} 15 | else if(e.title&&e.title.replace(/\n/ig,'')){return e.title.replace(/\n/ig,'')} 16 | else if(e.innerText&&e.innerText.replace(/\n/ig,'')){return e.innerText.replace(/\n/ig,'')} 17 | else if(e.getAttribute('aria-label')&&e.getAttribute('aria-label').replace(/\n/ig,'')){return e.getAttribute('aria-label').replace(/\n/ig,'')} 18 | else if(e.alt&&e.alt.replace(/\n/ig,'')){return e.alt.replace(/\n/ig,'')} 19 | else if(e.textContent&&e.textContent.replace(/\n/ig,'')){return e.textContent.replace(/\n/ig,'')} 20 | else{return undefined}};function k(e){var i=e.children,a=0,r,n;for(var t=0;t>>0;if(i===0){return-1};t=i-1;if(arguments.length>1){t=Number(arguments[1]);if(t!=t){t=0} 46 | else if(t!=0&&t!=(1/0)&&t!=-(1/0)){t=(t>0||-1)*Math.floor(Math.abs(t))}};for(n=t>=0?Math.min(t,i-1):i-Math.abs(t);n>=0;n--){if(n in a&&a[n]===e){return n}};return-1}}},ExactMetricsObject=new ExactMetrics(); -------------------------------------------------------------------------------- /02-warp-and-weave/assets/frontend.min(1).js: -------------------------------------------------------------------------------- 1 | !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=41)}({41:function(e,t,n){e.exports=n(42)},42:function(e,t){if(window.TVE_Dash=window.TVE_Dash||{},!r||!r.$j){var n=window.$,r={$j:jQuery.noConflict()};n&&(window.$=n)}!function(e){TVE_Dash.ajax_sent=!1;var t={},n={};TVE_Dash.add_load_item=function(r,a,o){if("function"!=typeof o&&(o=e.noop),TVE_Dash.ajax_sent){var s={},i={};return s[r]=a,i[r]=o,this.send_ajax(s,i),!0}return a?(t[r]&&console.error&&console.error(r+" ajax action already defined"),t[r]=a,n[r]=o,!0):(console.error&&console.error("missing ajax data"),!1)},TVE_Dash.ajax_load_css=function(t){e.each(t,(function(t,n){e("link#"+(t+="-css")).length||e('').appendTo("head")}))},TVE_Dash.ajax_load_js=function(t){var n=document.body;e.each(t,(function(r,a){if(-1!==r.indexOf("_before"))return!0;var o=document.createElement("script");t[r+"_before"]&&e('