PageSourceSearch

https://hajkazemi.github.io/index_files/disqusComments.js

js hajkazemi.github.io collected 2026-10-03 09:18:12 UTC 3,597 bytes, 2 lines download raw bytes

1define("disqusComments/skins/skins.json",[],function(){"use strict";var s={};return s["wysiwyg.common.components.disquscomments.viewer.skins.DisqusCommentsSkin"]={react:[["iframe","disqusCommentsHolder",[],{frameBorder:0,scrolling:"no",allowTransparency:!0}],["div","disqusCommentsPreviewOverlay",[],{}],["div","noDisqusIdMessage",[],{}]],css:{"%":"position:relative;min-height:407px;","%disqusCommentsHolder":"width:100%;","%disqusCommentsPreviewOverlay":"position:absolute;top:0;bottom:0;left:0;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;","%noDisqusIdMessage":'font-family:"Helvetica Neue", "HelveticaNeueW01-45Roma", "HelveticaNeueW02-45Roma", "HelveticaNeueW10-45Roma", Helvetica, Arial, sans-serif;position:absolute;top:0;bottom:0;left:0;right:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;background-color:rgba(255, 255, 255, 0.8);font-size:15px;text-align:center;color:#2b5672;'}},s}),define("disqusComments",["core","utils","lodash","coreUtils","santaProps","skins","disqusComments/skins/skins.json"],function(s,e,t,i,n,o,r){"use strict";var a=s.compMixins,d=e.urlUtils,u={displayName:"DisqusComments",propTypes:{compData:n.Types.Component.compData.isRequired,id:n.Types.Component.id.isRequired,languageCode:n.Types.RendererModel.languageCode.isRequired,santaBase:n.Types.santaBase,rootPageTitle:n.Types.rootPageTitle,currentUrl:n.Types.currentUrl.isRequired,isExperimentOpen:n.Types.isExperimentOpen.isRequired},statics:{useSantaTypes:!0},mixins:[a.skinBasedComp,a.postMessageCompMixin,a.uniquePageIdMixin],getDisqusInstanceId:function(){return this.getDisqusId&&this.getDisqusId()||this.getUniquePageId()},getIframeSrc:function(){var s=this.getDisqusInstanceId(),e={disqusId:this.props.compData.disqusId?this.props.compData.disqusId:"wixdemo123",pageUrl:t.isString(this.props.currentUrl)?this.props.currentUrl:this.props.currentUrl.full,pageTitle:this.props.rootPageTitle,compId:this.props.id,disqusInstanceId:s};return this.props.santaBase+"/static/external/disqusComments.html?"+d.toQueryString(e)},getSkinProperties:function(){var s=!!this.props.compData.disqusId;return{"":{style:{height:this.state.$disqusCommentsDesiredHeight?this.state.$disqusCommentsDesiredHeight:""}},disqusCommentsHolder:{"data-src":this.getIframeSrc(),key:this.getDisqusInstanceId(),style:{height:this.state.$disqusCommentsDesiredHeight?this.state.$disqusCommentsDesiredHeight:""}},disqusCommentsPreviewOverlay:{style:{display:"none"}},noDisqusIdMessage:{style:{display:s?"none":""},children:this.getTranslation("disqusComments_notDisqusIdMessage")}}},componentWillReceiveProps:function(s){this.setState({$disqusId:s.compData.disqusId})},getTranslation:function(s){return this.translatedKeys[s]||s},getInitialState:function(){return this.translatedKeys=i.translationsLoader.getTranslationAllKeys("disqusComments",this.props.languageCode,{}),{$disqusId:this.props.compData.disqusId,$disqusCommentsDesiredHeight:200}},onDisqusCommentsHolderMsg:function(s){this.prevHeight=this.state.$disqusCommentsDesiredHeight,this.setState({$disqusCommentsDesiredHeight:s.height}),this.prevHeight!==s.height&&this.registerReLayout()},componentDidMount:function(){this.setPostMessageHandler(this.props.id,this.onDisqusCommentsHolderMsg)}};return s.compRegistrar.register("wysiwyg.common.components.disquscomments.viewer.DisqusComments",u,!0),o.skinsMap.addBatch(r),u});
2//# sourceMappingURL=disqusComments.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.